@mirantes-micro/foundation-design-system 1.0.20 → 1.0.22

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -2
  2. package/dist/index.js +37 -37
  3. package/package.json +117 -116
package/dist/index.d.ts CHANGED
@@ -286,7 +286,7 @@ type Option = {
286
286
  type CustomSelectInputProps = {
287
287
  options: Option[];
288
288
  value?: string;
289
- onChange?: (id: string) => void;
289
+ onChange?: (option: Option) => void;
290
290
  placeholder?: string;
291
291
  className?: string;
292
292
  enableSearch?: boolean;
@@ -296,8 +296,10 @@ type CustomSelectInputProps = {
296
296
  label?: string;
297
297
  error?: string;
298
298
  disabled?: boolean;
299
+ onSearch?: (query: string) => void;
300
+ isLoading?: boolean;
299
301
  };
300
- declare function CustomSelectInput({ options, value, onChange, placeholder, className, enableSearch, floattable, required, showCheck, label, error, disabled, }: CustomSelectInputProps): React$1.JSX.Element;
302
+ declare function CustomSelectInput({ options, value, onChange, placeholder, className, enableSearch, floattable, required, showCheck, label, error, disabled, onSearch, isLoading, }: CustomSelectInputProps): React$1.JSX.Element;
301
303
 
302
304
  type ButtonProps = {
303
305
  children: React__default.ReactNode;