@thecb/components 6.0.0-beta.6 → 6.0.0-beta.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.
- package/dist/index.cjs.js +9 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -5
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/country-dropdown/CountryDropdown.js +1 -0
- package/src/components/atoms/dropdown/Dropdown.js +1 -1
- package/src/components/atoms/form-select/FormSelect.js +3 -1
- package/src/components/atoms/state-province-dropdown/StateProvinceDropdown.js +1 -0
package/dist/index.esm.js
CHANGED
|
@@ -19614,7 +19614,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
19614
19614
|
clearTimeout(timer);
|
|
19615
19615
|
setTimer(setTimeout(function () {
|
|
19616
19616
|
return setInputValue("");
|
|
19617
|
-
},
|
|
19617
|
+
}, 5000));
|
|
19618
19618
|
}
|
|
19619
19619
|
|
|
19620
19620
|
setFilteredOptions(options.filter(function (option) {
|
|
@@ -19821,7 +19821,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19821
19821
|
disabled = _ref.disabled,
|
|
19822
19822
|
themeValues = _ref.themeValues,
|
|
19823
19823
|
_ref$hasTitles = _ref.hasTitles,
|
|
19824
|
-
hasTitles = _ref$hasTitles === void 0 ? false : _ref$hasTitles
|
|
19824
|
+
hasTitles = _ref$hasTitles === void 0 ? false : _ref$hasTitles,
|
|
19825
|
+
autocompleteValue = _ref.autocompleteValue;
|
|
19825
19826
|
|
|
19826
19827
|
var _useState = useState(false),
|
|
19827
19828
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -19876,7 +19877,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19876
19877
|
onClick: function onClick() {
|
|
19877
19878
|
return setOpen(!open);
|
|
19878
19879
|
},
|
|
19879
|
-
disabled: disabled
|
|
19880
|
+
disabled: disabled,
|
|
19881
|
+
autocompleteValue: autocompleteValue
|
|
19880
19882
|
}), /*#__PURE__*/React.createElement(Stack, {
|
|
19881
19883
|
direction: "row",
|
|
19882
19884
|
justify: "space-between"
|
|
@@ -20649,7 +20651,8 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20649
20651
|
labelTextWhenNoError: labelTextWhenNoError,
|
|
20650
20652
|
errorMessages: errorMessages,
|
|
20651
20653
|
showErrors: showErrors,
|
|
20652
|
-
onChange: onChange
|
|
20654
|
+
onChange: onChange,
|
|
20655
|
+
autocompleteValue: "country-name"
|
|
20653
20656
|
});
|
|
20654
20657
|
};
|
|
20655
20658
|
|
|
@@ -33065,7 +33068,8 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
|
|
|
33065
33068
|
fieldActions: fieldActions,
|
|
33066
33069
|
labelTextWhenNoError: labelTextWhenNoError,
|
|
33067
33070
|
errorMessages: errorMessages,
|
|
33068
|
-
showErrors: showErrors
|
|
33071
|
+
showErrors: showErrors,
|
|
33072
|
+
autocompleteValue: "address-level1"
|
|
33069
33073
|
});
|
|
33070
33074
|
};
|
|
33071
33075
|
|