@ambita/design-system 6.0.2-421.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
@@ -8,17 +8,10 @@ declare const __VLS_export: import("vue").DefineComponent<{}, {
8
8
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
9
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
10
10
  AuxDirectionalArrow: import("vue").DefineComponent<{
11
- direction: string;
12
- }, {
13
- classes: import("vue").ComputedRef<{
14
- [x: string]: boolean;
15
- 'aux-arrow': boolean;
16
- }>;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
18
- direction: string;
11
+ direction?: "left" | "up" | "down" | "right";
12
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
13
+ direction?: "left" | "up" | "down" | "right";
19
14
  }> & Readonly<{}>, {
20
- direction: string;
21
- }, {}, {
22
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
23
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ direction: "left" | "up" | "down" | "right";
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
17
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,16 +1,8 @@
1
+ type __VLS_Props = {
2
+ direction?: 'left' | 'up' | 'down' | 'right';
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ direction: "left" | "up" | "down" | "right";
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
7
  declare const _default: typeof __VLS_export;
2
8
  export default _default;
3
- declare const __VLS_export: import("vue").DefineComponent<{
4
- direction: string;
5
- }, {
6
- classes: import("vue").ComputedRef<{
7
- [x: string]: boolean;
8
- 'aux-arrow': boolean;
9
- }>;
10
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
11
- direction: string;
12
- }> & Readonly<{}>, {
13
- direction: string;
14
- }, {}, {
15
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
16
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -58,18 +58,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
58
58
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
59
59
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
60
60
  AuxDirectionalArrow: import("vue").DefineComponent<{
61
- direction: string;
62
- }, {
63
- classes: import("vue").ComputedRef<{
64
- [x: string]: boolean;
65
- 'aux-arrow': boolean;
66
- }>;
67
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
68
- direction: string;
61
+ direction?: "left" | "up" | "down" | "right";
62
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
63
+ direction?: "left" | "up" | "down" | "right";
69
64
  }> & Readonly<{}>, {
70
- direction: string;
71
- }, {}, {
72
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
73
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
+ direction: "left" | "up" | "down" | "right";
66
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
74
67
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
68
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -59,7 +59,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
59
59
  hasLeftIcon: import("vue").ComputedRef<import("vue").Slot<any> | undefined>;
60
60
  hasRightIcon: import("vue").ComputedRef<true | import("vue").Slot<any> | undefined>;
61
61
  handleInput(event: Event): void;
62
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "update:modelValue")[], "input" | "focus" | "blur" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "focus" | "blur")[], "input" | "update:modelValue" | "focus" | "blur", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
63
  label: {
64
64
  type: StringConstructor;
65
65
  required: true;
@@ -183,19 +183,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
183
183
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
184
184
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
185
185
  AuxDirectionalArrow: import("vue").DefineComponent<{
186
- direction: string;
187
- }, {
188
- classes: import("vue").ComputedRef<{
189
- [x: string]: boolean;
190
- 'aux-arrow': boolean;
191
- }>;
192
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
193
- direction: string;
186
+ direction?: "left" | "up" | "down" | "right";
187
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
188
+ direction?: "left" | "up" | "down" | "right";
194
189
  }> & Readonly<{}>, {
195
- direction: string;
196
- }, {}, {
197
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
198
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
190
+ direction: "left" | "up" | "down" | "right";
191
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
199
192
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
200
193
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
201
194
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import type { NeoFormFieldProps } from '@/components/Typography/types';
1
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
2
2
  interface Props extends NeoFormFieldProps {
3
3
  type?: 'text' | 'email' | 'password' | 'tel' | 'url' | 'search' | 'number';
4
4
  placeholder?: string;
@@ -23,9 +23,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
23
23
  focus: (event: FocusEvent) => any;
24
24
  blur: (event: FocusEvent) => any;
25
25
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
26
27
  onFocus?: ((event: FocusEvent) => any) | undefined;
27
28
  onBlur?: ((event: FocusEvent) => any) | undefined;
28
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
29
29
  }>, {
30
30
  type: "text" | "email" | "password" | "tel" | "url" | "search" | "number";
31
31
  disabled: boolean;
@@ -19,9 +19,9 @@ declare const __VLS_base: import("vue").DefineComponent<NeoBannerProps, {}, {},
19
19
  }, string, import("vue").PublicProps, Readonly<NeoBannerProps> & Readonly<{
20
20
  onDismiss?: (() => any) | undefined;
21
21
  }>, {
22
+ body: string;
22
23
  type: "error" | "warning" | "info" | "success";
23
24
  dataTestid: string;
24
- body: string;
25
25
  dismissible: boolean;
26
26
  iconSize: "small" | "default";
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import type { NeoFormFieldProps } from '@/components/Typography/types';
1
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
2
2
  interface Option {
3
3
  label: string;
4
4
  value?: string;
@@ -1,5 +1,5 @@
1
1
  import type { DateValue } from 'reka-ui';
2
- import type { NeoFormFieldProps } from '@/components/Typography/types';
2
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
3
3
  import { type DatePickerLabels } from './datepicker-labels';
4
4
  /**
5
5
  * NeoDatePicker - A date picker component built on Reka UI DatePicker primitives
@@ -55,9 +55,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
55
55
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
56
  "onUpdate:modelValue"?: ((value: string | Date | DateValue | undefined) => any) | undefined;
57
57
  }>, {
58
+ label: string;
58
59
  disabled: boolean;
59
60
  required: boolean;
60
- label: string;
61
61
  error: string;
62
62
  placeholder: string | DateValue;
63
63
  helperText: string;
@@ -1,4 +1,4 @@
1
- import type { NeoFormFieldProps } from '@/components/Typography/types';
1
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
2
2
  interface Option {
3
3
  value?: string | number;
4
4
  label: string;
@@ -1,5 +1,5 @@
1
- import type { TagOption, TagGroup, TagVariant } from './types';
2
- import type { NeoFormFieldProps } from '@/components/Typography/types';
1
+ import type { TagOption, TagGroup, TagVariant } from './types.ts';
2
+ import type { NeoFormFieldProps } from '@/components/Typography/types.ts';
3
3
  export type { TagOption, TagGroup, TagVariant };
4
4
  interface Props extends NeoFormFieldProps {
5
5
  /**
@@ -1,317 +1,26 @@
1
- import { type PropType } from 'vue';
2
1
  type Item = {
3
2
  label: string;
4
3
  value: string;
5
4
  disabled?: boolean;
6
5
  };
7
- type State = {
8
- selected: string;
6
+ type __VLS_Props = {
7
+ label: string;
8
+ items: Item[];
9
+ name: string;
10
+ id?: string;
11
+ description?: string;
12
+ descriptionLabel?: string;
13
+ hideLabel?: boolean;
14
+ selected?: string | number;
15
+ layout?: 'regular' | 'card';
9
16
  };
17
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:selected": (value: string) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:selected"?: ((value: string) => any) | undefined;
21
+ }>, {
22
+ selected: string | number;
23
+ layout: "regular" | "card";
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
25
  declare const _default: typeof __VLS_export;
11
26
  export default _default;
12
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
- label: {
14
- type: StringConstructor;
15
- required: true;
16
- };
17
- items: {
18
- type: PropType<Item[]>;
19
- required: true;
20
- };
21
- id: {
22
- type: StringConstructor;
23
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
24
- };
25
- description: {
26
- type: StringConstructor;
27
- };
28
- descriptionLabel: {
29
- type: StringConstructor;
30
- required: false;
31
- };
32
- hideLabel: {
33
- type: BooleanConstructor;
34
- required: false;
35
- };
36
- name: {
37
- type: StringConstructor;
38
- required: true;
39
- };
40
- selected: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- layout: {
45
- type: StringConstructor;
46
- validator: (value: string) => boolean;
47
- default: string;
48
- };
49
- }>, {
50
- state: State;
51
- changeEvent: (value: string) => void;
52
- radioType: import("vue").ComputedRef<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
53
- value: {
54
- type: StringConstructor;
55
- };
56
- disabled: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- id: {
61
- type: StringConstructor;
62
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
63
- };
64
- name: {
65
- type: StringConstructor;
66
- required: true;
67
- };
68
- selected: {
69
- type: StringConstructor;
70
- required: true;
71
- };
72
- }>, {
73
- isSelected: import("vue").ComputedRef<boolean>;
74
- change: (event: any) => void;
75
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
- value: {
77
- type: StringConstructor;
78
- };
79
- disabled: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- id: {
84
- type: StringConstructor;
85
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
86
- };
87
- name: {
88
- type: StringConstructor;
89
- required: true;
90
- };
91
- selected: {
92
- type: StringConstructor;
93
- required: true;
94
- };
95
- }>> & Readonly<{
96
- onChange?: ((...args: any[]) => any) | undefined;
97
- }>, {
98
- disabled: boolean;
99
- id: string;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
101
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:selected"[], "update:selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
102
- label: {
103
- type: StringConstructor;
104
- required: true;
105
- };
106
- items: {
107
- type: PropType<Item[]>;
108
- required: true;
109
- };
110
- id: {
111
- type: StringConstructor;
112
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
113
- };
114
- description: {
115
- type: StringConstructor;
116
- };
117
- descriptionLabel: {
118
- type: StringConstructor;
119
- required: false;
120
- };
121
- hideLabel: {
122
- type: BooleanConstructor;
123
- required: false;
124
- };
125
- name: {
126
- type: StringConstructor;
127
- required: true;
128
- };
129
- selected: {
130
- type: StringConstructor;
131
- default: string;
132
- };
133
- layout: {
134
- type: StringConstructor;
135
- validator: (value: string) => boolean;
136
- default: string;
137
- };
138
- }>> & Readonly<{
139
- "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
140
- }>, {
141
- id: string;
142
- selected: string;
143
- hideLabel: boolean;
144
- layout: string;
145
- }, {}, {
146
- AuxRadioGroupCardElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
147
- value: {
148
- type: StringConstructor;
149
- };
150
- disabled: {
151
- type: BooleanConstructor;
152
- default: boolean;
153
- };
154
- id: {
155
- type: StringConstructor;
156
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
157
- };
158
- name: {
159
- type: StringConstructor;
160
- required: true;
161
- };
162
- selected: {
163
- type: StringConstructor;
164
- required: true;
165
- };
166
- }>, {
167
- isSelected: import("vue").ComputedRef<boolean>;
168
- change: (event: any) => void;
169
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
170
- value: {
171
- type: StringConstructor;
172
- };
173
- disabled: {
174
- type: BooleanConstructor;
175
- default: boolean;
176
- };
177
- id: {
178
- type: StringConstructor;
179
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
180
- };
181
- name: {
182
- type: StringConstructor;
183
- required: true;
184
- };
185
- selected: {
186
- type: StringConstructor;
187
- required: true;
188
- };
189
- }>> & Readonly<{
190
- onChange?: ((...args: any[]) => any) | undefined;
191
- }>, {
192
- disabled: boolean;
193
- id: string;
194
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
195
- AuxRadioGroupElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
196
- value: {
197
- type: StringConstructor;
198
- };
199
- disabled: {
200
- type: BooleanConstructor;
201
- default: boolean;
202
- };
203
- id: {
204
- type: StringConstructor;
205
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
206
- };
207
- name: {
208
- type: StringConstructor;
209
- required: true;
210
- };
211
- selected: {
212
- type: StringConstructor;
213
- required: true;
214
- };
215
- }>, {
216
- isSelected: import("vue").ComputedRef<boolean>;
217
- change: (event: any) => void;
218
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
219
- value: {
220
- type: StringConstructor;
221
- };
222
- disabled: {
223
- type: BooleanConstructor;
224
- default: boolean;
225
- };
226
- id: {
227
- type: StringConstructor;
228
- default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
229
- };
230
- name: {
231
- type: StringConstructor;
232
- required: true;
233
- };
234
- selected: {
235
- type: StringConstructor;
236
- required: true;
237
- };
238
- }>> & Readonly<{
239
- onChange?: ((...args: any[]) => any) | undefined;
240
- }>, {
241
- disabled: boolean;
242
- id: string;
243
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
244
- FormElement: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
245
- label: {
246
- type: StringConstructor;
247
- required: true;
248
- default: string;
249
- };
250
- description: {
251
- type: StringConstructor;
252
- required: false;
253
- };
254
- descriptionLabel: {
255
- type: StringConstructor;
256
- required: false;
257
- };
258
- hideLabel: {
259
- type: BooleanConstructor;
260
- required: false;
261
- default: boolean;
262
- };
263
- id: {
264
- type: StringConstructor;
265
- required: true;
266
- };
267
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
268
- label: {
269
- type: StringConstructor;
270
- required: true;
271
- default: string;
272
- };
273
- description: {
274
- type: StringConstructor;
275
- required: false;
276
- };
277
- descriptionLabel: {
278
- type: StringConstructor;
279
- required: false;
280
- };
281
- hideLabel: {
282
- type: BooleanConstructor;
283
- required: false;
284
- default: boolean;
285
- };
286
- id: {
287
- type: StringConstructor;
288
- required: true;
289
- };
290
- }>> & Readonly<{}>, {
291
- label: string;
292
- hideLabel: boolean;
293
- }, {}, {
294
- AuxDetails: import("vue").DefineComponent<{}, {
295
- state: {
296
- isOpen: boolean;
297
- };
298
- toggleOpen: () => void;
299
- arrowDirection: import("vue").ComputedRef<"up" | "down">;
300
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
301
- AuxDirectionalArrow: import("vue").DefineComponent<{
302
- direction: string;
303
- }, {
304
- classes: import("vue").ComputedRef<{
305
- [x: string]: boolean;
306
- 'aux-arrow': boolean;
307
- }>;
308
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
309
- direction: string;
310
- }> & Readonly<{}>, {
311
- direction: string;
312
- }, {}, {
313
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
314
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
315
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
316
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
317
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
22
22
  };
23
23
  }>, {
24
24
  isSelected: import("vue").ComputedRef<boolean>;
25
- change: (event: any) => void;
25
+ change: (event: Event) => void;
26
26
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  value: {
28
28
  type: StringConstructor;
@@ -22,7 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
22
22
  };
23
23
  }>, {
24
24
  isSelected: import("vue").ComputedRef<boolean>;
25
- change: (event: any) => void;
25
+ change: (event: Event) => void;
26
26
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  value: {
28
28
  type: StringConstructor;
@@ -51,7 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
51
51
  updateValue: (event: Event) => void;
52
52
  focusEmit: (event: Event) => void;
53
53
  blurEmit: (event: Event) => void;
54
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "focus" | "blur" | "update:modelValue")[], "change" | "focus" | "blur" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "focus" | "blur")[], "update:modelValue" | "change" | "focus" | "blur", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
55
  items: {
56
56
  type: PropType<Item[]>;
57
57
  required: true;
@@ -157,19 +157,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
157
157
  arrowDirection: import("vue").ComputedRef<"up" | "down">;
158
158
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
159
159
  AuxDirectionalArrow: import("vue").DefineComponent<{
160
- direction: string;
161
- }, {
162
- classes: import("vue").ComputedRef<{
163
- [x: string]: boolean;
164
- 'aux-arrow': boolean;
165
- }>;
166
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
167
- direction: string;
160
+ direction?: "left" | "up" | "down" | "right";
161
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
162
+ direction?: "left" | "up" | "down" | "right";
168
163
  }> & Readonly<{}>, {
169
- direction: string;
170
- }, {}, {
171
- CaretRightIcon: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any, {}>;
172
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
164
+ direction: "left" | "up" | "down" | "right";
165
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
173
166
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
174
167
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
175
168
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,47 +1,22 @@
1
+ type __VLS_Props = {
2
+ noBorder?: boolean;
3
+ size?: 'medium' | 'large';
4
+ status?: 'success' | 'info' | 'warning' | 'error' | 'default' | 'inactive';
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ size: "medium" | "large";
12
+ status: "success" | "info" | "warning" | "error" | "default" | "inactive";
13
+ noBorder: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1
16
  declare const _default: typeof __VLS_export;
2
17
  export default _default;
3
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- noBorder: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- size: {
9
- type: StringConstructor;
10
- default: string;
11
- validator: (value: string) => boolean;
12
- };
13
- status: {
14
- type: StringConstructor;
15
- default: string;
16
- validator: (value: string) => boolean;
17
- };
18
- }>, {
19
- classes: import("vue").ComputedRef<{
20
- [x: string]: boolean;
21
- 'aux-status-badge': boolean;
22
- 'aux-status-badge--no-border': boolean;
23
- }>;
24
- dotClasses: import("vue").ComputedRef<{
25
- [x: string]: boolean;
26
- 'aux-status-badge-dot': boolean;
27
- }>;
28
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
- noBorder: {
30
- type: BooleanConstructor;
31
- default: boolean;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
32
21
  };
33
- size: {
34
- type: StringConstructor;
35
- default: string;
36
- validator: (value: string) => boolean;
37
- };
38
- status: {
39
- type: StringConstructor;
40
- default: string;
41
- validator: (value: string) => boolean;
42
- };
43
- }>> & Readonly<{}>, {
44
- size: string;
45
- noBorder: boolean;
46
- status: string;
47
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
+ };