diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts
index 09777068..265902db 100644
--- a/apps/www/__registry__/index.ts
+++ b/apps/www/__registry__/index.ts
@@ -1158,6 +1158,27 @@ export const Index = {
component: () => import("../src/lib/registry/default/block/Dashboard04.vue").then((m) => m.default),
files: ["../src/lib/registry/default/block/Dashboard04.vue"],
},
+ "Dashboard05": {
+ name: "Dashboard05",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","breadcrumb","sheet","pagination","progress","separator","table","tabs","tooltip","checkbox"],
+ component: () => import("../src/lib/registry/default/block/Dashboard05.vue").then((m) => m.default),
+ files: ["../src/lib/registry/default/block/Dashboard05.vue"],
+ },
+ "Dashboard06": {
+ name: "Dashboard06",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","breadcrumb","sheet","table","tabs","tooltip"],
+ component: () => import("../src/lib/registry/default/block/Dashboard06.vue").then((m) => m.default),
+ files: ["../src/lib/registry/default/block/Dashboard06.vue"],
+ },
+ "Dashboard07": {
+ name: "Dashboard07",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","textarea","label","toggle-group","breadcrumb","sheet","table","select","tooltip"],
+ component: () => import("../src/lib/registry/default/block/Dashboard07.vue").then((m) => m.default),
+ files: ["../src/lib/registry/default/block/Dashboard07.vue"],
+ },
}, "new-york": {
"AccordionDemo": {
name: "AccordionDemo",
@@ -2314,5 +2335,26 @@ export const Index = {
component: () => import("../src/lib/registry/new-york/block/Dashboard04.vue").then((m) => m.default),
files: ["../src/lib/registry/new-york/block/Dashboard04.vue"],
},
+ "Dashboard05": {
+ name: "Dashboard05",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","breadcrumb","sheet","pagination","progress","separator","table","tabs","tooltip","checkbox"],
+ component: () => import("../src/lib/registry/new-york/block/Dashboard05.vue").then((m) => m.default),
+ files: ["../src/lib/registry/new-york/block/Dashboard05.vue"],
+ },
+ "Dashboard06": {
+ name: "Dashboard06",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","breadcrumb","sheet","table","tabs","tooltip"],
+ component: () => import("../src/lib/registry/new-york/block/Dashboard06.vue").then((m) => m.default),
+ files: ["../src/lib/registry/new-york/block/Dashboard06.vue"],
+ },
+ "Dashboard07": {
+ name: "Dashboard07",
+ type: "components:block",
+ registryDependencies: ["badge","button","card","dropdown-menu","input","textarea","label","toggle-group","breadcrumb","sheet","table","select","tooltip"],
+ component: () => import("../src/lib/registry/new-york/block/Dashboard07.vue").then((m) => m.default),
+ files: ["../src/lib/registry/new-york/block/Dashboard07.vue"],
+ },
},
}
diff --git a/apps/www/package.json b/apps/www/package.json
index 47bfee65..1b1ba221 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -1,7 +1,7 @@
{
"name": "www",
"type": "module",
- "version": "0.10.2",
+ "version": "0.10.3",
"files": [
"dist"
],
@@ -32,7 +32,7 @@
"embla-carousel-vue": "^8.0.0",
"lucide-vue-next": "^0.359.0",
"magic-string": "^0.30.8",
- "radix-vue": "^1.5.3",
+ "radix-vue": "^1.6.2",
"tailwindcss-animate": "^1.0.7",
"v-calendar": "^3.1.2",
"vaul-vue": "^0.1.0",
diff --git a/apps/www/src/content/docs/components-json.md b/apps/www/src/content/docs/components-json.md
index 75ce9598..84473bda 100644
--- a/apps/www/src/content/docs/components-json.md
+++ b/apps/www/src/content/docs/components-json.md
@@ -146,3 +146,17 @@ Import alias for your components.
}
}
```
+
+### aliases.ui
+
+Import alias for `ui` components.
+
+The CLI will use the `aliases.ui` value to determine where to place your `ui` components. Use this config if you want to customize the installation directory for your `ui` components.
+
+```json title="components.json"
+{
+ "aliases": {
+ "ui": "@/app/ui"
+ }
+}
+```
diff --git a/apps/www/src/lib/registry/default/block/Authentication03.vue b/apps/www/src/lib/registry/default/block/Authentication03.vue
index a3d976ec..15dc0241 100644
--- a/apps/www/src/lib/registry/default/block/Authentication03.vue
+++ b/apps/www/src/lib/registry/default/block/Authentication03.vue
@@ -25,7 +25,7 @@ import { Label } from '@/lib/registry/default/ui/label'
-
+
diff --git a/apps/www/src/lib/registry/default/block/Dashboard05.vue b/apps/www/src/lib/registry/default/block/Dashboard05.vue
new file mode 100644
index 00000000..a68f2a92
--- /dev/null
+++ b/apps/www/src/lib/registry/default/block/Dashboard05.vue
@@ -0,0 +1,778 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Your Orders
+
+ Introducing Our Dynamic Orders Dashboard for Seamless
+ Management and Insightful Analysis.
+
+
+
+
+
+
+
+
+ This Week
+
+ $1329
+
+
+
+
+ +25% from last week
+
+
+
+
+
+
+
+
+ This Month
+
+ $5,329
+
+
+
+
+ +10% from last month
+
+
+
+
+
+
+
+
+
+
+
+ Week
+
+
+ Month
+
+
+ Year
+
+
+
+
+
+
+
+
+ Filter by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Orders
+
+ Recent orders from your store.
+
+
+
+
+
+
+ Customer
+
+ Type
+
+
+ Status
+
+
+ Date
+
+
+ Amount
+
+
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Olivia Smith
+
+
+ olivia@example.com
+
+
+
+ Refund
+
+
+
+ Declined
+
+
+
+ 2023-06-24
+
+
+ $150.00
+
+
+
+
+
+ Noah Williams
+
+
+ noah@example.com
+
+
+
+ Subscription
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-25
+
+
+ $350.00
+
+
+
+
+
+ Emma Brown
+
+
+ emma@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-26
+
+
+ $450.00
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Olivia Smith
+
+
+ olivia@example.com
+
+
+
+ Refund
+
+
+
+ Declined
+
+
+
+ 2023-06-24
+
+
+ $150.00
+
+
+
+
+
+ Emma Brown
+
+
+ emma@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-26
+
+
+ $450.00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Order ID: Oe31b70H
+
+
+ Date: November 23, 2023
+
+
+
+
+
+
+
+
+ Edit
+ Export
+
+ Trash
+
+
+
+
+
+
+
+ Order Details
+
+
+ -
+
+ Glimmer Lamps x 2
+
+ $250.00
+
+ -
+
+ Aqua Filters x 1
+
+ $49.00
+
+
+
+
+ -
+ Subtotal
+ $299.00
+
+ -
+ Shipping
+ $5.00
+
+ -
+ Tax
+ $25.00
+
+ -
+ Total
+ $329.00
+
+
+
+
+
+
+
+ Shipping Information
+
+
+ Liam Johnson
+ 1234 Main St.
+ Anytown, CA 12345
+
+
+
+
+ Billing Information
+
+
+ Same as shipping address
+
+
+
+
+
+
+ Customer Information
+
+
+
+
-
+ Customer
+
+ - Liam Johnson
+
+
+
+
+
+
+
+
+ Payment Information
+
+
+
+
-
+
+ Visa
+
+ - **** **** **** 4532
+
+
+
+
+
+
+ Updated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/default/block/Dashboard06.vue b/apps/www/src/lib/registry/default/block/Dashboard06.vue
new file mode 100644
index 00000000..dad34329
--- /dev/null
+++ b/apps/www/src/lib/registry/default/block/Dashboard06.vue
@@ -0,0 +1,641 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+
+
+ Active
+
+
+ Draft
+
+
+ Archived
+
+
+
+
+
+
+
+
+ Filter by
+
+
+ Active
+
+ Draft
+
+ Archived
+
+
+
+
+
+
+
+
+
+
+ Products
+
+ Manage your products and view their sales performance.
+
+
+
+
+
+
+
+ img
+
+ Name
+ Status
+
+ Price
+
+
+ Total Sales
+
+
+ Created at
+
+
+ Actions
+
+
+
+
+
+
+
+
+
+ Laser Lemonade Machine
+
+
+
+ Draft
+
+
+
+ $499.99
+
+
+ 25
+
+
+ 2023-07-12 10:42 AM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Hypernova Headphones
+
+
+
+ Active
+
+
+
+ $129.99
+
+
+ 100
+
+
+ 2023-10-18 03:21 PM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ AeroGlow Desk Lamp
+
+
+
+ Active
+
+
+
+ $39.99
+
+
+ 50
+
+
+ 2023-11-29 08:15 AM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ TechTonic Energy Drink
+
+
+
+ Draft
+
+
+
+ $2.99
+
+
+ 0
+
+
+ 2023-12-25 11:59 PM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Gamer Gear Pro Controller
+
+
+
+ Active
+
+
+
+ $59.99
+
+
+ 75
+
+
+ 2024-01-01 12:00 AM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Luminous VR Headset
+
+
+
+ Active
+
+
+
+ $199.99
+
+
+ 30
+
+
+ 2024-02-14 02:14 PM
+
+
+
+
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Showing 1-10 of 32
+ products
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/default/block/Dashboard07.vue b/apps/www/src/lib/registry/default/block/Dashboard07.vue
new file mode 100644
index 00000000..5ee3afa9
--- /dev/null
+++ b/apps/www/src/lib/registry/default/block/Dashboard07.vue
@@ -0,0 +1,629 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Pro Controller
+
+
+ In stock
+
+
+
+
+
+
+
+
+
+
+ Product Details
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stock
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+
+
+
+
+
+
+
+ Product Category
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Product Status
+
+
+
+
+
+
+
+
+
+
+
+
+ Product imgs
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+ Archive Product
+
+ Lipsum dolor sit amet, consectetur adipiscing elit.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue
index b8c60f3d..381c2713 100644
--- a/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue
+++ b/apps/www/src/lib/registry/default/ui/calendar/Calendar.vue
@@ -79,10 +79,10 @@ const vCalendarSlots = computed(() => {
-
diff --git a/apps/www/src/lib/registry/new-york/block/Authentication03.vue b/apps/www/src/lib/registry/new-york/block/Authentication03.vue
index 7f16bee2..e6e8d730 100644
--- a/apps/www/src/lib/registry/new-york/block/Authentication03.vue
+++ b/apps/www/src/lib/registry/new-york/block/Authentication03.vue
@@ -25,7 +25,7 @@ import { Label } from '@/lib/registry/new-york/ui/label'
-
+
diff --git a/apps/www/src/lib/registry/new-york/block/Dashboard05.vue b/apps/www/src/lib/registry/new-york/block/Dashboard05.vue
new file mode 100644
index 00000000..0fcddcba
--- /dev/null
+++ b/apps/www/src/lib/registry/new-york/block/Dashboard05.vue
@@ -0,0 +1,772 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Your Orders
+
+ Introducing Our Dynamic Orders Dashboard for Seamless
+ Management and Insightful Analysis.
+
+
+
+ Create New Order
+
+
+
+
+ This Week
+
+ $1329
+
+
+
+
+ +25% from last week
+
+
+
+
+
+
+
+
+ This Month
+
+ $5,329
+
+
+
+
+ +10% from last month
+
+
+
+
+
+
+
+
+
+
+
+ Week
+
+
+ Month
+
+
+ Year
+
+
+
+
+
+
+
+ Filter
+
+
+
+ Filter by
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Export
+
+
+
+
+
+
+ Orders
+
+ Recent orders from your store.
+
+
+
+
+
+
+ Customer
+
+ Type
+
+
+ Status
+
+
+ Date
+
+
+ Amount
+
+
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Olivia Smith
+
+
+ olivia@example.com
+
+
+
+ Refund
+
+
+
+ Declined
+
+
+
+ 2023-06-24
+
+
+ $150.00
+
+
+
+
+
+ Noah Williams
+
+
+ noah@example.com
+
+
+
+ Subscription
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-25
+
+
+ $350.00
+
+
+
+
+
+ Emma Brown
+
+
+ emma@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-26
+
+
+ $450.00
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Liam Johnson
+
+
+ liam@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-23
+
+
+ $250.00
+
+
+
+
+
+ Olivia Smith
+
+
+ olivia@example.com
+
+
+
+ Refund
+
+
+
+ Declined
+
+
+
+ 2023-06-24
+
+
+ $150.00
+
+
+
+
+
+ Emma Brown
+
+
+ emma@example.com
+
+
+
+ Sale
+
+
+
+ Fulfilled
+
+
+
+ 2023-06-26
+
+
+ $450.00
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Order ID: Oe31b70H
+
+
+ Copy Order ID
+
+
+ Date: November 23, 2023
+
+
+
+
+
+ Track Order
+
+
+
+
+
+
+ More
+
+
+
+ Edit
+ Export
+
+ Trash
+
+
+
+
+
+
+
+ Order Details
+
+
+ -
+
+ Glimmer Lamps x 2
+
+ $250.00
+
+ -
+
+ Aqua Filters x 1
+
+ $49.00
+
+
+
+
+ -
+ Subtotal
+ $299.00
+
+ -
+ Shipping
+ $5.00
+
+ -
+ Tax
+ $25.00
+
+ -
+ Total
+ $329.00
+
+
+
+
+
+
+
+ Shipping Information
+
+
+ Liam Johnson
+ 1234 Main St.
+ Anytown, CA 12345
+
+
+
+
+ Billing Information
+
+
+ Same as shipping address
+
+
+
+
+
+
+ Customer Information
+
+
+
+
-
+ Customer
+
+ - Liam Johnson
+
+
+
+
+
+
+
+
+ Payment Information
+
+
+
+
-
+
+ Visa
+
+ - **** **** **** 4532
+
+
+
+
+
+
+ Updated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/new-york/block/Dashboard06.vue b/apps/www/src/lib/registry/new-york/block/Dashboard06.vue
new file mode 100644
index 00000000..9f370213
--- /dev/null
+++ b/apps/www/src/lib/registry/new-york/block/Dashboard06.vue
@@ -0,0 +1,641 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+
+
+ Active
+
+
+ Draft
+
+
+ Archived
+
+
+
+
+
+
+
+
+ Filter
+
+
+
+
+ Filter by
+
+
+ Active
+
+ Draft
+
+ Archived
+
+
+
+
+
+
+ Export
+
+
+
+
+
+ Add Product
+
+
+
+
+
+
+
+ Products
+
+ Manage your products and view their sales performance.
+
+
+
+
+
+
+
+ img
+
+ Name
+ Status
+
+ Price
+
+
+ Total Sales
+
+
+ Created at
+
+
+ Actions
+
+
+
+
+
+
+
+
+
+ Laser Lemonade Machine
+
+
+
+ Draft
+
+
+
+ $499.99
+
+
+ 25
+
+
+ 2023-07-12 10:42 AM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Hypernova Headphones
+
+
+
+ Active
+
+
+
+ $129.99
+
+
+ 100
+
+
+ 2023-10-18 03:21 PM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ AeroGlow Desk Lamp
+
+
+
+ Active
+
+
+
+ $39.99
+
+
+ 50
+
+
+ 2023-11-29 08:15 AM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ TechTonic Energy Drink
+
+
+
+ Draft
+
+
+
+ $2.99
+
+
+ 0
+
+
+ 2023-12-25 11:59 PM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Gamer Gear Pro Controller
+
+
+
+ Active
+
+
+
+ $59.99
+
+
+ 75
+
+
+ 2024-01-01 12:00 AM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Luminous VR Headset
+
+
+
+ Active
+
+
+
+ $199.99
+
+
+ 30
+
+
+ 2024-02-14 02:14 PM
+
+
+
+
+
+
+ Toggle menu
+
+
+
+ Actions
+ Edit
+ Delete
+
+
+
+
+
+
+
+
+
+ Showing 1-10 of 32
+ products
+
+
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/new-york/block/Dashboard07.vue b/apps/www/src/lib/registry/new-york/block/Dashboard07.vue
new file mode 100644
index 00000000..56ad2623
--- /dev/null
+++ b/apps/www/src/lib/registry/new-york/block/Dashboard07.vue
@@ -0,0 +1,629 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Back
+
+
+ Pro Controller
+
+
+ In stock
+
+
+
+ Discard
+
+
+ Save Product
+
+
+
+
+
+
+
+ Product Details
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stock
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+
+
+
+
+ Add Variant
+
+
+
+
+
+ Product Category
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Product Status
+
+
+
+
+
+
+
+
+
+
+
+
+ Product imgs
+
+ Lipsum dolor sit amet, consectetur adipiscing elit
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+ Upload
+
+
+
+
+
+
+
+ Archive Product
+
+ Lipsum dolor sit amet, consectetur adipiscing elit.
+
+
+
+
+
+ Archive Product
+
+
+
+
+
+
+
+ Discard
+
+
+ Save Product
+
+
+
+
+
+
+
diff --git a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue
index deba4ac8..0fe6e4d5 100644
--- a/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue
+++ b/apps/www/src/lib/registry/new-york/ui/calendar/Calendar.vue
@@ -80,10 +80,10 @@ const vCalendarSlots = computed(() => {
-
+
-
+
diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json
index 06799304..b77470ee 100644
--- a/apps/www/src/public/registry/styles/default/calendar.json
+++ b/apps/www/src/public/registry/styles/default/calendar.json
@@ -11,7 +11,7 @@
"files": [
{
"name": "Calendar.vue",
- "content": "\n\n
\n \n
\n \n \n \n \n \n \n
\n\n
\n \n \n \n\n \n \n \n\n \n \n \n \n
\n\n\n\n"
+ "content": "\n\n
\n \n
\n \n \n \n \n \n \n
\n\n
\n \n \n \n\n \n \n \n\n \n \n \n \n
\n\n\n\n"
},
{
"name": "index.ts",
diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json
index 1ef57616..1296c153 100644
--- a/apps/www/src/public/registry/styles/new-york/calendar.json
+++ b/apps/www/src/public/registry/styles/new-york/calendar.json
@@ -11,7 +11,7 @@
"files": [
{
"name": "Calendar.vue",
- "content": "\n\n
\n \n
\n \n \n \n \n \n \n
\n\n
\n \n \n \n\n \n \n \n\n \n \n \n \n
\n\n\n\n"
+ "content": "\n\n
\n \n
\n \n \n \n \n \n \n
\n\n
\n \n \n \n\n \n \n \n\n \n \n \n \n
\n\n\n\n"
},
{
"name": "index.ts",
diff --git a/package.json b/package.json
index 5e5d64b6..9f549b5c 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "shadcn-vue",
"type": "module",
- "version": "0.10.2",
+ "version": "0.10.3",
"private": true,
"packageManager": "pnpm@8.15.5",
"license": "MIT",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index ecf7e7be..734701c0 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,7 +1,7 @@
{
"name": "shadcn-vue",
"type": "module",
- "version": "0.10.2",
+ "version": "0.10.3",
"description": "Add components to your apps.",
"publishConfig": {
"access": "public"
@@ -62,7 +62,7 @@
"ora": "^8.0.1",
"pathe": "^1.1.2",
"prompts": "^2.4.2",
- "radix-vue": "^1.5.3",
+ "radix-vue": "^1.6.2",
"ts-morph": "^22.0.0",
"tsconfig-paths": "^4.2.0",
"zod": "^3.22.4"
diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts
index 0e96d1f7..e40aba28 100644
--- a/packages/cli/src/commands/init.ts
+++ b/packages/cli/src/commands/init.ts
@@ -292,19 +292,13 @@ export async function runInit(cwd: string, config: Config) {
config.style === 'new-york' ? ['@radix-icons/vue'] : ['lucide-vue-next'],
).filter(Boolean)
- async function addNuxtDevDeps() {
- if (config.framework === 'nuxt') {
- await addDevDependency(PROJECT_DEPENDENCIES.nuxt, {
- cwd,
- silent: true,
- })
- }
- }
-
await Promise.allSettled(
[
- addNuxtDevDeps(),
- addDependency(deps, {
+ config.framework === 'nuxt' && await addDevDependency(PROJECT_DEPENDENCIES.nuxt, {
+ cwd,
+ silent: true,
+ }),
+ await addDependency(deps, {
cwd,
silent: true,
}),
diff --git a/packages/module/package.json b/packages/module/package.json
index 5dff2f3c..2fb6df44 100644
--- a/packages/module/package.json
+++ b/packages/module/package.json
@@ -1,7 +1,7 @@
{
"name": "shadcn-nuxt",
"type": "module",
- "version": "0.10.2",
+ "version": "0.10.3",
"description": "Add shadcn-vue module to Nuxt",
"publishConfig": {
"access": "public"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d67f56fc..096d1a2e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -93,8 +93,8 @@ importers:
specifier: ^0.30.8
version: 0.30.8
radix-vue:
- specifier: ^1.5.3
- version: 1.5.3(vue@3.4.21)
+ specifier: ^1.6.2
+ version: 1.6.2(vue@3.4.21)
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.1)
@@ -256,8 +256,8 @@ importers:
specifier: ^2.4.2
version: 2.4.2
radix-vue:
- specifier: ^1.5.3
- version: 1.5.3(vue@3.4.21)
+ specifier: ^1.6.2
+ version: 1.6.2(vue@3.4.21)
ts-morph:
specifier: ^22.0.0
version: 22.0.0
@@ -3327,6 +3327,7 @@ packages:
dependencies:
is-glob: 4.0.3
micromatch: 4.0.5
+ napi-wasm: 1.1.0
dev: true
bundledDependencies:
- napi-wasm
@@ -5386,7 +5387,7 @@ packages:
'@babel/helper-module-imports': 7.22.15
'@babel/helper-plugin-utils': 7.22.5
'@babel/parser': 7.24.1
- '@vue/compiler-sfc': 3.4.21
+ '@vue/compiler-sfc': 3.4.19
dev: true
/@vue/compiler-core@3.4.19:
@@ -6062,6 +6063,13 @@ packages:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
dev: true
+ /aria-hidden@1.2.4:
+ resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}
+ engines: {node: '>=10'}
+ dependencies:
+ tslib: 2.6.2
+ dev: false
+
/array-ify@1.0.0:
resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==}
dev: true
@@ -10723,6 +10731,10 @@ packages:
hasBin: true
dev: false
+ /napi-wasm@1.1.0:
+ resolution: {integrity: sha512-lHwIAJbmLSjF9VDRm9GoVOy9AGp3aIvkjv+Kvz9h16QR3uSVYH78PNQUnT2U4X53mhlnV2M7wrhibQ3GHicDmg==}
+ dev: true
+
/natural-compare-lite@1.4.0:
resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==}
dev: true
@@ -12489,17 +12501,23 @@ packages:
resolution: {integrity: sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==}
dev: false
- /radix-vue@1.5.3(vue@3.4.21):
- resolution: {integrity: sha512-K1JF8P238jGKRwwlWe0LNCd80bamfWFnDhLNBAgoWvSRORRIsoo7DODnC4TLE62JE55tf/6ABSs5JIvp2BvYPA==}
+ /radix-vue@1.6.2(vue@3.4.21):
+ resolution: {integrity: sha512-uHyj8YaA+O2ZF1Ouxl2EJUzXXEFLzN/CtOE1HVFG3h60aFD7E9HNZ5RxODnXSD7j0vZLFS/dHU9Z2+Yjljj2Lg==}
+ peerDependencies:
+ vue: '>= 3.2.0'
dependencies:
'@floating-ui/dom': 1.6.1
'@floating-ui/vue': 1.0.6(vue@3.4.21)
'@internationalized/date': 3.5.2
+ '@vueuse/core': 10.9.0(vue@3.4.21)
+ '@vueuse/shared': 10.9.0(vue@3.4.21)
+ aria-hidden: 1.2.4
+ defu: 6.1.4
fast-deep-equal: 3.1.3
nanoid: 5.0.6
+ vue: 3.4.21(typescript@5.4.2)
transitivePeerDependencies:
- '@vue/composition-api'
- - vue
dev: false
/radix3@1.1.1:
@@ -14500,7 +14518,7 @@ packages:
resolution: {integrity: sha512-3PYWMbN3cSdsciv3fzewskxZFnX61PYq1uNsbvizXDo/8sN4SMrWkYDqWaPdTD3GTEm6wpx7j5flRLg7A5ZXbQ==}
dependencies:
'@vueuse/core': 10.9.0(vue@3.4.21)
- radix-vue: 1.5.3(vue@3.4.21)
+ radix-vue: 1.6.2(vue@3.4.21)
vue: 3.4.21(typescript@5.4.2)
transitivePeerDependencies:
- '@vue/composition-api'