@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.
Files changed (144) hide show
  1. package/dist/{Modal-B-E9uaA6.js → Modal-i7eolhYH.js} +311 -307
  2. package/dist/components/Alert/Alert.js +24 -29
  3. package/dist/components/Alert/Alert.variants.js +9 -15
  4. package/dist/components/AlertDialog/AlertDialog.js +59 -46
  5. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -2
  6. package/dist/components/AlertDialog/components/index.js +1 -1
  7. package/dist/components/Autocomplete/Autocomplete.js +76 -72
  8. package/dist/components/Autocomplete/Autocomplete.variants.js +11 -20
  9. package/dist/components/Autocomplete/components/List/List.js +28 -30
  10. package/dist/components/Autocomplete/components/List/List.variants.js +34 -40
  11. package/dist/components/Breadcrumb/Breadcrumb.js +47 -56
  12. package/dist/components/Breadcrumb/Breadcrumb.variants.js +6 -26
  13. package/dist/components/Breadcrumb/components/Item/Item.js +29 -41
  14. package/dist/components/Breadcrumb/components/Item/Item.variants.js +2 -20
  15. package/dist/components/Button/Button.js +33 -37
  16. package/dist/components/Button/Button.variants.js +138 -195
  17. package/dist/components/Card/Card.js +32 -37
  18. package/dist/components/Card/Card.variants.js +18 -53
  19. package/dist/components/Checkbox/Checkbox.js +65 -68
  20. package/dist/components/Checkbox/Checkbox.variants.js +11 -35
  21. package/dist/components/Command/Command.js +33 -25
  22. package/dist/components/Command/Command.variants.js +47 -94
  23. package/dist/components/Command/components/Command.js +1 -1
  24. package/dist/components/Command/components/CommandEmpty.js +1 -1
  25. package/dist/components/Command/components/CommandGroup.js +1 -1
  26. package/dist/components/Command/components/CommandInput.js +1 -1
  27. package/dist/components/Command/components/CommandItem.js +1 -1
  28. package/dist/components/Command/components/CommandList.js +1 -1
  29. package/dist/components/Command/components/CommandSeparator.js +1 -1
  30. package/dist/components/Command/components/DialogContent.js +1 -1
  31. package/dist/components/Command/components/DialogOverlay.js +8 -8
  32. package/dist/components/Divider/Divider.js +3 -2
  33. package/dist/components/Divider/Divider.variants.js +12 -9
  34. package/dist/components/Dropdown/Dropdown.js +6 -6
  35. package/dist/components/Dropdown/Dropdown.variants.js +31 -38
  36. package/dist/components/Dropdown/components/List/List.js +17 -15
  37. package/dist/components/Dropdown/components/List/List.variants.js +22 -32
  38. package/dist/components/Dropdown/components/ListItem/ListItem.js +20 -19
  39. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +18 -30
  40. package/dist/components/Dropdown/components/Wrapper.js +127 -90
  41. package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
  42. package/dist/components/Dropdown/contexts/dropdown.provider.js +9 -9
  43. package/dist/components/Input/Input.js +37 -37
  44. package/dist/components/Input/Input.variants.js +8 -13
  45. package/dist/components/Loading/Loading.js +60 -58
  46. package/dist/components/Loading/Loading.variants.js +9 -15
  47. package/dist/components/Modal/Modal.js +2 -2
  48. package/dist/components/Modal/components/Body/Body.js +1 -1
  49. package/dist/components/Modal/components/Footer/Footer.js +2 -2
  50. package/dist/components/Modal/components/Header/Header.js +3 -3
  51. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -4
  52. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +32 -46
  53. package/dist/components/Modal/components/index.js +1 -1
  54. package/dist/components/NumberInput/NumberInput.js +93 -111
  55. package/dist/components/NumberInput/NumberInput.variants.js +30 -51
  56. package/dist/components/ProgressBar/ProgressBar.js +25 -29
  57. package/dist/components/ProgressBar/ProgressBar.variants.js +10 -31
  58. package/dist/components/Radio/Radio.js +45 -46
  59. package/dist/components/Radio/Radio.variants.js +4 -13
  60. package/dist/components/RadioCard/RadioCard.js +31 -37
  61. package/dist/components/RadioCard/RadioCard.variants.js +8 -17
  62. package/dist/components/RadioCardGroup/RadioCardGroup.js +22 -23
  63. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +3 -9
  64. package/dist/components/RadioGroup/RadioGroup.js +30 -31
  65. package/dist/components/RadioGroup/RadioGroup.variants.js +2 -8
  66. package/dist/components/Range/Range.js +28 -34
  67. package/dist/components/Range/Range.variants.js +21 -53
  68. package/dist/components/Sidebar/Sidebar.js +12 -13
  69. package/dist/components/Sidebar/Sidebar.variants.js +30 -56
  70. package/dist/components/Sidebar/components/Footer/Footer.js +5 -17
  71. package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -16
  72. package/dist/components/Sidebar/components/Logo/Logo.js +5 -15
  73. package/dist/components/Sidebar/components/Logo/Logo.variants.js +20 -36
  74. package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -28
  75. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +3 -17
  76. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +21 -34
  77. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -13
  78. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +21 -27
  79. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +7 -17
  80. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +7 -19
  81. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -16
  82. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +8 -21
  83. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +11 -20
  84. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +41 -44
  85. package/dist/components/Slider/Slider.js +26 -27
  86. package/dist/components/Slider/Slider.variants.js +22 -34
  87. package/dist/components/Switch/Switch.js +103 -106
  88. package/dist/components/Switch/Switch.variants.js +28 -53
  89. package/dist/components/Table/Table.js +27 -0
  90. package/dist/components/Table/Table.variants.js +40 -0
  91. package/dist/components/Table/components/Body.js +18 -0
  92. package/dist/components/Table/components/Filter.js +9 -0
  93. package/dist/components/Table/components/Head.js +18 -0
  94. package/dist/components/Table/components/Row.js +28 -0
  95. package/dist/components/Table/components/index.js +10 -0
  96. package/dist/components/Tag/Tag.js +1 -1
  97. package/dist/components/TagSelect/TagSelect.variants.js +23 -55
  98. package/dist/components/TagSelect/components/Item/Item.js +12 -14
  99. package/dist/components/TagSelect/components/Item/Item.variants.js +11 -10
  100. package/dist/components/TagSelect/components/List/List.js +9 -10
  101. package/dist/components/TagSelect/components/List/List.variants.js +21 -35
  102. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +46 -48
  103. package/dist/components/TextArea/TextArea.js +20 -23
  104. package/dist/components/TextArea/TextArea.variants.js +19 -31
  105. package/dist/components/Toast/Toast.js +110 -116
  106. package/dist/components/Toast/Toast.variants.js +42 -70
  107. package/dist/components/Tooltip/Tooltip.js +21 -27
  108. package/dist/components/Tooltip/Tooltip.variants.js +61 -62
  109. package/dist/components/Typography/Typography.js +23 -19
  110. package/dist/components/Typography/Typography.variants.js +1 -7
  111. package/dist/components/index.js +22 -20
  112. package/dist/contexts/theme.provider.js +37 -39
  113. package/dist/domain/theme.js +0 -0
  114. package/dist/index-AM3avohj.js +133 -0
  115. package/dist/{index-BzaHYXkt.js → index-BOx5P4tS.js} +5 -5
  116. package/dist/index-Bk324h27.js +82 -0
  117. package/dist/{index-4ecjw_Aj.js → index-Bry5AFQ2.js} +1 -1
  118. package/dist/{index-CbTU3cnP.js → index-CWKdynYu.js} +1 -1
  119. package/dist/index-D9BbbgUq.js +47 -0
  120. package/dist/{index-DyKo5ZJT.js → index-DvFiic6N.js} +45 -45
  121. package/dist/{index-Dj1pom3_.js → index-G_6jG4Qc.js} +2 -2
  122. package/dist/{index-D_76wh4w.js → index-YaQrdkGE.js} +3 -3
  123. package/dist/{index-Cva-e5M4.js → index-bYyfdsls.js} +9 -9
  124. package/dist/index-dRxIWVBr.js +313 -0
  125. package/dist/{index-D7QNmo_D.js → index-g-TFwd6Y.js} +41 -41
  126. package/dist/index.d.ts +115 -98
  127. package/dist/index.js +30 -30
  128. package/dist/package.json +37 -36
  129. package/dist/styles.css +1 -1
  130. package/dist/ui/kubefirst-theme.css +296 -0
  131. package/dist/ui/theme.css +6 -0
  132. package/dist/ui/utilities.css +165 -0
  133. package/dist/utils/index.js +675 -424
  134. package/package.json +37 -36
  135. package/dist/components/AlertDialog/AlertDialog.variants.js +0 -15
  136. package/dist/index-B_6_jmOO.js +0 -68
  137. package/dist/index-BbsJ0VIJ.js +0 -47
  138. package/dist/index-CzSBQN5S.js +0 -432
  139. package/dist/index-DUA6Y_AE.js +0 -126
  140. package/dist/plugins/index.js +0 -4
  141. package/dist/plugins/konstruct.js +0 -118
  142. package/dist/plugins/utils/animation.styles.js +0 -162
  143. package/dist/plugins/utils/colors.js +0 -331
  144. package/dist/plugins/utils/index.js +0 -7
