Commit Graph

83 Commits

Author SHA1 Message Date
zernonia
08e10236fc chore: run lint 2024-05-13 14:25:38 +08:00
Roman Hrynevych
b20a45552a
fix: update PinInput form (#544)
* fix: update default modelValue for Pin input

* fix: update `vee-validate` pin-input setValue

* chore: run `build:registry` command
2024-05-10 15:19:44 +03:00
zernonia
db3fff29c8 fix(Chart): maximum call stack 2024-05-01 11:56:54 +08:00
zernonia
77c6a16040
feat: Charts (#166)
* chore: update unovis deps

* chore: update color to use the themePrimary

* docs: use gradient for overview component

* docs: add themePopover to MainLayout

* docs: enable global theme on every page

* feat: introduce area, line, bar, donut chart

* feat: add more props

* fix: revert old pipeline

* fix: patch @unovis/vue deps

* fix: patch @unovis/vue deps again

* chore: revert unovis/ts to 1.2.1

* chore: wip

* docs: add alpha tag, fix tooltipo styling

* docs: add charts installations step

* feat: use generic, add better color

* chore: build registry

* feat: improve generic props

* chore: build registry

* docs: add alpha label

* fix: collapsible not open correctly

* docs: add badge to mobile nav

* chore: better types

* chore: run registry

* chore: wip

* fix: crosshair issue

* chore: fix type, import missing error

* chore: build registry

* chore: arrange interface, expose margin, slot

* chore: build registry

* docs: guide page
feat: add prop to barchart

* chore: fix pnpm-lock

* chore: add feature

* chore: run build registry

* refactor: change color var

* feat: codegen

* chore: add meta tables

* feat: add line, area example

* feat: bar and donut examples

* docs: codege

* chore: build registry

* docs: improve chart doc

* chore: fix missing icon package
2024-05-01 11:34:58 +08:00
zernonia
32d7b9ca4a
feat: Auto Form (#497)
* chore: initial poc

* chore: cleanup, log on the docs

* feat: add file component

* feat: typing for nested config

* feat: more props for form field

* feat: export field component, expose more slotprops

* feat: array, config label

* feat: improve array

* feat: support custom form state

* chore: prevent schema props showing on attribute

* feat: dependencies rendering

* refactor: change name to fieldName to allow easier slotProps binding

* feat: improve file upload

* feat: expose custom auto form slot

* chore: bump

* chore: replicate to default styling

* chore: build registry

* fix: export component before init

* chore: add examples

* chore: add form api example

* fix: warning in console

* chore: bump package version

* chore: update example, complete md

* feat: allow zod description as label, allow custom component

* docs: fix link

* feat: show required field for object

* chore: replace enumProps
2024-05-01 09:39:09 +08:00
Sadegh Barati
cfccb8e510
feat: new calendar components (#468) 2024-04-11 18:42:20 +03:30
Kristian Frølund
e36402491b
fix: multiple thumb sliders (#464) 2024-04-10 20:58:49 +03:30
Kristian Frølund
cb955c82a7
fix: add type button to v-calendar navigations to prevent form submission (#461) 2024-04-04 12:07:18 +03:30
Artemiy
623fe06aa6
fix(hover-card): add emits from radix-vue (#435) 2024-03-25 16:53:26 +03:30
Sadegh Barati
1f97ce0d24
fix: pin input highlight border (#432) 2024-03-24 00:26:18 +03:30
Sadegh Barati
cd3d24438a fix: can't install drawer in js project 2024-03-24 00:08:31 +03:30
zernonia
a03bace32c
feat: Blocks (#428)
* chore: build registry

* feat: block preview

* refactor: change to use iframe
feat: add more blocks

* chore: fix build

* feat: add all other blocks

* feat: add copy button

* chore: cleanup
2024-03-23 18:24:48 +08:00
Sadegh Barati
d34c620055
chore: lint and enable Volar hybrid mode (#419)
* chore: update deps

* feat: enable Volar hybrid mode

* chore: lint

* chore: build registry
2024-03-20 22:29:42 +03:30
tortorse
24fc8f755a
chore: correct the spelling of col-span to colspan (#417) 2024-03-20 21:21:16 +03:30
Saeid Zareie
38f5672e59
docs: adding contribution guide (#413) 2024-03-15 21:35:57 +03:30
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
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
d832e9f48a
docs: adding mail example (#389) 2024-03-07 16:52:39 +03:30
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
64e2f9c199
feat: vaul-vue integration (#374) 2024-03-04 10:04:28 +03:30
Sadegh Barati
5d9176725b fix: vue-sonner wrong props
update deps
run registry
2024-03-01 21:18:14 +03:30
zernonia
83c3c207cd chore: build registry 2024-02-21 14:24:22 +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
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
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
Roman Hrynevych
5cc6ef1e9d
docs: add Geist default font (#339) 2024-02-14 18:13:25 +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
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
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
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
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
Valentin Hutter
cb974f95e0
feat: Calendar component inherits the VCalendar slots (#285) 2024-01-18 16:06:56 +03:30
zernonia
e65fe20e6d chore: run build registry 2024-01-17 14:30:26 +08:00
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
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
Antoine Lethimonnier
f05922dfd0
feat(cli): Add JSON schema (#256)
* Add schema

* Update schema.json
2024-01-10 10:15:02 +03:30
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
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