@thecb/components 9.2.2-beta.2 → 9.2.2-beta.3
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
|
@@ -23992,7 +23992,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23992
23992
|
clearTimeout(timer);
|
|
23993
23993
|
setTimer(setTimeout(function () {
|
|
23994
23994
|
return setInputValue("");
|
|
23995
|
-
},
|
|
23995
|
+
}, 20000));
|
|
23996
23996
|
}
|
|
23997
23997
|
|
|
23998
23998
|
setFilteredOptions(options.filter(function (option) {
|
|
@@ -24025,7 +24025,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24025
24025
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
24026
24026
|
padding: "0",
|
|
24027
24027
|
background: isOpen ? themeValues.hoverColor : WHITE,
|
|
24028
|
-
extraStyles: "position: relative;",
|
|
24028
|
+
extraStyles: "position: relative; margin-bottom: 1rem;",
|
|
24029
24029
|
minWidth: "100%",
|
|
24030
24030
|
onClick: function onClick() {
|
|
24031
24031
|
if (!isOpen) {
|
|
@@ -24304,7 +24304,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24304
24304
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
24305
24305
|
direction: "row",
|
|
24306
24306
|
justify: "space-between"
|
|
24307
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24307
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24308
24308
|
color: ERROR_COLOR,
|
|
24309
24309
|
variant: "pXS",
|
|
24310
24310
|
weight: themeValues.fontWeight,
|
|
@@ -24313,7 +24313,9 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
24313
24313
|
"aria-live": "polite",
|
|
24314
24314
|
"aria-atomic": true,
|
|
24315
24315
|
"data-qa": createIdFromString(labelTextWhenNoError, "error message")
|
|
24316
|
-
},
|
|
24316
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24317
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
24318
|
+
})));
|
|
24317
24319
|
};
|
|
24318
24320
|
|
|
24319
24321
|
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
|