@thecb/components 9.2.2-beta.3 → 9.2.2
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
|
@@ -23988,7 +23988,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
23988
23988
|
}
|
|
23989
23989
|
|
|
23990
23990
|
setFilteredOptions(options.filter(function (option) {
|
|
23991
|
-
return option.value.toLowerCase().match(inputValue.toLowerCase());
|
|
23991
|
+
return option.value.toLowerCase().match(inputValue.toLowerCase()) || option.text.toLowerCase().match(inputValue.toLowerCase());
|
|
23992
23992
|
}));
|
|
23993
23993
|
}, [inputValue]);
|
|
23994
23994
|
useEffect$1(function () {
|
|
@@ -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;",
|
|
24021
24021
|
minWidth: "100%",
|
|
24022
24022
|
onClick: function onClick() {
|
|
24023
24023
|
if (!isOpen) {
|