@customafk/lunas-ui 0.2.11 → 0.2.12
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-C1YY0oUh.d.mts → alert-Bi9GgWBf.d.cts} +7 -7
- package/dist/{alert-CI3ANQHC.d.cts → alert-DBdAWJoD.d.mts} +8 -8
- package/dist/{alert-DQHE-pdI.mjs → alert-DjfDTXIK.mjs} +1 -1
- package/dist/{alert-DQHE-pdI.mjs.map → alert-DjfDTXIK.mjs.map} +1 -1
- package/dist/{alert-BqJVf4wD.cjs → alert-kJbUcjIR.cjs} +1 -1
- package/dist/{alert-BqJVf4wD.cjs.map → alert-kJbUcjIR.cjs.map} +1 -1
- package/dist/{badge-DXeJVvRU.d.mts → badge-BrBsWjjy.d.mts} +7 -7
- package/dist/{badge-PKOZAtox.d.cts → badge-OocBN04L.d.cts} +5 -5
- package/dist/{button-BwvdZSJE.d.cts → button-Bg7LOzPN.d.cts} +5 -5
- package/dist/{button-BuQ09ya9.d.mts → button-CM0enIRc.d.mts} +7 -7
- package/dist/{calendar-B2V4Lv0T.cjs → calendar-BMXIBCsr.cjs} +1 -1
- package/dist/{calendar-B2V4Lv0T.cjs.map → calendar-BMXIBCsr.cjs.map} +1 -1
- package/dist/{calendar-Cw1G0sVL.mjs → calendar-WMJIKojX.mjs} +1 -1
- package/dist/{calendar-Cw1G0sVL.mjs.map → calendar-WMJIKojX.mjs.map} +1 -1
- package/dist/cards/simple-card.d.cts +2 -2
- package/dist/{cms-layout-r9TmK6hi.cjs → cms-layout-BLJpfFpE.cjs} +1 -1
- package/dist/{cms-layout-r9TmK6hi.cjs.map → cms-layout-BLJpfFpE.cjs.map} +1 -1
- package/dist/{cms-layout-Bp6rU_of.mjs → cms-layout-BYzUepEk.mjs} +1 -1
- package/dist/{cms-layout-Bp6rU_of.mjs.map → cms-layout-BYzUepEk.mjs.map} +1 -1
- package/dist/data-display/statistic.d.mts +4 -4
- package/dist/{dialog-CRVNgVZU.d.cts → dialog-BXi5bgG0.d.cts} +12 -12
- package/dist/{dialog-CiCeXhAu.d.mts → dialog-DLOes4WS.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +27 -27
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +25 -25
- package/dist/features/descriptions/index.d.cts +1 -1
- package/dist/features/descriptions/index.d.mts +7 -7
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +90 -16
- package/dist/features/tables/index.d.mts +116 -42
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{field-DfsTE4Ie.mjs → field-C5HOxxiX.mjs} +2 -2
- package/dist/{field-DfsTE4Ie.mjs.map → field-C5HOxxiX.mjs.map} +1 -1
- package/dist/{field-C51eJ6QN.cjs → field-D1wvj5Wj.cjs} +2 -2
- package/dist/{field-C51eJ6QN.cjs.map → field-D1wvj5Wj.cjs.map} +1 -1
- package/dist/{index-Dm0lp7bT.d.mts → index-CkmisxOx.d.cts} +282 -282
- package/dist/{index-C3SKVvaI.d.cts → index-Cyc9v5Az.d.mts} +46 -46
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-BpZ_mAuD.d.cts → input-CvWCE7ft.d.mts} +5 -5
- package/dist/{input-CoHHwUwI.d.mts → input-D9N-kPNc.d.cts} +6 -6
- package/dist/{label-3vAlNtF9.mjs → label-COqDQDMy.mjs} +1 -1
- package/dist/{label-3vAlNtF9.mjs.map → label-COqDQDMy.mjs.map} +1 -1
- package/dist/{label-zyBJYydC.cjs → label-DYsRdKMt.cjs} +1 -1
- package/dist/{label-zyBJYydC.cjs.map → label-DYsRdKMt.cjs.map} +1 -1
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +4 -4
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/{payment-layout-C9pP5HdT.cjs → payment-layout-C8_xrnVn.cjs} +1 -1
- package/dist/{payment-layout-C9pP5HdT.cjs.map → payment-layout-C8_xrnVn.cjs.map} +1 -1
- package/dist/{payment-layout-D-69gOPJ.mjs → payment-layout-CVBTGjMw.mjs} +1 -1
- package/dist/{payment-layout-D-69gOPJ.mjs.map → payment-layout-CVBTGjMw.mjs.map} +1 -1
- package/dist/{popover-CmoqhK17.cjs → popover-AEt-aSy3.cjs} +1 -1
- package/dist/{popover-CmoqhK17.cjs.map → popover-AEt-aSy3.cjs.map} +1 -1
- package/dist/{popover-BFJhuzW3.mjs → popover-OJXFbqJi.mjs} +1 -1
- package/dist/{popover-BFJhuzW3.mjs.map → popover-OJXFbqJi.mjs.map} +1 -1
- package/dist/{radio-group-D5OurBIG.mjs → radio-group-5ktXGXSv.mjs} +1 -1
- package/dist/{radio-group-D5OurBIG.mjs.map → radio-group-5ktXGXSv.mjs.map} +1 -1
- package/dist/{radio-group-DAv2EU3F.cjs → radio-group-C7FAAawm.cjs} +1 -1
- package/dist/{radio-group-DAv2EU3F.cjs.map → radio-group-C7FAAawm.cjs.map} +1 -1
- package/dist/{select-DRCKwnTV.mjs → select-DrHceSnf.mjs} +1 -1
- package/dist/{select-DRCKwnTV.mjs.map → select-DrHceSnf.mjs.map} +1 -1
- package/dist/{select-DfvSMRUq.cjs → select-DzylYFes.cjs} +1 -1
- package/dist/{select-DfvSMRUq.cjs.map → select-DzylYFes.cjs.map} +1 -1
- package/dist/tables-BQkO4mz6.cjs +4 -0
- package/dist/tables-BQkO4mz6.cjs.map +1 -0
- package/dist/tables-iT8uH25j.mjs +4 -0
- package/dist/tables-iT8uH25j.mjs.map +1 -0
- package/dist/{tanstack-form-Bb9JXuEq.cjs → tanstack-form-BUjk7DIz.cjs} +2 -2
- package/dist/{tanstack-form-Bb9JXuEq.cjs.map → tanstack-form-BUjk7DIz.cjs.map} +1 -1
- package/dist/{tanstack-form-BwyHENeF.mjs → tanstack-form-DtZdrifK.mjs} +2 -2
- package/dist/{tanstack-form-BwyHENeF.mjs.map → tanstack-form-DtZdrifK.mjs.map} +1 -1
- package/dist/{textarea-CvoBIPlJ.cjs → textarea-DZ86A_cm.cjs} +1 -1
- package/dist/{textarea-CvoBIPlJ.cjs.map → textarea-DZ86A_cm.cjs.map} +1 -1
- package/dist/{textarea-5RD9ToTV.mjs → textarea-Dd1fBf_4.mjs} +1 -1
- package/dist/{textarea-5RD9ToTV.mjs.map → textarea-Dd1fBf_4.mjs.map} +1 -1
- package/dist/typography/paragraph.d.cts +1 -1
- package/dist/typography/paragraph.d.mts +5 -5
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +4 -4
- package/dist/ui/button-group.d.mts +4 -4
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +7 -7
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +12 -12
- package/dist/ui/item.d.mts +15 -15
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +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.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.d.cts +1 -1
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +29 -29
- package/dist/ui/sidebar.d.mts +27 -27
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +5 -5
- package/dist/ui/toggle.d.mts +3 -3
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tables-Chn2pQSc.cjs +0 -4
- package/dist/tables-Chn2pQSc.cjs.map +0 -1
- package/dist/tables-eLIhswqW.mjs +0 -4
- package/dist/tables-eLIhswqW.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
2
2
|
import { Dialog } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dialog.d.ts
|
|
@@ -33,24 +33,24 @@ import { Dialog } from "radix-ui";
|
|
|
33
33
|
*/
|
|
34
34
|
declare function Dialog$1({
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Dialog.Root>):
|
|
36
|
+
}: React.ComponentProps<typeof Dialog.Root>): react_jsx_runtime49.JSX.Element;
|
|
37
37
|
/** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */
|
|
38
38
|
declare function DialogTrigger({
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<typeof Dialog.Trigger>):
|
|
40
|
+
}: React.ComponentProps<typeof Dialog.Trigger>): react_jsx_runtime49.JSX.Element;
|
|
41
41
|
/** Renders dialog overlay and content into a portal outside the normal React tree. */
|
|
42
42
|
declare function DialogPortal({
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Dialog.Portal>):
|
|
44
|
+
}: React.ComponentProps<typeof Dialog.Portal>): react_jsx_runtime49.JSX.Element;
|
|
45
45
|
/** Button that closes the dialog; can be composed with `asChild` to use a custom element. */
|
|
46
46
|
declare function DialogClose({
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof Dialog.Close>):
|
|
48
|
+
}: React.ComponentProps<typeof Dialog.Close>): react_jsx_runtime49.JSX.Element;
|
|
49
49
|
/** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */
|
|
50
50
|
declare function DialogOverlay({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<typeof Dialog.Overlay>):
|
|
53
|
+
}: React.ComponentProps<typeof Dialog.Overlay>): react_jsx_runtime49.JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.
|
|
56
56
|
*
|
|
@@ -64,27 +64,27 @@ declare function DialogContent({
|
|
|
64
64
|
}: React.ComponentProps<typeof Dialog.Content> & {
|
|
65
65
|
/** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */
|
|
66
66
|
showCloseButton?: boolean;
|
|
67
|
-
}):
|
|
67
|
+
}): react_jsx_runtime49.JSX.Element;
|
|
68
68
|
/** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */
|
|
69
69
|
declare function DialogHeader({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React.ComponentProps<'div'>):
|
|
72
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime49.JSX.Element;
|
|
73
73
|
/** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */
|
|
74
74
|
declare function DialogFooter({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React.ComponentProps<'div'>):
|
|
77
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime49.JSX.Element;
|
|
78
78
|
/** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */
|
|
79
79
|
declare function DialogTitle({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React.ComponentProps<typeof Dialog.Title>):
|
|
82
|
+
}: React.ComponentProps<typeof Dialog.Title>): react_jsx_runtime49.JSX.Element;
|
|
83
83
|
/** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */
|
|
84
84
|
declare function DialogDescription({
|
|
85
85
|
className,
|
|
86
86
|
...props
|
|
87
|
-
}: React.ComponentProps<typeof Dialog.Description>):
|
|
87
|
+
}: React.ComponentProps<typeof Dialog.Description>): react_jsx_runtime49.JSX.Element;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
|
|
90
|
-
//# sourceMappingURL=dialog-
|
|
90
|
+
//# sourceMappingURL=dialog-DLOes4WS.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Button } from "../../../button-
|
|
1
|
+
import { t as Button } from "../../../button-Bg7LOzPN.cjs";
|
|
2
2
|
import { Separator } from "../../../ui/separator.cjs";
|
|
3
3
|
import { TooltipContent } from "../../../ui/tooltip.cjs";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
5
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
7
|
|
|
8
8
|
//#region packages/components/dialogs/detail-dialog/components/sidebar.d.ts
|
|
@@ -50,7 +50,7 @@ declare function SidebarProvider({
|
|
|
50
50
|
open?: boolean;
|
|
51
51
|
/** Callback fired when the open state changes in controlled mode. */
|
|
52
52
|
onOpenChange?: (open: boolean) => void;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
|
|
56
56
|
*
|
|
@@ -77,7 +77,7 @@ declare function Sidebar({
|
|
|
77
77
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
78
78
|
/** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
|
|
79
79
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
80
|
-
}):
|
|
80
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Icon button that toggles the detail-dialog sidebar open or collapsed.
|
|
83
83
|
*
|
|
@@ -92,66 +92,66 @@ declare function DetailDialogSidebarTrigger({
|
|
|
92
92
|
className,
|
|
93
93
|
onClick,
|
|
94
94
|
...props
|
|
95
|
-
}: React.ComponentProps<typeof Button>):
|
|
95
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime5.JSX.Element;
|
|
96
96
|
declare function DetailDialogSidebarRail({
|
|
97
97
|
className,
|
|
98
98
|
...props
|
|
99
|
-
}: React.ComponentProps<'button'>):
|
|
99
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime5.JSX.Element;
|
|
100
100
|
declare function SidebarInset({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'main'>):
|
|
103
|
+
}: React.ComponentProps<'main'>): react_jsx_runtime5.JSX.Element;
|
|
104
104
|
declare function DetailDialogSidebarHeader({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: React.ComponentProps<'div'>):
|
|
107
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
108
108
|
declare function DetailDialogSidebarFooter({
|
|
109
109
|
className,
|
|
110
110
|
children,
|
|
111
111
|
...props
|
|
112
|
-
}: React.ComponentProps<'div'>):
|
|
112
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
113
113
|
declare function DetailDialogSidebarSeparator({
|
|
114
114
|
className,
|
|
115
115
|
...props
|
|
116
|
-
}: React.ComponentProps<typeof Separator>):
|
|
116
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime5.JSX.Element;
|
|
117
117
|
declare function DetailDialogSidebarContent({
|
|
118
118
|
className,
|
|
119
119
|
...props
|
|
120
|
-
}: React.ComponentProps<'div'>):
|
|
120
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
121
121
|
declare function DetailDialogSidebarGroup({
|
|
122
122
|
className,
|
|
123
123
|
...props
|
|
124
|
-
}: React.ComponentProps<'div'>):
|
|
124
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
125
125
|
declare function DetailDialogSidebarGroupLabel({
|
|
126
126
|
className,
|
|
127
127
|
asChild,
|
|
128
128
|
...props
|
|
129
129
|
}: React.ComponentProps<'div'> & {
|
|
130
130
|
asChild?: boolean;
|
|
131
|
-
}):
|
|
131
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
132
132
|
declare function DetailDialogSidebarGroupAction({
|
|
133
133
|
className,
|
|
134
134
|
asChild,
|
|
135
135
|
...props
|
|
136
136
|
}: React.ComponentProps<'button'> & {
|
|
137
137
|
asChild?: boolean;
|
|
138
|
-
}):
|
|
138
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
139
139
|
declare function DetailDialogSidebarGroupContent({
|
|
140
140
|
className,
|
|
141
141
|
...props
|
|
142
|
-
}: React.ComponentProps<'div'>):
|
|
142
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
143
143
|
declare function DetailDialogSidebarMenu({
|
|
144
144
|
className,
|
|
145
145
|
...props
|
|
146
|
-
}: React.ComponentProps<'ul'>):
|
|
146
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime5.JSX.Element;
|
|
147
147
|
declare function DetailDialogSidebarMenuItem({
|
|
148
148
|
className,
|
|
149
149
|
...props
|
|
150
|
-
}: React.ComponentProps<'li'>):
|
|
150
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime5.JSX.Element;
|
|
151
151
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
152
|
-
variant?: "
|
|
152
|
+
variant?: "outline" | "default" | null | undefined;
|
|
153
153
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
154
|
-
} &
|
|
154
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
155
155
|
declare function DetailDialogSidebarMenuButton({
|
|
156
156
|
asChild,
|
|
157
157
|
isActive,
|
|
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
|
|
|
164
164
|
asChild?: boolean;
|
|
165
165
|
isActive?: boolean;
|
|
166
166
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
167
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
167
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime5.JSX.Element;
|
|
168
168
|
declare function DetailDialogSidebarMenuAction({
|
|
169
169
|
className,
|
|
170
170
|
asChild,
|
|
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
|
|
|
173
173
|
}: React.ComponentProps<'button'> & {
|
|
174
174
|
asChild?: boolean;
|
|
175
175
|
showOnHover?: boolean;
|
|
176
|
-
}):
|
|
176
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
177
177
|
declare function DetailDialogSidebarMenuBadge({
|
|
178
178
|
className,
|
|
179
179
|
...props
|
|
180
|
-
}: React.ComponentProps<'div'>):
|
|
180
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime5.JSX.Element;
|
|
181
181
|
declare function DetailDialogSidebarMenuSkeleton({
|
|
182
182
|
className,
|
|
183
183
|
showIcon,
|
|
184
184
|
...props
|
|
185
185
|
}: React.ComponentProps<'div'> & {
|
|
186
186
|
showIcon?: boolean;
|
|
187
|
-
}):
|
|
187
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
188
188
|
declare function DetailDialogSidebarMenuSub({
|
|
189
189
|
className,
|
|
190
190
|
...props
|
|
191
|
-
}: React.ComponentProps<'ul'>):
|
|
191
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime5.JSX.Element;
|
|
192
192
|
declare function DetailDialogSidebarMenuSubItem({
|
|
193
193
|
className,
|
|
194
194
|
...props
|
|
195
|
-
}: React.ComponentProps<'li'>):
|
|
195
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime5.JSX.Element;
|
|
196
196
|
declare function DetailDialogSidebarMenuSubButton({
|
|
197
197
|
asChild,
|
|
198
198
|
size,
|
|
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
|
|
|
203
203
|
asChild?: boolean;
|
|
204
204
|
size?: 'sm' | 'md';
|
|
205
205
|
isActive?: boolean;
|
|
206
|
-
}):
|
|
206
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
207
207
|
//#endregion
|
|
208
208
|
export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
|
|
209
209
|
//# sourceMappingURL=sidebar.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Button } from "../../../button-
|
|
1
|
+
import { t as Button } from "../../../button-CM0enIRc.mjs";
|
|
2
2
|
import { Separator } from "../../../ui/separator.mjs";
|
|
3
3
|
import { TooltipContent } from "../../../ui/tooltip.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
7
7
|
|
|
@@ -50,7 +50,7 @@ declare function SidebarProvider({
|
|
|
50
50
|
open?: boolean;
|
|
51
51
|
/** Callback fired when the open state changes in controlled mode. */
|
|
52
52
|
onOpenChange?: (open: boolean) => void;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
|
|
56
56
|
*
|
|
@@ -77,7 +77,7 @@ declare function Sidebar({
|
|
|
77
77
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
78
78
|
/** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
|
|
79
79
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
80
|
-
}):
|
|
80
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Icon button that toggles the detail-dialog sidebar open or collapsed.
|
|
83
83
|
*
|
|
@@ -92,64 +92,64 @@ declare function DetailDialogSidebarTrigger({
|
|
|
92
92
|
className,
|
|
93
93
|
onClick,
|
|
94
94
|
...props
|
|
95
|
-
}: React.ComponentProps<typeof Button>):
|
|
95
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime11.JSX.Element;
|
|
96
96
|
declare function DetailDialogSidebarRail({
|
|
97
97
|
className,
|
|
98
98
|
...props
|
|
99
|
-
}: React.ComponentProps<'button'>):
|
|
99
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime11.JSX.Element;
|
|
100
100
|
declare function SidebarInset({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'main'>):
|
|
103
|
+
}: React.ComponentProps<'main'>): react_jsx_runtime11.JSX.Element;
|
|
104
104
|
declare function DetailDialogSidebarHeader({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: React.ComponentProps<'div'>):
|
|
107
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
108
108
|
declare function DetailDialogSidebarFooter({
|
|
109
109
|
className,
|
|
110
110
|
children,
|
|
111
111
|
...props
|
|
112
|
-
}: React.ComponentProps<'div'>):
|
|
112
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
113
113
|
declare function DetailDialogSidebarSeparator({
|
|
114
114
|
className,
|
|
115
115
|
...props
|
|
116
|
-
}: React.ComponentProps<typeof Separator>):
|
|
116
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime11.JSX.Element;
|
|
117
117
|
declare function DetailDialogSidebarContent({
|
|
118
118
|
className,
|
|
119
119
|
...props
|
|
120
|
-
}: React.ComponentProps<'div'>):
|
|
120
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
121
121
|
declare function DetailDialogSidebarGroup({
|
|
122
122
|
className,
|
|
123
123
|
...props
|
|
124
|
-
}: React.ComponentProps<'div'>):
|
|
124
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
125
125
|
declare function DetailDialogSidebarGroupLabel({
|
|
126
126
|
className,
|
|
127
127
|
asChild,
|
|
128
128
|
...props
|
|
129
129
|
}: React.ComponentProps<'div'> & {
|
|
130
130
|
asChild?: boolean;
|
|
131
|
-
}):
|
|
131
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
132
132
|
declare function DetailDialogSidebarGroupAction({
|
|
133
133
|
className,
|
|
134
134
|
asChild,
|
|
135
135
|
...props
|
|
136
136
|
}: React.ComponentProps<'button'> & {
|
|
137
137
|
asChild?: boolean;
|
|
138
|
-
}):
|
|
138
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
139
139
|
declare function DetailDialogSidebarGroupContent({
|
|
140
140
|
className,
|
|
141
141
|
...props
|
|
142
|
-
}: React.ComponentProps<'div'>):
|
|
142
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
143
143
|
declare function DetailDialogSidebarMenu({
|
|
144
144
|
className,
|
|
145
145
|
...props
|
|
146
|
-
}: React.ComponentProps<'ul'>):
|
|
146
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime11.JSX.Element;
|
|
147
147
|
declare function DetailDialogSidebarMenuItem({
|
|
148
148
|
className,
|
|
149
149
|
...props
|
|
150
|
-
}: React.ComponentProps<'li'>):
|
|
150
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime11.JSX.Element;
|
|
151
151
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
152
|
-
variant?: "
|
|
152
|
+
variant?: "outline" | "default" | null | undefined;
|
|
153
153
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
154
154
|
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
155
155
|
declare function DetailDialogSidebarMenuButton({
|
|
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
|
|
|
164
164
|
asChild?: boolean;
|
|
165
165
|
isActive?: boolean;
|
|
166
166
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
167
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
167
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime11.JSX.Element;
|
|
168
168
|
declare function DetailDialogSidebarMenuAction({
|
|
169
169
|
className,
|
|
170
170
|
asChild,
|
|
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
|
|
|
173
173
|
}: React.ComponentProps<'button'> & {
|
|
174
174
|
asChild?: boolean;
|
|
175
175
|
showOnHover?: boolean;
|
|
176
|
-
}):
|
|
176
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
177
177
|
declare function DetailDialogSidebarMenuBadge({
|
|
178
178
|
className,
|
|
179
179
|
...props
|
|
180
|
-
}: React.ComponentProps<'div'>):
|
|
180
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime11.JSX.Element;
|
|
181
181
|
declare function DetailDialogSidebarMenuSkeleton({
|
|
182
182
|
className,
|
|
183
183
|
showIcon,
|
|
184
184
|
...props
|
|
185
185
|
}: React.ComponentProps<'div'> & {
|
|
186
186
|
showIcon?: boolean;
|
|
187
|
-
}):
|
|
187
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
188
188
|
declare function DetailDialogSidebarMenuSub({
|
|
189
189
|
className,
|
|
190
190
|
...props
|
|
191
|
-
}: React.ComponentProps<'ul'>):
|
|
191
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime11.JSX.Element;
|
|
192
192
|
declare function DetailDialogSidebarMenuSubItem({
|
|
193
193
|
className,
|
|
194
194
|
...props
|
|
195
|
-
}: React.ComponentProps<'li'>):
|
|
195
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime11.JSX.Element;
|
|
196
196
|
declare function DetailDialogSidebarMenuSubButton({
|
|
197
197
|
asChild,
|
|
198
198
|
size,
|
|
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
|
|
|
203
203
|
asChild?: boolean;
|
|
204
204
|
size?: 'sm' | 'md';
|
|
205
205
|
isActive?: boolean;
|
|
206
|
-
}):
|
|
206
|
+
}): react_jsx_runtime11.JSX.Element;
|
|
207
207
|
//#endregion
|
|
208
208
|
export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
|
|
209
209
|
//# sourceMappingURL=sidebar.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BadgeProps } from "../../badge-
|
|
1
|
+
import { n as BadgeProps } from "../../badge-OocBN04L.cjs";
|
|
2
2
|
import * as react_jsx_runtime331 from "react/jsx-runtime";
|
|
3
3
|
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
4
4
|
import * as react272 from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as BadgeProps } from "../../badge-
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import { n as BadgeProps } from "../../badge-BrBsWjjy.mjs";
|
|
2
|
+
import * as react272 from "react";
|
|
3
|
+
import * as react_jsx_runtime331 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types22 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region packages/components/features/descriptions/components/badge.d.ts
|
|
8
8
|
type DescriptionBadgeProps = {
|
|
@@ -75,7 +75,7 @@ declare const DescriptionNumberPhone: React.FC<{
|
|
|
75
75
|
declare const descriptionStatisticVariants: (props?: ({
|
|
76
76
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
77
77
|
trend?: "neutral" | "up" | "down" | null | undefined;
|
|
78
|
-
} &
|
|
78
|
+
} & class_variance_authority_types22.ClassProp) | undefined) => string;
|
|
79
79
|
type DescriptionStatisticProps = VariantProps<typeof descriptionStatisticVariants> & {
|
|
80
80
|
decimalSeparator?: string;
|
|
81
81
|
groupSeparator?: string;
|
|
@@ -87,7 +87,7 @@ type DescriptionStatisticProps = VariantProps<typeof descriptionStatisticVariant
|
|
|
87
87
|
value: number | string | null | undefined;
|
|
88
88
|
className?: string;
|
|
89
89
|
};
|
|
90
|
-
declare const DescriptionStatistic:
|
|
90
|
+
declare const DescriptionStatistic: react272.MemoExoticComponent<({
|
|
91
91
|
decimalSeparator,
|
|
92
92
|
groupSeparator,
|
|
93
93
|
prefix: Prefix,
|
|
@@ -99,7 +99,7 @@ declare const DescriptionStatistic: react288.MemoExoticComponent<({
|
|
|
99
99
|
trend,
|
|
100
100
|
value,
|
|
101
101
|
className
|
|
102
|
-
}: DescriptionStatisticProps) =>
|
|
102
|
+
}: DescriptionStatisticProps) => react_jsx_runtime331.JSX.Element>;
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region packages/components/features/descriptions/components/status.d.ts
|
|
105
105
|
type StatusColor = NonNullable<BadgeProps['color']>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/features/search-modal/index.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
|
11
11
|
* // Render conditionally based on application state
|
|
12
12
|
* {isSearchOpen && <SearchModal />}
|
|
13
13
|
*/
|
|
14
|
-
declare const SearchModal: () =>
|
|
14
|
+
declare const SearchModal: () => react_jsx_runtime0.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { SearchModal };
|
|
17
17
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/features/search-modal/index.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
|
11
11
|
* // Render conditionally based on application state
|
|
12
12
|
* {isSearchOpen && <SearchModal />}
|
|
13
13
|
*/
|
|
14
|
-
declare const SearchModal: () =>
|
|
14
|
+
declare const SearchModal: () => react_jsx_runtime74.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { SearchModal };
|
|
17
17
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../../button.variants-tnhb123u.cjs`),require(`../../button-CwDT3m4m.cjs`),require(`../../paragraph-DN85Huc4.cjs`),require(`../../flex-BbbogTsZ.cjs`),require(`../../date-a3RI5Pwo.cjs`),require(`../../badge-uQ0pIZbQ.cjs`),require(`../../tooltip-itUmYz9k.cjs`),require(`../../avatar-CTS9-raY.cjs`),require(`../../separator-BwZb12bh.cjs`);const e=require(`../../tables-
|
|
1
|
+
require(`../../button.variants-tnhb123u.cjs`),require(`../../button-CwDT3m4m.cjs`),require(`../../paragraph-DN85Huc4.cjs`),require(`../../flex-BbbogTsZ.cjs`),require(`../../date-a3RI5Pwo.cjs`),require(`../../badge-uQ0pIZbQ.cjs`),require(`../../tooltip-itUmYz9k.cjs`),require(`../../avatar-CTS9-raY.cjs`),require(`../../separator-BwZb12bh.cjs`),require(`../../close-DXk_H3Gt.cjs`);const e=require(`../../tables-BQkO4mz6.cjs`);require(`../../dropdown-menu-Ct9BLGfa.cjs`),require(`../../progress-DE1FdQ1J.cjs`),require(`../../checkbox-Di7ACavC.cjs`),require(`../../spinner-rA8pMY6v.cjs`),require(`../../resizable-DDPMwd28.cjs`),require(`../../input-BMOYFJYM.cjs`),require(`../../popover-AEt-aSy3.cjs`),require(`../../select-DzylYFes.cjs`),require(`../../label-DYsRdKMt.cjs`),exports.UITableBadgeDisplay=e.R,exports.UITableBody=e.s,exports.UITableBooleanDisplay=e.L,exports.UITableCell=e.c,exports.UITableCellActions=e.l,exports.UITableCellSelect=e.u,exports.UITableContainer=e.o,exports.UITableCurrencyDisplay=e.I,exports.UITableDateDisplay=e.F,exports.UITableDescriptionDisplay=e.P,exports.UITableEmailDisplay=e.N,exports.UITableEmptyDisplay=e.d,exports.UITableFilter=e.a,exports.UITableFooter=e.f,exports.UITableHead=e.p,exports.UITableHeadCell=e.m,exports.UITableHeadCellOption=e.h,exports.UITableHeadCellSelect=e.g,exports.UITableHeadRow=e._,exports.UITableInnerTable=e.v,exports.UITableInnerWrapper=e.y,exports.UITableListDisplay=e.M,exports.UITableLoadMore=e.b,exports.UITableMoreButton=e.j,exports.UITableNameDisplay=e.A,exports.UITablePermalink=e.k,exports.UITablePhoneNumberDisplay=e.O,exports.UITableProgressDisplay=e.D,exports.UITableProvider=e.i,exports.UITableRemoveButton=e.E,exports.UITableRow=e.x,exports.UITableStatisticDisplay=e.T,exports.UITableStatusDisplay=e.w,exports.UITableTooltip=e.t,exports.UITableTooltipActions=e.n,exports.UITableTooltipFilter=e.r,exports.UITableUserDataDisplay=e.C,exports.UITableWrapper=e.S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AnyEntity } from "../../types-CDYHkcOk.cjs";
|
|
2
|
-
import { t as Input } from "../../input-
|
|
2
|
+
import { t as Input } from "../../input-D9N-kPNc.cjs";
|
|
3
3
|
import * as react_jsx_runtime346 from "react/jsx-runtime";
|
|
4
4
|
import * as react286 from "react";
|
|
5
5
|
import { AccessorKeyColumnDef, CellContext, Column, ColumnPinningPosition, ColumnPinningState, Header, HeaderGroup, Row, RowSelectionState, Table } from "@tanstack/react-table";
|
|
@@ -599,6 +599,10 @@ type TTableContext<TData extends RowData<TData>> = {
|
|
|
599
599
|
csvData?: CsvCell[][];
|
|
600
600
|
/** File name (without `.csv`) for the downloaded file. Defaults to the table title. */
|
|
601
601
|
csvFileName?: string;
|
|
602
|
+
/** Definitions of all filterable fields shown in the "Add Filter" dropdown. */
|
|
603
|
+
filterDefinitions?: FilterDefinition[];
|
|
604
|
+
/** Called with the full list of active filters whenever filters are added, removed, or updated. */
|
|
605
|
+
onFilterChange?: (filters: ActiveFilter[]) => void;
|
|
602
606
|
};
|
|
603
607
|
/** Context value provided by `UITableInnerWrapperProvider`. */
|
|
604
608
|
type TTableInnerWrapperContext = {
|
|
@@ -715,6 +719,68 @@ type TableProviderProps<TData extends RowData<TData>, TKey extends keyof TData =
|
|
|
715
719
|
csvData?: CsvCell[][];
|
|
716
720
|
/** File name (without `.csv`) for the downloaded file. Defaults to the table title. */
|
|
717
721
|
csvFileName?: string;
|
|
722
|
+
/** Definitions of all filterable fields shown in the "Add Filter" dropdown. */
|
|
723
|
+
filterDefinitions?: FilterDefinition[];
|
|
724
|
+
/** Called with the full list of active filters whenever filters are added, removed, or updated. */
|
|
725
|
+
onFilterChange?: (filters: ActiveFilter[]) => void;
|
|
726
|
+
};
|
|
727
|
+
type FilterType = 'tag' | 'date-range' | 'number' | 'text' | 'boolean';
|
|
728
|
+
/** A selectable option for tag/enum filters. */
|
|
729
|
+
type FilterOption = {
|
|
730
|
+
label: string;
|
|
731
|
+
value: string;
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* Declares a filterable field available in the "Add Filter" dropdown.
|
|
735
|
+
* `options` is required when `type === 'tag'`.
|
|
736
|
+
*/
|
|
737
|
+
type FilterDefinition = {
|
|
738
|
+
id: string;
|
|
739
|
+
label: string;
|
|
740
|
+
type: FilterType;
|
|
741
|
+
options?: FilterOption[];
|
|
742
|
+
};
|
|
743
|
+
type TagFilterValue = {
|
|
744
|
+
type: 'tag';
|
|
745
|
+
values: string[];
|
|
746
|
+
};
|
|
747
|
+
type DateRangeFilterValue = {
|
|
748
|
+
type: 'date-range';
|
|
749
|
+
/** ISO date string, e.g. `"2024-01-01"`. */
|
|
750
|
+
from?: string;
|
|
751
|
+
to?: string;
|
|
752
|
+
};
|
|
753
|
+
type NumberFilterValue = {
|
|
754
|
+
type: 'number';
|
|
755
|
+
operator: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'between';
|
|
756
|
+
value?: number;
|
|
757
|
+
valueTo?: number;
|
|
758
|
+
};
|
|
759
|
+
type TextFilterValue = {
|
|
760
|
+
type: 'text';
|
|
761
|
+
operator: 'contains' | 'equals' | 'starts-with' | 'ends-with';
|
|
762
|
+
value: string;
|
|
763
|
+
};
|
|
764
|
+
type BooleanFilterValue = {
|
|
765
|
+
type: 'boolean';
|
|
766
|
+
value: boolean | null;
|
|
767
|
+
};
|
|
768
|
+
type FilterValue = TagFilterValue | DateRangeFilterValue | NumberFilterValue | TextFilterValue | BooleanFilterValue;
|
|
769
|
+
/** An active (added) filter instance with its current value. */
|
|
770
|
+
type ActiveFilter = {
|
|
771
|
+
/** Unique instance id for this filter entry. */
|
|
772
|
+
id: string;
|
|
773
|
+
/** References a `FilterDefinition.id`. */
|
|
774
|
+
definitionId: string;
|
|
775
|
+
value: FilterValue;
|
|
776
|
+
};
|
|
777
|
+
/** Context value exposed by `UITableProvider` for the filter panel. */
|
|
778
|
+
type TTableFilterContext = {
|
|
779
|
+
filterDefinitions: FilterDefinition[];
|
|
780
|
+
activeFilters: ActiveFilter[];
|
|
781
|
+
addFilter: (definitionId: string) => void;
|
|
782
|
+
removeFilter: (filterId: string) => void;
|
|
783
|
+
updateFilter: (filterId: string, value: FilterValue) => void;
|
|
718
784
|
};
|
|
719
785
|
//#endregion
|
|
720
786
|
//#region packages/components/features/tables/components/common.d.ts
|
|
@@ -1037,25 +1103,31 @@ declare const UITableContainer: React.FC<React.PropsWithChildren>;
|
|
|
1037
1103
|
//#endregion
|
|
1038
1104
|
//#region packages/components/features/tables/components/table/filter.d.ts
|
|
1039
1105
|
/**
|
|
1040
|
-
* Collapsible side-panel that lets users toggle column visibility and
|
|
1041
|
-
*
|
|
1106
|
+
* Collapsible side-panel that lets users toggle column visibility and build
|
|
1107
|
+
* row filters without leaving the table view.
|
|
1042
1108
|
*
|
|
1043
1109
|
* The panel collapses to a narrow icon strip when no tab is active and expands
|
|
1044
|
-
* to at least 64 units when the "Columns" or "Filters" tab is selected.
|
|
1045
|
-
*
|
|
1110
|
+
* to at least 64 units when the "Columns" or "Filters" tab is selected.
|
|
1111
|
+
*
|
|
1112
|
+
* Wire filter capability by passing `filterDefinitions` and `onFilterChange` to
|
|
1113
|
+
* the parent `UITableProvider`.
|
|
1046
1114
|
*
|
|
1047
1115
|
* @example
|
|
1048
1116
|
* ```tsx
|
|
1049
|
-
*
|
|
1050
|
-
*
|
|
1051
|
-
*
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
* <
|
|
1058
|
-
*
|
|
1117
|
+
* <UITableProvider
|
|
1118
|
+
* filterDefinitions={[
|
|
1119
|
+
* { id: 'status', label: 'Status', type: 'tag', options: [{ label: 'Active', value: 'active' }] },
|
|
1120
|
+
* { id: 'created', label: 'Created At', type: 'date-range' },
|
|
1121
|
+
* { id: 'amount', label: 'Amount', type: 'number' },
|
|
1122
|
+
* ]}
|
|
1123
|
+
* onFilterChange={filters => console.log(filters)}
|
|
1124
|
+
* >
|
|
1125
|
+
* <ResizablePanelGroup direction="horizontal">
|
|
1126
|
+
* <ResizablePanel><UITable /></ResizablePanel>
|
|
1127
|
+
* <ResizableHandle />
|
|
1128
|
+
* <UITableFilter />
|
|
1129
|
+
* </ResizablePanelGroup>
|
|
1130
|
+
* </UITableProvider>
|
|
1059
1131
|
* ```
|
|
1060
1132
|
*/
|
|
1061
1133
|
declare const UITableFilter: () => react_jsx_runtime346.JSX.Element;
|
|
@@ -1109,6 +1181,8 @@ declare const UITableProvider: <TData extends RowData<TData> = RowData<AnyEntity
|
|
|
1109
1181
|
fetchMoreData,
|
|
1110
1182
|
csvData,
|
|
1111
1183
|
csvFileName,
|
|
1184
|
+
filterDefinitions,
|
|
1185
|
+
onFilterChange,
|
|
1112
1186
|
children
|
|
1113
1187
|
}: React.PropsWithChildren<TableProviderProps<TData, TKey, TColumns>>) => react_jsx_runtime346.JSX.Element;
|
|
1114
1188
|
//#endregion
|
|
@@ -1177,5 +1251,5 @@ declare const UITableTooltipActions: React.FC<{
|
|
|
1177
1251
|
*/
|
|
1178
1252
|
declare const UITableTooltip: React.FC<React.PropsWithChildren>;
|
|
1179
1253
|
//#endregion
|
|
1180
|
-
export { CsvCell, RowData, TTableBodyContext, TTableContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
1254
|
+
export { ActiveFilter, BooleanFilterValue, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
|
|
1181
1255
|
//# sourceMappingURL=index.d.cts.map
|