Commit Graph

13 Commits

Author SHA1 Message Date
Sadegh Barati
cfccb8e510
feat: new calendar components (#468) 2024-04-11 18:42:20 +03:30
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
e817da4b8b
docs: adding dark-mode setup page (#384) 2024-03-07 16:33:49 +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
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
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
d39220e3e8 fix: missing import 2023-09-08 14:35:04 +08:00
zernonia
8e762393d1 feat: add auto registry, rename folder 2023-09-06 09:55:07 +08:00
Ahmed Mayara
309c87a293
[Feature]: Sheet (#23)
* fix: fix alert dialog missing emits

* feat: add sheet component
2023-09-02 22:36:45 +08:00
zernonia
4017bc628c feat: vitepress docs 2023-08-30 15:42:00 +08:00
zernonia
90e2e2f7c0 chore: add vitepress 2023-08-30 10:14:37 +08:00
zernonia
a959de916d chore: update alias path 2023-08-23 16:28:13 +08:00
zernonia
37817baf27 chore: rearrange the directory 2023-08-23 16:15:10 +08:00