@synergy-design-system/vue 2.6.0 → 2.7.1

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
@@ -10,25 +10,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  * If you need to display HTML, use the `label` slot
11
11
  instead.
12
12
  */
13
- label?: string | undefined;
13
+ label?: SynRadioGroup["label"];
14
14
  /**
15
15
  * The radio groups's help text.
16
16
  * If you need to display HTML, use the `help-text` slot instead.
17
17
  */
18
- helpText?: string | undefined;
18
+ helpText?: SynRadioGroup["helpText"];
19
19
  /**
20
20
  * The name of the radio group, submitted as a name/value pair with form data.
21
21
  */
22
- name?: string | undefined;
22
+ name?: SynRadioGroup["name"];
23
23
  /**
24
24
  * The current value of the radio group, submitted as a name/value pair with form data.
25
25
  */
26
- value?: string | undefined;
26
+ value?: SynRadioGroup["value"];
27
27
  /**
28
28
  * The radio group's size.
29
29
  * This size will be applied to all child radios and radio buttons.
30
30
  */
31
- size?: "medium" | "large" | "small" | undefined;
31
+ size?: SynRadioGroup["size"];
32
32
  /**
33
33
  * By default, form controls are associated with the nearest containing `<form>` element.
34
34
  * This attribute allows you
@@ -36,15 +36,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  * The form must be in
37
37
  the same document or shadow root for this to work.
38
38
  */
39
- form?: string | undefined;
39
+ form?: SynRadioGroup["form"];
40
40
  /**
41
41
  * Ensures a child radio is checked before allowing the containing form to submit.
42
42
  */
43
- required?: boolean | undefined;
43
+ required?: SynRadioGroup["required"];
44
44
  /**
45
45
  * Support for two way data binding
46
46
  */
