@konstructio/ui 0.0.12-alpha.9 → 0.0.13-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/{Modal-B-E9uaA6.js → Modal-i7eolhYH.js} +311 -307
- package/dist/components/Alert/Alert.js +24 -29
- package/dist/components/Alert/Alert.variants.js +9 -15
- package/dist/components/AlertDialog/AlertDialog.js +59 -46
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -2
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +76 -72
- package/dist/components/Autocomplete/Autocomplete.variants.js +11 -20
- package/dist/components/Autocomplete/components/List/List.js +28 -30
- package/dist/components/Autocomplete/components/List/List.variants.js +34 -40
- package/dist/components/Breadcrumb/Breadcrumb.js +47 -56
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +6 -26
- package/dist/components/Breadcrumb/components/Item/Item.js +29 -41
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +2 -20
- package/dist/components/Button/Button.js +33 -37
- package/dist/components/Button/Button.variants.js +138 -195
- package/dist/components/Card/Card.js +32 -37
- package/dist/components/Card/Card.variants.js +18 -53
- package/dist/components/Checkbox/Checkbox.js +65 -68
- package/dist/components/Checkbox/Checkbox.variants.js +11 -35
- package/dist/components/Command/Command.js +33 -25
- package/dist/components/Command/Command.variants.js +47 -94
- 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 +1 -1
- 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 +8 -8
- package/dist/components/Divider/Divider.js +3 -2
- package/dist/components/Divider/Divider.variants.js +12 -9
- package/dist/components/Dropdown/Dropdown.js +6 -6
- package/dist/components/Dropdown/Dropdown.variants.js +31 -38
- package/dist/components/Dropdown/components/List/List.js +17 -15
- package/dist/components/Dropdown/components/List/List.variants.js +22 -32
- package/dist/components/Dropdown/components/ListItem/ListItem.js +20 -19
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +18 -30
- package/dist/components/Dropdown/components/Wrapper.js +127 -90
- package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +9 -9
- package/dist/components/Input/Input.js +37 -37
- package/dist/components/Input/Input.variants.js +8 -13
- package/dist/components/Loading/Loading.js +60 -58
- package/dist/components/Loading/Loading.variants.js +9 -15
- 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 +2 -2
- package/dist/components/Modal/components/Header/Header.js +3 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -4
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +32 -46
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +93 -111
- package/dist/components/NumberInput/NumberInput.variants.js +30 -51
- package/dist/components/ProgressBar/ProgressBar.js +25 -29
- package/dist/components/ProgressBar/ProgressBar.variants.js +10 -31
- package/dist/components/Radio/Radio.js +45 -46
- package/dist/components/Radio/Radio.variants.js +4 -13
- package/dist/components/RadioCard/RadioCard.js +31 -37
- package/dist/components/RadioCard/RadioCard.variants.js +8 -17
- package/dist/components/RadioCardGroup/RadioCardGroup.js +22 -23
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +3 -9
- package/dist/components/RadioGroup/RadioGroup.js +30 -31
- package/dist/components/RadioGroup/RadioGroup.variants.js +2 -8
- package/dist/components/Range/Range.js +28 -34
- package/dist/components/Range/Range.variants.js +21 -53
- package/dist/components/Sidebar/Sidebar.js +12 -13
- package/dist/components/Sidebar/Sidebar.variants.js +30 -56
- package/dist/components/Sidebar/components/Footer/Footer.js +5 -17
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -16
- package/dist/components/Sidebar/components/Logo/Logo.js +5 -15
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +20 -36
- package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -28
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +3 -17
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +21 -34
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -13
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +21 -27
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +7 -17
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +7 -19
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -16
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +8 -21
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +11 -20
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +41 -44
- package/dist/components/Slider/Slider.js +26 -27
- package/dist/components/Slider/Slider.variants.js +22 -34
- package/dist/components/Switch/Switch.js +103 -106
- package/dist/components/Switch/Switch.variants.js +28 -53
- package/dist/components/Table/Table.js +27 -0
- package/dist/components/Table/Table.variants.js +40 -0
- package/dist/components/Table/components/Body.js +18 -0
- package/dist/components/Table/components/Filter.js +9 -0
- package/dist/components/Table/components/Head.js +18 -0
- package/dist/components/Table/components/Row.js +28 -0
- package/dist/components/Table/components/index.js +10 -0
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.js +23 -55
- package/dist/components/TagSelect/components/Item/Item.js +12 -14
- package/dist/components/TagSelect/components/Item/Item.variants.js +11 -10
- package/dist/components/TagSelect/components/List/List.js +9 -10
- package/dist/components/TagSelect/components/List/List.variants.js +21 -35
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +46 -48
- package/dist/components/TextArea/TextArea.js +20 -23
- package/dist/components/TextArea/TextArea.variants.js +19 -31
- package/dist/components/Toast/Toast.js +110 -116
- package/dist/components/Toast/Toast.variants.js +42 -70
- package/dist/components/Tooltip/Tooltip.js +21 -27
- package/dist/components/Tooltip/Tooltip.variants.js +61 -62
- package/dist/components/Typography/Typography.js +23 -19
- package/dist/components/Typography/Typography.variants.js +1 -7
- package/dist/components/index.js +22 -20
- package/dist/contexts/theme.provider.js +37 -39
- package/dist/domain/theme.js +0 -0
- package/dist/index-AM3avohj.js +133 -0
- package/dist/{index-BzaHYXkt.js → index-BOx5P4tS.js} +5 -5
- package/dist/index-Bk324h27.js +82 -0
- package/dist/{index-4ecjw_Aj.js → index-Bry5AFQ2.js} +1 -1
- package/dist/{index-CbTU3cnP.js → index-CWKdynYu.js} +1 -1
- package/dist/index-D9BbbgUq.js +47 -0
- package/dist/{index-DyKo5ZJT.js → index-DvFiic6N.js} +45 -45
- package/dist/{index-Dj1pom3_.js → index-G_6jG4Qc.js} +2 -2
- package/dist/{index-D_76wh4w.js → index-YaQrdkGE.js} +3 -3
- package/dist/{index-Cva-e5M4.js → index-bYyfdsls.js} +9 -9
- package/dist/index-dRxIWVBr.js +313 -0
- package/dist/{index-D7QNmo_D.js → index-g-TFwd6Y.js} +41 -41
- package/dist/index.d.ts +115 -98
- package/dist/index.js +30 -30
- package/dist/package.json +37 -36
- package/dist/styles.css +1 -1
- package/dist/ui/kubefirst-theme.css +296 -0
- package/dist/ui/theme.css +6 -0
- package/dist/ui/utilities.css +165 -0
- package/dist/utils/index.js +675 -424
- package/package.json +37 -36
- package/dist/components/AlertDialog/AlertDialog.variants.js +0 -15
- package/dist/index-B_6_jmOO.js +0 -68
- package/dist/index-BbsJ0VIJ.js +0 -47
- package/dist/index-CzSBQN5S.js +0 -432
- package/dist/index-DUA6Y_AE.js +0 -126
- package/dist/plugins/index.js +0 -4
- package/dist/plugins/konstruct.js +0 -118
- package/dist/plugins/utils/animation.styles.js +0 -162
- package/dist/plugins/utils/colors.js +0 -331
- package/dist/plugins/utils/index.js +0 -7
|
@@ -1,58 +1,32 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
), t = a(
|
|
30
|
-
[
|
|
31
|
-
"absolute",
|
|
32
|
-
"top-0",
|
|
33
|
-
"right-0",
|
|
34
|
-
"h-full",
|
|
35
|
-
"opacity-0",
|
|
36
|
-
"group-hover/sidebar:opacity-100",
|
|
37
|
-
"cursor-col-resize",
|
|
38
|
-
"w-[2px]",
|
|
39
|
-
"shadow",
|
|
40
|
-
"shadow-slate-200"
|
|
41
|
-
],
|
|
42
|
-
{
|
|
43
|
-
variants: {
|
|
44
|
-
theme: {
|
|
45
|
-
colony: "",
|
|
46
|
-
kubefirst: ["bg-slate-200"],
|
|
47
|
-
civo: ""
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
defaultVariants: {
|
|
51
|
-
theme: "kubefirst"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
);
|
|
1
|
+
import { c as r } from "../../index-BNmRGtA6.js";
|
|
2
|
+
const e = r([
|
|
3
|
+
"duration-200",
|
|
4
|
+
"ease-linear",
|
|
5
|
+
"flex",
|
|
6
|
+
"flex-col",
|
|
7
|
+
"flex-shrink-0",
|
|
8
|
+
"group/sidebar",
|
|
9
|
+
"h-full",
|
|
10
|
+
"px-4",
|
|
11
|
+
"relative",
|
|
12
|
+
"transition-all",
|
|
13
|
+
"w-[72px]",
|
|
14
|
+
"md:w-[256px]",
|
|
15
|
+
"bg-kubefirst-dark-blue-900"
|
|
16
|
+
]), o = r([
|
|
17
|
+
"absolute",
|
|
18
|
+
"top-0",
|
|
19
|
+
"right-0",
|
|
20
|
+
"h-full",
|
|
21
|
+
"opacity-0",
|
|
22
|
+
"group-hover/sidebar:opacity-100",
|
|
23
|
+
"cursor-col-resize",
|
|
24
|
+
"w-[2px]",
|
|
25
|
+
"shadow",
|
|
26
|
+
"shadow-slate-200",
|
|
27
|
+
"bg-slate-200"
|
|
28
|
+
]);
|
|
55
29
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
30
|
+
o as dragVariants,
|
|
31
|
+
e as wrapperSiderbarVariants
|
|
58
32
|
};
|
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { footerVariants as
|
|
4
|
-
|
|
5
|
-
const h = ({ theme: o, className: e, children: t }) => {
|
|
6
|
-
const { theme: r } = n();
|
|
7
|
-
return /* @__PURE__ */ m(
|
|
8
|
-
"footer",
|
|
9
|
-
{
|
|
10
|
-
className: s(
|
|
11
|
-
f({ theme: o ?? r, className: e })
|
|
12
|
-
),
|
|
13
|
-
children: t
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
};
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { cn as m } from "../../../../utils/index.js";
|
|
3
|
+
import { footerVariants as e } from "./Footer.variants.js";
|
|
4
|
+
const i = ({ className: o, children: r }) => /* @__PURE__ */ t("footer", { className: m(e({ className: o })), children: r });
|
|
17
5
|
export {
|
|
18
|
-
|
|
6
|
+
i as Footer
|
|
19
7
|
};
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
theme: "kubefirst"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
2
|
+
const e = t([
|
|
3
|
+
"p-2",
|
|
4
|
+
"pb-5",
|
|
5
|
+
"text-white",
|
|
6
|
+
"flex",
|
|
7
|
+
"flex-col",
|
|
8
|
+
"gap-2"
|
|
9
|
+
]);
|
|
17
10
|
export {
|
|
18
|
-
|
|
11
|
+
e as footerVariants
|
|
19
12
|
};
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { logoVariants as
|
|
4
|
-
|
|
5
|
-
const f = ({ children: o, theme: e, className: m }) => {
|
|
6
|
-
const { theme: r } = a();
|
|
7
|
-
return /* @__PURE__ */ t(
|
|
8
|
-
"header",
|
|
9
|
-
{
|
|
10
|
-
className: s(n({ theme: e ?? r, className: m })),
|
|
11
|
-
children: o
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
};
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { cn as t } from "../../../../utils/index.js";
|
|
3
|
+
import { logoVariants as a } from "./Logo.variants.js";
|
|
4
|
+
const p = ({ children: o, className: r }) => /* @__PURE__ */ m("header", { className: t(a({ className: r })), children: o });
|
|
15
5
|
export {
|
|
16
|
-
|
|
6
|
+
p as Logo
|
|
17
7
|
};
|
|
@@ -1,39 +1,23 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const o =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"[&>*>img]:pt-3",
|
|
22
|
-
"cursor-pointer"
|
|
23
|
-
],
|
|
24
|
-
{
|
|
25
|
-
variants: {
|
|
26
|
-
theme: {
|
|
27
|
-
colony: "",
|
|
28
|
-
kubefirst: "",
|
|
29
|
-
civo: ""
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
defaultVariants: {
|
|
33
|
-
theme: "kubefirst"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
1
|
+
import { c as p } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const o = p([
|
|
3
|
+
"md:px-4",
|
|
4
|
+
"md:py-5",
|
|
5
|
+
"flex",
|
|
6
|
+
"flex-col",
|
|
7
|
+
"justify-center",
|
|
8
|
+
"gap-1",
|
|
9
|
+
"group",
|
|
10
|
+
"relative",
|
|
11
|
+
"mb-8",
|
|
12
|
+
"[&>p]:pl-14",
|
|
13
|
+
"[&>p]:-mt-2",
|
|
14
|
+
"[&>img]:pt-3",
|
|
15
|
+
"[&>*>p]:absolute",
|
|
16
|
+
"[&>*>p]:bottom-0",
|
|
17
|
+
"[&>*>p]:-mt-2",
|
|
18
|
+
"[&>*>img]:pt-3",
|
|
19
|
+
"cursor-pointer"
|
|
20
|
+
]);
|
|
37
21
|
export {
|
|
38
22
|
o as logoVariants
|
|
39
23
|
};
|
|
@@ -1,31 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { NavigationGroup as
|
|
4
|
-
import { NavigationOption as
|
|
5
|
-
import { NavigationSeparator as
|
|
6
|
-
import { NavigationTitle as
|
|
7
|
-
import { navigationVariants as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className: i,
|
|
11
|
-
theme: t,
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { cn as r } from "../../../../utils/index.js";
|
|
3
|
+
import { NavigationGroup as n } from "../NavigationGroup/NavigationGroup.js";
|
|
4
|
+
import { NavigationOption as m } from "../NavigationOption/NavigationOption.js";
|
|
5
|
+
import { NavigationSeparator as p } from "../NavigationSeparator/NavigationSeparator.js";
|
|
6
|
+
import { NavigationTitle as v } from "../NavigationTitle/NavigationTitle.js";
|
|
7
|
+
import { navigationVariants as g } from "./Navigation.variants.js";
|
|
8
|
+
const i = ({
|
|
9
|
+
className: o,
|
|
12
10
|
children: a
|
|
13
|
-
}) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
className: n(
|
|
19
|
-
N({ theme: t ?? r, className: i })
|
|
20
|
-
),
|
|
21
|
-
children: a
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
o.NavigationGroup = e;
|
|
26
|
-
o.NavigationOption = p;
|
|
27
|
-
o.NavigationSeparator = v;
|
|
28
|
-
o.NavigationTitle = g;
|
|
11
|
+
}) => /* @__PURE__ */ t("nav", { className: r(g({ className: o })), children: a });
|
|
12
|
+
i.NavigationGroup = n;
|
|
13
|
+
i.NavigationOption = m;
|
|
14
|
+
i.NavigationSeparator = p;
|
|
15
|
+
i.NavigationTitle = v;
|
|
29
16
|
export {
|
|
30
|
-
|
|
17
|
+
i as Navigation
|
|
31
18
|
};
|
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
3
|
-
["flex", "flex-1", "w-full", "flex-col"],
|
|
4
|
-
{
|
|
5
|
-
variants: {
|
|
6
|
-
theme: {
|
|
7
|
-
colony: "",
|
|
8
|
-
kubefirst: "",
|
|
9
|
-
civo: ""
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
theme: "kubefirst"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
1
|
+
import { c as a } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const o = a(["flex", "flex-1", "w-full", "flex-col"]);
|
|
17
3
|
export {
|
|
18
|
-
|
|
4
|
+
o as navigationVariants
|
|
19
5
|
};
|
|
@@ -1,38 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { NavigationTitle as
|
|
4
|
-
import { navigationGroupsVariants as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
children: t,
|
|
1
|
+
import { jsxs as s, Fragment as e, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "../../../../utils/index.js";
|
|
3
|
+
import { NavigationTitle as u } from "../NavigationTitle/NavigationTitle.js";
|
|
4
|
+
import { navigationGroupsVariants as p } from "./NavigationGroup.variants.js";
|
|
5
|
+
const v = ({
|
|
6
|
+
children: a,
|
|
8
7
|
title: r,
|
|
9
|
-
className:
|
|
10
|
-
theme: m,
|
|
8
|
+
className: i,
|
|
11
9
|
titleClassName: n,
|
|
12
|
-
isVisible:
|
|
13
|
-
...
|
|
14
|
-
}) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
"ul",
|
|
27
|
-
{
|
|
28
|
-
className: p(
|
|
29
|
-
f({ theme: m ?? s, className: e })
|
|
30
|
-
),
|
|
31
|
-
children: t
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
] }) : null;
|
|
35
|
-
};
|
|
10
|
+
isVisible: t = !0,
|
|
11
|
+
...m
|
|
12
|
+
}) => t ? /* @__PURE__ */ s(e, { children: [
|
|
13
|
+
r ? /* @__PURE__ */ o(
|
|
14
|
+
u,
|
|
15
|
+
{
|
|
16
|
+
title: r,
|
|
17
|
+
className: n,
|
|
18
|
+
...m
|
|
19
|
+
}
|
|
20
|
+
) : null,
|
|
21
|
+
/* @__PURE__ */ o("ul", { className: l(p({ className: i })), children: a })
|
|
22
|
+
] }) : null;
|
|
36
23
|
export {
|
|
37
|
-
|
|
24
|
+
v as NavigationGroup
|
|
38
25
|
};
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { c as a } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
3
|
-
variants: {
|
|
4
|
-
theme: {
|
|
5
|
-
colony: "",
|
|
6
|
-
kubefirst: "",
|
|
7
|
-
civo: ""
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
defaultVariants: {
|
|
11
|
-
theme: "kubefirst"
|
|
12
|
-
}
|
|
13
|
-
});
|
|
2
|
+
const r = a(["flex", "flex-col", "gap-1"]);
|
|
14
3
|
export {
|
|
15
|
-
|
|
4
|
+
r as navigationGroupsVariants
|
|
16
5
|
};
|
|
@@ -1,32 +1,26 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { cn as
|
|
3
|
-
import { navigationOptionVariants as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
theme: e,
|
|
9
|
-
isVisible: r = !0,
|
|
2
|
+
import { cn as m } from "../../../../utils/index.js";
|
|
3
|
+
import { navigationOptionVariants as p } from "./NavigationOption.variants.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
children: o,
|
|
6
|
+
className: r,
|
|
7
|
+
isVisible: t = !0,
|
|
10
8
|
isActive: i,
|
|
11
9
|
...n
|
|
12
|
-
}) =>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
children: t
|
|
27
|
-
}
|
|
28
|
-
) : null;
|
|
29
|
-
};
|
|
10
|
+
}) => t ? /* @__PURE__ */ a(
|
|
11
|
+
"li",
|
|
12
|
+
{
|
|
13
|
+
...n,
|
|
14
|
+
role: "option",
|
|
15
|
+
className: m(
|
|
16
|
+
p({
|
|
17
|
+
className: r,
|
|
18
|
+
isActive: i
|
|
19
|
+
})
|
|
20
|
+
),
|
|
21
|
+
children: o
|
|
22
|
+
}
|
|
23
|
+
) : null;
|
|
30
24
|
export {
|
|
31
|
-
|
|
25
|
+
f as NavigationOption
|
|
32
26
|
};
|
|
@@ -16,21 +16,15 @@ const a = t(
|
|
|
16
16
|
"md:py-2.5",
|
|
17
17
|
"p-2",
|
|
18
18
|
"text-black",
|
|
19
|
-
"w-full"
|
|
19
|
+
"w-full",
|
|
20
|
+
"text-[#9ea2c6]",
|
|
21
|
+
"hover:text-white",
|
|
22
|
+
"hover:bg-[#252a41]",
|
|
23
|
+
"selection:bg-powder-500",
|
|
24
|
+
"selection:text-white"
|
|
20
25
|
],
|
|
21
26
|
{
|
|
22
27
|
variants: {
|
|
23
|
-
theme: {
|
|
24
|
-
colony: "",
|
|
25
|
-
kubefirst: [
|
|
26
|
-
"text-[#9ea2c6]",
|
|
27
|
-
"hover:text-white",
|
|
28
|
-
"hover:bg-[#252a41]",
|
|
29
|
-
"selection:bg-powder-500",
|
|
30
|
-
"selection:text-white"
|
|
31
|
-
],
|
|
32
|
-
civo: ""
|
|
33
|
-
},
|
|
34
28
|
isActive: {
|
|
35
29
|
true: "",
|
|
36
30
|
false: ""
|
|
@@ -38,14 +32,10 @@ const a = t(
|
|
|
38
32
|
},
|
|
39
33
|
compoundVariants: [
|
|
40
34
|
{
|
|
41
|
-
theme: "kubefirst",
|
|
42
35
|
isActive: !0,
|
|
43
36
|
class: ["text-white", "bg-[#252a41]"]
|
|
44
37
|
}
|
|
45
|
-
]
|
|
46
|
-
defaultVariants: {
|
|
47
|
-
theme: "kubefirst"
|
|
48
|
-
}
|
|
38
|
+
]
|
|
49
39
|
}
|
|
50
40
|
);
|
|
51
41
|
export {
|
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { navigationSeparatorVariant as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
theme: o
|
|
8
|
-
}) => {
|
|
9
|
-
const { theme: r } = i();
|
|
10
|
-
return /* @__PURE__ */ e(
|
|
11
|
-
"div",
|
|
12
|
-
{
|
|
13
|
-
className: m(
|
|
14
|
-
a({ className: t, theme: o ?? r })
|
|
15
|
-
)
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
};
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as r } from "../../../../utils/index.js";
|
|
3
|
+
import { navigationSeparatorVariant as t } from "./NavigationSeparator.variants.js";
|
|
4
|
+
const p = ({
|
|
5
|
+
className: a
|
|
6
|
+
}) => /* @__PURE__ */ o("div", { className: r(t({ className: a })) });
|
|
19
7
|
export {
|
|
20
|
-
|
|
8
|
+
p as NavigationSeparator
|
|
21
9
|
};
|
package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { c as r } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
colony: "",
|
|
8
|
-
kubefirst: "border-t-[#9ea2c6]/30",
|
|
9
|
-
civo: ""
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
theme: "kubefirst"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
2
|
+
const o = r([
|
|
3
|
+
"border-t",
|
|
4
|
+
"rounded-full",
|
|
5
|
+
"my-1.5"
|
|
6
|
+
]);
|
|
17
7
|
export {
|
|
18
|
-
|
|
8
|
+
o as navigationSeparatorVariant
|
|
19
9
|
};
|
|
@@ -1,24 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "../../../../utils/index.js";
|
|
3
3
|
import { navigationTitleVariants as a } from "./NavigationTitle.variants.js";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isVisible: o = !0
|
|
10
|
-
}) => {
|
|
11
|
-
const { theme: i } = s();
|
|
12
|
-
return o ? /* @__PURE__ */ m(
|
|
13
|
-
"h2",
|
|
14
|
-
{
|
|
15
|
-
className: n(
|
|
16
|
-
a({ theme: r ?? i, className: e })
|
|
17
|
-
),
|
|
18
|
-
children: t
|
|
19
|
-
}
|
|
20
|
-
) : null;
|
|
21
|
-
};
|
|
4
|
+
const s = ({
|
|
5
|
+
title: r,
|
|
6
|
+
className: t,
|
|
7
|
+
isVisible: i = !0
|
|
8
|
+
}) => i ? /* @__PURE__ */ n("h2", { className: o(a({ className: t })), children: r }) : null;
|
|
22
9
|
export {
|
|
23
|
-
|
|
10
|
+
s as NavigationTitle
|
|
24
11
|
};
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
],
|
|
13
|
-
civo: ""
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
defaultVariants: {
|
|
17
|
-
theme: "kubefirst"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
);
|
|
2
|
+
const o = t([
|
|
3
|
+
"text-sm",
|
|
4
|
+
"font-bold",
|
|
5
|
+
"px-4",
|
|
6
|
+
"mt-3",
|
|
7
|
+
"mb-2",
|
|
8
|
+
"text-white",
|
|
9
|
+
"selection:bg-powder-500",
|
|
10
|
+
"selection:text-white"
|
|
11
|
+
]);
|
|
21
12
|
export {
|
|
22
|
-
|
|
13
|
+
o as navigationTitleVariants
|
|
23
14
|
};
|