@sproutsocial/seeds-react-menu 1.6.17 → 1.7.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.
@@ -8,14 +8,14 @@ $ tsup --dts
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 144.31 KB
12
- CJS dist/index.js.map 372.00 KB
13
- CJS ⚡️ Build success in 388ms
14
- ESM dist/esm/index.js 134.35 KB
15
- ESM dist/esm/index.js.map 370.71 KB
16
- ESM ⚡️ Build success in 388ms
11
+ CJS dist/index.js 144.65 KB
12
+ CJS dist/index.js.map 372.90 KB
13
+ CJS ⚡️ Build success in 359ms
14
+ ESM dist/esm/index.js 134.70 KB
15
+ ESM dist/esm/index.js.map 371.61 KB
16
+ ESM ⚡️ Build success in 360ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 8775ms
18
+ DTS ⚡️ Build success in 8916ms
19
19
  DTS dist/index.d.ts 39.03 KB
20
20
  DTS dist/index.d.mts 39.03 KB
21
- Done in 10.18s.
21
+ Done in 10.29s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @sproutsocial/seeds-react-menu
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @sproutsocial/seeds-react-icon@2.0.2
8
+ - @sproutsocial/seeds-react-button@1.3.7
9
+ - @sproutsocial/seeds-react-checkbox@1.3.10
10
+ - @sproutsocial/seeds-react-input@1.4.13
11
+ - @sproutsocial/seeds-react-switch@1.2.10
12
+ - @sproutsocial/seeds-react-token-input@1.4.13
13
+ - @sproutsocial/seeds-react-popout@2.4.13
14
+
15
+ ## 1.7.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 4a8dc04: Correct aria-attributes that are provided by downshift
20
+
3
21
  ## 1.6.17
4
22
 
5
23
  ### 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