@konstructio/ui 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/dist/{AlertDialogTrigger-BIbxXexQ.js → AlertDialogTrigger-lenvKoGF.js} +4 -4
  2. package/dist/Modal-Bg9UG35z.js +909 -0
  3. package/dist/{chevron-up-Cmu1oXfj.js → chevron-up-CvquEaNg.js} +1 -1
  4. package/dist/clsx-OuTLNxxd.js +16 -0
  5. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  6. package/dist/components/AlertDialog/AlertDialog.variants.d.ts +1 -1
  7. package/dist/components/AlertDialog/AlertDialog.variants.js +4 -5
  8. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  9. package/dist/components/AlertDialog/components/index.js +1 -1
  10. package/dist/components/Autocomplete/Autocomplete.variants.d.ts +2 -2
  11. package/dist/components/Autocomplete/Autocomplete.variants.js +8 -8
  12. package/dist/components/Autocomplete/components/List.types.d.ts +3 -3
  13. package/dist/components/Autocomplete/components/List.variants.d.ts +4 -4
  14. package/dist/components/Autocomplete/components/List.variants.js +13 -13
  15. package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +4 -4
  16. package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +4 -4
  17. package/dist/components/Breadcrumb/Breadcrumb.js +57 -412
  18. package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +3 -3
  19. package/dist/components/Breadcrumb/Breadcrumb.variants.js +12 -12
  20. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  21. package/dist/components/Button/Button.js +23 -21
  22. package/dist/components/Button/Button.variants.d.ts +2 -1
  23. package/dist/components/Button/Button.variants.js +122 -23
  24. package/dist/components/Checkbox/Checkbox.js +4 -4
  25. package/dist/components/Checkbox/Checkbox.variants.d.ts +2 -2
  26. package/dist/components/Checkbox/Checkbox.variants.js +7 -16
  27. package/dist/components/Dropdown/Dropdown.js +5 -5
  28. package/dist/components/Dropdown/Dropdown.types.d.ts +1 -0
  29. package/dist/components/Dropdown/Dropdown.variants.d.ts +1 -1
  30. package/dist/components/Dropdown/Dropdown.variants.js +5 -9
  31. package/dist/components/Dropdown/components/List/List.d.ts +2 -2
  32. package/dist/components/Dropdown/components/List/List.types.d.ts +3 -3
  33. package/dist/components/Dropdown/components/List/List.variants.d.ts +1 -1
  34. package/dist/components/Dropdown/components/List/List.variants.js +3 -3
  35. package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +1 -1
  36. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +3 -3
  37. package/dist/components/Dropdown/components/Wrapper.d.ts +2 -2
  38. package/dist/components/Dropdown/components/Wrapper.js +1 -1
  39. package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +4 -1
  40. package/dist/components/Dropdown/contexts/dropdown.provider.js +19 -8
  41. package/dist/components/Dropdown/hooks/useDropdown.d.ts +4 -4
  42. package/dist/components/Dropdown/hooks/useNavigationList.d.ts +4 -4
  43. package/dist/components/Input/Input.js +1 -1
  44. package/dist/components/Input/Input.variants.d.ts +1 -1
  45. package/dist/components/Input/Input.variants.js +3 -3
  46. package/dist/components/Modal/Modal.js +2 -2
  47. package/dist/components/Modal/components/Body/Body.js +1 -1
  48. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  49. package/dist/components/Modal/components/Header/Header.js +1 -1
  50. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
  51. package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +2 -2
  52. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +10 -10
  53. package/dist/components/Modal/components/index.js +1 -1
  54. package/dist/components/Modal/hooks/useModal.d.ts +1 -1
  55. package/dist/components/NumberInput/NumberInput.js +96 -87
  56. package/dist/components/NumberInput/NumberInput.variants.d.ts +3 -3
  57. package/dist/components/NumberInput/NumberInput.variants.js +14 -21
  58. package/dist/components/ProgressBar/ProgressBar.variants.d.ts +2 -2
  59. package/dist/components/ProgressBar/ProgressBar.variants.js +7 -12
  60. package/dist/components/Radio/Radio.variants.d.ts +1 -1
  61. package/dist/components/Radio/Radio.variants.js +4 -7
  62. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  63. package/dist/components/Range/Range.js +1 -1
  64. package/dist/components/Range/Range.variants.d.ts +4 -4
  65. package/dist/components/Range/Range.variants.js +18 -18
  66. package/dist/components/Slider/Slider.js +1 -1
  67. package/dist/components/Slider/Slider.variants.d.ts +3 -3
  68. package/dist/components/Slider/Slider.variants.js +12 -12
  69. package/dist/components/Switch/Switch.js +2 -2
  70. package/dist/components/Switch/Switch.variants.d.ts +2 -2
  71. package/dist/components/Switch/Switch.variants.js +6 -6
  72. package/dist/components/Tag/Tag.variants.js +1 -1
  73. package/dist/components/TagSelect/TagSelect.js +1 -1
  74. package/dist/components/TagSelect/TagSelect.variants.d.ts +3 -3
  75. package/dist/components/TagSelect/TagSelect.variants.js +11 -14
  76. package/dist/components/TagSelect/hooks/useTagSelect.d.ts +1 -1
  77. package/dist/components/TextArea/TextArea.variants.d.ts +1 -1
  78. package/dist/components/TextArea/TextArea.variants.js +5 -5
  79. package/dist/components/Toast/Toast.js +104 -101
  80. package/dist/components/Toast/Toast.variants.d.ts +3 -3
  81. package/dist/components/Toast/Toast.variants.js +12 -12
  82. package/dist/components/Tooltip/Tooltip.js +1 -1
  83. package/dist/components/Tooltip/Tooltip.variants.d.ts +2 -2
  84. package/dist/components/Tooltip/Tooltip.variants.js +9 -9
  85. package/dist/components/Tooltip/hooks/useTooltip.d.ts +1 -1
  86. package/dist/components/index.js +1 -1
  87. package/dist/contexts/theme.context.d.ts +1 -1
  88. package/dist/contexts/theme.hook.js +3 -6
  89. package/dist/contexts/theme.provider.d.ts +2 -3
  90. package/dist/contexts/theme.provider.js +4 -1
  91. package/dist/index-BBjak_0p.js +47 -0
  92. package/dist/index-BNmRGtA6.js +34 -0
  93. package/dist/{index-DFbnnPzA.js → index-Ci9Yg4G1.js} +5 -5
  94. package/dist/{index-B_GWswUP.js → index-D4Q2rMby.js} +1 -1
  95. package/dist/{index-DQMInta3.js → index-D68N8v8R.js} +214 -209
  96. package/dist/index-DoOsnuB6.js +72 -0
  97. package/dist/{index-2K8qjK4R.js → index-O3j1K921.js} +36 -37
  98. package/dist/index-OOfdXoxx.js +423 -0
  99. package/dist/index-ffjBR8Av.js +32 -0
  100. package/dist/index.js +1 -1
  101. package/dist/package.json +38 -38
  102. package/dist/plugins/konstruct.js +61 -50
  103. package/dist/plugins/utils/colors.d.ts +127 -10
  104. package/dist/plugins/utils/colors.js +210 -510
  105. package/dist/styles.css +1 -1
  106. package/dist/useBreadcrumb-tyxjV-a1.js +1398 -0
  107. package/dist/utils/index.js +150 -162
  108. package/dist/x-CRBgmX1Q.js +62 -0
  109. package/package.json +38 -38
  110. package/dist/Modal-CO0_SnXD.js +0 -909
  111. package/dist/index-2hJuj4UN.js +0 -19069
  112. package/dist/index-4qm4jAkj.js +0 -92
  113. package/dist/index-BJ7FQg17.js +0 -35
  114. package/dist/index-BqM_XclQ.js +0 -94
  115. package/dist/index-BwYCDOHZ.js +0 -44
  116. package/dist/index-CCavb-1K.js +0 -57
  117. package/dist/useBreadcrumb-BSMnc4Fu.js +0 -341
