@ambita/design-system 6.0.2-431.0 → 6.1.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/README.md +2 -2
- package/dist/css/ambita-dark.scss +1 -0
- package/dist/css/ambita-light.scss +1 -0
- package/dist/css/ambita-old.scss +1 -0
- package/dist/css/base.scss +1 -0
- package/dist/css/byggesoknaden.scss +1 -0
- package/dist/css/neo-tokens.scss +42 -17
- package/dist/css/utilities.scss +59 -0
- package/dist/ds.cjs +3 -3
- package/dist/ds.js +17291 -18235
- package/dist/ds.umd.cjs +4 -4
- package/dist/index.css +1 -1
- package/dist/themes/ambita-dark.css +1 -1
- package/dist/themes/ambita-light.css +1 -1
- package/dist/themes/ambita-old.css +1 -1
- package/dist/themes/byggesoknaden.css +1 -1
- package/dist/types/App.vue.d.ts +1 -79
- package/dist/types/components/AuxCheckbox/AuxCheckbox.vue.d.ts +51 -0
- package/dist/types/components/{Checkbox/CheckboxCard.vue.d.ts → AuxCheckbox/AuxCheckboxCard.vue.d.ts} +9 -0
- package/dist/types/components/{Checkbox/CheckboxRegular.vue.d.ts → AuxCheckbox/AuxCheckboxRegular.vue.d.ts} +9 -0
- package/dist/types/components/AuxDefinition/AuxDefinition.vue.d.ts +24 -0
- package/dist/types/components/AuxModal/AuxModal.vue.d.ts +16 -70
- package/dist/types/components/AuxNotification/AuxNotification.vue.d.ts +22 -0
- package/dist/types/components/AuxNotification/AuxNotifications.vue.d.ts +15 -0
- package/dist/types/components/AuxNotification/constants.d.ts +2 -0
- package/dist/types/components/AuxRadio/AuxRadio.vue.d.ts +31 -0
- package/dist/types/components/AuxSpinner/AuxSpinner.vue.d.ts +23 -0
- package/dist/types/components/AuxTag/AuxTag.vue.d.ts +18 -0
- package/dist/types/components/Button/NeoButton.vue.d.ts +2 -0
- package/dist/types/components/Button/NeoLoadingButton.vue.d.ts +33 -0
- package/dist/types/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +41 -307
- package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +17 -310
- package/dist/types/components/CheckboxGroup/types.d.ts +6 -0
- package/dist/types/components/Details/Details.vue.d.ts +5 -12
- package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +6 -14
- package/dist/types/components/FormElement/FormElement.vue.d.ts +5 -12
- package/dist/types/components/Input/Input.vue.d.ts +6 -13
- package/dist/types/components/Input/NeoInput.vue.d.ts +2 -2
- package/dist/types/components/NeoBanner/NeoBanner.vue.d.ts +1 -1
- package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
- package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +2 -2
- package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +1 -1
- package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +2 -2
- package/dist/types/components/RadioGroup/RadioGroup.vue.d.ts +18 -309
- package/dist/types/components/RadioGroup/RadioGroupCardElement.vue.d.ts +1 -1
- package/dist/types/components/RadioGroup/RadioGroupElement.vue.d.ts +1 -1
- package/dist/types/components/Select/Select.vue.d.ts +6 -13
- package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +19 -44
- package/dist/types/components/TextArea/TextArea.vue.d.ts +6 -13
- package/dist/types/components/Typography/NeoFormField.vue.d.ts +2 -3
- package/dist/types/components/Upload/Upload.vue.d.ts +5 -12
- package/dist/types/index.d.ts +10 -6
- package/dist/types/main.d.ts +0 -1
- package/package.json +80 -75
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +0 -239
- package/dist/types/components/Definition/Definition.vue.d.ts +0 -59
- package/dist/types/components/Notification/Notification.vue.d.ts +0 -35
- package/dist/types/components/Notification/Notifications.vue.d.ts +0 -53
- package/dist/types/components/Notification/constants.d.ts +0 -2
- package/dist/types/components/Radio/Radio.vue.d.ts +0 -51
- package/dist/types/components/Spinner/Spinner.vue.d.ts +0 -23
- package/dist/types/components/Tag/Tag.vue.d.ts +0 -22
- /package/dist/types/components/{Checkbox → AuxCheckbox}/constants.d.ts +0 -0
- /package/dist/types/components/{Spinner → AuxSpinner}/constants.d.ts +0 -0
- /package/dist/types/components/{Tag → AuxTag}/Colors.d.ts +0 -0
- /package/dist/types/components/{Seperator → Separator}/NeoSeparator.vue.d.ts +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { NotificationTypes } from './Notification.d';
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
type: {
|
|
7
|
-
type: PropType<NotificationTypes>;
|
|
8
|
-
validator: (value: string) => boolean;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
id: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
}>, {
|
|
16
|
-
classes: import("vue").ComputedRef<{
|
|
17
|
-
[x: string]: boolean | NotificationTypes;
|
|
18
|
-
'aux-notification': boolean;
|
|
19
|
-
'aux-notification-show': boolean;
|
|
20
|
-
}>;
|
|
21
|
-
icon: import("vue").ComputedRef<import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>>;
|
|
22
|
-
removeNotification: () => void;
|
|
23
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
type: {
|
|
25
|
-
type: PropType<NotificationTypes>;
|
|
26
|
-
validator: (value: string) => boolean;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
id: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
}>> & Readonly<{
|
|
34
|
-
"onRemove-notification"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { NotificationType } from './Notification.d';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
notifications: {
|
|
7
|
-
type: PropType<NotificationType[]>;
|
|
8
|
-
default: () => never[];
|
|
9
|
-
};
|
|
10
|
-
}>, {
|
|
11
|
-
removeNotification: (event: string) => void;
|
|
12
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
notifications: {
|
|
14
|
-
type: PropType<NotificationType[]>;
|
|
15
|
-
default: () => never[];
|
|
16
|
-
};
|
|
17
|
-
}>> & Readonly<{
|
|
18
|
-
"onRemove-notification"?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {
|
|
20
|
-
notifications: NotificationType[];
|
|
21
|
-
}, {}, {
|
|
22
|
-
Notification: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
23
|
-
type: {
|
|
24
|
-
type: PropType<import("./Notification.d").NotificationTypes>;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
id: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
}>, {
|
|
33
|
-
classes: import("vue").ComputedRef<{
|
|
34
|
-
[x: string]: boolean | import("./Notification.d").NotificationTypes;
|
|
35
|
-
'aux-notification': boolean;
|
|
36
|
-
'aux-notification-show': boolean;
|
|
37
|
-
}>;
|
|
38
|
-
icon: import("vue").ComputedRef<import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>>;
|
|
39
|
-
removeNotification: () => void;
|
|
40
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove-notification"[], "remove-notification", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
type: {
|
|
42
|
-
type: PropType<import("./Notification.d").NotificationTypes>;
|
|
43
|
-
validator: (value: string) => boolean;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
id: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
}>> & Readonly<{
|
|
51
|
-
"onRemove-notification"?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
6
|
-
};
|
|
7
|
-
disabled: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
id: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
14
|
-
};
|
|
15
|
-
name: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
selected: {
|
|
20
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
24
|
-
isSelected: import("vue").ComputedRef<boolean>;
|
|
25
|
-
change: (event: any) => void;
|
|
26
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
value: {
|
|
28
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
id: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
|
|
37
|
-
};
|
|
38
|
-
name: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
selected: {
|
|
43
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
}>> & Readonly<{
|
|
47
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
}>, {
|
|
49
|
-
disabled: boolean;
|
|
50
|
-
id: string;
|
|
51
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
size: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
validator: (value: string) => boolean;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
classes: import("vue").ComputedRef<{
|
|
11
|
-
[x: string]: boolean;
|
|
12
|
-
'aux-spinner': boolean;
|
|
13
|
-
}>;
|
|
14
|
-
showLabel: import("vue").ComputedRef<boolean | undefined>;
|
|
15
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
size: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
validator: (value: string) => boolean;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
size: string;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
color: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
validator: (value: string) => boolean;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
classes: import("vue").ComputedRef<{
|
|
11
|
-
[x: string]: boolean;
|
|
12
|
-
'aux-tag': boolean;
|
|
13
|
-
}>;
|
|
14
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
color: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
validator: (value: string) => boolean;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{}>, {
|
|
21
|
-
color: string;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|