@oneplatformdev/ui 0.1.10-0 → 0.1.10-3
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/CHANGELOG.md +24 -0
- package/package.json +14 -8
- package/{index.js → ui.js} +87 -87
- package/{Badge/Badge.js → ui12.js} +1 -1
- package/{Button/Button.js → ui15.js} +5 -6
- package/{ButtonIcon/ButtonIcon.js → ui17.js} +4 -5
- package/{Calendar/Calendar.js → ui19.js} +1 -2
- package/{Carousel/Carousel.js → ui21.js} +6 -7
- package/{Checkbox/Checkbox.js → ui23.js} +18 -19
- package/{Combobox/Combobox.js → ui25.js} +36 -38
- package/{Command/Command.js → ui26.js} +19 -20
- package/{DataTable/DataTable.js → ui27.js} +12 -13
- package/{DatePicker/DatePicker.js → ui28.js} +15 -16
- package/{Dialog/Dialog.js → ui29.js} +1 -1
- package/{DropdownMenu/DropdownMenu.js → ui32.js} +5 -5
- package/{Form/Form.js → ui33.js} +8 -9
- package/{Form/FormRenderControl.js → ui34.js} +1 -1
- package/{FormCheckbox/FormCheckbox.js → ui35.js} +5 -5
- package/{FormCombobox/FormCombobox.js → ui36.js} +5 -5
- package/{FormDatePicker/FormDatePicker.js → ui37.js} +5 -5
- package/{FormInput/FormInput.js → ui38.js} +7 -7
- package/ui39.js +39 -0
- package/{Alert/Alert.js → ui4.js} +1 -1
- package/{FormTextarea/FormTextarea.js → ui40.js} +5 -5
- package/{Header/Header.js → ui41.js} +2 -2
- package/{Input/Input.js → ui43.js} +1 -1
- package/{Label/Label.js → ui45.js} +1 -1
- package/ui47.js +7 -0
- package/{LoadingMask/LoadingMask.js → ui49.js} +1 -1
- package/{AlertDialog/AlertDialogRoot.js → ui5.js} +32 -33
- package/{LoadingProgress/LoadingProgress.js → ui51.js} +1 -1
- package/{Menubar/Menubar.js → ui53.js} +4 -4
- package/{NavigationMenu/NavigationMenu.js → ui54.js} +1 -1
- package/{Pagination/Pagination.js → ui56.js} +1 -2
- package/{Popover/Popover.js → ui57.js} +1 -1
- package/{RadioGroup/RadioGroup.js → ui59.js} +1 -1
- package/{AlertDialog/AlertDialog.js → ui6.js} +1 -1
- package/{Search/Search.js → ui62.js} +9 -9
- package/{Select/SelectRoot.js → ui63.js} +3 -3
- package/{Select/Select.js → ui64.js} +24 -25
- package/{Sidebar/Sidebar.js → ui67.js} +15 -16
- package/{AreaChart/AreaChart.js → ui7.js} +1 -1
- package/{Tabs/Tabs.js → ui74.js} +1 -1
- package/{Textarea/Textarea.js → ui75.js} +1 -1
- package/{Theme/ThemeModeToggle.js → ui77.js} +5 -6
- package/{Toast/Toast.js → ui78.js} +1 -1
- package/{Aside/Aside.js → ui8.js} +1 -1
- package/{Toaster/Toaster.js → ui80.js} +2 -2
- package/{ToggleGroup/ToggleGroup.js → ui82.js} +1 -1
- package/{Tooltip/Tooltip.js → ui84.js} +1 -1
- package/{Dropzone/Dropzone.js → ui85.js} +5 -5
- package/ui87.js +19 -0
- package/{TablePagination/TablePagination.js → ui88.js} +14 -16
- package/{Aside/AsideSidebar.js → ui9.js} +1 -1
- package/ui91.js +63 -0
- package/{Dropzone/DropzoneFilePreview.js → ui93.js} +2 -2
- package/{Dropzone/DropzoneSinglePickPreview.js → ui94.js} +1 -1
- package/ui98.js +47 -0
- package/Accordion/index.js +0 -7
- package/Alert/index.js +0 -6
- package/AlertDialog/AlertDialog.stories.js +0 -121
- package/AlertDialog/AlertDialog.types.js +0 -1
- package/AlertDialog/index.js +0 -16
- package/AreaChart/AreaChart.types.js +0 -1
- package/AreaChart/index.js +0 -4
- package/Aside/Aside.types.js +0 -1
- package/Aside/index.js +0 -7
- package/AspectRatio/index.js +0 -5
- package/Avatar/index.js +0 -6
- package/Badge/Badge.types.js +0 -1
- package/Badge/index.js +0 -6
- package/Breadcrumb/index.js +0 -10
- package/Button/Button.stories.js +0 -20
- package/Button/Button.types.js +0 -1
- package/Button/index.js +0 -7
- package/ButtonIcon/ButtonIcon.stories.js +0 -126
- package/ButtonIcon/ButtonIcon.types.js +0 -1
- package/ButtonIcon/index.js +0 -7
- package/Calendar/index.js +0 -4
- package/Card/index.js +0 -9
- package/Carousel/index.js +0 -8
- package/Chart/index.js +0 -9
- package/Checkbox/Checkbox.types.js +0 -1
- package/Checkbox/index.js +0 -5
- package/Collapsible/index.js +0 -6
- package/Combobox/Combobox.types.js +0 -1
- package/Combobox/ComboboxOptionItem.js +0 -108
- package/Combobox/ComboboxOptions.js +0 -64
- package/Combobox/index.js +0 -4
- package/Command/index.js +0 -12
- package/DataTable/DataTable.types.js +0 -1
- package/DataTable/DataTableColumnFilter.js +0 -31
- package/DataTable/index.js +0 -4
- package/DataTable/useDataTable.js +0 -30
- package/DatePicker/DatePicker.types.js +0 -1
- package/DatePicker/index.js +0 -5
- package/Dialog/index.js +0 -17
- package/Drawer/index.js +0 -13
- package/DropdownMenu/index.js +0 -18
- package/Dropzone/index.js +0 -7
- package/Form/FormRenderControl.types.js +0 -1
- package/Form/index.js +0 -13
- package/FormCheckbox/FormCheckbox.types.js +0 -1
- package/FormCheckbox/index.js +0 -4
- package/FormCombobox/FormCombobox.types.js +0 -1
- package/FormCombobox/index.js +0 -4
- package/FormDatePicker/FormDatePicker.types.js +0 -1
- package/FormDatePicker/index.js +0 -5
- package/FormDropzone/FormDropzone.js +0 -19
- package/FormDropzone/FormDropzone.types.js +0 -1
- package/FormDropzone/index.js +0 -4
- package/FormInput/FormInput.types.js +0 -1
- package/FormInput/index.js +0 -4
- package/FormRadio/FormRadio.js +0 -40
- package/FormRadio/FormRadio.types.js +0 -1
- package/FormRadio/index.js +0 -4
- package/FormSelect/FormSelect.js +0 -40
- package/FormSelect/FormSelect.types.js +0 -1
- package/FormSelect/index.js +0 -4
- package/FormTextarea/FormTextarea.types.js +0 -1
- package/FormTextarea/index.js +0 -4
- package/Header/Header.types.js +0 -1
- package/Header/index.js +0 -5
- package/HoverCard/index.js +0 -6
- package/Input/Input.types.js +0 -1
- package/Input/index.js +0 -7
- package/InputOTP/index.js +0 -7
- package/Label/index.js +0 -6
- package/LazyLoader/LazyLoader.js +0 -8
- package/LazyLoader/index.js +0 -5
- package/LoadedIcon/index.js +0 -4
- package/LoadingMask/LoadingMask.types.js +0 -1
- package/LoadingMask/index.js +0 -6
- package/LoadingProgress/LoadingProgress.types.js +0 -1
- package/LoadingProgress/index.js +0 -6
- package/Menubar/index.js +0 -19
- package/NavigationMenu/index.js +0 -13
- package/Pagination/index.js +0 -10
- package/Popover/index.js +0 -7
- package/Progress/index.js +0 -4
- package/Radio/Radio.js +0 -12
- package/Radio/Radio.types.js +0 -1
- package/Radio/index.js +0 -4
- package/RadioGroup/index.js +0 -6
- package/Resizable/index.js +0 -6
- package/ScrollArea/index.js +0 -5
- package/Search/Search.types.js +0 -1
- package/Search/index.js +0 -5
- package/Select/Select.stories.js +0 -41
- package/Select/Select.types.js +0 -1
- package/Select/index.js +0 -15
- package/Separator/index.js +0 -4
- package/Sheet/index.js +0 -13
- package/Sidebar/index.js +0 -27
- package/Skeleton/index.js +0 -4
- package/Slider/index.js +0 -4
- package/Sonner/index.js +0 -4
- package/Switch/index.js +0 -4
- package/Table/index.js +0 -11
- package/TablePagination/index.js +0 -4
- package/Tabs/Tabs.types.js +0 -1
- package/Tabs/index.js +0 -10
- package/Textarea/Textarea.types.js +0 -1
- package/Textarea/index.js +0 -4
- package/Theme/index.js +0 -6
- package/Toast/Toast.types.js +0 -1
- package/Toast/index.js +0 -15
- package/Toast/toast.constants.js +0 -9
- package/Toaster/index.js +0 -4
- package/Toggle/index.js +0 -5
- package/ToggleGroup/index.js +0 -5
- package/Tooltip/Tooltip.types.js +0 -1
- package/Tooltip/index.js +0 -9
- /package/{AspectRatio/AspectRatio.js → ui10.js} +0 -0
- /package/{Avatar/Avatar.js → ui11.js} +0 -0
- /package/{Badge/badgeVariants.js → ui13.js} +0 -0
- /package/{Breadcrumb/Breadcrumb.js → ui14.js} +0 -0
- /package/{Button/buttonVariants.js → ui16.js} +0 -0
- /package/{ButtonIcon/buttonIconVariants.js → ui18.js} +0 -0
- /package/{Card/Card.js → ui20.js} +0 -0
- /package/{Chart/Chart.js → ui22.js} +0 -0
- /package/{Collapsible/Collapsible.js → ui24.js} +0 -0
- /package/{Accordion/Accordion.js → ui3.js} +0 -0
- /package/{Dialog/DialogOverlayScope.js → ui30.js} +0 -0
- /package/{Drawer/Drawer.js → ui31.js} +0 -0
- /package/{HoverCard/HoverCard.js → ui42.js} +0 -0
- /package/{InputOTP/InputOTP.js → ui44.js} +0 -0
- /package/{Label/labelVariants.js → ui46.js} +0 -0
- /package/{LoadedIcon/LoadedIcon.js → ui48.js} +0 -0
- /package/{LoadingMask/RenderLoadingMask.js → ui50.js} +0 -0
- /package/{LoadingProgress/loadingProgressVariants.js → ui52.js} +0 -0
- /package/{NavigationMenu/navigationMenuVariants.js → ui55.js} +0 -0
- /package/{Progress/Progress.js → ui58.js} +0 -0
- /package/{Resizable/Resizable.js → ui60.js} +0 -0
- /package/{ScrollArea/ScrollArea.js → ui61.js} +0 -0
- /package/{Separator/Separator.js → ui65.js} +0 -0
- /package/{Sheet/Sheet.js → ui66.js} +0 -0
- /package/{Skeleton/Skeleton.js → ui68.js} +0 -0
- /package/{Slider/Slider.js → ui69.js} +0 -0
- /package/{Sonner/Sonner.js → ui70.js} +0 -0
- /package/{Switch/Switch.js → ui71.js} +0 -0
- /package/{Table/Table.js → ui72.js} +0 -0
- /package/{Tabs/TabsRoot.js → ui73.js} +0 -0
- /package/{Theme/ThemeProvider.js → ui76.js} +0 -0
- /package/{Toast/useToast.js → ui79.js} +0 -0
- /package/{Toggle/Toggle.js → ui81.js} +0 -0
- /package/{Tooltip/TooltipRoot.js → ui83.js} +0 -0
- /package/{Dropzone/Dropzone.types.js → ui86.js} +0 -0
- /package/{Alert/alertVariants.js → ui89.js} +0 -0
- /package/{Input/inputVariants.js → ui90.js} +0 -0
- /package/{Toast/toastVariants.js → ui92.js} +0 -0
- /package/{Dropzone/DropzoneUtils.js → ui95.js} +0 -0
- /package/{Textarea/useAutosizeTextArea.js → ui96.js} +0 -0
- /package/{packages/hooks/src/useIsMobile/useIsMobile.js → ui97.js} +0 -0
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as c } from "react";
|
|
3
|
-
/* empty css */
|
|
4
|
-
import "../Accordion/Accordion.js";
|
|
5
|
-
import "../Alert/Alert.js";
|
|
6
|
-
import "../AlertDialog/AlertDialogRoot.js";
|
|
7
|
-
import { cn as m } from "@oneplatformdev/utils";
|
|
8
|
-
import "recharts";
|
|
9
|
-
import "../Chart/Chart.js";
|
|
10
|
-
import "../Sidebar/Sidebar.js";
|
|
11
|
-
import "@radix-ui/react-aspect-ratio";
|
|
12
|
-
import "../Avatar/Avatar.js";
|
|
13
|
-
import "../Badge/badgeVariants.js";
|
|
14
|
-
import "../Breadcrumb/Breadcrumb.js";
|
|
15
|
-
import "../Button/Button.js";
|
|
16
|
-
import "../Button/buttonVariants.js";
|
|
17
|
-
import "../ButtonIcon/ButtonIcon.js";
|
|
18
|
-
import "../ButtonIcon/buttonIconVariants.js";
|
|
19
|
-
import "../Calendar/Calendar.js";
|
|
20
|
-
import "../Card/Card.js";
|
|
21
|
-
import "../Carousel/Carousel.js";
|
|
22
|
-
import "../Checkbox/Checkbox.js";
|
|
23
|
-
import "@radix-ui/react-collapsible";
|
|
24
|
-
import "./Combobox.js";
|
|
25
|
-
import { CommandItem as f } from "../Command/Command.js";
|
|
26
|
-
import "../DropdownMenu/DropdownMenu.js";
|
|
27
|
-
import "../Table/Table.js";
|
|
28
|
-
import "@tanstack/react-table";
|
|
29
|
-
import { Check as d } from "lucide-react";
|
|
30
|
-
import "../DatePicker/DatePicker.js";
|
|
31
|
-
import "../Dialog/Dialog.js";
|
|
32
|
-
import "../Dialog/DialogOverlayScope.js";
|
|
33
|
-
import "../Drawer/Drawer.js";
|
|
34
|
-
import "../Form/Form.js";
|
|
35
|
-
import "../FormInput/FormInput.js";
|
|
36
|
-
import "../Select/SelectRoot.js";
|
|
37
|
-
import "../Textarea/Textarea.js";
|
|
38
|
-
import "../Separator/Separator.js";
|
|
39
|
-
import "../HoverCard/HoverCard.js";
|
|
40
|
-
import "../Input/Input.js";
|
|
41
|
-
import "../InputOTP/InputOTP.js";
|
|
42
|
-
import "../Label/Label.js";
|
|
43
|
-
import "../Label/labelVariants.js";
|
|
44
|
-
import "../LoadingMask/RenderLoadingMask.js";
|
|
45
|
-
import "../LoadedIcon/LoadedIcon.js";
|
|
46
|
-
import "../LoadingProgress/loadingProgressVariants.js";
|
|
47
|
-
import "../Menubar/Menubar.js";
|
|
48
|
-
import "../NavigationMenu/NavigationMenu.js";
|
|
49
|
-
import "../NavigationMenu/navigationMenuVariants.js";
|
|
50
|
-
import "../Pagination/Pagination.js";
|
|
51
|
-
import "../Popover/Popover.js";
|
|
52
|
-
import "../Progress/Progress.js";
|
|
53
|
-
import "../RadioGroup/RadioGroup.js";
|
|
54
|
-
import "react-resizable-panels";
|
|
55
|
-
import "../ScrollArea/ScrollArea.js";
|
|
56
|
-
import "@oneplatformdev/hooks";
|
|
57
|
-
import "../Sheet/Sheet.js";
|
|
58
|
-
import "../Slider/Slider.js";
|
|
59
|
-
import "next-themes";
|
|
60
|
-
import "sonner";
|
|
61
|
-
import "../Switch/Switch.js";
|
|
62
|
-
import "../Tabs/TabsRoot.js";
|
|
63
|
-
import "../Toast/Toast.js";
|
|
64
|
-
import "../Toggle/Toggle.js";
|
|
65
|
-
import "../ToggleGroup/ToggleGroup.js";
|
|
66
|
-
import "../Tooltip/TooltipRoot.js";
|
|
67
|
-
import "../Dropzone/Dropzone.js";
|
|
68
|
-
const u = 8, So = c((p, e) => {
|
|
69
|
-
const { children: l, setOpen: a, option: o, onChangeOption: t, value: i = "", deep: n = 0 } = p;
|
|
70
|
-
return /* @__PURE__ */ s(
|
|
71
|
-
f,
|
|
72
|
-
{
|
|
73
|
-
ref: e,
|
|
74
|
-
value: o.value,
|
|
75
|
-
onSelect: () => {
|
|
76
|
-
i === o.value ? t?.({ value: "", label: "" }) : t?.(o), a(!1);
|
|
77
|
-
},
|
|
78
|
-
style: {
|
|
79
|
-
paddingLeft: (n + 1) * u
|
|
80
|
-
},
|
|
81
|
-
children: [
|
|
82
|
-
l,
|
|
83
|
-
/* @__PURE__ */ r(
|
|
84
|
-
"span",
|
|
85
|
-
{
|
|
86
|
-
className: m(
|
|
87
|
-
"overflow-hidden whitespace-wrap text-ellipsis line-clamp-2"
|
|
88
|
-
),
|
|
89
|
-
children: o.label
|
|
90
|
-
}
|
|
91
|
-
),
|
|
92
|
-
/* @__PURE__ */ r(
|
|
93
|
-
d,
|
|
94
|
-
{
|
|
95
|
-
className: m(
|
|
96
|
-
"ml-auto",
|
|
97
|
-
i === o.value ? "opacity-100" : "opacity-0"
|
|
98
|
-
)
|
|
99
|
-
}
|
|
100
|
-
)
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
o.value
|
|
104
|
-
);
|
|
105
|
-
});
|
|
106
|
-
export {
|
|
107
|
-
So as ComboboxOptionItem
|
|
108
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { Button as u } from "../Button/Button.js";
|
|
3
|
-
import "../Button/buttonVariants.js";
|
|
4
|
-
import { forwardRef as c, useState as h } from "react";
|
|
5
|
-
import { Collapsible as b, CollapsibleTrigger as g, CollapsibleContent as C } from "../Collapsible/Collapsible.js";
|
|
6
|
-
import { ComboboxOptionItem as p } from "./ComboboxOptionItem.js";
|
|
7
|
-
import { ChevronDownIcon as x } from "lucide-react";
|
|
8
|
-
import { cn as a } from "@oneplatformdev/utils";
|
|
9
|
-
const d = c((e, n) => {
|
|
10
|
-
const { option: s, deep: i = 0 } = e, [t, l] = h(!0);
|
|
11
|
-
return s?.items?.length ? /* @__PURE__ */ m(
|
|
12
|
-
b,
|
|
13
|
-
{
|
|
14
|
-
ref: n,
|
|
15
|
-
open: t,
|
|
16
|
-
onOpenChange: l,
|
|
17
|
-
"data-opened": t,
|
|
18
|
-
className: a("group/collapsible"),
|
|
19
|
-
children: [
|
|
20
|
-
/* @__PURE__ */ o(p, { ...e, children: /* @__PURE__ */ o(g, { asChild: !0, children: /* @__PURE__ */ m(
|
|
21
|
-
u,
|
|
22
|
-
{
|
|
23
|
-
onClick: (r) => {
|
|
24
|
-
r?.preventDefault(), r?.stopPropagation(), l((f) => !f);
|
|
25
|
-
},
|
|
26
|
-
type: "button",
|
|
27
|
-
variant: "ghost",
|
|
28
|
-
size: "sm",
|
|
29
|
-
className: a("aspect-square size-6", "transition-transform"),
|
|
30
|
-
children: [
|
|
31
|
-
/* @__PURE__ */ o(
|
|
32
|
-
x,
|
|
33
|
-
{
|
|
34
|
-
className: a(
|
|
35
|
-
"size-5!",
|
|
36
|
-
"transition-transform",
|
|
37
|
-
t && "rotate-180"
|
|
38
|
-
)
|
|
39
|
-
}
|
|
40
|
-
),
|
|
41
|
-
/* @__PURE__ */ o("span", { className: "sr-only", children: "Toggle" })
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
) }) }),
|
|
45
|
-
/* @__PURE__ */ o(C, { children: /* @__PURE__ */ o("div", { className: "flex flex-col gap-0", children: s?.items.map((r) => /* @__PURE__ */ o(
|
|
46
|
-
d,
|
|
47
|
-
{
|
|
48
|
-
...e,
|
|
49
|
-
deep: i + 1,
|
|
50
|
-
option: r
|
|
51
|
-
},
|
|
52
|
-
r.value
|
|
53
|
-
)) }) })
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
) : /* @__PURE__ */ o(p, { ...e, ref: n });
|
|
57
|
-
}), I = c((e, n) => {
|
|
58
|
-
const { options: s = [], ...i } = e;
|
|
59
|
-
return /* @__PURE__ */ o("div", { ref: n, className: "flex flex-col gap-0", children: s.map((t) => /* @__PURE__ */ o(d, { ...i, option: t }, t.value)) });
|
|
60
|
-
});
|
|
61
|
-
export {
|
|
62
|
-
I as ComboboxOptions,
|
|
63
|
-
d as ComboboxOptionsNode
|
|
64
|
-
};
|
package/Combobox/index.js
DELETED
package/Command/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Command as a, CommandDialog as n, CommandEmpty as d, CommandGroup as C, CommandInput as t, CommandItem as r, CommandList as p, CommandSeparator as e, CommandShortcut as u } from "./Command.js";
|
|
2
|
-
export {
|
|
3
|
-
a as Command,
|
|
4
|
-
n as CommandDialog,
|
|
5
|
-
d as CommandEmpty,
|
|
6
|
-
C as CommandGroup,
|
|
7
|
-
t as CommandInput,
|
|
8
|
-
r as CommandItem,
|
|
9
|
-
p as CommandList,
|
|
10
|
-
e as CommandSeparator,
|
|
11
|
-
u as CommandShortcut
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronDown as m } from "lucide-react";
|
|
3
|
-
import { useMemo as s } from "react";
|
|
4
|
-
import { Button as d } from "../Button/Button.js";
|
|
5
|
-
import "../Button/buttonVariants.js";
|
|
6
|
-
import { DropdownMenuCheckboxItem as c, DropdownMenu as u, DropdownMenuTrigger as h, DropdownMenuContent as p } from "../DropdownMenu/DropdownMenu.js";
|
|
7
|
-
const x = (i) => {
|
|
8
|
-
const {
|
|
9
|
-
table: r,
|
|
10
|
-
columnsLabel: l = "Columns"
|
|
11
|
-
} = i, o = s(() => r.getAllColumns().filter((e) => e.getCanHide()).map((e) => /* @__PURE__ */ n(
|
|
12
|
-
c,
|
|
13
|
-
{
|
|
14
|
-
className: "capitalize",
|
|
15
|
-
checked: e.getIsVisible(),
|
|
16
|
-
onCheckedChange: (a) => e.toggleVisibility(!!a),
|
|
17
|
-
children: e.id
|
|
18
|
-
},
|
|
19
|
-
e.id
|
|
20
|
-
)), [r]);
|
|
21
|
-
return o.length ? /* @__PURE__ */ t(u, { children: [
|
|
22
|
-
/* @__PURE__ */ n(h, { asChild: !0, children: /* @__PURE__ */ t(d, { variant: "outline", className: "ml-auto", children: [
|
|
23
|
-
l,
|
|
24
|
-
/* @__PURE__ */ n(m, { className: "ml-2 h-4 w-4" })
|
|
25
|
-
] }) }),
|
|
26
|
-
/* @__PURE__ */ n(p, { align: "end", children: o })
|
|
27
|
-
] }) : null;
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
x as DataTableColumnFilter
|
|
31
|
-
};
|
package/DataTable/index.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import e from "react";
|
|
2
|
-
import { useReactTable as u, getFilteredRowModel as g, getSortedRowModel as d, getPaginationRowModel as m, getCoreRowModel as R } from "@tanstack/react-table";
|
|
3
|
-
const S = (t, o) => {
|
|
4
|
-
const [n, l] = e.useState([]), [i, a] = e.useState(
|
|
5
|
-
[]
|
|
6
|
-
), [r, s] = e.useState({});
|
|
7
|
-
return { table: u({
|
|
8
|
-
data: t,
|
|
9
|
-
columns: o,
|
|
10
|
-
onSortingChange: l,
|
|
11
|
-
onColumnFiltersChange: a,
|
|
12
|
-
getCoreRowModel: R(),
|
|
13
|
-
getPaginationRowModel: m(),
|
|
14
|
-
getSortedRowModel: d(),
|
|
15
|
-
getFilteredRowModel: g(),
|
|
16
|
-
onColumnVisibilityChange: s,
|
|
17
|
-
enableRowSelection: !0,
|
|
18
|
-
manualPagination: !0,
|
|
19
|
-
manualSorting: !0,
|
|
20
|
-
manualFiltering: !0,
|
|
21
|
-
state: {
|
|
22
|
-
sorting: n,
|
|
23
|
-
columnFilters: i,
|
|
24
|
-
columnVisibility: r
|
|
25
|
-
}
|
|
26
|
-
}) };
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
S as useDataTable
|
|
30
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/DatePicker/index.js
DELETED
package/Dialog/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Dialog as l, DialogClose as e, DialogContent as i, DialogDescription as r, DialogFooter as g, DialogHeader as D, DialogOverlay as t, DialogPortal as n, DialogTitle as C, DialogTrigger as p } from "./Dialog.js";
|
|
2
|
-
import { DialogOverlayContainerContext as y, DialogOverlayScope as O, useDialogOverlayContainer as s } from "./DialogOverlayScope.js";
|
|
3
|
-
export {
|
|
4
|
-
l as Dialog,
|
|
5
|
-
e as DialogClose,
|
|
6
|
-
i as DialogContent,
|
|
7
|
-
r as DialogDescription,
|
|
8
|
-
g as DialogFooter,
|
|
9
|
-
D as DialogHeader,
|
|
10
|
-
t as DialogOverlay,
|
|
11
|
-
y as DialogOverlayContainerContext,
|
|
12
|
-
O as DialogOverlayScope,
|
|
13
|
-
n as DialogPortal,
|
|
14
|
-
C as DialogTitle,
|
|
15
|
-
p as DialogTrigger,
|
|
16
|
-
s as useDialogOverlayContainer
|
|
17
|
-
};
|
package/Drawer/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Drawer as a, DrawerClose as D, DrawerContent as w, DrawerDescription as o, DrawerFooter as t, DrawerHeader as i, DrawerOverlay as l, DrawerPortal as n, DrawerTitle as g, DrawerTrigger as p } from "./Drawer.js";
|
|
2
|
-
export {
|
|
3
|
-
a as Drawer,
|
|
4
|
-
D as DrawerClose,
|
|
5
|
-
w as DrawerContent,
|
|
6
|
-
o as DrawerDescription,
|
|
7
|
-
t as DrawerFooter,
|
|
8
|
-
i as DrawerHeader,
|
|
9
|
-
l as DrawerOverlay,
|
|
10
|
-
n as DrawerPortal,
|
|
11
|
-
g as DrawerTitle,
|
|
12
|
-
p as DrawerTrigger
|
|
13
|
-
};
|
package/DropdownMenu/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DropdownMenu as r, DropdownMenuCheckboxItem as e, DropdownMenuContent as u, DropdownMenuGroup as p, DropdownMenuItem as d, DropdownMenuLabel as w, DropdownMenuPortal as D, DropdownMenuRadioGroup as M, DropdownMenuRadioItem as t, DropdownMenuSeparator as a, DropdownMenuShortcut as b, DropdownMenuSub as S, DropdownMenuSubContent as g, DropdownMenuSubTrigger as i, DropdownMenuTrigger as m } from "./DropdownMenu.js";
|
|
2
|
-
export {
|
|
3
|
-
r as DropdownMenu,
|
|
4
|
-
e as DropdownMenuCheckboxItem,
|
|
5
|
-
u as DropdownMenuContent,
|
|
6
|
-
p as DropdownMenuGroup,
|
|
7
|
-
d as DropdownMenuItem,
|
|
8
|
-
w as DropdownMenuLabel,
|
|
9
|
-
D as DropdownMenuPortal,
|
|
10
|
-
M as DropdownMenuRadioGroup,
|
|
11
|
-
t as DropdownMenuRadioItem,
|
|
12
|
-
a as DropdownMenuSeparator,
|
|
13
|
-
b as DropdownMenuShortcut,
|
|
14
|
-
S as DropdownMenuSub,
|
|
15
|
-
g as DropdownMenuSubContent,
|
|
16
|
-
i as DropdownMenuSubTrigger,
|
|
17
|
-
m as DropdownMenuTrigger
|
|
18
|
-
};
|
package/Dropzone/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/Form/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Form as e, FormControl as m, FormDescription as F, FormField as t, FormItem as l, FormLabel as i, FormMessage as n, useFormField as s } from "./Form.js";
|
|
2
|
-
import { FormRenderControl as p } from "./FormRenderControl.js";
|
|
3
|
-
export {
|
|
4
|
-
e as Form,
|
|
5
|
-
m as FormControl,
|
|
6
|
-
F as FormDescription,
|
|
7
|
-
t as FormField,
|
|
8
|
-
l as FormItem,
|
|
9
|
-
i as FormLabel,
|
|
10
|
-
n as FormMessage,
|
|
11
|
-
p as FormRenderControl,
|
|
12
|
-
s as useFormField
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormCheckbox/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormCombobox/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormDatePicker/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { FormControl as a } from "../Form/Form.js";
|
|
3
|
-
import { FormRenderControl as l } from "../Form/FormRenderControl.js";
|
|
4
|
-
import { Dropzone as f } from "../Dropzone/Dropzone.js";
|
|
5
|
-
const h = (n) => {
|
|
6
|
-
const { form: e, label: m, name: t, ...p } = n;
|
|
7
|
-
return /* @__PURE__ */ o(
|
|
8
|
-
l,
|
|
9
|
-
{
|
|
10
|
-
form: e,
|
|
11
|
-
label: m,
|
|
12
|
-
name: t,
|
|
13
|
-
render: ({ field: r }) => /* @__PURE__ */ o(a, { children: /* @__PURE__ */ o(f, { ...p, ...r, onChangeValue: r.onChange }) })
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
h as FormDropzone
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormDropzone/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormInput/index.js
DELETED
package/FormRadio/FormRadio.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { FormControl as a, FormItem as v } from "../Form/Form.js";
|
|
3
|
-
import { FormRenderControl as C } from "../Form/FormRenderControl.js";
|
|
4
|
-
import { Radio as F } from "../Radio/Radio.js";
|
|
5
|
-
const R = (m) => {
|
|
6
|
-
const {
|
|
7
|
-
form: l,
|
|
8
|
-
name: t,
|
|
9
|
-
label: u,
|
|
10
|
-
onValueChange: d,
|
|
11
|
-
value: h,
|
|
12
|
-
defaultValue: c,
|
|
13
|
-
renderOption: i,
|
|
14
|
-
...s
|
|
15
|
-
} = m;
|
|
16
|
-
return /* @__PURE__ */ e(
|
|
17
|
-
C,
|
|
18
|
-
{
|
|
19
|
-
form: l,
|
|
20
|
-
name: t,
|
|
21
|
-
label: u,
|
|
22
|
-
render: ({ field: o }) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
|
|
23
|
-
F,
|
|
24
|
-
{
|
|
25
|
-
...o,
|
|
26
|
-
...s,
|
|
27
|
-
defaultValue: c || o.value,
|
|
28
|
-
value: h || o.value,
|
|
29
|
-
onValueChange: (r) => {
|
|
30
|
-
o.onChange(r), d?.(r);
|
|
31
|
-
},
|
|
32
|
-
renderOption: (r, n) => /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(a, { children: i?.(r, n) || /* @__PURE__ */ e(n, { ...r }) }) }, r.value)
|
|
33
|
-
}
|
|
34
|
-
) })
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
R as FormRadio
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormRadio/index.js
DELETED
package/FormSelect/FormSelect.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { FormControl as g } from "../Form/Form.js";
|
|
3
|
-
import { FormRenderControl as C } from "../Form/FormRenderControl.js";
|
|
4
|
-
import "../Select/SelectRoot.js";
|
|
5
|
-
import { Select as f } from "../Select/Select.js";
|
|
6
|
-
const S = (n) => {
|
|
7
|
-
const {
|
|
8
|
-
form: t,
|
|
9
|
-
label: m,
|
|
10
|
-
name: i,
|
|
11
|
-
options: p = [],
|
|
12
|
-
onChange: a,
|
|
13
|
-
containerProps: l,
|
|
14
|
-
...c
|
|
15
|
-
} = n;
|
|
16
|
-
return /* @__PURE__ */ o(
|
|
17
|
-
C,
|
|
18
|
-
{
|
|
19
|
-
form: t,
|
|
20
|
-
name: i,
|
|
21
|
-
label: m,
|
|
22
|
-
containerProps: l,
|
|
23
|
-
render: ({ field: e }) => /* @__PURE__ */ o(
|
|
24
|
-
f,
|
|
25
|
-
{
|
|
26
|
-
value: e.value,
|
|
27
|
-
options: p,
|
|
28
|
-
onChange: (r) => {
|
|
29
|
-
e.onChange(r), a?.(r);
|
|
30
|
-
},
|
|
31
|
-
renderTrigger: (r, s) => /* @__PURE__ */ o(g, { children: s }),
|
|
32
|
-
...c
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
S as FormSelect
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormSelect/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/FormTextarea/index.js
DELETED
package/Header/Header.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/Header/index.js
DELETED
package/HoverCard/index.js
DELETED
package/Input/Input.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/Input/index.js
DELETED
package/InputOTP/index.js
DELETED
package/Label/index.js
DELETED
package/LazyLoader/LazyLoader.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { Suspense as a } from "react";
|
|
3
|
-
import { LoadingMask as e } from "../LoadingMask/LoadingMask.js";
|
|
4
|
-
import "../LoadingMask/RenderLoadingMask.js";
|
|
5
|
-
const s = (r, m = !0) => (t) => /* @__PURE__ */ o(a, { fallback: m ? /* @__PURE__ */ o(e, {}) : null, children: /* @__PURE__ */ o(r, { ...t }) });
|
|
6
|
-
export {
|
|
7
|
-
s as LazyLoader
|
|
8
|
-
};
|
package/LazyLoader/index.js
DELETED
package/LoadedIcon/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/LoadingMask/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/LoadingProgress/index.js
DELETED
package/Menubar/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Menubar as u, MenubarCheckboxItem as a, MenubarContent as b, MenubarGroup as n, MenubarItem as M, MenubarLabel as o, MenubarMenu as t, MenubarPortal as S, MenubarRadioGroup as g, MenubarRadioItem as i, MenubarSeparator as m, MenubarShortcut as p, MenubarSub as C, MenubarSubContent as I, MenubarSubTrigger as c, MenubarTrigger as d } from "./Menubar.js";
|
|
2
|
-
export {
|
|
3
|
-
u as Menubar,
|
|
4
|
-
a as MenubarCheckboxItem,
|
|
5
|
-
b as MenubarContent,
|
|
6
|
-
n as MenubarGroup,
|
|
7
|
-
M as MenubarItem,
|
|
8
|
-
o as MenubarLabel,
|
|
9
|
-
t as MenubarMenu,
|
|
10
|
-
S as MenubarPortal,
|
|
11
|
-
g as MenubarRadioGroup,
|
|
12
|
-
i as MenubarRadioItem,
|
|
13
|
-
m as MenubarSeparator,
|
|
14
|
-
p as MenubarShortcut,
|
|
15
|
-
C as MenubarSub,
|
|
16
|
-
I as MenubarSubContent,
|
|
17
|
-
c as MenubarSubTrigger,
|
|
18
|
-
d as MenubarTrigger
|
|
19
|
-
};
|