@synergy-design-system/vue 2.6.0 → 2.7.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 (45) hide show
  1. package/dist/components/SynVueAccordion.vue.d.ts +12 -10
  2. package/dist/components/SynVueAlert.vue.d.ts +8 -8
  3. package/dist/components/SynVueBadge.vue.d.ts +8 -6
  4. package/dist/components/SynVueBreadcrumb.vue.d.ts +8 -6
  5. package/dist/components/SynVueBreadcrumbItem.vue.d.ts +12 -10
  6. package/dist/components/SynVueButton.vue.d.ts +38 -38
  7. package/dist/components/SynVueButtonGroup.vue.d.ts +8 -6
  8. package/dist/components/SynVueCard.vue.d.ts +8 -6
  9. package/dist/components/SynVueCheckbox.vue.d.ts +22 -22
  10. package/dist/components/SynVueDetails.vue.d.ts +10 -10
  11. package/dist/components/SynVueDialog.vue.d.ts +6 -6
  12. package/dist/components/SynVueDivider.vue.d.ts +2 -2
  13. package/dist/components/SynVueDrawer.vue.d.ts +10 -10
  14. package/dist/components/SynVueDropdown.vue.d.ts +16 -16
  15. package/dist/components/SynVueFile.vue.d.ts +32 -32
  16. package/dist/components/SynVueHeader.vue.d.ts +4 -4
  17. package/dist/components/SynVueIcon.vue.d.ts +8 -8
  18. package/dist/components/SynVueIconButton.vue.d.ts +20 -20
  19. package/dist/components/SynVueInput.vue.d.ts +60 -60
  20. package/dist/components/SynVueMenuItem.vue.d.ts +16 -14
  21. package/dist/components/SynVueMenuLabel.vue.d.ts +6 -4
  22. package/dist/components/SynVueNavItem.vue.d.ts +14 -14
  23. package/dist/components/SynVueOptgroup.vue.d.ts +10 -8
  24. package/dist/components/SynVueOption.vue.d.ts +10 -8
  25. package/dist/components/SynVuePopup.vue.d.ts +44 -44
  26. package/dist/components/SynVuePrioNav.vue.d.ts +6 -4
  27. package/dist/components/SynVueProgressBar.vue.d.ts +12 -10
  28. package/dist/components/SynVueProgressRing.vue.d.ts +10 -8
  29. package/dist/components/SynVueRadio.vue.d.ts +6 -6
  30. package/dist/components/SynVueRadioButton.vue.d.ts +8 -8
  31. package/dist/components/SynVueRadioGroup.vue.d.ts +16 -16
  32. package/dist/components/SynVueRange.vue.d.ts +24 -24
  33. package/dist/components/SynVueRangeTick.vue.d.ts +8 -6
  34. package/dist/components/SynVueSelect.vue.d.ts +34 -34
  35. package/dist/components/SynVueSideNav.vue.d.ts +6 -6
  36. package/dist/components/SynVueSwitch.vue.d.ts +20 -20
  37. package/dist/components/SynVueTab.vue.d.ts +8 -8
  38. package/dist/components/SynVueTabGroup.vue.d.ts +10 -10
  39. package/dist/components/SynVueTabPanel.vue.d.ts +10 -8
  40. package/dist/components/SynVueTag.vue.d.ts +4 -4
  41. package/dist/components/SynVueTextarea.vue.d.ts +46 -46
  42. package/dist/components/SynVueTooltip.vue.d.ts +16 -16
  43. package/package.json +4 -4
  44. package/src/components/SynVueDropdown.vue +2 -1
  45. package/src/components/SynVueSelect.vue +3 -1
@@ -1,36 +1,38 @@
1
1
  import '@synergy-design-system/components/components/accordion/accordion.js';
2
2
  import type { SynAccordion } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
6
9
  */
