@nexxtmove/ui 0.1.42 → 0.1.44
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/index.d.ts
CHANGED
|
@@ -404,6 +404,7 @@ label?: string;
|
|
|
404
404
|
action?: string | (() => void);
|
|
405
405
|
}), {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
406
406
|
navigate: (url: string) => any;
|
|
407
|
+
checkboxChange: (label: string, checked: boolean) => any;
|
|
407
408
|
}, string, PublicProps, Readonly<(NexxtDropdownButtonBase & {
|
|
408
409
|
iconOnly?: false;
|
|
409
410
|
label: string;
|
|
@@ -414,6 +415,7 @@ label?: string;
|
|
|
414
415
|
action?: string | (() => void);
|
|
415
416
|
})> & Readonly<{
|
|
416
417
|
onNavigate?: ((url: string) => any) | undefined;
|
|
418
|
+
onCheckboxChange?: ((label: string, checked: boolean) => any) | undefined;
|
|
417
419
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
418
420
|
wrapperRef: HTMLDivElement;
|
|
419
421
|
}, HTMLDivElement>;
|
|
@@ -423,16 +425,22 @@ declare interface NexxtDropdownButton_2 {
|
|
|
423
425
|
action: string | (() => void);
|
|
424
426
|
icon?: InstanceType<typeof NexxtIcon>['name'];
|
|
425
427
|
selected?: boolean;
|
|
428
|
+
checkbox?: boolean;
|
|
426
429
|
}
|
|
427
430
|
|
|
428
431
|
declare type NexxtDropdownButtonBase = {
|
|
429
432
|
variant?: 'primary' | 'secondary';
|
|
430
|
-
options: NexxtDropdownButton_2[];
|
|
433
|
+
options: NexxtDropdownButton_2[] | NexxtDropdownButtonGroup[];
|
|
431
434
|
placement?: 'left' | 'right';
|
|
432
435
|
triggerIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
433
436
|
icon?: InstanceType<typeof NexxtIcon>['name'];
|
|
434
437
|
};
|
|
435
438
|
|
|
439
|
+
declare interface NexxtDropdownButtonGroup {
|
|
440
|
+
title: string;
|
|
441
|
+
items: NexxtDropdownButton_2[];
|
|
442
|
+
}
|
|
443
|
+
|
|
436
444
|
export declare const NexxtHeader: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
437
445
|
|
|
438
446
|
declare interface NexxtHeaderProps {
|
|
@@ -465,6 +473,7 @@ declare interface NexxtInputFieldProps {
|
|
|
465
473
|
errorMessage?: string;
|
|
466
474
|
leftIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
467
475
|
rightIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
476
|
+
required?: boolean;
|
|
468
477
|
}
|
|
469
478
|
|
|
470
479
|
export declare const NexxtModal: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|