@adobe-commerce/elsie 2.0.0-beta.0 → 2.0.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @adobe-commerce/elsie
2
2
 
3
+ ## 2.0.0-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 256007e: Fix ToggleButton generating invalid HTML ids when value prop contains spaces, breaking aria-labelledby label association
8
+
3
9
  ## 2.0.0-beta.0
4
10
 
5
11
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe-commerce/elsie",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "Domain Package SDK",
6
6
  "engines": {
@@ -42,7 +42,7 @@ export const ToggleButton: FunctionComponent<ToggleButtonProps> = ({
42
42
  selected = true,
43
43
  ...props
44
44
  }) => {
45
- const contentId = `dropin-toggle-button__content-${name}-${value}`;
45
+ const contentId = `dropin-toggle-button__content-${name}-${value}`.replace(/\s+/g, '-');
46
46
 
47
47
  return (
48
48
  <div