From d83dde440d0b1807fe4fad2428e4b328e8477ffb Mon Sep 17 00:00:00 2001 From: "hrynevych.romann" Date: Wed, 17 Jan 2024 22:37:55 +0200 Subject: [PATCH] refactor(dialog): rename DialogScrollContentDemo.vue to DialogScrollBodyDemo.vue for clearance Closes: #73 --- apps/www/__registry__/index.ts | 16 ++++++++-------- apps/www/src/content/docs/components/dialog.md | 6 +++--- ...lContentDemo.vue => DialogScrollBodyDemo.vue} | 0 ...lContentDemo.vue => DialogScrollBodyDemo.vue} | 0 4 files changed, 11 insertions(+), 11 deletions(-) rename apps/www/src/lib/registry/default/example/{DialogScrollContentDemo.vue => DialogScrollBodyDemo.vue} (100%) rename apps/www/src/lib/registry/new-york/example/{DialogScrollContentDemo.vue => DialogScrollBodyDemo.vue} (100%) 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