@customafk/lunas-ui 0.0.51 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-dialog-uupOOu4w.cjs → alert-dialog-Csc7kQmx.cjs} +1 -1
- package/dist/{alert-dialog-uupOOu4w.cjs.map → alert-dialog-Csc7kQmx.cjs.map} +1 -1
- package/dist/{alert-dialog-6qa0-AL-.js → alert-dialog-Dns2874J.js} +1 -1
- package/dist/{alert-dialog-6qa0-AL-.js.map → alert-dialog-Dns2874J.js.map} +1 -1
- package/dist/{button-Dqjl-_1L.d.cts → button-DBBV45P_.d.cts} +6 -6
- package/dist/{button-BpzWrmoW.d.ts → button-y_YnE05_.d.ts} +4 -4
- package/dist/{calendar-C7iyQZwR.cjs → calendar-DSpnZGer.cjs} +1 -1
- package/dist/{calendar-C7iyQZwR.cjs.map → calendar-DSpnZGer.cjs.map} +1 -1
- package/dist/{calendar-BNDEnp7Y.js → calendar-DXPcqnGq.js} +1 -1
- package/dist/{calendar-BNDEnp7Y.js.map → calendar-DXPcqnGq.js.map} +1 -1
- package/dist/{command-DCsHbsXC.d.ts → command-BAGuL4Lq.d.ts} +12 -12
- package/dist/{command-BqUZEUTy.cjs → command-BBHlXG-4.cjs} +2 -2
- package/dist/{command-BqUZEUTy.cjs.map → command-BBHlXG-4.cjs.map} +1 -1
- package/dist/{command-DDEPfIuG.d.cts → command-BHcMi5w6.d.cts} +12 -12
- package/dist/{command-C3siWT3g.js → command-DEYbZBFJ.js} +2 -2
- package/dist/{command-C3siWT3g.js.map → command-DEYbZBFJ.js.map} +1 -1
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.ts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.ts +2 -2
- package/dist/{dialog-o57aUCIY.d.ts → dialog-DzGLUK6_.d.ts} +12 -12
- package/dist/{dialog-Bs4GjaJC.d.cts → dialog-LR_6dvSQ.d.cts} +12 -12
- package/dist/{dialog-DEgx84P1.js → dialog-T1ItzQn7.js} +2 -2
- package/dist/{dialog-DEgx84P1.js.map → dialog-T1ItzQn7.js.map} +1 -1
- package/dist/{dialog-C712sXiq.cjs → dialog-yB7g_7Wi.cjs} +2 -2
- package/dist/{dialog-C712sXiq.cjs.map → dialog-yB7g_7Wi.cjs.map} +1 -1
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.js +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +30 -30
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +28 -28
- package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.js +1 -1
- package/dist/dialogs/form-dialog.cjs +1 -1
- package/dist/dialogs/form-dialog.d.cts +2 -2
- package/dist/dialogs/form-dialog.d.ts +2 -2
- package/dist/dialogs/form-dialog.js +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.js +1 -1
- package/dist/{dropdown-menu-DiM3sKIv.js → dropdown-menu-CwOzdfK7.js} +2 -2
- package/dist/{dropdown-menu-DiM3sKIv.js.map → dropdown-menu-CwOzdfK7.js.map} +1 -1
- package/dist/{dropdown-menu-B8ugkLB5.cjs → dropdown-menu-DCzZUtLD.cjs} +2 -2
- package/dist/{dropdown-menu-B8ugkLB5.cjs.map → dropdown-menu-DCzZUtLD.cjs.map} +1 -1
- package/dist/{error-dialog-BBLVVBIX.js → error-dialog-ByXuHE0a.js} +2 -2
- package/dist/{error-dialog-BBLVVBIX.js.map → error-dialog-ByXuHE0a.js.map} +1 -1
- package/dist/{error-dialog-Kgd1Xrk2.cjs → error-dialog-DLdKDr0g.cjs} +2 -2
- package/dist/{error-dialog-Kgd1Xrk2.cjs.map → error-dialog-DLdKDr0g.cjs.map} +1 -1
- package/dist/{form-wrapper-Dpy38iwE.js → form-wrapper-3lbgT-6k.js} +2 -2
- package/dist/{form-wrapper-Dpy38iwE.js.map → form-wrapper-3lbgT-6k.js.map} +1 -1
- package/dist/{form-wrapper-w7Zs6cBz.cjs → form-wrapper-DTk206PA.cjs} +2 -2
- package/dist/{form-wrapper-w7Zs6cBz.cjs.map → form-wrapper-DTk206PA.cjs.map} +1 -1
- package/dist/forms/combobox-field.cjs +1 -1
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/combobox-field.js +1 -1
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/form-wrapper.cjs +1 -1
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/form-wrapper.js +1 -1
- package/dist/forms/multi-select-field.cjs +1 -1
- package/dist/forms/multi-select-field.cjs.map +1 -1
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/multi-select-field.js +1 -1
- package/dist/forms/number-field.d.cts +2 -2
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/select-field.cjs +1 -1
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/select-field.js +1 -1
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.d.ts +2 -2
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.d.ts +2 -2
- package/dist/{input-R2epHdqx.d.cts → input-BZBf-l4K.d.ts} +3 -3
- package/dist/{input-sCT-6xsp.d.ts → input-Ci55gNyE.d.cts} +3 -3
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.cjs.map +1 -1
- package/dist/layouts/app-layout/index.d.cts +13 -4
- package/dist/layouts/app-layout/index.d.ts +36 -27
- package/dist/layouts/app-layout/index.js +1 -1
- package/dist/layouts/app-layout/index.js.map +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/main/index.cjs +1 -1
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/layouts/main/index.d.ts +4 -4
- package/dist/layouts/main/index.js +1 -1
- package/dist/{multi-select-D1CyXEEU.cjs → multi-select-Doj_6IIC.cjs} +2 -2
- package/dist/{multi-select-D1CyXEEU.cjs.map → multi-select-Doj_6IIC.cjs.map} +1 -1
- package/dist/{multi-select-DNLyV99t.js → multi-select-i3VQ915k.js} +2 -2
- package/dist/{multi-select-DNLyV99t.js.map → multi-select-i3VQ915k.js.map} +1 -1
- package/dist/{popover-DyoAfuhi.js → popover-DjfTTw9J.js} +1 -1
- package/dist/{popover-DyoAfuhi.js.map → popover-DjfTTw9J.js.map} +1 -1
- package/dist/{popover-ByzBl1kH.cjs → popover-F0wFeBo7.cjs} +1 -1
- package/dist/{popover-ByzBl1kH.cjs.map → popover-F0wFeBo7.cjs.map} +1 -1
- package/dist/{select-BQqcz6WZ.cjs → select-C5k0McoM.cjs} +2 -2
- package/dist/{select-BQqcz6WZ.cjs.map → select-C5k0McoM.cjs.map} +1 -1
- package/dist/{select-RKVYJMTd.js → select-Ch3I_jWe.js} +2 -2
- package/dist/{select-RKVYJMTd.js.map → select-Ch3I_jWe.js.map} +1 -1
- package/dist/{separator-Dbnfpp4O.d.ts → separator-BssDmBsX.d.ts} +3 -3
- package/dist/{separator-DqZqnxVX.d.cts → separator-DbpWHldj.d.cts} +3 -3
- package/dist/{sheet-C1xD7y3c.cjs → sheet-CX3PajAc.cjs} +2 -2
- package/dist/{sheet-C1xD7y3c.cjs.map → sheet-CX3PajAc.cjs.map} +1 -1
- package/dist/{sheet-7EAzHejw.js → sheet-DqPtcv9H.js} +2 -2
- package/dist/{sheet-7EAzHejw.js.map → sheet-DqPtcv9H.js.map} +1 -1
- package/dist/{sidebar-CiwQxjVy.js → sidebar-5HuN-j1i.js} +2 -2
- package/dist/{sidebar-CiwQxjVy.js.map → sidebar-5HuN-j1i.js.map} +1 -1
- package/dist/{sidebar-BBGQoMRz.cjs → sidebar-B-iUTI3P.cjs} +2 -2
- package/dist/{sidebar-BBGQoMRz.cjs.map → sidebar-B-iUTI3P.cjs.map} +1 -1
- package/dist/{sidebar-TbS--Nn9.js → sidebar-BDLTT1ko.js} +2 -2
- package/dist/{sidebar-TbS--Nn9.js.map → sidebar-BDLTT1ko.js.map} +1 -1
- package/dist/{sidebar-DJMaPaw_.cjs → sidebar-C0EmqKyz.cjs} +2 -2
- package/dist/{sidebar-DJMaPaw_.cjs.map → sidebar-C0EmqKyz.cjs.map} +1 -1
- package/dist/table/index.cjs +1 -1
- package/dist/table/index.d.cts +2 -2
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +1 -1
- package/dist/{toggle-DMwjiW0b.d.ts → toggle-C9fT4j4U.d.cts} +5 -5
- package/dist/{toggle-DdWULx3J.d.cts → toggle-Cfa3Ju6R.d.ts} +5 -5
- package/dist/{tooltip-etVeWcFC.d.cts → tooltip-CnemaSZS.d.cts} +6 -6
- package/dist/{tooltip-BdQX04xj.d.ts → tooltip-GgIQS_wc.d.ts} +6 -6
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.ts +4 -4
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/command.js +1 -1
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.ts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +2 -2
- package/dist/ui/multi-select.js +1 -1
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.ts +9 -9
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +30 -30
- package/dist/ui/sidebar.d.ts +30 -30
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/package.json +5 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime112 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dialog.d.ts
|
|
5
5
|
declare function Dialog$1({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime112.JSX.Element;
|
|
8
8
|
declare function DialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime112.JSX.Element;
|
|
11
11
|
declare function DialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime112.JSX.Element;
|
|
14
14
|
declare function DialogClose({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
16
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime112.JSX.Element;
|
|
17
17
|
declare function DialogOverlay({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
20
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime112.JSX.Element;
|
|
21
21
|
declare function DialogContent({
|
|
22
22
|
className,
|
|
23
23
|
children,
|
|
@@ -25,23 +25,23 @@ declare function DialogContent({
|
|
|
25
25
|
...props
|
|
26
26
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
27
27
|
showCloseButton?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime112.JSX.Element;
|
|
29
29
|
declare function DialogHeader({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
|
|
33
33
|
declare function DialogFooter({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'div'>):
|
|
36
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
|
|
37
37
|
declare function DialogTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime112.JSX.Element;
|
|
41
41
|
declare function DialogDescription({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
44
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime112.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
47
|
-
//# sourceMappingURL=dialog-
|
|
47
|
+
//# sourceMappingURL=dialog-DzGLUK6_.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dialog.d.ts
|
|
5
5
|
declare function Dialog$1({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime25.JSX.Element;
|
|
8
8
|
declare function DialogTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime25.JSX.Element;
|
|
11
11
|
declare function DialogPortal({
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
13
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime25.JSX.Element;
|
|
14
14
|
declare function DialogClose({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
16
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime25.JSX.Element;
|
|
17
17
|
declare function DialogOverlay({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
20
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime25.JSX.Element;
|
|
21
21
|
declare function DialogContent({
|
|
22
22
|
className,
|
|
23
23
|
children,
|
|
@@ -25,23 +25,23 @@ declare function DialogContent({
|
|
|
25
25
|
...props
|
|
26
26
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
27
27
|
showCloseButton?: boolean;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime25.JSX.Element;
|
|
29
29
|
declare function DialogHeader({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime25.JSX.Element;
|
|
33
33
|
declare function DialogFooter({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'div'>):
|
|
36
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime25.JSX.Element;
|
|
37
37
|
declare function DialogTitle({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime25.JSX.Element;
|
|
41
41
|
declare function DialogDescription({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
44
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime25.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { Dialog$1 as Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
47
|
-
//# sourceMappingURL=dialog-
|
|
47
|
+
//# sourceMappingURL=dialog-LR_6dvSQ.d.cts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as e}from"./utils-D9AH0PUV.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{
|
|
2
|
-
//# sourceMappingURL=dialog-
|
|
1
|
+
import{cn as e}from"./utils-D9AH0PUV.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{Dialog as r}from"radix-ui";import{XIcon as i}from"lucide-react";function a({...e}){return t(r.Root,{"data-slot":`dialog`,...e})}function o({...e}){return t(r.Trigger,{"data-slot":`dialog-trigger`,...e})}function s({...e}){return t(r.Portal,{"data-slot":`dialog-portal`,...e})}function c({...e}){return t(r.Close,{"data-slot":`dialog-close`,...e})}function l({className:n,...i}){return t(r.Overlay,{"data-slot":`dialog-overlay`,className:e(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,n),...i})}function u({className:a,children:o,showCloseButton:c=!0,...u}){return n(s,{"data-slot":`dialog-portal`,children:[t(l,{}),t(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:n(r.Content,{"data-slot":`dialog-content`,className:e(`bg-background relative z-50 grid`,`shadow-dialog gap-4 p-6 outline-none`,`max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`rounded-2xl duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-80`,a),...u,children:[o,c&&n(r.Close,{"data-slot":`dialog-close`,tabIndex:-1,className:e(`btnClose`,`absolute top-3 right-3 rounded-full p-2 opacity-70`,`cursor-pointer transition-all`,`outline-0`,`disabled:pointer-events-none`,`focus:ring-2`,`focus:ring-border-weak`,`hover:opacity-100`,`hover:bg-border-muted`,`data-[state=open]:bg-accent-weak`,`data-[state=open]:text-text-positive-muted`,`[&_svg]:text-accent-foreground/60`,`[&_svg]:hover:text-text-positive-strong`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-5`),children:[t(i,{}),t(`span`,{className:`sr-only`,children:`Close`})]})]})})]})}function d({className:n,...r}){return t(`div`,{"data-slot":`dialog-header`,className:e(`flex flex-col gap-2 text-center sm:text-left`,n),...r})}function f({className:n,...r}){return t(`div`,{"data-slot":`dialog-footer`,className:e(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,n),...r})}function p({className:n,...i}){return t(r.Title,{"data-slot":`dialog-title`,className:e(`text-text-positive-strong text-lg leading-none font-semibold`,n),...i})}function m({className:n,...i}){return t(r.Description,{"data-slot":`dialog-description`,className:e(`text-text-positive-weak text-sm`,n),...i})}export{a as Dialog,c as DialogClose,u as DialogContent,m as DialogDescription,f as DialogFooter,d as DialogHeader,l as DialogOverlay,s as DialogPortal,p as DialogTitle,o as DialogTrigger};
|
|
2
|
+
//# sourceMappingURL=dialog-T1ItzQn7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-
|
|
1
|
+
{"version":3,"file":"dialog-T1ItzQn7.js","names":["Dialog","DialogPrimitive"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { Dialog as DialogPrimitive } from 'radix-ui'\nimport { XIcon } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"kKAMA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CAAa,YAAU,0BACtB,EAAC,EAAA,IACD,EAAC,MAAA,CAAI,UAAU,+DACb,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,GACC,EAACA,EAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,UAAW,EACT,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,kDAGF,EAAC,EAAA,IACD,EAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,kCAAmC,GAAY,GAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react/jsx-runtime`)),r=e.__toESM(require(`
|
|
2
|
-
//# sourceMappingURL=dialog-
|
|
1
|
+
const e=require(`./chunk-CUT6urMc.cjs`),t=require(`./utils-BsjVK5EW.cjs`),n=e.__toESM(require(`react/jsx-runtime`)),r=e.__toESM(require(`radix-ui`)),i=e.__toESM(require(`lucide-react`));function a({...e}){return(0,n.jsx)(r.Dialog.Root,{"data-slot":`dialog`,...e})}function o({...e}){return(0,n.jsx)(r.Dialog.Trigger,{"data-slot":`dialog-trigger`,...e})}function s({...e}){return(0,n.jsx)(r.Dialog.Portal,{"data-slot":`dialog-portal`,...e})}function c({...e}){return(0,n.jsx)(r.Dialog.Close,{"data-slot":`dialog-close`,...e})}function l({className:e,...i}){return(0,n.jsx)(r.Dialog.Overlay,{"data-slot":`dialog-overlay`,className:t.cn(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,e),...i})}function u({className:e,children:a,showCloseButton:o=!0,...c}){return(0,n.jsxs)(s,{"data-slot":`dialog-portal`,children:[(0,n.jsx)(l,{}),(0,n.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center`,children:(0,n.jsxs)(r.Dialog.Content,{"data-slot":`dialog-content`,className:t.cn(`bg-background relative z-50 grid`,`shadow-dialog gap-4 p-6 outline-none`,`max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg`,`rounded-2xl duration-200`,`data-[state=open]:animate-in`,`data-[state=open]:fade-in-0`,`data-[state=open]:zoom-in-80`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=closed]:zoom-out-80`,e),...c,children:[a,o&&(0,n.jsxs)(r.Dialog.Close,{"data-slot":`dialog-close`,tabIndex:-1,className:t.cn(`btnClose`,`absolute top-3 right-3 rounded-full p-2 opacity-70`,`cursor-pointer transition-all`,`outline-0`,`disabled:pointer-events-none`,`focus:ring-2`,`focus:ring-border-weak`,`hover:opacity-100`,`hover:bg-border-muted`,`data-[state=open]:bg-accent-weak`,`data-[state=open]:text-text-positive-muted`,`[&_svg]:text-accent-foreground/60`,`[&_svg]:hover:text-text-positive-strong`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-5`),children:[(0,n.jsx)(i.XIcon,{}),(0,n.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})})]})}function d({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`dialog-header`,className:t.cn(`flex flex-col gap-2 text-center sm:text-left`,e),...r})}function f({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`dialog-footer`,className:t.cn(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,e),...r})}function p({className:e,...i}){return(0,n.jsx)(r.Dialog.Title,{"data-slot":`dialog-title`,className:t.cn(`text-text-positive-strong text-lg leading-none font-semibold`,e),...i})}function m({className:e,...i}){return(0,n.jsx)(r.Dialog.Description,{"data-slot":`dialog-description`,className:t.cn(`text-text-positive-weak text-sm`,e),...i})}Object.defineProperty(exports,`Dialog`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`DialogClose`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`DialogContent`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`DialogDescription`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`DialogFooter`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`DialogHeader`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`DialogOverlay`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`DialogPortal`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`DialogTitle`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`DialogTrigger`,{enumerable:!0,get:function(){return o}});
|
|
2
|
+
//# sourceMappingURL=dialog-yB7g_7Wi.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-
|
|
1
|
+
{"version":3,"file":"dialog-yB7g_7Wi.cjs","names":["DialogPrimitive","cn","XIcon"],"sources":["../packages/components/ui/dialog.tsx"],"sourcesContent":["'use client'\nimport { Dialog as DialogPrimitive } from 'radix-ui'\nimport { XIcon } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nfunction Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background relative z-50 grid',\n 'shadow-dialog gap-4 p-6 outline-none',\n 'max-h-[85svh] w-full max-w-[calc(100%-2rem)] sm:max-w-lg',\n 'rounded-2xl duration-200',\n 'data-[state=open]:animate-in',\n 'data-[state=open]:fade-in-0',\n 'data-[state=open]:zoom-in-80',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0',\n 'data-[state=closed]:zoom-out-80',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n tabIndex={-1}\n className={cn(\n 'btnClose',\n 'absolute top-3 right-3 rounded-full p-2 opacity-70',\n 'cursor-pointer transition-all',\n 'outline-0',\n 'disabled:pointer-events-none',\n 'focus:ring-2',\n 'focus:ring-border-weak',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'data-[state=open]:bg-accent-weak',\n 'data-[state=open]:text-text-positive-muted',\n '[&_svg]:text-accent-foreground/60',\n '[&_svg]:hover:text-text-positive-strong',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-5\",\n )}\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </div>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-header\" className={cn('flex flex-col gap-2 text-center sm:text-left', className)} {...props} />\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"dialog-footer\" className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)} {...props} />\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title data-slot=\"dialog-title\" className={cn('text-text-positive-strong text-lg leading-none font-semibold', className)} {...props} />\n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description data-slot=\"dialog-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />\n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger }\n"],"mappings":"0LAMA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,IAGtD,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,IAGjE,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,IAG/D,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,IAG7D,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,UAAWC,EAAAA,GACT,iCACA,+BACA,8BACA,kCACA,iCACA,GAEF,GAAI,IAKV,SAAS,EAAc,CACrB,YACA,WACA,kBAAkB,GAClB,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAa,YAAU,2BACtB,EAAA,EAAA,KAAC,EAAA,KACD,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,gEACb,EAAA,EAAA,MAACD,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,UAAWC,EAAAA,GACT,mCACA,uCACA,2DACA,2BACA,+BACA,8BACA,+BACA,kCACA,iCACA,kCACA,GAEF,GAAI,YAEH,EACA,IACC,EAAA,EAAA,MAACD,EAAAA,OAAgB,MAAA,CACf,YAAU,eACV,SAAU,GACV,UAAWC,EAAAA,GACT,WACA,qDACA,gCACA,YACA,+BACA,eACA,yBACA,oBACA,wBACA,mCACA,6CACA,oCACA,0CACA,8BACA,mBACA,mDAGF,EAAA,EAAA,KAACC,EAAAA,MAAAA,KACD,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,qBASxC,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,UAAWD,EAAAA,GAAG,+CAAgD,GAAY,GAAI,IAGtH,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,UAAWA,EAAAA,GAAG,yDAA0D,GAAY,GAAI,IAGhI,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,UAAWC,EAAAA,GAAG,+DAAgE,GAAY,GAAI,IAGvJ,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAWC,EAAAA,GAAG,kCAAmC,GAAY,GAAI"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../chunk-CUT6urMc.cjs`);require(`../utils-BsjVK5EW.cjs`),require(`../button-Db_CKSZw.cjs`);const t=require(`../alert-dialog-
|
|
1
|
+
const e=require(`../chunk-CUT6urMc.cjs`);require(`../utils-BsjVK5EW.cjs`),require(`../button-Db_CKSZw.cjs`);const t=require(`../alert-dialog-Csc7kQmx.cjs`),n=e.__toESM(require(`react/jsx-runtime`)),r=({open:e,isLoading:r=!1,title:i,description:a,onOpenChange:o,onConfirm:s})=>(0,n.jsx)(t.AlertDialog,{open:e,onOpenChange:o,children:(0,n.jsxs)(t.AlertDialogContent,{children:[(0,n.jsxs)(t.AlertDialogHeader,{className:`gap-0`,children:[(0,n.jsx)(t.AlertDialogTitle,{children:i}),(0,n.jsx)(t.AlertDialogDescription,{children:a})]}),(0,n.jsxs)(t.AlertDialogFooter,{children:[(0,n.jsx)(t.AlertDialogCancel,{children:`Cancel`}),(0,n.jsx)(t.AlertDialogAction,{className:`min-h-9 w-full md:w-24`,onClick:s,children:r?(0,n.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,n.jsx)(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});exports.ConfirmDialog=r;
|
|
2
2
|
//# sourceMappingURL=confirm-dialog.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../utils-D9AH0PUV.js";import"../button-Pscu7CVU.js";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../alert-dialog-
|
|
1
|
+
import"../utils-D9AH0PUV.js";import"../button-Pscu7CVU.js";import{AlertDialog as e,AlertDialogAction as t,AlertDialogCancel as n,AlertDialogContent as r,AlertDialogDescription as i,AlertDialogFooter as a,AlertDialogHeader as o,AlertDialogTitle as s}from"../alert-dialog-Dns2874J.js";import{jsx as c,jsxs as l}from"react/jsx-runtime";const u=({open:u,isLoading:d=!1,title:f,description:p,onOpenChange:m,onConfirm:h})=>c(e,{open:u,onOpenChange:m,children:l(r,{children:[l(o,{className:`gap-0`,children:[c(s,{children:f}),c(i,{children:p})]}),l(a,{children:[c(n,{children:`Cancel`}),c(t,{className:`min-h-9 w-full md:w-24`,onClick:h,children:d?c(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:c(`div`,{className:`loader-spinner text-muted-foreground`})}):`Confirm`})]})]})});export{u as ConfirmDialog};
|
|
2
2
|
//# sourceMappingURL=confirm-dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../../utils-BsjVK5EW.cjs`),require(`../../../button-Db_CKSZw.cjs`),require(`../../../input-C-60EZ1K.cjs`),require(`../../../tooltip-BeQcgjzF.cjs`),require(`../../../separator-Cigaqna1.cjs`),require(`../../../sheet-
|
|
1
|
+
"use client";require(`../../../utils-BsjVK5EW.cjs`),require(`../../../button-Db_CKSZw.cjs`),require(`../../../input-C-60EZ1K.cjs`),require(`../../../tooltip-BeQcgjzF.cjs`),require(`../../../separator-Cigaqna1.cjs`),require(`../../../sheet-CX3PajAc.cjs`),require(`../../../skeleton-tNlCAW9R.cjs`),require(`../../../use-mobile-DD7ESbjU.cjs`);const e=require(`../../../sidebar-B-iUTI3P.cjs`);exports.DetailDialogSidebarContent=e.DetailDialogSidebarContent,exports.DetailDialogSidebarFooter=e.DetailDialogSidebarFooter,exports.DetailDialogSidebarGroup=e.DetailDialogSidebarGroup,exports.DetailDialogSidebarGroupAction=e.DetailDialogSidebarGroupAction,exports.DetailDialogSidebarGroupContent=e.DetailDialogSidebarGroupContent,exports.DetailDialogSidebarGroupLabel=e.DetailDialogSidebarGroupLabel,exports.DetailDialogSidebarHeader=e.DetailDialogSidebarHeader,exports.DetailDialogSidebarMenu=e.DetailDialogSidebarMenu,exports.DetailDialogSidebarMenuAction=e.DetailDialogSidebarMenuAction,exports.DetailDialogSidebarMenuBadge=e.DetailDialogSidebarMenuBadge,exports.DetailDialogSidebarMenuButton=e.DetailDialogSidebarMenuButton,exports.DetailDialogSidebarMenuItem=e.DetailDialogSidebarMenuItem,exports.DetailDialogSidebarMenuSkeleton=e.DetailDialogSidebarMenuSkeleton,exports.DetailDialogSidebarMenuSub=e.DetailDialogSidebarMenuSub,exports.DetailDialogSidebarMenuSubButton=e.DetailDialogSidebarMenuSubButton,exports.DetailDialogSidebarMenuSubItem=e.DetailDialogSidebarMenuSubItem,exports.DetailDialogSidebarRail=e.DetailDialogSidebarRail,exports.DetailDialogSidebarSeparator=e.DetailDialogSidebarSeparator,exports.DetailDialogSidebarTrigger=e.DetailDialogSidebarTrigger,exports.Sidebar=e.Sidebar,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarProvider=e.SidebarProvider,exports.useSidebar=e.useSidebar;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button } from "../../../button-
|
|
2
|
-
import { Input } from "../../../input-
|
|
3
|
-
import { Separator } from "../../../separator-
|
|
4
|
-
import { TooltipContent } from "../../../tooltip-
|
|
5
|
-
import * as
|
|
1
|
+
import { Button } from "../../../button-DBBV45P_.cjs";
|
|
2
|
+
import { Input } from "../../../input-Ci55gNyE.cjs";
|
|
3
|
+
import { Separator } from "../../../separator-DbpWHldj.cjs";
|
|
4
|
+
import { TooltipContent } from "../../../tooltip-CnemaSZS.cjs";
|
|
5
|
+
import * as react_jsx_runtime165 from "react/jsx-runtime";
|
|
6
6
|
import React from "react";
|
|
7
|
-
import * as
|
|
7
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
8
8
|
import { VariantProps } from "class-variance-authority";
|
|
9
9
|
|
|
10
10
|
//#region packages/components/dialogs/detail-dialog/component/sidebar.d.ts
|
|
@@ -30,7 +30,7 @@ declare function SidebarProvider({
|
|
|
30
30
|
defaultOpen?: boolean;
|
|
31
31
|
open?: boolean;
|
|
32
32
|
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
34
34
|
declare function Sidebar({
|
|
35
35
|
side,
|
|
36
36
|
variant,
|
|
@@ -42,74 +42,74 @@ declare function Sidebar({
|
|
|
42
42
|
side?: 'left' | 'right';
|
|
43
43
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
44
44
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
46
46
|
declare function DetailDialogSidebarTrigger({
|
|
47
47
|
className,
|
|
48
48
|
onClick,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Button>):
|
|
50
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime165.JSX.Element;
|
|
51
51
|
declare function DetailDialogSidebarRail({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'button'>):
|
|
54
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime165.JSX.Element;
|
|
55
55
|
declare function SidebarInset({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'main'>):
|
|
58
|
+
}: React.ComponentProps<'main'>): react_jsx_runtime165.JSX.Element;
|
|
59
59
|
declare function SidebarInput({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Input>):
|
|
62
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime165.JSX.Element;
|
|
63
63
|
declare function DetailDialogSidebarHeader({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'div'>):
|
|
66
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
67
67
|
declare function DetailDialogSidebarFooter({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<'div'>):
|
|
70
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
71
71
|
declare function DetailDialogSidebarSeparator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof Separator>):
|
|
74
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime165.JSX.Element;
|
|
75
75
|
declare function DetailDialogSidebarContent({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: React.ComponentProps<'div'>):
|
|
78
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
79
79
|
declare function DetailDialogSidebarGroup({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<'div'>):
|
|
82
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
83
83
|
declare function DetailDialogSidebarGroupLabel({
|
|
84
84
|
className,
|
|
85
85
|
asChild,
|
|
86
86
|
...props
|
|
87
87
|
}: React.ComponentProps<'div'> & {
|
|
88
88
|
asChild?: boolean;
|
|
89
|
-
}):
|
|
89
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
90
90
|
declare function DetailDialogSidebarGroupAction({
|
|
91
91
|
className,
|
|
92
92
|
asChild,
|
|
93
93
|
...props
|
|
94
94
|
}: React.ComponentProps<'button'> & {
|
|
95
95
|
asChild?: boolean;
|
|
96
|
-
}):
|
|
96
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
97
97
|
declare function DetailDialogSidebarGroupContent({
|
|
98
98
|
className,
|
|
99
99
|
...props
|
|
100
|
-
}: React.ComponentProps<'div'>):
|
|
100
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
101
101
|
declare function DetailDialogSidebarMenu({
|
|
102
102
|
className,
|
|
103
103
|
...props
|
|
104
|
-
}: React.ComponentProps<'ul'>):
|
|
104
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime165.JSX.Element;
|
|
105
105
|
declare function DetailDialogSidebarMenuItem({
|
|
106
106
|
className,
|
|
107
107
|
...props
|
|
108
|
-
}: React.ComponentProps<'li'>):
|
|
108
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime165.JSX.Element;
|
|
109
109
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
110
110
|
variant?: "default" | "outline" | null | undefined;
|
|
111
111
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
112
|
-
} &
|
|
112
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
113
113
|
declare function DetailDialogSidebarMenuButton({
|
|
114
114
|
asChild,
|
|
115
115
|
isActive,
|
|
@@ -122,7 +122,7 @@ declare function DetailDialogSidebarMenuButton({
|
|
|
122
122
|
asChild?: boolean;
|
|
123
123
|
isActive?: boolean;
|
|
124
124
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
125
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
125
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime165.JSX.Element;
|
|
126
126
|
declare function DetailDialogSidebarMenuAction({
|
|
127
127
|
className,
|
|
128
128
|
asChild,
|
|
@@ -131,26 +131,26 @@ declare function DetailDialogSidebarMenuAction({
|
|
|
131
131
|
}: React.ComponentProps<'button'> & {
|
|
132
132
|
asChild?: boolean;
|
|
133
133
|
showOnHover?: boolean;
|
|
134
|
-
}):
|
|
134
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
135
135
|
declare function DetailDialogSidebarMenuBadge({
|
|
136
136
|
className,
|
|
137
137
|
...props
|
|
138
|
-
}: React.ComponentProps<'div'>):
|
|
138
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime165.JSX.Element;
|
|
139
139
|
declare function DetailDialogSidebarMenuSkeleton({
|
|
140
140
|
className,
|
|
141
141
|
showIcon,
|
|
142
142
|
...props
|
|
143
143
|
}: React.ComponentProps<'div'> & {
|
|
144
144
|
showIcon?: boolean;
|
|
145
|
-
}):
|
|
145
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
146
146
|
declare function DetailDialogSidebarMenuSub({
|
|
147
147
|
className,
|
|
148
148
|
...props
|
|
149
|
-
}: React.ComponentProps<'ul'>):
|
|
149
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime165.JSX.Element;
|
|
150
150
|
declare function DetailDialogSidebarMenuSubItem({
|
|
151
151
|
className,
|
|
152
152
|
...props
|
|
153
|
-
}: React.ComponentProps<'li'>):
|
|
153
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime165.JSX.Element;
|
|
154
154
|
declare function DetailDialogSidebarMenuSubButton({
|
|
155
155
|
asChild,
|
|
156
156
|
size,
|
|
@@ -161,7 +161,7 @@ declare function DetailDialogSidebarMenuSubButton({
|
|
|
161
161
|
asChild?: boolean;
|
|
162
162
|
size?: 'sm' | 'md';
|
|
163
163
|
isActive?: boolean;
|
|
164
|
-
}):
|
|
164
|
+
}): react_jsx_runtime165.JSX.Element;
|
|
165
165
|
//#endregion
|
|
166
166
|
export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInput, SidebarInset, SidebarProvider, useSidebar };
|
|
167
167
|
//# sourceMappingURL=sidebar.d.cts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Button } from "../../../button-
|
|
2
|
-
import { Input } from "../../../input-
|
|
3
|
-
import { Separator } from "../../../separator-
|
|
4
|
-
import { TooltipContent } from "../../../tooltip-
|
|
1
|
+
import { Button } from "../../../button-y_YnE05_.js";
|
|
2
|
+
import { Input } from "../../../input-BZBf-l4K.js";
|
|
3
|
+
import { Separator } from "../../../separator-BssDmBsX.js";
|
|
4
|
+
import { TooltipContent } from "../../../tooltip-GgIQS_wc.js";
|
|
5
5
|
import React from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime236 from "react/jsx-runtime";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
8
|
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@ declare function SidebarProvider({
|
|
|
30
30
|
defaultOpen?: boolean;
|
|
31
31
|
open?: boolean;
|
|
32
32
|
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
34
34
|
declare function Sidebar({
|
|
35
35
|
side,
|
|
36
36
|
variant,
|
|
@@ -42,70 +42,70 @@ declare function Sidebar({
|
|
|
42
42
|
side?: 'left' | 'right';
|
|
43
43
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
44
44
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
46
46
|
declare function DetailDialogSidebarTrigger({
|
|
47
47
|
className,
|
|
48
48
|
onClick,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Button>):
|
|
50
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime236.JSX.Element;
|
|
51
51
|
declare function DetailDialogSidebarRail({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'button'>):
|
|
54
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime236.JSX.Element;
|
|
55
55
|
declare function SidebarInset({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React.ComponentProps<'main'>):
|
|
58
|
+
}: React.ComponentProps<'main'>): react_jsx_runtime236.JSX.Element;
|
|
59
59
|
declare function SidebarInput({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Input>):
|
|
62
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime236.JSX.Element;
|
|
63
63
|
declare function DetailDialogSidebarHeader({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'div'>):
|
|
66
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
67
67
|
declare function DetailDialogSidebarFooter({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<'div'>):
|
|
70
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
71
71
|
declare function DetailDialogSidebarSeparator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof Separator>):
|
|
74
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime236.JSX.Element;
|
|
75
75
|
declare function DetailDialogSidebarContent({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: React.ComponentProps<'div'>):
|
|
78
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
79
79
|
declare function DetailDialogSidebarGroup({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<'div'>):
|
|
82
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
83
83
|
declare function DetailDialogSidebarGroupLabel({
|
|
84
84
|
className,
|
|
85
85
|
asChild,
|
|
86
86
|
...props
|
|
87
87
|
}: React.ComponentProps<'div'> & {
|
|
88
88
|
asChild?: boolean;
|
|
89
|
-
}):
|
|
89
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
90
90
|
declare function DetailDialogSidebarGroupAction({
|
|
91
91
|
className,
|
|
92
92
|
asChild,
|
|
93
93
|
...props
|
|
94
94
|
}: React.ComponentProps<'button'> & {
|
|
95
95
|
asChild?: boolean;
|
|
96
|
-
}):
|
|
96
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
97
97
|
declare function DetailDialogSidebarGroupContent({
|
|
98
98
|
className,
|
|
99
99
|
...props
|
|
100
|
-
}: React.ComponentProps<'div'>):
|
|
100
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
101
101
|
declare function DetailDialogSidebarMenu({
|
|
102
102
|
className,
|
|
103
103
|
...props
|
|
104
|
-
}: React.ComponentProps<'ul'>):
|
|
104
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
|
|
105
105
|
declare function DetailDialogSidebarMenuItem({
|
|
106
106
|
className,
|
|
107
107
|
...props
|
|
108
|
-
}: React.ComponentProps<'li'>):
|
|
108
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
|
|
109
109
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
110
110
|
variant?: "default" | "outline" | null | undefined;
|
|
111
111
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
@@ -122,7 +122,7 @@ declare function DetailDialogSidebarMenuButton({
|
|
|
122
122
|
asChild?: boolean;
|
|
123
123
|
isActive?: boolean;
|
|
124
124
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
125
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
125
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime236.JSX.Element;
|
|
126
126
|
declare function DetailDialogSidebarMenuAction({
|
|
127
127
|
className,
|
|
128
128
|
asChild,
|
|
@@ -131,26 +131,26 @@ declare function DetailDialogSidebarMenuAction({
|
|
|
131
131
|
}: React.ComponentProps<'button'> & {
|
|
132
132
|
asChild?: boolean;
|
|
133
133
|
showOnHover?: boolean;
|
|
134
|
-
}):
|
|
134
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
135
135
|
declare function DetailDialogSidebarMenuBadge({
|
|
136
136
|
className,
|
|
137
137
|
...props
|
|
138
|
-
}: React.ComponentProps<'div'>):
|
|
138
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime236.JSX.Element;
|
|
139
139
|
declare function DetailDialogSidebarMenuSkeleton({
|
|
140
140
|
className,
|
|
141
141
|
showIcon,
|
|
142
142
|
...props
|
|
143
143
|
}: React.ComponentProps<'div'> & {
|
|
144
144
|
showIcon?: boolean;
|
|
145
|
-
}):
|
|
145
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
146
146
|
declare function DetailDialogSidebarMenuSub({
|
|
147
147
|
className,
|
|
148
148
|
...props
|
|
149
|
-
}: React.ComponentProps<'ul'>):
|
|
149
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime236.JSX.Element;
|
|
150
150
|
declare function DetailDialogSidebarMenuSubItem({
|
|
151
151
|
className,
|
|
152
152
|
...props
|
|
153
|
-
}: React.ComponentProps<'li'>):
|
|
153
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime236.JSX.Element;
|
|
154
154
|
declare function DetailDialogSidebarMenuSubButton({
|
|
155
155
|
asChild,
|
|
156
156
|
size,
|
|
@@ -161,7 +161,7 @@ declare function DetailDialogSidebarMenuSubButton({
|
|
|
161
161
|
asChild?: boolean;
|
|
162
162
|
size?: 'sm' | 'md';
|
|
163
163
|
isActive?: boolean;
|
|
164
|
-
}):
|
|
164
|
+
}): react_jsx_runtime236.JSX.Element;
|
|
165
165
|
//#endregion
|
|
166
166
|
export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInput, SidebarInset, SidebarProvider, useSidebar };
|
|
167
167
|
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../../utils-D9AH0PUV.js";import"../../../button-Pscu7CVU.js";import"../../../input-nsu0-DwM.js";import"../../../tooltip-jz3-KXgN.js";import"../../../separator-aLdI4FQe.js";import"../../../sheet-
|
|
1
|
+
"use client";import"../../../utils-D9AH0PUV.js";import"../../../button-Pscu7CVU.js";import"../../../input-nsu0-DwM.js";import"../../../tooltip-jz3-KXgN.js";import"../../../separator-aLdI4FQe.js";import"../../../sheet-DqPtcv9H.js";import"../../../skeleton-BSi1n1L2.js";import"../../../use-mobile-CNVZwItd.js";import{DetailDialogSidebarContent as e,DetailDialogSidebarFooter as t,DetailDialogSidebarGroup as n,DetailDialogSidebarGroupAction as r,DetailDialogSidebarGroupContent as i,DetailDialogSidebarGroupLabel as a,DetailDialogSidebarHeader as o,DetailDialogSidebarMenu as s,DetailDialogSidebarMenuAction as c,DetailDialogSidebarMenuBadge as l,DetailDialogSidebarMenuButton as u,DetailDialogSidebarMenuItem as d,DetailDialogSidebarMenuSkeleton as f,DetailDialogSidebarMenuSub as p,DetailDialogSidebarMenuSubButton as m,DetailDialogSidebarMenuSubItem as h,DetailDialogSidebarRail as g,DetailDialogSidebarSeparator as _,DetailDialogSidebarTrigger as v,Sidebar as y,SidebarInput as b,SidebarInset as x,SidebarProvider as S,useSidebar as C}from"../../../sidebar-5HuN-j1i.js";export{e as DetailDialogSidebarContent,t as DetailDialogSidebarFooter,n as DetailDialogSidebarGroup,r as DetailDialogSidebarGroupAction,i as DetailDialogSidebarGroupContent,a as DetailDialogSidebarGroupLabel,o as DetailDialogSidebarHeader,s as DetailDialogSidebarMenu,c as DetailDialogSidebarMenuAction,l as DetailDialogSidebarMenuBadge,u as DetailDialogSidebarMenuButton,d as DetailDialogSidebarMenuItem,f as DetailDialogSidebarMenuSkeleton,p as DetailDialogSidebarMenuSub,m as DetailDialogSidebarMenuSubButton,h as DetailDialogSidebarMenuSubItem,g as DetailDialogSidebarRail,_ as DetailDialogSidebarSeparator,v as DetailDialogSidebarTrigger,y as Sidebar,b as SidebarInput,x as SidebarInset,S as SidebarProvider,C as useSidebar};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../chunk-CUT6urMc.cjs`),t=require(`../../utils-BsjVK5EW.cjs`);require(`../../card-BDtW5n7z.cjs`),require(`../../button-Db_CKSZw.cjs`);const n=require(`../../dialog-
|
|
1
|
+
const e=require(`../../chunk-CUT6urMc.cjs`),t=require(`../../utils-BsjVK5EW.cjs`);require(`../../card-BDtW5n7z.cjs`),require(`../../button-Db_CKSZw.cjs`);const n=require(`../../dialog-yB7g_7Wi.cjs`);require(`../../input-C-60EZ1K.cjs`);const r=require(`../../flex-BSVrFdMJ.cjs`),i=require(`../../date-Cw6Jf7k6.cjs`);require(`../../tooltip-BeQcgjzF.cjs`);const a=require(`../../title-6Uosk2b4.cjs`);require(`../../separator-Cigaqna1.cjs`),require(`../../sheet-CX3PajAc.cjs`),require(`../../skeleton-tNlCAW9R.cjs`),require(`../../use-mobile-DD7ESbjU.cjs`);const o=require(`../../sidebar-B-iUTI3P.cjs`),s=e.__toESM(require(`react/jsx-runtime`)),c=e.__toESM(require(`lucide-react`)),l=()=>(0,s.jsxs)(n.DialogHeader,{className:`sr-only`,children:[(0,s.jsx)(n.DialogTitle,{className:`sr-only`}),(0,s.jsx)(n.DialogDescription,{className:`sr-only`})]}),u=({children:e})=>(0,s.jsx)(`main`,{"data-slot":`detail-dialog-main`,className:`relative h-full flex-1`,children:(0,s.jsx)(r.Flex,{padding:`none`,gap:`none`,vertical:!0,align:`stretch`,className:`absolute inset-0 size-full`,children:e})}),d=({title:e,createdAt:t})=>(0,s.jsxs)(`header`,{className:`bg-card border-border-weak flex w-full flex-0 items-start gap-x-2.5 border-b py-2.5 pr-12 pl-2`,children:[(0,s.jsx)(o.DetailDialogSidebarTrigger,{}),(0,s.jsxs)(r.Flex,{vertical:!0,align:`start`,padding:`none`,width:`null`,wrap:!1,className:`flex-1`,children:[(0,s.jsx)(a.Title,{level:5,className:`line-clamp-1 truncate text-wrap`,children:e||`Detail Dialog`}),(0,s.jsxs)(r.Flex,{padding:`none`,className:`text-text-positive-weak relative`,children:[(0,s.jsx)(c.CalendarIcon,{size:12,className:`absolute top-0.5 md:top-1`}),!!t&&(0,s.jsx)(i.DateDisplay,{showTime:!0,showHoliday:!0,date:t,format:`full`,className:`ml-4 text-xs md:text-sm`})]})]})]}),f=({children:e})=>(0,s.jsx)(n.DialogContent,{className:t.cn(`relative h-full overflow-hidden border-none p-0`,`rounded-none md:rounded-lg`,`max-h-svh max-w-svw`,`md:max-h-[90svh] md:max-w-[90svw]`,`xl:max-h-[90svh] xl:max-w-[90svw]`,`2xl:max-h-[90svh] 2xl:max-w-7xl`),onInteractOutside:e=>{e.preventDefault(),e.stopPropagation()},children:e}),p=({title:e,sidebarFooter:t,children:n})=>(0,s.jsxs)(o.Sidebar,{collapsible:`icon`,className:`shadow-nav z-20 hidden md:flex`,children:[(0,s.jsx)(o.DetailDialogSidebarHeader,{children:(0,s.jsx)(o.DetailDialogSidebarMenu,{children:(0,s.jsx)(o.DetailDialogSidebarMenuItem,{children:(0,s.jsxs)(o.DetailDialogSidebarMenuButton,{size:`lg`,tabIndex:-1,children:[(0,s.jsx)(`div`,{className:`bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg`,children:(0,s.jsx)(c.CatIcon,{size:16})}),(0,s.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[(0,s.jsx)(`span`,{className:`truncate font-medium`,children:e||`Detail Dialog`}),(0,s.jsx)(`span`,{className:`truncate text-xs`,children:`Lunas Enterprise`})]})]})})})}),(0,s.jsx)(o.DetailDialogSidebarContent,{children:(0,s.jsx)(o.DetailDialogSidebarGroup,{children:n})}),t&&(0,s.jsx)(o.DetailDialogSidebarFooter,{children:t})]}),m=({open:e,isLoading:t=!1,sidebarTitle:i,sidebar:a,sidebarFooter:c,title:m,createdAt:h,onOpenChange:g,children:_})=>(0,s.jsx)(n.Dialog,{open:e,onOpenChange:g,children:(0,s.jsxs)(f,{children:[(0,s.jsx)(l,{}),(0,s.jsxs)(o.SidebarProvider,{className:`h-full min-h-[85svh] items-start`,children:[(0,s.jsx)(p,{title:i,sidebarFooter:c,children:a}),(0,s.jsxs)(u,{children:[(0,s.jsx)(d,{title:m,createdAt:h}),t?(0,s.jsx)(r.Flex,{justify:`center`,className:`bg-muted-muted w-full flex-1 inset-shadow-sm`,children:(0,s.jsx)(`div`,{className:`loader`})}):(0,s.jsx)(`section`,{className:`bg-muted-muted relative flex flex-1 snap-y flex-col gap-0 overflow-y-auto inset-shadow-sm`,children:_})]})]})]})});exports.DetailDialog=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|