@konstructio/ui 0.1.0-alpha.17 → 0.1.0-alpha.18

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.
@@ -1,6 +1,6 @@
1
- import { c as o } from "./createLucideIcon-qZIN4i94.js";
1
+ import { c as o } from "./createLucideIcon-Ck_e4796.js";
2
2
  /**
3
- * @license lucide-react v0.525.0 - ISC
3
+ * @license lucide-react v0.534.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
@@ -2,9 +2,9 @@ import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import { useRef as v, useState as w, useCallback as x, useEffect as y } from "react";
3
3
  import { cn as u } from "../../utils/index.js";
4
4
  import { buttonDismissVariants as M, badgeVariants as Z } from "./Badge.variants.js";
5
- import { c as N } from "../../createLucideIcon-qZIN4i94.js";
5
+ import { c as N } from "../../createLucideIcon-Ck_e4796.js";
6
6
  /**
7
- * @license lucide-react v0.525.0 - ISC
7
+ * @license lucide-react v0.534.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
@@ -1,48 +1,49 @@
1
- import { jsx as a, Fragment as u } from "react/jsx-runtime";
2
- import { cn as i } from "../../../../utils/index.js";
1
+ import { jsx as a, Fragment as p } from "react/jsx-runtime";
2
+ import { cn as m } from "../../../../utils/index.js";
3
3
  import { u as f, L as h } from "../../../../useBreadcrumb-DMERrNkJ.js";
4
- import { breadcrumbLinkVariants as d, breadcrumbLabelVariants as p } from "./Item.variants.js";
5
- const x = ({
4
+ import { breadcrumbLinkVariants as o, breadcrumbLabelVariants as b } from "./Item.variants.js";
5
+ const g = ({
6
6
  isActive: r,
7
- isLast: c,
7
+ isLast: t,
8
8
  label: n,
9
- target: m,
10
- theme: l,
11
- to: e
9
+ target: i,
10
+ theme: c,
11
+ to: e,
12
+ component: d = "a"
12
13
  }) => {
13
- const { isInsideRouter: t } = f(), s = (o) => {
14
- e === "#" && o.preventDefault();
14
+ const { isInsideRouter: l } = f(), s = (u) => {
15
+ e === "#" && u.preventDefault();
15
16
  };
16
17
  return /* @__PURE__ */ a(
17
18
  "li",
18
19
  {
19
- "aria-current": c ? "page" : void 0,
20
+ "aria-current": t ? "page" : void 0,
20
21
  className: "group font-medium text-inherit",
21
- "data-theme": l,
22
- children: e ? /* @__PURE__ */ a(u, { children: t ? /* @__PURE__ */ a(
22
+ "data-theme": c,
23
+ children: e ? /* @__PURE__ */ a(p, { children: l ? /* @__PURE__ */ a(
23
24
  h,
24
25
  {
25
26
  to: e,
26
- target: m,
27
- className: i(d({ isActive: r })),
27
+ target: i,
28
+ className: m(o({ isActive: r })),
28
29
  "aria-disabled": r ? "true" : "false",
29
30
  onClick: s,
30
31
  children: n
31
32
  }
32
33
  ) : /* @__PURE__ */ a(
33
- "a",
34
+ d,
34
35
  {
35
36
  href: e,
36
- target: m,
37
- className: i(d({ isActive: r })),
37
+ target: i,
38
+ className: m(o({ isActive: r })),
38
39
  "aria-disabled": r ? "true" : "false",
39
40
  onClick: s,
40
41
  children: n
41
42
  }
42
- ) }) : /* @__PURE__ */ a("span", { className: i(p({ isActive: r })), children: n })
43
+ ) }) : /* @__PURE__ */ a("span", { className: m(b({ isActive: r })), children: n })
43
44
  }
44
45
  );
45
46
  };
46
47
  export {
47
- x as Item
48
+ g as Item
48
49
  };
@@ -2,16 +2,16 @@ import { jsx as Be } from "react/jsx-runtime";
2
2
  import m, { createContext as dn, useContext as ln, useCallback as A, useRef as Se, useLayoutEffect as hn, useState as Ce, useEffect as mn, useMemo as Ie } from "react";
