revdev-components 0.64.0 → 0.66.0

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/build/index.js CHANGED
@@ -5220,7 +5220,7 @@ function OptionsAutocomplete(_a) {
5220
5220
  }, []);
5221
5221
  useDebounceEffect(300, function () {
5222
5222
  if (text) {
5223
- requestAction(text);
5223
+ requestAction(text, options);
5224
5224
  }
5225
5225
  else {
5226
5226
  setOptions([]);
@@ -3,11 +3,11 @@ import { ValueOption } from "src/interfaces";
3
3
  interface Props<T> {
4
4
  onChange: (options: string[]) => void;
5
5
  placeholder?: string;
6
- requestAction: (text: string) => void;
6
+ requestAction: (text: string, options: ValueOption[]) => void;
7
7
  requestResponse: {
8
8
  isSuccess: boolean;
9
9
  isLoading: boolean;
10
- data: T[];
10
+ data?: T[];
11
11
  };
12
12
  optionMapper: (item: T, index: number) => ValueOption;
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.64.0",
3
+ "version": "0.66.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {