@ambita/design-system 3.0.27-251.0 → 3.0.27-271.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 +253 -48
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +253 -48
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +6 -6
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/css/colors-scss-variables.scss +4 -0
- package/dist/types/components/StatusBadge/StatusBadge.stories.d.ts +24 -1
- package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +25 -0
- package/dist/types/components/Tag/Colors.d.ts +1 -0
- package/dist/types/components/Tag/Tag.stories.d.ts +27 -0
- package/dist/types/components/Tag/Tag.vue.d.ts +21 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -39,10 +39,14 @@ $aux-grey-4: #AFAFAF;
|
|
|
39
39
|
$aux-grey-5: #555555;
|
|
40
40
|
$aux-grey-6: #333333;
|
|
41
41
|
|
|
42
|
+
|
|
42
43
|
// Supports
|
|
44
|
+
$aux-red-1: #ffe5e5;
|
|
43
45
|
$aux-red: #C10000;
|
|
44
46
|
$aux-blue: #0067A3;
|
|
47
|
+
$aux-blue-2: #C2E0F2;
|
|
45
48
|
$aux-yellow: #ECD025;
|
|
49
|
+
$aux-yellow-1: #fff3a8;
|
|
46
50
|
$aux-yellow-2:#F2C94C;
|
|
47
51
|
$aux-green: #5CB85C;
|
|
48
52
|
$aux-white: #FFF;
|
|
@@ -1,7 +1,30 @@
|
|
|
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
|
+
status: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: string) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
classes: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
'aux-status-badge': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
dotClasses: import("vue").ComputedRef<{
|
|
16
|
+
[x: string]: boolean;
|
|
17
|
+
'aux-status-badge-dot': boolean;
|
|
18
|
+
}>;
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
status: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
validator: (value: string) => boolean;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
status: string;
|
|
27
|
+
}>;
|
|
5
28
|
};
|
|
6
29
|
export default _default;
|
|
7
30
|
export declare const StatusBadge: Story<import("@storybook/vue3").Args>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
status: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
classes: import("vue").ComputedRef<{
|
|
9
|
+
[x: string]: boolean;
|
|
10
|
+
'aux-status-badge': boolean;
|
|
11
|
+
}>;
|
|
12
|
+
dotClasses: import("vue").ComputedRef<{
|
|
13
|
+
[x: string]: boolean;
|
|
14
|
+
'aux-status-badge-dot': boolean;
|
|
15
|
+
}>;
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
status: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
}>>, {
|
|
23
|
+
status: string;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TAG_COLORS: string[];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Story } from '@storybook/vue3';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("vue").DefineComponent<{
|
|
5
|
+
color: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: string) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
classes: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
'aux-tag': boolean;
|
|
14
|
+
}>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
color: string;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const Tag: Story<import("@storybook/vue3").Args>;
|
|
27
|
+
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
color: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator: (value: string) => boolean;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
classes: import("vue").ComputedRef<{
|
|
9
|
+
[x: string]: boolean;
|
|
10
|
+
'aux-tag': boolean;
|
|
11
|
+
}>;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => boolean;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
color: string;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,12 +13,14 @@ 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';
|
|
16
17
|
export { default as AuxToggle } from './components/Toggle/Toggle.vue';
|
|
17
18
|
export { default as AuxPagination } from './components/Pagination/Pagination.vue';
|
|
18
19
|
export { default as AuxDirectionalArrow } from './components/DirectionalArrow/DirectionalArrow.vue';
|
|
19
20
|
export { default as AuxAriaAnnouncer } from './components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue';
|
|
20
21
|
export { default as AuxNotifications } from './components/Notification/Notifications.vue';
|
|
21
22
|
export { default as AuxJsonForm } from './components/JsonForm/JsonForm.vue';
|
|
23
|
+
export { default as AuxStatusBadge } from './components/StatusBadge/StatusBadge.vue';
|
|
22
24
|
export { default as AuxStatusBanner } from './components/StatusBanner/StatusBanner';
|
|
23
25
|
export { formatDate } from '@/helpers/formatters/formatDateAndTime/';
|
|
24
26
|
export { formatPrice } from '@/helpers/formatters/formatQuantity/formatAmount';
|