@sproutsocial/seeds-react-menu 1.6.16 → 1.7.0

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.
@@ -8,14 +8,14 @@ $ tsup --dts
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/esm/index.js 134.35 KB
12
- ESM dist/esm/index.js.map 370.71 KB
13
- ESM ⚡️ Build success in 365ms
14
- CJS dist/index.js 144.31 KB
15
- CJS dist/index.js.map 372.00 KB
16
- CJS ⚡️ Build success in 378ms
11
+ CJS dist/index.js 144.65 KB
12
+ CJS dist/index.js.map 372.90 KB
13
+ CJS ⚡️ Build success in 377ms
14
+ ESM dist/esm/index.js 134.70 KB
15
+ ESM dist/esm/index.js.map 371.61 KB
16
+ ESM ⚡️ Build success in 380ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 8851ms
18
+ DTS ⚡️ Build success in 8798ms
19
19
  DTS dist/index.d.ts 39.03 KB
20
20
  DTS dist/index.d.mts 39.03 KB
21
- Done in 10.25s.
21
+ Done in 10.21s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @sproutsocial/seeds-react-menu
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4a8dc04: Correct aria-attributes that are provided by downshift
8
+
9
+ ## 1.6.17
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [fa7579a]
14
+ - @sproutsocial/seeds-react-theme@3.2.1
15
+ - @sproutsocial/seeds-react-box@1.1.7
16
+ - @sproutsocial/seeds-react-icon@2.0.1
17
+ - @sproutsocial/seeds-react-label@1.0.6
18
+ - @sproutsocial/seeds-react-token-input@1.4.12
19
+ - @sproutsocial/seeds-react-popout@2.4.12
20
+ - @sproutsocial/seeds-react-checkbox@1.3.9
21
+ - @sproutsocial/seeds-react-input@1.4.12
22
+ - @sproutsocial/seeds-react-button@1.3.6
23
+ - @sproutsocial/seeds-react-switch@1.2.9
24
+ - @sproutsocial/seeds-react-radio@1.3.5
25
+
3
26
  ## 1.6.16
4
27
 
5
28
  ### Patch Changes
package/dist/esm/index.js CHANGED
@@ -2796,6 +2796,15 @@ var MenuToggleButton = (props) => {
2796
2796
  ...ariaProps,
2797
2797
  ...isListbox ? {} : { role: "button", "aria-haspopup": "menu" }
2798
2798
  });
2799
+ if (toggleButtonProps && toggleButtonProps["aria-activedescendant"] === "") {
2800
+ toggleButtonProps["aria-activedescendant"] = void 0;
2801
+ }
2802
+ if (toggleButtonProps && toggleButtonProps["aria-expanded"] === false) {
2803
+ toggleButtonProps["aria-controls"] = void 0;
2804
+ }
2805
+ if (toggleButtonProps) {
2806
+ toggleButtonProps["aria-labelledby"] = void 0;
2807
+ }
2799
2808
  return /* @__PURE__ */ jsx13(Button, { appearance: "secondary", ...toggleButtonProps, ...restProps });
2800
2809
  };
2801
2810