@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
package/dist/ui/drawer.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
2
2
|
import { Drawer as Drawer$1 } from "vaul";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/drawer.d.ts
|
|
@@ -23,50 +23,50 @@ import { Drawer as Drawer$1 } from "vaul";
|
|
|
23
23
|
*/
|
|
24
24
|
declare function Drawer({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Drawer$1.Root>):
|
|
26
|
+
}: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime99.JSX.Element;
|
|
27
27
|
/** Element that opens the Drawer when activated. */
|
|
28
28
|
declare function DrawerTrigger({
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Drawer$1.Trigger>):
|
|
30
|
+
}: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime99.JSX.Element;
|
|
31
31
|
/** Portals Drawer content outside the current DOM tree. */
|
|
32
32
|
declare function DrawerPortal({
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Drawer$1.Portal>):
|
|
34
|
+
}: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime99.JSX.Element;
|
|
35
35
|
/** Button that programmatically closes the Drawer. */
|
|
36
36
|
declare function DrawerClose({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Drawer$1.Close>):
|
|
38
|
+
}: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime99.JSX.Element;
|
|
39
39
|
/** Dimmed backdrop rendered behind the Drawer panel. */
|
|
40
40
|
declare function DrawerOverlay({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Drawer$1.Overlay>):
|
|
43
|
+
}: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime99.JSX.Element;
|
|
44
44
|
/** The main Drawer panel; automatically positions itself based on the direction set on the root. */
|
|
45
45
|
declare function DrawerContent({
|
|
46
46
|
className,
|
|
47
47
|
children,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof Drawer$1.Content>):
|
|
49
|
+
}: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime99.JSX.Element;
|
|
50
50
|
/** Padded header section at the top of the Drawer for the title and description. */
|
|
51
51
|
declare function DrawerHeader({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'div'>):
|
|
54
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
55
55
|
/** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */
|
|
56
56
|
declare function DrawerFooter({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<'div'>):
|
|
59
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
60
60
|
/** Accessible title element for the Drawer, announced by screen readers on open. */
|
|
61
61
|
declare function DrawerTitle({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof Drawer$1.Title>):
|
|
64
|
+
}: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime99.JSX.Element;
|
|
65
65
|
/** Accessible description element for the Drawer, providing supplemental context to the title. */
|
|
66
66
|
declare function DrawerDescription({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Drawer$1.Description>):
|
|
69
|
+
}: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime99.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
72
72
|
//# sourceMappingURL=drawer.d.cts.map
|
package/dist/ui/drawer.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime152 from "react/jsx-runtime";
|
|
2
2
|
import { Drawer as Drawer$1 } from "vaul";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/drawer.d.ts
|
|
@@ -23,50 +23,50 @@ import { Drawer as Drawer$1 } from "vaul";
|
|
|
23
23
|
*/
|
|
24
24
|
declare function Drawer({
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Drawer$1.Root>):
|
|
26
|
+
}: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime152.JSX.Element;
|
|
27
27
|
/** Element that opens the Drawer when activated. */
|
|
28
28
|
declare function DrawerTrigger({
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<typeof Drawer$1.Trigger>):
|
|
30
|
+
}: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime152.JSX.Element;
|
|
31
31
|
/** Portals Drawer content outside the current DOM tree. */
|
|
32
32
|
declare function DrawerPortal({
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof Drawer$1.Portal>):
|
|
34
|
+
}: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime152.JSX.Element;
|
|
35
35
|
/** Button that programmatically closes the Drawer. */
|
|
36
36
|
declare function DrawerClose({
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Drawer$1.Close>):
|
|
38
|
+
}: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime152.JSX.Element;
|
|
39
39
|
/** Dimmed backdrop rendered behind the Drawer panel. */
|
|
40
40
|
declare function DrawerOverlay({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Drawer$1.Overlay>):
|
|
43
|
+
}: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime152.JSX.Element;
|
|
44
44
|
/** The main Drawer panel; automatically positions itself based on the direction set on the root. */
|
|
45
45
|
declare function DrawerContent({
|
|
46
46
|
className,
|
|
47
47
|
children,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<typeof Drawer$1.Content>):
|
|
49
|
+
}: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime152.JSX.Element;
|
|
50
50
|
/** Padded header section at the top of the Drawer for the title and description. */
|
|
51
51
|
declare function DrawerHeader({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<'div'>):
|
|
54
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime152.JSX.Element;
|
|
55
55
|
/** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */
|
|
56
56
|
declare function DrawerFooter({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<'div'>):
|
|
59
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime152.JSX.Element;
|
|
60
60
|
/** Accessible title element for the Drawer, announced by screen readers on open. */
|
|
61
61
|
declare function DrawerTitle({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
|
-
}: React.ComponentProps<typeof Drawer$1.Title>):
|
|
64
|
+
}: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime152.JSX.Element;
|
|
65
65
|
/** Accessible description element for the Drawer, providing supplemental context to the title. */
|
|
66
66
|
declare function DrawerDescription({
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Drawer$1.Description>):
|
|
69
|
+
}: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime152.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
72
72
|
//# sourceMappingURL=drawer.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
@@ -26,26 +26,26 @@ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
|
26
26
|
*/
|
|
27
27
|
declare function DropdownMenu({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime115.JSX.Element;
|
|
30
30
|
/** Portals DropdownMenu content outside the current DOM hierarchy. */
|
|
31
31
|
declare function DropdownMenuPortal({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
33
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime115.JSX.Element;
|
|
34
34
|
/** Element that opens the DropdownMenu when activated. */
|
|
35
35
|
declare function DropdownMenuTrigger({
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime115.JSX.Element;
|
|
38
38
|
/** Animated floating panel that contains the dropdown items. */
|
|
39
39
|
declare function DropdownMenuContent({
|
|
40
40
|
className,
|
|
41
41
|
sideOffset,
|
|
42
42
|
align,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
44
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime115.JSX.Element;
|
|
45
45
|
/** Groups related DropdownMenuItems under a shared logical section. */
|
|
46
46
|
declare function DropdownMenuGroup({
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime115.JSX.Element;
|
|
49
49
|
/**
|
|
50
50
|
* A single clickable row inside a DropdownMenuContent.
|
|
51
51
|
*
|
|
@@ -60,24 +60,24 @@ declare function DropdownMenuItem({
|
|
|
60
60
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
61
61
|
inset?: boolean;
|
|
62
62
|
variant?: 'default' | 'destructive';
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
64
64
|
/** A checkable menu item that displays a checkmark when selected. */
|
|
65
65
|
declare function DropdownMenuCheckboxItem({
|
|
66
66
|
className,
|
|
67
67
|
children,
|
|
68
68
|
checked,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
70
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime115.JSX.Element;
|
|
71
71
|
/** Groups DropdownMenuRadioItems so only one can be selected at a time. */
|
|
72
72
|
declare function DropdownMenuRadioGroup({
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
74
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime115.JSX.Element;
|
|
75
75
|
/** A radio-button menu item; shows a filled circle when selected. */
|
|
76
76
|
declare function DropdownMenuRadioItem({
|
|
77
77
|
className,
|
|
78
78
|
children,
|
|
79
79
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
80
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime115.JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Non-interactive label used to describe a group of items.
|
|
83
83
|
*
|
|
@@ -89,21 +89,21 @@ declare function DropdownMenuLabel({
|
|
|
89
89
|
...props
|
|
90
90
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
91
91
|
inset?: boolean;
|
|
92
|
-
}):
|
|
92
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
93
93
|
/** Horizontal dividing line between groups of dropdown items. */
|
|
94
94
|
declare function DropdownMenuSeparator({
|
|
95
95
|
className,
|
|
96
96
|
...props
|
|
97
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
97
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime115.JSX.Element;
|
|
98
98
|
/** Displays a keyboard shortcut hint aligned to the right of a menu item. */
|
|
99
99
|
declare function DropdownMenuShortcut({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: React.ComponentProps<'span'>):
|
|
102
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime115.JSX.Element;
|
|
103
103
|
/** Root container for a nested sub-menu inside a DropdownMenu. */
|
|
104
104
|
declare function DropdownMenuSub({
|
|
105
105
|
...props
|
|
106
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
106
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime115.JSX.Element;
|
|
107
107
|
/**
|
|
108
108
|
* Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
|
|
109
109
|
*
|
|
@@ -116,12 +116,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
116
116
|
...props
|
|
117
117
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
118
118
|
inset?: boolean;
|
|
119
|
-
}):
|
|
119
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
120
120
|
/** Floating panel that contains the items of a nested sub-menu. */
|
|
121
121
|
declare function DropdownMenuSubContent({
|
|
122
122
|
className,
|
|
123
123
|
...props
|
|
124
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
124
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime115.JSX.Element;
|
|
125
125
|
//#endregion
|
|
126
126
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
127
127
|
//# sourceMappingURL=dropdown-menu.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
2
2
|
import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/dropdown-menu.d.ts
|
|
@@ -26,26 +26,26 @@ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
|
|
|
26
26
|
*/
|
|
27
27
|
declare function DropdownMenu({
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Root>):
|
|
29
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime120.JSX.Element;
|
|
30
30
|
/** Portals DropdownMenu content outside the current DOM hierarchy. */
|
|
31
31
|
declare function DropdownMenuPortal({
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Portal>):
|
|
33
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime120.JSX.Element;
|
|
34
34
|
/** Element that opens the DropdownMenu when activated. */
|
|
35
35
|
declare function DropdownMenuTrigger({
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>):
|
|
37
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime120.JSX.Element;
|
|
38
38
|
/** Animated floating panel that contains the dropdown items. */
|
|
39
39
|
declare function DropdownMenuContent({
|
|
40
40
|
className,
|
|
41
41
|
sideOffset,
|
|
42
42
|
align,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Content>):
|
|
44
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Content>): react_jsx_runtime120.JSX.Element;
|
|
45
45
|
/** Groups related DropdownMenuItems under a shared logical section. */
|
|
46
46
|
declare function DropdownMenuGroup({
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Group>):
|
|
48
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Group>): react_jsx_runtime120.JSX.Element;
|
|
49
49
|
/**
|
|
50
50
|
* A single clickable row inside a DropdownMenuContent.
|
|
51
51
|
*
|
|
@@ -60,24 +60,24 @@ declare function DropdownMenuItem({
|
|
|
60
60
|
}: React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
61
61
|
inset?: boolean;
|
|
62
62
|
variant?: 'default' | 'destructive';
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
64
64
|
/** A checkable menu item that displays a checkmark when selected. */
|
|
65
65
|
declare function DropdownMenuCheckboxItem({
|
|
66
66
|
className,
|
|
67
67
|
children,
|
|
68
68
|
checked,
|
|
69
69
|
...props
|
|
70
|
-
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>):
|
|
70
|
+
}: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): react_jsx_runtime120.JSX.Element;
|
|
71
71
|
/** Groups DropdownMenuRadioItems so only one can be selected at a time. */
|
|
72
72
|
declare function DropdownMenuRadioGroup({
|
|
73
73
|
...props
|
|
74
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>):
|
|
74
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): react_jsx_runtime120.JSX.Element;
|
|
75
75
|
/** A radio-button menu item; shows a filled circle when selected. */
|
|
76
76
|
declare function DropdownMenuRadioItem({
|
|
77
77
|
className,
|
|
78
78
|
children,
|
|
79
79
|
...props
|
|
80
|
-
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>):
|
|
80
|
+
}: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): react_jsx_runtime120.JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Non-interactive label used to describe a group of items.
|
|
83
83
|
*
|
|
@@ -89,21 +89,21 @@ declare function DropdownMenuLabel({
|
|
|
89
89
|
...props
|
|
90
90
|
}: React.ComponentProps<typeof DropdownMenu$1.Label> & {
|
|
91
91
|
inset?: boolean;
|
|
92
|
-
}):
|
|
92
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
93
93
|
/** Horizontal dividing line between groups of dropdown items. */
|
|
94
94
|
declare function DropdownMenuSeparator({
|
|
95
95
|
className,
|
|
96
96
|
...props
|
|
97
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Separator>):
|
|
97
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Separator>): react_jsx_runtime120.JSX.Element;
|
|
98
98
|
/** Displays a keyboard shortcut hint aligned to the right of a menu item. */
|
|
99
99
|
declare function DropdownMenuShortcut({
|
|
100
100
|
className,
|
|
101
101
|
...props
|
|
102
|
-
}: React.ComponentProps<'span'>):
|
|
102
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime120.JSX.Element;
|
|
103
103
|
/** Root container for a nested sub-menu inside a DropdownMenu. */
|
|
104
104
|
declare function DropdownMenuSub({
|
|
105
105
|
...props
|
|
106
|
-
}: React.ComponentProps<typeof DropdownMenu$1.Sub>):
|
|
106
|
+
}: React.ComponentProps<typeof DropdownMenu$1.Sub>): react_jsx_runtime120.JSX.Element;
|
|
107
107
|
/**
|
|
108
108
|
* Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
|
|
109
109
|
*
|
|
@@ -116,12 +116,12 @@ declare function DropdownMenuSubTrigger({
|
|
|
116
116
|
...props
|
|
117
117
|
}: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
|
|
118
118
|
inset?: boolean;
|
|
119
|
-
}):
|
|
119
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
120
120
|
/** Floating panel that contains the items of a nested sub-menu. */
|
|
121
121
|
declare function DropdownMenuSubContent({
|
|
122
122
|
className,
|
|
123
123
|
...props
|
|
124
|
-
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>):
|
|
124
|
+
}: React.ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime120.JSX.Element;
|
|
125
125
|
//#endregion
|
|
126
126
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
127
127
|
//# sourceMappingURL=dropdown-menu.d.mts.map
|
package/dist/ui/empty.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
2
2
|
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
@@ -29,12 +29,12 @@ import { VariantProps } from "class-variance-authority";
|
|
|
29
29
|
declare function Empty({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime109.JSX.Element;
|
|
33
33
|
/** Centred column container for the media, title, and description of an empty state. */
|
|
34
34
|
declare function EmptyHeader({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime109.JSX.Element;
|
|
38
38
|
declare const emptyMediaVariants: (props?: ({
|
|
39
39
|
variant?: "default" | "icon" | null | undefined;
|
|
40
40
|
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
@@ -47,22 +47,22 @@ declare function EmptyMedia({
|
|
|
47
47
|
className,
|
|
48
48
|
variant,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
50
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime109.JSX.Element;
|
|
51
51
|
/** Prominent heading text for the empty state. */
|
|
52
52
|
declare function EmptyTitle({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime109.JSX.Element;
|
|
56
56
|
/** Supporting body text that explains the empty state to the user. */
|
|
57
57
|
declare function EmptyDescription({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'p'>):
|
|
60
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime109.JSX.Element;
|
|
61
61
|
/** Action area below the header — typically holds buttons or links to help the user proceed. */
|
|
62
62
|
declare function EmptyContent({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<'div'>):
|
|
65
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime109.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
68
68
|
//# sourceMappingURL=empty.d.cts.map
|
package/dist/ui/empty.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/empty.d.ts
|
|
6
6
|
|
|
@@ -29,15 +29,15 @@ import * as class_variance_authority_types7 from "class-variance-authority/types
|
|
|
29
29
|
declare function Empty({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime75.JSX.Element;
|
|
33
33
|
/** Centred column container for the media, title, and description of an empty state. */
|
|
34
34
|
declare function EmptyHeader({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime75.JSX.Element;
|
|
38
38
|
declare const emptyMediaVariants: (props?: ({
|
|
39
39
|
variant?: "default" | "icon" | null | undefined;
|
|
40
|
-
} &
|
|
40
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
41
41
|
/**
|
|
42
42
|
* Container for the visual element (illustration, icon, or image) in an empty state.
|
|
43
43
|
*
|
|
@@ -47,22 +47,22 @@ declare function EmptyMedia({
|
|
|
47
47
|
className,
|
|
48
48
|
variant,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
50
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime75.JSX.Element;
|
|
51
51
|
/** Prominent heading text for the empty state. */
|
|
52
52
|
declare function EmptyTitle({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime75.JSX.Element;
|
|
56
56
|
/** Supporting body text that explains the empty state to the user. */
|
|
57
57
|
declare function EmptyDescription({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'p'>):
|
|
60
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime75.JSX.Element;
|
|
61
61
|
/** Action area below the header — typically holds buttons or links to help the user proceed. */
|
|
62
62
|
declare function EmptyContent({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<'div'>):
|
|
65
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime75.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
68
68
|
//# sourceMappingURL=empty.d.mts.map
|
package/dist/ui/field.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../separator-BwZb12bh.cjs`),require(`../label-
|
|
1
|
+
"use client";require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const e=require(`../field-D1wvj5Wj.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
|
package/dist/ui/field.d.mts
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { Label } from "./label.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react1 from "react";
|
|
3
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region packages/components/ui/field.d.ts
|
|
8
|
-
declare const FieldSet:
|
|
8
|
+
declare const FieldSet: react1.MemoExoticComponent<({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"fieldset">) =>
|
|
12
|
-
declare const FieldLegend:
|
|
11
|
+
}: React.ComponentProps<"fieldset">) => react_jsx_runtime99.JSX.Element>;
|
|
12
|
+
declare const FieldLegend: react1.MemoExoticComponent<({
|
|
13
13
|
className,
|
|
14
14
|
variant,
|
|
15
15
|
...props
|
|
16
16
|
}: React.ComponentProps<"legend"> & {
|
|
17
17
|
variant?: "legend" | "label";
|
|
18
|
-
}) =>
|
|
19
|
-
declare const FieldGroup:
|
|
18
|
+
}) => react_jsx_runtime99.JSX.Element>;
|
|
19
|
+
declare const FieldGroup: react1.MemoExoticComponent<({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<"div">) =>
|
|
22
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime99.JSX.Element>;
|
|
23
23
|
declare const fieldVariants: (props?: ({
|
|
24
24
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
25
|
-
} &
|
|
26
|
-
declare const Field:
|
|
25
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
26
|
+
declare const Field: react1.MemoExoticComponent<({
|
|
27
27
|
className,
|
|
28
28
|
orientation,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
31
|
-
declare const FieldContent:
|
|
30
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime99.JSX.Element>;
|
|
31
|
+
declare const FieldContent: react1.MemoExoticComponent<({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<"div">) =>
|
|
35
|
-
declare const FieldLabel:
|
|
34
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime99.JSX.Element>;
|
|
35
|
+
declare const FieldLabel: react1.MemoExoticComponent<({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Label>) =>
|
|
39
|
-
declare const FieldTitle:
|
|
38
|
+
}: React.ComponentProps<typeof Label>) => react_jsx_runtime99.JSX.Element>;
|
|
39
|
+
declare const FieldTitle: react1.MemoExoticComponent<({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React.ComponentProps<"div">) =>
|
|
43
|
-
declare const FieldDescription:
|
|
42
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime99.JSX.Element>;
|
|
43
|
+
declare const FieldDescription: react1.MemoExoticComponent<({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<"p">) =>
|
|
47
|
-
declare const FieldSeparator:
|
|
46
|
+
}: React.ComponentProps<"p">) => react_jsx_runtime99.JSX.Element>;
|
|
47
|
+
declare const FieldSeparator: react1.MemoExoticComponent<({
|
|
48
48
|
children,
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
51
|
}: React.ComponentProps<"div"> & {
|
|
52
52
|
children?: React.ReactNode;
|
|
53
|
-
}) =>
|
|
54
|
-
declare const FieldError:
|
|
53
|
+
}) => react_jsx_runtime99.JSX.Element>;
|
|
54
|
+
declare const FieldError: react1.MemoExoticComponent<({
|
|
55
55
|
className,
|
|
56
56
|
children,
|
|
57
57
|
errors,
|
|
@@ -60,7 +60,7 @@ declare const FieldError: react9.MemoExoticComponent<({
|
|
|
60
60
|
errors?: Array<{
|
|
61
61
|
message?: string;
|
|
62
62
|
} | undefined>;
|
|
63
|
-
}) =>
|
|
63
|
+
}) => react_jsx_runtime99.JSX.Element | null>;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
66
66
|
//# sourceMappingURL=field.d.mts.map
|
package/dist/ui/field.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../separator-BMsbHAVt.mjs";import"../label-
|
|
1
|
+
"use client";import"../separator-BMsbHAVt.mjs";import"../label-COqDQDMy.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-C5HOxxiX.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime158 from "react/jsx-runtime";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
97
97
|
/**
|
|
98
98
|
* A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
|
|
99
99
|
*/
|
|
100
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
100
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime158.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { FileUploader };
|
|
103
103
|
//# sourceMappingURL=file-uploader.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime242 from "react/jsx-runtime";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
97
97
|
/**
|
|
98
98
|
* A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
|
|
99
99
|
*/
|
|
100
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
100
|
+
declare function FileUploader(props: FileUploaderProps): react_jsx_runtime242.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { FileUploader };
|
|
103
103
|
//# sourceMappingURL=file-uploader.d.mts.map
|
package/dist/ui/form.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-BwZb12bh.cjs`),require(`../label-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-BwZb12bh.cjs`),require(`../label-DYsRdKMt.cjs`);const t=require(`../field-D1wvj5Wj.cjs`);let n=require(`react`),r=require(`react/jsx-runtime`),i=require(`@customafk/react-toolkit/utils`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,r.jsx)(c.Provider,{value:{name:e.name},children:(0,r.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:i=`responsive`,...a})=>{let o=(0,n.useId)();return(0,r.jsx)(d.Provider,{value:{id:o},children:(0,r.jsx)(t.t,{orientation:i,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,r.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:i,formMessageId:o}=u();return(0,r.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${i} ${o}`:`${i}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,r.jsx)(t.r,{id:a,className:(0,i.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,r.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,i.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
|
|
2
2
|
//# sourceMappingURL=form.cjs.map
|