@sproutsocial/seeds-react-menu 1.11.9 → 1.12.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,28 +8,28 @@ $ tsup --dts
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/esm/v2/index.js 62.63 KB
12
- ESM dist/esm/index.js 73.57 KB
13
- ESM dist/esm/v3/index.js 82.62 KB
14
- ESM dist/esm/chunk-ROQATIB7.js 9.15 KB
15
- ESM dist/esm/index.js.map 156.22 KB
16
- ESM dist/esm/v3/index.js.map 162.12 KB
17
- ESM dist/esm/v2/index.js.map 132.57 KB
18
- ESM dist/esm/chunk-ROQATIB7.js.map 22.93 KB
19
- ESM ⚡️ Build success in 75ms
20
- CJS dist/index.js 92.62 KB
21
- CJS dist/v3/index.js 93.77 KB
11
+ CJS dist/index.js 92.65 KB
12
+ CJS dist/v3/index.js 94.25 KB
22
13
  CJS dist/v2/index.js 73.18 KB
23
- CJS dist/index.js.map 180.20 KB
24
- CJS dist/v3/index.js.map 162.08 KB
14
+ CJS dist/index.js.map 180.28 KB
15
+ CJS dist/v3/index.js.map 162.97 KB
25
16
  CJS dist/v2/index.js.map 152.19 KB
26
- CJS ⚡️ Build success in 76ms
17
+ CJS ⚡️ Build success in 68ms
18
+ ESM dist/esm/index.js 73.60 KB
19
+ ESM dist/esm/chunk-ROQATIB7.js 9.15 KB
20
+ ESM dist/esm/v2/index.js 62.63 KB
21
+ ESM dist/esm/v3/index.js 83.10 KB
22
+ ESM dist/esm/index.js.map 156.29 KB
23
+ ESM dist/esm/chunk-ROQATIB7.js.map 22.93 KB
24
+ ESM dist/esm/v2/index.js.map 132.57 KB
25
+ ESM dist/esm/v3/index.js.map 163.02 KB
26
+ ESM ⚡️ Build success in 68ms
27
27
  DTS Build start
28
- DTS ⚡️ Build success in 6911ms
29
- DTS dist/index.d.ts 39.08 KB
28
+ DTS ⚡️ Build success in 6332ms
29
+ DTS dist/index.d.ts 39.11 KB
30
30
  DTS dist/v2/index.d.ts 5.55 KB
31
- DTS dist/v3/index.d.ts 17.90 KB
32
- DTS dist/index.d.mts 39.08 KB
31
+ DTS dist/v3/index.d.ts 17.99 KB
32
+ DTS dist/index.d.mts 39.11 KB
33
33
  DTS dist/v2/index.d.mts 5.55 KB
34
- DTS dist/v3/index.d.mts 17.90 KB
35
- Done in 7.71s.
34
+ DTS dist/v3/index.d.mts 17.99 KB
35
+ Done in 7.04s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sproutsocial/seeds-react-menu
2
2
 
3
+ ## 1.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - bea3d69: 3 bugfixes for base-ui combobox items
8
+
9
+ ## 1.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 94c7330: a11y fixes on search input and group labels
14
+
3
15
  ## 1.11.9
4
16
 
5
17
  ### Patch Changes
package/dist/esm/index.js CHANGED
@@ -588,7 +588,7 @@ var StyledMenuGroupUl = styled4.ul`
588
588
  // src/MenuGroup/MenuGroup.tsx
589
589
  import { jsx as jsx8, jsxs as jsxs3 } from "react/jsx-runtime";
590
590
  var MenuGroup = ({
591
- titleAs = "h3",
591
+ titleAs = "div",
592
592
  children: childrenProp,
593
593
  title,
594
594
  color: color3,
@@ -622,7 +622,7 @@ var MenuGroup = ({
622
622
  color: color3,
623
623
  ...rest,
624
624
  children: [
625
- title && /* @__PURE__ */ jsx8(StyledTitle, { role: "heading", as: titleAs, id: titleId, children: title }),
625
+ title && /* @__PURE__ */ jsx8(StyledTitle, { as: titleAs, id: titleId, children: title }),
626
626
  /* @__PURE__ */ jsx8(
627
627
  StyledMenuGroupUl,
628
628
  {
@@ -873,6 +873,7 @@ var MenuSearchInput = ({
873
873
  getIsItemVisible,
874
874
  inputProps,
875
875
  onChange,
876
+ "aria-label": ariaLabel,
876
877
  ...restInputProps
877
878
  }) => {
878
879
  const {
@@ -908,8 +909,9 @@ var MenuSearchInput = ({
908
909
  },
909
910
  onKeyDown: handleKeyDown,
910
911
  autoComplete: false,
911
- "aria-autocomplete": "list",
912
+ ariaLabel,
912
913
  inputProps: {
914
+ ["aria-autocomplete"]: "list",
913
915
  ["aria-activedescendant"]: toggleButtonProps["aria-activedescendant"],
914
916
  ["aria-controls"]: toggleButtonProps["aria-controls"],
915
917
  ...inputProps