@konstructio/ui 0.1.0-alpha.8 → 0.1.1-alpha.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/DatePicker.css +1 -1
- package/dist/{Modal-CrG0m703.js → Modal-0oht63vU.js} +32 -32
- package/dist/assets/icons/components/Search.js +26 -0
- package/dist/assets/icons/components/Warning.js +22 -0
- package/dist/assets/icons/components/index.js +6 -0
- package/dist/{chevron-down-UW8ts6wI.js → chevron-down-CVce9Mvh.js} +2 -2
- package/dist/components/Alert/Alert.js +23 -25
- package/dist/components/Alert/Alert.variants.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/AlertDialog/hooks/useAlertDialog.js +7 -7
- package/dist/components/Autocomplete/Autocomplete.variants.js +3 -4
- package/dist/components/Autocomplete/components/List/List.variants.js +3 -7
- package/dist/components/Autocomplete/hooks/useAutocomplete.js +38 -43
- package/dist/components/Autocomplete/hooks/useNavigationList.js +29 -37
- package/dist/components/Badge/Badge.js +40 -42
- package/dist/components/Badge/Badge.variants.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +22 -21
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +1 -1
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +15 -15
- package/dist/components/Button/Button.variants.js +10 -77
- package/dist/components/Card/Card.variants.js +3 -5
- package/dist/components/Checkbox/Checkbox.js +48 -47
- package/dist/components/Checkbox/Checkbox.variants.js +3 -4
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/Command.variants.js +1 -1
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +1 -1
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +13 -13
- package/dist/components/Command/components/CommandList.js +1 -1
- package/dist/components/Command/components/CommandSeparator.js +1 -1
- package/dist/components/Command/components/DialogContent.js +1 -1
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +1496 -1577
- package/dist/components/Datepicker/DatePicker.variants.js +1 -1
- package/dist/components/Divider/Divider.variants.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +28 -6
- package/dist/components/Dropdown/Dropdown.variants.js +43 -26
- package/dist/components/Dropdown/components/List/List.variants.js +1 -1
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +5 -5
- package/dist/components/Dropdown/components/Wrapper.js +96 -86
- package/dist/components/Dropdown/contexts/dropdown.provider.js +12 -12
- package/dist/components/Dropdown/hooks/useDropdown.js +26 -30
- package/dist/components/Dropdown/hooks/useNavigationList.js +25 -31
- package/dist/components/DropdownButton/DropdownButton.js +135 -0
- package/dist/components/Filter/Filter.variants.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +47 -49
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +70 -57
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +41 -42
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +68 -55
- package/dist/components/Filter/components/ResetButton/ResetButton.js +22 -16
- package/dist/components/Input/Input.js +116 -109
- package/dist/components/Input/Input.variants.js +18 -5
- package/dist/components/Loading/Loading.js +2 -2
- package/dist/components/Loading/Loading.variants.js +1 -2
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +7 -9
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/hooks/useModal.js +16 -17
- package/dist/components/NumberInput/NumberInput.js +91 -91
- package/dist/components/NumberInput/NumberInput.variants.js +1 -1
- package/dist/components/PieChart/PieChart.js +5138 -0
- package/dist/components/ProgressBar/ProgressBar.js +58 -26
- package/dist/components/ProgressBar/ProgressBar.variants.js +1 -1
- package/dist/components/Radio/Radio.js +64 -48
- package/dist/components/Radio/Radio.variants.js +3 -3
- package/dist/components/RadioCard/RadioCard.js +26 -23
- package/dist/components/RadioCard/RadioCard.variants.js +1 -1
- package/dist/components/RadioCardGroup/RadioCardGroup.js +28 -28
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +37 -37
- package/dist/components/RadioGroup/RadioGroup.variants.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Range/Range.variants.js +2 -3
- package/dist/components/Sidebar/Sidebar.js +4 -3
- package/dist/components/Sidebar/Sidebar.variants.js +1 -1
- package/dist/components/Sidebar/components/Footer/Footer.js +5 -4
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -1
- package/dist/components/Sidebar/components/Logo/Logo.js +6 -5
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +1 -1
- package/dist/components/Sidebar/components/Navigation/Navigation.js +5 -4
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +14 -13
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +13 -12
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +5 -6
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +1 -1
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -8
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +15 -14
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.variants.js +2 -8
- package/dist/components/Switch/Switch.js +54 -54
- package/dist/components/Switch/Switch.variants.js +2 -3
- package/dist/components/Table/Table.variants.js +1 -1
- package/dist/components/Tabs/Tabs.js +20 -16
- package/dist/components/Tabs/Tabs.variants.js +3 -5
- package/dist/components/Tabs/components/Content.js +10 -13
- package/dist/components/Tabs/components/List.js +9 -8
- package/dist/components/Tabs/components/Trigger.js +12 -16
- package/dist/components/Tabs/components/index.js +8 -0
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.variants.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.js +1 -1
- package/dist/components/TagSelect/components/Item/Item.variants.js +1 -1
- package/dist/components/TagSelect/components/List/List.variants.js +1 -1
- package/dist/components/TagSelect/hooks/useTagSelect.js +14 -16
- package/dist/components/TextArea/TextArea.variants.js +4 -5
- package/dist/components/TimePicker/TimePicker.variants.js +6 -7
- package/dist/components/TimePicker/components/HoursList/HoursList.js +21 -26
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +19 -20
- package/dist/components/TimePicker/components/MinutesList/MinutesList.js +24 -25
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +33 -34
- package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +1 -1
- package/dist/components/Toast/Toast.js +223 -232
- package/dist/components/Toast/Toast.variants.js +8 -11
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.variants.js +7 -14
- package/dist/components/Tooltip/hooks/useTooltip.js +8 -9
- package/dist/components/Typography/Typography.js +26 -31
- package/dist/components/Typography/Typography.variants.js +1 -1
- package/dist/components/index.js +78 -66
- package/dist/contexts/theme.provider.js +28 -29
- package/dist/{createLucideIcon-ByJ0JZvK.js → createLucideIcon-BpsAkT97.js} +4 -4
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/{index-CvfCCTEO.js → index-BAraV3ai.js} +7 -7
- package/dist/index-BXuxPoz7.js +435 -0
- package/dist/index-BfXxHr_2.js +125 -0
- package/dist/index-C1g_chDT.js +70 -0
- package/dist/{index-BCGvACM9.js → index-C9T9HQaa.js} +1 -1
- package/dist/{index-Bc1LNrRD.js → index-CZnD2QxM.js} +1 -1
- package/dist/index-CrBonFvu.js +144 -0
- package/dist/{index-rUBNhTeF.js → index-Cvx4lqTq.js} +2 -2
- package/dist/{index-BNmRGtA6.js → index-D29mdTf5.js} +3 -3
- package/dist/{index-Dkt8F6CZ.js → index-D3xzCzcO.js} +12 -12
- package/dist/index-DB2XhXHn.js +431 -0
- package/dist/{index-B5MIi2tR.js → index-DQH6odE9.js} +2 -3
- package/dist/index-Oq5GlCHP.js +131 -0
- package/dist/{index-Cs8Lv8Wj.js → index-bwWKd82e.js} +1 -1
- package/dist/{index--EmNlyHx.js → index-iXyXtdgP.js} +1 -1
- package/dist/index.d.ts +159 -9
- package/dist/index.js +88 -76
- package/dist/package.json +41 -37
- package/dist/styles.css +1 -1
- package/dist/ui/civo-theme.css +261 -241
- package/dist/ui/kubefirst-theme.css +4 -4
- package/dist/ui/theme.css +0 -2
- package/dist/{useBreadcrumb-DMERrNkJ.js → useBreadcrumb-B8DnuqkR.js} +254 -261
- package/dist/utils/index.js +25 -26
- package/package.json +41 -37
- package/dist/index-BNU3RH-3.js +0 -133
- package/dist/index-BvCZBMfr.js +0 -432
- package/dist/index-Cq1I1cG9.js +0 -129
- package/dist/index-DLYwlPRZ.js +0 -440
- package/dist/index-DNRcvRTB.js +0 -145
- package/dist/index-Dm-ooN_M.js +0 -71
- package/dist/index-DwYXX2sM.js +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
1
|
+
import { c as a } from "../../index-D29mdTf5.js";
|
|
2
|
+
const e = a([
|
|
3
3
|
"rounded-md",
|
|
4
4
|
"shadow-md",
|
|
5
5
|
"p-4",
|
|
@@ -14,10 +14,8 @@ const t = e([
|
|
|
14
14
|
"data-[swipe=cancel]:translate-x-0",
|
|
15
15
|
"data-[swipe=end]:animate-swipe-out",
|
|
16
16
|
"shadow-purple-200",
|
|
17
|
-
"border-purple-100"
|
|
18
|
-
|
|
19
|
-
"colony:border-red-100"
|
|
20
|
-
]), o = e([
|
|
17
|
+
"border-purple-100"
|
|
18
|
+
]), o = a([
|
|
21
19
|
"fixed",
|
|
22
20
|
"bottom-0",
|
|
23
21
|
"right-0",
|
|
@@ -30,16 +28,15 @@ const t = e([
|
|
|
30
28
|
"m-0",
|
|
31
29
|
"z-50",
|
|
32
30
|
"outline-none"
|
|
33
|
-
]),
|
|
31
|
+
]), i = a([
|
|
34
32
|
"top-2",
|
|
35
33
|
"right-2",
|
|
36
34
|
"w-4",
|
|
37
35
|
"h-4",
|
|
38
|
-
"text-kubefirst-primary"
|
|
39
|
-
"colony:text-red-400"
|
|
36
|
+
"text-kubefirst-primary"
|
|
40
37
|
]);
|
|
41
38
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
i as closeToastVariants,
|
|
40
|
+
e as toastVariants,
|
|
44
41
|
o as viewportToastVariants
|
|
45
42
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { S as i } from "../../index-
|
|
2
|
+
import { S as i } from "../../index-DQH6odE9.js";
|
|
3
3
|
import { forwardRef as v, useRef as N, useImperativeHandle as w, useMemo as h, isValidElement as x } from "react";
|
|
4
4
|
import { cn as o } from "../../utils/index.js";
|
|
5
5
|
import { arrowVariants as R, tooltipVariants as V } from "./Tooltip.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as r } from "../../index-
|
|
2
|
-
const
|
|
1
|
+
import { c as r } from "../../index-D29mdTf5.js";
|
|
2
|
+
const a = r(
|
|
3
3
|
[
|
|
4
4
|
"absolute",
|
|
5
5
|
"w-max",
|
|
@@ -12,8 +12,7 @@ const o = r(
|
|
|
12
12
|
"duration-250",
|
|
13
13
|
"[&[data-visible='true']]:opacity-100",
|
|
14
14
|
"delay-100",
|
|
15
|
-
"bg-kubefirst-primary"
|
|
16
|
-
"colony:bg-red-700"
|
|
15
|
+
"bg-kubefirst-primary"
|
|
17
16
|
],
|
|
18
17
|
{
|
|
19
18
|
variants: {
|
|
@@ -28,14 +27,8 @@ const o = r(
|
|
|
28
27
|
position: "right"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
|
-
),
|
|
32
|
-
[
|
|
33
|
-
"absolute",
|
|
34
|
-
"w-0",
|
|
35
|
-
"h-0",
|
|
36
|
-
"border-kubefirst-primary",
|
|
37
|
-
"colony:border-red-700"
|
|
38
|
-
],
|
|
30
|
+
), o = r(
|
|
31
|
+
["absolute", "w-0", "h-0", "border-kubefirst-primary"],
|
|
39
32
|
{
|
|
40
33
|
variants: {
|
|
41
34
|
position: {
|
|
@@ -87,6 +80,6 @@ const o = r(
|
|
|
87
80
|
}
|
|
88
81
|
);
|
|
89
82
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
83
|
+
o as arrowVariants,
|
|
84
|
+
a as tooltipVariants
|
|
92
85
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { useRef as
|
|
2
|
-
const
|
|
3
|
-
const e =
|
|
4
|
-
return
|
|
5
|
-
var s, r;
|
|
1
|
+
import { useRef as r, useState as o, useEffect as l } from "react";
|
|
2
|
+
const u = () => {
|
|
3
|
+
const e = r(null), [s, n] = o(!1);
|
|
4
|
+
return l(() => {
|
|
6
5
|
const t = new AbortController();
|
|
7
|
-
return
|
|
6
|
+
return e.current?.addEventListener(
|
|
8
7
|
"mouseenter",
|
|
9
8
|
() => n(!0),
|
|
10
9
|
{ signal: t.signal }
|
|
11
|
-
),
|
|
10
|
+
), e.current?.addEventListener(
|
|
12
11
|
"mouseleave",
|
|
13
12
|
() => n(!1),
|
|
14
13
|
{ signal: t.signal }
|
|
@@ -16,10 +15,10 @@ const c = () => {
|
|
|
16
15
|
t.abort();
|
|
17
16
|
};
|
|
18
17
|
}, []), {
|
|
19
|
-
isVisible:
|
|
18
|
+
isVisible: s,
|
|
20
19
|
componentRef: e
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
22
|
export {
|
|
24
|
-
|
|
23
|
+
u as useTooltip
|
|
25
24
|
};
|
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
className: p,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
children: s
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
d.displayName = "Typography";
|
|
1
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f } from "react";
|
|
3
|
+
import { cn as n } from "../../utils/index.js";
|
|
4
|
+
import { typographyVariants as c } from "./Typography.variants.js";
|
|
5
|
+
const h = f(
|
|
6
|
+
({ className: r, theme: p, children: m, variant: o, component: t, ...e }, a) => {
|
|
7
|
+
const s = t ?? (o?.includes("h") ? o : "p");
|
|
8
|
+
return /* @__PURE__ */ y(
|
|
9
|
+
s,
|
|
10
|
+
{
|
|
11
|
+
ref: a,
|
|
12
|
+
"data-theme": p,
|
|
13
|
+
className: n(
|
|
14
|
+
c({
|
|
15
|
+
className: r,
|
|
16
|
+
variant: o
|
|
17
|
+
})
|
|
18
|
+
),
|
|
19
|
+
...e,
|
|
20
|
+
children: m
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
h.displayName = "Typography";
|
|
31
26
|
export {
|
|
32
|
-
|
|
27
|
+
h as Typography
|
|
33
28
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -3,82 +3,94 @@ import { AlertDialog as p } from "./AlertDialog/AlertDialog.js";
|
|
|
3
3
|
import { Autocomplete as x } from "./Autocomplete/Autocomplete.js";
|
|
4
4
|
import { Badge as a } from "./Badge/Badge.js";
|
|
5
5
|
import { Breadcrumb as d } from "./Breadcrumb/Breadcrumb.js";
|
|
6
|
-
import { Button as
|
|
6
|
+
import { Button as n } from "./Button/Button.js";
|
|
7
7
|
import { Card as u } from "./Card/Card.js";
|
|
8
|
-
import { Checkbox as
|
|
9
|
-
import { DatePicker as
|
|
10
|
-
import { Divider as
|
|
11
|
-
import { Dropdown as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import { Checkbox as c } from "./Checkbox/Checkbox.js";
|
|
9
|
+
import { DatePicker as b } from "./Datepicker/DatePicker.js";
|
|
10
|
+
import { Divider as B } from "./Divider/Divider.js";
|
|
11
|
+
import { Dropdown as S } from "./Dropdown/Dropdown.js";
|
|
12
|
+
import { DropdownButton as N } from "./DropdownButton/DropdownButton.js";
|
|
13
|
+
import { Filter as h } from "./Filter/Filter.js";
|
|
14
|
+
import { Input as A } from "./Input/Input.js";
|
|
14
15
|
import { Loading as k } from "./Loading/Loading.js";
|
|
15
|
-
import { M as
|
|
16
|
+
import { M as G } from "../Modal-0oht63vU.js";
|
|
16
17
|
import { NumberInput as M } from "./NumberInput/NumberInput.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
18
|
+
import { PieChart as I } from "./PieChart/PieChart.js";
|
|
19
|
+
import { ProgressBar as j } from "./ProgressBar/ProgressBar.js";
|
|
20
|
+
import { Radio as z } from "./Radio/Radio.js";
|
|
21
|
+
import { RadioCard as H } from "./RadioCard/RadioCard.js";
|
|
22
|
+
import { RadioCardGroup as K } from "./RadioCardGroup/RadioCardGroup.js";
|
|
23
|
+
import { RadioGroup as U } from "./RadioGroup/RadioGroup.js";
|
|
24
|
+
import { Range as W } from "./Range/Range.js";
|
|
25
|
+
import { Sidebar as Y } from "./Sidebar/Sidebar.js";
|
|
26
|
+
import { Slider as _ } from "./Slider/Slider.js";
|
|
27
|
+
import { Switch as oo } from "./Switch/Switch.js";
|
|
28
|
+
import { Table as eo } from "./Table/Table.js";
|
|
29
|
+
import { Tabs as po } from "./Tabs/Tabs.js";
|
|
30
|
+
import { Tag as xo } from "./Tag/Tag.js";
|
|
31
|
+
import { TagSelect as ao } from "./TagSelect/TagSelect.js";
|
|
32
|
+
import { TextArea as go } from "./TextArea/TextArea.js";
|
|
33
|
+
import { TimePicker as lo } from "./TimePicker/TimePicker.js";
|
|
34
|
+
import { Toast as To } from "./Toast/Toast.js";
|
|
35
|
+
import { Tooltip as Do } from "./Tooltip/Tooltip.js";
|
|
36
|
+
import { Typography as so } from "./Typography/Typography.js";
|
|
37
|
+
import { BadgeMultiSelect as Co } from "./Filter/components/BadgeDropdown/BadgeMultiSelect.js";
|
|
38
|
+
import { DateFilterDropdown as vo } from "./Filter/components/DateFilterDropdown/DateFilterDropdown.js";
|
|
39
|
+
import { Footer as Ro } from "./Sidebar/components/Footer/Footer.js";
|
|
40
|
+
import { Logo as wo } from "./Sidebar/components/Logo/Logo.js";
|
|
41
|
+
import { Navigation as Po } from "./Sidebar/components/Navigation/Navigation.js";
|
|
42
|
+
import { NavigationGroup as Fo } from "./Sidebar/components/NavigationGroup/NavigationGroup.js";
|
|
43
|
+
import { NavigationOption as Lo } from "./Sidebar/components/NavigationOption/NavigationOption.js";
|
|
44
|
+
import { NavigationSeparator as yo } from "./Sidebar/components/NavigationSeparator/NavigationSeparator.js";
|
|
45
|
+
import { Content as Oo } from "./Tabs/components/Content.js";
|
|
46
|
+
import { List as qo } from "./Tabs/components/List.js";
|
|
47
|
+
import { Trigger as Eo } from "./Tabs/components/Trigger.js";
|
|
42
48
|
export {
|
|
43
49
|
e as Alert,
|
|
44
50
|
p as AlertDialog,
|
|
45
51
|
x as Autocomplete,
|
|
46
52
|
a as Badge,
|
|
47
|
-
|
|
53
|
+
Co as BadgeMultiSelect,
|
|
48
54
|
d as Breadcrumb,
|
|
49
|
-
|
|
55
|
+
n as Button,
|
|
50
56
|
u as Card,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
c as Checkbox,
|
|
58
|
+
Oo as Content,
|
|
59
|
+
vo as DateFilterDropdown,
|
|
60
|
+
b as DatePicker,
|
|
61
|
+
B as Divider,
|
|
62
|
+
S as Dropdown,
|
|
63
|
+
N as DropdownButton,
|
|
64
|
+
h as Filter,
|
|
65
|
+
Ro as Footer,
|
|
66
|
+
A as Input,
|
|
67
|
+
qo as List,
|
|
59
68
|
k as Loading,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
wo as Logo,
|
|
70
|
+
G as Modal,
|
|
71
|
+
Po as Navigation,
|
|
72
|
+
Fo as NavigationGroup,
|
|
73
|
+
Lo as NavigationOption,
|
|
74
|
+
yo as NavigationSeparator,
|
|
66
75
|
M as NumberInput,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
I as PieChart,
|
|
77
|
+
j as ProgressBar,
|
|
78
|
+
z as Radio,
|
|
79
|
+
H as RadioCard,
|
|
80
|
+
K as RadioCardGroup,
|
|
81
|
+
U as RadioGroup,
|
|
82
|
+
W as Range,
|
|
83
|
+
Y as Sidebar,
|
|
84
|
+
_ as Slider,
|
|
85
|
+
oo as Switch,
|
|
86
|
+
eo as Table,
|
|
87
|
+
po as Tabs,
|
|
88
|
+
xo as Tag,
|
|
89
|
+
ao as TagSelect,
|
|
90
|
+
go as TextArea,
|
|
91
|
+
lo as TimePicker,
|
|
92
|
+
To as Toast,
|
|
93
|
+
Do as Tooltip,
|
|
94
|
+
Eo as Trigger,
|
|
95
|
+
so as Typography
|
|
84
96
|
};
|
|
@@ -3,85 +3,84 @@ import { useState as h, useEffect as g } from "react";
|
|
|
3
3
|
import { isClient as l } from "../utils/index.js";
|
|
4
4
|
import { ThemeContext as C } from "./theme.context.js";
|
|
5
5
|
/*! js-cookie v3.0.5 | MIT */
|
|
6
|
-
function p(
|
|
6
|
+
function p(r) {
|
|
7
7
|
for (var o = 1; o < arguments.length; o++) {
|
|
8
8
|
var t = arguments[o];
|
|
9
9
|
for (var f in t)
|
|
10
|
-
|
|
10
|
+
r[f] = t[f];
|
|
11
11
|
}
|
|
12
|
-
return
|
|
12
|
+
return r;
|
|
13
13
|
}
|
|
14
14
|
var a = {
|
|
15
|
-
read: function(
|
|
16
|
-
return
|
|
15
|
+
read: function(r) {
|
|
16
|
+
return r[0] === '"' && (r = r.slice(1, -1)), r.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
17
17
|
},
|
|
18
|
-
write: function(
|
|
19
|
-
return encodeURIComponent(
|
|
18
|
+
write: function(r) {
|
|
19
|
+
return encodeURIComponent(r).replace(
|
|
20
20
|
/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
|
|
21
21
|
decodeURIComponent
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
function s(
|
|
26
|
-
function t(
|
|
25
|
+
function s(r, o) {
|
|
26
|
+
function t(n, u, e) {
|
|
27
27
|
if (!(typeof document > "u")) {
|
|
28
|
-
|
|
28
|
+
e = p({}, o, e), typeof e.expires == "number" && (e.expires = new Date(Date.now() + e.expires * 864e5)), e.expires && (e.expires = e.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
29
29
|
var i = "";
|
|
30
|
-
for (var c in
|
|
31
|
-
|
|
32
|
-
return document.cookie =
|
|
30
|
+
for (var c in e)
|
|
31
|
+
e[c] && (i += "; " + c, e[c] !== !0 && (i += "=" + e[c].split(";")[0]));
|
|
32
|
+
return document.cookie = n + "=" + r.write(u, n) + i;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
function f(
|
|
36
|
-
if (!(typeof document > "u" || arguments.length && !
|
|
37
|
-
for (var u = document.cookie ? document.cookie.split("; ") : [],
|
|
35
|
+
function f(n) {
|
|
36
|
+
if (!(typeof document > "u" || arguments.length && !n)) {
|
|
37
|
+
for (var u = document.cookie ? document.cookie.split("; ") : [], e = {}, i = 0; i < u.length; i++) {
|
|
38
38
|
var c = u[i].split("="), m = c.slice(1).join("=");
|
|
39
39
|
try {
|
|
40
40
|
var d = decodeURIComponent(c[0]);
|
|
41
|
-
if (
|
|
41
|
+
if (e[d] = r.read(m, d), n === d)
|
|
42
42
|
break;
|
|
43
43
|
} catch {
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
return
|
|
46
|
+
return n ? e[n] : e;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
return Object.create(
|
|
50
50
|
{
|
|
51
51
|
set: t,
|
|
52
52
|
get: f,
|
|
53
|
-
remove: function(
|
|
53
|
+
remove: function(n, u) {
|
|
54
54
|
t(
|
|
55
|
-
|
|
55
|
+
n,
|
|
56
56
|
"",
|
|
57
57
|
p({}, u, {
|
|
58
58
|
expires: -1
|
|
59
59
|
})
|
|
60
60
|
);
|
|
61
61
|
},
|
|
62
|
-
withAttributes: function(
|
|
63
|
-
return s(this.converter, p({}, this.attributes,
|
|
62
|
+
withAttributes: function(n) {
|
|
63
|
+
return s(this.converter, p({}, this.attributes, n));
|
|
64
64
|
},
|
|
65
|
-
withConverter: function(
|
|
66
|
-
return s(p({}, this.converter,
|
|
65
|
+
withConverter: function(n) {
|
|
66
|
+
return s(p({}, this.converter, n), this.attributes);
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
attributes: { value: Object.freeze(o) },
|
|
71
|
-
converter: { value: Object.freeze(
|
|
71
|
+
converter: { value: Object.freeze(r) }
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
75
|
var x = s(a, { path: "/" });
|
|
76
76
|
const R = ({
|
|
77
|
-
children:
|
|
77
|
+
children: r,
|
|
78
78
|
theme: o
|
|
79
79
|
}) => {
|
|
80
80
|
const [t, f] = h(() => o || (l ? x.get("konstruct-theme") : "kubefirst"));
|
|
81
81
|
return g(() => {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}, [t]), /* @__PURE__ */ v(C.Provider, { value: { theme: t, setTheme: f }, children: n });
|
|
82
|
+
document.querySelector("body")?.setAttribute("data-theme", t);
|
|
83
|
+
}, [t]), /* @__PURE__ */ v(C.Provider, { value: { theme: t, setTheme: f }, children: r });
|
|
85
84
|
};
|
|
86
85
|
export {
|
|
87
86
|
R as ThemeProvider
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef as l, createElement as n } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* @license lucide-react v0.
|
|
3
|
+
* @license lucide-react v0.542.0 - ISC
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -17,7 +17,7 @@ const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), h = (t)
|
|
|
17
17
|
return !0;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
* @license lucide-react v0.
|
|
20
|
+
* @license lucide-react v0.542.0 - ISC
|
|
21
21
|
*
|
|
22
22
|
* This source code is licensed under the ISC license.
|
|
23
23
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -34,7 +34,7 @@ var g = {
|
|
|
34
34
|
strokeLinejoin: "round"
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* @license lucide-react v0.
|
|
37
|
+
* @license lucide-react v0.542.0 - ISC
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -69,7 +69,7 @@ const A = l(
|
|
|
69
69
|
)
|
|
70
70
|
);
|
|
71
71
|
/**
|
|
72
|
-
* @license lucide-react v0.
|
|
72
|
+
* @license lucide-react v0.542.0 - ISC
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the ISC license.
|
|
75
75
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { c as K, b as I, a as L } from "./index-
|
|
3
|
-
import { c as ce } from "./index-
|
|
4
|
-
import { u as ie } from "./index-
|
|
5
|
-
import { u as O } from "./index-
|
|
6
|
-
import { P as C } from "./index-
|
|
7
|
-
import { u as ue } from "./index-
|
|
2
|
+
import { c as K, b as I, a as L } from "./index-BfXxHr_2.js";
|
|
3
|
+
import { c as ce } from "./index-Cvx4lqTq.js";
|
|
4
|
+
import { u as ie } from "./index-DQH6odE9.js";
|
|
5
|
+
import { u as O } from "./index-bwWKd82e.js";
|
|
6
|
+
import { P as C } from "./index-C9T9HQaa.js";
|
|
7
|
+
import { u as ue } from "./index-0ioNhtNM.js";
|
|
8
8
|
import { u as k } from "./index-BdMNhZnh.js";
|
|
9
9
|
import { jsx as l } from "react/jsx-runtime";
|
|
10
|
-
import { P as le } from "./index-
|
|
10
|
+
import { P as le } from "./index-C1g_chDT.js";
|
|
11
11
|
var N = "rovingFocusGroup.onEntryFocus", de = { bubbles: !1, cancelable: !0 }, h = "RovingFocusGroup", [D, V, fe] = ce(h), [ve, U] = K(
|
|
12
12
|
h,
|
|
13
13
|
[fe]
|