7
- closeOthers?: boolean | undefined;
10
+ closeOthers?: SynAccordion["closeOthers"];
8
11
  /**
9
12
  * Draws the accordion and the slotted `<syn-details>` as contained elements.
10
13
  */
11
- contained?: boolean | undefined;
14
+ contained?: SynAccordion["contained"];
12
15
  /**
13
16
  * The size that should be applied to all slotted `<syn-details>` elements
14
17
  */
15
- size?: "medium" | "large" | undefined;
18
+ size?: SynAccordion["size"];
16
19
  }>, {
17
20
  nativeElement: import("vue").Ref<SynAccordion | undefined>;
18
21
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
19
22
  /**
20
23
  * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
21
24
  */
22
- closeOthers?: boolean | undefined;
25
+ closeOthers?: SynAccordion["closeOthers"];
23
26
  /**
24
27
  * Draws the accordion and the slotted `<syn-details>` as contained elements.
25
28
  */
26
- contained?: boolean | undefined;
29
+ contained?: SynAccordion["contained"];
27
30
  /**
28
31
  * The size that should be applied to all slotted `<syn-details>` elements
29
32
  */
30
- size?: "medium" | "large" | undefined;
31
- }>>>, {}, {}>, {
32
- default?(_: {}): any;
33
- }>;
33
+ size?: SynAccordion["size"];
34
+ }>>>, {}, {}>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
36
  export default _default;
35
37
 
36
38
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -10,15 +10,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  * You can toggle this attribute to show and hide the alert, or you can
11
11
  use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.
12
12
  */
13
- open?: boolean | undefined;
13
+ open?: SynAlert["open"];
14
14
  /**
15
15
  * Enables a close button that allows the user to dismiss the alert.
16
16
  */
17
- closable?: boolean | undefined;
17
+ closable?: SynAlert["closable"];
18
18
  /**
19
19
  * The alert's theme variant.
20
20
  */
21
- variant?: "primary" | "success" | "neutral" | "warning" | "danger" | undefined;
21
+ variant?: SynAlert["variant"];
22
22
  /**
23
23
  * The length of time, in milliseconds, the alert will show before closing itself.
24
24
  * If the user interacts with
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  * Defaults to `Infinity`, meaning
28
28
  the alert will not close on its own.
29
29
  */
30
- duration?: number | undefined;
30
+ duration?: SynAlert["duration"];
31
31
  }>, {
32
32
  nativeElement: import("vue").Ref<SynAlert | undefined>;
33
33
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -41,15 +41,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
41
41
  * You can toggle this attribute to show and hide the alert, or you can
42
42
  use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.
43
43
  */
44
- open?: boolean | undefined;
44
+ open?: SynAlert["open"];
45
45
  /**
46
46
  * Enables a close button that allows the user to dismiss the alert.
47
47
  */
48
- closable?: boolean | undefined;
48
+ closable?: SynAlert["closable"];
49
49
  /**
50
50
  * The alert's theme variant.
51
51
  */
52
- variant?: "primary" | "success" | "neutral" | "warning" | "danger" | undefined;
52
+ variant?: SynAlert["variant"];
53
53
  /**
54
54
  * The length of time, in milliseconds, the alert will show before closing itself.
55
55
  * If the user interacts with
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
58
  * Defaults to `Infinity`, meaning
59
59
  the alert will not close on its own.
60
60
  */
61
- duration?: number | undefined;
61
+ duration?: SynAlert["duration"];
62
62
  }>>> & {
63
63
  "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
64
64
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
@@ -1,20 +1,22 @@
1
1
  import '@synergy-design-system/components/components/badge/badge.js';
2
2
  import type { SynBadge } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * The badge's theme variant.
6
9
  */
7
- variant?: "primary" | "success" | "neutral" | "warning" | "danger" | undefined;
10
+ variant?: SynBadge["variant"];
8
11
  }>, {
9
12
  nativeElement: import("vue").Ref<SynBadge | undefined>;
10
13
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
14
  /**
12
15
  * The badge's theme variant.
13
16
  */
14
- variant?: "primary" | "success" | "neutral" | "warning" | "danger" | undefined;
15
- }>>>, {}, {}>, {
16
- default?(_: {}): any;
17
- }>;
17
+ variant?: SynBadge["variant"];
18
+ }>>>, {}, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
20
  export default _default;
