@konstructio/ui 0.1.2-alpha.119 → 0.1.2-alpha.120
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/Breadcrumb-DDRmDlWK.js +93 -0
- package/dist/{Checkbox-DRdyrKjk.js → Checkbox-DrounE52.js} +2 -2
- package/dist/{CollapsedSteps-CR7oCTRC.js → CollapsedSteps-DvBeYShi.js} +3 -3
- package/dist/{CommandInput-Du2o616y.js → CommandInput-_vujzQ6B.js} +2 -2
- package/dist/{Counter-DMkXIsOO.js → Counter-LQ5_uh06.js} +2 -2
- package/dist/{DayPicker-BtpJg2q3.js → DayPicker-D7KFB2bI.js} +383 -383
- package/dist/DropdownButton-BWfWN4fg.js +121 -0
- package/dist/{HamburgerTrigger-BgeS_nBA.js → HamburgerTrigger-CfrAnhmG.js} +10 -10
- package/dist/{Input-2M2I_H60.js → Input-O2bqyJKW.js} +2 -2
- package/dist/Modal-B-l4ii6w.js +84 -0
- package/dist/{Wrapper-JmStmade.js → Wrapper-B5PmrW4J.js} +3 -3
- package/dist/{Wrapper-ThpRi_Gg.js → Wrapper-CZCSSCLm.js} +2 -2
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/components/CollapsedSteps/CollapsedSteps.js +1 -1
- package/dist/components/Breadcrumb/components/index.js +1 -1
- package/dist/components/Button/Button.variants.js +1 -0
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/CheckboxCard/CheckboxCard.js +1 -1
- package/dist/components/Command/components/CommandInput.js +1 -1
- package/dist/components/Command/components/DialogContent.js +1 -1
- package/dist/components/Command/components/index.js +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.js +7 -5
- package/dist/components/CopyButton/CopyButton.variants.js +3 -1
- package/dist/components/Counter/Counter.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/components/CalendarMonthContent/CalendarMonthContent.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/Datepicker/components/DatePickerContent/DatePickerContent.js +1 -1
- package/dist/components/Drawer/Drawer.js +78 -58
- package/dist/components/Drawer/Drawer.variants.js +40 -22
- package/dist/components/Drawer/components/Footer/Footer.js +5 -5
- package/dist/components/Drawer/constants/index.js +5 -4
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/DropdownButton/components/ActionSheet/ActionSheet.js +34 -0
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +1 -1
- package/dist/components/Filter/utils/index.js +2 -2
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.variants.js +1 -0
- package/dist/components/LineChart/components/LineChartContent/LineChartContent.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +12 -6
- 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/PhoneNumberInputContent.js +2 -2
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +2 -2
- package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
- package/dist/components/PhoneNumberInput/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
- package/dist/components/PhoneNumberInput/utils/index.js +1 -1
- package/dist/components/PieChart/components/PieChartContent/PieChartContent.js +1 -1
- package/dist/components/Select/Select.variants.js +2 -0
- package/dist/components/Select/components/List/List.js +2 -2
- package/dist/components/Sheet/Sheet.js +130 -0
- package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
- package/dist/components/Sidebar/components/Wrapper/Wrapper.js +103 -86
- package/dist/components/Sidebar/components/index.js +1 -1
- package/dist/components/Table/components/Filter.js +1 -1
- package/dist/components/Tabs/components/Trigger.js +13 -13
- 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/TextArea/TextArea.variants.js +1 -0
- package/dist/components/VirtualizedTable/components/Actions/components/ActionsTrigger/ActionsTrigger.js +7 -7
- package/dist/components/VirtualizedTable/components/Body/Body.js +47 -44
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +68 -68
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
- package/dist/components/VirtualizedTable/components/Header/Header.js +38 -31
- package/dist/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.js +75 -0
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +42 -35
- package/dist/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.js +72 -72
- package/dist/components/VirtualizedTable/components/index.js +14 -12
- package/dist/components/VirtualizedTable/constants/index.js +5 -3
- package/dist/components/VirtualizedTable/constants/responsive.js +10 -0
- package/dist/components/VirtualizedTable/contexts/index.js +1 -1
- package/dist/components/VirtualizedTable/contexts/table.context.js +4 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
- package/dist/components/VirtualizedTable/utils/index.js +8 -4
- package/dist/components/VirtualizedTable/utils/pinned-columns/index.js +6 -0
- package/dist/components/VirtualizedTable/utils/pinned-columns/pinned-columns.js +32 -0
- package/dist/components/index.js +147 -145
- package/dist/{components-B_SWqhCL.js → components-Bq71eyUH.js} +1 -1
- package/dist/{country-locale-map-DbrJ3bEE.js → country-locale-map-BQYYErun.js} +1407 -1407
- package/dist/{debounce-dMRJxNsT.js → debounce-DhCY9mXz.js} +2 -2
- package/dist/{dist-Dg3vyTx9.js → dist-BCqfbYE9.js} +1356 -1317
- package/dist/dist-CMqY_9n-.js +445 -0
- package/dist/{es2015-B_07N-UL.js → es2015-BvX7Yq5Q.js} +2 -2
- package/dist/index.js +158 -156
- package/dist/{isSymbol-BG9higgO.js → isSymbol-CcfkyZfq.js} +1 -1
- package/dist/lib/components/Drawer/Drawer.types.d.ts +10 -0
- package/dist/lib/components/Drawer/Drawer.variants.d.ts +1 -0
- package/dist/lib/components/Drawer/constants/index.d.ts +1 -0
- package/dist/lib/components/DropdownButton/DropdownButton.d.ts +2 -1
- package/dist/lib/components/DropdownButton/DropdownButton.types.d.ts +25 -0
- package/dist/lib/components/DropdownButton/components/ActionSheet/ActionSheet.d.ts +7 -0
- package/dist/lib/components/DropdownButton/components/ActionSheet/ActionSheet.types.d.ts +12 -0
- package/dist/lib/components/Modal/Modal.types.d.ts +2 -0
- package/dist/lib/components/Modal/components/Wrapper/Wrapper.types.d.ts +1 -0
- package/dist/lib/components/Sheet/Sheet.d.ts +21 -0
- package/dist/lib/components/Sheet/Sheet.types.d.ts +39 -0
- package/dist/lib/components/Sidebar/Sidebar.types.d.ts +9 -0
- package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +11 -2
- package/dist/lib/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.d.ts +10 -0
- package/dist/lib/components/VirtualizedTable/components/ScrollContainer/ScrollContainer.types.d.ts +6 -0
- package/dist/lib/components/VirtualizedTable/components/VirtualizedTableContent/VirtualizedTableContent.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/components/index.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/constants/index.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/constants/responsive.d.ts +2 -0
- package/dist/lib/components/VirtualizedTable/contexts/table.context.d.ts +4 -0
- package/dist/lib/components/VirtualizedTable/contexts/table.provider.d.ts +1 -1
- package/dist/lib/components/VirtualizedTable/contexts/table.types.d.ts +2 -1
- package/dist/lib/components/VirtualizedTable/utils/index.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/utils/pinned-columns/index.d.ts +1 -0
- package/dist/lib/components/VirtualizedTable/utils/pinned-columns/pinned-columns.d.ts +23 -0
- package/dist/lib/components/index.d.ts +3 -1
- package/dist/{libphonenumber-DtibHRPP.js → libphonenumber-BIeQOhzl.js} +196 -164
- package/dist/package.json +18 -18
- package/dist/{phone-number.provider-DnuL-yYF.js → phone-number.provider-CJeivoDY.js} +2 -2
- package/dist/{prop-types-BCUW56rg.js → prop-types-qsAjMBb1.js} +1 -1
- package/dist/{rolldown-runtime-Dw9YIBcH.js → rolldown-runtime-B28h4lGi.js} +6 -6
- package/dist/styles.css +1 -1
- package/dist/{table.provider-CzfMGbe4.js → table.provider-QUo2buYX.js} +561 -523
- package/dist/{x-Vur_9PXW.js → x-BmNOD9Gr.js} +2 -2
- package/package.json +18 -18
- package/dist/Breadcrumb-CpXRb08J.js +0 -93
- package/dist/DropdownButton-JilCRLJY.js +0 -92
- package/dist/Modal-0Wp5szX4.js +0 -84
- package/dist/dist-BCoDIdCt.js +0 -429
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { o as N } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
|
+
import { t as x } from "./prop-types-qsAjMBb1.js";
|
|
3
|
+
import { t as S } from "./CollapsedSteps-DvBeYShi.js";
|
|
4
|
+
import { t as y } from "./utils-DnIJruo0.js";
|
|
5
|
+
import { breadcrumbVariants as z, breadcrumbWrapperVariants as C } from "./components/Breadcrumb/Breadcrumb.variants.js";
|
|
6
|
+
import { BackButton as P } from "./components/Breadcrumb/components/BackButton/BackButton.js";
|
|
7
|
+
import { Item as $ } from "./components/Breadcrumb/components/Item/Item.js";
|
|
8
|
+
import b, { Fragment as k, forwardRef as E, useId as L } from "react";
|
|
9
|
+
import { Fragment as R, jsx as i, jsxs as d } from "react/jsx-runtime";
|
|
10
|
+
var s = /* @__PURE__ */ N(x());
|
|
11
|
+
function f() {
|
|
12
|
+
return f = Object.assign || function(r) {
|
|
13
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
14
|
+
var a = arguments[o];
|
|
15
|
+
for (var t in a) Object.prototype.hasOwnProperty.call(a, t) && (r[t] = a[t]);
|
|
16
|
+
}
|
|
17
|
+
return r;
|
|
18
|
+
}, f.apply(this, arguments);
|
|
19
|
+
}
|
|
20
|
+
function W(r, o) {
|
|
21
|
+
if (r == null) return {};
|
|
22
|
+
var a = F(r, o), t, e;
|
|
23
|
+
if (Object.getOwnPropertySymbols) {
|
|
24
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
25
|
+
for (e = 0; e < n.length; e++)
|
|
26
|
+
t = n[e], !(o.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(r, t) && (a[t] = r[t]);
|
|
27
|
+
}
|
|
28
|
+
return a;
|
|
29
|
+
}
|
|
30
|
+
function F(r, o) {
|
|
31
|
+
if (r == null) return {};
|
|
32
|
+
for (var a = {}, t = Object.keys(r), e, n = 0; n < t.length; n++)
|
|
33
|
+
e = t[n], !(o.indexOf(e) >= 0) && (a[e] = r[e]);
|
|
34
|
+
return a;
|
|
35
|
+
}
|
|
36
|
+
var c = E(function(r, o) {
|
|
37
|
+
var a = r.color, t = a === void 0 ? "currentColor" : a, e = r.size, n = e === void 0 ? 24 : e, l = W(r, ["color", "size"]);
|
|
38
|
+
return /* @__PURE__ */ b.createElement("svg", f({
|
|
39
|
+
ref: o,
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
width: n,
|
|
42
|
+
height: n,
|
|
43
|
+
viewBox: "0 0 24 24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
stroke: t,
|
|
46
|
+
strokeWidth: "2",
|
|
47
|
+
strokeLinecap: "round",
|
|
48
|
+
strokeLinejoin: "round"
|
|
49
|
+
}, l), /* @__PURE__ */ b.createElement("polyline", { points: "9 18 15 12 9 6" }));
|
|
50
|
+
});
|
|
51
|
+
c.propTypes = {
|
|
52
|
+
color: s.default.string,
|
|
53
|
+
size: s.default.oneOfType([s.default.string, s.default.number])
|
|
54
|
+
};
|
|
55
|
+
c.displayName = "ChevronRight";
|
|
56
|
+
var J = ({ "aria-label": r = "breadcrumb", backButton: o, className: a, collapsedLabel: t = "Show hidden steps", maxVisibleItems: e, steps: n, theme: l, wrapperClassName: w, ...O }) => {
|
|
57
|
+
const j = L(), h = e !== void 0 && e >= 2 && n.length > e, u = n.length - (e ?? 0) + 1, g = h ? n.slice(1, u) : [], p = h ? [n[0], ...n.slice(u)] : n;
|
|
58
|
+
return /* @__PURE__ */ d("nav", {
|
|
59
|
+
"aria-label": r,
|
|
60
|
+
"data-theme": l,
|
|
61
|
+
className: y(C({ className: w })),
|
|
62
|
+
children: [o && /* @__PURE__ */ i(P, {
|
|
63
|
+
...o,
|
|
64
|
+
theme: l
|
|
65
|
+
}), /* @__PURE__ */ i("ol", {
|
|
66
|
+
className: y(z({ className: a }), o && "max-md:hidden"),
|
|
67
|
+
...O,
|
|
68
|
+
children: p.map(({ label: v, ..._ }, m) => /* @__PURE__ */ d(k, { children: [
|
|
69
|
+
/* @__PURE__ */ i($, {
|
|
70
|
+
..._,
|
|
71
|
+
label: v,
|
|
72
|
+
isLast: m === p.length - 1
|
|
73
|
+
}),
|
|
74
|
+
m !== p.length - 1 && /* @__PURE__ */ i("li", {
|
|
75
|
+
"aria-hidden": "true",
|
|
76
|
+
className: "flex items-center",
|
|
77
|
+
children: /* @__PURE__ */ i(c, { className: "text-gray-400 w-5 h-5" })
|
|
78
|
+
}),
|
|
79
|
+
m === 0 && g.length > 0 && /* @__PURE__ */ d(R, { children: [/* @__PURE__ */ i(S, {
|
|
80
|
+
label: t,
|
|
81
|
+
steps: g
|
|
82
|
+
}), /* @__PURE__ */ i("li", {
|
|
83
|
+
"aria-hidden": "true",
|
|
84
|
+
className: "flex items-center",
|
|
85
|
+
children: /* @__PURE__ */ i(c, { className: "text-gray-400 w-5 h-5" })
|
|
86
|
+
})] })
|
|
87
|
+
] }, `${j}-${v}`))
|
|
88
|
+
})]
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
export {
|
|
92
|
+
J as t
|
|
93
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as X } from "./rolldown-runtime-
|
|
2
|
-
import { t as J } from "./prop-types-
|
|
1
|
+
import { o as X } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
|
+
import { t as J } from "./prop-types-qsAjMBb1.js";
|
|
3
3
|
import { a as A } from "./dist-CK8FUUUn.js";
|
|
4
4
|
import { t as T } from "./dist-CYuWoi9I.js";
|
|
5
5
|
import { t as N } from "./utils-DnIJruo0.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as g } from "./rolldown-runtime-
|
|
2
|
-
import { t as h } from "./prop-types-
|
|
1
|
+
import { o as g } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
|
+
import { t as h } from "./prop-types-qsAjMBb1.js";
|
|
3
3
|
import { t as d } from "./utils-DnIJruo0.js";
|
|
4
4
|
import { n as v, t as y } from "./useBreadcrumb-BvP9cgD8.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a as b, n as x, r as u, t as w } from "./dist-CMqY_9n-.js";
|
|
6
6
|
import l, { forwardRef as O } from "react";
|
|
7
7
|
import { jsx as a, jsxs as k } from "react/jsx-runtime";
|
|
8
8
|
var c = /* @__PURE__ */ g(h());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as v } from "./rolldown-runtime-
|
|
2
|
-
import { t as y } from "./prop-types-
|
|
1
|
+
import { o as v } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
|
+
import { t as y } from "./prop-types-qsAjMBb1.js";
|
|
3
3
|
import { t as c } from "./utils-DnIJruo0.js";
|
|
4
4
|
import { inputVariants as g, searchInconInputVariants as h } from "./components/Command/Command.variants.js";
|
|
5
5
|
import { t as m } from "./dist-4IVGO6ZT.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { o as ie } from "./rolldown-runtime-
|
|
3
|
-
import { t as ae } from "./prop-types-
|
|
2
|
+
import { o as ie } from "./rolldown-runtime-B28h4lGi.js";
|
|
3
|
+
import { t as ae } from "./prop-types-qsAjMBb1.js";
|
|
4
4
|
import { t as F } from "./dist-C_jtUTU9.js";
|
|
5
5
|
import { n as oe, t as l } from "./utils-DnIJruo0.js";
|
|
6
6
|
import { Typography as I } from "./components/Typography/Typography.js";
|