@thecb/components 9.2.2-beta.1 → 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.esm.js
CHANGED
|
@@ -23984,7 +23984,7 @@ 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) {
|
|
@@ -24017,7 +24017,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24017
24017
|
return /*#__PURE__*/React.createElement(Box, {
|
|
24018
24018
|
padding: "0",
|
|
24019
24019
|
background: isOpen ? themeValues.hoverColor : WHITE,
|
|
24020
|
-
extraStyles: "position: relative;",
|
|
24020
|
+
extraStyles: "position: relative; margin-bottom: 1rem;",
|
|
24021
24021
|
minWidth: "100%",
|
|
24022
24022
|
onClick: function onClick() {
|
|
24023
24023
|
if (!isOpen) {
|
|
@@ -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");
|