@nexxtmove/ui 0.1.28 → 0.1.30
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 +50 -8
- package/dist/index.js +1256 -951
- package/dist/nuxt.js +22 -19
- package/package.json +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Checkbox/Checkbox.stories.ts +35 -0
- package/src/components/Checkbox/Checkbox.test.ts +55 -0
- package/src/components/Checkbox/Checkbox.vue +46 -0
- package/src/components/DropdownButton/DropdownButton.stories.ts +68 -0
- package/src/components/DropdownButton/DropdownButton.test.ts +124 -0
- package/src/components/DropdownButton/DropdownButton.vue +159 -0
- package/src/components/Table/Table.stories.ts +283 -0
- package/src/components/Table/Table.test.ts +220 -0
- package/src/components/Table/Table.vue +227 -0
- package/src/components.json +3 -0
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -4,15 +4,16 @@ import { DefineComponent } from 'vue';
|
|
|
4
4
|
import { IconName } from '@awesome.me/kit-37b149f3ef/icons';
|
|
5
5
|
import { Locale } from 'date-fns';
|
|
6
6
|
import { default as NexxtCalendar } from './components/Calendar/Calendar.vue';
|
|
7
|
+
import { default as NexxtTable } from './components/Table/Table.vue';
|
|
7
8
|
import { PublicProps } from 'vue';
|
|
8
9
|
|
|
9
10
|
declare const __VLS_component: DefineComponent<NexxtButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
10
11
|
|
|
11
12
|
declare const __VLS_component_2: DefineComponent<NexxtChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtChipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
12
13
|
|
|
13
|
-
declare const __VLS_component_3: DefineComponent<
|
|
14
|
+
declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
15
|
"update:modelValue": (value: Date | null) => any;
|
|
15
|
-
}, string, PublicProps, Readonly<
|
|
16
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
16
17
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
17
18
|
}>, {
|
|
18
19
|
anchor: CalendarAnchor;
|
|
@@ -42,14 +43,16 @@ declare type __VLS_Props = {
|
|
|
42
43
|
easing?: EasingFunction;
|
|
43
44
|
};
|
|
44
45
|
|
|
45
|
-
declare type __VLS_Props_2 =
|
|
46
|
+
declare type __VLS_Props_2 = NexxtCheckboxProps;
|
|
47
|
+
|
|
48
|
+
declare type __VLS_Props_3 = NexxtDatePickerProps;
|
|
46
49
|
|
|
47
|
-
declare type
|
|
50
|
+
declare type __VLS_Props_4 = {
|
|
48
51
|
event: TimelineEvent;
|
|
49
52
|
splitView?: boolean;
|
|
50
53
|
};
|
|
51
54
|
|
|
52
|
-
declare type
|
|
55
|
+
declare type __VLS_Props_5 = {
|
|
53
56
|
phase: TimelinePhase;
|
|
54
57
|
/** Index within the filtered phases array (used to determine phase direction/date). */
|
|
55
58
|
index: number;
|
|
@@ -60,9 +63,13 @@ declare type __VLS_Props_4 = {
|
|
|
60
63
|
};
|
|
61
64
|
|
|
62
65
|
declare type __VLS_PublicProps = {
|
|
63
|
-
modelValue?:
|
|
66
|
+
modelValue?: boolean;
|
|
64
67
|
} & __VLS_Props_2;
|
|
65
68
|
|
|
69
|
+
declare type __VLS_PublicProps_2 = {
|
|
70
|
+
modelValue?: Date | null;
|
|
71
|
+
} & __VLS_Props_3;
|
|
72
|
+
|
|
66
73
|
declare function __VLS_template(): {
|
|
67
74
|
attrs: Partial<{}>;
|
|
68
75
|
slots: {
|
|
@@ -222,6 +229,19 @@ declare interface NexxtCalendarProps {
|
|
|
222
229
|
timezone?: string;
|
|
223
230
|
}
|
|
224
231
|
|
|
232
|
+
export declare const NexxtCheckbox: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
233
|
+
"update:modelValue": (value: boolean) => any;
|
|
234
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
235
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
236
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
237
|
+
inputRef: HTMLInputElement;
|
|
238
|
+
}, HTMLLabelElement>;
|
|
239
|
+
|
|
240
|
+
declare interface NexxtCheckboxProps {
|
|
241
|
+
disabled?: boolean;
|
|
242
|
+
indeterminate?: boolean;
|
|
243
|
+
}
|
|
244
|
+
|
|
225
245
|
export declare const NexxtChip: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
226
246
|
|
|
227
247
|
declare interface NexxtChipProps {
|
|
@@ -245,6 +265,26 @@ declare interface NexxtDatePickerProps extends NexxtCalendarProps {
|
|
|
245
265
|
autoClose?: boolean;
|
|
246
266
|
}
|
|
247
267
|
|
|
268
|
+
export declare const NexxtDropdownButton: DefineComponent<NexxtDropdownButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
269
|
+
navigate: (url: string) => any;
|
|
270
|
+
}, string, PublicProps, Readonly<NexxtDropdownButtonProps> & Readonly<{
|
|
271
|
+
onNavigate?: ((url: string) => any) | undefined;
|
|
272
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
273
|
+
wrapperRef: HTMLDivElement;
|
|
274
|
+
}, HTMLDivElement>;
|
|
275
|
+
|
|
276
|
+
declare interface NexxtDropdownButton_2 {
|
|
277
|
+
label: string;
|
|
278
|
+
action: string | (() => void);
|
|
279
|
+
icon?: InstanceType<typeof NexxtIcon>['name'];
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare interface NexxtDropdownButtonProps extends NexxtDropdownButton_2 {
|
|
283
|
+
variant?: 'primary' | 'secondary';
|
|
284
|
+
options: NexxtDropdownButton_2[];
|
|
285
|
+
placement?: 'left' | 'right';
|
|
286
|
+
}
|
|
287
|
+
|
|
248
288
|
export declare const NexxtHeader: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
249
289
|
|
|
250
290
|
declare interface NexxtHeaderProps {
|
|
@@ -339,11 +379,13 @@ declare interface NexxtStepperHeaderProps {
|
|
|
339
379
|
backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
|
|
340
380
|
}
|
|
341
381
|
|
|
342
|
-
export
|
|
382
|
+
export { NexxtTable }
|
|
383
|
+
|
|
384
|
+
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
343
385
|
splitView: boolean;
|
|
344
386
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
345
387
|
|
|
346
|
-
export declare const NexxtTimelinePhaseblock: DefineComponent<
|
|
388
|
+
export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
347
389
|
|
|
348
390
|
export declare const NexxtTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
349
391
|
|