@box/blueprint-web 6.41.5 → 6.41.6

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.
@@ -19,7 +19,6 @@ const SearchInputControlled = /*#__PURE__*/forwardRef((props, forwardedRef) => {
19
19
  onKeyDown,
20
20
  onSubmit,
21
21
  placeholder = '',
22
- searchIconAriaLabel,
23
22
  searchInputAriaLabel,
24
23
  searchInputClearAriaLabel,
25
24
  searchInputClearButtonTooltip,
@@ -60,7 +59,7 @@ const SearchInputControlled = /*#__PURE__*/forwardRef((props, forwardedRef) => {
60
59
  return jsxs("div", {
61
60
  className: clsx(styles.search, className),
62
61
  children: [jsx(Search, {
63
- "aria-label": searchIconAriaLabel,
62
+ "aria-hidden": "true",
64
63
  className: clsx(styles.searchIcon, isGlobal && styles.global),
65
64
  color: IconIconOnLightSecondary
66
65
  }), jsx("input", {
@@ -30,7 +30,6 @@ const SearchInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
30
30
  onKeyDown,
31
31
  onSubmit,
32
32
  placeholder,
33
- searchIconAriaLabel,
34
33
  searchInputAriaLabel,
35
34
  searchInputClearAriaLabel,
36
35
  variant,
@@ -72,7 +71,7 @@ const SearchInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
72
71
  return jsxs("div", {
73
72
  className: clsx(styles.search, className),
74
73
  children: [jsx(Search, {
75
- "aria-label": searchIconAriaLabel,
74
+ "aria-hidden": "true",
76
75
  className: clsx(styles.searchIcon, isGlobal && styles.global),
77
76
  color: IconIconOnLightSecondary
78
77
  }), jsx("input", {
@@ -26,10 +26,6 @@ export interface SearchInputProps extends Omit<React.ComponentPropsWithRef<'inpu
26
26
  * Handler that is called when the SearchInput is submitted.
27
27
  */
28
28
  onSubmit?: (searchInputValue: string) => void;
29
- /**
30
- * Search through site content icon aria-label.
31
- */
32
- searchIconAriaLabel: string;
33
29
  /**
34
30
  * Search through site content input aria-label.
35
31
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.41.5",
3
+ "version": "6.41.6",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.7"
59
59
  },
60
- "gitHead": "0bc96094a0f38a70e9441a77566cb19c92b42193",
60
+ "gitHead": "92231a3f69b728344ce29f602205d309d34bbded",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {