Commit Graph

162 Commits

Author SHA1 Message Date
zernonia
5c71911104 chore: run lint:fix, re-build registry 2024-10-14 19:48:05 +08:00
smdbs
982f918e53
docs: fix highlighted line (#807) 2024-10-14 19:42:15 +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
Roga
1c7c60330a
docs: update nuxt.md (#804)
Expanded on the TailwindCSS installation instructions.
The added information is important because from time to time the Nuxt module installation throws the following error:
```bash
$ npx nuxi@latest module add tailwindcss

 ERROR  [GET] "https://npm.fontawesome.com/@nuxtjs/tailwindcss/latest": 401 Unauthorized                                              8:39:48 a.m.

  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  at async $fetch2 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.b88e7b0f.mjs:340:15)
  at async resolveModule (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:262:15)
  at async Object.setup (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/chunks/add2.mjs:136:15)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1620:5)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
  at async runCommand$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1639:11)
  at async runMain$1 (/C:/Users/ryanr/AppData/Local/npm-cache/_npx/b95349761371180e/node_modules/nuxi/dist/shared/nuxi.3e201632.mjs:1777:7) 
```
Manually installing the package and then adding to the config fixes this issue.
2024-10-11 13:05:31 +08:00
Carlos Marques
603497e822
docs(DataTable): fix broken link (#794) 2024-10-08 13:42:16 +08:00
Alex
235ec8a691
docs: update aspect-ratio example (#795)
Added 'w-full h-full' to <img> in example.
2024-10-08 13:41:00 +08:00
Vladimir Ivakhno
775d59b51d
docs: replace lucide-react with lucide-vue-next (#770) 2024-09-18 08:39:42 +03:30
Krishna Bhandari
ccbdc2f90f
docs: update laravel.md creating project command (#752) 2024-09-09 14:04:10 +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
Selemondev
501137a672
feat: auto install @nuxtjs/color-mode module (#737)
* feat(app): #537 auto install the  module

This pull request is intended to install the  module during the installation of the  module

Closes: #537

* docs: update Nuxt dark mode

---------

Co-authored-by: selemondev-triply <selemon@triply.co>
2024-08-30 21:32:24 +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
68d9804109
docs: add TagsInput form example (#725) 2024-08-22 10:47:56 +03:30
jtidwe11
12657dab5c
docs: update vite instructions (#713)
If compiler options are only added to just tsconfig.json, module resolution fails for `@/lib/utils` during build.
2024-08-16 12:14:08 +03:30
Giga
bdcd555c84
refactor: fix import path and add optional class prop to NumberFieldInput (#707) 2024-08-13 15:04:10 +03:30
Giga
0d5d2d0d10
docs: fix a typo (#696) 2024-08-02 20:07:36 +03:30
Alan Kersaudy
5708af535a
docs: fix astro.md globals.css import path 2024-07-29 08:19:31 +03:30
Alan Kersaudy
b2952b6416
docs: astro dark-mode.md typo (#686) 2024-07-29 08:16:43 +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
Eduard Predescu
6757908fe1
feat(Stepper): implement stepper (#669) 2024-07-22 08:43:10 +03:30
Kikky Skrlin
6550f34842
docs: add comment how to enable transitions when switching mode (#662)
useColorMode disables transitions by default.
2024-07-22 08:00:17 +03:30
Hannes
edad815fd9
docs: add @internationalized/date package installation instruction (#654) 2024-07-10 07:58:54 +03:30
Ilya Torovin
9ddbd5c0d2
docs: expanding table in data-table component 2024-07-08 15:08:54 +03:30
Saeid Zareie
0f1befad1f
docs: adding syncing section (#640)
* docs: adding syncing section

* chore: fixing constant link
2024-06-30 21:06:32 +03:30
Miguel
f597d258b0
feat(separator): add label props on separator component (#626) 2024-06-23 22:53:34 +03:30
Jie
6aebbc1a90
docs: fix modify the style generation location (#625) 2024-06-21 12:35:59 +03:30
Saeid Zareie
63732f1c47
docs: adding changelog page (#617)
* chore: adding changelog page

* docs: cleanup

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2024-06-18 09:18:04 +08:00
Saeid Zareie
9d303e91ca
chore: updating source/docs to match the changes in shadcn/ui version (#616) 2024-06-18 08:46:28 +08:00
Daniel Roe
88a93ce22e
chore: indicate compatibility with new v4 major (#610) 2024-06-14 17:43:04 +03:30
roiLeo
ae43e5e08a
chore: rename Nuxt.js to Nuxt (#602) 2024-06-13 21:25:37 +03:30
Roman Slonov
ce6eb79a3d
feat: add number-field component (#571) 2024-06-03 12:59:39 +03:30
zernonia
f48d1d4f4c docs: fix data-table colspan 2024-06-02 00:16:12 +08:00
zernonia
e54e06bb98 docs: fix form page 2024-06-02 00:01:53 +08:00
sadeghbarati
af5d0b323d chore: update deps
root
apps/www

fix line numbers line-height
2024-05-21 15:06:41 +03:30
tangyongjie
61dcd63ef2
docs: fix installation configure components.json (#556) 2024-05-16 18:38:13 +03:30
Safal Pokharel
61ed5f1758
docs: fix breadcrumb.md import path for components (#552) 2024-05-15 19:08:06 +03:30
Sadegh Barati
5eb41b0ba9
chore: add vue-sonner with dialog example (#551) 2024-05-14 14:36:06 +03:30
Roman Hrynevych
7fdf916443
refactor: change setValues to setFieldValue for better validation (#547) 2024-05-13 00:50:25 +03:00
Andrei Ivanov
3dd2fbda95
docs: change controlled CommandDialog from prop to event (#533) 2024-05-07 08:08:56 +03:30
Sam K
10319df960
fix(cli): add an option to component.json to resolve nuxt buildDir (#447)
* fix(cli): add an option to `component.json` to resolve nuxt buildDir dynamically

* feat: add `tsConfigPath` option

* docs: updated installation docs to reflect the new option `tsConfigPath`

* feat: include option in init

---------

Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
Co-authored-by: zernonia <zernonia@gmail.com>
2024-05-06 16:13:46 +08:00
zernonia
9dfb0b86c0 feat: dynamic breadcrumb 2024-05-01 16:06:49 +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
18e40cf002
chore: typos (#519) 2024-04-28 09:52:26 +03:30
chachew
93b98252a4
docs: update form.md (#511)
Small text change for clarity
2024-04-25 23:03:53 +08:00
zernonia
919770c6ca chore: kick pipeline 2024-04-24 11:49:13 +08:00
chachew
8e132b1987
docs: fix typo in vite.md (#510) 2024-04-22 19:02:24 +03:30
chachew
95f4e6b56d
docs: update vite.md (#505) 2024-04-20 11:35:55 +03:30
Josh King
c77b087c9c
chore: update incorrect link (#499) 2024-04-20 10:47:55 +03:30
Eduard Predescu
fbe14a20c1
docs: multiple month range picker (#496) 2024-04-15 23:56:23 +03:30