@thecb/components 9.2.2-beta.2 → 9.2.2-beta.4
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.esm.js
CHANGED
|
@@ -23984,11 +23984,11 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23984
23984
|
clearTimeout(timer);
|
|
23985
23985
|
setTimer(setTimeout(function () {
|
|
23986
23986
|
return setInputValue("");
|
|
23987
|
-
},
|
|
23987
|
+
}, 20000));
|
|
23988
23988
|
}
|
|
23989
23989
|
|
|
23990
23990
|
setFilteredOptions(options.filter(function (option) {
|
|
23991
|
-
return option.value.toLowerCase().match(inputValue.toLowerCase());
|
|
23991
|
+
return option.value.toLowerCase().match(inputValue.toLowerCase()) || option.text.toLowerCase().match(inputValue.toLowerCase());
|
|
23992
23992
|
}));
|
|
23993
23993
|
}, [inputValue]);
|
|
23994
23994
|
useEffect$1(function () {
|
|
@@ -24296,7 +24296,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24296
24296
|
}), /*#__PURE__*/React.createElement(Stack, {
|
|
24297
24297
|
direction: "row",
|
|
24298
24298
|
justify: "space-between"
|
|
24299
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
24299
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React.createElement(Text$1, {
|
|
24300
24300
|
color: ERROR_COLOR,
|
|
24301
24301
|
variant: "pXS",
|
|
24302
24302
|
weight: themeValues.fontWeight,
|
|
@@ -24305,7 +24305,9 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24305
24305
|
"aria-live": "polite",
|
|
24306
24306
|
"aria-atomic": true,
|
|
24307
24307
|
"data-qa": createIdFromString(labelTextWhenNoError, "error message")
|
|
24308
|
-
},
|
|
24308
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React.createElement(Text$1, {
|
|
24309
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
24310
|
+
})));
|
|
24309
24311
|
};
|
|
24310
24312
|
|
|
24311
24313
|
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|