Commit Graph

238 Commits

Author SHA1 Message Date
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
zernonia
755d864f14 chore: release v0.8.6 2024-01-02 16:13:30 +08:00
zernonia
af57b63458 chore: run build registry 2024-01-02 16:13:03 +08:00
Sadegh Barati
f6f87d3cd6
chore: fix ComboboxDemo.vue types (#233)
* chore: fix `ComboboxDemo.vue` example types

* chore: update `radix-vue`
2023-12-31 22:37:23 +03:30
Ole Marius Løset
ef3ec54a4e
Output consistency across platforms (#181)
* fix: normalize newline

* fix: sort readdir

* fix: correct sorting

* fix: missing npm run in build:registry npm script

* Update apps/www/package.json

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2023-12-31 21:10:47 +03:30
itsTPM
c2e05239f6
docs: change cards radius to rounded-lg (#231) 2023-12-30 20:40:31 +03:30
itsTPM
583bf60ce8
docs: replace nbsp with a space when copying (#230) 2023-12-30 14:14:32 +03:30
Jan Kremlacek
15c42f9ee0
docs: make <DataTable /> reactive (#229) 2023-12-30 05:50:10 +03:30
Sadegh Barati
5e22ffc037
fix: toggle not setting pressed property on init (#223)
* fix: toggle not setting pressed property on init

* refactor: move class outside of toggleVariants
2023-12-30 00:24:20 +03:30
zernonia
c75b40245f docs: add missing API references 2023-12-23 11:47:15 +08:00
zernonia
2513dc5429 chore: release v0.8.5 2023-12-21 09:07:47 +08:00
Sadegh Barati
010e377669
fix: avoid failing resolve types by adding radix-vue to project deps in shadcn-vue init before the add command (#216)
* fix: avoid failing resolve types by adding `radix-vue` to project deps in `init` command

* chore: add `shell-emulator` and remove `cross-env`

fix some registry example import path

* chore: remove additional `radix-vue`  dependency from components registry

* chore: update `tsx` and `vue-tsc`

* fix: normalize `components:example` path to process `crawlExample` function correctly

* chore: build registry

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2023-12-21 09:06:14 +08:00
Sadegh Barati
b40321e3d9
docs: fix vee-validate checkbox and radio-group examples (#213)
* docs: fix checkbox and radio form examples

add type="checkbox|radio" and name in FormField

* docs: add `vee-validate` documentation link for checkbox and radio inputs

* chore: update `vee-validate` deps
2023-12-19 18:23:05 +03:30
Björn
96da2d8ffe
docs: change docs link in sheet component (#211) 2023-12-17 11:27:45 +03:30
sadeghbarati
f82e4011e6 chore: fix label for attribute in registry examples
`html-for` -> `for`
2023-12-12 10:02:55 +03:30
Sasa Markovic
24027aa1a1 docs: fix create project command typo (#208)
`create-next-app` -> `create-nuxt-app`
2023-12-12 09:49:39 +03:30
zernonia
269caf00b0
fix(Button): missing asChild (#203)
* fix: button should use primitive

* docs: fix missing NuxtLink import

* chore: build registry
2023-12-06 09:59:36 +08:00
sadeghbarati
58bad186dc chore: fix ThemingLayout.vue TooltipContent color in dark mode 2023-12-02 09:23:19 +03:30
Josh Larsen
c38624cb50
fix: theme switcher current colors (#198)
* fix border color

* match bg color closer to border

* fix tooltip bg color
2023-12-02 06:15:11 +03:30
zernonia
3778a51feb chore: release v0.8.4 2023-12-01 11:55:53 +08:00
zernonia
7a09929887 chore: bump deps version 2023-12-01 11:55:46 +08:00
zernonia
692191104d chore: lint, fix frozen lockfile 2023-12-01 11:36:12 +08:00
zernonia
7586b5e15c
feat: Nuxt module (#197)
* feat: add nuxt module

* chore: bundle module

* chore: update package, readme

* docs: update nuxt installation with new module

* docs: remove Ui prefix to prevent confusion

* chore: cleanup
2023-12-01 11:31:27 +08:00
Sadegh Barati
caa8994d22
docs: add color-scheme (#193)
* docs: add `color-scheme` to doc

this change will fix **Choose File** text color in input file

* docs: fix `Nuxt` logo in light mode

* docs: fix line number highlight
2023-12-01 10:33:53 +08:00
Sadegh Barati
13ba39e2aa
fix: input duplicated class name, remove type="text" (#194)
If the **type** attribute is not specified, the default type is "text"
2023-12-01 10:32:06 +08:00
Youssef
e2d9e04daa
fix: Calendar transition bug (#195)
* fix: `calendar` transition glitch

* fix: calendar transition bugs

Added overflow hidden + z-index to the buttons

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2023-12-01 10:30:37 +08:00
Emir Büçkün
3a941e101e
docs: fix typo dialog.md (#192)
The dialogue title was incorrect. I deleted one of the two "sure" words.
2023-11-29 11:15:50 +03:30
Benjamin Gervan
4156bf6703
fix: checkbox icon off-center fix (#184)
* fix: checkbox icon off-center fix

* fix: checkbox icon off-center update fix

* fix: revert box-content
2023-11-26 01:23:05 -08:00
zernonia
8d1dfe8da9 docs: fix demo after refactoring 2023-11-25 23:56:25 +08:00
Lucas Goyeche
89874ca324
feat(cli): add collapsible animations by default (#186)
* feat(cli): add collapsible animations by default

* docs: add collapsible animation instructions
2023-11-25 13:52:37 +08:00
zernonia
a9c3c8709f chore: release v0.8.3 2023-11-25 09:55:28 +08:00
zernonia
9074d75d96 chore: update deps 2023-11-25 09:55:16 +08:00
Ole Marius Løset
c242a7955a
add vue-tsc typecheck before build registry (#182)
* chore: add vue-tsc script

* fix: remove non existent props from ModelSelector

* fix: add basic typing for files

* fix: fix Artwork object in demo

* fix: use DatePickerModel from v-calendar on modelValue

Fixes vue-tsc validation errors

* chore: add `@vue/tsconfig`

* refactor: extracted types from v-calendar

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2023-11-20 14:22:36 +03:30
Ole Marius Løset
87da925085
refactor: use pathe instead of node:path (#179)
Closes #178
2023-11-18 08:55:21 +08:00
Anonimus Programus
cbb40522dc
fix: add missing presentation role in new-york style (#175)
A <div role="presentation"> is missing from "new-york" but exists in "default"
2023-11-17 17:39:19 +03:30
Rishabh Dubey
71f5ce3c04
docs(form): fix closing of form tags in VeeValidate document (#171) 2023-11-14 13:26:55 +03:30
zernonia
31a7198b70 chore: bump radix-vue version 2023-11-13 23:28:32 +08:00
Anonimus Programus
de4f12c38a
docs: Update TeamSwitcher.vue (#167) 2023-11-13 13:46:36 +03:30
Anonimus Programus
c07223a92c
chore: Update DatePicker.vue (#165)
unused last line
2023-11-13 11:43:37 +03:30
Selemondev
46892bf9c9
docs: add shadcn/vue VSCode extension (#163)
* docs(app): #162 add shadcn/vue VSCode extension

This pull request is intended to add the shadcn/vue VSCode extension to the installation guide.

Closes: #162

* docs: update announcement

* docs: credit, and format the text

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2023-11-12 16:07:23 +08:00
Sadegh Barati
3ea532a5b4
fix: set default node version to 18 in CodeSandbox (#164) 2023-11-12 09:26:36 +03:30
zernonia
31b701429f chore: release v0.8.2 2023-11-10 17:38:54 +08:00
zernonia
5da2eefd50 chore: update registry 2023-11-10 17:37:52 +08:00
Youssef
e26d73416b
docs: fix announcement typo (#155) 2023-11-09 23:01:33 +08:00
zernonia
ceb090d60d fix: pipeline with some missing 2023-11-09 18:53:14 +08:00
Selemondev
e5cecae352
docs: Improve the API reference of all the components (#152)
* docs: improve the api reference of all the components

* docs(app): #152 add new-york theme

This pull request is intended to add the new-york theme for the newly created component examples.

Closes: #152

* chore: build registry

* chore: change usage of lucide icon in new-york

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2023-11-09 18:42:01 +08:00
Sadegh Barati
a2c5834255
docs: fix nuxt.config.ts configuration for auto-import components directories (#154)
* docs: fix `nuxt.config.ts` components installiation step

* docs: add `pathPrefix`: false
2023-11-09 18:12:22 +08:00
zernonia
4fcfb4edf2 fix: missing dependencies for calendar 2023-11-06 13:30:45 +08:00
zernonia
670b12c4c9 chore: release v0.8.1 2023-11-06 12:48:03 +08:00
zernonia
cd3c767c71
chore: update registry (#151)
* fix: missing dependencies after import

* fix: demo component paths incorrect with subfolder
2023-11-06 12:47:31 +08:00
Sadegh Barati
3e74fe7de6
docs: fix component preview alias path (#150)
* chore: update deps

* docs: fix alias path
2023-11-04 21:07:41 +08:00
Pratik Patel
8332ab6022
docs: Appearance Form Label Fix (#149) 2023-11-03 14:10:09 +03:30
zernonia
f9243d4efe chore: kick build 2023-11-03 13:56:39 +08:00
zernonia
c9402fe9e7 chore: bump radix-vue version 2023-11-03 13:36:16 +08:00
Nik
ef4609abbf
feat: add toast (#122)
* feat: add toast

* feat: add new york version

* feat: add `VNode` type to toast description

* docs: use `toast` in form demos

* chore: run build registry

* docs: update announcement component, menu label

* refactor: change 'onUpdate:open' to 'onOpenChange' a more friendlier name

---------

Co-authored-by: Nik <dev@nkutinha.slmail.me>
Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
Co-authored-by: zernonia <zernonia@gmail.com>
2023-11-03 09:45:40 +08:00
Dunqing
a4774ff48d
fix(cli): missing props/emits when disable typescript (#105)
* feat(cli): support remove type when non-typescript

* fix(cli): missing props/emits when doesn't enable typescript

* test: add test cases for defineProps/defineEmits

* fix: withDefaults case

* fix: cannot resolve external and packages types

* fix: missing assign variable
2023-11-02 22:22:33 +08:00
zernonia
67e6f1a979 fix: build 2023-10-24 21:22:36 +08:00
zernonia
27dc777d19 chore: build registry 2023-10-24 20:57:02 +08:00
zernonia
73c561d698
chore: bump Radix Vue v1 (#139)
* refactor: apply all v1 changes

* chore: bump radix-vue version

* chore: remove WIP

* chore: update component preview

* chore: fix old pnpm lock
2023-10-24 20:51:00 +08:00
Sadegh Barati
c8551d58ff chore: upgrade deps 2023-10-23 23:48:39 +03:30
Selemondev
b677d3fe5f
docs: improve API Reference for the Data Table Component (#134)
* docs: improve API Reference for the Data Table Component

* docs: update Data Table component API reference
2023-10-23 20:51:28 +03:30
Selemondev
537416f88f
docs: add Astro guide (#118)
* docs(app): add astro guide

* docs: update Astro guide
2023-10-22 16:11:01 +08:00
Xavier Vila Rubio
90e926b14b
fix: customizer code text color (#125)
Added text-white on code lines
2023-10-22 09:20:30 +03:30
zernonia
b2caaca1e2
feat: stackblitz/codesandbox editor (#130)
* feat: stackblitz editor

* chore: update lockfile

* fix: cant fetch ?raw dynamically after bundling

* feat: add codesandbox
2023-10-21 21:21:46 +08:00
zernonia
f96d00ec6f chore: build registry 2023-10-21 11:03:41 +08:00
Ole Marius Løset
03e1fcebb8
fix: add v-bind="$attrs" to DatePicker in Calendar (#117)
* fix: add v-bind="$attrs" to calendar

* fix: `inheritAttrs` false, remove duplicated `nextTick`

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
2023-10-21 10:56:41 +08:00
Greg Sanderson
2f9845efcd
chore: update vite.md (#111)
The guide assumes TypeScript (for example mentioning tsconfig.json just below) however the suggested Vite template uses JavaScript. Perhaps suggest using the TypeScript template instead as then everything else works.
2023-10-11 10:22:53 +08:00
zernonia
4013634c00 chore: bump registry 2023-10-10 15:10:03 +08:00
Sadegh Barati
e5b33f652f
feat: add pagination (#109)
feat: update
2023-10-10 15:09:16 +08:00
Sadegh Barati
9b75dcf9d2
docs: add @formkit/auto-animate example in form.md (#108)
* fix: typo for injection key

* docs: add `@formkit/auto-animate` example
2023-10-09 20:35:49 +08:00
zernonia
d2aa7534fe chore: build registry 2023-10-06 13:26:59 +08:00
zernonia
9b4b0c289e chore: fix demo reactivitiy 2023-10-06 13:23:49 +08:00
Sadegh Barati
d03067db67
feat: add vee-validate (#85)
* feat: add `vee-validate`

* chore: update

* chore: update `AccountForm` example

- add `FormDescription` component
- include `src` in tsconfig

* refactor: use radix-vue `Slot` component

* chore: refresh lockfile

* chore: update `ProfileForm.vue` and `AccountForm`

fix vee-validate initialValues on components with `componentField` slotProp

* chore: update `AppearanceForm.vue`

update pnpm and some deps -_-

* refactor: update

- add new-york style
- off eslint import/first rule
- use `useId` from radix-vue

* fix: class-name -> class

* refactor: simplify validation for `Command` component

* fix: v-bind="field" -> v-bind="componentField"

* fix: useAttrs to prevent class duplication

* docs: add `form.md`

- change TabPreview.vue to showcase way of using vee-validate

* docs: add form example for `checkbox` `input` and `datepicker`

* docs: add `combobox`, `datepicker`, `radio-group`, `select`, `switch` and `textarea` form and some other exmaples

* chore: typo, update `zod`, `vite`, and `@vitejs/plugin-vue`
2023-10-06 12:04:38 +08:00
zernonia
a46215fb89 chore: run build registry 2023-10-02 17:02:29 +08:00
Muhammad Mahmoud
e0cecc34d6
fix: avatar class typo (#97)
* fix: class typo

* fix: same typo different file
2023-10-02 17:01:25 +08:00
zernonia
7fd9ebecfe fix: hotfix for tabs wasn't import correctly 2023-10-02 10:14:27 +08:00
Léo Gallot
223583b217
fix: add emits to the tabs component (#93) 2023-10-01 23:33:41 +08:00
Björn
417368bcd4
docs: update select.md with correct docs link (#94)
The link to vue-shadcn source & radix-vue docs was pointing to Popover component instead of Select component.
2023-10-01 23:32:37 +08:00
zernonia
b9bbaaa696 chore: build registry 2023-09-28 17:35:04 +08:00
zernonia
9355cd1671 chore: bump radix-vue version 2023-09-28 17:34:06 +08:00
zernonia
d49126ecc8
feat: implement utilities from radix vue (#89)
* refactor: change all popper related element to use useForwardPropsEmits

* refactor: use useEmitAsProps from radix-vue
2023-09-28 16:51:31 +08:00
zernonia
bd1953d35f chore: bump radix-vue version 2023-09-28 15:03:55 +08:00
zernonia
02fe76d1f0
refactor: replace iconify icons with @radix-icons/vue for newyork style (#87)
* refactor: changes all instance of unplugin-icons to radix-icons

* chore: build registry

* test: fix new deps
2023-09-27 12:26:24 +08:00
zernonia
88c159dc82 chore: bump radix-vue version 2023-09-26 22:10:01 +08:00
zernonia
46d0645313 chore: bump radix-vue version 2023-09-26 14:57:24 +08:00
Ahmed
8b4a0b455e fix: complete textarea 2023-09-24 18:54:34 +01:00
zernonia
2f1579941b chore: run build registry 2023-09-23 22:22:18 +08:00
zernonia
05e3f9484e
chore: updates charts using unovis/vue (#77)
* chore: updates charts using unovis/vue

* fix: minor styling
2023-09-23 22:18:14 +08:00
Ahmed Mayara
45eeb25149
fix: dialog overlay background color (#76) 2023-09-23 21:46:30 +08:00
Selemondev
3e9d8063cc
docs: update Nuxt 3 installation guide for Typescript issue fix (#71)
* docs: update Nuxt 3 installation guide

* docs: update Nuxt 3 installation guide
2023-09-22 15:11:52 +08:00
zernonia
97e9b57eb0 docs: fix className reference 2023-09-22 09:48:30 +08:00
zernonia
9b2447b249
fix: update extension for tailwindconfig (#68) 2023-09-21 08:11:25 +08:00
zernonia
f192d154c1 fix: ssr issue with popper components 2023-09-20 17:15:55 +08:00
zernonia
2040d594c7 chore: update registry 2023-09-20 17:02:43 +08:00