ui-mathilde-web 0.5.2 → 0.6.0
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/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +43 -2
- package/dist/ui-mathilde-web.js +1078 -1007
- package/dist/ui-mathilde-web.umd.cjs +36 -39
- package/package.json +1 -1
|
@@ -100,6 +100,32 @@ declare interface CheckboxProps {
|
|
|
100
100
|
onChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
declare interface ChipColors {
|
|
104
|
+
backgroundColor?: string;
|
|
105
|
+
textColor?: string;
|
|
106
|
+
closeButtonBackgroundColor?: string;
|
|
107
|
+
closeButtonTextColor?: string;
|
|
108
|
+
borderRadius?: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare interface ChipItem {
|
|
112
|
+
id: string;
|
|
113
|
+
name: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export declare const ChipList: default_2.FC<ChipListProps>;
|
|
117
|
+
|
|
118
|
+
declare interface ChipListProps {
|
|
119
|
+
items: ChipItem[];
|
|
120
|
+
title?: string;
|
|
121
|
+
onRemove: (id: string) => void;
|
|
122
|
+
colors?: ChipColors;
|
|
123
|
+
className?: string;
|
|
124
|
+
containerClassName?: string;
|
|
125
|
+
titleClassName?: string;
|
|
126
|
+
showTitle?: boolean;
|
|
127
|
+
}
|
|
128
|
+
|
|
103
129
|
declare interface Column {
|
|
104
130
|
header: string;
|
|
105
131
|
relation: string;
|
|
@@ -497,13 +523,28 @@ declare interface TermsCheckboxProps {
|
|
|
497
523
|
label?: string;
|
|
498
524
|
}
|
|
499
525
|
|
|
500
|
-
export declare function Toggle({
|
|
526
|
+
export declare function Toggle({ labelIzquierda, labelDerecha, checkedLabel, uncheckedLabel, checked, disabled, onChange, colors, labelPosition, boldWhenActive, }: ToggleProps): JSX_2.Element;
|
|
527
|
+
|
|
528
|
+
declare interface ToggleColors {
|
|
529
|
+
offBackgroundColor?: string;
|
|
530
|
+
offCircleColor?: string;
|
|
531
|
+
offCircleBorderColor?: string;
|
|
532
|
+
onBackgroundColor?: string;
|
|
533
|
+
onCircleColor?: string;
|
|
534
|
+
onCircleBorderColor?: string;
|
|
535
|
+
}
|
|
501
536
|
|
|
502
537
|
declare interface ToggleProps {
|
|
503
|
-
|
|
538
|
+
labelIzquierda?: string;
|
|
539
|
+
labelDerecha?: string;
|
|
540
|
+
checkedLabel?: string;
|
|
541
|
+
uncheckedLabel?: string;
|
|
504
542
|
checked?: boolean;
|
|
505
543
|
disabled?: boolean;
|
|
506
544
|
onChange?: (checked: boolean) => void;
|
|
545
|
+
colors?: ToggleColors;
|
|
546
|
+
labelPosition?: 'left' | 'right' | 'both';
|
|
547
|
+
boldWhenActive?: boolean;
|
|
507
548
|
}
|
|
508
549
|
|
|
509
550
|
declare interface ValidationListProps {
|