Commit Graph

351 Commits

Author SHA1 Message Date
Saeid Zareie
38f5672e59
docs: adding contribution guide (#413) 2024-03-15 21:35:57 +03:30
zernonia
874ee643aa chore: release v0.10.2 2024-03-15 09:09:10 +08:00
Sadegh Barati
4672f2247d chore: update deps
root
apps/www
packages/cli
2024-03-14 21:00:25 +03:30
Lucas Bois
4aeb6140d4 docs: fixes breadcrumb installation command (#412) 2024-03-14 20:51:20 +03:30
zernonia
d4c7b0107f docs: fix sb having wrong path 2024-03-14 20:53:10 +08:00
zernonia
6d0cde4b8e docs: stackblitz not showing code on app.vue 2024-03-14 18:46:29 +08:00
zernonia
72f9bd5ef5
refactor: code preview (#411)
* feat: generate code dynamically

* chore: cleanup and transform path on component

* feat: create config sheet

* feat: code wrapper

* fix: not acting immediately

* chore: add key to vnode

* chore: add vue-sonner to demos dependencies, add placeholder for codeConfigs

* chore: fix wrong icons

* chore: improve crawling logic

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-03-14 18:28:13 +08:00
Saeid Zareie
4d08adc81e
feat: breadcrumb component (#405)
* feat: adding breadcrumb component, resolves #395

* fix: revert kbd component in main layout

* feat: add slot for `BreadcrumbEllipsis` icons too

build registry, bump radix-vue

* refactor: using primitive instead of computed

* chore: update

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-03-13 15:33:22 +08:00
zernonia
a8ec27baf1 chore: better types 2024-03-12 11:39:46 +08:00
zernonia
73f1d8f2f0 Merge remote-tracking branch 'origin/dev' into charting 2024-03-12 10:17:08 +08:00
Sadegh Barati
454ecf0df7
feat: PinInput with input-otp demos and styles (#402) 2024-03-10 19:15:39 +03:30
Sadegh Barati
7af3b612d6
fix: unable to close Combobox with esc key (#401) 2024-03-09 20:36:35 +03:30
Sadegh Barati
f2f5641b33
chore: docs stuff (#400) 2024-03-09 20:21:24 +03:30
Saeid Zareie
f530e3e4a7
docs: fix small issue of collapsed sidenav in mail page (#396) 2024-03-08 19:51:47 +03:30
Davlatov Shahzod
7e8d658c21
docs: resizable demos not working (#399) 2024-03-08 19:43:59 +03:30
zernonia
86a0ef2854 chore: fix hydration issue 2024-03-07 21:43:17 +08:00
Saeid Zareie
d832e9f48a
docs: adding mail example (#389) 2024-03-07 16:52:39 +03:30
Saeid Zareie
e817da4b8b
docs: adding dark-mode setup page (#384) 2024-03-07 16:33:49 +03:30
zernonia
b516995e15 chore: release v0.10.1 2024-03-07 13:33:04 +08:00
zernonia
33003deadf chore: release v0.10.0 2024-03-07 08:53:13 +08:00
Sadegh Barati
a02d16ca62 chore: build registry 2024-03-06 18:25:40 +03:30
Sadegh Barati
126e1877fd
feat: resizeable component (#385) 2024-03-06 18:21:31 +03:30
Sadegh Barati
0e84af73de
feat: use unjs modules and improve cli from main shadcn-ui source, custom ui dir (#324)
* feat: add devDeps, add nypm for installing deps

* feat: custom ui dir

* refactor: use consola instead of chalk

* test: ui alias

* refactor: import { z } from 'zod' instead of *, replace node:path with pathe

* chore: add components name to `configFile` option

* chore: update `c12` which fix json5 parse issue

and it also supports .config directory

* chore: update `https-proxy-agent`

* fix: await until dependencies are installed then run detypes process

* feat: add tailwind prefix

* test: tw-prefix snapshot

* chore: add prefix option to init

* test: apply prefix

* fix: tw-prefix parse wrongly

* chore: hide prefix temporarily

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-03-06 05:38:19 +03:30
Saeid Zareie
c487137ac5
docs: adding more examples for DropdownMenu and Select components 2024-03-05 16:52:07 +03:30
Saeid Zareie
75cf9c40c4
docs: adding remaining usages of drawer (#380) 2024-03-05 14:45:30 +03:30
Saeid Zareie
3ec55ada1b
docs: adding skeleton card example (#382) 2024-03-05 14:37:35 +03:30
ɹǝʞɹɐԀ uǝʌS
edd713fd08
docs: add new example for slider in form (#377) 2024-03-04 15:28:02 +03:30
Saeid Zareie
64e2f9c199
feat: vaul-vue integration (#374) 2024-03-04 10:04:28 +03:30
Sadegh Barati
0265b48b35 chore: update deps
root
apps/www
packages/module
2024-03-04 06:56:57 +03:30
Sadegh Barati
5d9176725b fix: vue-sonner wrong props
update deps
run registry
2024-03-01 21:18:14 +03:30
Braden Wong
3d3c5ab3e6
docs: fix form examples tag capitalization (#367) 2024-03-01 13:13:16 +03:30
Braden Wong
6aa1ce4f1b
chore: remove unused imports in utils (#364) 2024-02-29 21:05:18 +03:30
Hannes Küttner
c9012b3157
docs: fix DataTableColumnHeader usage (#359) 2024-02-25 00:41:43 +03:30
zernonia
27fae5c24c chore: bump radix 2024-02-21 14:25:12 +08:00
zernonia
83c3c207cd chore: build registry 2024-02-21 14:24:22 +08:00
zernonia
0aaad536fb chore: update DialogScrollContent component 2024-02-21 14:23:59 +08:00
Michael Krebs
2d22ef1878
docs: add ScrollArea to TableOfContent.vue (#351) 2024-02-20 09:39:22 +03:30
zernonia
a41ea4b22c Merge remote-tracking branch 'origin/dev' into charting 2024-02-19 20:21:45 +08:00
Sadegh Barati
48f3ee050f chore: build registry 2024-02-15 23:06:24 +03:30
Roman Hrynevych
915df39075
feat: add ScrollBody and ScrollOverlay demos for Dialog (#287)
* feat(dialog-with-scroll-body): add demos with body scroll for Dialog component


---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-02-15 22:47:09 +03:30
Sadegh Barati
28efdc07c4
chore: update antfu config, update root deps (#347) 2024-02-15 22:20:52 +03:30
Sadegh Barati
43f9f56077
feat: tags input (#328)
* feat: tags input

* chore: add `tags-input` to sidebar links

* chore: update

* chore: add combobox demo

* chore: improve tag highlight

* chore: update

* chore: rename title

* chore: add static width to `TagsInputCombo` example

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-02-15 22:06:15 +03:30
zernonia
60fbe49004 chore: bump radix 2024-02-15 14:58:12 +01:00
Roman Hrynevych
9c015067e3
docs: add Input with icon example (#346) 2024-02-15 16:38:29 +03:30
Greg Sanderson
406e4ff8a8
fix: calendar weeks alignment (#344)
The component's CSS adds additional padding which results in Saturday and Sunday not being aligned with the rest of the days.


---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-02-15 16:20:23 +03:30
zernonia
999676aef7 chore: build registry 2024-02-15 12:49:53 +01:00
zernonia
a01c83c718 chore: bump radix-vue 2024-02-15 12:48:35 +01:00
Roman Hrynevych
5cc6ef1e9d
docs: add Geist default font (#339) 2024-02-14 18:13:25 +03:30
Greg Sanderson
3d99ca42b7
refactor: update SelectItem.vue to put the check icon on the left (#340)
The original shadcn library put the check on the left (for the default style) of the selected option
2024-02-14 17:49:59 +03:30
Jared Jolton
41660d36cd
docs: add line highlighting for resolve paths instructions (#331) 2024-02-11 23:04:37 +03:30
Victor Garcia
08d6ea6a53
docs: calendar typo (#330) 2024-02-09 15:57:05 +03:30
zernonia
595bbe04ea Merge remote-tracking branch 'origin/dev' into charting 2024-02-07 22:30:01 +08:00
zernonia
aef277bbfe docs: update landing page 2024-02-07 22:21:48 +08:00
Lucas Nunes
25f4a7292a
docs: minor fix to display the correct icon on dark mode (#326)
fixing the glitch when reloading the page on dark mode and the icon changing back to light mode.
2024-02-06 20:31:39 +03:30
Sadegh Barati
6ab704a6fb
feat: pin input (#325)
* feat: pin input

* chore: build registry

* chore: build registry, add form example

* chore: update demo abit

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-02-06 10:06:59 +08:00
Sadegh Barati
b0e1b55537
docs: add simple column pinning example (#320) 2024-02-05 21:00:31 +03:30
zernonia
67d10e1191 chore: revert dismissable 2024-02-05 16:58:07 +08:00
Sadegh Barati
b486a10129
fix: CommandItem hightlighted bg (#322)
* fix: `CommandItem` hightlighted bg

* fix: escape key not closing combobox

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-02-05 16:30:32 +08:00
zernonia
32552dc83a chore: bump radix-vue 2024-02-05 11:06:21 +08:00
zernonia
5dc01fa62a chore: release v0.9.0 2024-02-04 21:55:01 +08:00
itsTPM
83d0a06e6f
fix(cli): add xl item to borderRadius in tailwind.config template (#319) 2024-02-03 21:12:49 +03:30
Sadegh Barati
ed70e4e4b8 chore: rebuild registry, fresh lockfile 2024-02-02 22:54:21 +03:30
Roman Hrynevych
fc718145ae
refactor: tailwindcss, remove all unnecessary arbitrary values, update TailwindCSS to v3.4 (#269) 2024-02-02 22:48:58 +03:30
Wasim Thoufiq
6d24fb801b
fix: month and year popover (#317) 2024-02-02 22:01:07 +03:30
Sadegh Barati
a829212d42
refactor: use class as prop to prevent class duplication with cn function (#241) 2024-02-02 19:08:06 +03:30
Jackson Bowe
8875261576
fix: weekdays spacing (#300) 2024-01-31 20:46:01 +03:30
Pier107
8bd5525368
fix: ScrollAreaThumb width in horizontal orientation (#309) 2024-01-28 13:11:54 +03:30
Sadegh Barati
42f0086586 chore: add vue-sonner to dependencies in registry files 2024-01-22 20:30:08 +03:30
Sadegh Barati
c94443eabe
chore: fix vue-sonner Unknown file extension ".css" (#302) 2024-01-22 20:06:03 +03:30
Robert Shaw
eba85c6b5c
feat(sonner): add sonner component (#301) 2024-01-22 19:15:30 +03:30
Sadegh Barati
f9ab01e11b
docs: fix new line-number, fix highlight color on txt md block in shikiji (#299)
* docs: tweaks container size and shiki styles
2024-01-22 01:16:48 +03:30
trolladam
f41642f5d8
fix: separator background color (#295) 2024-01-20 15:12:36 +03:30
Sadegh Barati
50586487d5
docs: update vite installation (#250) 2024-01-18 16:45:38 +03:30
Rukshan Ranatunge
5336fce443
docs: add @types/node section in Vite installation(#289)
Add install @types/node to follow the documentation in shadcn-ui. And import path without an error
2024-01-18 16:08:39 +03:30
Valentin Hutter
cb974f95e0
feat: Calendar component inherits the VCalendar slots (#285) 2024-01-18 16:06:56 +03:30
Valentin Hutter
8e7bbe3a8d
fix: hide navigation in "time" mode (#283)
Co-authored-by: Valentin Hutter <valentin@macbook-pro-de-valentin.home>
2024-01-17 22:24:28 +03:30
Sadegh Barati
948a9c9e7c
chore: update deps and vitepress (#278) 2024-01-17 14:46:08 +08:00
zernonia
e65fe20e6d chore: run build registry 2024-01-17 14:30:26 +08:00
Anton Reshetov
7727c7282c
fix: radio group indicator fill (#280)
* fix: radio group indicator fill

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-01-17 14:28:32 +08:00
cvsouth
2a590360b6
docs: fix a typo in form (#281)
* docs: fix a typo
2024-01-17 13:34:05 +08:00
broki
5409b33992 docs: corrected a url typo (#279) 2024-01-16 15:37:33 +03:30
Sadegh Barati
0c7da48f8f
feat: toggle group (#275)
* feat: toggle group

* chore: remove dummy examples

* chore: update pathe and typescript, include scripts in tsconfig include

* refactor: move import type from normal script to script setup

don't know how detypes would react with that normal script
2024-01-16 10:56:54 +03:30
Sadegh Barati
c33acba4ff
fix: prevent page zoom while tapping carousel buttons (#274)
* fix: prevent page zoom while tapping carousel buttons

choose shadcn-ui icons and sizes for buttons

* docs: fix carousel page responsive issues and ordering docs as shadcn-ui
2024-01-15 18:55:22 +03:30
Anton Reshetov
72857b6a56
fix: select popper position (#272) 2024-01-14 18:03:12 +03:30
Roman Hrynevych
825f14e8b5
fix: add whitespace-nowrap for Button, Select, Tab (#266)
* fix(Button): add 'whitespace-nowrap' to base styles

* refactor(Button): use VariantProps for Button Props instead of NonNullable

* fix(Select): add whitespace-nowrap and truncate to SelectTrigger
2024-01-13 00:04:05 +03:30
zernonia
d3806fc056 chore: release v0.8.7 2024-01-12 10:20:28 +08:00
zernonia
ab835ff46e chore: run registry 2024-01-12 10:20:15 +08:00
Valentin Hutter
dfbb738aee
feat: add style to work with v-calendar time picker (#243) (#265)
* feat: add style to work with v-calendar time picker (#243)

* docs: add datetime picker to doc + build registery

* build: build registery in apps/www

* chore: tweaks and fix darkmode selectbox bg

---------

Co-authored-by: Valentin Hutter <valentin@macbook-pro-de-valentin.home>
Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-01-12 01:55:22 +03:30
Roman Hrynevych
b941b92dee
fix(popover): add max-height to SelectContent (#263) (#264)
* fix(popover): add max-height to SelectContent (#263)

Closes: #263

* fix(popover): add max-height to SelectContent [default style] (#263)

Closes: #263
2024-01-11 23:45:52 +03:30
zernonia
1d563bbcdc chore: upgrade deps 2024-01-11 14:36:47 +08:00
Antoine Lethimonnier
f05922dfd0
feat(cli): Add JSON schema (#256)
* Add schema

* Update schema.json
2024-01-10 10:15:02 +03:30
zernonia
856ab15179 chore: bump version 2024-01-09 16:20:38 +08:00
Wasim Thoufiq
97c7417352
feat: add carousel component (#227)
* feat: create new carousel component with embala-carousel

* feat: create demos for the carousel component

* feat: add the default carousel component to the docs

* feat: add new-york styling for carousels

* feat: add more examples for spacing, size and options

* refactor: change ways to better pass the data to parent

* feat: add examples for carousel api handling

* feat: add example for using embla plugin

* chore: add carousel component doc to the table of contents

* feat: add focusability on carousel element

* fix: update docs

* chore: add docs for slot props

* feat: expose api for the parent component

* chore: include missing filenames

* chore: update embla carousel dependency versions

* chore: fix typescript error by getting the types from core package

* chore: prevent duplicate classes by using class as prop

* feat: use slot fallback content

so user could change navigation button icons

* fix: change attribute inheritance element

* chore: update www package.json `scripts`

update tsconfig exclude for the strict registry build

* refactor: fix embla-carousel types after v8.0.0-rc18

update embla deps

* chore: update @vue/tsconfig

* chore: run registry

* refactor: remove uneended ref

* fix: dependencies for embla missing

* docs: update carousel for optional plugin installation

---------

Co-authored-by: sadeghbarati <sadeghbaratiwork@gmail.com>
Co-authored-by: zernonia <zernonia@gmail.com>
2024-01-09 00:51:55 +08:00
Valentin Hutter
4214134e18
fix remove today design when in the current range in new york style following #252 (#253) 2024-01-08 13:08:31 +03:30
Valentin Hutter
54a846f93a
fix remove today design when in the current range (#252) 2024-01-08 12:55:43 +03:30
Valentin Hutter
1702ca75ad
#244 - fix day borders (#251)
* fix: #244 - day borders

* fix: vc-day is-today style, unhover bg color and radius glitch

update new-york `Calendar.vue`

---------

Co-authored-by: sadeghbarati <sadeghbaratiwork@gmail.com>
2024-01-08 09:43:23 +03:30
Sadegh Barati
5332610012
docs: prevent default browser behaviour with ctrl-k/j in useMagicKeys (#246)
build registry for stackblitz and codesandbox demos
2024-01-06 11:10:26 +03:30
Starker-xp
9d9a6f929c
fix: dialog props missing (#242) 2024-01-04 16:37:25 +03:30
Paras Solanki
0f0f1ef3ca
fix: Input attrs not reactive (#228)
* fix: default input props not reactive

* fix: new-york input props are not reactive

* fix: default input not reactive added class prop

* fix: new-york input not reactive added class prop

* fix: update

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2024-01-03 00:07:30 +03:30
zernonia
1d2cce5a40 docs: update nuxt to allow manual module 2024-01-02 18:12:22 +08:00