diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts
index 3819aa07..08289ff8 100644
--- a/apps/www/__registry__/index.ts
+++ b/apps/www/__registry__/index.ts
@@ -688,34 +688,6 @@ export const Index = {
component: () => import('../src/lib/registry/default/example/ToggleDisabledDemo.vue').then(m => m.default),
files: ['../src/lib/registry/default/example/ToggleDisabledDemo.vue'],
},
- ToggleItalicDemo: {
- name: 'ToggleItalicDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/default/example/ToggleItalicDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/default/example/ToggleItalicDemo.vue'],
- },
- ToggleItalicWithTextDemo: {
- name: 'ToggleItalicWithTextDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/default/example/ToggleItalicWithTextDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/default/example/ToggleItalicWithTextDemo.vue'],
- },
- ToggleLargeDemo: {
- name: 'ToggleLargeDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/default/example/ToggleLargeDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/default/example/ToggleLargeDemo.vue'],
- },
- ToggleSmallDemo: {
- name: 'ToggleSmallDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/default/example/ToggleSmallDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/default/example/ToggleSmallDemo.vue'],
- },
ToggleGroupDemo: {
name: 'ToggleGroupDemo',
type: 'components:example',
@@ -758,6 +730,34 @@ export const Index = {
component: () => import('../src/lib/registry/default/example/ToggleGroupSmallDemo.vue').then(m => m.default),
files: ['../src/lib/registry/default/example/ToggleGroupSmallDemo.vue'],
},
+ ToggleItalicDemo: {
+ name: 'ToggleItalicDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/default/example/ToggleItalicDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/default/example/ToggleItalicDemo.vue'],
+ },
+ ToggleItalicWithTextDemo: {
+ name: 'ToggleItalicWithTextDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/default/example/ToggleItalicWithTextDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/default/example/ToggleItalicWithTextDemo.vue'],
+ },
+ ToggleLargeDemo: {
+ name: 'ToggleLargeDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/default/example/ToggleLargeDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/default/example/ToggleLargeDemo.vue'],
+ },
+ ToggleSmallDemo: {
+ name: 'ToggleSmallDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/default/example/ToggleSmallDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/default/example/ToggleSmallDemo.vue'],
+ },
TooltipDemo: {
name: 'TooltipDemo',
type: 'components:example',
@@ -1572,34 +1572,6 @@ export const Index = {
component: () => import('../src/lib/registry/new-york/example/ToggleDisabledDemo.vue').then(m => m.default),
files: ['../src/lib/registry/new-york/example/ToggleDisabledDemo.vue'],
},
- ToggleItalicDemo: {
- name: 'ToggleItalicDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/new-york/example/ToggleItalicDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/new-york/example/ToggleItalicDemo.vue'],
- },
- ToggleItalicWithTextDemo: {
- name: 'ToggleItalicWithTextDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/new-york/example/ToggleItalicWithTextDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/new-york/example/ToggleItalicWithTextDemo.vue'],
- },
- ToggleLargeDemo: {
- name: 'ToggleLargeDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/new-york/example/ToggleLargeDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/new-york/example/ToggleLargeDemo.vue'],
- },
- ToggleSmallDemo: {
- name: 'ToggleSmallDemo',
- type: 'components:example',
- registryDependencies: ['toggle'],
- component: () => import('../src/lib/registry/new-york/example/ToggleSmallDemo.vue').then(m => m.default),
- files: ['../src/lib/registry/new-york/example/ToggleSmallDemo.vue'],
- },
ToggleGroupDemo: {
name: 'ToggleGroupDemo',
type: 'components:example',
@@ -1642,6 +1614,34 @@ export const Index = {
component: () => import('../src/lib/registry/new-york/example/ToggleGroupSmallDemo.vue').then(m => m.default),
files: ['../src/lib/registry/new-york/example/ToggleGroupSmallDemo.vue'],
},
+ ToggleItalicDemo: {
+ name: 'ToggleItalicDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/new-york/example/ToggleItalicDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/new-york/example/ToggleItalicDemo.vue'],
+ },
+ ToggleItalicWithTextDemo: {
+ name: 'ToggleItalicWithTextDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/new-york/example/ToggleItalicWithTextDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/new-york/example/ToggleItalicWithTextDemo.vue'],
+ },
+ ToggleLargeDemo: {
+ name: 'ToggleLargeDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/new-york/example/ToggleLargeDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/new-york/example/ToggleLargeDemo.vue'],
+ },
+ ToggleSmallDemo: {
+ name: 'ToggleSmallDemo',
+ type: 'components:example',
+ registryDependencies: ['toggle'],
+ component: () => import('../src/lib/registry/new-york/example/ToggleSmallDemo.vue').then(m => m.default),
+ files: ['../src/lib/registry/new-york/example/ToggleSmallDemo.vue'],
+ },
TooltipDemo: {
name: 'TooltipDemo',
type: 'components:example',
diff --git a/apps/www/src/public/registry/index.json b/apps/www/src/public/registry/index.json
index d0315ce9..ee1339ec 100644
--- a/apps/www/src/public/registry/index.json
+++ b/apps/www/src/public/registry/index.json
@@ -614,6 +614,7 @@
"name": "toggle-group",
"dependencies": [],
"registryDependencies": [
+ "toggle",
"utils"
],
"files": [
@@ -638,4 +639,4 @@
],
"type": "components:ui"
}
-]
+]
\ No newline at end of file
diff --git a/apps/www/src/public/registry/styles/default/button.json b/apps/www/src/public/registry/styles/default/button.json
index 29405e6a..ded45d7c 100644
--- a/apps/www/src/public/registry/styles/default/button.json
+++ b/apps/www/src/public/registry/styles/default/button.json
@@ -7,11 +7,11 @@
"files": [
{
"name": "Button.vue",
- "content": "\n\n\n \n \n \n\n"
+ "content": "\n\n\n \n \n \n\n"
},
{
"name": "index.ts",
- "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n"
+ "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n"
}
],
"type": "components:ui"
diff --git a/apps/www/src/public/registry/styles/default/carousel.json b/apps/www/src/public/registry/styles/default/carousel.json
index 2f30eb8f..dfcd4e20 100644
--- a/apps/www/src/public/registry/styles/default/carousel.json
+++ b/apps/www/src/public/registry/styles/default/carousel.json
@@ -23,11 +23,11 @@
},
{
"name": "CarouselNext.vue",
- "content": "\n\n\n \n\n"
+ "content": "\n\n\n \n\n"
},
{
"name": "CarouselPrevious.vue",
- "content": "\n\n\n \n\n"
+ "content": "\n\n\n \n\n"
},
{
"name": "index.ts",
diff --git a/apps/www/src/public/registry/styles/default/radio-group.json b/apps/www/src/public/registry/styles/default/radio-group.json
index 5d5772c4..7d408e4e 100644
--- a/apps/www/src/public/registry/styles/default/radio-group.json
+++ b/apps/www/src/public/registry/styles/default/radio-group.json
@@ -11,7 +11,7 @@
},
{
"name": "RadioGroupItem.vue",
- "content": "\n\n\n \n \n \n \n \n\n"
+ "content": "\n\n\n \n \n \n \n \n\n"
},
{
"name": "index.ts",
diff --git a/apps/www/src/public/registry/styles/default/select.json b/apps/www/src/public/registry/styles/default/select.json
index 366b5b8b..77a62ecb 100644
--- a/apps/www/src/public/registry/styles/default/select.json
+++ b/apps/www/src/public/registry/styles/default/select.json
@@ -11,7 +11,7 @@
},
{
"name": "SelectContent.vue",
- "content": "\n\n\n \n \n \n \n \n \n \n\n"
+ "content": "\n\n\n \n \n \n \n \n \n \n\n"
},
{
"name": "SelectGroup.vue",
@@ -35,7 +35,7 @@
},
{
"name": "SelectTrigger.vue",
- "content": "\n\n\n \n \n \n \n \n \n\n"
+ "content": "\n\n\n span]:truncate [&>span]:min-w-0',\n props.class,\n ),\n props.invalid\n ? '!ring-destructive ring-2 placeholder:!text-destructive'\n : '',\n ]\"\n >\n \n \n \n \n \n\n"
},
{
"name": "SelectValue.vue",
diff --git a/apps/www/src/public/registry/styles/default/toggle-group.json b/apps/www/src/public/registry/styles/default/toggle-group.json
new file mode 100644
index 00000000..4cc43c6c
--- /dev/null
+++ b/apps/www/src/public/registry/styles/default/toggle-group.json
@@ -0,0 +1,23 @@
+{
+ "name": "toggle-group",
+ "dependencies": [],
+ "registryDependencies": [
+ "toggle",
+ "utils"
+ ],
+ "files": [
+ {
+ "name": "ToggleGroup.vue",
+ "content": "\n\n\n \n \n \n\n"
+ },
+ {
+ "name": "ToggleGroupItem.vue",
+ "content": "\n\n\n \n \n \n\n"
+ },
+ {
+ "name": "index.ts",
+ "content": "export { default as ToggleGroup } from './ToggleGroup.vue'\nexport { default as ToggleGroupItem } from './ToggleGroupItem.vue'\n"
+ }
+ ],
+ "type": "components:ui"
+}
\ No newline at end of file
diff --git a/apps/www/src/public/registry/styles/new-york/button.json b/apps/www/src/public/registry/styles/new-york/button.json
index 7d1a5fac..1856324a 100644
--- a/apps/www/src/public/registry/styles/new-york/button.json
+++ b/apps/www/src/public/registry/styles/new-york/button.json
@@ -7,11 +7,11 @@
"files": [
{
"name": "Button.vue",
- "content": "\n\n\n \n \n \n\n"
+ "content": "\n\n\n \n \n \n\n"
},
{
"name": "index.ts",
- "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground shadow hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',\n outline:\n 'border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2',\n sm: 'h-8 rounded-md px-3 text-xs',\n lg: 'h-10 rounded-md px-8',\n icon: 'h-9 w-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n"
+ "content": "import { cva } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center rounded-md whitespace-nowrap text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground shadow hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',\n outline:\n 'border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2',\n sm: 'h-8 rounded-md px-3 text-xs',\n lg: 'h-10 rounded-md px-8',\n icon: 'h-9 w-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n"
}
],
"type": "components:ui"
diff --git a/apps/www/src/public/registry/styles/new-york/carousel.json b/apps/www/src/public/registry/styles/new-york/carousel.json
index f5d5bab1..749e2788 100644
--- a/apps/www/src/public/registry/styles/new-york/carousel.json
+++ b/apps/www/src/public/registry/styles/new-york/carousel.json
@@ -23,11 +23,11 @@
},
{
"name": "CarouselNext.vue",
- "content": "\n\n\n \n\n"
+ "content": "\n\n\n \n\n"
},
{
"name": "CarouselPrevious.vue",
- "content": "\n\n\n \n\n"
+ "content": "\n\n\n \n\n"
},
{
"name": "index.ts",
diff --git a/apps/www/src/public/registry/styles/new-york/select.json b/apps/www/src/public/registry/styles/new-york/select.json
index b0d8b290..d3dad40a 100644
--- a/apps/www/src/public/registry/styles/new-york/select.json
+++ b/apps/www/src/public/registry/styles/new-york/select.json
@@ -11,7 +11,7 @@
},
{
"name": "SelectContent.vue",
- "content": "\n\n\n \n \n \n \n \n \n \n\n"
+ "content": "\n\n\n \n \n \n \n \n \n \n\n"
},
{
"name": "SelectGroup.vue",
@@ -35,7 +35,7 @@
},
{
"name": "SelectTrigger.vue",
- "content": "\n\n\n \n \n \n \n \n \n\n"
+ "content": "\n\n\n span]:truncate [&>span]:min-w-0',\n props.class,\n ),\n props.invalid\n ? '!ring-destructive ring-2 placeholder:!text-destructive'\n : '',\n ]\"\n >\n \n \n \n \n \n\n"
},
{
"name": "SelectValue.vue",
diff --git a/apps/www/src/public/registry/styles/new-york/toggle-group.json b/apps/www/src/public/registry/styles/new-york/toggle-group.json
new file mode 100644
index 00000000..37473576
--- /dev/null
+++ b/apps/www/src/public/registry/styles/new-york/toggle-group.json
@@ -0,0 +1,23 @@
+{
+ "name": "toggle-group",
+ "dependencies": [],
+ "registryDependencies": [
+ "toggle",
+ "utils"
+ ],
+ "files": [
+ {
+ "name": "ToggleGroup.vue",
+ "content": "\n\n\n \n \n \n\n"
+ },
+ {
+ "name": "ToggleGroupItem.vue",
+ "content": "\n\n\n \n \n \n\n"
+ },
+ {
+ "name": "index.ts",
+ "content": "export { default as ToggleGroup } from './ToggleGroup.vue'\nexport { default as ToggleGroupItem } from './ToggleGroupItem.vue'\n"
+ }
+ ],
+ "type": "components:ui"
+}
\ No newline at end of file