@ambita/design-system 3.0.33 → 3.0.34-461.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 +229 -62
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +229 -62
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +8 -8
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/types/components/Button/Button.stories.d.ts +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.stories.d.ts +2 -2
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +2 -2
- package/dist/types/components/Modal/Modal.stories.d.ts +7 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +12 -0
- package/dist/types/components/ValidationWrapper/ValidationWrapper.stories.d.ts +17 -1
- package/dist/types/components/ValidationWrapper/ValidationWrapper.vue.d.ts +19 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("vue").DefineComponent<{
|
|
5
5
|
value: {
|
|
6
|
-
type: (StringConstructor |
|
|
6
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
7
7
|
};
|
|
8
8
|
disabled: {
|
|
9
9
|
type: BooleanConstructor;
|
|
@@ -26,7 +26,7 @@ declare const _default: {
|
|
|
26
26
|
};
|
|
27
27
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
value: {
|
|
29
|
-
type: (StringConstructor |
|
|
29
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
30
30
|
};
|
|
31
31
|
disabled: {
|
|
32
32
|
type: BooleanConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
value: {
|
|
3
|
-
type: (StringConstructor |
|
|
3
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
4
4
|
};
|
|
5
5
|
disabled: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
};
|
|
24
24
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
value: {
|
|
26
|
-
type: (StringConstructor |
|
|
26
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
27
27
|
};
|
|
28
28
|
disabled: {
|
|
29
29
|
type: BooleanConstructor;
|
|
@@ -26,6 +26,7 @@ declare const _default: {
|
|
|
26
26
|
primary?: undefined;
|
|
27
27
|
})[];
|
|
28
28
|
open: boolean;
|
|
29
|
+
buttonsMobileLayout: string;
|
|
29
30
|
};
|
|
30
31
|
argTypes: {
|
|
31
32
|
size: {
|
|
@@ -36,6 +37,12 @@ declare const _default: {
|
|
|
36
37
|
};
|
|
37
38
|
title: StringConstructor;
|
|
38
39
|
open: BooleanConstructor;
|
|
40
|
+
buttonsMobileLayout: {
|
|
41
|
+
control: {
|
|
42
|
+
type: string;
|
|
43
|
+
options: string[];
|
|
44
|
+
};
|
|
45
|
+
};
|
|
39
46
|
};
|
|
40
47
|
};
|
|
41
48
|
export default _default;
|
|
@@ -18,6 +18,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
validator: (value: string) => boolean;
|
|
20
20
|
};
|
|
21
|
+
buttonsMobileLayout: {
|
|
22
|
+
type: PropType<"vertical" | "horizontal">;
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (value: string) => boolean;
|
|
25
|
+
};
|
|
21
26
|
dataTestid: {
|
|
22
27
|
type: StringConstructor;
|
|
23
28
|
required: false;
|
|
@@ -33,6 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
38
|
closeButton: import("vue").Ref<HTMLInputElement | null>;
|
|
34
39
|
getTestId: (testid: string) => string | undefined;
|
|
35
40
|
modal: import("vue").Ref<HTMLDialogElement | null>;
|
|
41
|
+
useVerticalLayout: false | import("vue").Ref<boolean>;
|
|
36
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
43
|
actions: {
|
|
38
44
|
type: PropType<Action[]>;
|
|
@@ -51,6 +57,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
57
|
type: StringConstructor;
|
|
52
58
|
validator: (value: string) => boolean;
|
|
53
59
|
};
|
|
60
|
+
buttonsMobileLayout: {
|
|
61
|
+
type: PropType<"vertical" | "horizontal">;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: string) => boolean;
|
|
64
|
+
};
|
|
54
65
|
dataTestid: {
|
|
55
66
|
type: StringConstructor;
|
|
56
67
|
required: false;
|
|
@@ -59,5 +70,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
70
|
id: string;
|
|
60
71
|
size: string;
|
|
61
72
|
actions: Action[];
|
|
73
|
+
buttonsMobileLayout: "vertical" | "horizontal";
|
|
62
74
|
}>;
|
|
63
75
|
export default _default;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { Story } from '@storybook/vue3';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
errorMessages: {
|
|
6
|
+
type: import("vue").PropType<string[]>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
icon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
11
|
+
iconClasses: import("vue").ComputedRef<{
|
|
12
|
+
icon: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
hasErrorMessages: import("vue").ComputedRef<boolean>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
errorMessages: {
|
|
17
|
+
type: import("vue").PropType<string[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>>, {}>;
|
|
5
21
|
argTypes: {};
|
|
6
22
|
};
|
|
7
23
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
errorMessages: {
|
|
4
|
+
type: PropType<string[]>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
icon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
9
|
+
iconClasses: import("vue").ComputedRef<{
|
|
10
|
+
icon: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
hasErrorMessages: import("vue").ComputedRef<boolean>;
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
errorMessages: {
|
|
15
|
+
type: PropType<string[]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}>>, {}>;
|
|
19
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export { default as AuxNotifications } from './components/Notification/Notificat
|
|
|
23
23
|
export { default as AuxJsonForm } from './components/JsonForm/JsonForm.vue';
|
|
24
24
|
export { default as AuxStatusBadge } from './components/StatusBadge/StatusBadge.vue';
|
|
25
25
|
export { default as AuxStatusBanner } from './components/StatusBanner/StatusBanner';
|
|
26
|
+
export { default as AuxValidationWrapper } from './components/ValidationWrapper/ValidationWrapper.vue';
|
|
26
27
|
export { formatDate } from '@/helpers/formatters/formatDateAndTime/';
|
|
27
28
|
export { formatPrice } from '@/helpers/formatters/formatQuantity/formatAmount';
|
|
28
29
|
export { formatNumber } from '@/helpers/formatters/formatQuantity/formatNumber';
|