@konstructio/ui 0.1.2-alpha.20 → 0.1.2-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/{Modal-B8jrP02v.js → Modal-Dpk-1N9W.js} +2 -2
- package/dist/chevron-down-DgT-uSF9.js +5 -0
- package/dist/chevron-right-DYvXLeql.js +7 -0
- package/dist/components/Alert/Alert.js +2 -2
- 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/Badge/Badge.js +2 -8
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/components/Item/Item.js +1 -1
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +6 -7
- package/dist/components/Command/Command.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Datepicker/DatePicker.js +1 -1
- package/dist/components/Dropdown/components/List/List.js +1 -1
- package/dist/components/Dropdown/components/Wrapper.js +52 -64
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Loading/Loading.js +1 -7
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +2 -2
- package/dist/components/PieChart/PieChart.js +0 -18
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +10 -11
- 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/Tag/Tag.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Toast/Toast.js +233 -210
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +64 -67
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +2 -2
- package/dist/components/VirtualizedTable/components/Body/Body.js +36 -22
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +40 -38
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +23 -16
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +52 -0
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +263 -236
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +27 -0
- package/dist/components/VirtualizedTable/components/index.js +8 -6
- package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +43 -42
- package/dist/components/index.js +1 -1
- package/dist/contexts/theme.provider.js +0 -1
- package/dist/{createLucideIcon-DGhJ8Z4k.js → createLucideIcon-D4r5Phnh.js} +0 -24
- package/dist/{ellipsis-vertical-DpnVYRxI.js → ellipsis-vertical-BVPtjl5f.js} +1 -7
- package/dist/{index-N2OStZoU.js → index--V_ZsiQe.js} +0 -21
- package/dist/{index-bwWKd82e.js → index-BbQkJE5L.js} +1 -1
- package/dist/index-BtQfgaSF.js +60 -0
- package/dist/index-CIAmiWcw.js +200 -0
- package/dist/index-CSFe9uC5.js +14 -0
- package/dist/{index-Dx2grAuN.js → index-CSWGJT-v.js} +0 -20
- package/dist/index-CigKKiZS.js +91 -0
- package/dist/index-DDByhzds.js +137 -0
- package/dist/{index-DQJhMz8c.js → index-DH2Fnov1.js} +11 -12
- package/dist/index-DLcqcWxM.js +29 -0
- package/dist/{index-CffpTFMi.js → index-Dbt2vBmS.js} +5 -6
- package/dist/{index-l3NwplN0.js → index-DpW9ExsS.js} +10 -11
- package/dist/index-DrWQH0QF.js +55 -0
- package/dist/{index-0XtjXVpJ.js → index-X4k_cU8k.js} +4 -4
- package/dist/index-kyuBfLcN.js +479 -0
- package/dist/{index-C1g_chDT.js → index-mPY_8Y5v.js} +2 -2
- package/dist/{index-BAEWsOG1.js → index-ohdbKsws.js} +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/package.json +17 -17
- package/dist/styles.css +1 -1
- package/dist/{useBreadcrumb-B8DnuqkR.js → useBreadcrumb-BAHbGQ_O.js} +0 -10
- package/dist/{x-4F_5p77m.js → x-DPU9OdYH.js} +1 -1
- package/package.json +17 -17
- package/dist/chevron-down-J5nS1Tu0.js +0 -11
- package/dist/chevron-right-DeMVrnIg.js +0 -19
- package/dist/components/Skeleton/Skeleton.js +0 -42
- package/dist/index-BVRIAMfe.js +0 -36
- package/dist/index-BfXxHr_2.js +0 -125
- package/dist/index-Bn4c-gww.js +0 -131
- package/dist/index-Cvx4lqTq.js +0 -47
- package/dist/index-DQH6odE9.js +0 -82
- package/dist/index-DdXGVVBv.js +0 -15
- package/dist/index-amYX3uxF.js +0 -436
- package/dist/index-sp5ZfG6g.js +0 -31
|
@@ -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-Dpk-1N9W.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Body,
|
|
7
7
|
t as Footer,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as m, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { R as O } from "../../index-
|
|
2
|
+
import { R as O } from "../../index-DrWQH0QF.js";
|
|
3
3
|
import f, { forwardRef as b, useId as N, useCallback as w } from "react";
|
|
4
4
|
import { cn as y } from "../../utils/index.js";
|
|
5
5
|
import { labelVariants as z, buttonVariants as j, numberInputVariants as _ } from "./NumberInput.variants.js";
|
|
6
|
-
import { P as l } from "../../index
|
|
6
|
+
import { P as l } from "../../index--V_ZsiQe.js";
|
|
7
7
|
function h() {
|
|
8
8
|
return h = Object.assign || function(e) {
|
|
9
9
|
for (var o = 1; o < arguments.length; o++) {
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { jsx as ve } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Cs, useRef as Ie, useEffect as dt, useMemo as re } from "react";
|
|
3
|
-
/*!
|
|
4
|
-
* @kurkle/color v0.3.4
|
|
5
|
-
* https://github.com/kurkle/color#readme
|
|
6
|
-
* (c) 2024 Jukka Kurkela
|
|
7
|
-
* Released under the MIT License
|
|
8
|
-
*/
|
|
9
3
|
function It(e) {
|
|
10
4
|
return e + 0.5 | 0;
|
|
11
5
|
}
|
|
@@ -427,12 +421,6 @@ class Ct {
|
|
|
427
421
|
return vi(this._rgb, t), this;
|
|
428
422
|
}
|
|
429
423
|
}
|
|
430
|
-
/*!
|
|
431
|
-
* Chart.js v4.5.1
|
|
432
|
-
* https://www.chartjs.org
|
|
433
|
-
* (c) 2025 Chart.js Contributors
|
|
434
|
-
* Released under the MIT License
|
|
435
|
-
*/
|
|
436
424
|
const Pi = /* @__PURE__ */ (() => {
|
|
437
425
|
let e = 0;
|
|
438
426
|
return () => e++;
|
|
@@ -1482,12 +1470,6 @@ function En(e, t) {
|
|
|
1482
1470
|
bottom: s.bottom === !1 ? e.height : i.bottom + (s.bottom === !0 ? 0 : s.bottom)
|
|
1483
1471
|
};
|
|
1484
1472
|
}
|
|
1485
|
-
/*!
|
|
1486
|
-
* Chart.js v4.5.1
|
|
1487
|
-
* https://www.chartjs.org
|
|
1488
|
-
* (c) 2025 Chart.js Contributors
|
|
1489
|
-
* Released under the MIT License
|
|
1490
|
-
*/
|
|
1491
1473
|
class Rn {
|
|
1492
1474
|
constructor() {
|
|
1493
1475
|
this._request = null, this._charts = /* @__PURE__ */ new Map(), this._running = !1, this._lastDate = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { S as k } from "../../index-
|
|
2
|
+
import { S as k } from "../../index-BtQfgaSF.js";
|
|
3
3
|
import { useState as x, useCallback as C } from "react";
|
|
4
4
|
import { cn as r } from "../../utils/index.js";
|
|
5
5
|
import { Radio as G } from "../Radio/Radio.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { R as g, T as R, a as V, b as c } from "../../index-
|
|
2
|
+
import { R as g, T as R, a as V, b as c } from "../../index-DpW9ExsS.js";
|
|
3
3
|
import { forwardRef as v, useRef as b, useState as j, useImperativeHandle as k, useEffect as w, useCallback as y } from "react";
|
|
4
4
|
import { cn as a } from "../../utils/index.js";
|
|
5
5
|
import { rangeOutsideVariants as C, trackVariants as T, thumbVariants as i, rangeVariants as S } from "./Range.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { R as x, T as N, b as v } from "../../index-
|
|
2
|
+
import { R as x, T as N, b as v } from "../../index-DpW9ExsS.js";
|
|
3
3
|
import { forwardRef as V, useRef as b, useState as R, useImperativeHandle as g, useEffect as j, useCallback as k } from "react";
|
|
4
4
|
import { cn as r } from "../../utils/index.js";
|
|
5
5
|
import { trackVariants as w, thumbVariants as y, sliderVariants as C } from "./Slider.variants.js";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { jsxs as C, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as h from "react";
|
|
3
3
|
import { forwardRef as H, useRef as M, useId as $, useImperativeHandle as j, useEffect as z } from "react";
|
|
4
|
-
import { a as A, c as U, b as q } from "../../index-
|
|
5
|
-
import { u as
|
|
4
|
+
import { a as A, c as U, P as N, b as q } from "../../index-CIAmiWcw.js";
|
|
5
|
+
import { u as P } from "../../index-DLcqcWxM.js";
|
|
6
6
|
import { u as F } from "../../index-BZPx6jYI.js";
|
|
7
|
-
import { u as L } from "../../index-
|
|
8
|
-
import { P } from "../../index-BVRIAMfe.js";
|
|
7
|
+
import { u as L } from "../../index-ohdbKsws.js";
|
|
9
8
|
import { cn as R } from "../../utils/index.js";
|
|
10
9
|
import { thumbVariants as O, switchVariants as V } from "./Switch.variants.js";
|
|
11
|
-
var b = "Switch", [D,
|
|
10
|
+
var b = "Switch", [D, se] = U(b), [W, X] = D(b), y = h.forwardRef(
|
|
12
11
|
(e, l) => {
|
|
13
12
|
const {
|
|
14
13
|
__scopeSwitch: t,
|
|
@@ -21,7 +20,7 @@ var b = "Switch", [D, ce] = U(b), [W, X] = D(b), y = h.forwardRef(
|
|
|
21
20
|
onCheckedChange: m,
|
|
22
21
|
form: n,
|
|
23
22
|
...a
|
|
24
|
-
} = e, [p, f] = h.useState(null), w =
|
|
23
|
+
} = e, [p, f] = h.useState(null), w = P(l, (v) => f(v)), x = h.useRef(!1), k = p ? n || !!p.closest("form") : !0, [S, B] = A({
|
|
25
24
|
prop: o,
|
|
26
25
|
defaultProp: d ?? !1,
|
|
27
26
|
onChange: m,
|
|
@@ -29,7 +28,7 @@ var b = "Switch", [D, ce] = U(b), [W, X] = D(b), y = h.forwardRef(
|
|
|
29
28
|
});
|
|
30
29
|
return /* @__PURE__ */ C(W, { scope: t, checked: S, disabled: r, children: [
|
|
31
30
|
/* @__PURE__ */ i(
|
|
32
|
-
|
|
31
|
+
N.button,
|
|
33
32
|
{
|
|
34
33
|
type: "button",
|
|
35
34
|
role: "switch",
|
|
@@ -68,7 +67,7 @@ var g = "SwitchThumb", E = h.forwardRef(
|
|
|
68
67
|
(e, l) => {
|
|
69
68
|
const { __scopeSwitch: t, ...s } = e, o = X(g, t);
|
|
70
69
|
return /* @__PURE__ */ i(
|
|
71
|
-
|
|
70
|
+
N.span,
|
|
72
71
|
{
|
|
73
72
|
"data-state": I(o.checked),
|
|
74
73
|
"data-disabled": o.disabled ? "" : void 0,
|
|
@@ -87,7 +86,7 @@ var G = "SwitchBubbleInput", _ = h.forwardRef(
|
|
|
87
86
|
bubbles: s = !0,
|
|
88
87
|
...o
|
|
89
88
|
}, d) => {
|
|
90
|
-
const u = h.useRef(null), r =
|
|
89
|
+
const u = h.useRef(null), r = P(u, d), c = F(t), m = L(l);
|
|
91
90
|
return h.useEffect(() => {
|
|
92
91
|
const n = u.current;
|
|
93
92
|
if (!n) return;
|
|
@@ -125,7 +124,7 @@ function I(e) {
|
|
|
125
124
|
return e ? "checked" : "unchecked";
|
|
126
125
|
}
|
|
127
126
|
var J = y, K = E;
|
|
128
|
-
const
|
|
127
|
+
const ce = H(
|
|
129
128
|
({
|
|
130
129
|
name: e,
|
|
131
130
|
alignment: l = "horizontal",
|
|
@@ -197,5 +196,5 @@ const ne = H(
|
|
|
197
196
|
}
|
|
198
197
|
);
|
|
199
198
|
export {
|
|
200
|
-
|
|
199
|
+
ce as Switch
|
|
201
200
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { R as e } from "../../index-
|
|
2
|
+
import { R as e } from "../../index-DH2Fnov1.js";
|
|
3
3
|
import { cn as n } from "../../utils/index.js";
|
|
4
4
|
import { rootVariants as p } from "./Tabs.variants.js";
|
|
5
5
|
import { Content as f } from "./components/Content.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as a } from "../../../index-
|
|
2
|
+
import { C as a } from "../../../index-DH2Fnov1.js";
|
|
3
3
|
import { cn as m } from "../../../utils/index.js";
|
|
4
4
|
import { contentVariants as s } from "../Tabs.variants.js";
|
|
5
5
|
const e = ({ children: t, className: o, ...n }) => /* @__PURE__ */ r(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { L as n } from "../../../index-
|
|
2
|
+
import { L as n } from "../../../index-DH2Fnov1.js";
|
|
3
3
|
import { cn as a } from "../../../utils/index.js";
|
|
4
4
|
import { listVariants as s } from "../Tabs.variants.js";
|
|
5
5
|
const c = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { T as e } from "../../../index-
|
|
2
|
+
import { T as e } from "../../../index-DH2Fnov1.js";
|
|
3
3
|
import { Typography as m } from "../../Typography/Typography.js";
|
|
4
4
|
import { cn as n } from "../../../utils/index.js";
|
|
5
5
|
import { triggerVariants as p } from "../Tabs.variants.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { S as r } from "../../index-
|
|
2
|
+
import { S as r } from "../../index-BtQfgaSF.js";
|
|
3
3
|
import { cn as o } from "../../utils/index.js";
|
|
4
4
|
import { tagVariants as c } from "./Tag.variants.js";
|
|
5
5
|
const u = ({
|
|
@@ -6,8 +6,8 @@ import { Tag as P } from "../../../Tag/Tag.js";
|
|
|
6
6
|
import { cn as l } from "../../../../utils/index.js";
|
|
7
7
|
import { useTagSelect as C } from "../../hooks/useTagSelect.js";
|
|
8
8
|
import { labelVariants as S, tagSelectVariants as z, wrapperVariants as R } from "../../TagSelect.variants.js";
|
|
9
|
-
import { X as _ } from "../../../../x-
|
|
10
|
-
import { P as p } from "../../../../index
|
|
9
|
+
import { X as _ } from "../../../../x-DPU9OdYH.js";
|
|
10
|
+
import { P as p } from "../../../../index--V_ZsiQe.js";
|
|
11
11
|
import { useTagSelect as I } from "../../contexts/TagSelect.hook.js";
|
|
12
12
|
function u() {
|
|
13
13
|
return u = Object.assign || function(e) {
|
|
@@ -3,7 +3,7 @@ import { useId as N, useState as y, useRef as E, useCallback as O, useEffect as
|
|
|
3
3
|
import { cn as m } from "../../../../utils/index.js";
|
|
4
4
|
import { timePickerVariants as L } from "../../TimePicker.variants.js";
|
|
5
5
|
import { WrapperList as j } from "../WrapperList/WrapperList.js";
|
|
6
|
-
import { C as P } from "../../../../chevron-down-
|
|
6
|
+
import { C as P } from "../../../../chevron-down-DgT-uSF9.js";
|
|
7
7
|
import { useTimePickerContext as R } from "../../contexts/time-picker.hook.js";
|
|
8
8
|
const V = ({
|
|
9
9
|
name: d,
|