@bonprix-ds/react-step-navi 1.0.5 → 1.0.7

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.d.ts CHANGED
@@ -1,49 +1,3 @@
1
- import { default as default_2 } from 'react';
2
- import { ReactElement } from 'react';
3
-
4
- declare type StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;
5
-
6
- declare const StepNavi: {
7
- ({ completedSteps, activeStep, children, ariaLabel }: StepNaviProps): default_2.JSX.Element;
8
- displayName: string;
9
- Step: {
10
- ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps): default_2.JSX.Element;
11
- displayName: string;
12
- };
13
- };
14
- export default StepNavi;
15
-
16
- export declare interface StepNaviProps {
17
- /** StepNavi.Step subcomponents should be placed here. */
18
- children: StepElement | StepElement[];
19
- /** Amount of completed steps. */
20
- completedSteps?: number;
21
- /** Currently active step. Not index based, so starts with 1. */
22
- activeStep?: number;
23
- /** Accessible label for the navigation. */
24
- ariaLabel?: string;
25
- }
26
-
27
- declare const StepNaviStep: {
28
- ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps): default_2.JSX.Element;
29
- displayName: string;
30
- };
31
-
32
- /**
33
- * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set
34
- * from the outside, so they are tagged `@internal` and left out of the generated API table.
35
- */
36
- declare interface StepNaviStepInternalProps {
37
- /* Excluded from this release type: active */
38
- /* Excluded from this release type: completed */
39
- /* Excluded from this release type: disabled */
40
- }
41
-
42
- declare interface StepNaviStepProps {
43
- /** The name of the step. */
44
- children: string;
45
- /** The href attribute for the step link. */
46
- href?: string;
47
- }
48
-
49
- export { }
1
+ export { default } from "./src/StepNavi";
2
+ export type { Props as StepNaviProps } from "./src/StepNavi";
3
+ export type { StepNaviStepInternalProps, StepNaviStepProps } from "./src/StepNaviStep";
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { Children as e, cloneElement as t } from "react";
2
- import n from "@bonprix-ds/react-icon";
3
- import { tv as r } from "tailwind-variants";
2
+ import { tv as n } from "tailwind-variants";
3
+ import r from "@bonprix-ds/react-icon";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
5
  //#region src/StepNaviStep.tsx
