@konstructio/ui 0.0.12-alpha.1 → 0.0.12-alpha.11

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 (113) hide show
  1. package/dist/{Combination-BQYb0Gw7.js → Combination-b348x__d.js} +24 -24
  2. package/dist/Modal-B-E9uaA6.js +922 -0
  3. package/dist/components/Alert/Alert.js +58 -0
  4. package/dist/components/Alert/Alert.variants.js +77 -0
  5. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  6. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  7. package/dist/components/AlertDialog/components/index.js +1 -1
  8. package/dist/components/Autocomplete/Autocomplete.variants.js +0 -1
  9. package/dist/components/Autocomplete/components/List/List.js +3 -3
  10. package/dist/components/Breadcrumb/Breadcrumb.js +3 -3
  11. package/dist/components/Breadcrumb/Breadcrumb.variants.js +18 -15
  12. package/dist/components/Breadcrumb/components/Item/Item.js +4 -4
  13. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  14. package/dist/components/Button/Button.js +1 -1
  15. package/dist/components/Card/Card.js +3 -3
  16. package/dist/components/Checkbox/Checkbox.js +5 -5
  17. package/dist/components/Command/Command.js +32 -0
  18. package/dist/components/Command/Command.variants.js +97 -0
  19. package/dist/components/Command/components/Command.js +8 -0
  20. package/dist/components/Command/components/CommandEmpty.js +15 -0
  21. package/dist/components/Command/components/CommandGroup.js +19 -0
  22. package/dist/components/Command/components/CommandInput.js +84 -0
  23. package/dist/components/Command/components/CommandItem.js +29 -0
  24. package/dist/components/Command/components/CommandList.js +16 -0
  25. package/dist/components/Command/components/CommandSeparator.js +16 -0
  26. package/dist/components/Command/components/CommandShortcut.js +19 -0
  27. package/dist/components/Command/components/DialogContent.js +31 -0
  28. package/dist/components/Command/components/DialogOverlay.js +19 -0
  29. package/dist/components/Command/components/index.js +20 -0
  30. package/dist/components/Command/contexts/Command.context.js +13 -0
  31. package/dist/components/Command/contexts/Command.provider.js +24 -0
  32. package/dist/components/Command/contexts/index.js +6 -0
  33. package/dist/components/Divider/Divider.js +10 -0
  34. package/dist/components/Divider/Divider.variants.js +14 -0
  35. package/dist/components/Dropdown/Dropdown.js +5 -5
  36. package/dist/components/Dropdown/Dropdown.variants.js +22 -3
  37. package/dist/components/Dropdown/components/List/List.variants.js +4 -4
  38. package/dist/components/Dropdown/components/ListItem/ListItem.js +19 -18
  39. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
  40. package/dist/components/Dropdown/components/Wrapper.js +88 -57
  41. package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
  42. package/dist/components/Dropdown/contexts/dropdown.provider.js +11 -11
  43. package/dist/components/Input/Input.js +112 -67
  44. package/dist/components/Input/Input.variants.js +5 -6
  45. package/dist/components/Loading/Loading.js +109 -0
  46. package/dist/components/Loading/Loading.variants.js +19 -0
  47. package/dist/components/Modal/Modal.js +3 -3
  48. package/dist/components/Modal/components/Body/Body.js +1 -1
  49. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  50. package/dist/components/Modal/components/Header/Header.js +1 -1
  51. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -5
  52. package/dist/components/Modal/components/index.js +1 -1
  53. package/dist/components/NumberInput/NumberInput.js +1 -1
  54. package/dist/components/ProgressBar/ProgressBar.js +3 -3
  55. package/dist/components/Radio/Radio.js +4 -4
  56. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  57. package/dist/components/Range/Range.js +4 -4
  58. package/dist/components/Sidebar/Sidebar.variants.js +2 -1
  59. package/dist/components/Sidebar/components/Logo/Logo.variants.js +9 -17
  60. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -2
  61. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +6 -5
  62. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +3 -3
  63. package/dist/components/Slider/Slider.js +14 -14
  64. package/dist/components/Switch/Switch.js +17 -17
  65. package/dist/components/Tag/Tag.js +17 -5
  66. package/dist/components/Tag/Tag.variants.js +11 -1
  67. package/dist/components/TagSelect/TagSelect.js +6 -71
  68. package/dist/components/TagSelect/TagSelect.variants.js +29 -50
  69. package/dist/components/TagSelect/components/Item/Item.js +23 -0
  70. package/dist/components/TagSelect/components/Item/Item.variants.js +31 -0
  71. package/dist/components/TagSelect/components/List/List.js +13 -0
  72. package/dist/components/TagSelect/components/List/List.variants.js +37 -0
  73. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +88 -0
  74. package/dist/components/TagSelect/components/index.js +8 -0
  75. package/dist/components/TagSelect/contexts/TagSelect.context.js +19 -0
  76. package/dist/components/TagSelect/contexts/TagSelect.hook.js +11 -0
  77. package/dist/components/TagSelect/contexts/TagSelect.provider.js +69 -0
  78. package/dist/components/TagSelect/contexts/index.js +6 -0
  79. package/dist/components/TagSelect/hooks/useTagSelect.js +22 -27
  80. package/dist/components/TextArea/TextArea.js +28 -22
  81. package/dist/components/TextArea/TextArea.variants.js +0 -1
  82. package/dist/components/Toast/Toast.js +143 -130
  83. package/dist/components/Toast/Toast.variants.js +2 -3
  84. package/dist/components/Tooltip/Tooltip.js +4 -4
  85. package/dist/components/Typography/Typography.js +31 -0
  86. package/dist/components/Typography/Typography.variants.js +63 -0
  87. package/dist/components/index.js +61 -53
  88. package/dist/{index-BxeV34ij.js → index-4ecjw_Aj.js} +1 -1
  89. package/dist/index-B_6_jmOO.js +68 -0
  90. package/dist/{index-BBjak_0p.js → index-BbsJ0VIJ.js} +2 -2
  91. package/dist/{index-CJsYodgi.js → index-BzaHYXkt.js} +9 -9
  92. package/dist/{index-KEdwcThH.js → index-CbTU3cnP.js} +1 -1
  93. package/dist/{index-8vgf-x5i.js → index-Cva-e5M4.js} +2 -2
  94. package/dist/index-CzSBQN5S.js +432 -0
  95. package/dist/index-D7QNmo_D.js +422 -0
  96. package/dist/index-DUA6Y_AE.js +126 -0
  97. package/dist/{index-CoqDsznq.js → index-D_76wh4w.js} +3 -3
  98. package/dist/{index-D4Q2rMby.js → index-Dj1pom3_.js} +2 -2
  99. package/dist/index-DyKo5ZJT.js +446 -0
  100. package/dist/index.d.ts +63 -12
  101. package/dist/index.js +76 -68
  102. package/dist/package.json +36 -35
  103. package/dist/plugins/konstruct.js +34 -31
  104. package/dist/plugins/utils/animation.styles.js +162 -0
  105. package/dist/plugins/utils/index.js +7 -0
  106. package/dist/styles.css +1 -1
  107. package/dist/{useBreadcrumb-CojbXFVD.js → useBreadcrumb-BsIeMoR1.js} +47 -47
  108. package/dist/utils/index.js +320 -322
  109. package/package.json +36 -35
  110. package/dist/Modal-W2GbkC_F.js +0 -906
  111. package/dist/index-1GLoikpT.js +0 -19134
  112. package/dist/index-BVppSRDQ.js +0 -551
  113. package/dist/index-DoOsnuB6.js +0 -72