47
- modelValue?: string | undefined;
47
+ modelValue?: SynRadioGroup["value"];
48
48
  }>, {
49
49
  nativeElement: import("vue").Ref<SynRadioGroup | undefined>;
50
50
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -59,25 +59,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
59
59
  * If you need to display HTML, use the `label` slot
60
60
  instead.
61
61
  */
62
- label?: string | undefined;
62
+ label?: SynRadioGroup["label"];
63
63
  /**
64
64
  * The radio groups's help text.
65
65
  * If you need to display HTML, use the `help-text` slot instead.
66
66
  */
67
- helpText?: string | undefined;
67
+ helpText?: SynRadioGroup["helpText"];
68
68
  /**
69
69
  * The name of the radio group, submitted as a name/value pair with form data.
70
70
  */
71
- name?: string | undefined;
71
+ name?: SynRadioGroup["name"];
72
72
  /**
73
73
  * The current value of the radio group, submitted as a name/value pair with form data.
74
74
  */
75
- value?: string | undefined;
75
+ value?: SynRadioGroup["value"];
76
76
  /**
77
77
  * The radio group's size.
78
78
  * This size will be applied to all child radios and radio buttons.
79
79
  */
80
- size?: "medium" | "large" | "small" | undefined;
80
+ size?: SynRadioGroup["size"];
81
81
  /**
82
82
  * By default, form controls are associated with the nearest containing `<form>` element.
83
83
  * This attribute allows you
@@ -85,15 +85,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
85
  * The form must be in
86
86
  the same document or shadow root for this to work.
87
87
  */
88
- form?: string | undefined;
88
+ form?: SynRadioGroup["form"];
89
89
  /**
90
90
  * Ensures a child radio is checked before allowing the containing form to submit.
91
91
  */
92
- required?: boolean | undefined;
92
+ required?: SynRadioGroup["required"];
93
93
  /**
94
94
  * Support for two way data binding
95
95
  */
96
- modelValue?: string | undefined;
96
+ modelValue?: SynRadioGroup["value"];
97
97
  }>>> & {
98
98
  "onSyn-invalid"?: ((e: SynInvalidEvent) => any) | undefined;
99
99
  "onSyn-change"?: ((e: SynChangeEvent) => any) | undefined;
@@ -10,57 +10,57 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  /**
11
11
  * The name of the range, submitted as a name/value pair with form data.
12
12
  */
13
- name?: string | undefined;
13
+ name?: SynRange["name"];
14
14
  /**
15
15
  * The range's label.
16
16
  * If you need to display HTML, use the `label` slot instead.
17
17
  */
18
- label?: string | undefined;
18
+ label?: SynRange["label"];
19
19
  /**
20
20
  * The range's help text.
21
21
  * If you need to display HTML, use the help-text slot instead.
22
22
  */
23
- helpText?: string | undefined;
23
+ helpText?: SynRange["helpText"];
24
24
  /**
25
25
  * Disables the range.
26
26
  */
27
- disabled?: boolean | undefined;
27
+ disabled?: SynRange["disabled"];
28
28
  /**
29
29
  * The minimum acceptable value of the range.
30
30
  */
31
- min?: number | undefined;
31
+ min?: SynRange["min"];
32
32
  /**
33
33
  * The maximum acceptable value of the range.
34
34
  */
35
- max?: number | undefined;
35
+ max?: SynRange["max"];
36
36
  /**
37
37
  * The interval at which the range will increase and decrease.
38
38
  */
39
- step?: number | undefined;
39
+ step?: SynRange["step"];
40
40
  /**
41
41
  * The range's size.
42
42
  */
43
- size?: "medium" | "large" | "small" | undefined;
43
+ size?: SynRange["size"];
44
44
  /**
45
45
  * The preferred placement of the range's tooltip.
46
46
  * Use "none" to disable the tooltip
47
47
  */
48
- tooltipPlacement?: "top" | "bottom" | "none" | undefined;
48
+ tooltipPlacement?: SynRange["tooltipPlacement"];
49
49
  /**
50
50
  * The current values of the input (in ascending order) as a string of space separated values
51
51
  */
52
- value?: string | null | undefined;
52
+ value?: SynRange["value"];
53
53
  /**
54
54
  * By default, form controls are associated with the nearest containing `<form>` element.
55
55
  This attribute allows you to place the form control outside of a form
56
56
  and associate it with the form that has this `id`.
57
57
  The form must be in the same document or shadow root for this to work.
58
58
  */
59
- form?: string | undefined;
59
+ form?: SynRange["form"];
60
60
  /**
61
61
  * Support for two way data binding
62
62
  */
63
- modelValue?: string | null | undefined;
63
+ modelValue?: SynRange["value"];
64
64
  }>, {
65
65
  nativeElement: import("vue").Ref<SynRange | undefined>;
66
66
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -75,57 +75,57 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
75
75
  /**
76
76
  * The name of the range, submitted as a name/value pair with form data.
77
77
  */
78
- name?: string | undefined;
78
+ name?: SynRange["name"];
79
79
  /**
80
80
  * The range's label.
81
81
  * If you need to display HTML, use the `label` slot instead.
82
82
  */
83
- label?: string | undefined;
83
+ label?: SynRange["label"];
84
84
  /**
85
85
  * The range's help text.
86
86
  * If you need to display HTML, use the help-text slot instead.
87
87
  */
88
- helpText?: string | undefined;
88
+ helpText?: SynRange["helpText"];
89
89
  /**
90
90
  * Disables the range.
91
91
  */
92
- disabled?: boolean | undefined;
92
+ disabled?: SynRange["disabled"];
93
93
  /**
94
94
  * The minimum acceptable value of the range.
95
95
  */
96
- min?: number | undefined;
96
+ min?: SynRange["min"];
97
97
  /**
98
98
  * The maximum acceptable value of the range.
99
99
  */
100
- max?: number | undefined;
100
+ max?: SynRange["max"];
101
101
  /**
102
102
  * The interval at which the range will increase and decrease.
103
103
  */
104
- step?: number | undefined;
104
+ step?: SynRange["step"];
105
105
  /**
106
106
  * The range's size.
107
107
  */
108
- size?: "medium" | "large" | "small" | undefined;
108
+ size?: SynRange["size"];
109
109
  /**
110
110
  * The preferred placement of the range's tooltip.
111
111
  * Use "none" to disable the tooltip
112
112
  */
113
- tooltipPlacement?: "top" | "bottom" | "none" | undefined;
113
+ tooltipPlacement?: SynRange["tooltipPlacement"];
114
114
  /**
115
115
  * The current values of the input (in ascending order) as a string of space separated values
116
116
  */
117
- value?: string | null | undefined;
117
+ value?: SynRange["value"];
118
118
  /**
119
119
  * By default, form controls are associated with the nearest containing `<form>` element.
120
120
  This attribute allows you to place the form control outside of a form
121
121
  and associate it with the form that has this `id`.
122
122
  The form must be in the same document or shadow root for this to work.
123
123
  */
124
- form?: string | undefined;
124
+ form?: SynRange["form"];
125
125
  /**
126
126
  * Support for two way data binding
127
127
  */
128
- modelValue?: string | null | undefined;
128
+ modelValue?: SynRange["value"];
129
129
  }>>> & {
130
130
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
131
131
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
@@ -1,20 +1,22 @@
1
1
  import '@synergy-design-system/components/components/range-tick/range-tick.js';
2
2
  import type { SynRangeTick } 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
  * Whether the tick should be shown as a subdivision.
6
9
  */
7
- subdivision?: boolean | undefined;
10
+ subdivision?: SynRangeTick["subdivision"];
8
11
  }>, {
9
12
  nativeElement: import("vue").Ref<SynRangeTick | undefined>;
10
13
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
14
  /**
12
15
  * Whether the tick should be shown as a subdivision.
13
16
  */
14
- subdivision?: boolean | undefined;
15
- }>>>, {}, {}>, {
16
- default?(_: {}): any;
17
- }>;
17
+ subdivision?: SynRangeTick["subdivision"];
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 (): {
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
14
  /**
15
15
  * The name of the select, submitted as a name/value pair with form data.
16
16
  */
17
- name?: string | undefined;
17
+ name?: SynSelect["name"];
18
18
  /**
19
19
  * The current value of the select, submitted as a name/value pair with form data.
20
20
  * When `multiple` is enabled, the
@@ -22,62 +22,62 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  be an array.
23
23
  * **For this reason, values must not contain spaces.**
24
24
  */
25
- value?: string | string[] | undefined;
25
+ value?: SynSelect["value"];
26
26
  /**
27
27
  * The select's size.
28
28
  */
29
- size?: "medium" | "large" | "small" | undefined;
29
+ size?: SynSelect["size"];
30
30
  /**
31
31
  * Placeholder text to show as a hint when the select is empty.
32
32
  */
33
- placeholder?: string | undefined;
33
+ placeholder?: SynSelect["placeholder"];
34
34
  /**
35
35
  * Allows more than one option to be selected.
36
36
  */
37
- multiple?: boolean | undefined;
37
+ multiple?: SynSelect["multiple"];
38
38
  /**
39
39
  * The maximum number of selected options to show when `multiple` is true.
40
40
  * After the maximum, "+n" will be shown to
41
41
  indicate the number of additional items that are selected.
42
42
  * Set to 0 to remove the limit.
43
43
  */
44
- maxOptionsVisible?: number | undefined;
44
+ maxOptionsVisible?: SynSelect["maxOptionsVisible"];
45
45
  /**
46
46
  * Disables the select control.
47
47
  */
48
- disabled?: boolean | undefined;
48
+ disabled?: SynSelect["disabled"];
49
49
  /**
50
50
  * Adds a clear button when the select is not empty.
51
51
  */
52
- clearable?: boolean | undefined;
52
+ clearable?: SynSelect["clearable"];
53
53
  /**
54
54
  * Indicates whether or not the select is open.
55
55
  * You can toggle this attribute to show and hide the menu, or you can
56
56
  use the `show()` and `hide()` methods and this attribute will reflect the select's open state.
57
57
  */
58
- open?: boolean | undefined;
58
+ open?: SynSelect["open"];
59
59
  /**
60
60
  * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
61
61
  `overflow: auto|scroll`.
62
62
  * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
63
63
  */
64
- hoist?: boolean | undefined;
64
+ hoist?: SynSelect["hoist"];
65
65
  /**
66
66
  * The select's label.
67
67
  * If you need to display HTML, use the `label` slot instead.
68
68
  */
69
- label?: string | undefined;
69
+ label?: SynSelect["label"];
70
70
  /**
71
71
  * The preferred placement of the select's menu.
72
72
  * Note that the actual placement may vary as needed to keep the listbox
73
73
  inside of the viewport.
74
74
  */
75
- placement?: "top" | "bottom" | undefined;
75
+ placement?: SynSelect["placement"];
76
76
  /**
77
77
  * The select's help text.
78
78
  * If you need to display HTML, use the `help-text` slot instead.
79
79
  */
80
- helpText?: string | undefined;
80
+ helpText?: SynSelect["helpText"];
81
81
  /**
82
82
  * By default, form controls are associated with the nearest containing `<form>` element.
83
83
  * This attribute allows you
@@ -85,11 +85,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
85
  * The form must be in
86
86
  the same document or shadow root for this to work.
87
87
  */
88
- form?: string | undefined;
88
+ form?: SynSelect["form"];
89
89
  /**
90
90
  * The select's required attribute.
91
91
  */
92
- required?: boolean | undefined;
92
+ required?: SynSelect["required"];
93
93
  /**
94
94
  * A function that customizes the tags to be rendered when multiple=true.
95
95
  * The first argument is the option, the second
@@ -97,11 +97,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
97
97
  * The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at
98
98
  the specified value.
99
99
  */
100
- getTag?: ((option: import("@synergy-design-system/components").SynOption, index: number) => string | HTMLElement | import("lit").TemplateResult) | undefined;
100
+ getTag?: SynSelect["getTag"];
101
101
  /**
102
102
  * Support for two way data binding
103
103
  */
104
- modelValue?: string | string[] | undefined;
104
+ modelValue?: SynSelect["value"];
105
105
  }>, {
106
106
  nativeElement: import("vue").Ref<SynSelect | undefined>;
107
107
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -120,7 +120,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
120
120
  /**
121
121
  * The name of the select, submitted as a name/value pair with form data.
122
122
  */
123
- name?: string | undefined;
123
+ name?: SynSelect["name"];
124
124
  /**
125
125
  * The current value of the select, submitted as a name/value pair with form data.
126
126
  * When `multiple` is enabled, the
@@ -128,62 +128,62 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
128
128
  be an array.
129
129
  * **For this reason, values must not contain spaces.**
130
130
  */
131
- value?: string | string[] | undefined;
131
+ value?: SynSelect["value"];
132
132
  /**
133
133
  * The select's size.
134
134
  */
135
- size?: "medium" | "large" | "small" | undefined;
135
+ size?: SynSelect["size"];
136
136
  /**
137
137
  * Placeholder text to show as a hint when the select is empty.
138
138
  */
139
- placeholder?: string | undefined;
139
+ placeholder?: SynSelect["placeholder"];
140
140
  /**
141
141
  * Allows more than one option to be selected.
142
142
  */
143
- multiple?: boolean | undefined;
143
+ multiple?: SynSelect["multiple"];
144
144
  /**
145
145
  * The maximum number of selected options to show when `multiple` is true.
146
146
  * After the maximum, "+n" will be shown to
147
147
  indicate the number of additional items that are selected.
148
148
  * Set to 0 to remove the limit.
149
149
  */
150
- maxOptionsVisible?: number | undefined;
150
+ maxOptionsVisible?: SynSelect["maxOptionsVisible"];
151
151
  /**
152
152
  * Disables the select control.
153
153
  */
154
- disabled?: boolean | undefined;
154
+ disabled?: SynSelect["disabled"];
155
155
  /**
156
156
  * Adds a clear button when the select is not empty.
157
157
  */
158
- clearable?: boolean | undefined;
158
+ clearable?: SynSelect["clearable"];
159
159
  /**
160
160
  * Indicates whether or not the select is open.
161
161
  * You can toggle this attribute to show and hide the menu, or you can
162
162
  use the `show()` and `hide()` methods and this attribute will reflect the select's open state.
163
163
  */
164
- open?: boolean | undefined;
164
+ open?: SynSelect["open"];
165
165
  /**
166
166
  * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
167
167
  `overflow: auto|scroll`.
168
168
  * Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
169
169
  */
170
- hoist?: boolean | undefined;
170
+ hoist?: SynSelect["hoist"];
171
171
  /**
172
172
  * The select's label.
173
173
  * If you need to display HTML, use the `label` slot instead.
174
174
  */
175
- label?: string | undefined;
175
+ label?: SynSelect["label"];
176
176
  /**
177
177
  * The preferred placement of the select's menu.
178
178
  * Note that the actual placement may vary as needed to keep the listbox
179
179
  inside of the viewport.
180
180
  */
181
- placement?: "top" | "bottom" | undefined;
181
+ placement?: SynSelect["placement"];
182
182
  /**
183
183
  * The select's help text.
184
184
  * If you need to display HTML, use the `help-text` slot instead.
185
185
  */
186
- helpText?: string | undefined;
186
+ helpText?: SynSelect["helpText"];
187
187
  /**
188
188
  * By default, form controls are associated with the nearest containing `<form>` element.
189
189
  * This attribute allows you
@@ -191,11 +191,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
191
191
  * The form must be in
192
192
  the same document or shadow root for this to work.
193
193
  */
194
- form?: string | undefined;
194
+ form?: SynSelect["form"];
195
195
  /**
196
196
  * The select's required attribute.
197
197
  */
198
- required?: boolean | undefined;
198
+ required?: SynSelect["required"];
199
199
  /**
200
200
  * A function that customizes the tags to be rendered when multiple=true.
201
201
  * The first argument is the option, the second
@@ -203,11 +203,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
203
203
  * The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at
204
204
  the specified value.
205
205
  */
206
- getTag?: ((option: import("@synergy-design-system/components").SynOption, index: number) => string | HTMLElement | import("lit").TemplateResult) | undefined;
206
+ getTag?: SynSelect["getTag"];
207
207
  /**
208
208
  * Support for two way data binding
209
209
  */
210
- modelValue?: string | string[] | undefined;
210
+ modelValue?: SynSelect["value"];
211
211
  }>>> & {
212
212
  "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
213
213
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
21
21
  or without an overlay for non-touch devices.
22
22
  Without `open`, the side-nav will only show the prefix of nav-item's.
23
23
  */
24
- open?: boolean | undefined;
24
+ open?: SynSideNav["open"];
25
25
  /**
26
26
  * Use the rail attribute to only show the prefix of navigation items in closed state.
27
27
  This will open on hover on the rail navigation.
@@ -30,12 +30,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
30
  Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
31
31
  If this is not the case you should use a burger navigation.
32
32
  */
33
- rail?: boolean | undefined;
33
+ rail?: SynSideNav["rail"];
34
34
  /**
35
35
  * By default, the side-nav traps the focus if in non-rail mode and open.
36
36
  To disable the focus trapping, set this attribute.
37
37
  */
38
- noFocusTrapping?: boolean | undefined;
38
+ noFocusTrapping?: SynSideNav["noFocusTrapping"];
39
39
  }>, {
40
40
  nativeElement: import("vue").Ref<SynSideNav | undefined>;
41
41
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
60
60
  or without an overlay for non-touch devices.
61
61
  Without `open`, the side-nav will only show the prefix of nav-item's.
62
62
  */
63
- open?: boolean | undefined;
63
+ open?: SynSideNav["open"];
64
64
  /**
65
65
  * Use the rail attribute to only show the prefix of navigation items in closed state.
66
66
  This will open on hover on the rail navigation.
@@ -69,12 +69,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
69
  Note: The Rail is only an option if all Navigation Items on the first level have an Icon.
70
70
  If this is not the case you should use a burger navigation.
71
71
  */
72
- rail?: boolean | undefined;
72
+ rail?: SynSideNav["rail"];
73
73
  /**
74
74
  * By default, the side-nav traps the focus if in non-rail mode and open.
75
75
  To disable the focus trapping, set this attribute.
76
76
  */
77
- noFocusTrapping?: boolean | undefined;
77
+ noFocusTrapping?: SynSideNav["noFocusTrapping"];
78
78
  }>>> & {
79
79
  "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
80
80
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
@@ -6,27 +6,27 @@ export type { SynInputEvent } from '@synergy-design-system/components';
6
6
  export type { SynFocusEvent } 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?: SynSwitch["title"];
10
10
  /**
11
11
  * The name of the switch, submitted as a name/value pair with form data.
12
12
  */
13
- name?: string | undefined;
13
+ name?: SynSwitch["name"];
14
14
  /**
15
15
  * The current value of the switch, submitted as a name/value pair with form data.
16
16
  */
17
- value?: string | undefined;
17
+ value?: SynSwitch["value"];
18
18
  /**
19
19
  * The switch's size.
20
20
  */
21
- size?: "medium" | "large" | "small" | undefined;
21
+ size?: SynSwitch["size"];
22
22
  /**
23
23
  * Disables the switch.
24
24
  */
25
- disabled?: boolean | undefined;
25
+ disabled?: SynSwitch["disabled"];
26
26
  /**
27
27
  * Draws the switch in a checked state.
28
28
  */
29
- checked?: boolean | undefined;
29
+ checked?: SynSwitch["checked"];
30
30
  /**
31
31
  * By default, form controls are associated with the nearest containing `<form>` element.
32
32
  * This attribute allows you
@@ -34,20 +34,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
34
34
  * The form must be in
35
35
  the same document or shadow root for this to work.
36
36
  */
37
- form?: string | undefined;
37
+ form?: SynSwitch["form"];
38
38
  /**
39
39
  * Makes the switch a required field.
40
40
  */
41
- required?: boolean | undefined;
41
+ required?: SynSwitch["required"];
42
42
  /**
43
43
  * The switch's help text.
44
44
  * If you need to display HTML, use the `help-text` slot instead.
45
45
  */
46
- helpText?: string | undefined;
46
+ helpText?: SynSwitch["helpText"];
47
47
  /**
48
48
  * Support for two way data binding
49
49
  */
50
- modelValue?: boolean | undefined;
50
+ modelValue?: SynSwitch["checked"];
51
51
  }>, {
52
52
  nativeElement: import("vue").Ref<SynSwitch | undefined>;
53
53
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -58,27 +58,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
58
  "syn-input": (e: SynInputEvent) => void;
59
59
  "update:modelValue": (newValue: boolean) => void;
60
60
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
61
- title?: string | undefined;
61
+ title?: SynSwitch["title"];
62
62
  /**
63
63
  * The name of the switch, submitted as a name/value pair with form data.
64
64
  */
65
- name?: string | undefined;
65
+ name?: SynSwitch["name"];
66
66
  /**
67
67
  * The current value of the switch, submitted as a name/value pair with form data.
68
68
  */
69
- value?: string | undefined;
69
+ value?: SynSwitch["value"];
70
70
  /**
71
71
  * The switch's size.
72
72
  */
73
- size?: "medium" | "large" | "small" | undefined;
73
+ size?: SynSwitch["size"];
74
74
  /**
75
75
  * Disables the switch.
76
76
  */
77
- disabled?: boolean | undefined;
77
+ disabled?: SynSwitch["disabled"];
78
78
  /**
79
79
  * Draws the switch in a checked state.
80
80
  */
81
- checked?: boolean | undefined;
81
+ checked?: SynSwitch["checked"];
82
82
  /**
83
83
  * By default, form controls are associated with the nearest containing `<form>` element.
84
84
  * This attribute allows you
@@ -86,20 +86,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
86
86
  * The form must be in
87
87
  the same document or shadow root for this to work.
88
88
  */
89
- form?: string | undefined;
89
+ form?: SynSwitch["form"];
90
90
  /**
91
91
  * Makes the switch a required field.
92
92
  */
93
- required?: boolean | undefined;
93
+ required?: SynSwitch["required"];
94
94
  /**
95
95
  * The switch's help text.
96
96
  * If you need to display HTML, use the `help-text` slot instead.
97
97
  */
98
- helpText?: string | undefined;
98
+ helpText?: SynSwitch["helpText"];
99
99
  /**
100
100
  * Support for two way data binding
101
101
  */
102
- modelValue?: boolean | undefined;
102
+ modelValue?: SynSwitch["checked"];
103
103
  }>>> & {
104
104
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
105
105
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;