6
- var o = r({
6
+ var o = n({
7
7
  slots: {
8
8
  container: "preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none",
9
9
  icon: "h-5 w-5 fill-clr-fg-success invisible",
10
10
  bar: "w-full h-1 bg-clr-bg-disabled",
11
- labelSlot: ["typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all", "group-focus:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary"]
11
+ labelSlot: ["typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all", "group-focus-visible:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary"]
12
12
  },
13
13
  variants: {
14
14
  active: { true: { bar: "bg-clr-primary" } },
@@ -18,20 +18,20 @@ var o = r({
18
18
  false: { bar: "group-hover:bg-clr-primary" }
19
19
  }
20
20
  }
21
- }), s = ({ children: e, href: t, active: r, completed: s, disabled: c }) => {
21
+ }), s = ({ children: e, href: t, active: n, completed: s, disabled: c }) => {
22
22
  let { container: l, icon: u, bar: d, labelSlot: f } = o({
23
- active: r,
23
+ active: n,
24
24
  completed: s,
25
25
  disabled: c
26
26
  });
27
27
  return /* @__PURE__ */ a("a", {
28
28
  href: c ? void 0 : t,
29
29
  className: l(),
30
- "aria-current": r ? "step" : "false",
30
+ "aria-current": n ? "step" : "false",
31
31
  "aria-disabled": c ? "true" : "false",
32
32
  "data-bpds-completed": s,
33
33
  children: [
34
- /* @__PURE__ */ i(n, {
34
+ /* @__PURE__ */ i(r, {
35
35
  variant: "check-bold",
36
36
  className: u()
37
37
  }),
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/StepNaviStep.tsx","../src/StepNavi.tsx"],"sourcesContent":["// inspired by https://a11y-guidelines.orange.com/en/articles/disable-elements/#disable-a-link\nimport Icon from \"@bonprix-ds/react-icon\";\nimport React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\nconst generateClasses = tv({\n slots: {\n container: \"preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none\",\n icon: \"h-5 w-5 fill-clr-fg-success invisible\",\n bar: \"w-full h-1 bg-clr-bg-disabled\",\n labelSlot: [\n \"typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all\",\n \"group-focus:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary\",\n ],\n },\n variants: {\n active: {\n true: {\n bar: \"bg-clr-primary\",\n },\n },\n completed: {\n true: { icon: \"visible\" },\n },\n disabled: {\n true: {\n labelSlot: \"text-clr-disabled\",\n },\n false: {\n bar: \"group-hover:bg-clr-primary\",\n },\n },\n },\n});\n\nexport interface StepNaviStepProps {\n /** The name of the step. */\n children: string;\n /** The href attribute for the step link. */\n href?: string;\n}\n\n/**\n * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set\n * from the outside, so they are tagged `@internal` and left out of the generated API table.\n */\nexport interface StepNaviStepInternalProps {\n /** @internal */\n active?: boolean;\n /** @internal */\n completed?: boolean;\n /** @internal */\n disabled?: boolean;\n}\n\nconst StepNaviStep = ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps) => {\n const { container, icon, bar, labelSlot } = generateClasses({ active, completed, disabled });\n return (\n <a\n href={disabled ? undefined : href}\n className={container()}\n aria-current={active ? \"step\" : \"false\"}\n aria-disabled={disabled ? \"true\" : \"false\"}\n data-bpds-completed={completed}\n >\n <Icon variant=\"check-bold\" className={icon()} />\n <div className={bar()}></div>\n <div className={labelSlot()}>\n {children}\n {completed && <span className=\"sr-only\"> erfüllter schritt</span>}\n </div>\n </a>\n );\n};\n\nStepNaviStep.displayName = \"StepNavi.Step\";\n\nexport default StepNaviStep;\n","import React, { Children, cloneElement, ReactElement } from \"react\";\n\nimport StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from \"./StepNaviStep\";\n\ntype StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;\n\nexport interface Props {\n /** StepNavi.Step subcomponents should be placed here. */\n children: StepElement | StepElement[];\n /** Amount of completed steps. */\n completedSteps?: number;\n /** Currently active step. Not index based, so starts with 1. */\n activeStep?: number;\n /** Accessible label for the navigation. */\n ariaLabel?: string;\n}\n\nconst checkActiveStep = (activeStep: number, stepsQuantity: number, completedSteps: number) => {\n if (activeStep > completedSteps + 1) {\n console.error(\"activeStep must not be greater than completedSteps + 1\");\n return completedSteps + 1;\n }\n\n if (activeStep > stepsQuantity) {\n console.error(\"activeStep must not be greater than the amount of steps. activeStep is set to last available step\");\n return stepsQuantity;\n }\n\n return activeStep;\n};\n\nconst StepNavi = ({ completedSteps = 0, activeStep = completedSteps + 1, children, ariaLabel }: Props) => {\n const steps = Children.toArray(children) as StepElement[];\n const checkedActiveStep = checkActiveStep(activeStep, steps.length, completedSteps);\n\n return (\n <nav aria-label={ariaLabel} data-bpds=\"step-navi\" data-bpds-completed-steps={completedSteps} data-bpds-active-step={checkedActiveStep}>\n <ol className=\"preflight m-0 flex list-none flex-row gap-1 p-0\">\n {steps.map((step, index) => {\n const stepNumber = index + 1;\n\n return (\n <li className=\"flex-1\" key={step.key ?? stepNumber}>\n {cloneElement(step, {\n active: checkedActiveStep === stepNumber,\n completed: completedSteps >= stepNumber,\n disabled: stepNumber > completedSteps + 1,\n })}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n};\n\nStepNavi.displayName = \"StepNavi\";\n\nStepNavi.Step = StepNaviStep;\n\nexport default StepNavi;\n"],"mappings":";;;;;AAKA,IAAM,IAAkB,EAAG;CACzB,OAAO;EACL,WAAW;EACX,MAAM;EACN,KAAK;EACL,WAAW,CACT,qGACA,+EACF;CACF;CACA,UAAU;EACR,QAAQ,EACN,MAAM,EACJ,KAAK,iBACP,EACF;EACA,WAAW,EACT,MAAM,EAAE,MAAM,UAAU,EAC1B;EACA,UAAU;GACR,MAAM,EACJ,WAAW,oBACb;GACA,OAAO,EACL,KAAK,6BACP;EACF;CACF;AACF,CAAC,GAsBK,KAAgB,EAAE,aAAU,SAAM,WAAQ,cAAW,kBAA8D;CACvH,IAAM,EAAE,cAAW,SAAM,QAAK,iBAAc,EAAgB;EAAE;EAAQ;EAAW;CAAS,CAAC;CAC3F,OACE,kBAAC,KAAD;EACE,MAAM,IAAW,KAAA,IAAY;EAC7B,WAAW,EAAU;EACrB,gBAAc,IAAS,SAAS;EAChC,iBAAe,IAAW,SAAS;EACnC,uBAAqB;EALvB,UAAA;GAOE,kBAAC,GAAD;IAAM,SAAQ;IAAa,WAAW,EAAK;GAAI,CAAA;GAC/C,kBAAC,OAAD,EAAK,WAAW,EAAI,EAAQ,CAAA;GAC5B,kBAAC,OAAD;IAAK,WAAW,EAAU;IAA1B,UAAA,CACG,GACA,KAAa,kBAAC,QAAD;KAAM,WAAU;KAAU,UAAA;IAAwB,CAAA,CAC7D;;EACJ;;AAEP;AAEA,EAAa,cAAc;;;AC1D3B,IAAM,KAAmB,GAAoB,GAAuB,MAC9D,IAAa,IAAiB,KAChC,QAAQ,MAAM,wDAAwD,GAC/D,IAAiB,KAGtB,IAAa,KACf,QAAQ,MAAM,mGAAmG,GAC1G,KAGF,GAGH,KAAY,EAAE,oBAAiB,GAAG,gBAAa,IAAiB,GAAG,aAAU,mBAAuB;CACxG,IAAM,IAAQ,EAAS,QAAQ,CAAQ,GACjC,IAAoB,EAAgB,GAAY,EAAM,QAAQ,CAAc;CAElF,OACE,kBAAC,OAAD;EAAK,cAAY;EAAW,aAAU;EAAY,6BAA2B;EAAgB,yBAAuB;EAClH,UAAA,kBAAC,MAAD;GAAI,WAAU;GACX,UAAA,EAAM,KAAK,GAAM,MAAU;IAC1B,IAAM,IAAa,IAAQ;IAE3B,OACE,kBAAC,MAAD;KAAI,WAAU;KACX,UAAA,EAAa,GAAM;MAClB,QAAQ,MAAsB;MAC9B,WAAW,KAAkB;MAC7B,UAAU,IAAa,IAAiB;KAC1C,CAAC;IACC,GANwB,EAAK,OAAO,CAMpC;GAER,CAAC;EACC,CAAA;CACD,CAAA;AAET;AAEA,EAAS,cAAc,YAEvB,EAAS,OAAO"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/StepNaviStep.tsx","../src/StepNavi.tsx"],"sourcesContent":["import React from \"react\";\nimport { tv } from \"tailwind-variants\";\n\n// inspired by https://a11y-guidelines.orange.com/en/articles/disable-elements/#disable-a-link\nimport Icon from \"@bonprix-ds/react-icon\";\n\nconst generateClasses = tv({\n slots: {\n container: \"preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none\",\n icon: \"h-5 w-5 fill-clr-fg-success invisible\",\n bar: \"w-full h-1 bg-clr-bg-disabled\",\n labelSlot: [\n \"typography-input-helper-text text-center text-clr-primary l:text-left xl:text-left px-1 break-all\",\n \"group-focus-visible:outline outline-2 outline-offset-2 rounded-sm outline-clr-primary\",\n ],\n },\n variants: {\n active: {\n true: {\n bar: \"bg-clr-primary\",\n },\n },\n completed: {\n true: { icon: \"visible\" },\n },\n disabled: {\n true: {\n labelSlot: \"text-clr-disabled\",\n },\n false: {\n bar: \"group-hover:bg-clr-primary\",\n },\n },\n },\n});\n\nexport interface StepNaviStepProps {\n /** The name of the step. */\n children: string;\n /** The href attribute for the step link. */\n href?: string;\n}\n\n/**\n * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set\n * from the outside, so each one is tagged internal and left out of the generated API table.\n */\nexport interface StepNaviStepInternalProps {\n /** @internal */\n active?: boolean;\n /** @internal */\n completed?: boolean;\n /** @internal */\n disabled?: boolean;\n}\n\nconst StepNaviStep = ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps) => {\n const { container, icon, bar, labelSlot } = generateClasses({ active, completed, disabled });\n return (\n <a\n href={disabled ? undefined : href}\n className={container()}\n aria-current={active ? \"step\" : \"false\"}\n aria-disabled={disabled ? \"true\" : \"false\"}\n data-bpds-completed={completed}\n >\n <Icon variant=\"check-bold\" className={icon()} />\n <div className={bar()}></div>\n <div className={labelSlot()}>\n {children}\n {completed && <span className=\"sr-only\"> erfüllter schritt</span>}\n </div>\n </a>\n );\n};\n\nStepNaviStep.displayName = \"StepNavi.Step\";\n\nexport default StepNaviStep;\n","import React, { Children, cloneElement, ReactElement } from \"react\";\n\nimport StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from \"./StepNaviStep\";\n\ntype StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;\n\nexport interface Props {\n /** StepNavi.Step subcomponents should be placed here. */\n children: StepElement | StepElement[];\n /** Amount of completed steps. */\n completedSteps?: number;\n /** Currently active step. Not index based, so starts with 1. */\n activeStep?: number;\n /** Accessible label for the navigation. */\n ariaLabel?: string;\n}\n\nconst checkActiveStep = (activeStep: number, stepsQuantity: number, completedSteps: number) => {\n if (activeStep > completedSteps + 1) {\n console.error(\"activeStep must not be greater than completedSteps + 1\");\n return completedSteps + 1;\n }\n\n if (activeStep > stepsQuantity) {\n console.error(\"activeStep must not be greater than the amount of steps. activeStep is set to last available step\");\n return stepsQuantity;\n }\n\n return activeStep;\n};\n\nconst StepNavi = ({ completedSteps = 0, activeStep = completedSteps + 1, children, ariaLabel }: Props) => {\n const steps = Children.toArray(children) as StepElement[];\n const checkedActiveStep = checkActiveStep(activeStep, steps.length, completedSteps);\n\n return (\n <nav aria-label={ariaLabel} data-bpds=\"step-navi\" data-bpds-completed-steps={completedSteps} data-bpds-active-step={checkedActiveStep}>\n <ol className=\"preflight m-0 flex list-none flex-row gap-1 p-0\">\n {steps.map((step, index) => {\n const stepNumber = index + 1;\n\n return (\n <li className=\"flex-1\" key={step.key ?? stepNumber}>\n {cloneElement(step, {\n active: checkedActiveStep === stepNumber,\n completed: completedSteps >= stepNumber,\n disabled: stepNumber > completedSteps + 1,\n })}\n </li>\n );\n })}\n </ol>\n </nav>\n );\n};\n\nStepNavi.displayName = \"StepNavi\";\n\nStepNavi.Step = StepNaviStep;\n\nexport default StepNavi;\n"],"mappings":";;;;;AAMA,IAAM,IAAkB,EAAG;CACzB,OAAO;EACL,WAAW;EACX,MAAM;EACN,KAAK;EACL,WAAW,CACT,qGACA,uFACF;CACF;CACA,UAAU;EACR,QAAQ,EACN,MAAM,EACJ,KAAK,iBACP,EACF;EACA,WAAW,EACT,MAAM,EAAE,MAAM,UAAU,EAC1B;EACA,UAAU;GACR,MAAM,EACJ,WAAW,oBACb;GACA,OAAO,EACL,KAAK,6BACP;EACF;CACF;AACF,CAAC,GAsBK,KAAgB,EAAE,aAAU,SAAM,WAAQ,cAAW,kBAA8D;CACvH,IAAM,EAAE,cAAW,SAAM,QAAK,iBAAc,EAAgB;EAAE;EAAQ;EAAW;CAAS,CAAC;CAC3F,OACE,kBAAC,KAAD;EACE,MAAM,IAAW,KAAA,IAAY;EAC7B,WAAW,EAAU;EACrB,gBAAc,IAAS,SAAS;EAChC,iBAAe,IAAW,SAAS;EACnC,uBAAqB;EALvB,UAAA;GAOE,kBAAC,GAAD;IAAM,SAAQ;IAAa,WAAW,EAAK;GAAI,CAAA;GAC/C,kBAAC,OAAD,EAAK,WAAW,EAAI,EAAQ,CAAA;GAC5B,kBAAC,OAAD;IAAK,WAAW,EAAU;IAA1B,UAAA,CACG,GACA,KAAa,kBAAC,QAAD;KAAM,WAAU;KAAU,UAAA;IAAwB,CAAA,CAC7D;;EACJ;;AAEP;AAEA,EAAa,cAAc;;;AC3D3B,IAAM,KAAmB,GAAoB,GAAuB,MAC9D,IAAa,IAAiB,KAChC,QAAQ,MAAM,wDAAwD,GAC/D,IAAiB,KAGtB,IAAa,KACf,QAAQ,MAAM,mGAAmG,GAC1G,KAGF,GAGH,KAAY,EAAE,oBAAiB,GAAG,gBAAa,IAAiB,GAAG,aAAU,mBAAuB;CACxG,IAAM,IAAQ,EAAS,QAAQ,CAAQ,GACjC,IAAoB,EAAgB,GAAY,EAAM,QAAQ,CAAc;CAElF,OACE,kBAAC,OAAD;EAAK,cAAY;EAAW,aAAU;EAAY,6BAA2B;EAAgB,yBAAuB;EAClH,UAAA,kBAAC,MAAD;GAAI,WAAU;GACX,UAAA,EAAM,KAAK,GAAM,MAAU;IAC1B,IAAM,IAAa,IAAQ;IAE3B,OACE,kBAAC,MAAD;KAAI,WAAU;KACX,UAAA,EAAa,GAAM;MAClB,QAAQ,MAAsB;MAC9B,WAAW,KAAkB;MAC7B,UAAU,IAAa,IAAiB;KAC1C,CAAC;IACC,GANwB,EAAK,OAAO,CAMpC;GAER,CAAC;EACC,CAAA;CACD,CAAA;AAET;AAEA,EAAS,cAAc,YAEvB,EAAS,OAAO"}
@@ -0,0 +1,22 @@
1
+ import React, { ReactElement } from "react";
2
+ import StepNaviStep, { StepNaviStepInternalProps, StepNaviStepProps } from "./StepNaviStep";
3
+ type StepElement = ReactElement<StepNaviStepProps & StepNaviStepInternalProps, typeof StepNaviStep>;
4
+ export interface Props {
5
+ /** StepNavi.Step subcomponents should be placed here. */
6
+ children: StepElement | StepElement[];
7
+ /** Amount of completed steps. */
8
+ completedSteps?: number;
9
+ /** Currently active step. Not index based, so starts with 1. */
10
+ activeStep?: number;
11
+ /** Accessible label for the navigation. */
12
+ ariaLabel?: string;
13
+ }
14
+ declare const StepNavi: {
15
+ ({ completedSteps, activeStep, children, ariaLabel }: Props): React.JSX.Element;
16
+ displayName: string;
17
+ Step: {
18
+ ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps): React.JSX.Element;
19
+ displayName: string;
20
+ };
21
+ };
22
+ export default StepNavi;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ export interface StepNaviStepProps {
3
+ /** The name of the step. */
4
+ children: string;
5
+ /** The href attribute for the step link. */
6
+ href?: string;
7
+ }
8
+ /**
9
+ * `StepNavi` derives these for each of its steps and passes them in. They are not meant to be set
10
+ * from the outside, so each one is tagged internal and left out of the generated API table.
11
+ */
12
+ export interface StepNaviStepInternalProps {
13
+ }
14
+ declare const StepNaviStep: {
15
+ ({ children, href, active, completed, disabled }: StepNaviStepProps & StepNaviStepInternalProps): React.JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export default StepNaviStep;
package/package.json CHANGED
@@ -1,14 +1,25 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-step-navi",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "StepNavi component, implemented in React, for the Bonprix Design System.",
5
- "type": "module",
6
- "publishConfig": {
7
- "access": "public",
8
- "provenance": true
5
+ "keywords": [],
6
+ "license": "UNLICENSED",
7
+ "author": "",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/bonprix/design-system.git",
11
+ "directory": "packages/react/step-navi"
9
12
  },
10
- "module": "./dist/index.js",
13
+ "files": [
14
+ "dist",
15
+ "!dist/tsconfig.tsbuildinfo",
16
+ "!dist/vite.config.d.ts",
17
+ "!dist/**/*.test.d.ts"
18
+ ],
19
+ "type": "module",
11
20
  "sideEffects": false,
21
+ "module": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
12
23
  "exports": {
13
24
  ".": {
14
25
  "import": "./dist/index.js",
@@ -16,34 +27,24 @@
16
27
  "default": "./dist/index.js"
17
28
  }
18
29
  },
19
- "types": "./dist/index.d.ts",
20
- "files": [
21
- "dist"
22
- ],
23
- "keywords": [],
24
- "author": "",
25
- "license": "UNLICENSED",
26
- "repository": {
27
- "type": "git",
28
- "url": "git+https://github.com/bonprix/design-system.git",
29
- "directory": "packages/react/step-navi"
30
+ "publishConfig": {
31
+ "access": "public",
32
+ "provenance": true
30
33
  },
31
34
  "dependencies": {
32
- "@bonprix-ds/react-icon": "1.1.3",
33
- "@bonprix-ds/utils": "0.2.1"
34
- },
35
- "peerDependencies": {
36
- "react": "^19.0.0",
37
- "react-dom": "^19.0.0",
38
- "tailwind-variants": "0.3.1"
35
+ "@bonprix-ds/react-icon": "1.2.1",
36
+ "@bonprix-ds/utils": "0.2.2"
39
37
  },
40
38
  "devDependencies": {
41
- "vite": "8.2.2",
42
- "@types/react": "19.2.18",
43
- "@vitejs/plugin-react": "6.1.0",
39
+ "@types/react": "19.3.0",
40
+ "@vitejs/plugin-react": "6.1.1",
44
41
  "rollup-preserve-directives": "1.1.3",
45
- "unplugin-dts": "1.0.3",
46
- "@microsoft/api-extractor": "7.59.0"
42
+ "vite": "8.3.0"
43
+ },
44
+ "peerDependencies": {
45
+ "react": "^19.3.0",
46
+ "react-dom": "^19.3.0",
47
+ "tailwind-variants": "0.3.1"
47
48
  },
48
49
  "scripts": {
49
50
  "build": "vite build"