@nexxtmove/ui 0.1.51 → 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,15 +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<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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, {
30
37
  "update:currentStep": (...args: any[]) => void;
31
38
  }, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
32
39
  "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
33
40
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
34
41
 
35
- declare const __VLS_component_11: DefineComponent<NexxtTabbedContent_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTabbedContent_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
42
+ declare const __VLS_component_12: DefineComponent<NexxtTabbedContent_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTabbedContent_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
36
43
 
37
- declare const __VLS_component_12: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
44
+ declare const __VLS_component_13: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
38
45
 
39
46
  declare const __VLS_component_2: DefineComponent<NexxtChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtChipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
40
47
 
@@ -125,22 +132,18 @@ triggerRef: HTMLSpanElement;
125
132
  popoverRef: HTMLDivElement;
126
133
  }, HTMLDivElement>;
127
134
 
128
- declare const __VLS_component_6: 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>;
129
138
 
130
- declare const __VLS_component_7: 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>;
131
140
 
132
- declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
141
+ declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
133
142
  "update:modelValue": (value: string) => any;
134
143
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
135
144
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
136
145
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
137
146
 
138
- declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
139
- "update:modelValue": (value: boolean) => any;
140
- }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
141
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
142
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
143
-
144
147
  declare type __VLS_PrettifyLocal<T> = {
145
148
  [K in keyof T]: T[K];
146
149
  } & {};
@@ -227,19 +230,29 @@ declare function __VLS_template_10(): {
227
230
  attrs: Partial<{}>;
228
231
  slots: {
229
232
  default?(_: {}): any;
233
+ footer?(_: {}): any;
230
234
  };
231
235
  refs: {};
232
- rootEl: HTMLDivElement;
236
+ rootEl: any;
233
237
  };
234
238
 
235
239
  declare function __VLS_template_11(): {
236
240
  attrs: Partial<{}>;
237
- slots: Partial<Record<string, (_: {}) => any>>;
241
+ slots: {
242
+ default?(_: {}): any;
243
+ };
238
244
  refs: {};
239
245
  rootEl: HTMLDivElement;
240
246
  };
241
247
 
