ui-mathilde-web 0.12.0 → 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.
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +20 -18
- package/dist/ui-mathilde-web.js +6184 -6164
- package/dist/ui-mathilde-web.umd.cjs +48 -48
- package/package.json +1 -1
|
@@ -244,6 +244,7 @@ declare interface CheckboxProps {
|
|
|
244
244
|
checked: boolean;
|
|
245
245
|
isTerms?: boolean;
|
|
246
246
|
onChange: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
247
|
+
icono?: string;
|
|
247
248
|
}
|
|
248
249
|
|
|
249
250
|
declare interface ChipColors {
|
|
@@ -424,12 +425,6 @@ declare interface DropdownItem {
|
|
|
424
425
|
value: string | number;
|
|
425
426
|
}
|
|
426
427
|
|
|
427
|
-
declare interface DropdownItem_2 {
|
|
428
|
-
id: string | number;
|
|
429
|
-
label: string;
|
|
430
|
-
value: string | number;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
428
|
declare interface DropdownItemProps {
|
|
434
429
|
label: string;
|
|
435
430
|
value?: string;
|
|
@@ -439,6 +434,13 @@ declare interface DropdownItemProps {
|
|
|
439
434
|
checked?: boolean;
|
|
440
435
|
}
|
|
441
436
|
|
|
437
|
+
declare interface DropdownItemWithCheckbox {
|
|
438
|
+
id: string | number;
|
|
439
|
+
label: string;
|
|
440
|
+
value: string | number;
|
|
441
|
+
icono?: string;
|
|
442
|
+
}
|
|
443
|
+
|
|
442
444
|
export declare const DropdownList: ({ onSelect, items, placeholder, fetchItems, minCharsToSearch, debounceMs, classIncludes, disabled, }: DropdownListProps) => JSX_2.Element;
|
|
443
445
|
|
|
444
446
|
declare interface DropdownListProps {
|
|
@@ -454,23 +456,23 @@ declare interface DropdownListProps {
|
|
|
454
456
|
disabled?: boolean;
|
|
455
457
|
}
|
|
456
458
|
|
|
457
|
-
declare
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
459
|
+
export declare const DropdownListWithCheckbox: ({ items, fetchItems, value, defaultValue, onChange, selectAll, placeholder, disabled, iconSearch, minCharsToSearch, debounceMs, className, }: DropdownListWithCheckboxProps) => JSX_2.Element;
|
|
460
|
+
|
|
461
|
+
declare interface DropdownListWithCheckboxProps {
|
|
462
|
+
items?: DropdownItemWithCheckbox[];
|
|
463
|
+
fetchItems?: (q: string) => Promise<DropdownItemWithCheckbox[]>;
|
|
464
|
+
value?: DropdownItemWithCheckbox[];
|
|
465
|
+
defaultValue?: DropdownItemWithCheckbox[];
|
|
466
|
+
onChange?: (items: DropdownItemWithCheckbox[]) => void;
|
|
462
467
|
selectAll?: boolean;
|
|
463
|
-
|
|
464
|
-
|
|
468
|
+
placeholder?: string;
|
|
469
|
+
disabled?: boolean;
|
|
470
|
+
iconSearch?: boolean;
|
|
465
471
|
minCharsToSearch?: number;
|
|
466
472
|
debounceMs?: number;
|
|
467
|
-
|
|
468
|
-
iconSearch?: boolean;
|
|
469
|
-
disabled?: boolean;
|
|
473
|
+
className?: string;
|
|
470
474
|
}
|
|
471
475
|
|
|
472
|
-
export declare const DropdownListWithCheckbox: ({ onSelect, items, placeholder, fetchItems, minCharsToSearch, debounceMs, classIncludes, iconSearch, disabled, selectedItems, selectAll, }: DropdownListProps_2) => JSX_2.Element;
|
|
473
|
-
|
|
474
476
|
declare type DropdownMode = 'simple' | 'checkbox';
|
|
475
477
|
|
|
476
478
|
declare interface DropdownProps {
|