ui-mathilde-web 0.5.2 → 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.
@@ -497,13 +497,28 @@ declare interface TermsCheckboxProps {
497
497
  label?: string;
498
498
  }
499
499
 
500
- 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
+ }
501
510
 
502
511
  declare interface ToggleProps {
503
- label?: string;
512
+ labelIzquierda?: string;
513
+ labelDerecha?: string;
514
+ checkedLabel?: string;
515
+ uncheckedLabel?: string;
504
516
  checked?: boolean;
505
517
  disabled?: boolean;
506
518
  onChange?: (checked: boolean) => void;
519
+ colors?: ToggleColors;
520
+ labelPosition?: 'left' | 'right' | 'both';
521
+ boldWhenActive?: boolean;
507
522
  }
508
523
 
509
524
  declare interface ValidationListProps {