@thecb/components 9.2.4-beta.19 → 9.2.4-beta.20

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
@@ -24000,7 +24000,7 @@ var Dropdown = function Dropdown(_ref13) {
24000
24000
  setFilteredOptions(options.filter(function (option) {
24001
24001
  var _option$value, _option$value$toLower, _option$text, _option$text$toLowerC;
24002
24002
 
24003
- return (option === null || option === void 0 ? void 0 : (_option$value = option.value) === null || _option$value === void 0 ? void 0 : (_option$value$toLower = _option$value.toLowerCase()) === null || _option$value$toLower === void 0 ? void 0 : _option$value$toLower.includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase())) || ((_option$text = option.text) === null || _option$text === void 0 ? void 0 : (_option$text$toLowerC = _option$text.toLowerCase()) === null || _option$text$toLowerC === void 0 ? void 0 : _option$text$toLowerC.includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase()));
24003
+ return (option === null || option === void 0 ? void 0 : (_option$value = option.value) === null || _option$value === void 0 ? void 0 : (_option$value$toLower = _option$value.toLowerCase()) === null || _option$value$toLower === void 0 ? void 0 : _option$value$toLower.indexOf(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase())) >= 0 || ((_option$text = option.text) === null || _option$text === void 0 ? void 0 : (_option$text$toLowerC = _option$text.toLowerCase()) === null || _option$text$toLowerC === void 0 ? void 0 : _option$text$toLowerC.indexOf(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase())) >= 0;
24004
24004
  }));
24005
24005
  }, [inputValue]);
24006
24006
  React.useEffect(function () {