@konstructio/ui 0.0.12-alpha.7 → 0.0.12-alpha.9
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/components/Breadcrumb/Breadcrumb.variants.js +18 -15
- package/dist/components/Dropdown/components/List/List.variants.js +4 -4
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
- package/dist/components/Dropdown/components/Wrapper.js +1 -1
- package/dist/components/Input/Input.js +112 -60
- package/dist/components/Input/Input.variants.js +2 -1
- package/dist/components/Loading/Loading.js +5 -5
- package/dist/components/Sidebar/Sidebar.variants.js +2 -1
- package/dist/components/Sidebar/components/Logo/Logo.variants.js +9 -15
- package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -2
- package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +6 -5
- package/dist/components/Toast/Toast.variants.js +2 -3
- package/dist/index.d.ts +0 -1
- package/dist/package.json +22 -22
- package/dist/styles.css +1 -1
- package/dist/utils/index.js +320 -322
- package/package.json +22 -22
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
import { c as e } from "../../index-BNmRGtA6.js";
|
|
2
|
-
const a = e(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
const a = e(
|
|
3
|
+
["text-slate-500", "cursor-pointer"],
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
theme: {
|
|
7
|
+
kubefirst: "",
|
|
8
|
+
colony: "",
|
|
9
|
+
civo: ""
|
|
10
|
+
},
|
|
11
|
+
size: {
|
|
12
|
+
sm: "",
|
|
13
|
+
base: "",
|
|
14
|
+
lg: "",
|
|
15
|
+
xl: ""
|
|
16
|
+
}
|
|
8
17
|
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
base: "",
|
|
12
|
-
lg: "",
|
|
13
|
-
xl: ""
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
theme: "kubefirst"
|
|
14
20
|
}
|
|
15
|
-
},
|
|
16
|
-
defaultVariants: {
|
|
17
|
-
theme: "kubefirst"
|
|
18
21
|
}
|
|
19
|
-
|
|
22
|
+
), s = e(["flex", "gap-1", "items-center"], {
|
|
20
23
|
variants: {
|
|
21
24
|
theme: {
|
|
22
25
|
kubefirst: "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const
|
|
1
|
+
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const o = t(
|
|
3
3
|
[
|
|
4
4
|
"absolute",
|
|
5
5
|
"bg-white",
|
|
@@ -20,7 +20,7 @@ const t = r(
|
|
|
20
20
|
variants: {
|
|
21
21
|
theme: {
|
|
22
22
|
colony: ["border-red-400"],
|
|
23
|
-
kubefirst: ["
|
|
23
|
+
kubefirst: [""],
|
|
24
24
|
civo: ""
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -30,5 +30,5 @@ const t = r(
|
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
o as listVariants
|
|
34
34
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as e } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
2
|
+
const o = e(
|
|
3
3
|
[
|
|
4
4
|
"cursor-pointer",
|
|
5
5
|
"py-2",
|
|
@@ -10,12 +10,14 @@ const t = e(
|
|
|
10
10
|
"w-full",
|
|
11
11
|
"flex",
|
|
12
12
|
"items-center",
|
|
13
|
-
"gap-3"
|
|
13
|
+
"gap-3",
|
|
14
|
+
"hover:bg-slate-50",
|
|
15
|
+
"focus:bg-slate-50"
|
|
14
16
|
],
|
|
15
17
|
{
|
|
16
18
|
variants: {
|
|
17
19
|
theme: {
|
|
18
|
-
kubefirst: ["
|
|
20
|
+
kubefirst: [""],
|
|
19
21
|
colony: ["focus:bg-red-100", "hover:bg-red-100"],
|
|
20
22
|
civo: ""
|
|
21
23
|
}
|
|
@@ -26,5 +28,5 @@ const t = e(
|
|
|
26
28
|
}
|
|
27
29
|
);
|
|
28
30
|
export {
|
|
29
|
-
|
|
31
|
+
o as listItemVariants
|
|
30
32
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { cn as
|
|
4
|
-
import { inputVariants as
|
|
5
|
-
import { P as
|
|
6
|
-
import { useTheme as
|
|
7
|
-
function
|
|
8
|
-
return
|
|
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
|
-
},
|
|
15
|
+
}, u.apply(this, arguments);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function _(e, o) {
|
|
18
18
|
if (e == null) return {};
|
|
19
|
-
var r =
|
|
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
|
|
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
|
|
35
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n,
|
|
36
|
-
return /* @__PURE__ */
|
|
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
|
-
},
|
|
47
|
+
}, s), /* @__PURE__ */ l.createElement("circle", {
|
|
48
48
|
cx: "12",
|
|
49
49
|
cy: "12",
|
|
50
50
|
r: "10"
|
|
51
|
-
}), /* @__PURE__ */
|
|
51
|
+
}), /* @__PURE__ */ l.createElement("line", {
|
|
52
52
|
x1: "12",
|
|
53
53
|
y1: "8",
|
|
54
54
|
x2: "12",
|
|
55
55
|
y2: "12"
|
|
56
|
-
}), /* @__PURE__ */
|
|
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
|
-
|
|
64
|
-
color:
|
|
65
|
-
size:
|
|
63
|
+
y.propTypes = {
|
|
64
|
+
color: a.string,
|
|
65
|
+
size: a.oneOfType([a.string, a.number])
|
|
66
66
|
};
|
|
67
|
-
|
|
68
|
-
function
|
|
69
|
-
return
|
|
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
|
-
},
|
|
76
|
+
}, m.apply(this, arguments);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function W(e, o) {
|
|
79
79
|
if (e == null) return {};
|
|
80
|
-
var r =
|
|
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
|
|
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
|
|
96
|
-
var r = e.color, t = r === void 0 ? "currentColor" : r, n = e.size, i = n === void 0 ? 24 : n,
|
|
97
|
-
return /* @__PURE__ */
|
|
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
|
-
},
|
|
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__ */
|
|
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
|
-
|
|
118
|
-
color:
|
|
119
|
-
size:
|
|
117
|
+
v.propTypes = {
|
|
118
|
+
color: a.string,
|
|
119
|
+
size: a.oneOfType([a.string, a.number])
|
|
120
120
|
};
|
|
121
|
-
|
|
122
|
-
|
|
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,43 +180,42 @@ const _ = u(
|
|
|
127
180
|
labelClassName: t,
|
|
128
181
|
name: n,
|
|
129
182
|
type: i,
|
|
130
|
-
theme:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/* @__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(
|
|
139
191
|
"input",
|
|
140
192
|
{
|
|
141
|
-
id:
|
|
142
|
-
ref:
|
|
193
|
+
id: d,
|
|
194
|
+
ref: b,
|
|
143
195
|
name: n,
|
|
144
|
-
type: i,
|
|
145
|
-
className:
|
|
196
|
+
type: f ? "text" : i,
|
|
197
|
+
className: N({
|
|
146
198
|
className: e,
|
|
147
|
-
theme:
|
|
199
|
+
theme: s ?? j,
|
|
148
200
|
variant: o ? "error" : "default"
|
|
149
201
|
}),
|
|
150
|
-
...
|
|
202
|
+
...w
|
|
151
203
|
}
|
|
152
204
|
),
|
|
153
|
-
o ? /* @__PURE__ */
|
|
154
|
-
i === "password" ? /* @__PURE__ */
|
|
155
|
-
|
|
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,
|
|
156
208
|
{
|
|
157
209
|
className: "w-5 h-5 cursor-pointer",
|
|
158
|
-
onClick:
|
|
210
|
+
onClick: () => x(!f)
|
|
159
211
|
}
|
|
160
212
|
) }) : null
|
|
161
213
|
] }),
|
|
162
|
-
o ? /* @__PURE__ */
|
|
214
|
+
o ? /* @__PURE__ */ c("span", { className: "text-xs text-red-600 -mt-0.5", children: o }) : null
|
|
163
215
|
] });
|
|
164
216
|
}
|
|
165
217
|
);
|
|
166
|
-
|
|
218
|
+
S.displayName = "Input";
|
|
167
219
|
export {
|
|
168
|
-
|
|
220
|
+
S as Input
|
|
169
221
|
};
|
|
@@ -4,14 +4,14 @@ import { loadingVariants as g } from "./Loading.variants.js";
|
|
|
4
4
|
import { forwardRef as s, createElement as i } from "react";
|
|
5
5
|
import { useTheme as w } from "../../contexts/theme.hook.js";
|
|
6
6
|
/**
|
|
7
|
-
* @license lucide-react v0.
|
|
7
|
+
* @license lucide-react v0.477.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
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
13
|
/**
|
|
14
|
-
* @license lucide-react v0.
|
|
14
|
+
* @license lucide-react v0.477.0 - ISC
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the ISC license.
|
|
17
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -28,7 +28,7 @@ var L = {
|
|
|
28
28
|
strokeLinejoin: "round"
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
* @license lucide-react v0.
|
|
31
|
+
* @license lucide-react v0.477.0 - ISC
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the ISC license.
|
|
34
34
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -62,7 +62,7 @@ const k = s(
|
|
|
62
62
|
)
|
|
63
63
|
);
|
|
64
64
|
/**
|
|
65
|
-
* @license lucide-react v0.
|
|
65
|
+
* @license lucide-react v0.477.0 - ISC
|
|
66
66
|
*
|
|
67
67
|
* This source code is licensed under the ISC license.
|
|
68
68
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -79,7 +79,7 @@ const x = (r, e) => {
|
|
|
79
79
|
return o.displayName = `${r}`, o;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
|
-
* @license lucide-react v0.
|
|
82
|
+
* @license lucide-react v0.477.0 - ISC
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the ISC license.
|
|
85
85
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
-
const
|
|
2
|
+
const o = t(
|
|
3
3
|
[
|
|
4
|
-
"px-4",
|
|
5
|
-
"py-5",
|
|
4
|
+
"md:px-4",
|
|
5
|
+
"md:py-5",
|
|
6
6
|
"flex",
|
|
7
7
|
"flex-col",
|
|
8
8
|
"items-center",
|
|
@@ -12,18 +12,12 @@ const s = t(
|
|
|
12
12
|
"group",
|
|
13
13
|
"relative",
|
|
14
14
|
"mb-8",
|
|
15
|
-
"[&>
|
|
16
|
-
"[&>
|
|
17
|
-
"[&>span]:font-semibold",
|
|
18
|
-
"[&>span]:pl-14",
|
|
19
|
-
"[&>span]:-mt-2",
|
|
15
|
+
"[&>p]:pl-14",
|
|
16
|
+
"[&>p]:-mt-2",
|
|
20
17
|
"[&>img]:pt-3",
|
|
21
|
-
"[&>*>
|
|
22
|
-
"[&>*>
|
|
23
|
-
"[&>*>
|
|
24
|
-
"[&>*>span]:absolute",
|
|
25
|
-
"[&>*>span]:bottom-0",
|
|
26
|
-
"[&>*>span]:-mt-2",
|
|
18
|
+
"[&>*>p]:absolute",
|
|
19
|
+
"[&>*>p]:bottom-0",
|
|
20
|
+
"[&>*>p]:-mt-2",
|
|
27
21
|
"[&>*>img]:pt-3",
|
|
28
22
|
"cursor-pointer"
|
|
29
23
|
],
|
|
@@ -41,5 +35,5 @@ const s = t(
|
|
|
41
35
|
}
|
|
42
36
|
);
|
|
43
37
|
export {
|
|
44
|
-
|
|
38
|
+
o as logoVariants
|
|
45
39
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
const a =
|
|
1
|
+
import { c as t } from "../../../../index-BNmRGtA6.js";
|
|
2
|
+
const a = t(
|
|
3
3
|
[
|
|
4
4
|
"[&>a]:flex",
|
|
5
5
|
"[&>a]:gap-2",
|
|
@@ -11,9 +11,10 @@ const a = e(
|
|
|
11
11
|
"font-normal",
|
|
12
12
|
"font-normal",
|
|
13
13
|
"gap-2",
|
|
14
|
-
"
|
|
15
|
-
"px-4",
|
|
16
|
-
"py-2.5",
|
|
14
|
+
"rounded-xl",
|
|
15
|
+
"md:px-4",
|
|
16
|
+
"md:py-2.5",
|
|
17
|
+
"p-2",
|
|
17
18
|
"text-black",
|
|
18
19
|
"w-full"
|
|
19
20
|
],
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { c as e } from "../../index-BNmRGtA6.js";
|
|
2
2
|
const a = e(
|
|
3
3
|
[
|
|
4
|
-
"bg-white",
|
|
5
4
|
"rounded-md",
|
|
6
5
|
"shadow-md",
|
|
7
6
|
"p-4",
|
|
@@ -55,7 +54,7 @@ const a = e(
|
|
|
55
54
|
theme: "kubefirst"
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
|
-
),
|
|
57
|
+
), o = e(["top-2", "right-2", "w-4", "h-4"], {
|
|
59
58
|
variants: {
|
|
60
59
|
theme: {
|
|
61
60
|
kubefirst: ["text-kubefirst-primary"],
|
|
@@ -68,7 +67,7 @@ const a = e(
|
|
|
68
67
|
}
|
|
69
68
|
});
|
|
70
69
|
export {
|
|
71
|
-
|
|
70
|
+
o as closeToastVariants,
|
|
72
71
|
a as toastVariants,
|
|
73
72
|
r as viewportToastVariants
|
|
74
73
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.0.12-alpha.
|
|
5
|
+
"version": "0.0.12-alpha.8",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"clsx": "^2.1.1",
|
|
68
68
|
"cmdk": "^1.0.4",
|
|
69
69
|
"js-cookie": "^3.0.5",
|
|
70
|
-
"lucide-react": "^0.
|
|
70
|
+
"lucide-react": "^0.477.0",
|
|
71
71
|
"react-feather": "^2.0.10",
|
|
72
72
|
"react-focus-lock": "^2.13.6",
|
|
73
73
|
"react-remove-scroll": "^2.6.3",
|
|
74
|
-
"tailwind-merge": "^3.0.
|
|
74
|
+
"tailwind-merge": "^3.0.2"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@types/react": "*",
|
|
@@ -103,27 +103,27 @@
|
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"@rollup/plugin-alias": "^5.1.1",
|
|
106
|
-
"@storybook/addon-docs": "^8.
|
|
107
|
-
"@storybook/addon-essentials": "^8.
|
|
108
|
-
"@storybook/addon-interactions": "^8.
|
|
109
|
-
"@storybook/addon-links": "^8.
|
|
106
|
+
"@storybook/addon-docs": "^8.6.3",
|
|
107
|
+
"@storybook/addon-essentials": "^8.6.3",
|
|
108
|
+
"@storybook/addon-interactions": "^8.6.3",
|
|
109
|
+
"@storybook/addon-links": "^8.6.3",
|
|
110
110
|
"@storybook/addon-styling-webpack": "^1.0.1",
|
|
111
|
-
"@storybook/blocks": "^8.
|
|
112
|
-
"@storybook/react": "^8.
|
|
113
|
-
"@storybook/react-vite": "^8.
|
|
114
|
-
"@storybook/test": "^8.
|
|
111
|
+
"@storybook/blocks": "^8.6.3",
|
|
112
|
+
"@storybook/react": "^8.6.3",
|
|
113
|
+
"@storybook/react-vite": "^8.6.3",
|
|
114
|
+
"@storybook/test": "^8.6.3",
|
|
115
115
|
"@testing-library/jest-dom": "^6.6.3",
|
|
116
116
|
"@testing-library/react": "^16.2.0",
|
|
117
117
|
"@testing-library/user-event": "^14.6.1",
|
|
118
118
|
"@types/jest-axe": "^3.5.9",
|
|
119
119
|
"@types/js-cookie": "^3.0.6",
|
|
120
|
-
"@types/lodash": "^4.17.
|
|
120
|
+
"@types/lodash": "^4.17.16",
|
|
121
121
|
"@types/react": "^19.0.10",
|
|
122
122
|
"@types/react-dom": "^19.0.4",
|
|
123
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
124
|
-
"@typescript-eslint/parser": "^8.
|
|
123
|
+
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
124
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
125
125
|
"@vitejs/plugin-react": "^4.3.4",
|
|
126
|
-
"@vitest/coverage-v8": "^3.0.
|
|
126
|
+
"@vitest/coverage-v8": "^3.0.7",
|
|
127
127
|
"autoprefixer": "^10.4.20",
|
|
128
128
|
"eslint": "^8.57.0",
|
|
129
129
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
@@ -131,21 +131,21 @@
|
|
|
131
131
|
"eslint-plugin-storybook": "^0.9.0",
|
|
132
132
|
"glob": "^11.0.1",
|
|
133
133
|
"husky": "^9.1.7",
|
|
134
|
-
"jest-axe": "^
|
|
134
|
+
"jest-axe": "^10.0.0",
|
|
135
135
|
"jsdom": "^26.0.0",
|
|
136
136
|
"lodash": "^4.17.21",
|
|
137
137
|
"postcss": "^8.5.3",
|
|
138
|
-
"prettier": "^3.5.
|
|
138
|
+
"prettier": "^3.5.3",
|
|
139
139
|
"rimraf": "^6.0.1",
|
|
140
|
-
"storybook": "^8.
|
|
140
|
+
"storybook": "^8.6.3",
|
|
141
141
|
"tailwindcss": "^3.4.17",
|
|
142
142
|
"ts-node": "^10.9.2",
|
|
143
|
-
"typescript": "^5.
|
|
144
|
-
"vite": "^6.
|
|
145
|
-
"vite-plugin-dts": "^4.5.
|
|
143
|
+
"typescript": "^5.8.2",
|
|
144
|
+
"vite": "^6.2.0",
|
|
145
|
+
"vite-plugin-dts": "^4.5.3",
|
|
146
146
|
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
147
147
|
"vite-plugin-svgr": "^4.3.0",
|
|
148
148
|
"vite-tsconfig-paths": "^5.1.4",
|
|
149
|
-
"vitest": "^3.0.
|
|
149
|
+
"vitest": "^3.0.7"
|
|
150
150
|
}
|
|
151
151
|
}
|