From ceb090d60d047aab39a873ce1ace9e780b7f72a9 Mon Sep 17 00:00:00 2001 From: zernonia Date: Thu, 9 Nov 2023 18:53:14 +0800 Subject: [PATCH] fix: pipeline with some missing --- .../default/example/DialogCustomCloseButton.vue | 1 + .../lib/registry/default/ui/dialog/DialogClose.vue | 11 +++++++++++ apps/www/src/lib/registry/default/ui/dialog/index.ts | 1 + .../new-york/example/AlertDestructiveDemo.vue | 4 ++-- .../lib/registry/new-york/ui/dialog/DialogClose.vue | 11 +++++++++++ apps/www/src/lib/registry/new-york/ui/dialog/index.ts | 1 + 6 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 apps/www/src/lib/registry/default/ui/dialog/DialogClose.vue create mode 100644 apps/www/src/lib/registry/new-york/ui/dialog/DialogClose.vue diff --git a/apps/www/src/lib/registry/default/example/DialogCustomCloseButton.vue b/apps/www/src/lib/registry/default/example/DialogCustomCloseButton.vue index 7ef4eef2..39e5fa36 100644 --- a/apps/www/src/lib/registry/default/example/DialogCustomCloseButton.vue +++ b/apps/www/src/lib/registry/default/example/DialogCustomCloseButton.vue @@ -3,6 +3,7 @@ import { Copy } from 'lucide-vue-next' import { Button } from '@/lib/registry/default/ui/button' import { Dialog, + DialogClose, DialogContent, DialogDescription, DialogFooter, diff --git a/apps/www/src/lib/registry/default/ui/dialog/DialogClose.vue b/apps/www/src/lib/registry/default/ui/dialog/DialogClose.vue new file mode 100644 index 00000000..a64703e5 --- /dev/null +++ b/apps/www/src/lib/registry/default/ui/dialog/DialogClose.vue @@ -0,0 +1,11 @@ + + + diff --git a/apps/www/src/lib/registry/default/ui/dialog/index.ts b/apps/www/src/lib/registry/default/ui/dialog/index.ts index 5cffe9e9..303347eb 100644 --- a/apps/www/src/lib/registry/default/ui/dialog/index.ts +++ b/apps/www/src/lib/registry/default/ui/dialog/index.ts @@ -1,4 +1,5 @@ export { default as Dialog } from './Dialog.vue' +export { default as DialogClose } from './DialogClose.vue' export { default as DialogTrigger } from './DialogTrigger.vue' export { default as DialogHeader } from './DialogHeader.vue' export { default as DialogTitle } from './DialogTitle.vue' diff --git a/apps/www/src/lib/registry/new-york/example/AlertDestructiveDemo.vue b/apps/www/src/lib/registry/new-york/example/AlertDestructiveDemo.vue index b5aaecb3..1f541256 100644 --- a/apps/www/src/lib/registry/new-york/example/AlertDestructiveDemo.vue +++ b/apps/www/src/lib/registry/new-york/example/AlertDestructiveDemo.vue @@ -1,11 +1,11 @@