@customafk/lunas-ui 0.2.0 → 0.2.1
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/{button-D0YsVKtm.d.cts → button-Bji_SqMI.d.cts} +4 -4
- package/dist/button-C58TS8Pc.cjs +2 -0
- package/dist/button-C58TS8Pc.cjs.map +1 -0
- package/dist/button-DXPSlb3I.mjs +2 -0
- package/dist/button-DXPSlb3I.mjs.map +1 -0
- package/dist/{button-L3Ts3X9d.d.mts → button-PV-Xnryv.d.mts} +6 -6
- package/dist/{calendar-D3hTjPxn.mjs → calendar-CEF9LSd4.mjs} +2 -2
- package/dist/{calendar-D3hTjPxn.mjs.map → calendar-CEF9LSd4.mjs.map} +1 -1
- package/dist/{calendar-CO20ceyB.cjs → calendar-DT0NPRhB.cjs} +2 -2
- package/dist/{calendar-CO20ceyB.cjs.map → calendar-DT0NPRhB.cjs.map} +1 -1
- package/dist/cards/grid-product-card.cjs +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.cjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-COoKGA4Q.d.mts → dialog-7127ChM2.d.cts} +12 -12
- package/dist/{dialog-C3T_1iTB.d.cts → dialog-DKZ8BLxc.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/features/descriptions/index.d.cts +4 -4
- 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 +1 -1
- package/dist/features/tables/index.d.mts +1 -1
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.cjs.map +1 -1
- package/dist/features/tanstack-form/index.d.cts +224 -224
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/tanstack-form/index.mjs.map +1 -1
- package/dist/{input-C9dS5env.d.mts → input-D0enZTLC.d.cts} +5 -5
- package/dist/{input-C3M7uZqX.d.cts → input-DkvHV_UU.d.mts} +4 -4
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.cjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.cjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/NotAuthorized.cjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.cjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.d.mts +4 -4
- package/dist/typography/title.d.cts +2 -2
- 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.d.cts +5 -5
- package/dist/ui/alert.d.mts +7 -7
- 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 +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +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.cjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- 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.d.cts +24 -24
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.cjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- 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 +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- 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.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- 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.cjs +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- 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 +18 -18
- 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.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/button-6-3G2PiR.mjs +0 -2
- package/dist/button-6-3G2PiR.mjs.map +0 -1
- package/dist/button-D0WaocKO.cjs +0 -2
- package/dist/button-D0WaocKO.cjs.map +0 -1
package/dist/ui/menubar.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime201 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
5
5
|
declare function Menubar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime201.JSX.Element;
|
|
9
9
|
declare function MenubarMenu({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
11
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime201.JSX.Element;
|
|
12
12
|
declare function MenubarGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime201.JSX.Element;
|
|
15
15
|
declare function MenubarPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime201.JSX.Element;
|
|
18
18
|
declare function MenubarRadioGroup({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
20
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime201.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime201.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime201.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
@@ -37,36 +37,36 @@ declare function MenubarItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: 'default' | 'destructive';
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime201.JSX.Element;
|
|
41
41
|
declare function MenubarCheckboxItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
checked,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
46
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime201.JSX.Element;
|
|
47
47
|
declare function MenubarRadioItem({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
51
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime201.JSX.Element;
|
|
52
52
|
declare function MenubarLabel({
|
|
53
53
|
className,
|
|
54
54
|
inset,
|
|
55
55
|
...props
|
|
56
56
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
57
57
|
inset?: boolean;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime201.JSX.Element;
|
|
59
59
|
declare function MenubarSeparator({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
62
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime201.JSX.Element;
|
|
63
63
|
declare function MenubarShortcut({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'span'>):
|
|
66
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime201.JSX.Element;
|
|
67
67
|
declare function MenubarSub({
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
69
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime201.JSX.Element;
|
|
70
70
|
declare function MenubarSubTrigger({
|
|
71
71
|
className,
|
|
72
72
|
inset,
|
|
@@ -74,11 +74,11 @@ declare function MenubarSubTrigger({
|
|
|
74
74
|
...props
|
|
75
75
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
76
76
|
inset?: boolean;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime201.JSX.Element;
|
|
78
78
|
declare function MenubarSubContent({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
81
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime201.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
84
84
|
//# sourceMappingURL=menubar.d.cts.map
|
package/dist/ui/menubar.d.mts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
2
2
|
import { Menubar as Menubar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/menubar.d.ts
|
|
5
5
|
declare function Menubar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Menubar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime205.JSX.Element;
|
|
9
9
|
declare function MenubarMenu({
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<typeof Menubar$1.Menu>):
|
|
11
|
+
}: React.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime205.JSX.Element;
|
|
12
12
|
declare function MenubarGroup({
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Menubar$1.Group>):
|
|
14
|
+
}: React.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime205.JSX.Element;
|
|
15
15
|
declare function MenubarPortal({
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Menubar$1.Portal>):
|
|
17
|
+
}: React.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime205.JSX.Element;
|
|
18
18
|
declare function MenubarRadioGroup({
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<typeof Menubar$1.RadioGroup>):
|
|
20
|
+
}: React.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime205.JSX.Element;
|
|
21
21
|
declare function MenubarTrigger({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<typeof Menubar$1.Trigger>):
|
|
24
|
+
}: React.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime205.JSX.Element;
|
|
25
25
|
declare function MenubarContent({
|
|
26
26
|
className,
|
|
27
27
|
align,
|
|
28
28
|
alignOffset,
|
|
29
29
|
sideOffset,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Menubar$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime205.JSX.Element;
|
|
32
32
|
declare function MenubarItem({
|
|
33
33
|
className,
|
|
34
34
|
inset,
|
|
@@ -37,36 +37,36 @@ declare function MenubarItem({
|
|
|
37
37
|
}: React.ComponentProps<typeof Menubar$1.Item> & {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
variant?: 'default' | 'destructive';
|
|
40
|
-
}):
|
|
40
|
+
}): react_jsx_runtime205.JSX.Element;
|
|
41
41
|
declare function MenubarCheckboxItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
checked,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>):
|
|
46
|
+
}: React.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime205.JSX.Element;
|
|
47
47
|
declare function MenubarRadioItem({
|
|
48
48
|
className,
|
|
49
49
|
children,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<typeof Menubar$1.RadioItem>):
|
|
51
|
+
}: React.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime205.JSX.Element;
|
|
52
52
|
declare function MenubarLabel({
|
|
53
53
|
className,
|
|
54
54
|
inset,
|
|
55
55
|
...props
|
|
56
56
|
}: React.ComponentProps<typeof Menubar$1.Label> & {
|
|
57
57
|
inset?: boolean;
|
|
58
|
-
}):
|
|
58
|
+
}): react_jsx_runtime205.JSX.Element;
|
|
59
59
|
declare function MenubarSeparator({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React.ComponentProps<typeof Menubar$1.Separator>):
|
|
62
|
+
}: React.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime205.JSX.Element;
|
|
63
63
|
declare function MenubarShortcut({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<'span'>):
|
|
66
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime205.JSX.Element;
|
|
67
67
|
declare function MenubarSub({
|
|
68
68
|
...props
|
|
69
|
-
}: React.ComponentProps<typeof Menubar$1.Sub>):
|
|
69
|
+
}: React.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime205.JSX.Element;
|
|
70
70
|
declare function MenubarSubTrigger({
|
|
71
71
|
className,
|
|
72
72
|
inset,
|
|
@@ -74,11 +74,11 @@ declare function MenubarSubTrigger({
|
|
|
74
74
|
...props
|
|
75
75
|
}: React.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
76
76
|
inset?: boolean;
|
|
77
|
-
}):
|
|
77
|
+
}): react_jsx_runtime205.JSX.Element;
|
|
78
78
|
declare function MenubarSubContent({
|
|
79
79
|
className,
|
|
80
80
|
...props
|
|
81
|
-
}: React.ComponentProps<typeof Menubar$1.SubContent>):
|
|
81
|
+
}: React.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime205.JSX.Element;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
84
84
|
//# sourceMappingURL=menubar.d.mts.map
|
package/dist/ui/multi-select.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../heading-BEm5CCSE.cjs`),require(`../paragraph-B72bHMf7.cjs`),require(`../button.variants-rdXrPUao.cjs`);const t=require(`../button-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../heading-BEm5CCSE.cjs`),require(`../paragraph-B72bHMf7.cjs`),require(`../button.variants-rdXrPUao.cjs`);const t=require(`../button-C58TS8Pc.cjs`);require(`../close-D_Ge7gnP.cjs`),require(`../dialog-DjRiV5vR.cjs`);const n=require(`../command-_zpTaaIk.cjs`);let r=require(`@customafk/react-toolkit/utils`),i=require(`react`),a=require(`react/jsx-runtime`),o=require(`lucide-react`),s=require(`cmdk`);function c(e,t){let[n,r]=(0,i.useState)(e);return(0,i.useEffect)(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function l(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function u(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function d(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const f=(0,i.forwardRef)(({className:e,...t},n)=>(0,s.useCommandState)(e=>e.filtered.count===0)?(0,a.jsx)(`div`,{ref:n,className:(0,r.cn)(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);f.displayName=`CommandEmpty`;const p=(0,i.forwardRef)(({value:e,onChange:p,placeholder:m,defaultOptions:h=[],options:g,delay:_,onSearch:v,onSearchSync:y,loadingIndicator:b,emptyIndicator:x,maxSelected:S=2**53-1,onMaxSelected:C,hidePlaceholderWhenSelected:w,disabled:T,groupBy:E,className:D,badgeClassName:O,selectFirstItem:k=!0,creatable:A=!1,triggerSearchOnFocus:j=!1,commandProps:M,inputProps:N,hideClearAllButton:P=!1,onAddNewItem:F},I)=>{let L=(0,i.useRef)(null),R=(0,i.useRef)(null),[z,B]=(0,i.useState)(!1),[V,H]=(0,i.useState)(!1),[U,W]=(0,i.useState)(!1),[G,K]=(0,i.useState)(e||[]),[q,J]=(0,i.useState)(l(h,E)),[Y,X]=(0,i.useState)(``),Z=c(Y,_||500);(0,i.useImperativeHandle)(I,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=(0,i.useCallback)(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=(0,i.useCallback)(e=>{let t=G.filter(t=>t.value!==e.value);K(t),p?.(t)},[p,G]),ee=(0,i.useCallback)(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);(0,i.useEffect)(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),(0,i.useEffect)(()=>{e&&K(e)},[e]),(0,i.useEffect)(()=>{if(!g||v)return;let e=l(g||[],E);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[h,g,E,v,q]),(0,i.useEffect)(()=>{let e=()=>{let e=y?.(Z);J(l(e||[],E))};(async()=>{!y||!z||(j&&e(),Z&&e())})()},[Z,E,z,j]),(0,i.useEffect)(()=>{let e=async()=>{W(!0),J(l(await v?.(Z)||[],E)),W(!1)};(async()=>{!v||!z||(j&&await e(),Z&&await e())})()},[Z,E,z,j]);let te=()=>{if(!A||d(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=(0,a.jsx)(n.o,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=S){C?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),p?.(t)},children:`Create "${Y}"`});if(!v&&Y.length>0||v&&Z.length>0&&!U)return e},ne=(0,i.useCallback)(()=>{if(x)return v&&!A&&Object.keys(q).length===0?(0,a.jsx)(n.o,{value:`-`,disabled:!0,children:x}):(0,a.jsx)(f,{children:x})},[A,x,v,q]),re=(0,i.useMemo)(()=>u(q,G),[q,G]),ie=(0,i.useCallback)(()=>{if(M?.filter)return M.filter;if(A)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[A,M?.filter]);return(0,a.jsxs)(n.t,{ref:R,...M,onKeyDown:e=>{ee(e),M?.onKeyDown?.(e)},className:(0,r.cn)(`h-auto overflow-visible bg-transparent`,M?.className),shouldFilter:M?.shouldFilter===void 0?!v:M.shouldFilter,filter:ie(),children:[(0,a.jsx)(`div`,{className:(0,r.cn)(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!T&&G.length!==0&&`cursor-text`,!P&&`pe-9`,D),onClick:()=>{T||L?.current?.focus()},children:(0,a.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>(0,a.jsxs)(`div`,{className:(0,r.cn)(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,O),"data-fixed":e.fixed,"data-disabled":T||void 0,children:[e.label,(0,a.jsx)(`button`,{type:`button`,disabled:T||e.fixed,className:(0,r.cn)(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:(0,a.jsx)(o.X,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),(0,a.jsx)(s.Command.Input,{...N,ref:L,value:Y,disabled:T,onValueChange:e=>{X(e),N?.onValueChange?.(e)},onBlur:e=>{V||B(!1),N?.onBlur?.(e)},onFocus:e=>{B(!0),j&&v?.(Z),N?.onFocus?.(e)},placeholder:w&&G.length!==0?``:m,className:(0,r.cn)(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":w,"px-3 py-2":G.length===0,"ml-1":G.length!==0},N?.className)}),(0,a.jsx)(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),p?.(G.filter(e=>e.fixed))},className:(0,r.cn)(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(P||T||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:(0,a.jsx)(o.X,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),(0,a.jsx)(`div`,{className:`relative`,children:(0,a.jsx)(`div`,{className:(0,r.cn)(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-lg`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-95`,`data-[state=open]:zoom-in-95`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&(0,a.jsxs)(n.s,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[F&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.c,{}),(0,a.jsx)(n.i,{children:(0,a.jsxs)(t.t,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:F,children:[(0,a.jsx)(o.PlusIcon,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?b:(0,a.jsxs)(a.Fragment,{children:[ne(),te(),!k&&(0,a.jsx)(n.o,{value:`-`,className:`hidden`}),Object.entries(re).map(([e,t])=>(0,a.jsx)(n.i,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>(0,a.jsx)(n.o,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=S){C?.(G.length);return}let t=[...G,e];X(``),K(t),p?.(t)},className:(0,r.cn)(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});p.displayName=`MultipleSelector`,exports.MultipleSelector=p,exports.useDebounce=c;
|
|
2
2
|
//# sourceMappingURL=multi-select.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../dialog-
|
|
1
|
+
import "../dialog-DKZ8BLxc.mjs";
|
|
2
2
|
import { Command as Command$1 } from "./command.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react26 from "react";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/multi-select.d.ts
|
|
@@ -75,7 +75,7 @@ interface MultipleSelectorRef {
|
|
|
75
75
|
reset: () => void;
|
|
76
76
|
}
|
|
77
77
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
78
|
-
declare const MultipleSelector:
|
|
78
|
+
declare const MultipleSelector: react26.ForwardRefExoticComponent<MultipleSelectorProps & react26.RefAttributes<MultipleSelectorRef>>;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { MultipleSelector, MultipleSelectorRef, Option, useDebounce };
|
|
81
81
|
//# sourceMappingURL=multi-select.d.mts.map
|
package/dist/ui/multi-select.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../heading--VmdIi7C.mjs";import"../paragraph-moBSTPmT.mjs";import"../button.variants-DuuH1O0_.mjs";import{t as e}from"../button-
|
|
1
|
+
"use client";import"../heading--VmdIi7C.mjs";import"../paragraph-moBSTPmT.mjs";import"../button.variants-DuuH1O0_.mjs";import{t as e}from"../button-DXPSlb3I.mjs";import"../close-DfuHB7kq.mjs";import"../dialog-CxELDK98.mjs";import{c as t,i as n,o as r,s as ee,t as te}from"../command-DhBTNTqz.mjs";import{cn as i}from"@customafk/react-toolkit/utils";import{forwardRef as a,useCallback as o,useEffect as s,useImperativeHandle as c,useMemo as ne,useRef as l,useState as u}from"react";import{Fragment as d,jsx as f,jsxs as p}from"react/jsx-runtime";import{PlusIcon as re,X as m}from"lucide-react";import{Command as ie,useCommandState as h}from"cmdk";function g(e,t){let[n,r]=u(e);return s(()=>{let n=setTimeout(()=>r(e),t||500);return()=>{clearTimeout(n)}},[e,t]),n}function _(e,t){if(e.length===0)return{};if(!t)return{"":e};let n={};return e.forEach(e=>{let r=e[t]||``;n[r]||(n[r]=[]),n[r].push(e)}),n}function ae(e,t){let n=JSON.parse(JSON.stringify(e));for(let[e,r]of Object.entries(n))n[e]=r.filter(e=>!t.find(t=>t.value===e.value));return n}function oe(e,t){for(let[,n]of Object.entries(e))if(n.some(e=>t.find(t=>t.value===e.value)))return!0;return!1}const v=a(({className:e,...t},n)=>h(e=>e.filtered.count===0)?f(`div`,{ref:n,className:i(`px-2 py-4 text-center text-sm`,e),"cmdk-empty":``,role:`presentation`,...t}):null);v.displayName=`CommandEmpty`;const y=a(({value:a,onChange:h,placeholder:y,defaultOptions:b=[],options:x,delay:se,onSearch:S,onSearchSync:C,loadingIndicator:w,emptyIndicator:T,maxSelected:E=2**53-1,onMaxSelected:D,hidePlaceholderWhenSelected:O,disabled:k,groupBy:A,className:ce,badgeClassName:le,selectFirstItem:ue=!0,creatable:j=!1,triggerSearchOnFocus:M=!1,commandProps:N,inputProps:P,hideClearAllButton:F=!1,onAddNewItem:I},de)=>{let L=l(null),R=l(null),[z,B]=u(!1),[V,H]=u(!1),[U,W]=u(!1),[G,K]=u(a||[]),[q,J]=u(_(b,A)),[Y,X]=u(``),Z=g(Y,se||500);c(de,()=>({selectedValue:[...G],input:L.current,focus:()=>L?.current?.focus(),reset:()=>K([])}),[G]);let Q=o(e=>{R.current&&!R.current.contains(e.target)&&L.current&&!L.current.contains(e.target)&&(B(!1),L.current.blur())},[]),$=o(e=>{let t=G.filter(t=>t.value!==e.value);K(t),h?.(t)},[h,G]),fe=o(e=>{let t=L.current;t&&((e.key===`Delete`||e.key===`Backspace`)&&t.value===``&&G.length>0&&(G[G.length-1].fixed||$(G[G.length-1])),e.key===`Escape`&&t.blur())},[$,G]);s(()=>(z?(document.addEventListener(`mousedown`,Q),document.addEventListener(`touchend`,Q)):(document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)),()=>{document.removeEventListener(`mousedown`,Q),document.removeEventListener(`touchend`,Q)}),[z]),s(()=>{a&&K(a)},[a]),s(()=>{if(!x||S)return;let e=_(x||[],A);JSON.stringify(e)!==JSON.stringify(q)&&J(e)},[b,x,A,S,q]),s(()=>{let e=()=>{let e=C?.(Z);J(_(e||[],A))};(async()=>{!C||!z||(M&&e(),Z&&e())})()},[Z,A,z,M]),s(()=>{let e=async()=>{W(!0),J(_(await S?.(Z)||[],A)),W(!1)};(async()=>{!S||!z||(M&&await e(),Z&&await e())})()},[Z,A,z,M]);let pe=()=>{if(!j||oe(q,[{value:Y,label:Y}])||G.find(e=>e.value===Y))return;let e=f(r,{value:Y,className:`cursor-pointer`,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:e=>{if(G.length>=E){D?.(G.length);return}X(``);let t=[...G,{value:e,label:e}];K(t),h?.(t)},children:`Create "${Y}"`});if(!S&&Y.length>0||S&&Z.length>0&&!U)return e},me=o(()=>{if(T)return S&&!j&&Object.keys(q).length===0?f(r,{value:`-`,disabled:!0,children:T}):f(v,{children:T})},[j,T,S,q]),he=ne(()=>ae(q,G),[q,G]),ge=o(()=>{if(N?.filter)return N.filter;if(j)return(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:-1},[j,N?.filter]);return p(te,{ref:R,...N,onKeyDown:e=>{fe(e),N?.onKeyDown?.(e)},className:i(`h-auto overflow-visible bg-transparent`,N?.className),shouldFilter:N?.shouldFilter===void 0?!S:N.shouldFilter,filter:ge(),children:[f(`div`,{className:i(`border-border-weak relative rounded-md border text-sm transition-shadow`,`focus-within:border-primary`,`focus-within:ring-primary-weak`,`focus-within:ring-4`,`focus-within:outline-hidden`,`has-disabled:bg-muted`,`has-disabled:text-muted-foreground`,G.length!==0&&`p-1`,!k&&G.length!==0&&`cursor-text`,!F&&`pe-9`,ce),onClick:()=>{k||L?.current?.focus()},children:p(`div`,{className:`flex flex-wrap gap-1`,children:[G.map(e=>p(`div`,{className:i(`animate-fadeIn`,`bg-background`,`hover:bg-background`,`border-border-weak border border-solid`,`text-text-positive-weak relative inline-flex h-7 cursor-default items-center rounded-md ps-2 pe-7 pl-2 text-xs font-medium transition-all`,`disabled:cursor-not-allowed`,`disabled:opacity-50`,`data-fixed:pe-2`,le),"data-fixed":e.fixed,"data-disabled":k||void 0,children:[e.label,f(`button`,{type:`button`,disabled:k||e.fixed,className:i(`text-text-positive-muted absolute -inset-y-px -end-px flex size-7 items-center justify-center rounded-e-lg border border-transparent p-0 outline-0 transition-colors`,`hover:text-foreground`,`focus-visible:outline`,`focus-visible:outline-2`,`focus-visible:outline-primary-weak`,`disabled:hover:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`),onKeyDown:t=>{t.key===`Enter`&&$(e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:()=>$(e),"aria-label":`Remove`,children:f(m,{size:14,strokeWidth:2,"aria-hidden":`true`})})]},e.value)),f(ie.Input,{...P,ref:L,value:Y,disabled:k,onValueChange:e=>{X(e),P?.onValueChange?.(e)},onBlur:e=>{V||B(!1),P?.onBlur?.(e)},onFocus:e=>{B(!0),M&&S?.(Z),P?.onFocus?.(e)},placeholder:O&&G.length!==0?``:y,className:i(`placeholder:text-text-positive-muted flex-1 bg-transparent outline-hidden`,`disabled:placeholder:text-transparent`,{"w-full":O,"px-3 py-2":G.length===0,"ml-1":G.length!==0},P?.className)}),f(`button`,{type:`button`,onClick:()=>{K(G.filter(e=>e.fixed)),h?.(G.filter(e=>e.fixed))},className:i(`text-muted-foreground/80`,`absolute end-0 top-0 flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors`,`focus-visible:outline-2`,`hover:text-text-positive`,`focus-visible:outline-primary-weak`,(F||k||G.length<1||G.filter(({fixed:e})=>e).length===G.length)&&`hidden`),"aria-label":`Clear all`,children:f(m,{size:16,strokeWidth:2,"aria-hidden":`true`})})]})}),f(`div`,{className:`relative`,children:f(`div`,{className:i(`shadow-dropdown absolute top-2 z-10 w-full overflow-hidden rounded-lg`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,`data-[state=closed]:zoom-out-95`,`data-[state=open]:zoom-in-95`,!z&&`hidden`),"data-state":z?`open`:`closed`,children:z&&p(ee,{className:`shadow-lg outline-hidden`,onMouseLeave:()=>{H(!1)},onMouseEnter:()=>{H(!0)},onMouseUp:()=>{L?.current?.focus()},children:[I&&p(d,{children:[f(t,{}),f(n,{children:p(e,{type:`button`,variant:`ghost`,className:`w-full font-normal [&_div]:justify-start`,onClick:I,children:[f(re,{size:14,className:`opacity-60`,"aria-hidden":`true`}),`Thêm mới`]})})]}),U?w:p(d,{children:[me(),pe(),!ue&&f(r,{value:`-`,className:`hidden`}),Object.entries(he).map(([e,t])=>f(n,{heading:e,className:`h-full overflow-auto`,children:t.map(e=>f(r,{value:e.value,disabled:e.disable,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onSelect:()=>{if(G.length>=E){D?.(G.length);return}let t=[...G,e];X(``),K(t),h?.(t)},className:i(`cursor-pointer`,e.disable&&`cursor-not-allowed opacity-50`),children:e.label},e.value))},e))]})]})})})]})});y.displayName=`MultipleSelector`;export{y as MultipleSelector,g as useDebounce};
|
|
2
2
|
//# sourceMappingURL=multi-select.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime160 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime160.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime160.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
22
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime160.JSX.Element;
|
|
22
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types8.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime160.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime160.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime160.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime160.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime160.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime197 from "react/jsx-runtime";
|
|
2
2
|
import { NavigationMenu as NavigationMenu$1 } from "radix-ui";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types9 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/navigation-menu.d.ts
|
|
6
6
|
declare function NavigationMenu({
|
|
@@ -10,37 +10,37 @@ declare function NavigationMenu({
|
|
|
10
10
|
...props
|
|
11
11
|
}: React.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
12
12
|
viewport?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime197.JSX.Element;
|
|
14
14
|
declare function NavigationMenuList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof NavigationMenu$1.List>):
|
|
17
|
+
}: React.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime197.JSX.Element;
|
|
18
18
|
declare function NavigationMenuItem({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Item>):
|
|
22
|
-
declare const navigationMenuTriggerStyle: (props?:
|
|
21
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime197.JSX.Element;
|
|
22
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types9.ClassProp | undefined) => string;
|
|
23
23
|
declare function NavigationMenuTrigger({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime197.JSX.Element;
|
|
28
28
|
declare function NavigationMenuContent({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime197.JSX.Element;
|
|
32
32
|
declare function NavigationMenuViewport({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>):
|
|
35
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime197.JSX.Element;
|
|
36
36
|
declare function NavigationMenuLink({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Link>):
|
|
39
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime197.JSX.Element;
|
|
40
40
|
declare function NavigationMenuIndicator({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>):
|
|
43
|
+
}: React.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime197.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
46
46
|
//# sourceMappingURL=navigation-menu.d.mts.map
|
package/dist/ui/pagination.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-Bji_SqMI.cjs";
|
|
2
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime153.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime153.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime153.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime153.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime153.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime153.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime153.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.cts.map
|
package/dist/ui/pagination.d.mts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-PV-Xnryv.mjs";
|
|
2
|
+
import * as react_jsx_runtime190 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/pagination.d.ts
|
|
5
5
|
declare function Pagination({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<'nav'>):
|
|
8
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime190.JSX.Element;
|
|
9
9
|
declare function PaginationContent({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<'ul'>):
|
|
12
|
+
}: React.ComponentProps<'ul'>): react_jsx_runtime190.JSX.Element;
|
|
13
13
|
declare function PaginationItem({
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'li'>):
|
|
15
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime190.JSX.Element;
|
|
16
16
|
type PaginationLinkProps = {
|
|
17
17
|
isActive?: boolean;
|
|
18
18
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
@@ -21,19 +21,19 @@ declare function PaginationLink({
|
|
|
21
21
|
isActive,
|
|
22
22
|
size,
|
|
23
23
|
...props
|
|
24
|
-
}: PaginationLinkProps):
|
|
24
|
+
}: PaginationLinkProps): react_jsx_runtime190.JSX.Element;
|
|
25
25
|
declare function PaginationPrevious({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
28
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime190.JSX.Element;
|
|
29
29
|
declare function PaginationNext({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<typeof PaginationLink>):
|
|
32
|
+
}: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime190.JSX.Element;
|
|
33
33
|
declare function PaginationEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<'span'>):
|
|
36
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime190.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
39
39
|
//# sourceMappingURL=pagination.d.mts.map
|
package/dist/ui/popover.d.cts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime178 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime178.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime178.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime178.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime178.JSX.Element;
|
|
20
20
|
declare function PopoverClose({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Popover$1.Close>):
|
|
23
|
+
}: React.ComponentProps<typeof Popover$1.Close>): react_jsx_runtime178.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
|
26
26
|
//# sourceMappingURL=popover.d.cts.map
|
package/dist/ui/popover.d.mts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime182 from "react/jsx-runtime";
|
|
2
2
|
import { Popover as Popover$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/popover.d.ts
|
|
5
5
|
declare function Popover({
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<typeof Popover$1.Root>):
|
|
7
|
+
}: React.ComponentProps<typeof Popover$1.Root>): react_jsx_runtime182.JSX.Element;
|
|
8
8
|
declare function PopoverTrigger({
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<typeof Popover$1.Trigger>):
|
|
10
|
+
}: React.ComponentProps<typeof Popover$1.Trigger>): react_jsx_runtime182.JSX.Element;
|
|
11
11
|
declare function PopoverContent({
|
|
12
12
|
className,
|
|
13
13
|
align,
|
|
14
14
|
sideOffset,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Popover$1.Content>):
|
|
16
|
+
}: React.ComponentProps<typeof Popover$1.Content>): react_jsx_runtime182.JSX.Element;
|
|
17
17
|
declare function PopoverAnchor({
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<typeof Popover$1.Anchor>):
|
|
19
|
+
}: React.ComponentProps<typeof Popover$1.Anchor>): react_jsx_runtime182.JSX.Element;
|
|
20
20
|
declare function PopoverClose({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Popover$1.Close>):
|
|
23
|
+
}: React.ComponentProps<typeof Popover$1.Close>): react_jsx_runtime182.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
|
|
26
26
|
//# sourceMappingURL=popover.d.mts.map
|
package/dist/ui/progress.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime200 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime200.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.cts.map
|
package/dist/ui/progress.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime187 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/progress.d.ts
|
|
@@ -6,7 +6,7 @@ declare function Progress({
|
|
|
6
6
|
className,
|
|
7
7
|
value,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Progress$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Progress$1.Root>): react_jsx_runtime187.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Progress };
|
|
12
12
|
//# sourceMappingURL=progress.d.mts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime274 from "react/jsx-runtime";
|
|
2
2
|
import { RadioGroup as RadioGroup$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/radio-group.d.ts
|
|
5
5
|
declare function RadioGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof RadioGroup$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime274.JSX.Element;
|
|
9
9
|
declare function RadioGroupItem({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof RadioGroup$1.Item>):
|
|
12
|
+
}: React.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime274.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { RadioGroup, RadioGroupItem };
|
|
15
15
|
//# sourceMappingURL=radio-group.d.cts.map
|