carbon-react 146.4.6 → 146.4.7

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.
@@ -24,7 +24,7 @@ const Search = /*#__PURE__*/React.forwardRef(({
24
24
  searchWidth,
25
25
  maxWidth,
26
26
  searchButton,
27
- searchButtonAriaLabel = "search button",
27
+ searchButtonAriaLabel,
28
28
  placeholder,
29
29
  variant = "default",
30
30
  "aria-label": ariaLabel = "search",
@@ -168,7 +168,7 @@ const Search = /*#__PURE__*/React.forwardRef(({
168
168
  }) : undefined,
169
169
  tooltipPosition: tooltipPosition
170
170
  }), searchButton && /*#__PURE__*/React.createElement(StyledSearchButton, null, /*#__PURE__*/React.createElement(Button, _extends({
171
- "aria-label": searchButtonAriaLabel,
171
+ "aria-label": searchButtonAriaLabel || searchButtonText,
172
172
  size: "medium",
173
173
  px: 2,
174
174
  buttonType: "primary",
@@ -33,7 +33,7 @@ const Search = exports.Search = /*#__PURE__*/_react.default.forwardRef(({
33
33
  searchWidth,
34
34
  maxWidth,
35
35
  searchButton,
36
- searchButtonAriaLabel = "search button",
36
+ searchButtonAriaLabel,
37
37
  placeholder,
38
38
  variant = "default",
39
39
  "aria-label": ariaLabel = "search",
@@ -177,7 +177,7 @@ const Search = exports.Search = /*#__PURE__*/_react.default.forwardRef(({
177
177
  }) : undefined,
178
178
  tooltipPosition: tooltipPosition
179
179
  }), searchButton && /*#__PURE__*/_react.default.createElement(_searchButton.default, null, /*#__PURE__*/_react.default.createElement(_button.default, _extends({
180
- "aria-label": searchButtonAriaLabel,
180
+ "aria-label": searchButtonAriaLabel || searchButtonText,
181
181
  size: "medium",
182
182
  px: 2,
183
183
  buttonType: "primary",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "146.4.6",
3
+ "version": "146.4.7",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",