@moda/om 21.6.7 → 21.6.8
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.
package/dist/index.cjs.js
CHANGED
|
@@ -10375,11 +10375,13 @@ var SearchInput = function SearchInput(_ref) {
|
|
|
10375
10375
|
return /*#__PURE__*/React.createElement("div", {
|
|
10376
10376
|
className: classNames('SearchInput', className)
|
|
10377
10377
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10378
|
-
className: "SearchInput__icon"
|
|
10378
|
+
className: "SearchInput__icon",
|
|
10379
|
+
"aria-hidden": "true"
|
|
10379
10380
|
}, /*#__PURE__*/React.createElement(Search20, {
|
|
10380
10381
|
height: "".concat(searchIconSize, "px"),
|
|
10381
10382
|
width: "".concat(searchIconSize, "px")
|
|
10382
10383
|
})), /*#__PURE__*/React.createElement(TextInput, _extends$1({
|
|
10384
|
+
type: "search",
|
|
10383
10385
|
className: classNames('SearchInput__input', {
|
|
10384
10386
|
'SearchInput__input--round-borders': roundBorders,
|
|
10385
10387
|
'SearchInput__input--no-borders': noBorders
|
|
@@ -10390,8 +10392,11 @@ var SearchInput = function SearchInput(_ref) {
|
|
|
10390
10392
|
}, rest)), controlledValue && /*#__PURE__*/React.createElement(Clickable, {
|
|
10391
10393
|
className: "SearchInput__clear",
|
|
10392
10394
|
onClick: handleClear,
|
|
10393
|
-
type: "reset"
|
|
10394
|
-
|
|
10395
|
+
type: "reset",
|
|
10396
|
+
"aria-label": "Clear search"
|
|
10397
|
+
}, /*#__PURE__*/React.createElement(Exit20, {
|
|
10398
|
+
"aria-hidden": "true"
|
|
10399
|
+
})));
|
|
10395
10400
|
};
|
|
10396
10401
|
|
|
10397
10402
|
var t = function t(_t) {
|