@nexxtmove/ui 0.1.24 → 0.1.26
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 +75 -1
- package/dist/index.js +1500 -1066
- package/dist/nuxt.js +20 -17
- package/package.json +1 -1
- package/src/components/AnimatedNumber/AnimatedNumber.vue +4 -0
- package/src/components/TimelineEvent/TimelineEvent.stories.ts +291 -0
- package/src/components/TimelineEvent/TimelineEvent.test.ts +166 -0
- package/src/components/TimelineEvent/TimelineEvent.vue +115 -0
- package/src/components/TimelineEvent/TimelineTypes.ts +236 -0
- package/src/components/TimelinePhaseblock/TimelinePhaseblock.stories.ts +198 -0
- package/src/components/TimelinePhaseblock/TimelinePhaseblock.test.ts +283 -0
- package/src/components/TimelinePhaseblock/TimelinePhaseblock.vue +158 -0
- package/src/components/Tooltip/Tooltip.stories.ts +146 -0
- package/src/components/Tooltip/Tooltip.test.ts +122 -0
- package/src/components/Tooltip/Tooltip.vue +49 -0
- package/src/components.json +4 -1
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
15
15
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
placeholder: string;
|
|
19
18
|
anchor: CalendarAnchor;
|
|
19
|
+
placeholder: string;
|
|
20
20
|
autoClose: boolean;
|
|
21
21
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
22
22
|
wrapperRef: HTMLDivElement;
|
|
@@ -34,6 +34,8 @@ declare const __VLS_component_6: DefineComponent<NexxtStepperHeaderProps, {}, {}
|
|
|
34
34
|
"onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
36
36
|
|
|
37
|
+
declare const __VLS_component_7: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
|
|
37
39
|
declare type __VLS_Props = {
|
|
38
40
|
value: number;
|
|
39
41
|
duration?: number;
|
|
@@ -42,6 +44,21 @@ declare type __VLS_Props = {
|
|
|
42
44
|
|
|
43
45
|
declare type __VLS_Props_2 = NexxtDatePickerProps;
|
|
44
46
|
|
|
47
|
+
declare type __VLS_Props_3 = {
|
|
48
|
+
event: TimelineEvent;
|
|
49
|
+
splitView?: boolean;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
declare type __VLS_Props_4 = {
|
|
53
|
+
phase: TimelinePhase;
|
|
54
|
+
/** Index within the filtered phases array (used to determine phase direction/date). */
|
|
55
|
+
index: number;
|
|
56
|
+
/** The full filtered phases list, needed to look up the previous phase. */
|
|
57
|
+
phases: TimelinePhase[];
|
|
58
|
+
isSplitView: boolean;
|
|
59
|
+
isLast: boolean;
|
|
60
|
+
};
|
|
61
|
+
|
|
45
62
|
declare type __VLS_PublicProps = {
|
|
46
63
|
modelValue?: Date | null;
|
|
47
64
|
} & __VLS_Props_2;
|
|
@@ -108,6 +125,16 @@ declare function __VLS_template_6(): {
|
|
|
108
125
|
rootEl: HTMLDivElement;
|
|
109
126
|
};
|
|
110
127
|
|
|
128
|
+
declare function __VLS_template_7(): {
|
|
129
|
+
attrs: Partial<{}>;
|
|
130
|
+
slots: {
|
|
131
|
+
default?(_: {}): any;
|
|
132
|
+
tooltip?(_: {}): any;
|
|
133
|
+
};
|
|
134
|
+
refs: {};
|
|
135
|
+
rootEl: any;
|
|
136
|
+
};
|
|
137
|
+
|
|
111
138
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
112
139
|
|
|
113
140
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
@@ -120,6 +147,8 @@ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
|
120
147
|
|
|
121
148
|
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
122
149
|
|
|
150
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
151
|
+
|
|
123
152
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
124
153
|
new (): {
|
|
125
154
|
$slots: S;
|
|
@@ -156,6 +185,12 @@ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
|
156
185
|
};
|
|
157
186
|
};
|
|
158
187
|
|
|
188
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
189
|
+
new (): {
|
|
190
|
+
$slots: S;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
|
|
159
194
|
declare type CalendarAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
160
195
|
|
|
161
196
|
declare type EasingFunction = 'ease-linear' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
@@ -295,6 +330,45 @@ declare interface NexxtStepperHeaderProps {
|
|
|
295
330
|
backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
|
|
296
331
|
}
|
|
297
332
|
|
|
333
|
+
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
334
|
+
splitView: boolean;
|
|
335
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
336
|
+
|
|
337
|
+
export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
338
|
+
|
|
339
|
+
export declare const NexxtTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
340
|
+
|
|
341
|
+
declare interface NexxtTooltip_2 {
|
|
342
|
+
delay?: number;
|
|
343
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
344
|
+
sideOffset?: number;
|
|
345
|
+
align?: 'start' | 'center' | 'end';
|
|
346
|
+
disableHoverableContent?: boolean;
|
|
347
|
+
}
|
|
348
|
+
|
|
298
349
|
declare type SocialPlatform = 'tiktok' | 'facebook' | 'instagram' | 'linkedin' | 'x' | 'twitter' | 'google';
|
|
299
350
|
|
|
351
|
+
declare interface TimelineEvent {
|
|
352
|
+
id: number;
|
|
353
|
+
type: string;
|
|
354
|
+
happened_at: string;
|
|
355
|
+
medium_type: string | null;
|
|
356
|
+
url: string | null;
|
|
357
|
+
page_title: string | null;
|
|
358
|
+
request_reason: string | null;
|
|
359
|
+
agenda_item_type: string | null;
|
|
360
|
+
source: string;
|
|
361
|
+
direction: string;
|
|
362
|
+
description: string | null;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare interface TimelinePhase {
|
|
366
|
+
phase: {
|
|
367
|
+
value: number;
|
|
368
|
+
};
|
|
369
|
+
entered_at: string | null;
|
|
370
|
+
exited_at: string | null;
|
|
371
|
+
events: TimelineEvent[];
|
|
372
|
+
}
|
|
373
|
+
|
|
300
374
|
export { }
|