@sonardigital/carbon-ui 1.1.45 → 1.1.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonardigital/carbon-ui",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -13,7 +13,7 @@ interface MultiselectAutocompleteProps
13
13
  name: string;
14
14
  label: string;
15
15
  placeholder?: string;
16
- options: { label: string; value: string | number }[];
16
+ options?: { label: string; value: string | number }[];
17
17
  helperText?: string;
18
18
  fetchOptions?: () => Promise<{ label: string; value: string | number }[]>;
19
19
  }
@@ -12,7 +12,7 @@ interface SelectAutocompleteProps
12
12
  name: string;
13
13
  label: string;
14
14
  placeholder?: string;
15
- options: { label: string; value: string | number }[];
15
+ options?: { label: string; value: string | number }[];
16
16
  helperText?: string;
17
17
  fetchOptions?: () => Promise<{ label: string; value: string | number }[]>;
18
18
  }
@@ -5,7 +5,7 @@ import { RiCloseFill } from 'react-icons/ri';
5
5
  interface SelectAutocompleteProps
6
6
  extends Omit<
7
7
  AutocompleteProps<{ label: string; value: string | number }, false, false, false>,
8
- 'renderInput' | 'onChange' | 'value'
8
+ 'renderInput' | 'onChange' | 'value' | 'options'
9
9
  > {
10
10
  value: string | number | null;
11
11
  onChange: (value: string | number | null) => void;