@konstructio/ui 0.1.2-alpha.81 → 0.1.2-alpha.82
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/{AdditionalOptions-Cx9wU01w.js → AdditionalOptions-CRCQ5p31.js} +1 -1
- package/dist/{AlertDialogTrigger-C-NMEoDd.js → AlertDialogTrigger-Dtrr7WJM.js} +1 -1
- package/dist/{Breadcrumb-C95aOsYk.js → Breadcrumb-DNjDbdm5.js} +7 -7
- package/dist/{Checkbox-Cn0UWlk8.js → Checkbox-CRQtgvZk.js} +12 -12
- package/dist/{Combination-DUTBK_qM.js → Combination-DiOw6ItW.js} +9 -9
- package/dist/{CommandInput-BKv-EZ7T.js → CommandInput-CLn5OaH8.js} +6 -6
- package/dist/{Counter-DtQu_T-D.js → Counter-CH_5cCac.js} +19 -19
- package/dist/{Input-GBMxM3Z7.js → Input-t3DjCWy0.js} +4 -4
- package/dist/{Modal-DbTe8PVX.js → Modal-_XSbN0WP.js} +2 -2
- package/dist/{Spinner-CyuXAaC8.js → Spinner-DWxsFSVh.js} +1 -1
- package/dist/{Toast-D7GhS4fm.js → Toast-8BbU25GW.js} +4 -4
- package/dist/{Wrapper-CjUokv72.js → Wrapper-DPwHto7U.js} +6 -6
- package/dist/components/Alert/Alert.js +1 -1
- 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 +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- 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 +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/Command/components/index.js +1 -1
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +1 -1
- package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +1 -1
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- 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 +1 -1
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
- package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/MultiSelectDropdown/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
- package/dist/components/Select/components/List/List.js +1 -1
- package/dist/components/Select/components/index.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Stepper/hooks/useStepItemLogic.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- 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/TagSelect.js +1 -1
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/TagSelect/components/index.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/VirtualizedTable/VirtualizedTable.js +1 -1
- package/dist/components/VirtualizedTable/components/Body/Body.js +1 -1
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +1 -1
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +1 -1
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/index.js +8 -8
- package/dist/{components-DNFycJGm.js → components-CIIoAkfF.js} +1 -1
- package/dist/{dist-CBnErrr1.js → dist-BpTK1H2d.js} +1 -1
- package/dist/{dist-BL8l9uRy.js → dist-C7fZcI-O.js} +1 -1
- package/dist/{dist-CSP6X06u.js → dist-CO1nuZPa.js} +1 -1
- package/dist/{dist-DNSmoWJp.js → dist-CUwKSQtF.js} +1 -1
- package/dist/{dist-COY3FRYC.js → dist-DG28sjv9.js} +18 -18
- package/dist/{dist-DZNdbzbm.js → dist-DPLyqzsL.js} +2 -2
- package/dist/{dist-DXXHfL7M.js → dist-Dhq9W8Kh.js} +9 -9
- package/dist/{dist-B5SlrgYz.js → dist-T4PJ-tgg.js} +1 -1
- package/dist/{dist-DXJSck4j.js → dist-bbY12nin.js} +2 -2
- package/dist/icons.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/package.json +1 -1
- package/dist/{table.provider-4OQNqxH3.js → table.provider-02pWXplc.js} +1 -1
- package/package.json +1 -1
|
@@ -18,10 +18,10 @@ var j = "DismissableLayer", m = "dismissableLayer.update", X = "dismissableLayer
|
|
|
18
18
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
19
19
|
branches: /* @__PURE__ */ new Set()
|
|
20
20
|
}), x = r.forwardRef((s, e) => {
|
|
21
|
-
const { disableOutsidePointerEvents: t = !1, onEscapeKeyDown: o, onPointerDownOutside: n, onFocusOutside: a, onInteractOutside: l, onDismiss: d, ...E } = s, u = r.useContext(T), [c, A] = r.useState(null), f = c?.ownerDocument ?? globalThis?.document, [, N] = r.useState({}), F = g(e, (i) => A(i)), D = Array.from(u.layers), [I] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), W = D.indexOf(I), O = c ? D.indexOf(c) : -1, k = u.layersWithOutsidePointerEventsDisabled.size > 0, L = O >= W, _ =
|
|
21
|
+
const { disableOutsidePointerEvents: t = !1, onEscapeKeyDown: o, onPointerDownOutside: n, onFocusOutside: a, onInteractOutside: l, onDismiss: d, ...E } = s, u = r.useContext(T), [c, A] = r.useState(null), f = c?.ownerDocument ?? globalThis?.document, [, N] = r.useState({}), F = g(e, (i) => A(i)), D = Array.from(u.layers), [I] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), W = D.indexOf(I), O = c ? D.indexOf(c) : -1, k = u.layersWithOutsidePointerEventsDisabled.size > 0, L = O >= W, _ = G((i) => {
|
|
22
22
|
const v = i.target, p = [...u.branches].some((M) => M.contains(v));
|
|
23
23
|
!L || p || (n?.(i), l?.(i), i.defaultPrevented || d?.());
|
|
24
|
-
}, f), C =
|
|
24
|
+
}, f), C = J((i) => {
|
|
25
25
|
const v = i.target;
|
|
26
26
|
[...u.branches].some((p) => p.contains(v)) || (a?.(i), l?.(i), i.defaultPrevented || d?.());
|
|
27
27
|
}, f);
|
|
@@ -55,7 +55,7 @@ var j = "DismissableLayer", m = "dismissableLayer.update", X = "dismissableLayer
|
|
|
55
55
|
});
|
|
56
56
|
});
|
|
57
57
|
x.displayName = j;
|
|
58
|
-
var
|
|
58
|
+
var q = "DismissableLayerBranch", B = r.forwardRef((s, e) => {
|
|
59
59
|
const t = r.useContext(T), o = r.useRef(null), n = g(e, o);
|
|
60
60
|
return r.useEffect(() => {
|
|
61
61
|
const a = o.current;
|
|
@@ -68,8 +68,8 @@ var $ = "DismissableLayerBranch", B = r.forwardRef((s, e) => {
|
|
|
68
68
|
ref: n
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
B.displayName =
|
|
72
|
-
function
|
|
71
|
+
B.displayName = q;
|
|
72
|
+
function G(s, e = globalThis?.document) {
|
|
73
73
|
const t = b(s), o = r.useRef(!1), n = r.useRef(() => {
|
|
74
74
|
});
|
|
75
75
|
return r.useEffect(() => {
|
|
@@ -90,7 +90,7 @@ function q(s, e = globalThis?.document) {
|
|
|
90
90
|
};
|
|
91
91
|
}, [e, t]), { onPointerDownCapture: () => o.current = !0 };
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function J(s, e = globalThis?.document) {
|
|
94
94
|
const t = b(s), o = r.useRef(!1);
|
|
95
95
|
return r.useEffect(() => {
|
|
96
96
|
const n = (a) => {
|
|
@@ -114,7 +114,7 @@ function S(s, e, t, { discrete: o }) {
|
|
|
114
114
|
});
|
|
115
115
|
e && n.addEventListener(s, e, { once: !0 }), o ? z(n, a) : n.dispatchEvent(a);
|
|
116
116
|
}
|
|
117
|
-
var se = x, re = B,
|
|
117
|
+
var se = x, re = B, Q = "Portal", V = r.forwardRef((s, e) => {
|
|
118
118
|
const { container: t, ...o } = s, [n, a] = r.useState(!1);
|
|
119
119
|
U(() => a(!0), []);
|
|
120
120
|
const l = t || n && globalThis?.document?.body;
|
|
@@ -123,10 +123,10 @@ var se = x, re = B, J = "Portal", Q = r.forwardRef((s, e) => {
|
|
|
123
123
|
ref: e
|
|
124
124
|
}), l) : null;
|
|
125
125
|
});
|
|
126
|
-
|
|
126
|
+
V.displayName = Q;
|
|
127
127
|
export {
|
|
128
128
|
se as i,
|
|
129
129
|
re as n,
|
|
130
130
|
x as r,
|
|
131
|
-
|
|
131
|
+
V as t
|
|
132
132
|
};
|
|
@@ -4,7 +4,7 @@ import { t as O } from "./dist-DZcOdXgW.js";
|
|
|
4
4
|
import { t as ae } from "./dist-C8r5DW7s.js";
|
|
5
5
|
import { t as se } from "./dist-DpqiA4Yn.js";
|
|
6
6
|
import { t as L } from "./dist-DstQl8xY.js";
|
|
7
|
-
import { t as ie } from "./dist-
|
|
7
|
+
import { t as ie } from "./dist-DPLyqzsL.js";
|
|
8
8
|
import * as s from "react";
|
|
9
9
|
import { jsx as l } from "react/jsx-runtime";
|
|
10
10
|
var P = "rovingFocusGroup.onEntryFocus", ce = {
|
|
@@ -36,7 +36,7 @@ function _(t) {
|
|
|
36
36
|
const n = e.forwardRef((o, i) => {
|
|
37
37
|
let { children: r, ...l } = o;
|
|
38
38
|
if (d(r) && typeof p == "function" && (r = p(r._payload)), e.isValidElement(r)) {
|
|
39
|
-
const s =
|
|
39
|
+
const s = P(r), a = h(l, r.props);
|
|
40
40
|
return r.type !== e.Fragment && (a.ref = i ? g(i, s) : s), e.cloneElement(r, a);
|
|
41
41
|
}
|
|
42
42
|
return e.Children.count(r) > 1 ? e.Children.only(null) : null;
|
|
@@ -64,7 +64,7 @@ function h(t, n) {
|
|
|
64
64
|
...o
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function P(t) {
|
|
68
68
|
let n = Object.getOwnPropertyDescriptor(t.props, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning;
|
|
69
69
|
return o ? t.ref : (n = Object.getOwnPropertyDescriptor(t, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? t.props.ref : t.props.ref || t.ref);
|
|
70
70
|
}
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/icons';
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './lib/index';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as o } from "./Checkbox-
|
|
1
|
+
import { t as o } from "./Checkbox-CRQtgvZk.js";
|
|
2
2
|
import { t as m } from "./DropdownButton-B2XkEqPt.js";
|
|
3
|
-
import { t as p } from "./Breadcrumb-
|
|
4
|
-
import { t as a } from "./Input-
|
|
5
|
-
import { t as n } from "./Counter-
|
|
3
|
+
import { t as p } from "./Breadcrumb-DNjDbdm5.js";
|
|
4
|
+
import { t as a } from "./Input-t3DjCWy0.js";
|
|
5
|
+
import { t as n } from "./Counter-CH_5cCac.js";
|
|
6
6
|
import { i as l, t as d } from "./utils-DHuiYnx1.js";
|
|
7
7
|
import { Alert as u } from "./components/Alert/Alert.js";
|
|
8
8
|
import { Button as c } from "./components/Button/Button.js";
|
|
@@ -29,8 +29,8 @@ import { TimeFilterDropdown as tr } from "./components/Filter/components/TimeFil
|
|
|
29
29
|
import { Filter as ir } from "./components/Filter/Filter.js";
|
|
30
30
|
import { t as er } from "./ImageUpload-BzXjGZ2w.js";
|
|
31
31
|
import { LineChart as fr } from "./components/LineChart/LineChart.js";
|
|
32
|
-
import { t as sr } from "./Modal-
|
|
33
|
-
import { t as dr } from "./components-
|
|
32
|
+
import { t as sr } from "./Modal-_XSbN0WP.js";
|
|
33
|
+
import { t as dr } from "./components-CIIoAkfF.js";
|
|
34
34
|
import { PhoneNumberInput as ur } from "./components/PhoneNumberInput/PhoneNumberInput.js";
|
|
35
35
|
import { PieChart as cr } from "./components/PieChart/PieChart.js";
|
|
36
36
|
import { ProgressBar as Dr } from "./components/ProgressBar/ProgressBar.js";
|
|
@@ -46,7 +46,7 @@ import { NavigationSeparator as Gr } from "./components/Sidebar/components/Navig
|
|
|
46
46
|
import { Navigation as zr } from "./components/Sidebar/components/Navigation/Navigation.js";
|
|
47
47
|
import { Sidebar as Or } from "./components/Sidebar/Sidebar.js";
|
|
48
48
|
import { Slider as Wr } from "./components/Slider/Slider.js";
|
|
49
|
-
import { t as qr } from "./Spinner-
|
|
49
|
+
import { t as qr } from "./Spinner-DWxsFSVh.js";
|
|
50
50
|
import { horizontalConnectorWrapperVariants as Jr, stepConnectorVariants as Kr, stepContentVariants as Qr, stepDescriptionVariants as Xr, stepIndicatorVariants as Yr, stepItemVariants as Zr, stepLabelVariants as _r, stepListVariants as $r, stepVariants as ro, stepperVariants as oo } from "./components/Stepper/Stepper.variants.js";
|
|
51
51
|
import { Stepper as mo } from "./components/Stepper/Stepper.js";
|
|
52
52
|
import { t as po } from "./Switch-DjbC0A8y.js";
|
|
@@ -58,7 +58,7 @@ import { Tabs as co } from "./components/Tabs/Tabs.js";
|
|
|
58
58
|
import { Tag as Do } from "./components/Tag/Tag.js";
|
|
59
59
|
import { TagSelect as vo } from "./components/TagSelect/TagSelect.js";
|
|
60
60
|
import { TextArea as So } from "./components/TextArea/TextArea.js";
|
|
61
|
-
import { t as ho } from "./Toast-
|
|
61
|
+
import { t as ho } from "./Toast-8BbU25GW.js";
|
|
62
62
|
import { Tooltip as xo } from "./components/Tooltip/Tooltip.js";
|
|
63
63
|
import { VirtualizedTableEvent as Po, sendCollapseRowEvent as Io, sendExpandRowEvent as Lo, sendToggleRowEvent as No } from "./components/VirtualizedTable/events/index.js";
|
|
64
64
|
import { TruncateText as Fo } from "./components/VirtualizedTable/components/TruncateText/TruncateText.js";
|
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.2-alpha.
|
|
5
|
+
"version": "0.1.2-alpha.81",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
package/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.2-alpha.
|
|
5
|
+
"version": "0.1.2-alpha.82",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|