242
248
  declare function __VLS_template_12(): {
249
+ attrs: Partial<{}>;
250
+ slots: Partial<Record<string, (_: {}) => any>>;
251
+ refs: {};
252
+ rootEl: HTMLDivElement;
253
+ };
254
+
255
+ declare function __VLS_template_13(): {
243
256
  attrs: Partial<{}>;
244
257
  slots: {
245
258
  default?(_: {}): any;
@@ -361,18 +374,18 @@ declare function __VLS_template_5(): {
361
374
  declare function __VLS_template_6(): {
362
375
  attrs: Partial<{}>;
363
376
  slots: {
364
- 'back-button'?(_: {}): any;
365
- center?(_: {}): any;
366
- right?(_: {}): any;
377
+ default?(_: {}): any;
367
378
  };
368
379
  refs: {};
369
- rootEl: HTMLDivElement;
380
+ rootEl: SVGSVGElement;
370
381
  };
371
382
 
372
383
  declare function __VLS_template_7(): {
373
384
  attrs: Partial<{}>;
374
385
  slots: {
375
- default?(_: {}): any;
386
+ 'back-button'?(_: {}): any;
387
+ center?(_: {}): any;
388
+ right?(_: {}): any;
376
389
  };
377
390
  refs: {};
378
391
  rootEl: HTMLDivElement;
@@ -381,7 +394,7 @@ declare function __VLS_template_7(): {
381
394
  declare function __VLS_template_8(): {
382
395
  attrs: Partial<{}>;
383
396
  slots: {
384
- right?(_: {}): any;
397
+ default?(_: {}): any;
385
398
  };
386
399
  refs: {};
387
400
  rootEl: HTMLDivElement;
@@ -390,11 +403,10 @@ declare function __VLS_template_8(): {
390
403
  declare function __VLS_template_9(): {
391
404
  attrs: Partial<{}>;
392
405
  slots: {
393
- default?(_: {}): any;
394
- footer?(_: {}): any;
406
+ right?(_: {}): any;
395
407
  };
396
408
  refs: {};
397
- rootEl: any;
409
+ rootEl: HTMLDivElement;
398
410
  };
399
411
 
400
412
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -405,6 +417,8 @@ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
405
417
 
406
418
  declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
407
419
 
420
+ declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
421
+
408
422
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
409
423
 
410
424
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -445,6 +459,12 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
445
459
  };
446
460
  };
447
461
 
462
+ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
463
+ new (): {
464
+ $slots: S;
465
+ };
466
+ };
467
+
448
468
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
449
469
  new (): {
450
470
  $slots: S;
@@ -493,6 +513,8 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
493
513
  };
494
514
  };
495
515
 
516
+ declare type BrandColor = `brands-${'facebook' | 'instagram' | 'linkedin' | 'x' | 'google' | 'tiktok'}`;
517
+
496
518
  declare type CalendarAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
497
519
 
498
520
  declare interface CalendarDayViewProps {
@@ -505,6 +527,12 @@ declare interface CalendarDayViewProps {
505
527
  timezone: string;
506
528
  }
507
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
+
508
536
  declare type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands';
509
537
 
510
538
  export declare const NexxtAnimatedNumber: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -623,6 +651,19 @@ declare interface NexxtDatePickerProps extends NexxtCalendarProps {
623
651
  autoClose?: boolean;
624
652
  }
625
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
+
626
667
  export declare const NexxtDropdownButton: DefineComponent<(NexxtDropdownButtonBase & {
627
668
  iconOnly?: false;
628
669
  label: string;
@@ -670,7 +711,7 @@ declare interface NexxtDropdownButtonGroup {
670
711
  items: NexxtDropdownButton_2[];
671
712
  }
672
713
 
673
- export declare const NexxtHeader: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
714
+ export declare const NexxtHeader: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
674
715
 
675
716
  declare interface NexxtHeaderProps {
676
717
  title: string;
@@ -686,14 +727,14 @@ declare interface NexxtIconProps {
686
727
  type?: IconType;
687
728
  }
688
729
 
689
- export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
730
+ export declare const NexxtInfoBlock: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
690
731
 
691
732
  declare interface NexxtInfoBlockProps {
692
733
  icon: InstanceType<typeof NexxtIcon>['name'];
693
734
  color?: 'green' | 'purple' | 'blue' | 'rose';
694
735
  }
695
736
 
696
- export declare const NexxtInputField: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
737
+ export declare const NexxtInputField: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
697
738
 
698
739
  declare interface NexxtInputFieldProps {
699
740
  placeholder?: string;
@@ -705,7 +746,7 @@ declare interface NexxtInputFieldProps {
705
746
  required?: boolean;
706
747
  }
707
748
 
708
- export declare const NexxtModal: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
749
+ export declare const NexxtModal: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
709
750
 
710
751
  declare interface NexxtModalProps {
711
752
  title?: string;
@@ -804,7 +845,7 @@ declare interface NexxtSourceProps {
804
845
  source: keyof typeof SOURCE_MAP;
805
846
  }
806
847
 
807
- export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
848
+ export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
808
849
 
809
850
  declare interface NexxtStepperHeaderProps {
810
851
  title: string;
@@ -814,7 +855,7 @@ declare interface NexxtStepperHeaderProps {
814
855
  backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
815
856
  }
816
857
 
817
- export declare const NexxtTabbedContent: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
858
+ export declare const NexxtTabbedContent: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
818
859
 
819
860
  declare interface NexxtTabbedContent_2 {
820
861
  tabs: InstanceType<typeof NexxtTabs>['tabs'];
@@ -877,7 +918,7 @@ splitView: boolean;
877
918
 
878
919
  export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
879
920
 
880
- export declare const NexxtTooltip: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
921
+ export declare const NexxtTooltip: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
881
922
 
882
923
  declare interface NexxtTooltip_2 {
883
924
  delay?: number;
@@ -916,6 +957,8 @@ declare interface TableColumn<K extends string = string> {
916
957
  minCellWidth?: number;
917
958
  }
918
959
 
960
+ declare type TailwindColor = `${ColorScale}-${ColorShade}` | 'white' | BrandColor;
961
+
919
962
  declare interface TimelineEvent {
920
963
  id: number;
921
964
  type: string;