ui-mathilde-web 0.5.1 → 0.5.3

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.
@@ -162,7 +162,7 @@ declare interface DropdownItemProps {
162
162
  checked?: boolean;
163
163
  }
164
164
 
165
- export declare const DropdownList: default_2.FC<DropdownListProps>;
165
+ export declare const DropdownList: ({ onSelect, items, placeholder, fetchItems, minCharsToSearch, debounceMs, classIncludes, }: DropdownListProps) => JSX_2.Element;
166
166
 
167
167
  declare interface DropdownListProps {
168
168
  items?: DropdownItem[];
@@ -172,6 +172,7 @@ declare interface DropdownListProps {
172
172
  fetchItems?: (query: string) => Promise<DropdownItem[]>;
173
173
  minCharsToSearch?: number;
174
174
  debounceMs?: number;
175
+ classIncludes?: string;
175
176
  }
176
177
 
177
178
  declare type DropdownMode = 'simple' | 'checkbox';
@@ -496,13 +497,28 @@ declare interface TermsCheckboxProps {
496
497
  label?: string;
497
498
  }
498
499
 
499
- export declare function Toggle({ label, checked, disabled, onChange, }: ToggleProps): JSX_2.Element;
500
+ export declare function Toggle({ labelIzquierda, labelDerecha, checkedLabel, uncheckedLabel, checked, disabled, onChange, colors, labelPosition, boldWhenActive, }: ToggleProps): JSX_2.Element;
501
+
502
+ declare interface ToggleColors {
503
+ offBackgroundColor?: string;
504
+ offCircleColor?: string;
505
+ offCircleBorderColor?: string;
506
+ onBackgroundColor?: string;
507
+ onCircleColor?: string;
508
+ onCircleBorderColor?: string;
509
+ }
500
510
 
501
511
  declare interface ToggleProps {
502
- label?: string;
512
+ labelIzquierda?: string;
513
+ labelDerecha?: string;
514
+ checkedLabel?: string;
515
+ uncheckedLabel?: string;
503
516
  checked?: boolean;
504
517
  disabled?: boolean;
505
518
  onChange?: (checked: boolean) => void;
519
+ colors?: ToggleColors;
520
+ labelPosition?: 'left' | 'right' | 'both';
521
+ boldWhenActive?: boolean;
506
522
  }
507
523
 
508
524
  declare interface ValidationListProps {