@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.
- package/dist/components/SynVueAccordion.vue.d.ts +12 -10
- package/dist/components/SynVueAlert.vue.d.ts +8 -8
- package/dist/components/SynVueBadge.vue.d.ts +8 -6
- package/dist/components/SynVueBreadcrumb.vue.d.ts +8 -6
- package/dist/components/SynVueBreadcrumbItem.vue.d.ts +12 -10
- package/dist/components/SynVueButton.vue.d.ts +38 -38
- package/dist/components/SynVueButtonGroup.vue.d.ts +8 -6
- package/dist/components/SynVueCard.vue.d.ts +8 -6
- package/dist/components/SynVueCheckbox.vue.d.ts +22 -22
- package/dist/components/SynVueDetails.vue.d.ts +10 -10
- package/dist/components/SynVueDialog.vue.d.ts +6 -6
- package/dist/components/SynVueDivider.vue.d.ts +2 -2
- package/dist/components/SynVueDrawer.vue.d.ts +10 -10
- package/dist/components/SynVueDropdown.vue.d.ts +16 -16
- package/dist/components/SynVueFile.vue.d.ts +32 -32
- package/dist/components/SynVueHeader.vue.d.ts +4 -4
- package/dist/components/SynVueIcon.vue.d.ts +8 -8
- package/dist/components/SynVueIconButton.vue.d.ts +20 -20
- package/dist/components/SynVueInput.vue.d.ts +60 -60
- package/dist/components/SynVueMenuItem.vue.d.ts +16 -14
- package/dist/components/SynVueMenuLabel.vue.d.ts +6 -4
- package/dist/components/SynVueNavItem.vue.d.ts +14 -14
- package/dist/components/SynVueOptgroup.vue.d.ts +10 -8
- package/dist/components/SynVueOption.vue.d.ts +10 -8
- package/dist/components/SynVuePopup.vue.d.ts +44 -44
- package/dist/components/SynVuePrioNav.vue.d.ts +6 -4
- package/dist/components/SynVueProgressBar.vue.d.ts +12 -10
- package/dist/components/SynVueProgressRing.vue.d.ts +10 -8
- package/dist/components/SynVueRadio.vue.d.ts +6 -6
- package/dist/components/SynVueRadioButton.vue.d.ts +8 -8
- package/dist/components/SynVueRadioGroup.vue.d.ts +16 -16
- package/dist/components/SynVueRange.vue.d.ts +24 -24
- package/dist/components/SynVueRangeTick.vue.d.ts +8 -6
- package/dist/components/SynVueSelect.vue.d.ts +34 -34
- package/dist/components/SynVueSideNav.vue.d.ts +6 -6
- package/dist/components/SynVueSwitch.vue.d.ts +20 -20
- package/dist/components/SynVueTab.vue.d.ts +8 -8
- package/dist/components/SynVueTabGroup.vue.d.ts +10 -10
- package/dist/components/SynVueTabPanel.vue.d.ts +10 -8
- package/dist/components/SynVueTag.vue.d.ts +4 -4
- package/dist/components/SynVueTextarea.vue.d.ts +46 -46
- package/dist/components/SynVueTooltip.vue.d.ts +16 -16
- package/package.json +4 -4
- package/src/components/SynVueDropdown.vue +2 -1
- package/src/components/SynVueSelect.vue +3 -1
|
@@ -7,50 +7,50 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
7
7
|
* The name of the icon to draw.
|
|
8
8
|
* Available names depend on the icon library being used.
|
|
9
9
|
*/
|
|
10
|
-
name?: SynIconButton[
|
|
10
|
+
name?: SynIconButton["name"];
|
|
11
11
|
/**
|
|
12
12
|
* The name of a registered custom icon library.
|
|
13
13
|
*/
|
|
14
|
-
library?: SynIconButton[
|
|
14
|
+
library?: SynIconButton["library"];
|
|
15
15
|
/**
|
|
16
16
|
* An external URL of an SVG file.
|
|
17
17
|
* Be sure you trust the content you are including, as it will be executed as code and
|
|
18
18
|
can result in XSS attacks.
|
|
19
19
|
*/
|
|
20
|
-
src?: SynIconButton[
|
|
20
|
+
src?: SynIconButton["src"];
|
|
21
21
|
/**
|
|
22
22
|
* When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
|
|
23
23
|
*/
|
|
24
|
-
href?: SynIconButton[
|
|
24
|
+
href?: SynIconButton["href"];
|
|
25
25
|
/**
|
|
26
26
|
* Tells the browser where to open the link.
|
|
27
27
|
* Only used when `href` is set.
|
|
28
28
|
*/
|
|
29
|
-
target?: SynIconButton[
|
|
29
|
+
target?: SynIconButton["target"];
|
|
30
30
|
/**
|
|
31
31
|
* Tells the browser to download the linked file as this filename.
|
|
32
32
|
* Only used when `href` is set.
|
|
33
33
|
*/
|
|
34
|
-
download?: SynIconButton[
|
|
34
|
+
download?: SynIconButton["download"];
|
|
35
35
|
/**
|
|
36
36
|
* A description that gets read by assistive devices.
|
|
37
37
|
* For optimal accessibility, you should always include a label
|
|
38
38
|
that describes what the icon button does.
|
|
39
39
|
*/
|
|
40
|
-
label?:
|
|
40
|
+
label?: SynIconButton["label"];
|
|
41
41
|
/**
|
|
42
42
|
* The icon button's size.
|
|
43
43
|
*/
|
|
44
|
-
size?: "
|
|
44
|
+
size?: SynIconButton["size"];
|
|
45
45
|
/**
|
|
46
46
|
* The color of the icon button.
|
|
47
47
|
The default "currentColor" makes it possible to easily style the icon button from outside without any CSS variables.
|
|
48
48
|
*/
|
|
49
|
-
color?: "
|
|
49
|
+
color?: SynIconButton["color"];
|
|
50
50
|
/**
|
|
51
51
|
* Disables the button.
|
|
52
52
|
*/
|
|
53
|
-
disabled?:
|
|
53
|
+
disabled?: SynIconButton["disabled"];
|
|
54
54
|
}>, {
|
|
55
55
|
nativeElement: import("vue").Ref<SynIconButton | undefined>;
|
|
56
56
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -61,50 +61,50 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
61
61
|
* The name of the icon to draw.
|
|
62
62
|
* Available names depend on the icon library being used.
|
|
63
63
|
*/
|
|
64
|
-
name?: SynIconButton[
|
|
64
|
+
name?: SynIconButton["name"];
|
|
65
65
|
/**
|
|
66
66
|
* The name of a registered custom icon library.
|
|
67
67
|
*/
|
|
68
|
-
library?: SynIconButton[
|
|
68
|
+
library?: SynIconButton["library"];
|
|
69
69
|
/**
|
|
70
70
|
* An external URL of an SVG file.
|
|
71
71
|
* Be sure you trust the content you are including, as it will be executed as code and
|
|
72
72
|
can result in XSS attacks.
|
|
73
73
|
*/
|
|
74
|
-
src?: SynIconButton[
|
|
74
|
+
src?: SynIconButton["src"];
|
|
75
75
|
/**
|
|
76
76
|
* When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
|
|
77
77
|
*/
|
|
78
|
-
href?: SynIconButton[
|
|
78
|
+
href?: SynIconButton["href"];
|
|
79
79
|
/**
|
|
80
80
|
* Tells the browser where to open the link.
|
|
81
81
|
* Only used when `href` is set.
|
|
82
82
|
*/
|
|
83
|
-
target?: SynIconButton[
|
|
83
|
+
target?: SynIconButton["target"];
|
|
84
84
|
/**
|
|
85
85
|
* Tells the browser to download the linked file as this filename.
|
|
86
86
|
* Only used when `href` is set.
|
|
87
87
|
*/
|
|
88
|
-
download?: SynIconButton[
|
|
88
|
+
download?: SynIconButton["download"];
|
|
89
89
|
/**
|
|
90
90
|
* A description that gets read by assistive devices.
|
|
91
91
|
* For optimal accessibility, you should always include a label
|
|
92
92
|
that describes what the icon button does.
|
|
93
93
|
*/
|
|
94
|
-
label?:
|
|
94
|
+
label?: SynIconButton["label"];
|
|
95
95
|
/**
|
|
96
96
|
* The icon button's size.
|
|
97
97
|
*/
|
|
98
|
-
size?: "
|
|
98
|
+
size?: SynIconButton["size"];
|
|
99
99
|
/**
|
|
100
100
|
* The color of the icon button.
|
|
101
101
|
The default "currentColor" makes it possible to easily style the icon button from outside without any CSS variables.
|
|
102
102
|
*/
|
|
103
|
-
color?: "
|
|
103
|
+
color?: SynIconButton["color"];
|
|
104
104
|
/**
|
|
105
105
|
* Disables the button.
|
|
106
106
|
*/
|
|
107
|
-
disabled?:
|
|
107
|
+
disabled?: SynIconButton["disabled"];
|
|
108
108
|
}>>> & {
|
|
109
109
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
110
110
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
@@ -7,66 +7,66 @@ export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
|
7
7
|
export type { SynInputEvent } from '@synergy-design-system/components';
|
|
8
8
|
export type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
9
9
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
10
|
-
title?:
|
|
10
|
+
title?: SynInput["title"];
|
|
11
11
|
/**
|
|
12
12
|
* The type of input.
|
|
13
13
|
* Works the same as a native `<input>` element, but only a subset of types are supported.
|
|
14
14
|
* Defaults
|
|
15
15
|
to `text`.
|
|
16
16
|
*/
|
|
17
|
-
type?: "
|
|
17
|
+
type?: SynInput["type"];
|
|
18
18
|
/**
|
|
19
19
|
* The name of the input, submitted as a name/value pair with form data.
|
|
20
20
|
*/
|
|
21
|
-
name?:
|
|
21
|
+
name?: SynInput["name"];
|
|
22
22
|
/**
|
|
23
23
|
* The current value of the input, submitted as a name/value pair with form data.
|
|
24
24
|
*/
|
|
25
|
-
value?:
|
|
25
|
+
value?: SynInput["value"];
|
|
26
26
|
/**
|
|
27
27
|
* The input's size.
|
|
28
28
|
*/
|
|
29
|
-
size?: "
|
|
29
|
+
size?: SynInput["size"];
|
|
30
30
|
/**
|
|
31
31
|
* The input's label.
|
|
32
32
|
* If you need to display HTML, use the `label` slot instead.
|
|
33
33
|
*/
|
|
34
|
-
label?:
|
|
34
|
+
label?: SynInput["label"];
|
|
35
35
|
/**
|
|
36
36
|
* The input's help text.
|
|
37
37
|
* If you need to display HTML, use the `help-text` slot instead.
|
|
38
38
|
*/
|
|
39
|
-
helpText?:
|
|
39
|
+
helpText?: SynInput["helpText"];
|
|
40
40
|
/**
|
|
41
41
|
* Adds a clear button when the input is not empty.
|
|
42
42
|
*/
|
|
43
|
-
clearable?:
|
|
43
|
+
clearable?: SynInput["clearable"];
|
|
44
44
|
/**
|
|
45
45
|
* Disables the input.
|
|
46
46
|
*/
|
|
47
|
-
disabled?:
|
|
47
|
+
disabled?: SynInput["disabled"];
|
|
48
48
|
/**
|
|
49
49
|
* Placeholder text to show as a hint when the input is empty.
|
|
50
50
|
*/
|
|
51
|
-
placeholder?:
|
|
51
|
+
placeholder?: SynInput["placeholder"];
|
|
52
52
|
/**
|
|
53
53
|
* Makes the input readonly.
|
|
54
54
|
*/
|
|
55
|
-
readonly?:
|
|
55
|
+
readonly?: SynInput["readonly"];
|
|
56
56
|
/**
|
|
57
57
|
* Adds a button to toggle the password's visibility.
|
|
58
58
|
* Only applies to password types.
|
|
59
59
|
*/
|
|
60
|
-
passwordToggle?:
|
|
60
|
+
passwordToggle?: SynInput["passwordToggle"];
|
|
61
61
|
/**
|
|
62
62
|
* Determines whether or not the password is currently visible.
|
|
63
63
|
* Only applies to password input types.
|
|
64
64
|
*/
|
|
65
|
-
passwordVisible?:
|
|
65
|
+
passwordVisible?: SynInput["passwordVisible"];
|
|
66
66
|
/**
|
|
67
67
|
* Hides the increment/decrement spin buttons for number inputs.
|
|
68
68
|
*/
|
|
69
|
-
noSpinButtons?:
|
|
69
|
+
noSpinButtons?: SynInput["noSpinButtons"];
|
|
70
70
|
/**
|
|
71
71
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
72
72
|
* This attribute allows you
|
|
@@ -74,74 +74,74 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
74
|
* The form must be in
|
|
75
75
|
the same document or shadow root for this to work.
|
|
76
76
|
*/
|
|
77
|
-
form?:
|
|
77
|
+
form?: SynInput["form"];
|
|
78
78
|
/**
|
|
79
79
|
* Makes the input a required field.
|
|
80
80
|
*/
|
|
81
|
-
required?:
|
|
81
|
+
required?: SynInput["required"];
|
|
82
82
|
/**
|
|
83
83
|
* A regular expression pattern to validate input against.
|
|
84
84
|
*/
|
|
85
|
-
pattern?:
|
|
85
|
+
pattern?: SynInput["pattern"];
|
|
86
86
|
/**
|
|
87
87
|
* The minimum length of input that will be considered valid.
|
|
88
88
|
*/
|
|
89
|
-
minlength?:
|
|
89
|
+
minlength?: SynInput["minlength"];
|
|
90
90
|
/**
|
|
91
91
|
* The maximum length of input that will be considered valid.
|
|
92
92
|
*/
|
|
93
|
-
maxlength?:
|
|
93
|
+
maxlength?: SynInput["maxlength"];
|
|
94
94
|
/**
|
|
95
95
|
* The input's minimum value.
|
|
96
96
|
* Only applies to date and number input types.
|
|
97
97
|
*/
|
|
98
|
-
min?:
|
|
98
|
+
min?: SynInput["min"];
|
|
99
99
|
/**
|
|
100
100
|
* The input's maximum value.
|
|
101
101
|
* Only applies to date and number input types.
|
|
102
102
|
*/
|
|
103
|
-
max?:
|
|
103
|
+
max?: SynInput["max"];
|
|
104
104
|
/**
|
|
105
105
|
* Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is
|
|
106
106
|
implied, allowing any numeric value.
|
|
107
107
|
* Only applies to date and number input types.
|
|
108
108
|
*/
|
|
109
|
-
step?:
|
|
109
|
+
step?: SynInput["step"];
|
|
110
110
|
/**
|
|
111
111
|
* Controls whether and how text input is automatically capitalized as it is entered by the user.
|
|
112
112
|
*/
|
|
113
|
-
autocapitalize?: "
|
|
113
|
+
autocapitalize?: SynInput["autocapitalize"];
|
|
114
114
|
/**
|
|
115
115
|
* Indicates whether the browser's autocorrect feature is on or off.
|
|
116
116
|
*/
|
|
117
|
-
autocorrect?: "
|
|
117
|
+
autocorrect?: SynInput["autocorrect"];
|
|
118
118
|
/**
|
|
119
119
|
* Specifies what permission the browser has to provide assistance in filling out form field values.
|
|
120
120
|
* Refer to
|
|
121
121
|
[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
122
122
|
*/
|
|
123
|
-
autocomplete?:
|
|
123
|
+
autocomplete?: SynInput["autocomplete"];
|
|
124
124
|
/**
|
|
125
125
|
* Indicates that the input should receive focus on page load.
|
|
126
126
|
*/
|
|
127
|
-
autofocus?:
|
|
127
|
+
autofocus?: SynInput["autofocus"];
|
|
128
128
|
/**
|
|
129
129
|
* Used to customize the label or icon of the Enter key on virtual keyboards.
|
|
130
130
|
*/
|
|
131
|
-
enterkeyhint?: "
|
|
131
|
+
enterkeyhint?: SynInput["enterkeyhint"];
|
|
132
132
|
/**
|
|
133
133
|
* Enables spell checking on the input.
|
|
134
134
|
*/
|
|
135
|
-
spellcheck?:
|
|
135
|
+
spellcheck?: SynInput["spellcheck"];
|
|
136
136
|
/**
|
|
137
137
|
* Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
|
|
138
138
|
keyboard on supportive devices.
|
|
139
139
|
*/
|
|
140
|
-
inputmode?: "
|
|
140
|
+
inputmode?: SynInput["inputmode"];
|
|
141
141
|
/**
|
|
142
142
|
* Support for two way data binding
|
|
143
143
|
*/
|
|
144
|
-
modelValue?:
|
|
144
|
+
modelValue?: SynInput["value"];
|
|
145
145
|
}>, {
|
|
146
146
|
nativeElement: import("vue").Ref<SynInput | undefined>;
|
|
147
147
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -153,66 +153,66 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
153
153
|
"update:modelValue": (newValue: string) => void;
|
|
154
154
|
"syn-clear": (e: SynClearEvent) => void;
|
|
155
155
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
156
|
-
title?:
|
|
156
|
+
title?: SynInput["title"];
|
|
157
157
|
/**
|
|
158
158
|
* The type of input.
|
|
159
159
|
* Works the same as a native `<input>` element, but only a subset of types are supported.
|
|
160
160
|
* Defaults
|
|
161
161
|
to `text`.
|
|
162
162
|
*/
|
|
163
|
-
type?: "
|
|
163
|
+
type?: SynInput["type"];
|
|
164
164
|
/**
|
|
165
165
|
* The name of the input, submitted as a name/value pair with form data.
|
|
166
166
|
*/
|
|
167
|
-
name?:
|
|
167
|
+
name?: SynInput["name"];
|
|
168
168
|
/**
|
|
169
169
|
* The current value of the input, submitted as a name/value pair with form data.
|
|
170
170
|
*/
|
|
171
|
-
value?:
|
|
171
|
+
value?: SynInput["value"];
|
|
172
172
|
/**
|
|
173
173
|
* The input's size.
|
|
174
174
|
*/
|
|
175
|
-
size?: "
|
|
175
|
+
size?: SynInput["size"];
|
|
176
176
|
/**
|
|
177
177
|
* The input's label.
|
|
178
178
|
* If you need to display HTML, use the `label` slot instead.
|
|
179
179
|
*/
|
|
180
|
-
label?:
|
|
180
|
+
label?: SynInput["label"];
|
|
181
181
|
/**
|
|
182
182
|
* The input's help text.
|
|
183
183
|
* If you need to display HTML, use the `help-text` slot instead.
|
|
184
184
|
*/
|
|
185
|
-
helpText?:
|
|
185
|
+
helpText?: SynInput["helpText"];
|
|
186
186
|
/**
|
|
187
187
|
* Adds a clear button when the input is not empty.
|
|
188
188
|
*/
|
|
189
|
-
clearable?:
|
|
189
|
+
clearable?: SynInput["clearable"];
|
|
190
190
|
/**
|
|
191
191
|
* Disables the input.
|
|
192
192
|
*/
|
|
193
|
-
disabled?:
|
|
193
|
+
disabled?: SynInput["disabled"];
|
|
194
194
|
/**
|
|
195
195
|
* Placeholder text to show as a hint when the input is empty.
|
|
196
196
|
*/
|
|
197
|
-
placeholder?:
|
|
197
|
+
placeholder?: SynInput["placeholder"];
|
|
198
198
|
/**
|
|
199
199
|
* Makes the input readonly.
|
|
200
200
|
*/
|
|
201
|
-
readonly?:
|
|
201
|
+
readonly?: SynInput["readonly"];
|
|
202
202
|
/**
|
|
203
203
|
* Adds a button to toggle the password's visibility.
|
|
204
204
|
* Only applies to password types.
|
|
205
205
|
*/
|
|
206
|
-
passwordToggle?:
|
|
206
|
+
passwordToggle?: SynInput["passwordToggle"];
|
|
207
207
|
/**
|
|
208
208
|
* Determines whether or not the password is currently visible.
|
|
209
209
|
* Only applies to password input types.
|
|
210
210
|
*/
|
|
211
|
-
passwordVisible?:
|
|
211
|
+
passwordVisible?: SynInput["passwordVisible"];
|
|
212
212
|
/**
|
|
213
213
|
* Hides the increment/decrement spin buttons for number inputs.
|
|
214
214
|
*/
|
|
215
|
-
noSpinButtons?:
|
|
215
|
+
noSpinButtons?: SynInput["noSpinButtons"];
|
|
216
216
|
/**
|
|
217
217
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
218
218
|
* This attribute allows you
|
|
@@ -220,74 +220,74 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
220
220
|
* The form must be in
|
|
221
221
|
the same document or shadow root for this to work.
|
|
222
222
|
*/
|
|
223
|
-
form?:
|
|
223
|
+
form?: SynInput["form"];
|
|
224
224
|
/**
|
|
225
225
|
* Makes the input a required field.
|
|
226
226
|
*/
|
|
227
|
-
required?:
|
|
227
|
+
required?: SynInput["required"];
|
|
228
228
|
/**
|
|
229
229
|
* A regular expression pattern to validate input against.
|
|
230
230
|
*/
|
|
231
|
-
pattern?:
|
|
231
|
+
pattern?: SynInput["pattern"];
|
|
232
232
|
/**
|
|
233
233
|
* The minimum length of input that will be considered valid.
|
|
234
234
|
*/
|
|
235
|
-
minlength?:
|
|
235
|
+
minlength?: SynInput["minlength"];
|
|
236
236
|
/**
|
|
237
237
|
* The maximum length of input that will be considered valid.
|
|
238
238
|
*/
|
|
239
|
-
maxlength?:
|
|
239
|
+
maxlength?: SynInput["maxlength"];
|
|
240
240
|
/**
|
|
241
241
|
* The input's minimum value.
|
|
242
242
|
* Only applies to date and number input types.
|
|
243
243
|
*/
|
|
244
|
-
min?:
|
|
244
|
+
min?: SynInput["min"];
|
|
245
245
|
/**
|
|
246
246
|
* The input's maximum value.
|
|
247
247
|
* Only applies to date and number input types.
|
|
248
248
|
*/
|
|
249
|
-
max?:
|
|
249
|
+
max?: SynInput["max"];
|
|
250
250
|
/**
|
|
251
251
|
* Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is
|
|
252
252
|
implied, allowing any numeric value.
|
|
253
253
|
* Only applies to date and number input types.
|
|
254
254
|
*/
|
|
255
|
-
step?:
|
|
255
|
+
step?: SynInput["step"];
|
|
256
256
|
/**
|
|
257
257
|
* Controls whether and how text input is automatically capitalized as it is entered by the user.
|
|
258
258
|
*/
|
|
259
|
-
autocapitalize?: "
|
|
259
|
+
autocapitalize?: SynInput["autocapitalize"];
|
|
260
260
|
/**
|
|
261
261
|
* Indicates whether the browser's autocorrect feature is on or off.
|
|
262
262
|
*/
|
|
263
|
-
autocorrect?: "
|
|
263
|
+
autocorrect?: SynInput["autocorrect"];
|
|
264
264
|
/**
|
|
265
265
|
* Specifies what permission the browser has to provide assistance in filling out form field values.
|
|
266
266
|
* Refer to
|
|
267
267
|
[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
268
268
|
*/
|
|
269
|
-
autocomplete?:
|
|
269
|
+
autocomplete?: SynInput["autocomplete"];
|
|
270
270
|
/**
|
|
271
271
|
* Indicates that the input should receive focus on page load.
|
|
272
272
|
*/
|
|
273
|
-
autofocus?:
|
|
273
|
+
autofocus?: SynInput["autofocus"];
|
|
274
274
|
/**
|
|
275
275
|
* Used to customize the label or icon of the Enter key on virtual keyboards.
|
|
276
276
|
*/
|
|
277
|
-
enterkeyhint?: "
|
|
277
|
+
enterkeyhint?: SynInput["enterkeyhint"];
|
|
278
278
|
/**
|
|
279
279
|
* Enables spell checking on the input.
|
|
280
280
|
*/
|
|
281
|
-
spellcheck?:
|
|
281
|
+
spellcheck?: SynInput["spellcheck"];
|
|
282
282
|
/**
|
|
283
283
|
* Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
|
|
284
284
|
keyboard on supportive devices.
|
|
285
285
|
*/
|
|
286
|
-
inputmode?: "
|
|
286
|
+
inputmode?: SynInput["inputmode"];
|
|
287
287
|
/**
|
|
288
288
|
* Support for two way data binding
|
|
289
289
|
*/
|
|
290
|
-
modelValue?:
|
|
290
|
+
modelValue?: SynInput["value"];
|
|
291
291
|
}>>> & {
|
|
292
292
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
293
293
|
"onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/menu-item/menu-item.js';
|
|
2
2
|
import type { SynMenuItem } from '@synergy-design-system/components';
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
4
7
|
/**
|
|
5
8
|
* The type of menu item to render.
|
|
6
9
|
* To use `checked`, this value must be set to `checkbox`.
|
|
7
10
|
*/
|
|
8
|
-
type?: "
|
|
11
|
+
type?: SynMenuItem["type"];
|
|
9
12
|
/**
|
|
10
13
|
* Draws the item in a checked state.
|
|
11
14
|
*/
|
|
12
|
-
checked?:
|
|
15
|
+
checked?: SynMenuItem["checked"];
|
|
13
16
|
/**
|
|
14
17
|
* A unique value to store in the menu item.
|
|
15
18
|
* This can be used as a way to identify menu items when selected.
|
|
16
19
|
*/
|
|
17
|
-
value?:
|
|
20
|
+
value?: SynMenuItem["value"];
|
|
18
21
|
/**
|
|
19
22
|
* Draws the menu item in a loading state.
|
|
20
23
|
*/
|
|
21
|
-
loading?:
|
|
24
|
+
loading?: SynMenuItem["loading"];
|
|
22
25
|
/**
|
|
23
26
|
* Draws the menu item in a disabled state, preventing selection.
|
|
24
27
|
*/
|
|
25
|
-
disabled?:
|
|
28
|
+
disabled?: SynMenuItem["disabled"];
|
|
26
29
|
}>, {
|
|
27
30
|
nativeElement: import("vue").Ref<SynMenuItem | undefined>;
|
|
28
31
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
@@ -30,27 +33,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
33
|
* The type of menu item to render.
|
|
31
34
|
* To use `checked`, this value must be set to `checkbox`.
|
|
32
35
|
*/
|
|
33
|
-
type?: "
|
|
36
|
+
type?: SynMenuItem["type"];
|
|
34
37
|
/**
|
|
35
38
|
* Draws the item in a checked state.
|
|
36
39
|
*/
|
|
37
|
-
checked?:
|
|
40
|
+
checked?: SynMenuItem["checked"];
|
|
38
41
|
/**
|
|
39
42
|
* A unique value to store in the menu item.
|
|
40
43
|
* This can be used as a way to identify menu items when selected.
|
|
41
44
|
*/
|
|
42
|
-
value?:
|
|
45
|
+
value?: SynMenuItem["value"];
|
|
43
46
|
/**
|
|
44
47
|
* Draws the menu item in a loading state.
|
|
45
48
|
*/
|
|
46
|
-
loading?:
|
|
49
|
+
loading?: SynMenuItem["loading"];
|
|
47
50
|
/**
|
|
48
51
|
* Draws the menu item in a disabled state, preventing selection.
|
|
49
52
|
*/
|
|
50
|
-
disabled?:
|
|
51
|
-
}>>>, {}, {}
|
|
52
|
-
|
|
53
|
-
}>;
|
|
53
|
+
disabled?: SynMenuItem["disabled"];
|
|
54
|
+
}>>>, {}, {}>;
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
56
|
export default _default;
|
|
55
57
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
58
|
new (): {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/menu-label/menu-label.js';
|
|
2
2
|
import type { SynMenuLabel } from '@synergy-design-system/components';
|
|
3
|
-
declare
|
|
4
|
-
nativeElement: import("vue").Ref<SynMenuLabel | undefined>;
|
|
5
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
3
|
+
declare function __VLS_template(): {
|
|
6
4
|
default?(_: {}): any;
|
|
7
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
7
|
+
nativeElement: import("vue").Ref<SynMenuLabel | undefined>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
10
|
export default _default;
|
|
9
11
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
12
|
new (): {
|
|
@@ -12,31 +12,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
If the 'children' slot is provided, the navigation item will ignore the 'href' and use
|
|
13
13
|
accordion behavior.
|
|
14
14
|
*/
|
|
15
|
-
href?:
|
|
16
|
-
current?:
|
|
15
|
+
href?: SynNavItem["href"];
|
|
16
|
+
current?: SynNavItem["current"];
|
|
17
17
|
/**
|
|
18
18
|
* Disables the navigation item.
|
|
19
19
|
*/
|
|
20
|
-
disabled?:
|
|
20
|
+
disabled?: SynNavItem["disabled"];
|
|
21
21
|
/**
|
|
22
22
|
* The navigation item's orientation.
|
|
23
23
|
*/
|
|
24
|
-
horizontal?:
|
|
24
|
+
horizontal?: SynNavItem["horizontal"];
|
|
25
25
|
/**
|
|
26
26
|
* Appends a chevron to the right side of a navigation item.
|
|
27
27
|
Only used if `horizontal` is false.
|
|
28
28
|
*/
|
|
29
|
-
chevron?:
|
|
29
|
+
chevron?: SynNavItem["chevron"];
|
|
30
30
|
/**
|
|
31
31
|
* Reflects HTML details element state and allows control from parent.
|
|
32
32
|
Only used if `horizontal` is false and `children` is defined.
|
|
33
33
|
*/
|
|
34
|
-
open?:
|
|
34
|
+
open?: SynNavItem["open"];
|
|
35
35
|
/**
|
|
36
36
|
* Toggle to true to show a divider above the element.
|
|
37
37
|
Only available when horizontal is false.
|
|
38
38
|
*/
|
|
39
|
-
divider?:
|
|
39
|
+
divider?: SynNavItem["divider"];
|
|
40
40
|
}>, {
|
|
41
41
|
nativeElement: import("vue").Ref<SynNavItem | undefined>;
|
|
42
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -52,31 +52,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
52
52
|
If the 'children' slot is provided, the navigation item will ignore the 'href' and use
|
|
53
53
|
accordion behavior.
|
|
54
54
|
*/
|
|
55
|
-
href?:
|
|
56
|
-
current?:
|
|
55
|
+
href?: SynNavItem["href"];
|
|
56
|
+
current?: SynNavItem["current"];
|
|
57
57
|
/**
|
|
58
58
|
* Disables the navigation item.
|
|
59
59
|
*/
|
|
60
|
-
disabled?:
|
|
60
|
+
disabled?: SynNavItem["disabled"];
|
|
61
61
|
/**
|
|
62
62
|
* The navigation item's orientation.
|
|
63
63
|
*/
|
|
64
|
-
horizontal?:
|
|
64
|
+
horizontal?: SynNavItem["horizontal"];
|
|
65
65
|
/**
|
|
66
66
|
* Appends a chevron to the right side of a navigation item.
|
|
67
67
|
Only used if `horizontal` is false.
|
|
68
68
|
*/
|
|
69
|
-
chevron?:
|
|
69
|
+
chevron?: SynNavItem["chevron"];
|
|
70
70
|
/**
|
|
71
71
|
* Reflects HTML details element state and allows control from parent.
|
|
72
72
|
Only used if `horizontal` is false and `children` is defined.
|
|
73
73
|
*/
|
|
74
|
-
open?:
|
|
74
|
+
open?: SynNavItem["open"];
|
|
75
75
|
/**
|
|
76
76
|
* Toggle to true to show a divider above the element.
|
|
77
77
|
Only available when horizontal is false.
|
|
78
78
|
*/
|
|
79
|
-
divider?:
|
|
79
|
+
divider?: SynNavItem["divider"];
|
|
80
80
|
}>>> & {
|
|
81
81
|
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
82
82
|
"onSyn-hide"?: ((e: SynHideEvent) => any) | undefined;
|