@myunisoft/design-system 1.2.9-rev396.6 → 1.2.9-rev396.8

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.
@@ -1,4 +1,5 @@
1
1
  declare const BasicExample: () => import("react/jsx-runtime").JSX.Element;
2
2
  declare const CustomOptionExample: () => import("react/jsx-runtime").JSX.Element;
3
3
  declare const ProductExample: () => import("react/jsx-runtime").JSX.Element;
4
- export { BasicExample, CustomOptionExample, ProductExample };
4
+ declare const MaxVisibleOptionsExample: () => import("react/jsx-runtime").JSX.Element;
5
+ export { BasicExample, CustomOptionExample, ProductExample, MaxVisibleOptionsExample };
@@ -3,6 +3,7 @@ import type { AutocompleteRenderOptionState, ChipProps, AutocompleteProps as Mui
3
3
  import type { InputProps as StandardInputProps } from '@mui/material/Input/Input';
4
4
  export type OptionType = {
5
5
  id?: string | number;
6
+ value?: string | number;
6
7
  label?: string;
7
8
  /**
8
9
  * @deprecated Use value instead
@@ -37,6 +38,7 @@ export type AutocompleteBaseProps<T = OptionType> = {
37
38
  isOptionEqualToValue?: (option: T, value: T) => boolean;
38
39
  placeholder?: string;
39
40
  minListWidth?: number;
41
+ maxVisibleOptions?: number;
40
42
  helperText?: string;
41
43
  };
42
44
  export type AutocompleteMultipleProps<T = OptionType> = Omit<MuiAutocompleteProps<T, true, false, false>, 'renderInput' | 'renderOption' | 'value' | 'multiple' | 'onChange'> & AutocompleteBaseProps<T> & {