@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.cjs.js
CHANGED
|
@@ -19622,7 +19622,7 @@ var Dropdown = function Dropdown(_ref8) {
|
|
|
19622
19622
|
clearTimeout(timer);
|
|
19623
19623
|
setTimer(setTimeout(function () {
|
|
19624
19624
|
return setInputValue("");
|
|
19625
|
-
},
|
|
19625
|
+
}, 5000));
|
|
19626
19626
|
}
|
|
19627
19627
|
|
|
19628
19628
|
setFilteredOptions(options.filter(function (option) {
|
|
@@ -19829,7 +19829,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19829
19829
|
disabled = _ref.disabled,
|
|
19830
19830
|
themeValues = _ref.themeValues,
|
|
19831
19831
|
_ref$hasTitles = _ref.hasTitles,
|
|
19832
|
-
hasTitles = _ref$hasTitles === void 0 ? false : _ref$hasTitles
|
|
19832
|
+
hasTitles = _ref$hasTitles === void 0 ? false : _ref$hasTitles,
|
|
19833
|
+
autocompleteValue = _ref.autocompleteValue;
|
|
19833
19834
|
|
|
19834
19835
|
var _useState = React.useState(false),
|
|
19835
19836
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -19884,7 +19885,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19884
19885
|
onClick: function onClick() {
|
|
19885
19886
|
return setOpen(!open);
|
|
19886
19887
|
},
|
|
19887
|
-
disabled: disabled
|
|
19888
|
+
disabled: disabled,
|
|
19889
|
+
autocompleteValue: autocompleteValue
|
|
19888
19890
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
19889
19891
|
direction: "row",
|
|
19890
19892
|
justify: "space-between"
|
|
@@ -20657,7 +20659,8 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20657
20659
|
labelTextWhenNoError: labelTextWhenNoError,
|
|
20658
20660
|
errorMessages: errorMessages,
|
|
20659
20661
|
showErrors: showErrors,
|
|
20660
|
-
onChange: onChange
|
|
20662
|
+
onChange: onChange,
|
|
20663
|
+
autocompleteValue: "country-name"
|
|
20661
20664
|
});
|
|
20662
20665
|
};
|
|
20663
20666
|
|
|
@@ -33073,7 +33076,8 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
|
|
|
33073
33076
|
fieldActions: fieldActions,
|
|
33074
33077
|
labelTextWhenNoError: labelTextWhenNoError,
|
|
33075
33078
|
errorMessages: errorMessages,
|
|
33076
|
-
showErrors: showErrors
|
|
33079
|
+
showErrors: showErrors,
|
|
33080
|
+
autocompleteValue: "address-level1"
|
|
33077
33081
|
});
|
|
33078
33082
|
};
|
|
33079
33083
|
|