@nexxtmove/ui 0.1.50 → 0.1.52

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
@@ -7,6 +7,7 @@ import { ComponentOptionsMixin } from 'vue';
7
7
  import { ComponentProvideOptions } from 'vue';
8
8
  import { ComponentPublicInstance } from 'vue';
9
9
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
10
+ import { CSSProperties } from 'vue';
10
11
  import { DebuggerEvent } from 'vue';
11
12
  import { DefineComponent } from 'vue';
12
13
  import { GlobalComponents } from 'vue';
@@ -26,9 +27,21 @@ import { WatchStopHandle } from 'vue';
26
27
 
27
28
  declare const __VLS_component: DefineComponent<NexxtButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
28
29
 
29
- declare const __VLS_component_10: DefineComponent<NexxtTabbedContent_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTabbedContent_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ declare const __VLS_component_10: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
31
+ "update:modelValue": (value: boolean) => any;
32
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
33
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
+
36
+ declare const __VLS_component_11: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
37
+ "update:currentStep": (...args: any[]) => void;
38
+ }, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
39
+ "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
40
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
30
41
 
31
- declare const __VLS_component_11: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
+ declare const __VLS_component_12: DefineComponent<NexxtTabbedContent_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTabbedContent_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
43
+
44
+ declare const __VLS_component_13: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
32
45
 
33
46
  declare const __VLS_component_2: DefineComponent<NexxtChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtChipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
34
47
 
@@ -103,7 +116,9 @@ right?(_: {}): any;
103
116
  }) | null;
104
117
  }, HTMLDivElement>;
105
118
 
106
- declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
119
+ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
120
+
121
+ declare const __VLS_component_5: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
107
122
  "update:modelValue": (value: Date | null) => any;
108
123
  }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
109
124
  "onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
@@ -117,28 +132,18 @@ triggerRef: HTMLSpanElement;
117
132
  popoverRef: HTMLDivElement;
118
133
  }, HTMLDivElement>;
119
134
 
120
- declare const __VLS_component_5: DefineComponent<NexxtHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
135
+ declare const __VLS_component_6: DefineComponent<NexxtDoughnutChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtDoughnutChartProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
136
+
137
+ declare const __VLS_component_7: DefineComponent<NexxtHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
121
138
 
122
- declare const __VLS_component_6: DefineComponent<NexxtInfoBlockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtInfoBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
139
+ declare const __VLS_component_8: DefineComponent<NexxtInfoBlockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtInfoBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
123
140
 
124
- declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
141
+ declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
125
142
  "update:modelValue": (value: string) => any;
126
143
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
127
144
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
128
145
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
129
146
 
130
- declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
131
- "update:modelValue": (value: boolean) => any;
132
- }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
133
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
134
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
135
-
136
- declare const __VLS_component_9: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
137
- "update:currentStep": (...args: any[]) => void;
138
- }, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
139
- "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
140
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
141
-
142
147
  declare type __VLS_PrettifyLocal<T> = {
143
148
  [K in keyof T]: T[K];
144
149
  } & {};
@@ -222,13 +227,32 @@ declare function __VLS_template(): {
222
227
  };
223
228
 
224
229
  declare function __VLS_template_10(): {
230
+ attrs: Partial<{}>;
231
+ slots: {
232
+ default?(_: {}): any;
233
+ footer?(_: {}): any;
234
+ };
235
+ refs: {};
236
+ rootEl: any;
237
+ };
238
+
239
+ declare function __VLS_template_11(): {
240
+ attrs: Partial<{}>;
241
+ slots: {
242
+ default?(_: {}): any;
243
+ };
244
+ refs: {};
245
+ rootEl: HTMLDivElement;
246
+ };
247
+
248
+ declare function __VLS_template_12(): {
225
249
  attrs: Partial<{}>;
226
250
  slots: Partial<Record<string, (_: {}) => any>>;
227
251
  refs: {};
228
252
  rootEl: HTMLDivElement;
229
253
  };
230
254
 
