@ambita/design-system 3.0.27-291.0 → 3.0.27-31.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 +6277 -66681
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +6277 -66681
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +1 -35
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/css/colors-css-variables.scss +51 -56
- package/dist/css/colors-scss-variables.scss +0 -5
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +7 -7
- package/dist/types/components/Banner/Banner.vue.d.ts +15 -15
- package/dist/types/components/Button/Button.vue.d.ts +14 -19
- package/dist/types/components/Card/Card.vue.d.ts +5 -1
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +17 -25
- package/dist/types/components/Definition/Definition.vue.d.ts +16 -24
- package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +7 -8
- package/dist/types/components/FormElement/FormElement.vue.d.ts +14 -20
- package/dist/types/components/Input/Input.vue.d.ts +32 -46
- package/dist/types/components/Link/Link.vue.d.ts +8 -11
- package/dist/types/components/Modal/Actions.vue.d.ts +5 -6
- package/dist/types/components/Modal/Modal.vue.d.ts +16 -25
- package/dist/types/components/Pagination/Pagination.vue.d.ts +10 -16
- package/dist/types/components/Pill/Pill.vue.d.ts +7 -7
- package/dist/types/components/Radio/Radio.vue.d.ts +15 -22
- package/dist/types/components/Select/Select.vue.d.ts +23 -36
- package/dist/types/components/TextArea/TextArea.vue.d.ts +35 -54
- package/dist/types/components/Toggle/Toggle.vue.d.ts +19 -94
- package/dist/types/components/Upload/File/File.vue.d.ts +18 -31
- package/dist/types/components/Upload/Upload.vue.d.ts +18 -27
- package/dist/types/helpers/formatters/formatQuantity/formatNumber.d.ts +0 -1
- package/dist/types/index.d.ts +0 -5
- package/package.json +2 -6
- package/dist/css/colors-css-variables.css +0 -51
- package/dist/favicons/ambita/favicon.ico +0 -0
- package/dist/favicons/ambita/favicon.svg +0 -9
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.stories.d.ts +0 -21
- package/dist/types/components/Banner/Banner.stories.d.ts +0 -48
- package/dist/types/components/Button/Button.stories.d.ts +0 -55
- package/dist/types/components/Card/Card.stories.d.ts +0 -7
- package/dist/types/components/Checkbox/Checkbox.stories.d.ts +0 -65
- package/dist/types/components/Color/Colors.stories.d.ts +0 -7
- package/dist/types/components/Definition/Definition.stories.d.ts +0 -71
- package/dist/types/components/DirectionalArrow/DirectionalArrow.stories.d.ts +0 -28
- package/dist/types/components/Icons/Icon.stories.d.ts +0 -7
- package/dist/types/components/Input/Input.stories.d.ts +0 -122
- package/dist/types/components/JsonForm/Controls/Array.vue.d.ts +0 -35
- package/dist/types/components/JsonForm/Controls/Boolean.vue.d.ts +0 -22
- package/dist/types/components/JsonForm/Controls/Number.vue.d.ts +0 -19
- package/dist/types/components/JsonForm/Controls/String.vue.d.ts +0 -29
- package/dist/types/components/JsonForm/Controls/Wrapper.vue.d.ts +0 -27
- package/dist/types/components/JsonForm/JsonForm.stories.d.ts +0 -7
- package/dist/types/components/JsonForm/Renderers/Array.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Boolean.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Integer.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Layout.vue.d.ts +0 -88
- package/dist/types/components/JsonForm/Renderers/Number.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Object.vue.d.ts +0 -97
- package/dist/types/components/JsonForm/Renderers/String.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/index.d.ts +0 -9
- package/dist/types/components/Link/Link.stories.d.ts +0 -50
- package/dist/types/components/Logo/Logo.stories.d.ts +0 -7
- package/dist/types/components/Modal/Modal.stories.d.ts +0 -42
- package/dist/types/components/Notification/Notification.stories.d.ts +0 -7
- package/dist/types/components/Notification/Notification.vue.d.ts +0 -31
- package/dist/types/components/Notification/Notifications.vue.d.ts +0 -20
- package/dist/types/components/Pagination/Pagination.stories.d.ts +0 -52
- package/dist/types/components/Pill/Pill.stories.d.ts +0 -27
- package/dist/types/components/Radio/Radio.stories.d.ts +0 -59
- package/dist/types/components/Select/Select.stories.d.ts +0 -102
- package/dist/types/components/Spinner/Spinner.stories.d.ts +0 -8
- package/dist/types/components/StatusBadge/StatusBadge.stories.d.ts +0 -31
- package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +0 -25
- package/dist/types/components/StatusBadge/Statuses.d.ts +0 -1
- package/dist/types/components/StatusBanner/StatusBanner.d.ts +0 -2
- package/dist/types/components/Tag/Colors.d.ts +0 -1
- package/dist/types/components/Tag/Tag.stories.d.ts +0 -27
- package/dist/types/components/Tag/Tag.vue.d.ts +0 -21
- package/dist/types/components/TextArea/TextArea.stories.d.ts +0 -129
- package/dist/types/components/Toggle/Toggle.stories.d.ts +0 -101
- package/dist/types/components/Upload/Upload.stories.d.ts +0 -94
- package/dist/types/helpers/formatters/formatDateAndTime/Storybook/formatDateAndTime.stories.d.ts +0 -7
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatAmount.stories.d.ts +0 -7
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatNumber.stories.d.ts +0 -7
|
@@ -9,13 +9,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
[x: string]: boolean;
|
|
10
10
|
'aux-pill': boolean;
|
|
11
11
|
}>;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
-
color
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
}
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
+
color?: unknown;
|
|
14
|
+
} & {
|
|
15
|
+
color: string;
|
|
16
|
+
} & {}> & {
|
|
17
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
18
|
+
}, {
|
|
19
19
|
color: string;
|
|
20
20
|
}>;
|
|
21
21
|
export default _default;
|
|
@@ -20,30 +20,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
}, {
|
|
22
22
|
isSelected: import("vue").ComputedRef<boolean>;
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
24
|
-
value
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
selected: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
}>> & {
|
|
23
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
24
|
+
value?: unknown;
|
|
25
|
+
disabled?: unknown;
|
|
26
|
+
id?: unknown;
|
|
27
|
+
name?: unknown;
|
|
28
|
+
selected?: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
name: string;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
id: string;
|
|
33
|
+
selected: string;
|
|
34
|
+
} & {
|
|
35
|
+
value?: string | number | undefined;
|
|
36
|
+
}> & {
|
|
44
37
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
45
38
|
}, {
|
|
46
|
-
id: string;
|
|
47
39
|
disabled: boolean;
|
|
40
|
+
id: string;
|
|
48
41
|
}>;
|
|
49
42
|
export default _default;
|
|
@@ -43,48 +43,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
value: string | number | unknown[] | undefined;
|
|
44
44
|
};
|
|
45
45
|
updateValue: (value: string) => void;
|
|
46
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "
|
|
47
|
-
items
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
id:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
description: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
};
|
|
74
|
-
value: {
|
|
75
|
-
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
76
|
-
};
|
|
77
|
-
modelValue: {
|
|
78
|
-
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
79
|
-
};
|
|
80
|
-
}>> & {
|
|
46
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change")[], "blur" | "change" | "focus" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
47
|
+
items?: unknown;
|
|
48
|
+
label?: unknown;
|
|
49
|
+
required?: unknown;
|
|
50
|
+
id?: unknown;
|
|
51
|
+
name?: unknown;
|
|
52
|
+
hideLabel?: unknown;
|
|
53
|
+
description?: unknown;
|
|
54
|
+
value?: unknown;
|
|
55
|
+
modelValue?: unknown;
|
|
56
|
+
} & {
|
|
57
|
+
required: boolean;
|
|
58
|
+
hideLabel: boolean;
|
|
59
|
+
id: string;
|
|
60
|
+
items: Item[];
|
|
61
|
+
} & {
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
value?: string | number | unknown[] | undefined;
|
|
65
|
+
label?: string | undefined;
|
|
66
|
+
modelValue?: string | number | unknown[] | undefined;
|
|
67
|
+
}> & {
|
|
81
68
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
82
69
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
83
70
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
84
71
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
72
|
}, {
|
|
73
|
+
required: boolean;
|
|
86
74
|
hideLabel: boolean;
|
|
87
75
|
id: string;
|
|
88
|
-
required: boolean;
|
|
89
76
|
}>;
|
|
90
77
|
export default _default;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
};
|
|
28
28
|
resize: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"none" | "vertical" | "horizontal" | "auto" | "both">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
height: {
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
};
|
|
48
48
|
}, {
|
|
49
49
|
styles: import("vue").ComputedRef<{
|
|
50
|
-
resize: "
|
|
50
|
+
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
51
51
|
'max-width': string;
|
|
52
52
|
}>;
|
|
53
53
|
handleInput(event: {
|
|
@@ -55,63 +55,44 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
value: string;
|
|
56
56
|
};
|
|
57
57
|
}): void;
|
|
58
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
59
|
-
modelValue
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
height: {
|
|
89
|
-
type: NumberConstructor;
|
|
90
|
-
default: number;
|
|
91
|
-
};
|
|
92
|
-
width: {
|
|
93
|
-
type: StringConstructor;
|
|
94
|
-
default: string;
|
|
95
|
-
};
|
|
96
|
-
required: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
value: {
|
|
101
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
102
|
-
default: string;
|
|
103
|
-
};
|
|
104
|
-
}>> & {
|
|
105
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue")[], "input" | "blur" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
59
|
+
modelValue?: unknown;
|
|
60
|
+
label?: unknown;
|
|
61
|
+
id?: unknown;
|
|
62
|
+
description?: unknown;
|
|
63
|
+
hideLabel?: unknown;
|
|
64
|
+
name?: unknown;
|
|
65
|
+
placeholder?: unknown;
|
|
66
|
+
resize?: unknown;
|
|
67
|
+
height?: unknown;
|
|
68
|
+
width?: unknown;
|
|
69
|
+
required?: unknown;
|
|
70
|
+
value?: unknown;
|
|
71
|
+
} & {
|
|
72
|
+
required: boolean;
|
|
73
|
+
value: string | number;
|
|
74
|
+
label: string;
|
|
75
|
+
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
76
|
+
hideLabel: boolean;
|
|
77
|
+
id: string;
|
|
78
|
+
height: number;
|
|
79
|
+
width: string;
|
|
80
|
+
} & {
|
|
81
|
+
name?: string | undefined;
|
|
82
|
+
description?: string | undefined;
|
|
83
|
+
modelValue?: string | number | undefined;
|
|
84
|
+
placeholder?: string | undefined;
|
|
85
|
+
}> & {
|
|
106
86
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
107
88
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
89
|
}, {
|
|
109
|
-
hideLabel: boolean;
|
|
110
|
-
id: string;
|
|
111
90
|
required: boolean;
|
|
112
91
|
value: string | number;
|
|
113
|
-
resize: "
|
|
114
|
-
|
|
92
|
+
resize: "none" | "vertical" | "horizontal" | "auto" | "both";
|
|
93
|
+
hideLabel: boolean;
|
|
94
|
+
id: string;
|
|
115
95
|
height: number;
|
|
96
|
+
width: string;
|
|
116
97
|
}>;
|
|
117
98
|
export default _default;
|
|
@@ -1,95 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
hideLabel: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
hideOffLabel: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
hideOnLabel: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
dataTestid: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
required: false;
|
|
37
|
-
};
|
|
38
|
-
}, {
|
|
39
|
-
activeText: import("vue").ComputedRef<string>;
|
|
40
|
-
inactiveText: import("vue").ComputedRef<string>;
|
|
41
|
-
getTestId: (testId: string) => string | undefined;
|
|
42
|
-
change: () => void;
|
|
43
|
-
toggle: () => void;
|
|
44
|
-
active: import("vue").Ref<boolean>;
|
|
45
|
-
radioOn: import("vue").Ref<HTMLInputElement | null>;
|
|
46
|
-
radioOff: import("vue").Ref<HTMLInputElement | null>;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
-
id: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
51
|
-
};
|
|
52
|
-
label: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
required: false;
|
|
55
|
-
};
|
|
56
|
-
offLabel: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
onLabel: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
checked: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
hideLabel: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
hideOffLabel: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
hideOnLabel: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
dataTestid: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
required: false;
|
|
83
|
-
};
|
|
84
|
-
}>> & {
|
|
85
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}, {
|
|
87
|
-
hideLabel: boolean;
|
|
88
|
-
id: string;
|
|
89
|
-
checked: boolean;
|
|
90
|
-
offLabel: string;
|
|
91
|
-
onLabel: string;
|
|
92
|
-
hideOffLabel: boolean;
|
|
93
|
-
hideOnLabel: boolean;
|
|
94
|
-
}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<Readonly<{} & {} & {}> & ({
|
|
2
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
3
|
+
} | {
|
|
4
|
+
[x: string & `on${string}`]: ((...args: never) => any) | undefined;
|
|
5
|
+
}), (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<({
|
|
8
|
+
[x: string & `on${string}`]: unknown;
|
|
9
|
+
} & {} & {
|
|
10
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}) | ({
|
|
12
|
+
[x: string & `on${string}`]: unknown;
|
|
13
|
+
} & {} & {
|
|
14
|
+
[x: string & `on${string}`]: ((...args: never) => any) | undefined;
|
|
15
|
+
})> & ({
|
|
16
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
17
|
+
} | {
|
|
18
|
+
[x: string & `on${string}`]: ((...args: never) => any) | undefined;
|
|
19
|
+
}), {} | {}>;
|
|
95
20
|
export default _default;
|
|
@@ -30,37 +30,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
}, {
|
|
32
32
|
removeFile: () => void;
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
34
|
-
file
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
};
|
|
52
|
-
percentage: {
|
|
53
|
-
type: NumberConstructor;
|
|
54
|
-
};
|
|
55
|
-
uuid: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
failed: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-file"[], "remove-file", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
34
|
+
file?: unknown;
|
|
35
|
+
filename?: unknown;
|
|
36
|
+
filePath?: unknown;
|
|
37
|
+
time?: unknown;
|
|
38
|
+
percentage?: unknown;
|
|
39
|
+
uuid?: unknown;
|
|
40
|
+
failed?: unknown;
|
|
41
|
+
} & {
|
|
42
|
+
filename: string;
|
|
43
|
+
time: string;
|
|
44
|
+
uuid: string;
|
|
45
|
+
failed: boolean;
|
|
46
|
+
} & {
|
|
47
|
+
file?: File | undefined;
|
|
48
|
+
filePath?: string | undefined;
|
|
49
|
+
percentage?: number | undefined;
|
|
50
|
+
}> & {
|
|
64
51
|
"onRemove-file"?: ((...args: any[]) => any) | undefined;
|
|
65
52
|
}, {
|
|
66
53
|
failed: boolean;
|
|
@@ -46,33 +46,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
handleFile: (event: Event) => void;
|
|
47
47
|
filesCollection: any;
|
|
48
48
|
setWarning: (files: FileList) => void;
|
|
49
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("file-added" | "file-removed")[], "file-added" | "file-removed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<
|
|
50
|
-
files
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
};
|
|
68
|
-
maxFileSize: {
|
|
69
|
-
type: NumberConstructor;
|
|
70
|
-
default: NumberConstructor;
|
|
71
|
-
};
|
|
72
|
-
maxAttachmentCount: {
|
|
73
|
-
type: NumberConstructor;
|
|
74
|
-
};
|
|
75
|
-
}>> & {
|
|
49
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("file-added" | "file-removed")[], "file-added" | "file-removed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
50
|
+
files?: unknown;
|
|
51
|
+
id?: unknown;
|
|
52
|
+
label?: unknown;
|
|
53
|
+
description?: unknown;
|
|
54
|
+
hideLabel?: unknown;
|
|
55
|
+
maxFileSize?: unknown;
|
|
56
|
+
maxAttachmentCount?: unknown;
|
|
57
|
+
} & {
|
|
58
|
+
hideLabel: boolean;
|
|
59
|
+
id: string;
|
|
60
|
+
files: unknown[];
|
|
61
|
+
maxFileSize: number;
|
|
62
|
+
} & {
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
label?: string | undefined;
|
|
65
|
+
maxAttachmentCount?: number | undefined;
|
|
66
|
+
}> & {
|
|
76
67
|
"onFile-added"?: ((...args: any[]) => any) | undefined;
|
|
77
68
|
"onFile-removed"?: ((...args: any[]) => any) | undefined;
|
|
78
69
|
}, {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,15 +13,10 @@ export { default as AuxModal } from './components/Modal/Modal.vue';
|
|
|
13
13
|
export { default as AuxTextArea } from './components/TextArea/TextArea.vue';
|
|
14
14
|
export { default as AuxUpload } from './components/Upload/Upload.vue';
|
|
15
15
|
export { default as AuxCard } from './components/Card/Card.vue';
|
|
16
|
-
export { default as AuxTag } from './components/Tag/Tag.vue';
|
|
17
16
|
export { default as AuxToggle } from './components/Toggle/Toggle.vue';
|
|
18
17
|
export { default as AuxPagination } from './components/Pagination/Pagination.vue';
|
|
19
18
|
export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
|
|
20
19
|
export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
|
|
21
|
-
export { default as AuxNotifications } from './components/Notification/Notifications.vue';
|
|
22
|
-
export { default as AuxJsonForm } from './components/JsonForm/JsonForm.vue';
|
|
23
|
-
export { default as AuxStatusBadge } from './components/StatusBadge/StatusBadge.vue';
|
|
24
|
-
export { default as AuxStatusBanner } from './components/StatusBanner/StatusBanner';
|
|
25
20
|
export { formatDate } from '@/helpers/formatters/formatDateAndTime/';
|
|
26
21
|
export { formatPrice } from '@/helpers/formatters/formatQuantity/formatAmount';
|
|
27
22
|
export { formatNumber } from '@/helpers/formatters/formatQuantity/formatNumber';
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambita/design-system",
|
|
3
|
-
"version": "3.0.27-
|
|
3
|
+
"version": "3.0.27-31.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run storybook",
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
7
7
|
"build:storybook": "npm run storybook:build",
|
|
8
8
|
"build:package": "vue-cli-service build --target lib --name aux ./src/index.ts",
|
|
9
9
|
"deploy-package": "npm run build-package && npm publish --tag beta",
|
|
10
|
-
"sass-compile": "sass ./src/css/colors-css-variables.scss ./dist/css/colors-css-variables.css --no-source-map",
|
|
11
10
|
"test:unit": "vue-cli-service test:unit",
|
|
12
11
|
"test-watch:unit": "vue-cli-service test:unit --watch",
|
|
13
12
|
"lint": "vue-cli-service lint",
|
|
@@ -17,9 +16,6 @@
|
|
|
17
16
|
"phosphor:update": "node scripts/phosphorUpdate.js"
|
|
18
17
|
},
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"@jsonforms/vue": "^3.0.0",
|
|
21
|
-
"@types/aws-iot-device-sdk": "^2.2.4",
|
|
22
|
-
"aws-iot-device-sdk": "^1.0.13",
|
|
23
19
|
"core-js": "^3.6.5",
|
|
24
20
|
"sanitize.css": "12.0.1",
|
|
25
21
|
"uuid": "^3.4.0",
|
|
@@ -56,7 +52,7 @@
|
|
|
56
52
|
"prettier": "^2.2.1",
|
|
57
53
|
"sass": "^1.26.5",
|
|
58
54
|
"sass-loader": "^8.0.2",
|
|
59
|
-
"simple-git": "^3.
|
|
55
|
+
"simple-git": "^3.14.1",
|
|
60
56
|
"tsconfig-paths-webpack-plugin": "^3.5.1",
|
|
61
57
|
"typescript": "~4.5.5",
|
|
62
58
|
"vue-jest": "^5.0.0-0",
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/* Do not use if you need IE11 support */
|
|
2
|
-
:root {
|
|
3
|
-
/* Purple */
|
|
4
|
-
--aux-purple: #8237DC;
|
|
5
|
-
--aux-purple-1: #E6D7F8;
|
|
6
|
-
--aux-purple-2: #CDAFF1;
|
|
7
|
-
--aux-purple-3: #B487EA;
|
|
8
|
-
--aux-purple-4: #9B5FE3;
|
|
9
|
-
--aux-purple-5: #682CB0;
|
|
10
|
-
--aux-purple-6: #4E2184;
|
|
11
|
-
--aux-purple-7: #341658;
|
|
12
|
-
--aux-purple-8: #1A0B2C;
|
|
13
|
-
/* Dark Purple */
|
|
14
|
-
--aux-dark-purple: #360076;
|
|
15
|
-
--aux-dark-purple-1: #D8CDE6;
|
|
16
|
-
--aux-dark-purple-2: #B098C6;
|
|
17
|
-
--aux-dark-purple-3: #8666AC;
|
|
18
|
-
--aux-dark-purple-4: #5F3591;
|
|
19
|
-
--aux-dark-purple-5: #2D1C5B;
|
|
20
|
-
--aux-dark-purple-6: #200E47;
|
|
21
|
-
--aux-dark-purple-7: #1A0F2E;
|
|
22
|
-
--aux-dark-purple-8: #110B18;
|
|
23
|
-
/* Mint green */
|
|
24
|
-
--aux-mint: #34D9C3;
|
|
25
|
-
--aux-mint-1: #D8EFEE;
|
|
26
|
-
--aux-mint-2: #B5E1DD;
|
|
27
|
-
--aux-mint-3: #93D4D0;
|
|
28
|
-
--aux-mint-4: #72CAC3;
|
|
29
|
-
--aux-mint-5: #26AE9B;
|
|
30
|
-
--aux-mint-6: #218376;
|
|
31
|
-
--aux-mint-7: #14584E;
|
|
32
|
-
--aux-mint-8: #0A2B26;
|
|
33
|
-
/* Grey */
|
|
34
|
-
--aux-grey-1: #E1E1E1;
|
|
35
|
-
--aux-grey-2: #D2D2D2;
|
|
36
|
-
--aux-grey-3: #BEBEBE;
|
|
37
|
-
--aux-grey-4: #AFAFAF;
|
|
38
|
-
--aux-grey-5: #555555;
|
|
39
|
-
--aux-grey-6: #333333;
|
|
40
|
-
/* Supports */
|
|
41
|
-
--aux-red: #C10000;
|
|
42
|
-
--aux-blue: #0067A3;
|
|
43
|
-
--aux-yellow: #ECD025;
|
|
44
|
-
--aux-green: #5CB85C;
|
|
45
|
-
--aux-white: #FFF;
|
|
46
|
-
--aux-black: #000;
|
|
47
|
-
--aux-focus: #003eff;
|
|
48
|
-
/* Borders */
|
|
49
|
-
--aux-border-1-grey-1: 1px solid #E1E1E1;
|
|
50
|
-
--aux-border-2-grey-1: 2px solid #E1E1E1;
|
|
51
|
-
}
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg width="584" height="584" viewBox="0 0 584 584" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<style>
|
|
3
|
-
#favicon{fill: #8237DC;}
|
|
4
|
-
@media (prefers-color-scheme: dark) {
|
|
5
|
-
#favicon {fill: #FFF;}
|
|
6
|
-
}
|
|
7
|
-
</style>
|
|
8
|
-
<path id="favicon" d="M435.463 303.831C433.579 342.337 418.392 378.997 392.493 407.559C379.028 421.358 362.927 432.31 345.145 439.764C327.363 447.218 308.264 451.022 288.983 450.95C269.67 451.24 250.505 447.535 232.692 440.068C214.88 432.601 198.803 421.533 185.472 407.559C158.783 378.631 143.17 338.582 143.17 292.995V291.897C143.457 245.595 158.974 205.975 185.472 178.384C198.359 163.698 214.3 152.004 232.179 144.121C250.059 136.239 269.446 132.358 288.983 132.75C308.486 132.582 327.803 136.564 345.649 144.431C363.495 152.299 379.463 163.873 392.493 178.384C418.704 206.652 433.945 243.357 435.463 281.873V303.879V303.831ZM506.555 13.6517H482.682C470.171 13.6895 458.182 18.6755 449.335 27.5209C440.488 36.3662 435.501 48.3522 435.463 60.8614V61.5774C392.752 30.826 341.52 14.1414 288.887 13.8427C253.297 13.8319 218.094 21.2281 185.519 35.5606C152.944 49.893 123.709 70.848 99.6752 97.092C52.0738 146.784 24.2864 215.474 24 291.85V292.948C23.3913 365.437 50.4552 435.43 99.6752 488.66C123.969 514.427 153.301 534.926 185.85 548.886C218.399 562.845 253.47 569.967 288.887 569.809C341.43 569.835 392.671 553.465 435.463 522.981C435.589 535.428 440.616 547.324 449.455 556.089C458.294 564.855 470.232 569.785 482.682 569.809H506.555C519.066 569.771 531.055 564.785 539.902 555.94C548.749 547.095 553.736 535.109 553.774 522.599V60.8614C553.736 48.3522 548.749 36.3662 539.902 27.5209C531.055 18.6755 519.066 13.6895 506.555 13.6517V13.6517Z" fill="#8237DC"/>
|
|
9
|
-
</svg>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
priority: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
validator: (priority: string) => boolean;
|
|
9
|
-
};
|
|
10
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
priority: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
validator: (priority: string) => boolean;
|
|
15
|
-
};
|
|
16
|
-
}>>, {
|
|
17
|
-
priority: string;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
21
|
-
export declare const AriaLiveAnnounceProps: Story<import("@storybook/vue3").Args>;
|