19
21
  type __VLS_WithTemplateSlots<T, S> = T & {
20
22
  new (): {
@@ -1,12 +1,15 @@
1
1
  import '@synergy-design-system/components/components/breadcrumb/breadcrumb.js';
2
2
  import type { SynBreadcrumb } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * The label to use for the breadcrumb control.
6
9
  * This will not be shown on the screen, but it will be announced by
7
10
  screen readers and other assistive devices to provide more context for users.
8
11
  */
9
- label?: string | undefined;
12
+ label?: SynBreadcrumb["label"];
10
13
  }>, {
11
14
  nativeElement: import("vue").Ref<SynBreadcrumb | undefined>;
12
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -15,10 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
18
  * This will not be shown on the screen, but it will be announced by
16
19
  screen readers and other assistive devices to provide more context for users.
17
20
  */
18
- label?: string | undefined;
19
- }>>>, {}, {}>, {
20
- default?(_: {}): any;
21
- }>;
21
+ label?: SynBreadcrumb["label"];
22
+ }>>>, {}, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_WithTemplateSlots<T, S> = T & {
24
26
  new (): {
@@ -1,23 +1,26 @@
1
1
  import '@synergy-design-system/components/components/breadcrumb-item/breadcrumb-item.js';
2
2
  import type { SynBreadcrumbItem } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * Optional URL to direct the user to when the breadcrumb item is activated.
6
9
  * When set, a link will be rendered
7
10
  internally.
8
11
  * When unset, a button will be rendered instead.
9
12
  */
10
- href?: string | undefined;
13
+ href?: SynBreadcrumbItem["href"];
11
14
  /**
12
15
  * Tells the browser where to open the link.
13
16
  * Only used when `href` is set.
14
17
  */
15
- target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
18
+ target?: SynBreadcrumbItem["target"];
16
19
  /**
17
20
  * The `rel` attribute to use on the link.
18
21
  * Only used when `href` is set.
19
22
  */
20
- rel?: string | undefined;
23
+ rel?: SynBreadcrumbItem["rel"];
21
24
  }>, {
22
25
  nativeElement: import("vue").Ref<SynBreadcrumbItem | undefined>;
23
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -27,20 +30,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
30
  internally.
28
31
  * When unset, a button will be rendered instead.
29
32
  */
30
- href?: string | undefined;
33
+ href?: SynBreadcrumbItem["href"];
31
34
  /**
32
35
  * Tells the browser where to open the link.
33
36
  * Only used when `href` is set.
34
37
  */
35
- target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
38
+ target?: SynBreadcrumbItem["target"];
36
39
  /**
37
40
  * The `rel` attribute to use on the link.
38
41
  * Only used when `href` is set.
39
42
  */
40
- rel?: string | undefined;
41
- }>>>, {}, {}>, {
42
- default?(_: {}): any;
43
- }>;
43
+ rel?: SynBreadcrumbItem["rel"];
44
+ }>>>, {}, {}>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
46
  export default _default;
