@bonprix-ds/react-step-navi 1.1.3 → 1.1.5

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/index.js CHANGED
@@ -1,2 +1 @@
1
- import e from "./src/StepNavi.js";
2
- export { e as default };
1
+ export { default } from "./src/StepNavi.js";
@@ -2,7 +2,7 @@ import e from "./StepNaviStep.js";
2
2
  import { Children as t, cloneElement as n } from "react";
3
3
  import { warnDeprecated as r } from "@bonprix-ds/utils/deprecation";
4
4
  import { jsx as i } from "react/jsx-runtime";
5
- //#region src/StepNavi.tsx
5
+ // src/StepNavi.tsx
6
6
  var a = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater than completedSteps + 1"), n + 1) : e > t ? (console.error("activeStep must not be greater than the amount of steps. activeStep is set to last available step"), t) : e, o = ({ completedSteps: e = 0, activeStep: o = e + 1, children: s, ariaLabel: c }) => {
7
7
  r("step-navi-component");
8
8
  let l = t.toArray(s), u = a(o, l.length, e);
@@ -28,7 +28,6 @@ var a = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater
28
28
  });
29
29
  };
30
30
  o.displayName = "StepNavi", o.Step = e;
31
- //#endregion
32
31
  export { o as default };
33
32
 
34
33
  //# sourceMappingURL=StepNavi.js.map
@@ -2,7 +2,7 @@ import "react";
2
2
  import { tv as e } from "tailwind-variants";
3
3
  import { CheckBoldIcon as t } from "@bonprix-ds/react-icon/icons";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
- //#region src/StepNaviStep.tsx
5
+ // src/StepNaviStep.tsx
6
6
  var i = e({
7
7
  slots: {
8
8
  container: "preflight group flex w-full flex-col items-center gap-1.5 focus:outline-none l:items-start xl:items-start",
@@ -44,7 +44,6 @@ var i = e({
44
44
  });
45
45
  };
46
46
  a.displayName = "StepNavi.Step";
47
- //#endregion
48
47
  export { a as default };
49
48
 
50
49
  //# sourceMappingURL=StepNaviStep.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-step-navi",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "StepNavi component, implemented in React, for the Bonprix Design System.",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -32,13 +32,13 @@
32
32
  "provenance": true
33
33
  },
34
34
  "dependencies": {
35
- "@bonprix-ds/react-icon": "1.3.2",
36
- "@bonprix-ds/utils": "0.5.0"
35
+ "@bonprix-ds/react-icon": "1.4.0",
36
+ "@bonprix-ds/utils": "0.6.0"
37
37
  },
38
38
  "devDependencies": {
39
+ "@bonprix-ds/vite-config": "0.0.0",
39
40
  "@types/react": "19.3.0",
40
- "vite": "8.3.3",
41
- "@bonprix-ds/vite-config": "0.0.0"
41
+ "vite": "8.3.8"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": "^19",