@nexxtmove/ui 0.1.41 → 0.1.43

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
@@ -41,13 +41,19 @@ declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_4, {}, {}, {}
41
41
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
42
42
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
43
43
 
44
- declare const __VLS_component_7: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
45
+ "update:modelValue": (value: boolean) => any;
46
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
47
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
48
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
49
+
50
+ declare const __VLS_component_8: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
45
51
  "update:currentStep": (...args: any[]) => void;
46
52
  }, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
47
53
  "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
48
54
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
49
55
 
50
- declare const __VLS_component_8: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
56
+ declare const __VLS_component_9: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
51
57
 
52
58
  declare type __VLS_PrettifyLocal<T> = {
53
59
  [K in keyof T]: T[K];
@@ -67,14 +73,16 @@ declare type __VLS_Props_4 = NexxtDatePickerProps;
67
73
 
68
74
  declare type __VLS_Props_5 = NexxtInputFieldProps;
69
75
 
70
- declare type __VLS_Props_6 = NexxtPaginationProps;
76
+ declare type __VLS_Props_6 = NexxtModalProps;
71
77
 
72
- declare type __VLS_Props_7 = {
78
+ declare type __VLS_Props_7 = NexxtPaginationProps;
79
+
80
+ declare type __VLS_Props_8 = {
73
81
  event: TimelineEvent;
74
82
  splitView?: boolean;
75
83
  };
76
84
 
77
- declare type __VLS_Props_8 = {
85
+ declare type __VLS_Props_9 = {
78
86
  phase: TimelinePhase;
79
87
  /** Index within the filtered phases array (used to determine phase direction/date). */
80
88
  index: number;
@@ -101,9 +109,13 @@ declare type __VLS_PublicProps_4 = {
101
109
  } & __VLS_Props_5;
102
110
 
103
111
  declare type __VLS_PublicProps_5 = {
104
- 'page'?: number;
112
+ modelValue?: boolean;
105
113
  } & __VLS_Props_6;
106
114
 
115
+ declare type __VLS_PublicProps_6 = {
116
+ 'page'?: number;
117
+ } & __VLS_Props_7;
118
+
107
119
  declare function __VLS_template(): {
108
120
  attrs: Partial<{}>;
109
121
  slots: {
@@ -170,12 +182,22 @@ declare function __VLS_template_7(): {
170
182
  attrs: Partial<{}>;
171
183
  slots: {
172
184
  default?(_: {}): any;
185
+ footer?(_: {}): any;
173
186
  };
174
187
  refs: {};
175
- rootEl: HTMLDivElement;
188
+ rootEl: any;
176
189
  };
177
190
 
178
191
  declare function __VLS_template_8(): {
192
+ attrs: Partial<{}>;
193
+ slots: {
194
+ default?(_: {}): any;
195
+ };
196
+ refs: {};
197
+ rootEl: HTMLDivElement;
198
+ };
199
+
200
+ declare function __VLS_template_9(): {
179
201
  attrs: Partial<{}>;
180
202
  slots: {
181
203
  default?(_: {}): any;
@@ -201,6 +223,8 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
201
223
 
202
224
  declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
203
225
 
226
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
227
+
204
228
  declare type __VLS_WithTemplateSlots<T, S> = T & {
205
229
  new (): {
206
230
  $slots: S;
@@ -249,6 +273,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
249
273
  };
250
274
  };
251
275
 
276
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
277
+ new (): {
278
+ $slots: S;
279
+ };
280
+ };
281
+
252
282
  declare type CalendarAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
253
283
 
254
284
  declare interface CalendarDayViewProps {
@@ -374,6 +404,7 @@ label?: string;
374
404
  action?: string | (() => void);
375
405
  }), {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
376
406
  navigate: (url: string) => any;
407
+ checkboxChange: (label: string, checked: boolean) => any;
377
408
  }, string, PublicProps, Readonly<(NexxtDropdownButtonBase & {
378
409
  iconOnly?: false;
379
410
  label: string;
@@ -384,6 +415,7 @@ label?: string;
384
415
  action?: string | (() => void);
385
416
  })> & Readonly<{
386
417
  onNavigate?: ((url: string) => any) | undefined;
418
+ onCheckboxChange?: ((label: string, checked: boolean) => any) | undefined;
387
419
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
388
420
  wrapperRef: HTMLDivElement;
389
421
  }, HTMLDivElement>;
@@ -393,16 +425,22 @@ declare interface NexxtDropdownButton_2 {
393
425
  action: string | (() => void);
394
426
  icon?: InstanceType<typeof NexxtIcon>['name'];
395
427
  selected?: boolean;
428
+ checkbox?: boolean;
396
429
  }
397
430
 
398
431
  declare type NexxtDropdownButtonBase = {
399
432
  variant?: 'primary' | 'secondary';
400
- options: NexxtDropdownButton_2[];
433
+ options: NexxtDropdownButton_2[] | NexxtDropdownButtonGroup[];
401
434
  placement?: 'left' | 'right';
402
435
  triggerIcon?: InstanceType<typeof NexxtIcon>['name'];
403
436
  icon?: InstanceType<typeof NexxtIcon>['name'];
404
437
  };
405
438
 
439
+ declare interface NexxtDropdownButtonGroup {
440
+ title: string;
441
+ items: NexxtDropdownButton_2[];
442
+ }
443
+
406
444
  export declare const NexxtHeader: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
407
445
 
408
446
  declare interface NexxtHeaderProps {
@@ -437,9 +475,20 @@ declare interface NexxtInputFieldProps {
437
475
  rightIcon?: InstanceType<typeof NexxtIcon>['name'];
438
476
  }
439
477
 
440
- export declare const NexxtPagination: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
478
+ export declare const NexxtModal: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
479
+
480
+ declare interface NexxtModalProps {
481
+ title?: string;
482
+ description?: string;
483
+ size?: 'sm' | 'md' | 'lg';
484
+ dismissible?: boolean;
485
+ showClose?: boolean;
486
+ beforeClose?: () => boolean | Promise<boolean>;
487
+ }
488
+
489
+ export declare const NexxtPagination: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
441
490
  "update:page": (value: number) => any;
442
- }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
491
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
443
492
  "onUpdate:page"?: ((value: number) => any) | undefined;
444
493
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
445
494
 
@@ -513,7 +562,7 @@ declare interface NexxtSocialMediaTypeProps {
513
562
  icons?: SocialPlatform[];
514
563
  }
515
564
 
516
- export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
565
+ export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
517
566
 
518
567
  declare interface NexxtStepperHeaderProps {
519
568
  title: string;
@@ -559,13 +608,13 @@ declare interface NexxtTableProps<TKey extends string = string, TRow extends Rec
559
608
  loading?: boolean;
560
609
  }
561
610
 
562
- export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
611
+ export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
563
612
  splitView: boolean;
564
613
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
565
614
 
566
- export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
615
+ export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
567
616
 
568
- export declare const NexxtTooltip: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
617
+ export declare const NexxtTooltip: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
569
618
 
570
619
  declare interface NexxtTooltip_2 {
571
620
  delay?: number;