@vygruppen/spor-react 11.2.0 → 11.2.1

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,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@11.2.0 build
2
+ > @vygruppen/spor-react@11.2.1 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -10,9 +10,9 @@
10
10
  ESM Build start
11
11
  DTS Build start
12
12
  CJS dist/index.js 450.58 KB
13
- CJS ⚡️ Build success in 1965ms
13
+ CJS ⚡️ Build success in 2100ms
14
14
  ESM dist/index.mjs 431.05 KB
15
- ESM ⚡️ Build success in 1966ms
16
- DTS ⚡️ Build success in 15759ms
15
+ ESM ⚡️ Build success in 2100ms
16
+ DTS ⚡️ Build success in 15663ms
17
17
  DTS dist/index.d.ts 343.51 KB
18
18
  DTS dist/index.d.mts 343.51 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 11.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f11e119: Set htmlFor correctly for label in ChoiceButton to link it to input
8
+
3
9
  ## 11.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -1022,8 +1022,8 @@ var ChoiceChip = react.forwardRef(
1022
1022
  return /* @__PURE__ */ React86__namespace.default.createElement(
1023
1023
  react.chakra.label,
1024
1024
  {
1025
- htmlFor: id,
1026
1025
  ...getRootProps(),
1026
+ htmlFor: id,
1027
1027
  "aria-label": String(children)
1028
1028
  },
1029
1029
  /* @__PURE__ */ React86__namespace.default.createElement(
package/dist/index.mjs CHANGED
@@ -1002,8 +1002,8 @@ var ChoiceChip = forwardRef(
1002
1002
  return /* @__PURE__ */ React86__default.createElement(
1003
1003
  chakra.label,
1004
1004
  {
1005
- htmlFor: id,
1006
1005
  ...getRootProps(),
1006
+ htmlFor: id,
1007
1007
  "aria-label": String(children)
1008
1008
  },
1009
1009
  /* @__PURE__ */ React86__default.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "11.2.0",
3
+ "version": "11.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -86,8 +86,8 @@ export const ChoiceChip = forwardRef(
86
86
 
87
87
  return (
88
88
  <chakra.label
89
- htmlFor={id}
90
89
  {...getRootProps()}
90
+ htmlFor={id}
91
91
  aria-label={String(children)}
92
92
  >
93
93
  <chakra.input