pillardash-ui-react 0.1.18 → 0.1.19

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.d.ts CHANGED
@@ -89,16 +89,16 @@ interface SearchProps {
89
89
  }
90
90
  declare function Search({ placeholder, onSearch, className, }: SearchProps): react_jsx_runtime.JSX.Element;
91
91
 
92
- type SelectOption = {
92
+ interface SelectOption {
93
93
  value: string;
94
94
  label?: string;
95
95
  disabled?: boolean;
96
- };
96
+ }
97
97
  type SelectProps = {
98
98
  options: SelectOption[];
99
99
  placeholder?: string;
100
- onChange: (value: React.ChangeEvent<HTMLSelectElement>) => void;
101
- value?: string;
100
+ onChange: (value: React$1.ChangeEvent<HTMLSelectElement>) => void;
101
+ value?: string | string[];
102
102
  size?: "sm" | "md" | "lg";
103
103
  className?: string;
104
104
  name?: string;
@@ -110,8 +110,12 @@ type SelectProps = {
110
110
  helpText?: string;
111
111
  fullWidth?: boolean;
112
112
  searchable?: boolean;
113
+ multiple?: boolean;
114
+ maxSelected?: number;
115
+ showSelectedCount?: boolean;
116
+ closeOnSelect?: boolean;
113
117
  };
114
- declare function Select({ options, placeholder, onChange, value, size, className, name, id, disabled, label, required, error, helpText, fullWidth, searchable, }: SelectProps): react_jsx_runtime.JSX.Element;
118
+ declare function Select({ options, placeholder, onChange, value, size, className, name, id, disabled, label, required, error, helpText, fullWidth, searchable, multiple, maxSelected, showSelectedCount, closeOnSelect, }: SelectProps): react_jsx_runtime.JSX.Element;
115
119
 
116
120
  interface TextEditorProps {
117
121
  initialContent?: string;