diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 999ff3a9..cf742c04 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -619,6 +619,13 @@ export const Index = { component: () => import("../src/lib/registry/default/example/SheetSideDemo.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/SheetSideDemo.vue"], }, + "SkeletonCard": { + name: "SkeletonCard", + type: "components:example", + registryDependencies: ["skeleton"], + component: () => import("../src/lib/registry/default/example/SkeletonCard.vue").then((m) => m.default), + files: ["../src/lib/registry/default/example/SkeletonCard.vue"], + }, "SkeletonDemo": { name: "SkeletonDemo", type: "components:example", @@ -636,7 +643,7 @@ export const Index = { "SliderForm": { name: "SliderForm", type: "components:example", - registryDependencies: ["button","form","select","toast"], + registryDependencies: ["button","form","slider","toast"], component: () => import("../src/lib/registry/default/example/SliderForm.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/SliderForm.vue"], }, @@ -1593,6 +1600,13 @@ export const Index = { component: () => import("../src/lib/registry/new-york/example/SheetSideDemo.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/SheetSideDemo.vue"], }, + "SkeletonCard": { + name: "SkeletonCard", + type: "components:example", + registryDependencies: ["skeleton"], + component: () => import("../src/lib/registry/new-york/example/SkeletonCard.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/example/SkeletonCard.vue"], + }, "SkeletonDemo": { name: "SkeletonDemo", type: "components:example", @@ -1610,7 +1624,7 @@ export const Index = { "SliderForm": { name: "SliderForm", type: "components:example", - registryDependencies: ["button","form","select","toast"], + registryDependencies: ["button","form","slider","toast"], component: () => import("../src/lib/registry/new-york/example/SliderForm.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/SliderForm.vue"], }, diff --git a/apps/www/src/content/docs/components/skeleton.md b/apps/www/src/content/docs/components/skeleton.md index 628ba177..fc9b3248 100644 --- a/apps/www/src/content/docs/components/skeleton.md +++ b/apps/www/src/content/docs/components/skeleton.md @@ -1,9 +1,9 @@ --- title: Skeleton -description: Use to show a placeholder while content is loading. +description: Use to show a placeholder while content is loading. --- - + ## Installation @@ -21,7 +21,6 @@ npx shadcn-vue@latest add skeleton ### Copy and paste the following code into your project - <<< @/lib/registry/default/ui/skeleton/Skeleton.vue @@ -40,3 +39,9 @@ import { Skeleton } from '@/components/ui/skeleton' ``` + +## Examples + +### Card + + diff --git a/apps/www/src/lib/registry/default/example/SkeletonCard.vue b/apps/www/src/lib/registry/default/example/SkeletonCard.vue new file mode 100644 index 00000000..a3a473ad --- /dev/null +++ b/apps/www/src/lib/registry/default/example/SkeletonCard.vue @@ -0,0 +1,13 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/example/SkeletonCard.vue b/apps/www/src/lib/registry/new-york/example/SkeletonCard.vue new file mode 100644 index 00000000..e780af88 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/SkeletonCard.vue @@ -0,0 +1,13 @@ + + +