@@ -1,58 +1,32 @@
1
- import { c as a } from "../../index-BNmRGtA6.js";
2
- const r = a(
3
- [
4
- "duration-200",
5
- "ease-linear",
6
- "flex",
7
- "flex-col",
8
- "flex-shrink-0",
9
- "group/sidebar",
10
- "h-full",
11
- "px-4",
12
- "relative",
13
- "transition-all",
14
- "w-[72px]",
15
- "md:w-[256px]"
16
- ],
17
- {
18
- variants: {
19
- theme: {
20
- colony: "",
21
- kubefirst: ["bg-kubefirst-dark-blue-900"],
22
- civo: ""
23
- }
24
- },
25
- defaultVariants: {
26
- theme: "kubefirst"
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
- t as dragVariants,
57
- r as wrapperSiderbarVariants
30
+ o as dragVariants,
31
+ e as wrapperSiderbarVariants
58
32
  };
@@ -1,19 +1,7 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { cn as s } from "../../../../utils/index.js";
3
- import { footerVariants as f } from "./Footer.variants.js";
4
- import { useTheme as n } from "../../../../contexts/theme.hook.js";
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
- h as Footer
6
+ i as Footer
19
7
  };
@@ -1,19 +1,12 @@
1
1
  import { c as t } from "../../../../index-BNmRGtA6.js";
2
- const a = t(
3
- ["p-2", "pb-5", "text-white", "flex", "flex-col", "gap-2"],
4
- {
5
- variants: {
6
- theme: {
7
- colony: "",
8
- kubefirst: "",
9
- civo: ""
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
- a as footerVariants
11
+ e as footerVariants
19
12
  };
@@ -1,17 +1,7 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { cn as s } from "../../../../utils/index.js";
3
- import { logoVariants as n } from "./Logo.variants.js";
4
- import { useTheme as a } from "../../../../contexts/theme.hook.js";
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
- f as Logo
6
+ p as Logo
17
7
  };
@@ -1,39 +1,23 @@
1
- import { c as t } from "../../../../index-BNmRGtA6.js";
2
- const o = t(
3
- [
4
- "md:px-4",
5
- "md:py-5",
6
- "flex",
7
- "flex-col",
8
- "items-center",
9
- "items-center",
10
- "justify-center",
11
- "gap-1",
12
- "group",
13
- "relative",
14
- "mb-8",
15
- "[&>p]:pl-14",
16
- "[&>p]:-mt-2",
17
- "[&>img]:pt-3",
18
- "[&>*>p]:absolute",
19
- "[&>*>p]:bottom-0",
20
- "[&>*>p]:-mt-2",
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 m } from "react/jsx-runtime";
2
- import { cn as n } from "../../../../utils/index.js";
3
- import { NavigationGroup as e } from "../NavigationGroup/NavigationGroup.js";
4
- import { NavigationOption as p } from "../NavigationOption/NavigationOption.js";
5
- import { NavigationSeparator as v } from "../NavigationSeparator/NavigationSeparator.js";
6
- import { NavigationTitle as g } from "../NavigationTitle/NavigationTitle.js";
7
- import { navigationVariants as N } from "./Navigation.variants.js";
8
- import { useTheme as f } from "../../../../contexts/theme.hook.js";
9
- const o = ({
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
- const { theme: r } = f();
15
- return /* @__PURE__ */ m(
16
- "nav",
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
- o as Navigation
17
+ i as Navigation
31
18
  };
@@ -1,19 +1,5 @@
1
- import { c as t } from "../../../../index-BNmRGtA6.js";
2
- const e = t(
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
- e as navigationVariants
4
+ o as navigationVariants
19
5
  };
@@ -1,38 +1,25 @@
1
- import { jsxs as u, Fragment as l, jsx as o } from "react/jsx-runtime";
2
- import { cn as p } from "../../../../utils/index.js";
3
- import { NavigationTitle as c } from "../NavigationTitle/NavigationTitle.js";
4
- import { navigationGroupsVariants as f } from "./NavigationGroup.variants.js";
5
- import { useTheme as h } from "../../../../contexts/theme.hook.js";
6
- const j = ({
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: e,
10
- theme: m,
8
+ className: i,
11
9
  titleClassName: n,
12
- isVisible: i = !0,
13
- ...a
14
- }) => {
15
- const { theme: s } = h();
16
- return i ? /* @__PURE__ */ u(l, { children: [
17
- r ? /* @__PURE__ */ o(
18
- c,
19
- {
20
- title: r,
21
- className: n,
22
- ...a
23
- }
24
- ) : null,
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
- j as NavigationGroup
24
+ v as NavigationGroup
38
25
  };
@@ -1,16 +1,5 @@
1
1
  import { c as a } from "../../../../index-BNmRGtA6.js";
2
- const e = a(["flex", "flex-col", "gap-1"], {
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
- e as navigationGroupsVariants
4
+ r as navigationGroupsVariants
16
5
  };
@@ -1,32 +1,26 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { cn as p } from "../../../../utils/index.js";
3
- import { navigationOptionVariants as s } from "./NavigationOption.variants.js";
4
- import { useTheme as c } from "../../../../contexts/theme.hook.js";
5
- const x = ({
6
- children: t,
7
- className: o,
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
- const { theme: m } = c();
14
- return r ? /* @__PURE__ */ a(
15
- "li",
16
- {
17
- ...n,
18
- role: "option",
19
- className: p(
20
- s({
21
- theme: e ?? m,
22
- className: o,
23
- isActive: i
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
- x as NavigationOption
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 e } from "react/jsx-runtime";
2
- import { cn as m } from "../../../../utils/index.js";
3
- import { navigationSeparatorVariant as a } from "./NavigationSeparator.variants.js";
4
- import { useTheme as i } from "../../../../contexts/theme.hook.js";
5
- const f = ({
6
- className: t,
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
- f as NavigationSeparator
8
+ p as NavigationSeparator
21
9
  };
@@ -1,19 +1,9 @@
1
1
  import { c as r } from "../../../../index-BNmRGtA6.js";
2
- const a = r(
3
- ["border-t", "rounded-full", "my-1.5"],
4
- {
5
- variants: {
6
- theme: {
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
- a as navigationSeparatorVariant
8
+ o as navigationSeparatorVariant
19
9
  };
@@ -1,24 +1,11 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { cn as n } from "../../../../utils/index.js";
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
- import { useTheme as s } from "../../../../contexts/theme.hook.js";
5
- const p = ({
6
- title: t,
7
- className: e,
8
- theme: r,
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
- p as NavigationTitle
10
+ s as NavigationTitle
24
11
  };
@@ -1,23 +1,14 @@
1
1
  import { c as t } from "../../../../index-BNmRGtA6.js";
2
- const i = t(
3
- ["text-sm", "font-bold", "px-4", "mt-3", "mb-2"],
4
- {
5
- variants: {
6
- theme: {
7
- colony: "",
8
- kubefirst: [
9
- "text-white",
10
- "selection:bg-powder-500",
11
- "selection:text-white"
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
- i as navigationTitleVariants
13
+ o as navigationTitleVariants
23
14
  };