@@ -1,22 +1,22 @@
1
- import { jsxs as y, jsx as a } from "react/jsx-runtime";
2
- import s, { forwardRef as u, useId as b } from "react";
3
- import { cn as w } from "../../utils/index.js";
4
- import { inputVariants as j } from "./Input.variants.js";
5
- import { P as l } from "../../index-C5psggHV.js";
6
- import { useTheme as N } from "../../contexts/theme.hook.js";
7
- function p() {
8
- return p = Object.assign || function(e) {
1
+ import { jsxs as O, jsx as c } from "react/jsx-runtime";
2
+ import l, { forwardRef as p, useState as E, useId as k } from "react";
3
+ import { cn as z } from "../../utils/index.js";
4
+ import { inputVariants as N } from "./Input.variants.js";
5
+ import { P as a } from "../../index-C5psggHV.js";
6
+ import { useTheme as $ } from "../../contexts/theme.hook.js";
7
+ function u() {
8
+ return u = Object.assign || function(e) {
9
9
  for (var o = 1; o < arguments.length; o++) {
10
10
  var r = arguments[o];
11
11
  for (var t in r)
12
12
  Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
13
13
  }
14
14
  return e;
15
- }, p.apply(this, arguments);
15
+ }, u.apply(this, arguments);
16
16
  }
17
- function P(e, o) {
17
+ function _(e, o) {
18
18
  if (e == null) return {};
19
- var r = k(e, o), t, n;
19
+ var r = L(e, o), t, n;
20
20
  if (Object.getOwnPropertySymbols) {
21
21
  var i = Object.getOwnPropertySymbols(e);
22
22
  for (n = 0; n < i.length; n++)
@@ -24,16 +24,16 @@ function P(e, o) {
24
24
  }
25
25
  return r;
26
26
  }
27
- function k(e, o) {
27
+ function L(e, o) {
28
28
  if (e == null) return {};
29
29
  var r = {}, t = Object.keys(e), n, i;
30
30
  for (i = 0; i < t.length; i++)
31
31
  n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
32
32
  return r;
33
33
  }
34
- var m = u(function(e, o) {
35
- var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, c = P(e, ["color", "size"]);
36
- return /* @__PURE__ */ s.createElement("svg", p({
34
+ var y = p(function(e, o) {
35
+ var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = _(e, ["color", "size"]);
36
+ return /* @__PURE__ */ l.createElement("svg", u({
37
37
  ref: o,
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  width: i,
@@ -44,40 +44,40 @@ var m = u(function(e, o) {
44
44
  strokeWidth: "2",
45
45
  strokeLinecap: "round",
46
46
  strokeLinejoin: "round"
47
- }, c), /* @__PURE__ */ s.createElement("circle", {
47
+ }, s), /* @__PURE__ */ l.createElement("circle", {
48
48
  cx: "12",
49
49
  cy: "12",
50
50
  r: "10"
51
- }), /* @__PURE__ */ s.createElement("line", {
51
+ }), /* @__PURE__ */ l.createElement("line", {
52
52
  x1: "12",
53
53
  y1: "8",
54
54
  x2: "12",
55
55
  y2: "12"
56
- }), /* @__PURE__ */ s.createElement("line", {
56
+ }), /* @__PURE__ */ l.createElement("line", {
57
57
  x1: "12",
58
58
  y1: "16",
59
59
  x2: "12.01",
60
60
  y2: "16"
61
61
  }));
62
62
  });
63
- m.propTypes = {
64
- color: l.string,
65
- size: l.oneOfType([l.string, l.number])
63
+ y.propTypes = {
64
+ color: a.string,
65
+ size: a.oneOfType([a.string, a.number])
66
66
  };
67
- m.displayName = "AlertCircle";
68
- function f() {
69
- return f = Object.assign || function(e) {
67
+ y.displayName = "AlertCircle";
68
+ function m() {
69
+ return m = Object.assign || function(e) {
70
70
  for (var o = 1; o < arguments.length; o++) {
71
71
  var r = arguments[o];
72
72
  for (var t in r)
73
73
  Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
74
74
  }
75
75
  return e;
76
- }, f.apply(this, arguments);
76
+ }, m.apply(this, arguments);
77
77
  }
78
- function E(e, o) {
78
+ function W(e, o) {
79
79
  if (e == null) return {};
80
- var r = z(e, o), t, n;
80
+ var r = T(e, o), t, n;
81
81
  if (Object.getOwnPropertySymbols) {
82
82
  var i = Object.getOwnPropertySymbols(e);
83
83
  for (n = 0; n < i.length; n++)
@@ -85,16 +85,16 @@ function E(e, o) {
85
85
  }
86
86
  return r;
87
87
  }
88
- function z(e, o) {
88
+ function T(e, o) {
89
89
  if (e == null) return {};
90
90
  var r = {}, t = Object.keys(e), n, i;
91
91
  for (i = 0; i < t.length; i++)
92
92
  n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
93
93
  return r;
94
94
  }
95
- var h = u(function(e, o) {
96
- var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, c = E(e, ["color", "size"]);
97
- return /* @__PURE__ */ s.createElement("svg", f({
95
+ var v = p(function(e, o) {
96
+ var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = W(e, ["color", "size"]);
97
+ return /* @__PURE__ */ l.createElement("svg", m({
98
98
  ref: o,
99
99
  xmlns: "http://www.w3.org/2000/svg",
100
100
  width: i,
@@ -105,21 +105,74 @@ var h = u(function(e, o) {
105
105
  strokeWidth: "2",
106
106
  strokeLinecap: "round",
107
107
  strokeLinejoin: "round"
108
- }, c), /* @__PURE__ */ s.createElement("path", {
108
+ }, s), /* @__PURE__ */ l.createElement("path", {
109
109
  d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"
110
- }), /* @__PURE__ */ s.createElement("line", {
110
+ }), /* @__PURE__ */ l.createElement("line", {
111
111
  x1: "1",
112
112
  y1: "1",
113
113
  x2: "23",
114
114
  y2: "23"
115
115
  }));
116
116
  });
117
- h.propTypes = {
118
- color: l.string,
119
- size: l.oneOfType([l.string, l.number])
117
+ v.propTypes = {
118
+ color: a.string,
119
+ size: a.oneOfType([a.string, a.number])
120
120
  };
121
- h.displayName = "EyeOff";
122
- const _ = u(
121
+ v.displayName = "EyeOff";
122
+ function h() {
123
+ return h = Object.assign || function(e) {
124
+ for (var o = 1; o < arguments.length; o++) {
125
+ var r = arguments[o];
126
+ for (var t in r)
127
+ Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
128
+ }
129
+ return e;
130
+ }, h.apply(this, arguments);
131
+ }
132
+ function C(e, o) {
133
+ if (e == null) return {};
134
+ var r = I(e, o), t, n;
135
+ if (Object.getOwnPropertySymbols) {
136
+ var i = Object.getOwnPropertySymbols(e);
137
+ for (n = 0; n < i.length; n++)
138
+ t = i[n], !(o.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (r[t] = e[t]);
139
+ }
140
+ return r;
141
+ }
142
+ function I(e, o) {
143
+ if (e == null) return {};
144
+ var r = {}, t = Object.keys(e), n, i;
145
+ for (i = 0; i < t.length; i++)
146
+ n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
147
+ return r;
148
+ }
149
+ var g = p(function(e, o) {
150
+ var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = C(e, ["color", "size"]);
151
+ return /* @__PURE__ */ l.createElement("svg", h({
152
+ ref: o,
153
+ xmlns: "http://www.w3.org/2000/svg",
154
+ width: i,
155
+ height: i,
156
+ viewBox: "0 0 24 24",
157
+ fill: "none",
158
+ stroke: t,
159
+ strokeWidth: "2",
160
+ strokeLinecap: "round",
161
+ strokeLinejoin: "round"
162
+ }, s), /* @__PURE__ */ l.createElement("path", {
163
+ d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
164
+ }), /* @__PURE__ */ l.createElement("circle", {
165
+ cx: "12",
166
+ cy: "12",
167
+ r: "3"
168
+ }));
169
+ });
170
+ g.propTypes = {
171
+ color: a.string,
172
+ size: a.oneOfType([a.string, a.number])
173
+ };
174
+ g.displayName = "Eye";
175
+ const S = p(
123
176
  ({
124
177
  className: e,
125
178
  error: o,
@@ -127,50 +180,42 @@ const _ = u(
127
180
  labelClassName: t,
128
181
  name: n,
129
182
  type: i,
130
- theme: c,
131
- onClickIcon: g,
132
- ...d
133
- }, x) => {
134
- const v = b(), { theme: O } = N();
135
- return /* @__PURE__ */ y("div", { className: "flex flex-col gap-1.5", children: [
136
- r ? /* @__PURE__ */ a(
137
- "label",
138
- {
139
- htmlFor: v,
140
- className: w("pl-1 cursor-pointer", t),
141
- children: r
142
- }
143
- ) : null,
144
- /* @__PURE__ */ y("div", { className: "relative", children: [
145
- /* @__PURE__ */ a(
183
+ theme: s,
184
+ ...w
185
+ }, b) => {
186
+ const [f, x] = E(!1), d = k(), { theme: j } = $(), P = f ? g : v;
187
+ return /* @__PURE__ */ O("div", { className: "flex flex-col gap-1.5 w-full", children: [
188
+ r ? /* @__PURE__ */ c("label", { htmlFor: d, className: z("cursor-pointer", t), children: r }) : null,
189
+ /* @__PURE__ */ O("div", { className: "relative", children: [
190
+ /* @__PURE__ */ c(
146
191
  "input",
147
192
  {
148
- id: v,
149
- ref: x,
193
+ id: d,
194
+ ref: b,
150
195
  name: n,
151
- type: i,
152
- className: j({
196
+ type: f ? "text" : i,
197
+ className: N({
153
198
  className: e,
154
- theme: c ?? O,
199
+ theme: s ?? j,
155
200
  variant: o ? "error" : "default"
156
201
  }),
157
- ...d
202
+ ...w
158
203
  }
159
204
  ),
160
- o ? /* @__PURE__ */ a("i", { className: "absolute right-2 text-red-600 top-0 translate-y-[40%]", children: /* @__PURE__ */ a(m, { className: "w-5 h-5" }) }) : null,
161
- i === "password" ? /* @__PURE__ */ a("i", { className: "absolute right-2 text-slate-400 top-0 translate-y-[40%]", children: /* @__PURE__ */ a(
162
- h,
205
+ o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-red-600 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(y, { className: "w-5 h-5" }) }) : null,
206
+ i === "password" && !o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-slate-400 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(
207
+ P,
163
208
  {
164
209
  className: "w-5 h-5 cursor-pointer",
165
- onClick: g
210
+ onClick: () => x(!f)
166
211
  }
167
212
  ) }) : null
168
213
  ] }),
169
- o ? /* @__PURE__ */ a("span", { className: "text-xs text-red-600 -mt-0.5 pl-2", children: o }) : null
214
+ o ? /* @__PURE__ */ c("span", { className: "text-xs text-red-600 -mt-0.5", children: o }) : null
170
215
  ] });
171
216
  }
172
217
  );
173
- _.displayName = "Input";
218
+ S.displayName = "Input";
174
219
  export {
175
- _ as Input
220
+ S as Input
176
221
  };
@@ -1,5 +1,5 @@
1
1
  import { c as r } from "../../index-BNmRGtA6.js";
2
- const t = r(
2
+ const o = r(
3
3
  [
4
4
  "bg-transparent",
5
5
  "border",
@@ -11,12 +11,11 @@ const t = r(
11
11
  "focus-visible:ring-1",
12
12
  "h-9",
13
13
  "placeholder:text-muted-foreground",
14
- "px-3",
14
+ "pl-3",
15
+ "pr-10",
15
16
  "py-1",
16
17
  "rounded-md",
17
18
  "shadow-sm",
18
- "text-base",
19
- "text-zinc-700",
20
19
  "transition-colors",
21
20
  "w-full"
22
21
  ],
@@ -24,7 +23,7 @@ const t = r(
24
23
  variants: {
25
24
  variant: {
26
25
  default: "",
27
- error: ["border-red-600", "pr-8", "focus-visible:ring-transparent"]
26
+ error: "!border-red-600 pr-8 focus-visible:ring-transparent"
28
27
  },
29
28
  theme: {
30
29
  kubefirst: "focus:ring-kubefirst-primary",
@@ -39,5 +38,5 @@ const t = r(
39
38
  }
40
39
  );
41
40
  export {
42
- t as inputVariants
41
+ o as inputVariants
43
42
  };
@@ -0,0 +1,109 @@
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import { cn as h } from "../../utils/index.js";
3
+ import { loadingVariants as g } from "./Loading.variants.js";
4
+ import { forwardRef as s, createElement as i } from "react";
5
+ import { useTheme as w } from "../../contexts/theme.hook.js";
6
+ /**
7
+ * @license lucide-react v0.477.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */
12
+ const C = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), m = (...r) => r.filter((e, o, t) => !!e && e.trim() !== "" && t.indexOf(e) === o).join(" ").trim();
13
+ /**
14
+ * @license lucide-react v0.477.0 - ISC
15
+ *
16
+ * This source code is licensed under the ISC license.
17
+ * See the LICENSE file in the root directory of this source tree.
18
+ */
19
+ var L = {
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ width: 24,
22
+ height: 24,
23
+ viewBox: "0 0 24 24",
24
+ fill: "none",
25
+ stroke: "currentColor",
26
+ strokeWidth: 2,
27
+ strokeLinecap: "round",
28
+ strokeLinejoin: "round"
29
+ };
30
+ /**
31
+ * @license lucide-react v0.477.0 - ISC
32
+ *
33
+ * This source code is licensed under the ISC license.
34
+ * See the LICENSE file in the root directory of this source tree.
35
+ */
36
+ const k = s(
37
+ ({
38
+ color: r = "currentColor",
39
+ size: e = 24,
40
+ strokeWidth: o = 2,
41
+ absoluteStrokeWidth: t,
42
+ className: a = "",
43
+ children: n,
44
+ iconNode: c,
45
+ ...d
46
+ }, l) => i(
47
+ "svg",
48
+ {
49
+ ref: l,
50
+ ...L,
51
+ width: e,
52
+ height: e,
53
+ stroke: r,
54
+ strokeWidth: t ? Number(o) * 24 / Number(e) : o,
55
+ className: m("lucide", a),
56
+ ...d
57
+ },
58
+ [
59
+ ...c.map(([u, p]) => i(u, p)),
60
+ ...Array.isArray(n) ? n : [n]
61
+ ]
62
+ )
63
+ );
64
+ /**
65
+ * @license lucide-react v0.477.0 - ISC
66
+ *
67
+ * This source code is licensed under the ISC license.
68
+ * See the LICENSE file in the root directory of this source tree.
69
+ */
70
+ const x = (r, e) => {
71
+ const o = s(
72
+ ({ className: t, ...a }, n) => i(k, {
73
+ ref: n,
74
+ iconNode: e,
75
+ className: m(`lucide-${C(r)}`, t),
76
+ ...a
77
+ })
78
+ );
79
+ return o.displayName = `${r}`, o;
80
+ };
81
+ /**
82
+ * @license lucide-react v0.477.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */
87
+ const b = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], y = x("LoaderCircle", b), N = ({
88
+ className: r,
89
+ theme: e,
90
+ ...o
91
+ }) => {
92
+ const { theme: t } = w();
93
+ return /* @__PURE__ */ f(
94
+ y,
95
+ {
96
+ className: h(
97
+ g({
98
+ className: r,
99
+ theme: e ?? t
100
+ })
101
+ ),
102
+ ...o
103
+ }
104
+ );
105
+ };
106
+ N.displayName = "Loading";
107
+ export {
108
+ N as Loading
109
+ };
@@ -0,0 +1,19 @@
1
+ import { c as t } from "../../index-BNmRGtA6.js";
2
+ const r = t(
3
+ ["h-8", "w-8", "animate-spin", "text-inherit"],
4
+ {
5
+ variants: {
6
+ theme: {
7
+ kubefirst: "text-kubefirst-primary",
8
+ colony: "text-colony-primary",
9
+ civo: "text-civo-primary"
10
+ }
11
+ },
12
+ defaultVariants: {
13
+ theme: "kubefirst"
14
+ }
15
+ }
16
+ );
17
+ export {
18
+ r as loadingVariants
19
+ };
@@ -1,10 +1,10 @@
1
1
  import "react/jsx-runtime";
2
- import "../../index-1GLoikpT.js";
3
- import { M as d } from "../../Modal-W2GbkC_F.js";
2
+ import "react";
3
+ import "../../index-D7QNmo_D.js";
4
+ import { M as d } from "../../Modal-B-E9uaA6.js";
4
5
  import "./components/Header/Header.js";
5
6
  import "./components/Body/Body.js";
6
7
  import "./components/Footer/Footer.js";
7
- import "./hooks/useModal.js";
8
8
  export {
9
9
  d as Modal
10
10
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-DoOsnuB6.js";
2
+ import { S as n } from "../../../../index-B_6_jmOO.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const i = ({ children: o, asChild: t, className: m }) => /* @__PURE__ */ r(t ? n : "div", { className: e("flex-1", m), children: o });
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-DoOsnuB6.js";
2
+ import { S as n } from "../../../../index-B_6_jmOO.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const a = ({ children: o, asChild: t, className: r }) => /* @__PURE__ */ m(t ? n : "div", { className: e(r), children: o });
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-DoOsnuB6.js";
2
+ import { S as n } from "../../../../index-B_6_jmOO.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const i = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e(t), children: o });
5
5
  export {
@@ -1,13 +1,12 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../../index-KEdwcThH.js";
2
+ import "../../../../index-CbTU3cnP.js";
3
3
  import "react";
4
- import { W as x } from "../../../../Modal-W2GbkC_F.js";
5
- import "../../../../Combination-BQYb0Gw7.js";
4
+ import { W as s } from "../../../../Modal-B-E9uaA6.js";
5
+ import "../../../../Combination-b348x__d.js";
6
6
  import "../../../../utils/index.js";
7
7
  import "./Wrapper.variants.js";
8
- import "../../hooks/useModal.js";
9
8
  import "../../../../x-DU-Zw-L_.js";
10
9
  import "../../../../contexts/theme.hook.js";
11
10
  export {
12
- x as Wrapper
11
+ s as Wrapper
13
12
  };
@@ -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-W2GbkC_F.js";
4
+ import { W as a } from "../../../Modal-B-E9uaA6.js";
5
5
  export {
6
6
  e as Body,
7
7
  t as Footer,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as y, jsx as u } from "react/jsx-runtime";
2
- import { R as j } from "../../index-KEdwcThH.js";
2
+ import { R as j } from "../../index-CbTU3cnP.js";
3
3
  import p, { forwardRef as d, useId as E, useState as T, useCallback as x } from "react";
4
4
  import { cn as h } from "../../utils/index.js";
5
5
  import { labelVariants as $, buttonVariants as P, numberInputVariants as L } from "./NumberInput.variants.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
2
  import { cn as o } from "../../utils/index.js";
3
- import { progressBarVariants as l, progressBarProgress as d } from "./ProgressBar.variants.js";
3
+ import { progressBarProgress as l, progressBarVariants as d } from "./ProgressBar.variants.js";
4
4
  import { useTheme as c } from "../../contexts/theme.hook.js";
5
5
  const p = ({
6
6
  label: e,
@@ -17,11 +17,11 @@ const p = ({
17
17
  "%"
18
18
  ] })
19
19
  ] }),
20
- /* @__PURE__ */ i("div", { className: o(l({ theme: t })), children: /* @__PURE__ */ i(
20
+ /* @__PURE__ */ i("div", { className: o(d({ theme: t })), children: /* @__PURE__ */ i(
21
21
  "div",
22
22
  {
23
23
  className: o(
24
- d({ theme: t, status: n }),
24
+ l({ theme: t, status: n }),
25
25
  s > 0 && s < 99 ? "transition-width duration-500" : "transition-colors duration-0"
26
26
  ),
27
27
  style: { width: `${s}%` }
@@ -1,7 +1,7 @@
1
1
  import { jsxs as T, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as V, useId as j, useCallback as w } from "react";
3
3
  import { cn as r } from "../../utils/index.js";
4
- import { wrapperRadioVariants as F, radioVariants as $, labelRadioVariants as y } from "./Radio.variants.js";
4
+ import { radioVariants as F, labelRadioVariants as $, wrapperRadioVariants as y } from "./Radio.variants.js";
5
5
  import { useTheme as I } from "../../contexts/theme.hook.js";
6
6
  const D = V(
7
7
  ({
@@ -28,7 +28,7 @@ const D = V(
28
28
  {
29
29
  htmlFor: l,
30
30
  className: r(
31
- F({
31
+ y({
32
32
  className: f,
33
33
  disabled: a || !1
34
34
  })
@@ -53,7 +53,7 @@ const D = V(
53
53
  "span",
54
54
  {
55
55
  className: r(
56
- $({
56
+ F({
57
57
  className: c,
58
58
  theme: x,
59
59
  disabled: a || !1,
@@ -65,7 +65,7 @@ const D = V(
65
65
  /* @__PURE__ */ e(
66
66
  "span",
67
67
  {
68
- className: r(y({ className: p })),
68
+ className: r($({ className: p })),
69
69
  children: d
70
70
  }
71
71
  )
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, Fragment as k } from "react/jsx-runtime";
2
- import { S as G } from "../../index-DoOsnuB6.js";
2
+ import { S as G } from "../../index-B_6_jmOO.js";
3
3
  import { useState as R, useCallback as T } from "react";
4
4
  import { cn as r } from "../../utils/index.js";
5
5
  import { Radio as b } from "../Radio/Radio.js";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { R as V, T as v, b as T, a as c } from "../../index-CJsYodgi.js";
2
+ import { R as V, T as v, a as T, b as c } from "../../index-BzaHYXkt.js";
3
3
  import { forwardRef as b, useRef as j, useState as k, useImperativeHandle as w, useEffect as y, useCallback as C } from "react";
4
4
  import { cn as t } from "../../utils/index.js";
5
- import { rangeVariants as S, trackVariants as $, rangeOutsideVariants as E, thumbVariants as i } from "./Range.variants.js";
5
+ import { rangeOutsideVariants as S, trackVariants as $, thumbVariants as i, rangeVariants as E } from "./Range.variants.js";
6
6
  import { useTheme as H } from "../../contexts/theme.hook.js";
7
7
  const F = b(
8
8
  ({
@@ -45,14 +45,14 @@ const F = b(
45
45
  V,
46
46
  {
47
47
  value: s,
48
- className: t(S({ theme: n })),
48
+ className: t(E({ theme: n })),
49
49
  onValueChange: g,
50
50
  ...d,
51
51
  children: [
52
52
  /* @__PURE__ */ e(v, { className: t($({ theme: n, size: m })), children: /* @__PURE__ */ e(
53
53
  T,
54
54
  {
55
- className: t(E({ theme: n }))
55
+ className: t(S({ theme: n }))
56
56
  }
57
57
  ) }),
58
58
  /* @__PURE__ */ e(c, { className: t(i({ theme: n, size: m })) }),
@@ -11,7 +11,8 @@ const r = a(
11
11
  "px-4",
12
12
  "relative",
13
13
  "transition-all",
14
- "w-[256px]"
14
+ "w-[72px]",
15
+ "md:w-[256px]"
15
16
  ],
16
17
  {
17
18
  variants: {