@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
@@ -12,7 +12,7 @@ const a = e(
12
12
  disabled: !1
13
13
  }
14
14
  }
15
- ), o = e(
15
+ ), c = e(
16
16
  [
17
17
  "border",
18
18
  "border-zinc-400",
@@ -37,11 +37,6 @@ const a = e(
37
37
  ],
38
38
  {
39
39
  variants: {
40
- theme: {
41
- colony: "",
42
- kubefirst: "",
43
- civo: ""
44
- },
45
40
  disabled: {
46
41
  true: "",
47
42
  false: ""
@@ -53,7 +48,6 @@ const a = e(
53
48
  },
54
49
  compoundVariants: [
55
50
  {
56
- theme: "kubefirst",
57
51
  disabled: !1,
58
52
  checked: [!0, !1],
59
53
  class: [
@@ -62,7 +56,6 @@ const a = e(
62
56
  ]
63
57
  },
64
58
  {
65
- theme: "kubefirst",
66
59
  disabled: !0,
67
60
  checked: !0,
68
61
  class: [
@@ -73,7 +66,6 @@ const a = e(
73
66
  ]
74
67
  },
75
68
  {
76
- theme: "kubefirst",
77
69
  disabled: !0,
78
70
  checked: !1,
79
71
  class: [
@@ -87,13 +79,12 @@ const a = e(
87
79
  }
88
80
  ],
89
81
  defaultVariants: {
90
- theme: "kubefirst",
91
82
  disabled: !1
92
83
  }
93
84
  }
94
- ), t = e(["text-sm", "text-zinc-700"]);
85
+ ), o = e(["text-sm", "text-zinc-700"]);
95
86
  export {
96
- t as labelRadioVariants,
97
- o as radioVariants,
87
+ o as labelRadioVariants,
88
+ c as radioVariants,
98
89
  a as wrapperRadioVariants
99
90
  };
@@ -1,41 +1,35 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { cn as a } from "../../utils/index.js";
3
- import { Card as h } from "../Card/Card.js";
4
- import { Radio as l } from "../Radio/Radio.js";
5
- import { radioCardVariants as n } from "./RadioCard.variants.js";
6
- import { useTheme as f } from "../../contexts/theme.hook.js";
7
- const N = ({
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { cn as m } from "../../utils/index.js";
3
+ import { Card as t } from "../Card/Card.js";
4
+ import { Radio as e } from "../Radio/Radio.js";
5
+ import { radioCardVariants as l } from "./RadioCard.variants.js";
6
+ const w = ({
8
7
  wrapperClassName: o,
9
- theme: t,
10
- labelWrapperClassName: i,
11
- checked: r,
8
+ theme: i,
9
+ labelWrapperClassName: p,
10
+ checked: a,
12
11
  ...s
13
- }) => {
14
- const { theme: p } = f(), e = t ?? p;
15
- return /* @__PURE__ */ m(
16
- h,
17
- {
18
- className: a(
19
- n({
20
- className: o,
21
- theme: e
22
- })
23
- ),
24
- wrapperClassName: "w-max",
25
- theme: e,
26
- isActive: r,
27
- children: /* @__PURE__ */ m(
28
- l,
29
- {
30
- theme: e,
31
- wrapperClassName: a("w-full h-full p-3 gap-3", i),
32
- checked: r,
33
- ...s
34
- }
35
- )
36
- }
37
- );
38
- };
12
+ }) => /* @__PURE__ */ r(
13
+ t,
14
+ {
15
+ "data-theme": i,
16
+ className: m(
17
+ l({
18
+ className: o
19
+ })
20
+ ),
21
+ wrapperClassName: "w-max",
22
+ isActive: a,
23
+ children: /* @__PURE__ */ r(
24
+ e,
25
+ {
26
+ wrapperClassName: m("w-full h-full p-3 gap-3", p),
27
+ checked: a,
28
+ ...s
29
+ }
30
+ )
31
+ }
32
+ );
39
33
  export {
40
- N as RadioCard
34
+ w as RadioCard
41
35
  };
@@ -1,19 +1,10 @@
1
- import { c as e } from "../../index-BNmRGtA6.js";
2
- const t = e(
3
- ["flex", "items-center", "p-0", "border-2"],
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 r } from "../../index-BNmRGtA6.js";
2
+ const e = r([
3
+ "flex",
4
+ "items-center",
5
+ "p-0",
6
+ "border-2"
7
+ ]);
17
8
  export {
18
- t as radioCardVariants
9
+ e as radioCardVariants
19
10
  };
@@ -1,41 +1,40 @@
1
- import { jsx as e, Fragment as S } from "react/jsx-runtime";
2
- import { useState as k, useCallback as l } from "react";
3
- import { cn as m } from "../../utils/index.js";
1
+ import { jsx as m, Fragment as l } from "react/jsx-runtime";
2
+ import { useState as n, useCallback as x } from "react";
3
+ import { cn as c } from "../../utils/index.js";
4
4
  import { RadioCard as G } from "../RadioCard/RadioCard.js";
5
5
  import { radioCardGroupVariants as R } from "./RadioCardGroup.variants.js";
6
- import { useTheme as T } from "../../contexts/theme.hook.js";
7
- const z = ({
8
- className: o,
9
- defaultChecked: c,
6
+ const w = ({
7
+ className: d,
8
+ defaultChecked: o,
10
9
  direction: s,
11
- name: d,
10
+ name: e,
12
11
  options: i,
13
- theme: p,
14
- wrapperClassName: a,
12
+ theme: a,
13
+ wrapperClassName: p,
15
14
  onValueChange: t
16
15
  }) => {
17
- const { theme: f } = T(), [h, n] = k(c), x = l(
16
+ const [f, N] = n(o), S = x(
18
17
  (r) => {
19
- n(r), t == null || t(r);
18
+ N(r), t == null || t(r);
20
19
  },
21
20
  [t]
22
21
  );
23
- return /* @__PURE__ */ e(
22
+ return /* @__PURE__ */ m(
24
23
  "div",
25
24
  {
26
- className: m(
27
- R({ className: a, direction: s })
25
+ className: c(
26
+ R({ className: p, direction: s })
28
27
  ),
29
- children: /* @__PURE__ */ e(S, { children: i.map(({ value: r, ...N }) => /* @__PURE__ */ e(
28
+ "data-theme": a,
29
+ children: /* @__PURE__ */ m(l, { children: i.map(({ value: r, ...k }) => /* @__PURE__ */ m(
30
30
  G,
31
31
  {
32
32
  value: r,
33
- theme: p ?? f,
34
- name: d,
35
- className: m(o),
36
- checked: h === r,
37
- onChange: () => x(r),
38
- ...N
33
+ name: e,
34
+ className: c(d),
35
+ checked: f === r,
36
+ onChange: () => S(r),
37
+ ...k
39
38
  },
40
39
  r
41
40
  )) })
@@ -43,5 +42,5 @@ const z = ({
43
42
  );
44
43
  };
45
44
  export {
46
- z as RadioCardGroup
45
+ w as RadioCardGroup
47
46
  };
@@ -1,21 +1,15 @@
1
- import { c as o } from "../../index-BNmRGtA6.js";
2
- const a = o(["flex"], {
1
+ import { c as a } from "../../index-BNmRGtA6.js";
2
+ const r = a(["flex"], {
3
3
  variants: {
4
- theme: {
5
- colony: "",
6
- kubefirst: "",
7
- civo: ""
8
- },
9
4
  direction: {
10
5
  row: ["flex-row", "gap-8"],
11
6
  col: ["flex-col", "gap-4"]
12
7
  }
13
8
  },
14
9
  defaultVariants: {
15
- theme: "kubefirst",
16
10
  direction: "col"
17
11
  }
18
12
  });
19
13
  export {
20
- a as radioCardGroupVariants
14
+ r as radioCardGroupVariants
21
15
  };
@@ -1,51 +1,50 @@
1
- import { jsx as o, Fragment as k } from "react/jsx-runtime";
2
- import { S as G } from "../../index-B_6_jmOO.js";
3
- import { useState as R, useCallback as T } from "react";
4
- import { cn as r } from "../../utils/index.js";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { S as x } from "../../index-Bk324h27.js";
3
+ import { useState as G, useCallback as R } from "react";
4
+ import { cn as m } from "../../utils/index.js";
5
5
  import { Radio as b } from "../Radio/Radio.js";
6
6
  import { radioGroupVariants as j } from "./RadioGroup.variants.js";
7
- import { useTheme as F } from "../../contexts/theme.hook.js";
8
- const E = ({
9
- asChild: e,
10
- className: s,
11
- defaultChecked: c,
7
+ const B = ({
8
+ asChild: s,
9
+ className: c,
10
+ defaultChecked: e,
12
11
  name: i,
13
- options: p,
14
- theme: d,
15
- wrapperClassName: f,
16
- direction: a,
17
- onValueChange: m
12
+ options: d,
13
+ theme: p,
14
+ wrapperClassName: a,
15
+ direction: f,
16
+ onValueChange: o
18
17
  }) => {
19
- const n = e ? G : "div", { theme: S } = F(), [h, l] = R(
20
- () => c
21
- ), x = T(
18
+ const S = s ? x : "div", [n, N] = G(
19
+ () => e
20
+ ), k = R(
22
21
  (t) => {
23
- l(t), m == null || m(t);
22
+ N(t), o == null || o(t);
24
23
  },
25
- [m]
24
+ [o]
26
25
  );
27
- return /* @__PURE__ */ o(
28
- n,
26
+ return /* @__PURE__ */ r(
27
+ S,
29
28
  {
30
- className: r(
31
- j({ className: f, direction: a })
29
+ className: m(
30
+ j({ className: a, direction: f })
32
31
  ),
33
- children: /* @__PURE__ */ o(k, { children: p.map(({ value: t, ...N }) => /* @__PURE__ */ o(
32
+ "data-theme": p,
33
+ children: d.map(({ value: t, ...l }) => /* @__PURE__ */ r(
34
34
  b,
35
35
  {
36
36
  value: t,
37
- theme: d ?? S,
38
37
  name: i,
39
- className: r(s),
40
- checked: h === t,
41
- onChange: () => x(t),
42
- ...N
38
+ className: m(c),
39
+ checked: n === t,
40
+ onChange: () => k(t),
41
+ ...l
43
42
  },
44
43
  t
45
- )) })
44
+ ))
46
45
  }
47
46
  );
48
47
  };
49
48
  export {
50
- E as RadioGroup
49
+ B as RadioGroup
51
50
  };
@@ -1,21 +1,15 @@
1
1
  import { c as o } from "../../index-BNmRGtA6.js";
2
- const e = o(["flex"], {
2
+ const r = o(["flex"], {
3
3
  variants: {
4
- theme: {
5
- colony: "",
6
- kubefirst: "",
7
- civo: ""
8
- },
9
4
  direction: {
10
5
  row: ["flex-row", "gap-8"],
11
6
  col: ["flex-col", "gap-4"]
12
7
  }
13
8
  },
14
9
  defaultVariants: {
15
- theme: "kubefirst",
16
10
  direction: "col"
17
11
  }
18
12
  });
19
13
  export {
20
- e as radioGroupVariants
14
+ r as radioGroupVariants
21
15
  };
@@ -1,37 +1,36 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { R as V, T as v, a as T, b as c } from "../../index-BzaHYXkt.js";
3
- import { forwardRef as b, useRef as j, useState as k, useImperativeHandle as w, useEffect as y, useCallback as C } from "react";
4
- import { cn as t } from "../../utils/index.js";
5
- import { rangeOutsideVariants as S, trackVariants as $, thumbVariants as i, rangeVariants as E } from "./Range.variants.js";
6
- import { useTheme as H } from "../../contexts/theme.hook.js";
7
- const F = b(
2
+ import { R as g, T as R, a as V, b as c } from "../../index-BOx5P4tS.js";
3
+ import { forwardRef as v, useRef as b, useState as j, useImperativeHandle as k, useEffect as w, useCallback as y } from "react";
4
+ import { cn as a } from "../../utils/index.js";
5
+ import { rangeOutsideVariants as C, trackVariants as T, thumbVariants as i, rangeVariants as S } from "./Range.variants.js";
6
+ const q = v(
8
7
  ({
9
- label: l,
10
- defaultValue: o = [0, 100],
11
- name: u,
12
- theme: h,
13
- size: m,
8
+ label: n,
9
+ defaultValue: u = [0, 100],
10
+ name: m,
11
+ theme: o,
12
+ size: l,
14
13
  showValue: f,
15
14
  ...d
16
- }, p) => {
17
- const a = j(null), [s, x] = k(o), { theme: N } = H(), n = h ?? N;
18
- w(p, () => a.current, [a]), y(() => {
19
- a.current && (a.current.value = `[${s.toString()}]`);
15
+ }, h) => {
16
+ const t = b(null), [s, p] = j(u);
17
+ k(h, () => t.current, [t]), w(() => {
18
+ t.current && (t.current.value = `[${s.toString()}]`);
20
19
  }, [s]);
21
- const g = C(
22
- (R) => x(R),
20
+ const x = y(
21
+ (N) => p(N),
23
22
  []
24
23
  );
25
- return /* @__PURE__ */ r("div", { className: "w-full relative flex flex-col gap-3", children: [
24
+ return /* @__PURE__ */ r("div", { className: "w-full relative flex flex-col gap-3", "data-theme": o, children: [
26
25
  /* @__PURE__ */ r(
27
26
  "div",
28
27
  {
29
- className: t(
28
+ className: a(
30
29
  "flex items-center",
31
- l ? "justify-between" : "justify-end"
30
+ n ? "justify-between" : "justify-end"
32
31
  ),
33
32
  children: [
34
- l ? /* @__PURE__ */ e("label", { children: l }) : null,
33
+ n ? /* @__PURE__ */ e("label", { children: n }) : null,
35
34
  f ? /* @__PURE__ */ r("span", { className: "text-xs", children: [
36
35
  s[0],
37
36
  " - ",
@@ -40,23 +39,18 @@ const F = b(
40
39
  ]
41
40
  }
42
41
  ),
43
- /* @__PURE__ */ e("input", { ref: a, name: u, className: "hidden", type: "text" }),
42
+ /* @__PURE__ */ e("input", { ref: t, name: m, className: "hidden", type: "text" }),
44
43
  /* @__PURE__ */ r(
45
- V,
44
+ g,
46
45
  {
47
46
  value: s,
48
- className: t(E({ theme: n })),
49
- onValueChange: g,
47
+ className: a(S()),
48
+ onValueChange: x,
50
49
  ...d,
51
50
  children: [
52
- /* @__PURE__ */ e(v, { className: t($({ theme: n, size: m })), children: /* @__PURE__ */ e(
53
- T,
54
- {
55
- className: t(S({ theme: n }))
56
- }
57
- ) }),
58
- /* @__PURE__ */ e(c, { className: t(i({ theme: n, size: m })) }),
59
- /* @__PURE__ */ e(c, { className: t(i({ theme: n, size: m })) })
51
+ /* @__PURE__ */ e(R, { className: a(T({ size: l })), children: /* @__PURE__ */ e(V, { className: a(C()) }) }),
52
+ /* @__PURE__ */ e(c, { className: a(i({ size: l })) }),
53
+ /* @__PURE__ */ e(c, { className: a(i({ size: l })) })
60
54
  ]
61
55
  }
62
56
  )
@@ -64,5 +58,5 @@ const F = b(
64
58
  }
65
59
  );
66
60
  export {
67
- F as Range
61
+ q as Range
68
62
  };
@@ -1,47 +1,22 @@
1
- import { c as e } from "../../index-BNmRGtA6.js";
2
- const t = e(
3
- [
4
- "relative",
5
- "flex",
6
- "items-center",
7
- "w-full",
8
- "border",
9
- "border-gray-200",
10
- "rounded-full",
11
- "shadow-sm"
12
- ],
13
- {
14
- variants: {
15
- theme: {
16
- kubefirst: "",
17
- colony: "",
18
- civo: ""
19
- }
20
- },
21
- defaultVariants: {
22
- theme: "kubefirst"
23
- }
24
- }
25
- ), a = e(["absolute", "h-full"], {
26
- variants: {
27
- theme: {
28
- kubefirst: ["bg-kubefirst-secondary"],
29
- colony: ["bg-red-500"],
30
- civo: ""
31
- }
32
- },
33
- defaultVariants: {
34
- theme: "kubefirst"
35
- }
36
- }), s = e(
1
+ import { c as r } from "../../index-BNmRGtA6.js";
2
+ const a = r([
3
+ "relative",
4
+ "flex",
5
+ "items-center",
6
+ "w-full",
7
+ "border",
8
+ "border-gray-200",
9
+ "rounded-full",
10
+ "shadow-sm"
11
+ ]), s = r([
12
+ "absolute",
13
+ "h-full",
14
+ "bg-kubefirst-secondary",
15
+ "colony:bg-red-500"
16
+ ]), t = r(
37
17
  ["relative", "flex-grow", "bg-gray-100", "rounded-full"],
38
18
  {
39
19
  variants: {
40
- theme: {
41
- kubefirst: "",
42
- colony: "",
43
- civo: ""
44
- },
45
20
  size: {
46
21
  sm: ["h-1"],
47
22
  md: ["h-2"],
@@ -49,11 +24,10 @@ const t = e(
49
24
  }
50
25
  },
51
26
  defaultVariants: {
52
- theme: "kubefirst",
53
27
  size: "md"
54
28
  }
55
29
  }
56
- ), i = e(
30
+ ), o = r(
57
31
  [
58
32
  "block",
59
33
  "w-5",
@@ -68,11 +42,6 @@ const t = e(
68
42
  ],
69
43
  {
70
44
  variants: {
71
- theme: {
72
- kubefirst: "",
73
- colony: "",
74
- civo: ""
75
- },
76
45
  size: {
77
46
  sm: ["w-5", "h-5"],
78
47
  md: ["w-6", "h-6"],
@@ -80,14 +49,13 @@ const t = e(
80
49
  }
81
50
  },
82
51
  defaultVariants: {
83
- theme: "kubefirst",
84
52
  size: "md"
85
53
  }
86
54
  }
87
55
  );
88
56
  export {
89
- a as rangeOutsideVariants,
90
- t as rangeVariants,
91
- i as thumbVariants,
92
- s as trackVariants
57
+ s as rangeOutsideVariants,
58
+ a as rangeVariants,
59
+ o as thumbVariants,
60
+ t as trackVariants
93
61
  };
@@ -1,24 +1,23 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { ThemeProvider as t } from "../../contexts/theme.provider.js";
3
- import { Wrapper as a } from "./components/Wrapper/Wrapper.js";
4
- import { Footer as m } from "./components/Footer/Footer.js";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { Wrapper as t } from "./components/Wrapper/Wrapper.js";
3
+ import { Footer as a } from "./components/Footer/Footer.js";
5
4
  import { Logo as p } from "./components/Logo/Logo.js";
6
- import { Navigation as n } from "./components/Navigation/Navigation.js";
7
- import { NavigationGroup as e } from "./components/NavigationGroup/NavigationGroup.js";
5
+ import { Navigation as m } from "./components/Navigation/Navigation.js";
6
+ import { NavigationGroup as n } from "./components/NavigationGroup/NavigationGroup.js";
8
7
  import { NavigationOption as g } from "./components/NavigationOption/NavigationOption.js";
9
8
  import { NavigationSeparator as f } from "./components/NavigationSeparator/NavigationSeparator.js";
10
- const o = (i) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(a, { ...i }) });
11
- o.Footer = m;
9
+ const o = (r) => /* @__PURE__ */ i(t, { ...r });
10
+ o.Footer = a;
12
11
  o.Logo = p;
13
- o.Navigation = n;
14
- o.NavigationGroup = e;
12
+ o.Navigation = m;
13
+ o.NavigationGroup = n;
15
14
  o.NavigationOption = g;
16
15
  o.NavigationSeparator = f;
17
16
  export {
18
- m as Footer,
17
+ a as Footer,
19
18
  p as Logo,
20
- n as Navigation,
21
- e as NavigationGroup,
19
+ m as Navigation,
20
+ n as NavigationGroup,
22
21
  g as NavigationOption,
23
22
  f as NavigationSeparator,
24
23
  o as Sidebar