@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
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.119",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -92,17 +92,17 @@
|
|
|
92
92
|
"@react-input/mask": "^2.0.4",
|
|
93
93
|
"@tanstack/react-table": "^8.21.3",
|
|
94
94
|
"@tanstack/react-virtual": "^3.14.18",
|
|
95
|
-
"chart.js": "^4.
|
|
95
|
+
"chart.js": "^4.6.1",
|
|
96
96
|
"class-variance-authority": "^0.7.1",
|
|
97
97
|
"clsx": "^2.1.1",
|
|
98
98
|
"cmdk": "^1.1.1",
|
|
99
99
|
"countries-and-timezones": "^3.11.0",
|
|
100
100
|
"country-flag-icons": "^1.6.20",
|
|
101
101
|
"country-locale-map": "^1.9.14",
|
|
102
|
-
"google-libphonenumber": "^3.2.
|
|
102
|
+
"google-libphonenumber": "^3.2.48",
|
|
103
103
|
"i18n-iso-countries": "^7.14.0",
|
|
104
104
|
"js-cookie": "^3.0.8",
|
|
105
|
-
"lucide-react": "^1.
|
|
105
|
+
"lucide-react": "^1.62.0",
|
|
106
106
|
"react-chartjs-2": "^5.3.1",
|
|
107
107
|
"react-day-picker": "^10.0.2",
|
|
108
108
|
"react-feather": "^2.0.10",
|
|
@@ -145,46 +145,46 @@
|
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@faker-js/faker": "^10.6.0",
|
|
148
|
-
"@rollup/plugin-alias": "^6.0.
|
|
149
|
-
"@storybook/addon-docs": "^10.6.
|
|
150
|
-
"@storybook/addon-links": "^10.6.
|
|
151
|
-
"@storybook/react-vite": "^10.6.
|
|
148
|
+
"@rollup/plugin-alias": "^6.0.1",
|
|
149
|
+
"@storybook/addon-docs": "^10.6.5",
|
|
150
|
+
"@storybook/addon-links": "^10.6.5",
|
|
151
|
+
"@storybook/react-vite": "^10.6.5",
|
|
152
152
|
"@tailwindcss/vite": "^4.3.3",
|
|
153
|
-
"@tanstack/react-query": "^5.
|
|
153
|
+
"@tanstack/react-query": "^5.105.0",
|
|
154
154
|
"@testing-library/jest-dom": "^7.0.1",
|
|
155
155
|
"@testing-library/react": "^16.3.3",
|
|
156
156
|
"@testing-library/user-event": "^14.6.8",
|
|
157
157
|
"@types/google-libphonenumber": "^7.4.31",
|
|
158
158
|
"@types/jest-axe": "^3.5.9",
|
|
159
159
|
"@types/js-cookie": "^3.0.6",
|
|
160
|
-
"@types/lodash": "^4.17.
|
|
160
|
+
"@types/lodash": "^4.17.27",
|
|
161
161
|
"@types/react": "^19.3.0",
|
|
162
162
|
"@types/react-dom": "^19.3.0",
|
|
163
|
-
"@typescript-eslint/eslint-plugin": "^8.72.
|
|
164
|
-
"@typescript-eslint/parser": "^8.72.
|
|
163
|
+
"@typescript-eslint/eslint-plugin": "^8.72.1",
|
|
164
|
+
"@typescript-eslint/parser": "^8.72.1",
|
|
165
165
|
"@vitejs/plugin-react": "^6.1.2",
|
|
166
166
|
"@vitest/coverage-v8": "^5.0.5",
|
|
167
|
-
"autoprefixer": "^10.6.
|
|
167
|
+
"autoprefixer": "^10.6.2",
|
|
168
168
|
"eslint": "^9.39.5",
|
|
169
169
|
"eslint-plugin-react": "^7.37.5",
|
|
170
170
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
171
171
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
172
|
-
"eslint-plugin-storybook": "^10.6.
|
|
172
|
+
"eslint-plugin-storybook": "^10.6.5",
|
|
173
173
|
"eslint-plugin-vitest": "^0.5.4",
|
|
174
174
|
"glob": "^13.0.6",
|
|
175
175
|
"husky": "^9.1.7",
|
|
176
176
|
"jest-axe": "^11.0.0",
|
|
177
177
|
"jsdom": "^30.1.3",
|
|
178
178
|
"lodash": "^4.18.1",
|
|
179
|
-
"motion": "^14.
|
|
180
|
-
"postcss": "^8.5.
|
|
179
|
+
"motion": "^14.7.1",
|
|
180
|
+
"postcss": "^8.5.32",
|
|
181
181
|
"prettier": "^3.9.10",
|
|
182
182
|
"rimraf": "^6.1.3",
|
|
183
|
-
"storybook": "^10.6.
|
|
183
|
+
"storybook": "^10.6.5",
|
|
184
184
|
"tailwindcss": "^4.3.3",
|
|
185
185
|
"ts-node": "^10.9.2",
|
|
186
186
|
"typescript": "^6.0.3",
|
|
187
|
-
"vite": "^8.3.
|
|
187
|
+
"vite": "^8.3.5",
|
|
188
188
|
"vite-plugin-dts": "^5.1.2",
|
|
189
189
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
190
190
|
"vite-plugin-svgr": "^5.2.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as C, n as N, o as Rt, r as I, t as R } from "./rolldown-runtime-
|
|
2
|
-
import { t as bt } from "./libphonenumber-
|
|
1
|
+
import { a as C, n as N, o as Rt, r as I, t as R } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
|
+
import { t as bt } from "./libphonenumber-BIeQOhzl.js";
|
|
3
3
|
import { PhoneNumberContext as yt } from "./components/PhoneNumberInput/contexts/phone-number.context.js";
|
|
4
4
|
import e, { useCallback as V, useEffect as Kt, useMemo as Pt, useState as S } from "react";
|
|
5
5
|
import { jsx as G } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as k } from "./rolldown-runtime-
|
|
1
|
+
import { t as k } from "./rolldown-runtime-B28h4lGi.js";
|
|
2
2
|
var te = /* @__PURE__ */ k(((r) => {
|
|
3
3
|
var i = typeof Symbol == "function" && Symbol.for, P = i ? /* @__PURE__ */ Symbol.for("react.element") : 60103, w = i ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, h = i ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, v = i ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, g = i ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, f = i ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, _ = i ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = i ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, T = i ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = i ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, O = i ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, R = i ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = i ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, A = i ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, W = i ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = i ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, M = i ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, Y = i ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
4
4
|
function j(n) {
|
|
@@ -5,7 +5,7 @@ var f = Object.create, a = Object.defineProperty, c = Object.getOwnPropertyDescr
|
|
|
5
5
|
} catch (n) {
|
|
6
6
|
throw t = [n], n;
|
|
7
7
|
}
|
|
8
|
-
}, b = (e, r) => () => (r || (e((r = { exports: {} }).exports, r), e = null), r.exports), P = (e, r) => {
|
|
8
|
+
}, b = (e, r) => () => (r || (e((r = { exports: {} }).exports, r, r.exports), e = null), r.exports), P = (e, r) => {
|
|
9
9
|
let t = {};
|
|
10
10
|
for (var n in e)
|
|
11
11
|
a(t, n, {
|
|
@@ -21,18 +21,18 @@ var f = Object.create, a = Object.defineProperty, c = Object.getOwnPropertyDescr
|
|
|
21
21
|
enumerable: !(n = c(r, o)) || n.enumerable
|
|
22
22
|
});
|
|
23
23
|
return e;
|
|
24
|
-
},
|
|
24
|
+
}, h = (e, r, t) => (t = e != null ? f(g(e)) : {}, p(r || !e || !e.__esModule || !l.call(e, "default") ? a(t, "default", {
|
|
25
25
|
value: e,
|
|
26
26
|
enumerable: !0
|
|
27
|
-
}) : t, e)),
|
|
27
|
+
}) : t, e)), y = (e) => l.call(e, "module.exports") ? e["module.exports"] : p(a({}, "__esModule", { value: !0 }), e), d = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (r, t) => (typeof require < "u" ? require : r)[t] }) : e)(function(e) {
|
|
28
28
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
29
29
|
throw Error('Calling `require` for "' + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
30
30
|
});
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
y as a,
|
|
33
|
+
d as i,
|
|
34
34
|
O as n,
|
|
35
|
-
|
|
35
|
+
h as o,
|
|
36
36
|
P as r,
|
|
37
37
|
b as t
|
|
38
38
|
};
|