Commit Graph

134 Commits

Author SHA1 Message Date
selemondev
04b647217c refactor: 815 shadcn-nuxt dependencies and CLI init
Closes: 815
2024-10-20 12:53:19 +03: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
Sadegh Barati
64b6d6ac38
docs: fix and cleanup some of demos (#773)
chore: update deps
2024-09-19 14:58:28 +03:30
Horu
573443f352
chore(nuxt): add nuxt modules package required for development (#750) 2024-09-04 23:33:42 +03:30
Sadegh Barati
cc84ac172c
fix: carousel ref unwrapping with top-level property in template (#743) 2024-08-30 23:32:07 +03:30
Oscar Recio
2a50f65ec5
fix: arrange range calendar day alignment 2024-08-20 15:50:03 +03:30
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
bec12b1653
chore: add pnpm catalog (#674)
run nolyfill to found redundant packages
update deps
2024-07-23 14:17:28 +08:00
Sadegh Barati
4d4804231b chore: update deps 2024-07-19 16:00:15 +03:30
sadeghbarati
b371e5f3ad chore: update deps 2024-07-07 16:10:42 +03:30
sadeghbarati
2e93d15af4 chore: update deps
close #584

root
www
cli
module
2024-06-18 09:26:41 +03:30
Artemiy
edc4ee9437
fix(carousel): reading properties of undefined api (#612) 2024-06-15 11:10:38 +03:30
Sadegh Barati
a1faecc7d2
chore: use nolyfill to speed up installation process (#597) 2024-06-09 13:43:11 +03:30
Sadegh Barati
9960925881
chore: update deps and fix tailwindcss for charts reproductions (#596) 2024-06-09 09:15:46 +03:30
Roman Slonov
ce6eb79a3d
feat: add number-field component (#571) 2024-06-03 12:59:39 +03:30
zernonia
80f06066c6 chore: bump radix-vue version 2024-05-28 13:43:52 +08:00
Muhammad Mahmoud
bd0a8206ef
chore(module): add critical packages to module's dependencies (#531) 2024-05-24 17:03:48 +03:30
sadeghbarati
af5d0b323d chore: update deps
root
apps/www

fix line numbers line-height
2024-05-21 15:06:41 +03:30
Dunqing
175762a959
chore: bump detypes (#548)
* chore: bump detypes

* test: update snapshot

* test: add test to check all type references

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-05-21 13:12:12 +08:00
zernonia
ead6ad8437 chore: fix pnpm-lock 2024-05-13 15:08:39 +08:00
zernonia
3e5dd97fc5 chore: rerun pnpm-lock 2024-05-13 14:56:31 +08:00
Dunqing
cc3503689f
chore: bump vitest to 1.6.0 (#549)
* chore: bump vitest to 1.6.0

* fix: update
2024-05-13 14:32:36 +08:00
Muhammad Mahmoud
631ffb81d5
feat(module): auto inject lib/utils & refresh the playground (#528)
* chore: add dev:nuxt script

* chore(module): add `.npmrc` to playground

* chore: bump 'nuxtjs/tailwindcss' and add it to modules

* chore: add schema to components.json

* chore: bump playground deps

* fix: add missing tailwind.css by the cli

* chore: bump tailwind config

* chore(playground): bump Button component

* chore: add comments

* refactor: simplify components registration

* chore(module): bump deps

* chore(module): remove `oxc-parser`

* chore: dedupe

* feat(module): auto generate `lib/utils`

* feat(module): refresh playground style and dark mode

* chore: revert components registration and link the comment

* chore: readd oxc-parser

* chore: bump vitest
2024-05-07 12:44:15 +08:00
zernonia
9ebbd30175 chore: bump deps 2024-05-06 23:50:57 +08:00
zernonia
d17bb2bb2a chore: bump deps 2024-05-06 23:32:31 +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
5f774f83d9
fix: replace lodash.template with lodash-es to prevent vulnerabilities (#515) 2024-04-25 23:03:26 +08:00
sadeghbarati
0937fb6af5 chore: bump deps
root
www
cli
2024-04-23 09:45:42 +03:30
Saeid Zareie
798aa0ec24
fix: oxc-parser wasm issue (#484) 2024-04-13 09:45:06 +08:00
Sadegh Barati
8052eb1a33 chore: update deps, fix build error
- root
- www
- cli
- module

remove @iconify/json pkg
2024-04-11 19:06:45 +03:30
Sadegh Barati
cfccb8e510
feat: new calendar components (#468) 2024-04-11 18:42:20 +03:30
zernonia
8aa0e2a41d chore: bump radix-vue 2024-04-04 17:21:19 +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
zernonia
8e58b6e196 chore: update deps 2024-03-15 09:08:56 +08:00
Sadegh Barati
4672f2247d chore: update deps
root
apps/www
packages/cli
2024-03-14 21:00:25 +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
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
Saeid Zareie
e817da4b8b
docs: adding dark-mode setup page (#384) 2024-03-07 16:33:49 +03:30
Sadegh Barati
a3e1db9578
fix: make c12 look only for components.json for now (#388) 2024-03-07 09:01:07 +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
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
zernonia
27fae5c24c chore: bump radix 2024-02-21 14:25:12 +08:00
Dunqing
24576e3ef6
chore(cli): update detypes version to fix the problem that calendar cannot be installed (#348) 2024-02-20 19:11:49 +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