3
3
  import { cn as le } from "../../utils/index.js";
4
4
  import { datePickerVariants as yn } from "./DatePicker.variants.js";
5
- import { c as ft } from "../../createLucideIcon-qZIN4i94.js";
5
+ import { c as ft } from "../../createLucideIcon-Ck_e4796.js";
6
6
  import '../../DatePicker.css';/**
7
- * @license lucide-react v0.525.0 - ISC
7
+ * @license lucide-react v0.534.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
11
  */
12
12
  const gn = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], wn = ft("chevron-left", gn);
13
13
  /**
14
- * @license lucide-react v0.525.0 - ISC
14
+ * @license lucide-react v0.534.0 - ISC
15
15
  *
16
16
  * This source code is licensed under the ISC license.
17
17
  * See the LICENSE file in the root directory of this source tree.
@@ -5,7 +5,7 @@ import { Checkbox as C } from "../../../Checkbox/Checkbox.js";
5
5
  import { cn as n } from "../../../../utils/index.js";
6
6
  import { filterButtonIconVariants as y, filterButtonVariants as N } from "../../Filter.variants.js";
7
7
  import { useBadgeMultiSelect as B } from "./BadgeMultiSelect.hook.js";
8
- import { C as O } from "../../../../chevron-down-1hnuqhTt.js";
8
+ import { C as O } from "../../../../chevron-down-B_1aNqYv.js";
9
9
  const $ = ({
10
10
  options: i,
11
11
  label: p,
@@ -5,7 +5,7 @@ import { DatePicker as w } from "../../../Datepicker/DatePicker.js";
5
5
  import { cn as o } from "../../../../utils/index.js";
6
6
  import { filterButtonIconVariants as x, filterButtonVariants as N } from "../../Filter.variants.js";
7
7
  import { useDateFilterDropdown as b } from "./DateFilterDropdown.hook.js";
8
- import { C as y } from "../../../../chevron-down-1hnuqhTt.js";
8
+ import { C as y } from "../../../../chevron-down-B_1aNqYv.js";
9
9
  const R = ({
10
10
  label: p,
11
11
  position: l = "left",
@@ -1,9 +1,9 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { cn as c } from "../../utils/index.js";
3
3
  import { loadingVariants as i } from "./Loading.variants.js";
4
- import { c as t } from "../../createLucideIcon-qZIN4i94.js";
4
+ import { c as t } from "../../createLucideIcon-Ck_e4796.js";
5
5
  /**
6
- * @license lucide-react v0.525.0 - ISC
6
+ * @license lucide-react v0.534.0 - ISC
7
7
  *
8
8
  * This source code is licensed under the ISC license.
9
9
  * See the LICENSE file in the root directory of this source tree.
@@ -3,7 +3,7 @@ import { useId as y, useState as E, useRef as O, useCallback as I, useEffect as
3
3
  import { cn as d } from "../../../../utils/index.js";
4
4
  import { timePickerVariants as j } from "../../TimePicker.variants.js";
5
5
  import { WrapperList as P } from "../WrapperList/WrapperList.js";
6
- import { C as R } from "../../../../chevron-down-1hnuqhTt.js";
6
+ import { C as R } from "../../../../chevron-down-B_1aNqYv.js";
7
7
  import { useTimePickerContext as T } from "../../contexts/time-picker.hook.js";
8
8
  const $ = ({
9
9
  name: p,
@@ -1,6 +1,6 @@
1
1
  import { forwardRef as l, createElement as n } from "react";
2
2
  /**
3
- * @license lucide-react v0.525.0 - ISC
3
+ * @license lucide-react v0.534.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
@@ -17,7 +17,7 @@ const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), h = (t)
17
17
  return !0;
18
18
  };
19
19
  /**
20
- * @license lucide-react v0.525.0 - ISC
20
+ * @license lucide-react v0.534.0 - ISC
21
21
  *
22
22
  * This source code is licensed under the ISC license.
23
23
  * See the LICENSE file in the root directory of this source tree.
@@ -34,7 +34,7 @@ var g = {
34
34
  strokeLinejoin: "round"
35
35
  };
36
36
  /**
37
- * @license lucide-react v0.525.0 - ISC
37
+ * @license lucide-react v0.534.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
@@ -69,7 +69,7 @@ const A = l(
69
69
  )
70
70
  );
71
71
  /**
72
- * @license lucide-react v0.525.0 - ISC
72
+ * @license lucide-react v0.534.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
package/dist/index.d.ts CHANGED
@@ -569,6 +569,7 @@ declare type Step = {
569
569
  to?: string;
570
570
  target?: '_self' | '_blank';
571
571
  isActive?: boolean;
572
+ component?: FC<any>;
572
573
  };
573
574
 
574
575
  export declare const Switch: FC<SwitchProps>;
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.16",
5
+ "version": "0.1.0-alpha.17",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -69,8 +69,8 @@
69
69
  "cmdk": "^1.1.1",
70
70
  "countries-and-timezones": "^3.8.0",
71
71
  "js-cookie": "^3.0.5",
72
- "lucide-react": "^0.525.0",
73
- "react-day-picker": "^9.8.0",
72
+ "lucide-react": "^0.534.0",
73
+ "react-day-picker": "^9.8.1",
74
74
  "react-feather": "^2.0.10",
75
75
  "react-focus-lock": "^2.13.6",
76
76
  "react-remove-scroll": "^2.7.1",
@@ -110,14 +110,14 @@
110
110
  "@storybook/addon-links": "^9.1.0-alpha.9",
111
111
  "@storybook/react-vite": "^9.1.0-alpha.9",
112
112
  "@tailwindcss/vite": "^4.1.11",
113
- "@testing-library/jest-dom": "^6.6.3",
113
+ "@testing-library/jest-dom": "^6.6.4",
114
114
  "@testing-library/react": "^16.3.0",
115
115
  "@testing-library/user-event": "^14.6.1",
116
116
  "@types/jest-axe": "^3.5.9",
117
117
  "@types/js-cookie": "^3.0.6",
118
118
  "@types/lodash": "^4.17.20",
119
- "@types/react": "^19.1.8",
120
- "@types/react-dom": "^19.1.6",
119
+ "@types/react": "^19.1.9",
120
+ "@types/react-dom": "^19.1.7",
121
121
  "@typescript-eslint/eslint-plugin": "^8.38.0",
122
122
  "@typescript-eslint/parser": "^8.38.0",
123
123
  "@vitejs/plugin-react": "^4.7.0",
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.0-alpha.17",
5
+ "version": "0.1.0-alpha.18",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -69,8 +69,8 @@
69
69
  "cmdk": "^1.1.1",
70
70
  "countries-and-timezones": "^3.8.0",
71
71
  "js-cookie": "^3.0.5",
72
- "lucide-react": "^0.525.0",
73
- "react-day-picker": "^9.8.0",
72
+ "lucide-react": "^0.534.0",
73
+ "react-day-picker": "^9.8.1",
74
74
  "react-feather": "^2.0.10",
75
75
  "react-focus-lock": "^2.13.6",
76
76
  "react-remove-scroll": "^2.7.1",
@@ -110,14 +110,14 @@
110
110
  "@storybook/addon-links": "^9.1.0-alpha.9",
111
111
  "@storybook/react-vite": "^9.1.0-alpha.9",
112
112
  "@tailwindcss/vite": "^4.1.11",
113
- "@testing-library/jest-dom": "^6.6.3",
113
+ "@testing-library/jest-dom": "^6.6.4",
114
114
  "@testing-library/react": "^16.3.0",
115
115
  "@testing-library/user-event": "^14.6.1",
116
116
  "@types/jest-axe": "^3.5.9",
117
117
  "@types/js-cookie": "^3.0.6",
118
118
  "@types/lodash": "^4.17.20",
119
- "@types/react": "^19.1.8",
120
- "@types/react-dom": "^19.1.6",
119
+ "@types/react": "^19.1.9",
120
+ "@types/react-dom": "^19.1.7",
121
121
  "@typescript-eslint/eslint-plugin": "^8.38.0",
122
122
  "@typescript-eslint/parser": "^8.38.0",
123
123
  "@vitejs/plugin-react": "^4.7.0",