231
- declare function __VLS_template_11(): {
255
+ declare function __VLS_template_13(): {
232
256
  attrs: Partial<{}>;
233
257
  slots: {
234
258
  default?(_: {}): any;
@@ -322,6 +346,16 @@ declare function __VLS_template_3(): {
322
346
  };
323
347
 
324
348
  declare function __VLS_template_4(): {
349
+ attrs: Partial<{}>;
350
+ slots: {
351
+ title?(_: {}): any;
352
+ content?(_: {}): any;
353
+ };
354
+ refs: {};
355
+ rootEl: HTMLDivElement;
356
+ };
357
+
358
+ declare function __VLS_template_5(): {
325
359
  attrs: Partial<{}>;
326
360
  slots: {
327
361
  trigger?(_: {
@@ -337,29 +371,20 @@ declare function __VLS_template_4(): {
337
371
  rootEl: HTMLDivElement;
338
372
  };
339
373
 
340
- declare function __VLS_template_5(): {
341
- attrs: Partial<{}>;
342
- slots: {
343
- 'back-button'?(_: {}): any;
344
- center?(_: {}): any;
345
- right?(_: {}): any;
346
- };
347
- refs: {};
348
- rootEl: HTMLDivElement;
349
- };
350
-
351
374
  declare function __VLS_template_6(): {
352
375
  attrs: Partial<{}>;
353
376
  slots: {
354
377
  default?(_: {}): any;
355
378
  };
356
379
  refs: {};
357
- rootEl: HTMLDivElement;
380
+ rootEl: SVGSVGElement;
358
381
  };
359
382
 
360
383
  declare function __VLS_template_7(): {
361
384
  attrs: Partial<{}>;
362
385
  slots: {
386
+ 'back-button'?(_: {}): any;
387
+ center?(_: {}): any;
363
388
  right?(_: {}): any;
364
389
  };
365
390
  refs: {};
@@ -370,16 +395,15 @@ declare function __VLS_template_8(): {
370
395
  attrs: Partial<{}>;
371
396
  slots: {
372
397
  default?(_: {}): any;
373
- footer?(_: {}): any;
374
398
  };
375
399
  refs: {};
376
- rootEl: any;
400
+ rootEl: HTMLDivElement;
377
401
  };
378
402
 
379
403
  declare function __VLS_template_9(): {
380
404
  attrs: Partial<{}>;
381
405
  slots: {
382
- default?(_: {}): any;
406
+ right?(_: {}): any;
383
407
  };
384
408
  refs: {};
385
409
  rootEl: HTMLDivElement;
@@ -391,6 +415,10 @@ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
391
415
 
392
416
  declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
393
417
 
418
+ declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
419
+
420
+ declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
421
+
394
422
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
395
423
 
396
424
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -425,6 +453,18 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
425
453
  };
426
454
  };
427
455
 
456
+ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
457
+ new (): {
458
+ $slots: S;
459
+ };
460
+ };
461
+
462
+ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
463
+ new (): {
464
+ $slots: S;
465
+ };
466
+ };
467
+
428
468
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
429
469
  new (): {
430
470
  $slots: S;
@@ -473,6 +513,8 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
473
513
  };
474
514
  };
475
515
 
516
+ declare type BrandColor = `brands-${'facebook' | 'instagram' | 'linkedin' | 'x' | 'google' | 'tiktok'}`;
517
+
476
518
  declare type CalendarAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
477
519
 
478
520
  declare interface CalendarDayViewProps {
@@ -485,6 +527,12 @@ declare interface CalendarDayViewProps {
485
527
  timezone: string;
486
528
  }
487
529
 
530
+ declare type Color = (CSSProperties['color'] & {}) | TailwindColor;
531
+
532
+ declare type ColorScale = 'gray' | 'cornflower-blue' | 'orange' | 'purple' | 'rose' | 'green' | 'sapphire' | 'yale-blue' | 'brick';
533
+
534
+ declare type ColorShade = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
535
+
488
536
  declare type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands';
489
537
 
490
538
  export declare const NexxtAnimatedNumber: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -581,6 +629,8 @@ declare interface NexxtComboboxProps {
581
629
  })[];
582
630
  }
583
631
 
632
+ export declare const NexxtContactInfoCard: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
633
+
584
634
  export declare const NexxtCustomerJourneyTile: DefineComponent<NexxtCustomerJourneyTileProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtCustomerJourneyTileProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
585
635
 
586
636
  declare interface NexxtCustomerJourneyTileProps {
@@ -593,7 +643,7 @@ declare interface NexxtCustomerJourneyTileProps {
593
643
  percentageExplanaition?: string;
594
644
  }
595
645
 
596
- export declare const NexxtDatePicker: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
646
+ export declare const NexxtDatePicker: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
597
647
 
598
648
  declare interface NexxtDatePickerProps extends NexxtCalendarProps {
599
649
  placeholder?: string;
@@ -601,6 +651,19 @@ declare interface NexxtDatePickerProps extends NexxtCalendarProps {
601
651
  autoClose?: boolean;
602
652
  }
603
653
 
654
+ export declare const NexxtDoughnutChart: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
655
+
656
+ declare interface NexxtDoughnutChartProps {
657
+ value: number;
658
+ percentage: number;
659
+ color?: Color;
660
+ backgroundColor?: Color;
661
+ size?: number;
662
+ thickness?: number;
663
+ delay?: number;
664
+ duration?: number;
665
+ }
666
+
604
667
  export declare const NexxtDropdownButton: DefineComponent<(NexxtDropdownButtonBase & {
605
668
  iconOnly?: false;
606
669
  label: string;
@@ -648,7 +711,7 @@ declare interface NexxtDropdownButtonGroup {
648
711
  items: NexxtDropdownButton_2[];
649
712
  }
650
713
 
651
- export declare const NexxtHeader: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
714
+ export declare const NexxtHeader: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
652
715
 
653
716
  declare interface NexxtHeaderProps {
654
717
  title: string;
@@ -664,14 +727,14 @@ declare interface NexxtIconProps {
664
727
  type?: IconType;
665
728
  }
666
729
 
667
- export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
730
+ export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
668
731
 
669
732
  declare interface NexxtInfoBlockProps {
670
733
  icon: InstanceType<typeof NexxtIcon>['name'];
671
734
  color?: 'green' | 'purple' | 'blue' | 'rose';
672
735
  }
673
736
 
674
- export declare const NexxtInputField: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
737
+ export declare const NexxtInputField: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
675
738
 
676
739
  declare interface NexxtInputFieldProps {
677
740
  placeholder?: string;
@@ -683,7 +746,7 @@ declare interface NexxtInputFieldProps {
683
746
  required?: boolean;
684
747
  }
685
748
 
686
- export declare const NexxtModal: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
749
+ export declare const NexxtModal: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
687
750
 
688
751
  declare interface NexxtModalProps {
689
752
  title?: string;
@@ -782,7 +845,7 @@ declare interface NexxtSourceProps {
782
845
  source: keyof typeof SOURCE_MAP;
783
846
  }
784
847
 
785
- export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
848
+ export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
786
849
 
787
850
  declare interface NexxtStepperHeaderProps {
788
851
  title: string;
@@ -792,7 +855,7 @@ declare interface NexxtStepperHeaderProps {
792
855
  backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
793
856
  }
794
857
 
795
- export declare const NexxtTabbedContent: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
858
+ export declare const NexxtTabbedContent: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
796
859
 
797
860
  declare interface NexxtTabbedContent_2 {
798
861
  tabs: InstanceType<typeof NexxtTabs>['tabs'];
@@ -855,7 +918,7 @@ splitView: boolean;
855
918
 
856
919
  export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
857
920
 
858
- export declare const NexxtTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
921
+ export declare const NexxtTooltip: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
859
922
 
860
923
  declare interface NexxtTooltip_2 {
861
924
  delay?: number;
@@ -894,6 +957,8 @@ declare interface TableColumn<K extends string = string> {
894
957
  minCellWidth?: number;
895
958
  }
896
959
 
960
+ declare type TailwindColor = `${ColorScale}-${ColorShade}` | 'white' | BrandColor;
961
+
897
962
  declare interface TimelineEvent {
898
963
  id: number;
899
964
  type: string;