diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 64603a1a..30c1df60 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -380,12 +380,12 @@ export const Index = { component: () => import('../src/lib/registry/default/example/DialogDemo.vue').then(m => m.default), files: ['../src/lib/registry/default/example/DialogDemo.vue'], }, - DialogScrollContentDemo: { - name: 'DialogScrollContentDemo', + DialogScrollBodyDemo: { + name: 'DialogScrollBodyDemo', type: 'components:example', registryDependencies: ['button', 'dialog'], - component: () => import('../src/lib/registry/default/example/DialogScrollContentDemo.vue').then(m => m.default), - files: ['../src/lib/registry/default/example/DialogScrollContentDemo.vue'], + component: () => import('../src/lib/registry/default/example/DialogScrollBodyDemo.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/DialogScrollBodyDemo.vue'], }, DialogScrollOverlayDemo: { name: 'DialogScrollOverlayDemo', @@ -1278,12 +1278,12 @@ export const Index = { component: () => import('../src/lib/registry/new-york/example/DialogDemo.vue').then(m => m.default), files: ['../src/lib/registry/new-york/example/DialogDemo.vue'], }, - DialogScrollContentDemo: { - name: 'DialogScrollContentDemo', + DialogScrollBodyDemo: { + name: 'DialogScrollBodyDemo', type: 'components:example', registryDependencies: ['button', 'dialog'], - component: () => import('../src/lib/registry/new-york/example/DialogScrollContentDemo.vue').then(m => m.default), - files: ['../src/lib/registry/new-york/example/DialogScrollContentDemo.vue'], + component: () => import('../src/lib/registry/new-york/example/DialogScrollBodyDemo.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/DialogScrollBodyDemo.vue'], }, DialogScrollOverlayDemo: { name: 'DialogScrollOverlayDemo', diff --git a/apps/www/src/content/docs/components/dialog.md b/apps/www/src/content/docs/components/dialog.md index 84518f72..5c407e19 100644 --- a/apps/www/src/content/docs/components/dialog.md +++ b/apps/www/src/content/docs/components/dialog.md @@ -55,11 +55,11 @@ import { -### Dialog with Scroll Content +### Scroll body - + -### Dialog with Scroll Overlay +### Scroll overlay diff --git a/apps/www/src/lib/registry/default/example/DialogScrollContentDemo.vue b/apps/www/src/lib/registry/default/example/DialogScrollBodyDemo.vue similarity index 100% rename from apps/www/src/lib/registry/default/example/DialogScrollContentDemo.vue rename to apps/www/src/lib/registry/default/example/DialogScrollBodyDemo.vue diff --git a/apps/www/src/lib/registry/new-york/example/DialogScrollContentDemo.vue b/apps/www/src/lib/registry/new-york/example/DialogScrollBodyDemo.vue similarity index 100% rename from apps/www/src/lib/registry/new-york/example/DialogScrollContentDemo.vue rename to apps/www/src/lib/registry/new-york/example/DialogScrollBodyDemo.vue