45
47
  type __VLS_WithTemplateSlots<T, S> = T & {
46
48
  new (): {
@@ -4,55 +4,55 @@ export type { SynBlurEvent } from '@synergy-design-system/components';
4
4
  export type { SynFocusEvent } from '@synergy-design-system/components';
5
5
  export type { SynInvalidEvent } from '@synergy-design-system/components';
6
6
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
- title?: string | undefined;
7
+ title?: SynButton["title"];
8
8
  /**
9
9
  * The button's theme variant.
10
10
  */
11
- variant?: "text" | "filled" | "outline" | undefined;
11
+ variant?: SynButton["variant"];
12
12
  /**
13
13
  * The button's size.
14
14
  */
15
- size?: "medium" | "large" | "small" | undefined;
15
+ size?: SynButton["size"];
16
16
  /**
17
17
  * Draws the button with a caret.
18
18
  * Used to indicate that the button triggers a dropdown menu or similar behavior.
19
19
  */
20
- caret?: boolean | undefined;
20
+ caret?: SynButton["caret"];
21
21
  /**
22
22
  * Disables the button.
23
23
  */
24
- disabled?: boolean | undefined;
24
+ disabled?: SynButton["disabled"];
25
25
  /**
26
26
  * Draws the button in a loading state.
27
27
  */
28
- loading?: boolean | undefined;
28
+ loading?: SynButton["loading"];
29
29
  /**
30
30
  * The type of button.
31
31
  * Note that the default value is `button` instead of `submit`, which is opposite of how native
32
32
  `<button>` elements behave.
33
33
  * When the type is `submit`, the button will submit the surrounding form.
34
34
  */
35
- type?: "button" | "submit" | "reset" | undefined;
35
+ type?: SynButton["type"];
36
36
  /**
37
37
  * The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.
38
38
  This attribute is ignored when `href` is present.
39
39
  */
40
- name?: string | undefined;
40
+ name?: SynButton["name"];
41
41
  /**
42
42
  * The value of the button, submitted as a pair with the button's name as part of the form data, but only when this
43
43
  button is the submitter.
44
44
  * This attribute is ignored when `href` is present.
45
45
  */
46
- value?: string | undefined;
46
+ value?: SynButton["value"];
47
47
  /**
48
48
  * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
49
49
  */
50
- href?: string | undefined;
50
+ href?: SynButton["href"];
51
51
  /**
52
52
  * Tells the browser where to open the link.
53
53
  * Only used when `href` is present.
54
54
  */
55
- target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
55
+ target?: SynButton["target"];
56
56
  /**
57
57
  * When using `href`, this attribute will map to the underlying link's `rel` attribute.
58
58
  * Unlike regular links, the
@@ -62,39 +62,39 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
62
  * You can remove or change the default value by
63
63
  setting the attribute to an empty string or a value of your choice, respectively.
64
64
  */
65
- rel?: string | undefined;
65
+ rel?: SynButton["rel"];
66
66
  /**
67
67
  * Tells the browser to download the linked file as this filename.
68
68
  * Only used when `href` is present.
69
69
  */
70
- download?: SynButton['download'];
70
+ download?: SynButton["download"];
71
71
  /**
72
72
  * The "form owner" to associate the button with.
73
73
  * If omitted, the closest containing form will be used instead.
74
74
  * The
75
75
  value of this attribute must be an id of a form in the same document or shadow root as the button.
76
76
  */
77
- form?: string | undefined;
77
+ form?: SynButton["form"];
78
78
  /**
79
79
  * Used to override the form owner's `action` attribute.
80
80
  */
81
- formAction?: string | undefined;
81
+ formAction?: SynButton["formAction"];
82
82
  /**
83
83
  * Used to override the form owner's `enctype` attribute.
84
84
  */
85
- formEnctype?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain" | undefined;
85
+ formEnctype?: SynButton["formEnctype"];
86
86
  /**
87
87
  * Used to override the form owner's `method` attribute.
88
88
  */
89
- formMethod?: "post" | "get" | undefined;
89
+ formMethod?: SynButton["formMethod"];
90
90
  /**
91
91
  * Used to override the form owner's `novalidate` attribute.
92
92
  */
93
- formNoValidate?: boolean | undefined;
93
+ formNoValidate?: SynButton["formNoValidate"];
94
94
  /**
95
95
  * Used to override the form owner's `target` attribute.
96
96
  */
97
- formTarget?: string | undefined;
97
+ formTarget?: SynButton["formTarget"];
98
98
  }>, {
99
99
  nativeElement: import("vue").Ref<SynButton | undefined>;
100
100
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -102,55 +102,55 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
102
102
  "syn-focus": (e: SynFocusEvent) => void;
103
103
  "syn-invalid": (e: SynInvalidEvent) => void;
104
104
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
105
- title?: string | undefined;
105
+ title?: SynButton["title"];
106
106
  /**
107
107
  * The button's theme variant.
108
108
  */
109
- variant?: "text" | "filled" | "outline" | undefined;
109
+ variant?: SynButton["variant"];
110
110
  /**
111
111
  * The button's size.
112
112
  */
113
- size?: "medium" | "large" | "small" | undefined;
113
+ size?: SynButton["size"];
114
114
  /**
115
115
  * Draws the button with a caret.
116
116
  * Used to indicate that the button triggers a dropdown menu or similar behavior.
117
117
  */
118
- caret?: boolean | undefined;
118
+ caret?: SynButton["caret"];
119
119
  /**
120
120
  * Disables the button.
121
121
  */
122
- disabled?: boolean | undefined;
122
+ disabled?: SynButton["disabled"];
123
123
  /**
124
124
  * Draws the button in a loading state.
125
125
  */
126
- loading?: boolean | undefined;
126
+ loading?: SynButton["loading"];
127
127
  /**
128
128
  * The type of button.
129
129
  * Note that the default value is `button` instead of `submit`, which is opposite of how native
130
130
  `<button>` elements behave.
131
131
  * When the type is `submit`, the button will submit the surrounding form.
132
132
  */
133
- type?: "button" | "submit" | "reset" | undefined;
133
+ type?: SynButton["type"];
134
134
  /**
135
135
  * The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.
136
136
  This attribute is ignored when `href` is present.
137
137
  */
138
- name?: string | undefined;
138
+ name?: SynButton["name"];
139
139
  /**
140
140
  * The value of the button, submitted as a pair with the button's name as part of the form data, but only when this
141
141
  button is the submitter.
142
142
  * This attribute is ignored when `href` is present.
143
143
  */
144
- value?: string | undefined;
144
+ value?: SynButton["value"];
145
145
  /**
146
146
  * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
147
147
  */
148
- href?: string | undefined;
148
+ href?: SynButton["href"];
149
149
  /**
150
150
  * Tells the browser where to open the link.
151
151
  * Only used when `href` is present.
152
152
  */
153
- target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
153
+ target?: SynButton["target"];
154
154
  /**
155
155
  * When using `href`, this attribute will map to the underlying link's `rel` attribute.
156
156
  * Unlike regular links, the
@@ -160,39 +160,39 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
160
160
  * You can remove or change the default value by
161
161
  setting the attribute to an empty string or a value of your choice, respectively.
162
162
  */
163
- rel?: string | undefined;
163
+ rel?: SynButton["rel"];
164
164
  /**
165
165
  * Tells the browser to download the linked file as this filename.
166
166
  * Only used when `href` is present.
167
167
  */
168
- download?: SynButton['download'];
168
+ download?: SynButton["download"];
169
169
  /**
170
170
  * The "form owner" to associate the button with.
171
171
  * If omitted, the closest containing form will be used instead.
172
172
  * The
173
173
  value of this attribute must be an id of a form in the same document or shadow root as the button.
174
174
  */
175
- form?: string | undefined;
175
+ form?: SynButton["form"];
176
176
  /**
177
177
  * Used to override the form owner's `action` attribute.
178
178
  */
179
- formAction?: string | undefined;
179
+ formAction?: SynButton["formAction"];
180
180
  /**
181
181
  * Used to override the form owner's `enctype` attribute.
182
182
  */
183
- formEnctype?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain" | undefined;
183
+ formEnctype?: SynButton["formEnctype"];
184
184
  /**
185
185
  * Used to override the form owner's `method` attribute.
186
186
  */
187
- formMethod?: "post" | "get" | undefined;
187
+ formMethod?: SynButton["formMethod"];
188
188
  /**
189
189
  * Used to override the form owner's `novalidate` attribute.
190
190
  */
191
- formNoValidate?: boolean | undefined;
191
+ formNoValidate?: SynButton["formNoValidate"];
192
192
  /**
193
193
  * Used to override the form owner's `target` attribute.
194
194
  */
195
- formTarget?: string | undefined;
195
+ formTarget?: SynButton["formTarget"];
196
196
  }>>> & {
197
197
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
198
198
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
@@ -1,12 +1,15 @@
1
1
  import '@synergy-design-system/components/components/button-group/button-group.js';
2
2
  import type { SynButtonGroup } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * A label to use for the button group.
6
9
  * This won't be displayed on the screen, but it will be announced by assistive
7
10
  devices when interacting with the control and is strongly recommended.
8
11
  */
9
- label?: string | undefined;
12
+ label?: SynButtonGroup["label"];
10
13
  }>, {
11
14
  nativeElement: import("vue").Ref<SynButtonGroup | undefined>;
12
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -15,10 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
18
  * This won't be displayed on the screen, but it will be announced by assistive
16
19
  devices when interacting with the control and is strongly recommended.
17
20
  */
18
- label?: string | undefined;
19
- }>>>, {}, {}>, {
20
- default?(_: {}): any;
21
- }>;
21
+ label?: SynButtonGroup["label"];
22
+ }>>>, {}, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_WithTemplateSlots<T, S> = T & {
24
26
  new (): {
@@ -1,12 +1,15 @@
1
1
  import '@synergy-design-system/components/components/card/card.js';
2
2
  import type { SynCard } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * Draws the card with sharp edges.
6
9
  * Can be used e.g.
7
10
  * when nesting multiple syn-cards to create hierarchy.
8
11
  */
9
- sharp?: boolean | undefined;
12
+ sharp?: SynCard["sharp"];
10
13
  }>, {
11
14
  nativeElement: import("vue").Ref<SynCard | undefined>;
12
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -15,10 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
18
  * Can be used e.g.
16
19
  * when nesting multiple syn-cards to create hierarchy.
17
20
  */
18
- sharp?: boolean | undefined;
19
- }>>>, {}, {}>, {
20
- default?(_: {}): any;
21
- }>;
21
+ sharp?: SynCard["sharp"];
22
+ }>>>, {}, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_WithTemplateSlots<T, S> = T & {
24
26
  new (): {
@@ -6,33 +6,33 @@ export type { SynFocusEvent } from '@synergy-design-system/components';
6
6
  export type { SynInputEvent } from '@synergy-design-system/components';
7
7
  export type { SynInvalidEvent } from '@synergy-design-system/components';
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
9
- title?: string | undefined;
9
+ title?: SynCheckbox["title"];
10
10
  /**
11
11
  * The name of the checkbox, submitted as a name/value pair with form data.
12
12
  */
13
- name?: string | undefined;
13
+ name?: SynCheckbox["name"];
14
14
  /**
15
15
  * The current value of the checkbox, submitted as a name/value pair with form data.
16
16
  */
17
- value?: string | undefined;
17
+ value?: SynCheckbox["value"];
18
18
  /**
19
19
  * The checkbox's size.
20
20
  */
21
- size?: "medium" | "large" | "small" | undefined;
21
+ size?: SynCheckbox["size"];
22
22
  /**
23
23
  * Disables the checkbox.
24
24
  */
25
- disabled?: boolean | undefined;
25
+ disabled?: SynCheckbox["disabled"];
26
26
  /**
27
27
  * Draws the checkbox in a checked state.
28
28
  */
29
- checked?: boolean | undefined;
29
+ checked?: SynCheckbox["checked"];
30
30
  /**
31
31
  * Draws the checkbox in an indeterminate state.
32
32
  * This is usually applied to checkboxes that represents a "select
33
33
  all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
34
34
  */
35
- indeterminate?: boolean | undefined;
35
+ indeterminate?: SynCheckbox["indeterminate"];
36
36
  /**
37
37
  * By default, form controls are associated with the nearest containing `<form>` element.
38
38
  * This attribute allows you
@@ -40,20 +40,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
40
  * The form must be in
41
41
  the same document or shadow root for this to work.
42
42
  */
43
- form?: string | undefined;
43
+ form?: SynCheckbox["form"];
44
44
  /**
45
45
  * Makes the checkbox a required field.
46
46
  */
47
- required?: boolean | undefined;
47
+ required?: SynCheckbox["required"];
48
48
  /**
49
49
  * The checkbox's help text.
50
50
  * If you need to display HTML, use the `help-text` slot instead.
51
51
  */
52
- helpText?: string | undefined;
52
+ helpText?: SynCheckbox["helpText"];
53
53
  /**
54
54
  * Support for two way data binding
55
55
  */
56
- modelValue?: boolean | undefined;
56
+ modelValue?: SynCheckbox["checked"];
57
57
  }>, {
58
58
  nativeElement: import("vue").Ref<SynCheckbox | undefined>;
59
59
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -64,33 +64,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  "syn-input": (e: SynInputEvent) => void;
65
65
  "update:modelValue": (newValue: boolean) => void;
66
66
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
67
- title?: string | undefined;
67
+ title?: SynCheckbox["title"];
68
68
  /**
69
69
  * The name of the checkbox, submitted as a name/value pair with form data.
70
70
  */
71
- name?: string | undefined;
71
+ name?: SynCheckbox["name"];
72
72
  /**
73
73
  * The current value of the checkbox, submitted as a name/value pair with form data.
74
74
  */
75
- value?: string | undefined;
75
+ value?: SynCheckbox["value"];
76
76
  /**
77
77
  * The checkbox's size.
78
78
  */
79
- size?: "medium" | "large" | "small" | undefined;
79
+ size?: SynCheckbox["size"];
80
80
  /**
81
81
  * Disables the checkbox.
82
82
  */
83
- disabled?: boolean | undefined;
83
+ disabled?: SynCheckbox["disabled"];
84
84
  /**
85
85
  * Draws the checkbox in a checked state.
86
86
  */
87
- checked?: boolean | undefined;
87
+ checked?: SynCheckbox["checked"];
88
88
  /**
89
89
  * Draws the checkbox in an indeterminate state.
90
90
  * This is usually applied to checkboxes that represents a "select
91
91
  all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
92
92
  */
93
- indeterminate?: boolean | undefined;
93
+ indeterminate?: SynCheckbox["indeterminate"];
94
94
  /**
95
95
  * By default, form controls are associated with the nearest containing `<form>` element.
96
96
  * This attribute allows you
@@ -98,20 +98,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
98
98
  * The form must be in
99
99
  the same document or shadow root for this to work.
100
100
  */
101
- form?: string | undefined;
101
+ form?: SynCheckbox["form"];
102
102
  /**
103
103
  * Makes the checkbox a required field.
104
104
  */
105
- required?: boolean | undefined;
105
+ required?: SynCheckbox["required"];
106
106
  /**
107
107
  * The checkbox's help text.
108
108
  * If you need to display HTML, use the `help-text` slot instead.
109
109
  */
110
- helpText?: string | undefined;
110
+ helpText?: SynCheckbox["helpText"];
111
111
  /**
112
112
  * Support for two way data binding
113
113
  */
114
- modelValue?: boolean | undefined;
114
+ modelValue?: SynCheckbox["checked"];
115
115
  }>>> & {
116
116
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
117
117
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;