Commit Graph

222 Commits

Author SHA1 Message Date
zernonia
693b0d2a08 fix(Sidebar): component import and registry dependencies 2024-12-17 12:21:45 +08:00
Fabian Bernhart
8a24d11a65
fix: add missing useMediaQuery in SidebarProvider.vue new-york style (#927) 2024-12-04 22:36:12 +03:30
Damien Roche
857f10de51
docs: update responsive breadcrumb example (#933) 2024-12-03 12:26:41 +03:30
Whbbit1999
2d5ad5b962
fix: mobile sidebar component #840 (#884)
* fix: sidebar component mobile #840

* chore: update new-york style too

* chore: run registry build

* revert: change in templates.ts

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-11-19 14:51:24 +08:00
Louis Van Aken
ac69980ac9
fix: Error in the build of the auto form with Vite and TypeScript #870 (#896)
* fix: Error in the build of the auto form with Vite and TypeScript #870

* fix: new york registry
2024-11-16 17:40:29 +08:00
sinsky
383c846c02
docs: input components use "default-value" instead of "value" (#904)
* docs(example): input components used in SheetDemo use default-value instead of value

* docs(example): input components used in DialogDemo use default-value instead of value
2024-11-16 17:32:00 +08:00
Brian Le
384c87a91c
fix: add missing classes to button (#877) 2024-11-10 08:20:18 +03:30
Rhanlin
3d0db2de7b
docs: fix dialog form example onsubmit (#873) 2024-11-09 08:52:17 +03:30
Damien Roche
a5b25a9c43
fix: switch from placeholder: to data-placeholder: prefix class for SelectValue (#867) 2024-11-09 08:33:01 +03:30
Selemon Brahanu
3646203d4f
refactor(CLI): base dependencies not installing when using shadcn-nuxt (#821)
* refactor: 815 shadcn-nuxt dependencies and CLI init

Closes: 815

* chore: remove unnecessary dependencies

* chore: update pnpm-lock.yaml file

* chore: cleanup

* chore: update pnpm-lock

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-11-04 14:20:14 +08:00
Hookin.
ff1b5f0a1b
fix(Sidebar): use open.value when setting the cookie (#862) 2024-11-03 17:11:46 +08:00
苗大
15f3eb305b
fix: missing NavigationMenuViewport component (#860) 2024-11-02 23:38:57 +08:00
Rnz Brngn
baceb4ce91
docs(blocks): correct tooltip prop for dynamic binding (#850) 2024-11-02 23:37:12 +08:00
Maxim Kim
eff3e75466
fix(Sidebar): missing slot into component (#847)
* fix(SidebarMenuAction): add slot into component

* fix(SidebarMenuAction): add changes in new-york style
2024-11-02 23:31:39 +08:00
xiaomo
52b9b20b3c
docs: add theme to highlight code block (#831) 2024-10-28 15:32:30 +03:30
zernonia
e0d4980e31
feat: Sidebar (1/2) (#827)
* feat: add default sidebar

* chore: add images, docs item

* refactor: rename and fix styling`

* feat: add new-york style

* chore: move typescript to catalog

* docs: fix block preview

* chore: build registry, add sidebar block

* docs: update sidebar demo

* chore: bump radix-vue

* chore: fix build
2024-10-28 01:05:55 +08:00
Mohammed Essam Helewa
6760ebb5ae
feat: enhance the behavior of Switch component (#835)
* Add named slot inside SwitchThumb

* Add documentation for switch thumb slot

* chore: re-build registry
2024-10-26 21:52:03 +03:30
sea
e63d5553e3
docs: fix navigation menu example link (#809) 2024-10-16 12:22:53 +03:30
zernonia
5c71911104 chore: run lint:fix, re-build registry 2024-10-14 19:48:05 +08:00
zernonia
f8f3fc754f
feat: support tailwind prefix (#619)
* chore: enable tw prefix

* chore: enable tw  prefix during init

* fix: cater for cn function

* fix: prevent transforming importDeclaration

* chore: update registry to make sure tailwind prefix parse correctly

* chore: fix wrong import

* chore: checkpoint

* refactor: goodbye ts-morph

* chore: remove ts-morpg

* chore: update test

* chore: cleanup

* chore: fix test

* fix: move vue-metamorph to dep

* refactor: transform tw prefix by specific case

* fix: transform-sfc not parsing .ts file

* fix: prefix double quote

* chore: patch vue-eslint-parser

* refactor: transform to cater only for class in sfc

* refactor: replace detypes with @unovue/detypes

* chore: update test snapshot

* chore: update pnpm-lock, fix import

* chore: bump detypes version

* chore: update deps
2024-10-14 19:39:58 +08:00
Jan Kremlacek
ff6d9d0da6
chore(Slider): support vertical orientation (#734) 2024-10-08 13:46:53 +08:00
Sadegh Barati
64b6d6ac38
docs: fix and cleanup some of demos (#773)
chore: update deps
2024-09-19 14:58:28 +03:30
Ralf Heinsoo
7c9aac46a1
docs: update default-value prop in calendar year-month select example (#755) 2024-09-09 14:09:47 +03:30
Roman Hrynevych
481bebf413
docs(data-table): add DataTableReactive example (#744)
* docs(table): add `DataTableReactive` example and tanstack docs

* chore: build:registry

* docs: refrase

* docs(data-table): update `defineModel`

* fix(data-table): change `reactive` data to `shallowRef`

* docs(data-table): add info about `ref` and `shallowRef`
2024-08-31 11:01:36 +03:30
Sadegh Barati
cc84ac172c
fix: carousel ref unwrapping with top-level property in template (#743) 2024-08-30 23:32:07 +03:30
Roman Hrynevych
f73e1ddaaf
docs: add vertical Tabs example (#739)
* feat(docs): add vertical Tabs example and components for account/password management

* fix(TabsTrigger): wrap slot content in a span with truncate class for better text handling

* chore: build:registry
2024-08-30 20:51:17 +03:30
Roman Hrynevych
85b10641c2
fix(Select): add truncate and text-start (#726)
* fix(select): add `shrink-0` to Icon
2024-08-22 11:13:55 +03:30
Roman Hrynevych
68d9804109
docs: add TagsInput form example (#725) 2024-08-22 10:47:56 +03:30
βoγ Woηdεr
1a1dd4a611
docs: update Tags with Combobox example to make Popover close by clicking outside (#723) 2024-08-21 08:52:48 +03:30
Oscar Recio
2a50f65ec5
fix: arrange range calendar day alignment 2024-08-20 15:50:03 +03:30
Sinh
3dc6e10897
chore: update autoform emit submit event type(#716) (#717)
If compiler options are only added to just tsconfig.json, module resolution fails for `@/lib/utils` during build.

<!---☝️ PR title should follow conventional commits (https://conventionalcommits.org) -->

<!-- Please ensure there is an open issue and mention its number as #123 -->

<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [x] 👌 Enhancement (improving an existing functionality like performance)
- [ ]  New feature (a non-breaking change that adds functionality)
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

The change is mean to allow event type to support `values: z.infer<typeof schema>`, not only `values: Record<string, any>`

Resolves #716

<!-- Add screenshots to help explain the change. -->

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [x] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.
2024-08-20 00:05:37 +08:00
Giga
bdcd555c84
refactor: fix import path and add optional class prop to NumberFieldInput (#707) 2024-08-13 15:04:10 +03:30
Sadegh Barati
514949706f
chore: fix StepperForm and NumberFieldForm examples (#711)
update deps
2024-08-13 14:47:12 +03:30
Sadegh Barati
0ee23fb53d
docs: add dialog with form example (#682) 2024-07-26 00:56:56 +03:30
Sadegh Barati
dbb29de523
docs: add Stepper examples (#681) 2024-07-25 22:28:48 +03:30
Gerzon Rangel
183da0890d
fix: changed color of stepper component icons (#676) 2024-07-25 07:32:25 +03:30
Can Stand
45557fd8e7
fix(Calendar): data-outside-month should be data-outside-view (#672) 2024-07-23 00:41:23 +03:30
Eduard Predescu
6757908fe1
feat(Stepper): implement stepper (#669) 2024-07-22 08:43:10 +03:30
Ilya Torovin
9ddbd5c0d2
docs: expanding table in data-table component 2024-07-08 15:08:54 +03:30
Kristian Arvidsson
7a03a4caab
fix: add chartRef to solve gradiant in same color issue (#636) 2024-07-08 07:17:07 +03:30
Roman Hrynevych
d50ea38f4a
fix(Form): added name to fieldState (#643) 2024-07-02 13:41:53 +03:00
Yakir Reznik
f03778304d
docs: replace import of custom 'ListItem' component with inline html in Navigation Menu (#642) 2024-07-02 08:21:24 +03:30
yali
cdfbd51190
fix: remove bg-white in separator in dark mode (#634) 2024-06-27 08:51:07 +03:30
Miguel
f597d258b0
feat(separator): add label props on separator component (#626) 2024-06-23 22:53:34 +03:30
Hendrig Sellik
eeca60d09b
fix: make NumberField more flexible (#613) (#623) 2024-06-23 22:28:28 +03:30
Saeid Zareie
9d303e91ca
chore: updating source/docs to match the changes in shadcn/ui version (#616) 2024-06-18 08:46:28 +08:00
Artemiy
edc4ee9437
fix(carousel): reading properties of undefined api (#612) 2024-06-15 11:10:38 +03:30
Kyle Milloy
8cbd55660f
fix: export TableFooter.vue from ui/table components (#605) 2024-06-13 21:55:08 +03:30
roiLeo
ae43e5e08a
chore: rename Nuxt.js to Nuxt (#602) 2024-06-13 21:25:37 +03:30
Sadegh Barati
9960925881
chore: update deps and fix tailwindcss for charts reproductions (#596) 2024-06-09 09:15:46 +03:30