@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.
Files changed (66) hide show
  1. package/README.md +2 -2
  2. package/dist/css/ambita-dark.scss +1 -0
  3. package/dist/css/ambita-light.scss +1 -0
  4. package/dist/css/ambita-old.scss +1 -0
  5. package/dist/css/base.scss +1 -0
  6. package/dist/css/byggesoknaden.scss +1 -0
  7. package/dist/css/neo-tokens.scss +42 -17
  8. package/dist/css/utilities.scss +59 -0
  9. package/dist/ds.cjs +3 -3
  10. package/dist/ds.js +17291 -18235
  11. package/dist/ds.umd.cjs +4 -4
  12. package/dist/index.css +1 -1
  13. package/dist/themes/ambita-dark.css +1 -1
  14. package/dist/themes/ambita-light.css +1 -1
  15. package/dist/themes/ambita-old.css +1 -1
  16. package/dist/themes/byggesoknaden.css +1 -1
  17. package/dist/types/App.vue.d.ts +1 -79
  18. package/dist/types/components/AuxCheckbox/AuxCheckbox.vue.d.ts +51 -0
  19. package/dist/types/components/{Checkbox/CheckboxCard.vue.d.ts → AuxCheckbox/AuxCheckboxCard.vue.d.ts} +9 -0
  20. package/dist/types/components/{Checkbox/CheckboxRegular.vue.d.ts → AuxCheckbox/AuxCheckboxRegular.vue.d.ts} +9 -0
  21. package/dist/types/components/AuxDefinition/AuxDefinition.vue.d.ts +24 -0
  22. package/dist/types/components/AuxModal/AuxModal.vue.d.ts +16 -70
  23. package/dist/types/components/AuxNotification/AuxNotification.vue.d.ts +22 -0
  24. package/dist/types/components/AuxNotification/AuxNotifications.vue.d.ts +15 -0
  25. package/dist/types/components/AuxNotification/constants.d.ts +2 -0
  26. package/dist/types/components/AuxRadio/AuxRadio.vue.d.ts +31 -0
  27. package/dist/types/components/AuxSpinner/AuxSpinner.vue.d.ts +23 -0
  28. package/dist/types/components/AuxTag/AuxTag.vue.d.ts +18 -0
  29. package/dist/types/components/Button/NeoButton.vue.d.ts +2 -0
  30. package/dist/types/components/Button/NeoLoadingButton.vue.d.ts +33 -0
  31. package/dist/types/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +41 -307
  32. package/dist/types/components/CheckboxGroup/CheckboxGroup.vue.d.ts +17 -310
  33. package/dist/types/components/CheckboxGroup/types.d.ts +6 -0
  34. package/dist/types/components/Details/Details.vue.d.ts +5 -12
  35. package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +6 -14
  36. package/dist/types/components/FormElement/FormElement.vue.d.ts +5 -12
  37. package/dist/types/components/Input/Input.vue.d.ts +6 -13
  38. package/dist/types/components/Input/NeoInput.vue.d.ts +2 -2
  39. package/dist/types/components/NeoBanner/NeoBanner.vue.d.ts +1 -1
  40. package/dist/types/components/NeoComboBox/NeoComboBox.vue.d.ts +1 -1
  41. package/dist/types/components/NeoDatePicker/NeoDatePicker.vue.d.ts +2 -2
  42. package/dist/types/components/NeoSelect/NeoSelect.vue.d.ts +1 -1
  43. package/dist/types/components/NeoTagsInput/TagsInput.vue.d.ts +2 -2
  44. package/dist/types/components/RadioGroup/RadioGroup.vue.d.ts +18 -309
  45. package/dist/types/components/RadioGroup/RadioGroupCardElement.vue.d.ts +1 -1
  46. package/dist/types/components/RadioGroup/RadioGroupElement.vue.d.ts +1 -1
  47. package/dist/types/components/Select/Select.vue.d.ts +6 -13
  48. package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +19 -44
  49. package/dist/types/components/TextArea/TextArea.vue.d.ts +6 -13
  50. package/dist/types/components/Typography/NeoFormField.vue.d.ts +2 -3
  51. package/dist/types/components/Upload/Upload.vue.d.ts +5 -12
  52. package/dist/types/index.d.ts +10 -6
  53. package/dist/types/main.d.ts +0 -1
  54. package/package.json +80 -75
  55. package/dist/types/components/Checkbox/Checkbox.vue.d.ts +0 -239
  56. package/dist/types/components/Definition/Definition.vue.d.ts +0 -59
  57. package/dist/types/components/Notification/Notification.vue.d.ts +0 -35
  58. package/dist/types/components/Notification/Notifications.vue.d.ts +0 -53
  59. package/dist/types/components/Notification/constants.d.ts +0 -2
  60. package/dist/types/components/Radio/Radio.vue.d.ts +0 -51
  61. package/dist/types/components/Spinner/Spinner.vue.d.ts +0 -23
  62. package/dist/types/components/Tag/Tag.vue.d.ts +0 -22
  63. /package/dist/types/components/{Checkbox → AuxCheckbox}/constants.d.ts +0 -0
  64. /package/dist/types/components/{Spinner → AuxSpinner}/constants.d.ts +0 -0
  65. /package/dist/types/components/{Tag → AuxTag}/Colors.d.ts +0 -0
  66. /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,2 +0,0 @@
1
- import type { NotificationTypes } from './Notification';
2
- export declare const TYPES: NotificationTypes[];
@@ -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>;