@@ -1,5 +1,5 @@
1
- import { c as t } from "../../../../index-BwYCDOHZ.js";
2
- const o = t(
1
+ import { c as e } from "../../../../index-BNmRGtA6.js";
2
+ const r = e(
3
3
  [
4
4
  "bg-metal-1000",
5
5
  "bg-white",
@@ -19,22 +19,22 @@ const o = t(
19
19
  variants: {
20
20
  theme: {
21
21
  colony: ["shadow-red-400"],
22
- konstruct: ["shadow-orange-400"],
23
- kubefirst: ["shadow-kubefirst-purple-light"]
22
+ kubefirst: ["shadow-kubefirst-primary"],
23
+ civo: ""
24
24
  }
25
25
  },
26
26
  defaultVariants: {
27
27
  theme: "kubefirst"
28
28
  }
29
29
  }
30
- ), r = t(
30
+ ), o = e(
31
31
  ["absolute", "right-1.5", "top-1.5", "text-inherit"],
32
32
  {
33
33
  variants: {
34
34
  theme: {
35
- kubefirst: ["text-kubefirst-purple-light"],
36
- konstruct: ["text-orange-400"],
37
- colony: ["text-red-400"]
35
+ kubefirst: ["text-kubefirst-primary"],
36
+ colony: ["text-red-400"],
37
+ civo: ""
38
38
  }
39
39
  },
40
40
  defaultVariants: {
@@ -43,6 +43,6 @@ const o = t(
43
43
  }
44
44
  );
45
45
  export {
46
- r as buttonCloseVariants,
47
- o as modalVariants
46
+ o as buttonCloseVariants,
47
+ r as modalVariants
48
48
  };
@@ -1,7 +1,7 @@
1
1
  import { Body as e } from "./Body/Body.js";
2
2
  import { Footer as t } from "./Footer/Footer.js";
3
3
  import { Header as m } from "./Header/Header.js";
4
- import { W as a } from "../../../Modal-CO0_SnXD.js";
4
+ import { W as a } from "../../../Modal-Bg9UG35z.js";
5
5
  export {
6
6
  e as Body,
7
7
  t as Footer,
@@ -1,5 +1,5 @@
1
1
  export declare const useModal: () => {
2
- closeBtnRef: import('react').RefObject<HTMLButtonElement>;
2
+ closeBtnRef: import('react').RefObject<HTMLButtonElement | null>;
3
3
  isOpen: boolean;
4
4
  content: string | import('react').ReactNode;
5
5
  shouldShowClose: boolean;
@@ -1,47 +1,48 @@
1
- import { jsxs as g, jsx as c } from "react/jsx-runtime";
2
- import p, { forwardRef as b, useId as I, useState as _, useCallback as w } from "react";
1
+ import { jsxs as y, jsx as u } from "react/jsx-runtime";
2
+ import p, { forwardRef as v, useId as _, useState as E, useCallback as w } from "react";
3
+ import { R as x } from "../../index-ffjBR8Av.js";
3
4
  import "../../contexts/theme.context.js";
4
- import { useTheme as E } from "../../contexts/theme.hook.js";
5
+ import { useTheme as T } from "../../contexts/theme.hook.js";
5
6
  import "../../js.cookie-OLEfuq_g.js";
6
- import { labelVariants as T, buttonVariants as j, numberInputVariants as $ } from "./NumberInput.variants.js";
7
- import { P as a } from "../../index-DQMInta3.js";
8
- function y() {
9
- return y = Object.assign || function(t) {
10
- for (var i = 1; i < arguments.length; i++) {
11
- var n = arguments[i];
12
- for (var e in n)
13
- Object.prototype.hasOwnProperty.call(n, e) && (t[e] = n[e]);
7
+ import { labelVariants as $, buttonVariants as j, numberInputVariants as L } from "./NumberInput.variants.js";
8
+ import { P as a } from "../../index-D68N8v8R.js";
9
+ function h() {
10
+ return h = Object.assign || function(e) {
11
+ for (var o = 1; o < arguments.length; o++) {
12
+ var n = arguments[o];
13
+ for (var t in n)
14
+ Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
14
15
  }
15
- return t;
16
- }, y.apply(this, arguments);
16
+ return e;
17
+ }, h.apply(this, arguments);
17
18
  }
18
- function L(t, i) {
19
- if (t == null) return {};
20
- var n = W(t, i), e, r;
19
+ function W(e, o) {
20
+ if (e == null) return {};
21
+ var n = V(e, o), t, r;
21
22
  if (Object.getOwnPropertySymbols) {
22
- var o = Object.getOwnPropertySymbols(t);
23
- for (r = 0; r < o.length; r++)
24
- e = o[r], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (n[e] = t[e]);
23
+ var i = Object.getOwnPropertySymbols(e);
24
+ for (r = 0; r < i.length; r++)
25
+ t = i[r], !(o.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
25
26
  }
26
27
  return n;
27
28
  }
28
- function W(t, i) {
29
- if (t == null) return {};
30
- var n = {}, e = Object.keys(t), r, o;
31
- for (o = 0; o < e.length; o++)
32
- r = e[o], !(i.indexOf(r) >= 0) && (n[r] = t[r]);
29
+ function V(e, o) {
30
+ if (e == null) return {};
31
+ var n = {}, t = Object.keys(e), r, i;
32
+ for (i = 0; i < t.length; i++)
33
+ r = t[i], !(o.indexOf(r) >= 0) && (n[r] = e[r]);
33
34
  return n;
34
35
  }
35
- var h = b(function(t, i) {
36
- var n = t.color, e = n === void 0 ? "currentColor" : n, r = t.size, o = r === void 0 ? 24 : r, f = L(t, ["color", "size"]);
37
- return /* @__PURE__ */ p.createElement("svg", y({
38
- ref: i,
36
+ var d = v(function(e, o) {
37
+ var n = e.color, t = n === void 0 ? "currentColor" : n, r = e.size, i = r === void 0 ? 24 : r, f = W(e, ["color", "size"]);
38
+ return /* @__PURE__ */ p.createElement("svg", h({
39
+ ref: o,
39
40
  xmlns: "http://www.w3.org/2000/svg",
40
- width: o,
41
- height: o,
41
+ width: i,
42
+ height: i,
42
43
  viewBox: "0 0 24 24",
43
44
  fill: "none",
44
- stroke: e,
45
+ stroke: t,
45
46
  strokeWidth: "2",
46
47
  strokeLinecap: "round",
47
48
  strokeLinejoin: "round"
@@ -52,48 +53,48 @@ var h = b(function(t, i) {
52
53
  y2: "12"
53
54
  }));
54
55
  });
55
- h.propTypes = {
56
+ d.propTypes = {
56
57
  color: a.string,
57
58
  size: a.oneOfType([a.string, a.number])
58
59
  };
59
- h.displayName = "Minus";
60
- function v() {
61
- return v = Object.assign || function(t) {
62
- for (var i = 1; i < arguments.length; i++) {
63
- var n = arguments[i];
64
- for (var e in n)
65
- Object.prototype.hasOwnProperty.call(n, e) && (t[e] = n[e]);
60
+ d.displayName = "Minus";
61
+ function b() {
62
+ return b = Object.assign || function(e) {
63
+ for (var o = 1; o < arguments.length; o++) {
64
+ var n = arguments[o];
65
+ for (var t in n)
66
+ Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
66
67
  }
67
- return t;
68
- }, v.apply(this, arguments);
68
+ return e;
69
+ }, b.apply(this, arguments);
69
70
  }
70
- function V(t, i) {
71
- if (t == null) return {};
72
- var n = M(t, i), e, r;
71
+ function M(e, o) {
72
+ if (e == null) return {};
73
+ var n = R(e, o), t, r;
73
74
  if (Object.getOwnPropertySymbols) {
74
- var o = Object.getOwnPropertySymbols(t);
75
- for (r = 0; r < o.length; r++)
76
- e = o[r], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (n[e] = t[e]);
75
+ var i = Object.getOwnPropertySymbols(e);
76
+ for (r = 0; r < i.length; r++)
77
+ t = i[r], !(o.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
77
78
  }
78
79
  return n;
79
80
  }
80
- function M(t, i) {
81
- if (t == null) return {};
82
- var n = {}, e = Object.keys(t), r, o;
83
- for (o = 0; o < e.length; o++)
84
- r = e[o], !(i.indexOf(r) >= 0) && (n[r] = t[r]);
81
+ function R(e, o) {
82
+ if (e == null) return {};
83
+ var n = {}, t = Object.keys(e), r, i;
84
+ for (i = 0; i < t.length; i++)
85
+ r = t[i], !(o.indexOf(r) >= 0) && (n[r] = e[r]);
85
86
  return n;
86
87
  }
87
- var d = b(function(t, i) {
88
- var n = t.color, e = n === void 0 ? "currentColor" : n, r = t.size, o = r === void 0 ? 24 : r, f = V(t, ["color", "size"]);
89
- return /* @__PURE__ */ p.createElement("svg", v({
90
- ref: i,
88
+ var O = v(function(e, o) {
89
+ var n = e.color, t = n === void 0 ? "currentColor" : n, r = e.size, i = r === void 0 ? 24 : r, f = M(e, ["color", "size"]);
90
+ return /* @__PURE__ */ p.createElement("svg", b({
91
+ ref: o,
91
92
  xmlns: "http://www.w3.org/2000/svg",
92
- width: o,
93
- height: o,
93
+ width: i,
94
+ height: i,
94
95
  viewBox: "0 0 24 24",
95
96
  fill: "none",
96
- stroke: e,
97
+ stroke: t,
97
98
  strokeWidth: "2",
98
99
  strokeLinecap: "round",
99
100
  strokeLinejoin: "round"
@@ -109,67 +110,75 @@ var d = b(function(t, i) {
109
110
  y2: "12"
110
111
  }));
111
112
  });
112
- d.propTypes = {
113
+ O.propTypes = {
113
114
  color: a.string,
114
115
  size: a.oneOfType([a.string, a.number])
115
116
  };
116
- d.displayName = "Plus";
117
- const G = b(
117
+ O.displayName = "Plus";
118
+ const J = v(
118
119
  ({
119
- className: t,
120
- init: i,
120
+ className: e,
121
+ init: o,
121
122
  label: n,
122
- max: e = -1 / 0,
123
+ max: t = -1 / 0,
123
124
  min: r = 1 / 0,
124
- name: o,
125
+ name: i,
125
126
  theme: f,
126
127
  onChange: s
127
- }, x) => {
128
- const { theme: P } = E(), m = f ?? P, k = I(), [u, O] = _(() => i || 0), N = w(() => {
128
+ }, P) => {
129
+ const { theme: k } = T(), m = f ?? k, I = _(), [c, g] = E(() => o || 0), N = w(() => {
129
130
  let l = 0;
130
- r === 1 / 0 ? l = u - 1 : l = Math.max(r, u - 1), O(l), s == null || s(l);
131
- }, [u, r, s]), z = w(() => {
131
+ r === 1 / 0 ? l = c - 1 : l = Math.max(r, c - 1), g(l), s == null || s(l);
132
+ }, [c, r, s]), z = w(() => {
132
133
  let l = 0;
133
- e === -1 / 0 ? l = u + 1 : l = Math.min(e, u + 1), O(l), s == null || s(l);
134
- }, [u, e, s]);
135
- return /* @__PURE__ */ g("div", { className: "flex flex-col gap-1", children: [
136
- n ? /* @__PURE__ */ c(
134
+ t === -1 / 0 ? l = c + 1 : l = Math.min(t, c + 1), g(l), s == null || s(l);
135
+ }, [c, t, s]);
136
+ return /* @__PURE__ */ y("div", { className: "flex flex-col gap-1", children: [
137
+ n ? /* @__PURE__ */ u(
137
138
  "label",
138
139
  {
139
- htmlFor: o ?? k,
140
- className: T({
140
+ htmlFor: i ?? I,
141
+ className: $({
141
142
  theme: m
142
143
  }),
143
144
  children: n
144
145
  }
145
146
  ) : null,
146
- /* @__PURE__ */ g("div", { className: "flex items-center", children: [
147
- /* @__PURE__ */ c(
147
+ /* @__PURE__ */ y("div", { className: "flex items-center", children: [
148
+ /* @__PURE__ */ y(
148
149
  "button",
149
150
  {
150
151
  type: "button",
151
152
  onClick: N,
152
153
  className: j({ theme: m, button: "rigth" }),
153
- children: /* @__PURE__ */ c(h, { className: "w-4 h-4" })
154
+ children: [
155
+ /* @__PURE__ */ u(d, { className: "w-4 h-4" }),
156
+ /* @__PURE__ */ u(x, { children: "Decrement" })
157
+ ]
154
158
  }
155
159
  ),
156
- /* @__PURE__ */ c(
160
+ /* @__PURE__ */ u(
157
161
  "input",
158
162
  {
159
- ref: x,
163
+ ref: P,
160
164
  type: "number",
161
- value: u,
162
- className: $({ className: t, theme: m }),
163
- readOnly: !0
165
+ value: c,
166
+ name: i,
167
+ className: L({ className: e, theme: m }),
168
+ readOnly: !0,
169
+ role: "textbox"
164
170
  }
165
171
  ),
166
- /* @__PURE__ */ c(
172
+ /* @__PURE__ */ y(
167
173
  "button",
168
174
  {
169
175
  type: "button",
170
176
  onClick: z,
171
177
  className: j({ theme: m, button: "left" }),
172
- children: /* @__PURE__ */ c(d, { className: "w-4 h-4" })
178
+ children: [
179
+ /* @__PURE__ */ u(O, { className: "w-4 h-4" }),
180
+ /* @__PURE__ */ u(x, { children: "Increment" })
181
+ ]
173
182
  }
174
183
  )
175
184
  ] })
@@ -177,5 +186,5 @@ const G = b(
177
186
  }
178
187
  );
179
188
  export {
180
- G as NumberInput
189
+ J as NumberInput
181
190
  };
@@ -1,11 +1,11 @@
1
1
  export declare const numberInputVariants: (props?: ({
2
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
2
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
3
3
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
4
  export declare const buttonVariants: (props?: ({
5
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
5
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
6
6
  button?: "left" | "rigth" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export declare const labelVariants: (props?: ({
9
9
  variant?: "default" | null | undefined;
10
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
10
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
11
11
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,4 +1,4 @@
1
- import { c as e } from "../../index-BwYCDOHZ.js";
1
+ import { c as e } from "../../index-BNmRGtA6.js";
2
2
  const t = e(
3
3
  [
4
4
  "[&::-webkit-inner-spin-button]:appearance-none",
@@ -16,35 +16,28 @@ const t = e(
16
16
  variants: {
17
17
  theme: {
18
18
  colony: ["border-red-700", "text-red-700"],
19
- kubefirst: [
20
- "border-kubefirst-purple-light",
21
- "text-kubefirst-purple-light"
22
- ],
23
- konstruct: ["border-orange-500", "text-orange-500"]
19
+ kubefirst: ["border-kubefirst-primary", "text-kubefirst-primary"],
20
+ civo: ""
24
21
  }
25
22
  },
26
23
  defaultVariants: {
27
24
  theme: "kubefirst"
28
25
  }
29
26
  }
30
- ), n = e(
27
+ ), a = e(
31
28
  ["p-2", "items-center", "justify-center", "border"],
32
29
  {
33
30
  variants: {
34
31
  theme: {
35
32
  colony: ["border-red-700", "text-red-700", "hover:bg-red-50"],
36
33
  kubefirst: [
37
- "border-kubefirst-purple-light",
38
- "text-kubefirst-purple-light",
39
- "hover:text-kubefirst-purple-dark",
40
- "hover:border-kubefirst-purple-dark",
34
+ "border-kubefirst-primary",
35
+ "text-kubefirst-primary",
36
+ "hover:text-kubefirst-secondary",
37
+ "hover:border-kubefirst-secondary",
41
38
  "hover:bg-purple-100"
42
39
  ],
43
- konstruct: [
44
- "border-orange-500",
45
- "text-orange-500",
46
- "hover:bg-orange-50"
47
- ]
40
+ civo: ""
48
41
  },
49
42
  button: {
50
43
  left: ["rounded-e-sm"],
@@ -55,15 +48,15 @@ const t = e(
55
48
  theme: "kubefirst"
56
49
  }
57
50
  }
58
- ), a = e(["pl-1", "text-base", "cursor-pointer"], {
51
+ ), n = e(["pl-1", "text-base", "cursor-pointer"], {
59
52
  variants: {
60
53
  variant: {
61
54
  default: ""
62
55
  },
63
56
  theme: {
64
57
  kubefirst: "",
65
- konstruct: "",
66
- colony: ""
58
+ colony: "",
59
+ civo: ""
67
60
  }
68
61
  },
69
62
  defaultVariants: {
@@ -72,7 +65,7 @@ const t = e(
72
65
  }
73
66
  });
74
67
  export {
75
- n as buttonVariants,
76
- a as labelVariants,
68
+ a as buttonVariants,
69
+ n as labelVariants,
77
70
  t as numberInputVariants
78
71
  };
@@ -1,7 +1,7 @@
1
1
  export declare const progressBarVariants: (props?: ({
2
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
2
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
3
3
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
4
  export declare const progressBarProgress: (props?: ({
5
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
5
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
6
6
  status?: "progress" | "error" | "success" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,12 +1,12 @@
1
- import { c as s } from "../../index-BwYCDOHZ.js";
2
- const e = s(
1
+ import { c as s } from "../../index-BNmRGtA6.js";
2
+ const t = s(
3
3
  ["h-2", "rounded-full", "overflow-hidden", "mt-4", "bg-zinc-200"],
4
4
  {
5
5
  variants: {
6
6
  theme: {
7
- konstruct: "",
8
7
  kubefirst: "",
9
- colony: ""
8
+ colony: "",
9
+ civo: ""
10
10
  }
11
11
  },
12
12
  defaultVariants: {
@@ -18,9 +18,9 @@ const e = s(
18
18
  {
19
19
  variants: {
20
20
  theme: {
21
- konstruct: "",
22
21
  kubefirst: "",
23
- colony: ""
22
+ colony: "",
23
+ civo: ""
24
24
  },
25
25
  status: {
26
26
  success: "",
@@ -39,11 +39,6 @@ const e = s(
39
39
  theme: "kubefirst",
40
40
  class: ["bg-[#81E2B4]"]
41
41
  },
42
- {
43
- status: "progress",
44
- theme: "konstruct",
45
- class: ["bg-kubefirst-gradient"]
46
- },
47
42
  {
48
43
  status: "progress",
49
44
  theme: "colony",
@@ -58,5 +53,5 @@ const e = s(
58
53
  );
59
54
  export {
60
55
  r as progressBarProgress,
61
- e as progressBarVariants
56
+ t as progressBarVariants
62
57
  };
@@ -1,3 +1,3 @@
1
1
  export declare const radioVariants: (props?: ({
2
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
2
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
3
3
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,4 +1,4 @@
1
- import { c as e } from "../../index-BwYCDOHZ.js";
1
+ import { c as e } from "../../index-BNmRGtA6.js";
2
2
  const o = e(
3
3
  [
4
4
  "border-2",
@@ -30,13 +30,10 @@ const o = e(
30
30
  "peer-checked:before:bg-red-700"
31
31
  ],
32
32
  kubefirst: [
33
- "peer-checked:border-kubefirst-purple-light",
34
- "peer-checked:before:bg-kubefirst-purple-light"
33
+ "peer-checked:border-kubefirst-primary",
34
+ "peer-checked:before:bg-kubefirst-primary"
35
35
  ],
36
- konstruct: [
37
- "peer-checked:border-orange-600",
38
- "peer-checked:before:bg-orange-600"
39
- ]
36
+ civo: ""
40
37
  }
41
38
  },
42
39
  defaultVariants: {
@@ -1,6 +1,6 @@
1
1
  import { jsx as m, Fragment as n } from "react/jsx-runtime";
2
2
  import { useState as k, useCallback as l } from "react";
3
- import { S as R } from "../../index-CCavb-1K.js";
3
+ import { S as R } from "../../index-DoOsnuB6.js";
4
4
  import "../../contexts/theme.context.js";
5
5
  import { useTheme as T } from "../../contexts/theme.hook.js";
6
6
  import "../../js.cookie-OLEfuq_g.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as R, useRef as V, useState as v, useImperativeHandle as T, useEffect as b, useCallback as j } from "react";
3
- import { R as k, T as w, a as y, b as l } from "../../index-DFbnnPzA.js";
3
+ import { R as k, T as w, a as y, b as l } from "../../index-Ci9Yg4G1.js";
4
4
  import { cn as C } from "../../utils/index.js";
5
5
  import "../../contexts/theme.context.js";
6
6
  import { useTheme as S } from "../../contexts/theme.hook.js";
@@ -1,14 +1,14 @@
1
1
  export declare const rangeVariants: (props?: ({
2
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
2
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
3
3
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
4
  export declare const rangeOutsideVariants: (props?: ({
5
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
5
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export declare const trackVariants: (props?: ({
8
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
8
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
9
9
  size?: "sm" | "lg" | "md" | null | undefined;
10
10
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
11
  export declare const thumbVariants: (props?: ({
12
- theme?: "kubefirst" | "konstruct" | "colony" | null | undefined;
12
+ theme?: "kubefirst" | "colony" | "civo" | null | undefined;
13
13
  size?: "sm" | "lg" | "md" | null | undefined;
14
14
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,5 +1,5 @@
1
- import { c as e } from "../../index-BwYCDOHZ.js";
2
- const r = e(
1
+ import { c as e } from "../../index-BNmRGtA6.js";
2
+ const t = e(
3
3
  [
4
4
  "relative",
5
5
  "flex",
@@ -14,33 +14,33 @@ const r = e(
14
14
  variants: {
15
15
  theme: {
16
16
  kubefirst: "",
17
- konstruct: "",
18
- colony: ""
17
+ colony: "",
18
+ civo: ""
19
19
  }
20
20
  },
21
21
  defaultVariants: {
22
22
  theme: "kubefirst"
23
23
  }
24
24
  }
25
- ), s = e(["absolute", "h-full"], {
25
+ ), a = e(["absolute", "h-full"], {
26
26
  variants: {
27
27
  theme: {
28
- kubefirst: ["bg-kubefirst-purple-dark"],
29
- konstruct: ["bg-orange-500"],
30
- colony: ["bg-red-500"]
28
+ kubefirst: ["bg-kubefirst-secondary"],
29
+ colony: ["bg-red-500"],
30
+ civo: ""
31
31
  }
32
32
  },
33
33
  defaultVariants: {
34
34
  theme: "kubefirst"
35
35
  }
36
- }), a = e(
36
+ }), s = e(
37
37
  ["relative", "flex-grow", "bg-gray-100", "rounded-full"],
38
38
  {
39
39
  variants: {
40
40
  theme: {
41
41
  kubefirst: "",
42
- konstruct: "",
43
- colony: ""
42
+ colony: "",
43
+ civo: ""
44
44
  },
45
45
  size: {
46
46
  sm: ["h-1"],
@@ -53,7 +53,7 @@ const r = e(
53
53
  size: "md"
54
54
  }
55
55
  }
56
- ), o = e(
56
+ ), i = e(
57
57
  [
58
58
  "block",
59
59
  "w-5",
@@ -70,8 +70,8 @@ const r = e(
70
70
  variants: {
71
71
  theme: {
72
72
  kubefirst: "",
73
- konstruct: "",
74
- colony: ""
73
+ colony: "",
74
+ civo: ""
75
75
  },
76
76
  size: {
77
77
  sm: ["w-5", "h-5"],
@@ -86,8 +86,8 @@ const r = e(
86
86
  }
87
87
  );
88
88
  export {
89
- s as rangeOutsideVariants,
90
- r as rangeVariants,
91
- o as thumbVariants,
92
- a as trackVariants
89
+ a as rangeOutsideVariants,
90
+ t as rangeVariants,
91
+ i as thumbVariants,
92
+ s as trackVariants
93
93
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useRef as v, useState as T, useImperativeHandle as V, useEffect as b, useCallback as R } from "react";
3
- import { R as g, T as j, b as k } from "../../index-DFbnnPzA.js";
3
+ import { R as g, T as j, b as k } from "../../index-Ci9Yg4G1.js";
4
4
  import "../../contexts/theme.context.js";
5
5
  import { useTheme as w } from "../../contexts/theme.hook.js";
6
6
  import "../../js.cookie-OLEfuq_g.js";