@ambita/design-system 3.0.27-71.0 → 3.0.27-91.0
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/aux.common.js +340 -67
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +340 -67
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +5 -5
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +3 -3
- package/dist/types/components/Definition/Definition.vue.d.ts +1 -1
- package/dist/types/components/Input/Input.vue.d.ts +2 -2
- package/dist/types/components/Modal/Modal.vue.d.ts +3 -2
- package/dist/types/components/Notification/Notification.vue.d.ts +30 -0
- package/dist/types/components/Notification/Notifications.vue.d.ts +19 -0
- package/dist/types/components/Radio/Radio.vue.d.ts +2 -2
- package/dist/types/components/Select/Select.vue.d.ts +5 -5
- package/dist/types/components/TextArea/TextArea.vue.d.ts +5 -5
- package/dist/types/components/Upload/Upload.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
value: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
4
4
|
};
|
|
5
5
|
disabled: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
selected?: unknown;
|
|
30
30
|
indeterminate?: unknown;
|
|
31
31
|
} & {
|
|
32
|
-
id: string;
|
|
33
32
|
disabled: boolean;
|
|
33
|
+
id: string;
|
|
34
34
|
selected: boolean;
|
|
35
35
|
indeterminate: boolean;
|
|
36
36
|
} & {
|
|
@@ -39,8 +39,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
}> & {
|
|
40
40
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
id: string;
|
|
43
42
|
disabled: boolean;
|
|
43
|
+
id: string;
|
|
44
44
|
selected: boolean;
|
|
45
45
|
indeterminate: boolean;
|
|
46
46
|
}>;
|
|
@@ -66,10 +66,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
min?: unknown;
|
|
67
67
|
max?: unknown;
|
|
68
68
|
} & {
|
|
69
|
+
type: string;
|
|
69
70
|
label: string;
|
|
70
71
|
hideLabel: boolean;
|
|
71
72
|
id: string;
|
|
72
|
-
type: string;
|
|
73
73
|
clearable: boolean;
|
|
74
74
|
fieldWidth: string;
|
|
75
75
|
} & {
|
|
@@ -86,9 +86,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
86
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}, {
|
|
89
|
+
type: string;
|
|
89
90
|
hideLabel: boolean;
|
|
90
91
|
id: string;
|
|
91
|
-
type: string;
|
|
92
92
|
clearable: boolean;
|
|
93
93
|
fieldWidth: string;
|
|
94
94
|
}>;
|
|
@@ -30,6 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
propagateEvent: (eventPayLoad: string) => void;
|
|
32
32
|
emit: (event: string, ...args: any[]) => void;
|
|
33
|
+
closeButton: import("vue").Ref<HTMLInputElement | null>;
|
|
33
34
|
getTestId: (testid: string) => string | undefined;
|
|
34
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
35
36
|
actions?: unknown;
|
|
@@ -38,17 +39,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
39
|
title?: unknown;
|
|
39
40
|
dataTestid?: unknown;
|
|
40
41
|
} & {
|
|
41
|
-
id: string;
|
|
42
42
|
size: string;
|
|
43
43
|
actions: Action[];
|
|
44
|
+
id: string;
|
|
44
45
|
} & {
|
|
45
46
|
dataTestid?: string | undefined;
|
|
46
47
|
title?: string | undefined;
|
|
47
48
|
}> & {
|
|
48
49
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
49
50
|
}, {
|
|
50
|
-
id: string;
|
|
51
51
|
size: string;
|
|
52
52
|
actions: Action[];
|
|
53
|
+
id: string;
|
|
53
54
|
}>;
|
|
54
55
|
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
type: {
|
|
4
|
+
type: PropType<"success" | "info" | "warning" | "error">;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
id: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
classes: import("vue").ComputedRef<{
|
|
13
|
+
[x: string]: boolean | "success" | "info" | "warning" | "error";
|
|
14
|
+
'aux-notification': boolean;
|
|
15
|
+
'aux-notification-show': boolean;
|
|
16
|
+
}>;
|
|
17
|
+
icon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}> & {
|
|
18
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
19
|
+
}, {}>>;
|
|
20
|
+
removeNotification: () => void;
|
|
21
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
22
|
+
type?: unknown;
|
|
23
|
+
id?: unknown;
|
|
24
|
+
} & {
|
|
25
|
+
type: "success" | "info" | "warning" | "error";
|
|
26
|
+
id: string;
|
|
27
|
+
} & {}> & {
|
|
28
|
+
"onRemove-notification"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { NotificationType } from './Notification.d';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
notifications: {
|
|
5
|
+
type: PropType<NotificationType[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
removeNotification: (event: string) => void;
|
|
10
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
11
|
+
notifications?: unknown;
|
|
12
|
+
} & {
|
|
13
|
+
notifications: NotificationType[];
|
|
14
|
+
} & {}> & {
|
|
15
|
+
"onRemove-notification"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
notifications: NotificationType[];
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
@@ -28,15 +28,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
selected?: unknown;
|
|
29
29
|
} & {
|
|
30
30
|
name: string;
|
|
31
|
-
id: string;
|
|
32
31
|
disabled: boolean;
|
|
32
|
+
id: string;
|
|
33
33
|
selected: string;
|
|
34
34
|
} & {
|
|
35
35
|
value?: string | number | undefined;
|
|
36
36
|
}> & {
|
|
37
37
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
id: string;
|
|
40
39
|
disabled: boolean;
|
|
40
|
+
id: string;
|
|
41
41
|
}>;
|
|
42
42
|
export default _default;
|
|
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
};
|
|
35
35
|
value: {
|
|
36
|
-
type: (
|
|
36
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
37
37
|
};
|
|
38
38
|
modelValue: {
|
|
39
|
-
type: (
|
|
39
|
+
type: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
42
|
state: {
|
|
@@ -54,15 +54,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
value?: unknown;
|
|
55
55
|
modelValue?: unknown;
|
|
56
56
|
} & {
|
|
57
|
+
required: boolean;
|
|
57
58
|
hideLabel: boolean;
|
|
58
59
|
id: string;
|
|
59
|
-
required: boolean;
|
|
60
60
|
items: Item[];
|
|
61
61
|
} & {
|
|
62
62
|
name?: string | undefined;
|
|
63
|
-
label?: string | undefined;
|
|
64
63
|
description?: string | undefined;
|
|
65
64
|
value?: string | number | unknown[] | undefined;
|
|
65
|
+
label?: string | undefined;
|
|
66
66
|
modelValue?: string | number | unknown[] | undefined;
|
|
67
67
|
}> & {
|
|
68
68
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -70,8 +70,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
}, {
|
|
73
|
+
required: boolean;
|
|
73
74
|
hideLabel: boolean;
|
|
74
75
|
id: string;
|
|
75
|
-
required: boolean;
|
|
76
76
|
}>;
|
|
77
77
|
export default _default;
|
|
@@ -69,12 +69,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
required?: unknown;
|
|
70
70
|
value?: unknown;
|
|
71
71
|
} & {
|
|
72
|
-
label: string;
|
|
73
|
-
hideLabel: boolean;
|
|
74
|
-
id: string;
|
|
75
72
|
required: boolean;
|
|
76
73
|
value: string | number;
|
|
74
|
+
label: string;
|
|
77
75
|
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
76
|
+
hideLabel: boolean;
|
|
77
|
+
id: string;
|
|
78
78
|
height: number;
|
|
79
79
|
width: string;
|
|
80
80
|
} & {
|
|
@@ -87,11 +87,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
hideLabel: boolean;
|
|
91
|
-
id: string;
|
|
92
90
|
required: boolean;
|
|
93
91
|
value: string | number;
|
|
94
92
|
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
93
|
+
hideLabel: boolean;
|
|
94
|
+
id: string;
|
|
95
95
|
height: number;
|
|
96
96
|
width: string;
|
|
97
97
|
}>;
|
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
files: unknown[];
|
|
61
61
|
maxFileSize: number;
|
|
62
62
|
} & {
|
|
63
|
-
label?: string | undefined;
|
|
64
63
|
description?: string | undefined;
|
|
64
|
+
label?: string | undefined;
|
|
65
65
|
maxAttachmentCount?: number | undefined;
|
|
66
66
|
}> & {
|
|
67
67
|
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { default as AuxToggle } from './components/Toggle/Toggle.vue';
|
|
|
17
17
|
export { default as AuxPagination } from './components/Pagination/Pagination.vue';
|
|
18
18
|
export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
|
|
19
19
|
export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
|
|
20
|
+
export { default as AuxNotifications } from './components/Notification/Notifications.vue';
|
|
20
21
|
export { default as AuxStatusBanner } from './components/StatusBanner/StatusBanner';
|
|
21
22
|
export { formatDate } from '@/helpers/formatters/formatDateAndTime/';
|
|
22
23
|
export { formatPrice } from '@/helpers/formatters/formatQuantity/formatAmount';
|