@bonprix-ds/react-modal 1.1.3 → 1.1.4

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/Modal.js";
2
- export { e as default };
1
+ export { default } from "./src/Modal.js";
package/dist/src/Modal.js CHANGED
@@ -7,7 +7,7 @@ import { backdrop as r, fadeAnimation as i } from "@bonprix-ds/internal-componen
7
7
  import { useIsClient as a, usePrefersReducedMotion as o } from "@bonprix-ds/utils";
8
8
  import { warnDeprecated as s } from "@bonprix-ds/utils/deprecation";
9
9
  import { Fragment as c, jsx as l } from "react/jsx-runtime";
10
- //#region src/Modal.tsx
10
+ // src/Modal.tsx
11
11
  var u = n({
12
12
  slots: { backdrop: r() },
13
13
  variants: { prefersReducedMotion: { false: { backdrop: i() } } }
@@ -24,7 +24,6 @@ var u = n({
24
24
  children: n
25
25
  }) : null, document.body) }) : null;
26
26
  };
27
- //#endregion
28
27
  export { d as default };
29
28
 
30
29
  //# sourceMappingURL=Modal.js.map
@@ -1,5 +1,5 @@
1
1
  import { useEffect as e, useState as t } from "react";
2
- //#region src/useAnimation.ts
2
+ // src/useAnimation.ts
3
3
  var n = (n) => {
4
4
  let [r, i] = t(n);
5
5
  return e(() => {
@@ -11,7 +11,6 @@ var n = (n) => {
11
11
  }
12
12
  };
13
13
  };
14
- //#endregion
15
14
  export { n as default };
16
15
 
17
16
  //# sourceMappingURL=useAnimation.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-modal",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Modal component, implemented in React, for the Bonprix Design System.",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -32,17 +32,17 @@
32
32
  "provenance": true
33
33
  },
34
34
  "dependencies": {
35
- "@bonprix-ds/internal-components": "0.2.5",
36
- "@bonprix-ds/utils": "0.5.0"
35
+ "@bonprix-ds/internal-components": "0.2.6",
36
+ "@bonprix-ds/utils": "0.6.0"
37
37
  },
38
38
  "devDependencies": {
39
+ "@bonprix-ds/vite-config": "0.0.0",
39
40
  "@testing-library/dom": "10.4.2",
40
41
  "@testing-library/react": "16.3.3",
41
42
  "@types/react": "19.3.0",
42
43
  "@types/react-dom": "19.3.0",
43
- "vite": "8.3.3",
44
- "vitest": "5.0.5",
45
- "@bonprix-ds/vite-config": "0.0.0"
44
+ "vite": "8.3.5",
45
+ "vitest": "5.0.5"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": "^19",