@bonprix-ds/react-checkbox-group 1.0.11 → 1.0.13

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/CheckboxGroup.js";
2
- export { e as default };
1
+ export { default } from "./src/CheckboxGroup.js";
@@ -2,10 +2,9 @@ import e from "./CheckboxGroupItem/index.js";
2
2
  import t from "./CheckboxGroupRoot.js";
3
3
  import "react";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
- //#region src/CheckboxGroup.tsx
5
+ // src/CheckboxGroup.tsx
6
6
  var r = (e) => /* @__PURE__ */ n(t, { ...e });
7
7
  r.displayName = "CheckboxGroup", r.Item = e;
8
- //#endregion
9
8
  export { r as default };
10
9
 
11
10
  //# sourceMappingURL=CheckboxGroup.js.map
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { createContext as e } from "react";
3
- //#region src/CheckboxGroupContext.ts
3
+ // src/CheckboxGroupContext.ts
4
4
  var t = e({
5
5
  values: [],
6
6
  name: "",
@@ -11,7 +11,6 @@ var t = e({
11
11
  helperTextId: "",
12
12
  errorTextId: ""
13
13
  });
14
- //#endregion
15
14
  export { t as default };
16
15
 
17
16
  //# sourceMappingURL=CheckboxGroupContext.js.map
@@ -3,7 +3,7 @@ import e from "../CheckboxGroupContext.js";
3
3
  import { useContext as t } from "react";
4
4
  import { CheckboxBase as n } from "@bonprix-ds/internal-components";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
- //#region src/CheckboxGroupItem/CheckboxGroupItem.tsx
6
+ // src/CheckboxGroupItem/CheckboxGroupItem.tsx
7
7
  var i = ({ label: i, value: a = i }) => {
8
8
  let { values: o, onChange: s, ...c } = t(e), l = o.includes(a), u = () => {
9
9
  let e = l ? o.filter((e) => e !== a) : [...o, a];
@@ -18,7 +18,6 @@ var i = ({ label: i, value: a = i }) => {
18
18
  });
19
19
  };
20
20
  i.displayName = "CheckboxGroup.Item";
21
- //#endregion
22
21
  export { i as default };
23
22
 
24
23
  //# sourceMappingURL=CheckboxGroupItem.js.map
@@ -1,7 +1,6 @@
1
1
  import e from "./CheckboxGroupItem.js";
2
- //#region src/CheckboxGroupItem/index.ts
2
+ // src/CheckboxGroupItem/index.ts
3
3
  var t = e;
4
- //#endregion
5
4
  export { t as default };
6
5
 
7
6
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ import e from "./CheckboxGroupContext.js";
3
3
  import { useId as t } from "react";
4
4
  import { SelectionControlGroup as n } from "@bonprix-ds/internal-components";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
- //#region src/CheckboxGroupRoot.tsx
6
+ // src/CheckboxGroupRoot.tsx
7
7
  var i = ({ label: i, name: a, values: o, defaultValues: s, children: c, onChange: l, error: u = !1, errorText: d, disabled: f = !1, helperText: p, required: m = !1 }) => {
8
8
  let h = {
9
9
  values: o === void 0 ? s : o,
@@ -33,7 +33,6 @@ var i = ({ label: i, name: a, values: o, defaultValues: s, children: c, onChange
33
33
  });
34
34
  };
35
35
  i.displayName = "CheckboxGroup";
36
- //#endregion
37
36
  export { i as default };
38
37
 
39
38
  //# sourceMappingURL=CheckboxGroupRoot.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/react-checkbox-group",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "CheckboxGroup 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/internal-components": "0.2.4",
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
  "@types/react": "19.3.0",
40
- "vite": "8.3.2",
41
- "@bonprix-ds/vite-config": "0.0.0"
41
+ "vite": "8.3.5"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": "^19",