@konstructio/ui 0.1.0-alpha.20 → 0.1.0-alpha.22
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/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Command/Command.js +1 -1
- 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 +1 -1
- package/dist/components/Dropdown/Dropdown.js +10 -6
- package/dist/components/Dropdown/Dropdown.variants.js +46 -25
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
- package/dist/components/Dropdown/components/Wrapper.js +101 -90
- package/dist/components/Input/Input.js +6 -4
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/components/Content.js +1 -1
- package/dist/components/Tabs/components/List.js +1 -1
- package/dist/components/Tabs/components/Trigger.js +1 -1
- package/dist/components/Toast/Toast.js +31 -36
- package/dist/{index-BNU3RH-3.js → index-CT6_TaZk.js} +1 -1
- package/dist/{index-CvfCCTEO.js → index-DdbImHmO.js} +1 -1
- package/dist/{index-DLYwlPRZ.js → index-aR9z1Fe3.js} +1 -1
- package/dist/{index-Dm-ooN_M.js → index-j2KyU-zG.js} +1 -1
- package/dist/{index-Dkt8F6CZ.js → index-oBRTQ54R.js} +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/package.json +11 -11
- package/dist/styles.css +1 -1
- package/package.json +11 -11
|
@@ -6,7 +6,7 @@ import { P as L, r as Se, d as Ie } from "../../index-BCGvACM9.js";
|
|
|
6
6
|
import { c as Ne, a as Ae, b, u as Fe } from "../../index-Cq1I1cG9.js";
|
|
7
7
|
import { c as _e } from "../../index-rUBNhTeF.js";
|
|
8
8
|
import { B as De, R as Le, P as Me } from "../../index-DNRcvRTB.js";
|
|
9
|
-
import { P as Oe } from "../../index-
|
|
9
|
+
import { P as Oe } from "../../index-j2KyU-zG.js";
|
|
10
10
|
import { u as $ } from "../../index-DwYXX2sM.js";
|
|
11
11
|
import { V as ie, R as ke } from "../../index--EmNlyHx.js";
|
|
12
12
|
import { cn as q } from "../../utils/index.js";
|
|
@@ -20,7 +20,7 @@ var Z = "ToastProvider", [ee, Xe, $e] = _e("Toast"), [ce, Rt] = Ne("Toast", [$e]
|
|
|
20
20
|
swipeDirection: u = "right",
|
|
21
21
|
swipeThreshold: d = 50,
|
|
22
22
|
children: f
|
|
23
|
-
} = e, [m, v] = s.useState(null), [n,
|
|
23
|
+
} = e, [m, v] = s.useState(null), [n, y] = s.useState(0), w = s.useRef(!1), S = s.useRef(!1);
|
|
24
24
|
return o.trim() || console.error(
|
|
25
25
|
`Invalid prop \`label\` supplied to \`${Z}\`. Expected non-empty \`string\`.`
|
|
26
26
|
), /* @__PURE__ */ c(ee.Provider, { scope: r, children: /* @__PURE__ */ c(
|
|
@@ -34,8 +34,8 @@ var Z = "ToastProvider", [ee, Xe, $e] = _e("Toast"), [ce, Rt] = Ne("Toast", [$e]
|
|
|
34
34
|
toastCount: n,
|
|
35
35
|
viewport: m,
|
|
36
36
|
onViewportChange: v,
|
|
37
|
-
onToastAdd: s.useCallback(() =>
|
|
38
|
-
onToastRemove: s.useCallback(() =>
|
|
37
|
+
onToastAdd: s.useCallback(() => y((g) => g + 1), []),
|
|
38
|
+
onToastRemove: s.useCallback(() => y((g) => g - 1), []),
|
|
39
39
|
isFocusedToastEscapeKeyDownRef: w,
|
|
40
40
|
isClosePausedRef: S,
|
|
41
41
|
children: f
|
|
@@ -50,7 +50,7 @@ var le = "ToastViewport", Ye = ["F8"], G = "toast.viewportPause", J = "toast.vie
|
|
|
50
50
|
hotkey: t = Ye,
|
|
51
51
|
label: u = "Notifications ({hotkey})",
|
|
52
52
|
...d
|
|
53
|
-
} = e, f = U(le, o), m = Xe(o), v = s.useRef(null), n = s.useRef(null),
|
|
53
|
+
} = e, f = U(le, o), m = Xe(o), v = s.useRef(null), n = s.useRef(null), y = s.useRef(null), w = s.useRef(null), S = ae(r, w, f.onViewportChange), g = t.join("+").replace(/Key/g, "").replace(/Digit/g, ""), R = f.toastCount > 0;
|
|
54
54
|
s.useEffect(() => {
|
|
55
55
|
const i = (C) => {
|
|
56
56
|
var T;
|
|
@@ -72,19 +72,19 @@ var le = "ToastViewport", Ye = ["F8"], G = "toast.viewportPause", J = "toast.vie
|
|
|
72
72
|
}
|
|
73
73
|
}, E = (P) => {
|
|
74
74
|
!i.contains(P.relatedTarget) && T();
|
|
75
|
-
},
|
|
75
|
+
}, h = () => {
|
|
76
76
|
i.contains(document.activeElement) || T();
|
|
77
77
|
};
|
|
78
|
-
return i.addEventListener("focusin", p), i.addEventListener("focusout", E), i.addEventListener("pointermove", p), i.addEventListener("pointerleave",
|
|
79
|
-
i.removeEventListener("focusin", p), i.removeEventListener("focusout", E), i.removeEventListener("pointermove", p), i.removeEventListener("pointerleave",
|
|
78
|
+
return i.addEventListener("focusin", p), i.addEventListener("focusout", E), i.addEventListener("pointermove", p), i.addEventListener("pointerleave", h), window.addEventListener("blur", p), window.addEventListener("focus", T), () => {
|
|
79
|
+
i.removeEventListener("focusin", p), i.removeEventListener("focusout", E), i.removeEventListener("pointermove", p), i.removeEventListener("pointerleave", h), window.removeEventListener("blur", p), window.removeEventListener("focus", T);
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
}, [R, f.isClosePausedRef]);
|
|
83
83
|
const l = s.useCallback(
|
|
84
84
|
({ tabbingDirection: i }) => {
|
|
85
85
|
const p = m().map((T) => {
|
|
86
|
-
const E = T.ref.current,
|
|
87
|
-
return i === "forwards" ?
|
|
86
|
+
const E = T.ref.current, h = [E, ...nt(E)];
|
|
87
|
+
return i === "forwards" ? h : h.reverse();
|
|
88
88
|
});
|
|
89
89
|
return (i === "forwards" ? p.reverse() : p).flat();
|
|
90
90
|
},
|
|
@@ -94,16 +94,16 @@ var le = "ToastViewport", Ye = ["F8"], G = "toast.viewportPause", J = "toast.vie
|
|
|
94
94
|
const i = w.current;
|
|
95
95
|
if (i) {
|
|
96
96
|
const C = (p) => {
|
|
97
|
-
var
|
|
97
|
+
var h, P, N;
|
|
98
98
|
const T = p.altKey || p.ctrlKey || p.metaKey;
|
|
99
99
|
if (p.key === "Tab" && !T) {
|
|
100
100
|
const M = document.activeElement, F = p.shiftKey;
|
|
101
101
|
if (p.target === i && F) {
|
|
102
|
-
(
|
|
102
|
+
(h = n.current) == null || h.focus();
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
105
|
const A = l({ tabbingDirection: F ? "backwards" : "forwards" }), K = A.findIndex((a) => a === M);
|
|
106
|
-
z(A.slice(K + 1)) ? p.preventDefault() : F ? (P = n.current) == null || P.focus() : (N =
|
|
106
|
+
z(A.slice(K + 1)) ? p.preventDefault() : F ? (P = n.current) == null || P.focus() : (N = y.current) == null || N.focus();
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
return i.addEventListener("keydown", C), () => i.removeEventListener("keydown", C);
|
|
@@ -133,7 +133,7 @@ var le = "ToastViewport", Ye = ["F8"], G = "toast.viewportPause", J = "toast.vie
|
|
|
133
133
|
R && /* @__PURE__ */ c(
|
|
134
134
|
Q,
|
|
135
135
|
{
|
|
136
|
-
ref:
|
|
136
|
+
ref: y,
|
|
137
137
|
onFocusFromOutsideViewport: () => {
|
|
138
138
|
const i = l({
|
|
139
139
|
tabbingDirection: "backwards"
|
|
@@ -154,7 +154,6 @@ var fe = "ToastFocusProxy", Q = s.forwardRef(
|
|
|
154
154
|
return /* @__PURE__ */ c(
|
|
155
155
|
ie,
|
|
156
156
|
{
|
|
157
|
-
"aria-hidden": !0,
|
|
158
157
|
tabIndex: 0,
|
|
159
158
|
...u,
|
|
160
159
|
ref: r,
|
|
@@ -190,15 +189,15 @@ var V = "Toast", Be = "toast.swipeStart", je = "toast.swipeMove", qe = "toast.sw
|
|
|
190
189
|
n.currentTarget.setAttribute("data-swipe", "start");
|
|
191
190
|
}),
|
|
192
191
|
onSwipeMove: b(e.onSwipeMove, (n) => {
|
|
193
|
-
const { x:
|
|
194
|
-
n.currentTarget.setAttribute("data-swipe", "move"), n.currentTarget.style.setProperty("--radix-toast-swipe-move-x", `${
|
|
192
|
+
const { x: y, y: w } = n.detail.delta;
|
|
193
|
+
n.currentTarget.setAttribute("data-swipe", "move"), n.currentTarget.style.setProperty("--radix-toast-swipe-move-x", `${y}px`), n.currentTarget.style.setProperty("--radix-toast-swipe-move-y", `${w}px`);
|
|
195
194
|
}),
|
|
196
195
|
onSwipeCancel: b(e.onSwipeCancel, (n) => {
|
|
197
196
|
n.currentTarget.setAttribute("data-swipe", "cancel"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), n.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"), n.currentTarget.style.removeProperty("--radix-toast-swipe-end-y");
|
|
198
197
|
}),
|
|
199
198
|
onSwipeEnd: b(e.onSwipeEnd, (n) => {
|
|
200
|
-
const { x:
|
|
201
|
-
n.currentTarget.setAttribute("data-swipe", "end"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), n.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${
|
|
199
|
+
const { x: y, y: w } = n.detail.delta;
|
|
200
|
+
n.currentTarget.setAttribute("data-swipe", "end"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), n.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), n.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${y}px`), n.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${w}px`), v(!1);
|
|
202
201
|
})
|
|
203
202
|
}
|
|
204
203
|
) });
|
|
@@ -219,12 +218,12 @@ var [Ge, Je] = ce(V, {
|
|
|
219
218
|
onEscapeKeyDown: m,
|
|
220
219
|
onPause: v,
|
|
221
220
|
onResume: n,
|
|
222
|
-
onSwipeStart:
|
|
221
|
+
onSwipeStart: y,
|
|
223
222
|
onSwipeMove: w,
|
|
224
223
|
onSwipeCancel: S,
|
|
225
224
|
onSwipeEnd: g,
|
|
226
225
|
...R
|
|
227
|
-
} = e, l = U(V, o), [i, C] = s.useState(null), p = ae(r, (a) => C(a)), T = s.useRef(null), E = s.useRef(null),
|
|
226
|
+
} = e, l = U(V, o), [i, C] = s.useState(null), p = ae(r, (a) => C(a)), T = s.useRef(null), E = s.useRef(null), h = u || l.duration, P = s.useRef(0), N = s.useRef(h), M = s.useRef(0), { onToastAdd: F, onToastRemove: Y } = l, _ = $(() => {
|
|
228
227
|
var x;
|
|
229
228
|
(i == null ? void 0 : i.contains(document.activeElement)) && ((x = l.viewport) == null || x.focus()), f();
|
|
230
229
|
}), A = s.useCallback(
|
|
@@ -246,9 +245,9 @@ var [Ge, Je] = ce(V, {
|
|
|
246
245
|
a.removeEventListener(G, I), a.removeEventListener(J, x);
|
|
247
246
|
};
|
|
248
247
|
}
|
|
249
|
-
}, [l.viewport,
|
|
250
|
-
d && !l.isClosePausedRef.current && A(
|
|
251
|
-
}, [d,
|
|
248
|
+
}, [l.viewport, h, v, n, A]), s.useEffect(() => {
|
|
249
|
+
d && !l.isClosePausedRef.current && A(h);
|
|
250
|
+
}, [d, h, l.isClosePausedRef, A]), s.useEffect(() => (F(), () => Y()), [F, Y]);
|
|
252
251
|
const K = s.useMemo(() => i ? Ce(i) : null, [i]);
|
|
253
252
|
return l.viewport ? /* @__PURE__ */ D(se, { children: [
|
|
254
253
|
K && /* @__PURE__ */ c(
|
|
@@ -257,7 +256,6 @@ var [Ge, Je] = ce(V, {
|
|
|
257
256
|
__scopeToast: o,
|
|
258
257
|
role: "status",
|
|
259
258
|
"aria-live": t === "foreground" ? "assertive" : "polite",
|
|
260
|
-
"aria-atomic": !0,
|
|
261
259
|
children: K
|
|
262
260
|
}
|
|
263
261
|
),
|
|
@@ -272,9 +270,6 @@ var [Ge, Je] = ce(V, {
|
|
|
272
270
|
children: /* @__PURE__ */ c(
|
|
273
271
|
L.li,
|
|
274
272
|
{
|
|
275
|
-
role: "status",
|
|
276
|
-
"aria-live": "off",
|
|
277
|
-
"aria-atomic": !0,
|
|
278
273
|
tabIndex: 0,
|
|
279
274
|
"data-state": d ? "open" : "closed",
|
|
280
275
|
"data-swipe-direction": l.swipeDirection,
|
|
@@ -292,7 +287,7 @@ var [Ge, Je] = ce(V, {
|
|
|
292
287
|
const x = a.clientX - T.current.x, I = a.clientY - T.current.y, O = !!E.current, k = ["left", "right"].includes(l.swipeDirection), H = ["left", "up"].includes(l.swipeDirection) ? Math.min : Math.max, Pe = k ? H(0, x) : 0, xe = k ? 0 : H(0, I), B = a.pointerType === "touch" ? 10 : 2, W = { x: Pe, y: xe }, te = { originalEvent: a, delta: W };
|
|
293
288
|
O ? (E.current = W, X(je, w, te, {
|
|
294
289
|
discrete: !1
|
|
295
|
-
})) : ne(W, l.swipeDirection, B) ? (E.current = W, X(Be,
|
|
290
|
+
})) : ne(W, l.swipeDirection, B) ? (E.current = W, X(Be, y, te, {
|
|
296
291
|
discrete: !1
|
|
297
292
|
}), a.target.setPointerCapture(a.pointerId)) : (Math.abs(x) > B || Math.abs(I) > B) && (T.current = null);
|
|
298
293
|
}),
|
|
@@ -349,16 +344,16 @@ Te.displayName = tt;
|
|
|
349
344
|
var ve = "ToastAction", we = s.forwardRef(
|
|
350
345
|
(e, r) => {
|
|
351
346
|
const { altText: o, ...t } = e;
|
|
352
|
-
return o.trim() ? /* @__PURE__ */ c(
|
|
347
|
+
return o.trim() ? /* @__PURE__ */ c(he, { altText: o, asChild: !0, children: /* @__PURE__ */ c(ye, { ...t, ref: r }) }) : (console.error(
|
|
353
348
|
`Invalid prop \`altText\` supplied to \`${ve}\`. Expected non-empty \`string\`.`
|
|
354
349
|
), null);
|
|
355
350
|
}
|
|
356
351
|
);
|
|
357
352
|
we.displayName = ve;
|
|
358
|
-
var Ee = "ToastClose",
|
|
353
|
+
var Ee = "ToastClose", ye = s.forwardRef(
|
|
359
354
|
(e, r) => {
|
|
360
355
|
const { __scopeToast: o, ...t } = e, u = Je(Ee, o);
|
|
361
|
-
return /* @__PURE__ */ c(
|
|
356
|
+
return /* @__PURE__ */ c(he, { asChild: !0, children: /* @__PURE__ */ c(
|
|
362
357
|
L.button,
|
|
363
358
|
{
|
|
364
359
|
type: "button",
|
|
@@ -369,8 +364,8 @@ var Ee = "ToastClose", he = s.forwardRef(
|
|
|
369
364
|
) });
|
|
370
365
|
}
|
|
371
366
|
);
|
|
372
|
-
|
|
373
|
-
var
|
|
367
|
+
ye.displayName = Ee;
|
|
368
|
+
var he = s.forwardRef((e, r) => {
|
|
374
369
|
const { __scopeToast: o, altText: t, ...u } = e;
|
|
375
370
|
return /* @__PURE__ */ c(
|
|
376
371
|
L.div,
|
|
@@ -443,7 +438,7 @@ const bt = ({
|
|
|
443
438
|
showCloseButton: m = !0,
|
|
444
439
|
closeButtonClassName: v,
|
|
445
440
|
className: n,
|
|
446
|
-
open:
|
|
441
|
+
open: y = !1,
|
|
447
442
|
setOpen: w
|
|
448
443
|
}) => {
|
|
449
444
|
const S = Re(0);
|
|
@@ -458,7 +453,7 @@ const bt = ({
|
|
|
458
453
|
{
|
|
459
454
|
className: q(Ke({ className: n })),
|
|
460
455
|
"data-theme": f,
|
|
461
|
-
open:
|
|
456
|
+
open: y,
|
|
462
457
|
onOpenChange: w,
|
|
463
458
|
children: [
|
|
464
459
|
/* @__PURE__ */ c(ct, { asChild: !0, className: o, children: g }),
|
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as w } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import { c as M, b as x } from "./index-Cq1I1cG9.js";
|
|
4
4
|
import { u as A, b as I } from "./index-B5MIi2tR.js";
|
|
5
|
-
import { c as v, R as $, P as L, O as F, W as G, C as W, T as j, d as B, b as D, e as Y } from "./index-
|
|
5
|
+
import { c as v, R as $, P as L, O as F, W as G, C as W, T as j, d as B, b as D, e as Y } from "./index-aR9z1Fe3.js";
|
|
6
6
|
import { Button as k } from "./components/Button/Button.js";
|
|
7
7
|
import { cn as q } from "./utils/index.js";
|
|
8
8
|
var f = "AlertDialog", [H, se] = M(f, [
|
|
@@ -7,7 +7,7 @@ import { P as C } from "./index-BCGvACM9.js";
|
|
|
7
7
|
import { u as ue } from "./index-DwYXX2sM.js";
|
|
8
8
|
import { u as k } from "./index-BdMNhZnh.js";
|
|
9
9
|
import { jsx as l } from "react/jsx-runtime";
|
|
10
|
-
import { P as le } from "./index-
|
|
10
|
+
import { P as le } from "./index-j2KyU-zG.js";
|
|
11
11
|
var N = "rovingFocusGroup.onEntryFocus", de = { bubbles: !1, cancelable: !0 }, h = "RovingFocusGroup", [D, V, fe] = ce(h), [ve, U] = K(
|
|
12
12
|
h,
|
|
13
13
|
[fe]
|
|
@@ -6,7 +6,7 @@ import { P as be, D as Ce } from "./index-DNRcvRTB.js";
|
|
|
6
6
|
import { P as N } from "./index-BCGvACM9.js";
|
|
7
7
|
import { u as j } from "./index-DwYXX2sM.js";
|
|
8
8
|
import { jsx as f, jsxs as q, Fragment as B } from "react/jsx-runtime";
|
|
9
|
-
import { P as U } from "./index-
|
|
9
|
+
import { P as U } from "./index-j2KyU-zG.js";
|
|
10
10
|
import { R as Ae } from "./Combination-VYaRRJBZ.js";
|
|
11
11
|
var x = "focusScope.autoFocusOnMount", L = "focusScope.autoFocusOnUnmount", V = { bubbles: !1, cancelable: !0 }, Re = "FocusScope", Q = i.forwardRef((e, n) => {
|
|
12
12
|
const {
|
|
@@ -36,7 +36,7 @@ function P(n) {
|
|
|
36
36
|
if (e) {
|
|
37
37
|
let o;
|
|
38
38
|
const m = e.ownerDocument.defaultView ?? window, d = (u) => {
|
|
39
|
-
const g = l(t.current).includes(u.animationName);
|
|
39
|
+
const g = l(t.current).includes(CSS.escape(u.animationName));
|
|
40
40
|
if (u.target === e && g && (s("ANIMATION_END"), !i.current)) {
|
|
41
41
|
const O = e.style.animationFillMode;
|
|
42
42
|
e.style.animationFillMode = "forwards", o = m.setTimeout(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as Ee, P as ke, O as Se, C as Ie } from "./index-
|
|
1
|
+
import { R as Ee, P as ke, O as Se, C as Ie } from "./index-aR9z1Fe3.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { P as C } from "./index-BCGvACM9.js";
|
|
4
4
|
import { u as P } from "./index-Cs8Lv8Wj.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -202,8 +202,11 @@ export declare const DropdownButton: FC<Props>;
|
|
|
202
202
|
|
|
203
203
|
declare interface DropdownProps extends VariantProps<typeof dropdownVariants>, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'> {
|
|
204
204
|
className?: string;
|
|
205
|
+
error?: string;
|
|
206
|
+
helperText?: string;
|
|
205
207
|
iconClassName?: string;
|
|
206
208
|
isLoading?: boolean;
|
|
209
|
+
isRequired?: boolean;
|
|
207
210
|
label?: string;
|
|
208
211
|
labelClassName?: string;
|
|
209
212
|
listClassName?: string;
|
|
@@ -216,7 +219,9 @@ declare interface DropdownProps extends VariantProps<typeof dropdownVariants>, O
|
|
|
216
219
|
onChange?: OnChangeFn;
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
declare const dropdownVariants: (props?:
|
|
222
|
+
declare const dropdownVariants: (props?: ({
|
|
223
|
+
hasError?: boolean | null | undefined;
|
|
224
|
+
} & ClassProp) | undefined) => string;
|
|
220
225
|
|
|
221
226
|
export declare const Filter: FilterComponentProps;
|
|
222
227
|
|
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.1.0-alpha.
|
|
5
|
+
"version": "0.1.0-alpha.21",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -55,14 +55,14 @@
|
|
|
55
55
|
"test:watch": "vitest dev"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
59
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
60
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
61
|
-
"@radix-ui/react-slider": "^1.3.
|
|
58
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
59
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
60
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
61
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
62
62
|
"@radix-ui/react-slot": "^1.2.3",
|
|
63
|
-
"@radix-ui/react-switch": "^1.2.
|
|
64
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
65
|
-
"@radix-ui/react-toast": "^1.2.
|
|
63
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
64
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
65
|
+
"@radix-ui/react-toast": "^1.2.15",
|
|
66
66
|
"@radix-ui/react-visually-hidden": "^1.2.3",
|
|
67
67
|
"chart.js": "^4.5.0",
|
|
68
68
|
"class-variance-authority": "^0.7.1",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"@storybook/addon-docs": "^9.1.2",
|
|
112
112
|
"@storybook/addon-links": "^9.1.2",
|
|
113
113
|
"@storybook/react-vite": "^9.1.2",
|
|
114
|
-
"@tailwindcss/vite": "^4.1.
|
|
115
|
-
"@testing-library/jest-dom": "^6.
|
|
114
|
+
"@tailwindcss/vite": "^4.1.12",
|
|
115
|
+
"@testing-library/jest-dom": "^6.7.0",
|
|
116
116
|
"@testing-library/react": "^16.3.0",
|
|
117
117
|
"@testing-library/user-event": "^14.6.1",
|
|
118
118
|
"@types/jest-axe": "^3.5.9",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"prettier": "^3.6.2",
|
|
139
139
|
"rimraf": "^6.0.1",
|
|
140
140
|
"storybook": "^9.1.2",
|
|
141
|
-
"tailwindcss": "^4.1.
|
|
141
|
+
"tailwindcss": "^4.1.12",
|
|
142
142
|
"ts-node": "^10.9.2",
|
|
143
143
|
"typescript": "^5.9.2",
|
|
144
144
|
"vite": "^6.3.5",
|