@konstructio/ui 0.0.12-alpha.9 → 0.0.13-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Modal-B-E9uaA6.js → Modal-i7eolhYH.js} +311 -307
- package/dist/components/Alert/Alert.js +24 -29
- package/dist/components/Alert/Alert.variants.js +9 -15
- package/dist/components/AlertDialog/AlertDialog.js +59 -46
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +2 -2
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +76 -72
- package/dist/components/Autocomplete/Autocomplete.variants.js +11 -20
- package/dist/components/Autocomplete/components/List/List.js +28 -30
- package/dist/components/Autocomplete/components/List/List.variants.js +34 -40
- package/dist/components/Breadcrumb/Breadcrumb.js +47 -56
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +6 -26
- package/dist/components/Breadcrumb/components/Item/Item.js +29 -41
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +2 -20
- package/dist/components/Button/Button.js +33 -37
- package/dist/components/Button/Button.variants.js +138 -195
- package/dist/components/Card/Card.js +32 -37
- package/dist/components/Card/Card.variants.js +18 -53
- package/dist/components/Checkbox/Checkbox.js +65 -68
- package/dist/components/Checkbox/Checkbox.variants.js +11 -35
- package/dist/components/Command/Command.js +33 -25
- package/dist/components/Command/Command.variants.js +47 -94
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +1 -1
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/CommandItem.js +1 -1
- package/dist/components/Command/components/CommandList.js +1 -1
- package/dist/components/Command/components/CommandSeparator.js +1 -1
- package/dist/components/Command/components/DialogContent.js +1 -1
- package/dist/components/Command/components/DialogOverlay.js +8 -8
- package/dist/components/Divider/Divider.js +3 -2
- package/dist/components/Divider/Divider.variants.js +12 -9
- package/dist/components/Dropdown/Dropdown.js +6 -6
- package/dist/components/Dropdown/Dropdown.variants.js +31 -38
- package/dist/components/Dropdown/components/List/List.js +17 -15
- package/dist/components/Dropdown/components/List/List.variants.js +22 -32
- package/dist/components/Dropdown/components/ListItem/ListItem.js +20 -19
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +18 -30
- package/dist/components/Dropdown/components/Wrapper.js +127 -90
- package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +9 -9
- package/dist/components/Input/Input.js +37 -37
- package/dist/components/Input/Input.variants.js +8 -13
- package/dist/components/Loading/Loading.js +60 -58
- package/dist/components/Loading/Loading.variants.js +9 -15
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +2 -2
- package/dist/components/Modal/components/Header/Header.js +3 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -4
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +32 -46
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +93 -111
- package/dist/components/NumberInput/NumberInput.variants.js +30 -51
- package/dist/components/ProgressBar/ProgressBar.js +25 -29
- package/dist/components/ProgressBar/ProgressBar.variants.js +10 -31
- package/dist/components/Radio/Radio.js +45 -46
- package/dist/components/Radio/Radio.variants.js +4 -13
- package/dist/components/RadioCard/RadioCard.js +31 -37
- package/dist/components/RadioCard/RadioCard.variants.js +8 -17
- package/dist/components/RadioCardGroup/RadioCardGroup.js +22 -23
- package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +3 -9
- package/dist/components/RadioGroup/RadioGroup.js +30 -31
- package/dist/components/RadioGroup/RadioGroup.variants.js +2 -8
- package/dist/components/Range/Range.js +28 -34
- package/dist/components/Range/Range.variants.js +21 -53
- package/dist/components/Sidebar/Sidebar.js +12 -13
- package/dist/components/Sidebar/Sidebar.variants.js +30 -56
- package/dist/components/Sidebar/components/Footer/Footer.js +5 -17
- package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -16
- package/dist/components/Sidebar/components/Logo/Logo.js +5 -15
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +20 -36
- package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -28
- package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +3 -17
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +21 -34
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -13
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +21 -27
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +7 -17
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +7 -19
- package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -16
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +8 -21
- package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +11 -20
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +41 -44
- package/dist/components/Slider/Slider.js +26 -27
- package/dist/components/Slider/Slider.variants.js +22 -34
- package/dist/components/Switch/Switch.js +103 -106
- package/dist/components/Switch/Switch.variants.js +28 -53
- package/dist/components/Table/Table.js +27 -0
- package/dist/components/Table/Table.variants.js +40 -0
- package/dist/components/Table/components/Body.js +18 -0
- package/dist/components/Table/components/Filter.js +9 -0
- package/dist/components/Table/components/Head.js +18 -0
- package/dist/components/Table/components/Row.js +28 -0
- package/dist/components/Table/components/index.js +10 -0
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.js +23 -55
- package/dist/components/TagSelect/components/Item/Item.js +12 -14
- package/dist/components/TagSelect/components/Item/Item.variants.js +11 -10
- package/dist/components/TagSelect/components/List/List.js +9 -10
- package/dist/components/TagSelect/components/List/List.variants.js +21 -35
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +46 -48
- package/dist/components/TextArea/TextArea.js +20 -23
- package/dist/components/TextArea/TextArea.variants.js +19 -31
- package/dist/components/Toast/Toast.js +110 -116
- package/dist/components/Toast/Toast.variants.js +42 -70
- package/dist/components/Tooltip/Tooltip.js +21 -27
- package/dist/components/Tooltip/Tooltip.variants.js +61 -62
- package/dist/components/Typography/Typography.js +23 -19
- package/dist/components/Typography/Typography.variants.js +1 -7
- package/dist/components/index.js +22 -20
- package/dist/contexts/theme.provider.js +37 -39
- package/dist/domain/theme.js +0 -0
- package/dist/index-AM3avohj.js +133 -0
- package/dist/{index-BzaHYXkt.js → index-BOx5P4tS.js} +5 -5
- package/dist/index-Bk324h27.js +82 -0
- package/dist/{index-4ecjw_Aj.js → index-Bry5AFQ2.js} +1 -1
- package/dist/{index-CbTU3cnP.js → index-CWKdynYu.js} +1 -1
- package/dist/index-D9BbbgUq.js +47 -0
- package/dist/{index-DyKo5ZJT.js → index-DvFiic6N.js} +45 -45
- package/dist/{index-Dj1pom3_.js → index-G_6jG4Qc.js} +2 -2
- package/dist/{index-D_76wh4w.js → index-YaQrdkGE.js} +3 -3
- package/dist/{index-Cva-e5M4.js → index-bYyfdsls.js} +9 -9
- package/dist/index-dRxIWVBr.js +313 -0
- package/dist/{index-D7QNmo_D.js → index-g-TFwd6Y.js} +41 -41
- package/dist/index.d.ts +115 -98
- package/dist/index.js +30 -30
- package/dist/package.json +37 -36
- package/dist/styles.css +1 -1
- package/dist/ui/kubefirst-theme.css +296 -0
- package/dist/ui/theme.css +6 -0
- package/dist/ui/utilities.css +165 -0
- package/dist/utils/index.js +675 -424
- package/package.json +37 -36
- package/dist/components/AlertDialog/AlertDialog.variants.js +0 -15
- package/dist/index-B_6_jmOO.js +0 -68
- package/dist/index-BbsJ0VIJ.js +0 -47
- package/dist/index-CzSBQN5S.js +0 -432
- package/dist/index-DUA6Y_AE.js +0 -126
- package/dist/plugins/index.js +0 -4
- package/dist/plugins/konstruct.js +0 -118
- package/dist/plugins/utils/animation.styles.js +0 -162
- package/dist/plugins/utils/colors.js +0 -331
- package/dist/plugins/utils/index.js +0 -7
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsxs as O, jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import l, { forwardRef as p, useState as E, useId as k } from "react";
|
|
3
|
-
import { cn as
|
|
4
|
-
import { inputVariants as
|
|
3
|
+
import { cn as w } from "../../utils/index.js";
|
|
4
|
+
import { inputVariants as z } from "./Input.variants.js";
|
|
5
5
|
import { P as a } from "../../index-C5psggHV.js";
|
|
6
|
-
import { useTheme as $ } from "../../contexts/theme.hook.js";
|
|
7
6
|
function u() {
|
|
8
7
|
return u = Object.assign || function(e) {
|
|
9
8
|
for (var o = 1; o < arguments.length; o++) {
|
|
@@ -14,9 +13,9 @@ function u() {
|
|
|
14
13
|
return e;
|
|
15
14
|
}, u.apply(this, arguments);
|
|
16
15
|
}
|
|
17
|
-
function
|
|
16
|
+
function N(e, o) {
|
|
18
17
|
if (e == null) return {};
|
|
19
|
-
var r =
|
|
18
|
+
var r = $(e, o), t, n;
|
|
20
19
|
if (Object.getOwnPropertySymbols) {
|
|
21
20
|
var i = Object.getOwnPropertySymbols(e);
|
|
22
21
|
for (n = 0; n < i.length; n++)
|
|
@@ -24,15 +23,15 @@ function _(e, o) {
|
|
|
24
23
|
}
|
|
25
24
|
return r;
|
|
26
25
|
}
|
|
27
|
-
function
|
|
26
|
+
function $(e, o) {
|
|
28
27
|
if (e == null) return {};
|
|
29
28
|
var r = {}, t = Object.keys(e), n, i;
|
|
30
29
|
for (i = 0; i < t.length; i++)
|
|
31
30
|
n = t[i], !(o.indexOf(n) >= 0) && (r[n] = e[n]);
|
|
32
31
|
return r;
|
|
33
32
|
}
|
|
34
|
-
var
|
|
35
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s =
|
|
33
|
+
var h = p(function(e, o) {
|
|
34
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = N(e, ["color", "size"]);
|
|
36
35
|
return /* @__PURE__ */ l.createElement("svg", u({
|
|
37
36
|
ref: o,
|
|
38
37
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -60,11 +59,11 @@ var y = p(function(e, o) {
|
|
|
60
59
|
y2: "16"
|
|
61
60
|
}));
|
|
62
61
|
});
|
|
63
|
-
|
|
62
|
+
h.propTypes = {
|
|
64
63
|
color: a.string,
|
|
65
64
|
size: a.oneOfType([a.string, a.number])
|
|
66
65
|
};
|
|
67
|
-
|
|
66
|
+
h.displayName = "AlertCircle";
|
|
68
67
|
function m() {
|
|
69
68
|
return m = Object.assign || function(e) {
|
|
70
69
|
for (var o = 1; o < arguments.length; o++) {
|
|
@@ -75,9 +74,9 @@ function m() {
|
|
|
75
74
|
return e;
|
|
76
75
|
}, m.apply(this, arguments);
|
|
77
76
|
}
|
|
78
|
-
function
|
|
77
|
+
function _(e, o) {
|
|
79
78
|
if (e == null) return {};
|
|
80
|
-
var r =
|
|
79
|
+
var r = L(e, o), t, n;
|
|
81
80
|
if (Object.getOwnPropertySymbols) {
|
|
82
81
|
var i = Object.getOwnPropertySymbols(e);
|
|
83
82
|
for (n = 0; n < i.length; n++)
|
|
@@ -85,7 +84,7 @@ function W(e, o) {
|
|
|
85
84
|
}
|
|
86
85
|
return r;
|
|
87
86
|
}
|
|
88
|
-
function
|
|
87
|
+
function L(e, o) {
|
|
89
88
|
if (e == null) return {};
|
|
90
89
|
var r = {}, t = Object.keys(e), n, i;
|
|
91
90
|
for (i = 0; i < t.length; i++)
|
|
@@ -93,7 +92,7 @@ function T(e, o) {
|
|
|
93
92
|
return r;
|
|
94
93
|
}
|
|
95
94
|
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 =
|
|
95
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = _(e, ["color", "size"]);
|
|
97
96
|
return /* @__PURE__ */ l.createElement("svg", m({
|
|
98
97
|
ref: o,
|
|
99
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -119,17 +118,17 @@ v.propTypes = {
|
|
|
119
118
|
size: a.oneOfType([a.string, a.number])
|
|
120
119
|
};
|
|
121
120
|
v.displayName = "EyeOff";
|
|
122
|
-
function
|
|
123
|
-
return
|
|
121
|
+
function y() {
|
|
122
|
+
return y = Object.assign || function(e) {
|
|
124
123
|
for (var o = 1; o < arguments.length; o++) {
|
|
125
124
|
var r = arguments[o];
|
|
126
125
|
for (var t in r)
|
|
127
126
|
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
128
127
|
}
|
|
129
128
|
return e;
|
|
130
|
-
},
|
|
129
|
+
}, y.apply(this, arguments);
|
|
131
130
|
}
|
|
132
|
-
function
|
|
131
|
+
function W(e, o) {
|
|
133
132
|
if (e == null) return {};
|
|
134
133
|
var r = I(e, o), t, n;
|
|
135
134
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -147,8 +146,8 @@ function I(e, o) {
|
|
|
147
146
|
return r;
|
|
148
147
|
}
|
|
149
148
|
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 =
|
|
151
|
-
return /* @__PURE__ */ l.createElement("svg",
|
|
149
|
+
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n, s = W(e, ["color", "size"]);
|
|
150
|
+
return /* @__PURE__ */ l.createElement("svg", y({
|
|
152
151
|
ref: o,
|
|
153
152
|
xmlns: "http://www.w3.org/2000/svg",
|
|
154
153
|
width: i,
|
|
@@ -172,7 +171,7 @@ g.propTypes = {
|
|
|
172
171
|
size: a.oneOfType([a.string, a.number])
|
|
173
172
|
};
|
|
174
173
|
g.displayName = "Eye";
|
|
175
|
-
const
|
|
174
|
+
const T = p(
|
|
176
175
|
({
|
|
177
176
|
className: e,
|
|
178
177
|
error: o,
|
|
@@ -181,33 +180,34 @@ const S = p(
|
|
|
181
180
|
name: n,
|
|
182
181
|
type: i,
|
|
183
182
|
theme: s,
|
|
184
|
-
...
|
|
185
|
-
},
|
|
186
|
-
const [f,
|
|
187
|
-
return /* @__PURE__ */ O("div", { className: "flex flex-col gap-1.5 w-full", children: [
|
|
188
|
-
r ? /* @__PURE__ */ c("label", { htmlFor: d, className:
|
|
183
|
+
...b
|
|
184
|
+
}, x) => {
|
|
185
|
+
const [f, j] = E(!1), d = k(), P = f ? g : v;
|
|
186
|
+
return /* @__PURE__ */ O("div", { className: "flex flex-col gap-1.5 w-full", "data-theme": s, children: [
|
|
187
|
+
r ? /* @__PURE__ */ c("label", { htmlFor: d, className: w("cursor-pointer", t), children: r }) : null,
|
|
189
188
|
/* @__PURE__ */ O("div", { className: "relative", children: [
|
|
190
189
|
/* @__PURE__ */ c(
|
|
191
190
|
"input",
|
|
192
191
|
{
|
|
193
192
|
id: d,
|
|
194
|
-
ref:
|
|
193
|
+
ref: x,
|
|
195
194
|
name: n,
|
|
196
195
|
type: f ? "text" : i,
|
|
197
|
-
className:
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
className: w(
|
|
197
|
+
z({
|
|
198
|
+
className: e,
|
|
199
|
+
variant: o ? "error" : "default"
|
|
200
|
+
})
|
|
201
|
+
),
|
|
202
|
+
...b
|
|
203
203
|
}
|
|
204
204
|
),
|
|
205
|
-
o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-red-600 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(
|
|
205
|
+
o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-red-600 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(h, { className: "w-5 h-5" }) }) : null,
|
|
206
206
|
i === "password" && !o ? /* @__PURE__ */ c("i", { className: "absolute right-3 text-slate-400 top-0 translate-y-[40%]", children: /* @__PURE__ */ c(
|
|
207
207
|
P,
|
|
208
208
|
{
|
|
209
209
|
className: "w-5 h-5 cursor-pointer",
|
|
210
|
-
onClick: () =>
|
|
210
|
+
onClick: () => j(!f)
|
|
211
211
|
}
|
|
212
212
|
) }) : null
|
|
213
213
|
] }),
|
|
@@ -215,7 +215,7 @@ const S = p(
|
|
|
215
215
|
] });
|
|
216
216
|
}
|
|
217
217
|
);
|
|
218
|
-
|
|
218
|
+
T.displayName = "Input";
|
|
219
219
|
export {
|
|
220
|
-
|
|
220
|
+
T as Input
|
|
221
221
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as r } from "../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
2
|
+
const i = r(
|
|
3
3
|
[
|
|
4
|
-
"bg-
|
|
4
|
+
"bg-white",
|
|
5
5
|
"border",
|
|
6
6
|
"border-zinc-200",
|
|
7
7
|
"disabled:cursor-not-allowed",
|
|
@@ -15,28 +15,23 @@ const o = r(
|
|
|
15
15
|
"pr-10",
|
|
16
16
|
"py-1",
|
|
17
17
|
"rounded-md",
|
|
18
|
-
"shadow-
|
|
18
|
+
"shadow-2xs",
|
|
19
19
|
"transition-colors",
|
|
20
|
-
"w-full"
|
|
20
|
+
"w-full",
|
|
21
|
+
"focus:ring-kubefirst-primary"
|
|
21
22
|
],
|
|
22
23
|
{
|
|
23
24
|
variants: {
|
|
24
25
|
variant: {
|
|
25
26
|
default: "",
|
|
26
|
-
error: "
|
|
27
|
-
},
|
|
28
|
-
theme: {
|
|
29
|
-
kubefirst: "focus:ring-kubefirst-primary",
|
|
30
|
-
colony: "",
|
|
31
|
-
civo: ""
|
|
27
|
+
error: "border-red-600 pr-8 focus-visible:ring-transparent"
|
|
32
28
|
}
|
|
33
29
|
},
|
|
34
30
|
defaultVariants: {
|
|
35
|
-
variant: "default"
|
|
36
|
-
theme: "kubefirst"
|
|
31
|
+
variant: "default"
|
|
37
32
|
}
|
|
38
33
|
}
|
|
39
34
|
);
|
|
40
35
|
export {
|
|
41
|
-
|
|
36
|
+
i as inputVariants
|
|
42
37
|
};
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { loadingVariants as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { useTheme as w } from "../../contexts/theme.hook.js";
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { cn as w } from "../../utils/index.js";
|
|
3
|
+
import { loadingVariants as f } from "./Loading.variants.js";
|
|
4
|
+
import { forwardRef as i, createElement as n } from "react";
|
|
6
5
|
/**
|
|
7
|
-
* @license lucide-react v0.
|
|
6
|
+
* @license lucide-react v0.488.0 - ISC
|
|
8
7
|
*
|
|
9
8
|
* This source code is licensed under the ISC license.
|
|
10
9
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
10
|
*/
|
|
12
|
-
const
|
|
11
|
+
const h = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), L = (e) => e.replace(
|
|
12
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
13
|
+
(t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
|
|
14
|
+
), c = (e) => {
|
|
15
|
+
const t = L(e);
|
|
16
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
17
|
+
}, l = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
|
|
13
18
|
/**
|
|
14
|
-
* @license lucide-react v0.
|
|
19
|
+
* @license lucide-react v0.488.0 - ISC
|
|
15
20
|
*
|
|
16
21
|
* This source code is licensed under the ISC license.
|
|
17
22
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
23
|
*/
|
|
19
|
-
var
|
|
24
|
+
var k = {
|
|
20
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21
26
|
width: 24,
|
|
22
27
|
height: 24,
|
|
@@ -28,82 +33,79 @@ var L = {
|
|
|
28
33
|
strokeLinejoin: "round"
|
|
29
34
|
};
|
|
30
35
|
/**
|
|
31
|
-
* @license lucide-react v0.
|
|
36
|
+
* @license lucide-react v0.488.0 - ISC
|
|
32
37
|
*
|
|
33
38
|
* This source code is licensed under the ISC license.
|
|
34
39
|
* See the LICENSE file in the root directory of this source tree.
|
|
35
40
|
*/
|
|
36
|
-
const
|
|
41
|
+
const A = i(
|
|
37
42
|
({
|
|
38
|
-
color:
|
|
39
|
-
size:
|
|
43
|
+
color: e = "currentColor",
|
|
44
|
+
size: t = 24,
|
|
40
45
|
strokeWidth: o = 2,
|
|
41
|
-
absoluteStrokeWidth:
|
|
42
|
-
className:
|
|
43
|
-
children:
|
|
44
|
-
iconNode:
|
|
46
|
+
absoluteStrokeWidth: r,
|
|
47
|
+
className: s = "",
|
|
48
|
+
children: a,
|
|
49
|
+
iconNode: m,
|
|
45
50
|
...d
|
|
46
|
-
},
|
|
51
|
+
}, p) => n(
|
|
47
52
|
"svg",
|
|
48
53
|
{
|
|
49
|
-
ref:
|
|
50
|
-
...
|
|
51
|
-
width:
|
|
52
|
-
height:
|
|
53
|
-
stroke:
|
|
54
|
-
strokeWidth:
|
|
55
|
-
className:
|
|
54
|
+
ref: p,
|
|
55
|
+
...k,
|
|
56
|
+
width: t,
|
|
57
|
+
height: t,
|
|
58
|
+
stroke: e,
|
|
59
|
+
strokeWidth: r ? Number(o) * 24 / Number(t) : o,
|
|
60
|
+
className: l("lucide", s),
|
|
56
61
|
...d
|
|
57
62
|
},
|
|
58
63
|
[
|
|
59
|
-
...
|
|
60
|
-
...Array.isArray(
|
|
64
|
+
...m.map(([u, C]) => n(u, C)),
|
|
65
|
+
...Array.isArray(a) ? a : [a]
|
|
61
66
|
]
|
|
62
67
|
)
|
|
63
68
|
);
|
|
64
69
|
/**
|
|
65
|
-
* @license lucide-react v0.
|
|
70
|
+
* @license lucide-react v0.488.0 - ISC
|
|
66
71
|
*
|
|
67
72
|
* This source code is licensed under the ISC license.
|
|
68
73
|
* See the LICENSE file in the root directory of this source tree.
|
|
69
74
|
*/
|
|
70
|
-
const
|
|
71
|
-
const o =
|
|
72
|
-
({ className:
|
|
73
|
-
ref:
|
|
74
|
-
iconNode:
|
|
75
|
-
className:
|
|
76
|
-
|
|
75
|
+
const b = (e, t) => {
|
|
76
|
+
const o = i(
|
|
77
|
+
({ className: r, ...s }, a) => n(A, {
|
|
78
|
+
ref: a,
|
|
79
|
+
iconNode: t,
|
|
80
|
+
className: l(
|
|
81
|
+
`lucide-${h(c(e))}`,
|
|
82
|
+
`lucide-${e}`,
|
|
83
|
+
r
|
|
84
|
+
),
|
|
85
|
+
...s
|
|
77
86
|
})
|
|
78
87
|
);
|
|
79
|
-
return o.displayName =
|
|
88
|
+
return o.displayName = c(e), o;
|
|
80
89
|
};
|
|
81
90
|
/**
|
|
82
|
-
* @license lucide-react v0.
|
|
91
|
+
* @license lucide-react v0.488.0 - ISC
|
|
83
92
|
*
|
|
84
93
|
* This source code is licensed under the ISC license.
|
|
85
94
|
* See the LICENSE file in the root directory of this source tree.
|
|
86
95
|
*/
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
})
|
|
101
|
-
),
|
|
102
|
-
...o
|
|
103
|
-
}
|
|
104
|
-
);
|
|
105
|
-
};
|
|
106
|
-
N.displayName = "Loading";
|
|
96
|
+
const x = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], y = b("loader-circle", x), v = ({ className: e, theme: t, ...o }) => /* @__PURE__ */ g(
|
|
97
|
+
y,
|
|
98
|
+
{
|
|
99
|
+
"data-theme": t,
|
|
100
|
+
className: w(
|
|
101
|
+
f({
|
|
102
|
+
className: e
|
|
103
|
+
})
|
|
104
|
+
),
|
|
105
|
+
...o
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
v.displayName = "Loading";
|
|
107
109
|
export {
|
|
108
|
-
|
|
110
|
+
v as Loading
|
|
109
111
|
};
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import { c as t } from "../../index-BNmRGtA6.js";
|
|
2
|
-
const r = t(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
theme: "kubefirst"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
);
|
|
2
|
+
const r = t([
|
|
3
|
+
"h-8",
|
|
4
|
+
"w-8",
|
|
5
|
+
"animate-spin",
|
|
6
|
+
"text-inherit",
|
|
7
|
+
"text-kubefirst-primary",
|
|
8
|
+
"colony:text-colony-primary",
|
|
9
|
+
"civo:text-civo-primary"
|
|
10
|
+
]);
|
|
17
11
|
export {
|
|
18
12
|
r as loadingVariants
|
|
19
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../index-
|
|
4
|
-
import { M as d } from "../../Modal-
|
|
3
|
+
import "../../index-g-TFwd6Y.js";
|
|
4
|
+
import { M as d } from "../../Modal-i7eolhYH.js";
|
|
5
5
|
import "./components/Header/Header.js";
|
|
6
6
|
import "./components/Body/Body.js";
|
|
7
7
|
import "./components/Footer/Footer.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.js";
|
|
3
3
|
import { cn as e } from "../../../../utils/index.js";
|
|
4
|
-
const a = ({ children: o, asChild:
|
|
4
|
+
const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
|
|
5
5
|
export {
|
|
6
6
|
a as Footer
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S as n } from "../../../../index-
|
|
2
|
+
import { S as n } from "../../../../index-Bk324h27.js";
|
|
3
3
|
import { cn as e } from "../../../../utils/index.js";
|
|
4
|
-
const
|
|
4
|
+
const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as Header
|
|
7
7
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../../index-
|
|
2
|
+
import "../../../../index-CWKdynYu.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { W as
|
|
4
|
+
import { W as f } from "../../../../Modal-i7eolhYH.js";
|
|
5
5
|
import "../../../../Combination-b348x__d.js";
|
|
6
6
|
import "../../../../utils/index.js";
|
|
7
7
|
import "./Wrapper.variants.js";
|
|
8
8
|
import "../../../../x-DU-Zw-L_.js";
|
|
9
|
-
import "../../../../contexts/theme.hook.js";
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
f as Wrapper
|
|
12
11
|
};
|
|
@@ -1,48 +1,34 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
)
|
|
31
|
-
["absolute", "right-1.5", "top-1.5", "text-inherit"],
|
|
32
|
-
{
|
|
33
|
-
variants: {
|
|
34
|
-
theme: {
|
|
35
|
-
kubefirst: ["text-kubefirst-primary"],
|
|
36
|
-
colony: ["text-red-400"],
|
|
37
|
-
civo: ""
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
defaultVariants: {
|
|
41
|
-
theme: "kubefirst"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
);
|
|
1
|
+
import { c as o } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const t = o([
|
|
3
|
+
"bg-metal-1000",
|
|
4
|
+
"bg-white",
|
|
5
|
+
"border-none",
|
|
6
|
+
"flex",
|
|
7
|
+
"flex-col",
|
|
8
|
+
"justify-between",
|
|
9
|
+
"min-h-[450px]",
|
|
10
|
+
"min-w-[500px]",
|
|
11
|
+
"overflow-auto",
|
|
12
|
+
"relative",
|
|
13
|
+
"rounded-md",
|
|
14
|
+
"shadow-xs",
|
|
15
|
+
"lg:overflow-hidden",
|
|
16
|
+
"animate-in",
|
|
17
|
+
"fade-in-0",
|
|
18
|
+
"zoom-in-95",
|
|
19
|
+
"duration-150",
|
|
20
|
+
"shadow-kubefirst-primary",
|
|
21
|
+
"colony:shadow-red-400"
|
|
22
|
+
]), r = o([
|
|
23
|
+
"absolute",
|
|
24
|
+
"right-1.5",
|
|
25
|
+
"top-1.5",
|
|
26
|
+
"text-inherit",
|
|
27
|
+
"cursor-pointer",
|
|
28
|
+
"text-kubefirst-primary",
|
|
29
|
+
"colony:text-red-400"
|
|
30
|
+
]);
|
|
45
31
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
32
|
+
r as buttonCloseVariants,
|
|
33
|
+
t as modalVariants
|
|
48
34
|
};
|
|
@@ -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-
|
|
4
|
+
import { W as a } from "../../../Modal-i7eolhYH.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Body,
|
|
7
7
|
t as Footer,
|