@nexxtmove/ui 0.1.47 → 0.1.49

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
@@ -8,6 +8,7 @@ import { GlobalComponents } from 'vue';
8
8
  import { GlobalDirectives } from 'vue';
9
9
  import { IconName } from '@awesome.me/kit-37b149f3ef/icons';
10
10
  import { Locale } from 'date-fns';
11
+ import { ModelRef } from 'vue';
11
12
  import { default as NexxtCombobox } from './components/Combobox/Combobox.vue';
12
13
  import { PublicProps } from 'vue';
13
14
  import { ShallowUnwrapRef } from 'vue';
@@ -16,6 +17,8 @@ import { VNodeProps } from 'vue';
16
17
 
17
18
  declare const __VLS_component: DefineComponent<NexxtButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
18
19
 
20
+ declare const __VLS_component_10: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
+
19
22
  declare const __VLS_component_2: DefineComponent<NexxtChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtChipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
20
23
 
21
24
  declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -54,7 +57,7 @@ declare const __VLS_component_8: DefineComponent<NexxtStepperHeaderProps, {}, {}
54
57
  "onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
55
58
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
56
59
 
57
- declare const __VLS_component_9: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
60
+ declare const __VLS_component_9: DefineComponent<NexxtTabbedContent_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTabbedContent_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
58
61
 
59
62
  declare type __VLS_PrettifyLocal<T> = {
60
63
  [K in keyof T]: T[K];
@@ -66,6 +69,16 @@ declare type __VLS_Props = {
66
69
  delay?: number;
67
70
  };
68
71
 
72
+ declare type __VLS_Props_10 = {
73
+ phase: TimelinePhase;
74
+ /** Index within the filtered phases array (used to determine phase direction/date). */
75
+ index: number;
76
+ /** The full filtered phases list, needed to look up the previous phase. */
77
+ phases: TimelinePhase[];
78
+ isSplitView: boolean;
79
+ isLast: boolean;
80
+ };
81
+
69
82
  declare type __VLS_Props_2 = NexxtCalendarProps;
70
83
 
71
84
  declare type __VLS_Props_3 = NexxtCheckboxProps;
@@ -78,19 +91,11 @@ declare type __VLS_Props_6 = NexxtModalProps;
78
91
 
79
92
  declare type __VLS_Props_7 = NexxtPaginationProps;
80
93
 
81
- declare type __VLS_Props_8 = {
82
- event: TimelineEvent;
83
- splitView?: boolean;
84
- };
94
+ declare type __VLS_Props_8 = NexxtTabs_2;
85
95
 
86
96
  declare type __VLS_Props_9 = {
87
- phase: TimelinePhase;
88
- /** Index within the filtered phases array (used to determine phase direction/date). */
89
- index: number;
90
- /** The full filtered phases list, needed to look up the previous phase. */
91
- phases: TimelinePhase[];
92
- isSplitView: boolean;
93
- isLast: boolean;
97
+ event: TimelineEvent;
98
+ splitView?: boolean;
94
99
  };
95
100
 
96
101
  declare type __VLS_PublicProps = {
@@ -117,6 +122,10 @@ declare type __VLS_PublicProps_6 = {
117
122
  'page'?: number;
118
123
  } & __VLS_Props_7;
119
124
 
125
+ declare type __VLS_PublicProps_7 = {
126
+ modelValue?: typeof selected['value'];
127
+ } & __VLS_Props_8;
128
+
120
129
  declare function __VLS_template(): {
121
130
  attrs: Partial<{}>;
122
131
  slots: {
@@ -126,6 +135,16 @@ declare function __VLS_template(): {
126
135
  rootEl: HTMLButtonElement;
127
136
  };
128
137
 
138
+ declare function __VLS_template_10(): {
139
+ attrs: Partial<{}>;
140
+ slots: {
141
+ default?(_: {}): any;
142
+ tooltip?(_: {}): any;
143
+ };
144
+ refs: {};
145
+ rootEl: any;
146
+ };
147
+
129
148
  declare function __VLS_template_2(): {
130
149
  attrs: Partial<{}>;
131
150
  slots: {
@@ -200,16 +219,15 @@ declare function __VLS_template_8(): {
200
219
 
201
220
  declare function __VLS_template_9(): {
202
221
  attrs: Partial<{}>;
203
- slots: {
204
- default?(_: {}): any;
205
- tooltip?(_: {}): any;
206
- };
222
+ slots: Partial<Record<string, (_: {}) => any>>;
207
223
  refs: {};
208
- rootEl: any;
224
+ rootEl: HTMLDivElement;
209
225
  };
210
226
 
211
227
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
212
228
 
229
+ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
230
+
213
231
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
214
232
 
215
233
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -232,6 +250,12 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
232
250
  };
233
251
  };
234
252
 
253
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
254
+ new (): {
255
+ $slots: S;
256
+ };
257
+ };
258
+
235
259
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
236
260
  new (): {
237
261
  $slots: S;
@@ -576,6 +600,14 @@ declare interface NexxtStepperHeaderProps {
576
600
  backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
577
601
  }
578
602
 
603
+ export declare const NexxtTabbedContent: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
604
+
605
+ declare interface NexxtTabbedContent_2 {
606
+ tabs: InstanceType<typeof NexxtTabs>['tabs'];
607
+ animated?: boolean;
608
+ label?: string;
609
+ }
610
+
579
611
  export declare const NexxtTable: <TKey extends string, TRow extends Record<TKey, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
580
612
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
581
613
  readonly "onUpdate:modelValue"?: ((value: TRow[]) => any) | undefined;
@@ -612,13 +644,24 @@ declare interface NexxtTableProps<TKey extends string = string, TRow extends Rec
612
644
  loading?: boolean;
613
645
  }
614
646
 
615
- export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
647
+ export declare const NexxtTabs: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
648
+ "update:modelValue": (value: string) => any;
649
+ }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
650
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
651
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
652
+
653
+ declare interface NexxtTabs_2 {
654
+ tabs: string[];
655
+ tablistLabel?: string;
656
+ }
657
+
658
+ export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
616
659
  splitView: boolean;
617
660
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
618
661
 
619
- export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
662
+ export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
620
663
 
621
- export declare const NexxtTooltip: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
664
+ export declare const NexxtTooltip: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
622
665
 
623
666
  declare interface NexxtTooltip_2 {
624
667
  delay?: number;
@@ -628,6 +671,8 @@ declare interface NexxtTooltip_2 {
628
671
  disableHoverableContent?: boolean;
629
672
  }
630
673
 
674
+ declare const selected: ModelRef<string, string, string, string>;
675
+
631
676
  declare type SocialPlatform = 'tiktok' | 'facebook' | 'instagram' | 'linkedin' | 'x' | 'twitter' | 'google';
632
677
 
633
678
  declare interface TableColumn<K extends string = string> {