ui-mathilde-web 0.12.1 → 0.12.2

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.
@@ -456,21 +456,21 @@ declare interface DropdownListProps {
456
456
  disabled?: boolean;
457
457
  }
458
458
 
459
- export declare const DropdownListWithCheckbox: ({ onSelect, items, placeholder, fetchItems, minCharsToSearch, debounceMs, classIncludes, iconSearch, disabled, selectedItems, selectAll, }: DropdownListWithCheckboxProps) => JSX_2.Element;
459
+ export declare const DropdownListWithCheckbox: ({ items, fetchItems, value, defaultValue, onChange, selectAll, placeholder, disabled, iconSearch, minCharsToSearch, debounceMs, className, }: DropdownListWithCheckboxProps) => JSX_2.Element;
460
460
 
461
461
  declare interface DropdownListWithCheckboxProps {
462
462
  items?: DropdownItemWithCheckbox[];
463
- placeholder?: string;
464
- onSelect?: (items: DropdownItemWithCheckbox[]) => void;
465
- selectedItems?: DropdownItemWithCheckbox[];
463
+ fetchItems?: (q: string) => Promise<DropdownItemWithCheckbox[]>;
464
+ value?: DropdownItemWithCheckbox[];
465
+ defaultValue?: DropdownItemWithCheckbox[];
466
+ onChange?: (items: DropdownItemWithCheckbox[]) => void;
466
467
  selectAll?: boolean;
467
- onSelectAllChange?: (isSelectAll: boolean) => void;
468
- fetchItems?: (query: string) => Promise<DropdownItemWithCheckbox[]>;
468
+ placeholder?: string;
469
+ disabled?: boolean;
470
+ iconSearch?: boolean;
469
471
  minCharsToSearch?: number;
470
472
  debounceMs?: number;
471
- classIncludes?: string;
472
- iconSearch?: boolean;
473
- disabled?: boolean;
473
+ className?: string;
474
474
  }
475
475
 
476
476
  declare type DropdownMode = 'simple' | 'checkbox';