@thecb/components 9.2.2-beta.3 → 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.cjs.js
CHANGED
|
@@ -23996,7 +23996,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23996
23996
|
}
|
|
23997
23997
|
|
|
23998
23998
|
setFilteredOptions(options.filter(function (option) {
|
|
23999
|
-
return option.value.toLowerCase().match(inputValue.toLowerCase());
|
|
23999
|
+
return option.value.toLowerCase().match(inputValue.toLowerCase()) || option.text.toLowerCase().match(inputValue.toLowerCase());
|
|
24000
24000
|
}));
|
|
24001
24001
|
}, [inputValue]);
|
|
24002
24002
|
React.useEffect(function () {
|
|
@@ -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;",
|
|
24029
24029
|
minWidth: "100%",
|
|
24030
24030
|
onClick: function onClick() {
|
|
24031
24031
|
if (!isOpen) {
|