@nexxtmove/ui 0.1.29 → 0.1.31
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 +39 -8
- package/dist/index.js +1193 -958
- package/dist/nuxt.js +28 -25
- package/package.json +1 -1
- package/src/components/Avatar/Avatar.stories.ts +28 -0
- package/src/components/Avatar/Avatar.test.ts +55 -0
- package/src/components/Avatar/Avatar.vue +49 -0
- 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/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: {
|
|
@@ -199,6 +206,15 @@ declare type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands';
|
|
|
199
206
|
|
|
200
207
|
export declare const NexxtAnimatedNumber: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
201
208
|
|
|
209
|
+
export declare const NexxtAvatar: DefineComponent<NexxtAvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtAvatarProps> & Readonly<{}>, {
|
|
210
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
211
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
212
|
+
|
|
213
|
+
declare interface NexxtAvatarProps {
|
|
214
|
+
name: string;
|
|
215
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
216
|
+
}
|
|
217
|
+
|
|
202
218
|
export declare const NexxtButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
203
219
|
|
|
204
220
|
declare interface NexxtButtonProps {
|
|
@@ -222,6 +238,19 @@ declare interface NexxtCalendarProps {
|
|
|
222
238
|
timezone?: string;
|
|
223
239
|
}
|
|
224
240
|
|
|
241
|
+
export declare const NexxtCheckbox: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
242
|
+
"update:modelValue": (value: boolean) => any;
|
|
243
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
244
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
245
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
246
|
+
inputRef: HTMLInputElement;
|
|
247
|
+
}, HTMLLabelElement>;
|
|
248
|
+
|
|
249
|
+
declare interface NexxtCheckboxProps {
|
|
250
|
+
disabled?: boolean;
|
|
251
|
+
indeterminate?: boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
225
254
|
export declare const NexxtChip: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
226
255
|
|
|
227
256
|
declare interface NexxtChipProps {
|
|
@@ -359,11 +388,13 @@ declare interface NexxtStepperHeaderProps {
|
|
|
359
388
|
backButtonAction: InstanceType<typeof NexxtHeader>['backButtonAction'];
|
|
360
389
|
}
|
|
361
390
|
|
|
362
|
-
export
|
|
391
|
+
export { NexxtTable }
|
|
392
|
+
|
|
393
|
+
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
363
394
|
splitView: boolean;
|
|
364
395
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
365
396
|
|
|
366
|
-
export declare const NexxtTimelinePhaseblock: DefineComponent<
|
|
397
|
+
export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
367
398
|
|
|
368
399
|
export declare const NexxtTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
369
400
|
|