pixelize-design-library 1.1.37 → 1.1.38

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.
@@ -324,6 +324,9 @@ function SelectSearch(_a) {
324
324
  var filteredOptions = (0, react_1.useMemo)(function () {
325
325
  return options.filter(function (option) { var _a, _b; return (_a = option.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes((_b = (inputValue !== null && inputValue !== void 0 ? inputValue : "")) === null || _b === void 0 ? void 0 : _b.toLowerCase()); });
326
326
  }, [options, inputValue]);
327
+ (0, react_1.useEffect)(function () {
328
+ setInputValue(searchQuery);
329
+ }, [searchQuery]);
327
330
  // const handleOptionClick = useCallback(
328
331
  // (option: selectOptions) => {
329
332
  // if (isMultipleSelect) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "1.1.37",
3
+ "version": "1.1.38",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",