@synergy-design-system/vue 2.7.1 → 2.7.3
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 -12
- package/dist/components/SynVueAlert.vue.d.ts +13 -9
- package/dist/components/SynVueBadge.vue.d.ts +4 -4
- package/dist/components/SynVueBreadcrumbItem.vue.d.ts +12 -12
- package/dist/components/SynVueButton.vue.d.ts +62 -59
- package/dist/components/SynVueCard.vue.d.ts +8 -8
- package/dist/components/SynVueCheckbox.vue.d.ts +40 -35
- package/dist/components/SynVueDetails.vue.d.ts +23 -19
- package/dist/components/SynVueDialog.vue.d.ts +7 -1
- package/dist/components/SynVueDivider.vue.d.ts +4 -4
- package/dist/components/SynVueDrawer.vue.d.ts +11 -5
- package/dist/components/SynVueDropdown.vue.d.ts +21 -17
- package/dist/components/SynVueFile.vue.d.ts +40 -35
- package/dist/components/SynVueHeader.vue.d.ts +10 -7
- package/dist/components/SynVueIcon.vue.d.ts +13 -11
- package/dist/components/SynVueIconButton.vue.d.ts +37 -35
- package/dist/components/SynVueInput.vue.d.ts +115 -109
- package/dist/components/SynVueMenu.vue.d.ts +2 -1
- package/dist/components/SynVueMenuItem.vue.d.ts +24 -24
- package/dist/components/SynVueNavItem.vue.d.ts +13 -9
- package/dist/components/SynVueOptgroup.vue.d.ts +10 -10
- package/dist/components/SynVueOption.vue.d.ts +4 -4
- package/dist/components/SynVuePopup.vue.d.ts +34 -33
- package/dist/components/SynVueProgressBar.vue.d.ts +12 -12
- package/dist/components/SynVueProgressRing.vue.d.ts +8 -8
- package/dist/components/SynVueRadio.vue.d.ts +13 -11
- package/dist/components/SynVueRadioButton.vue.d.ts +17 -15
- package/dist/components/SynVueRadioGroup.vue.d.ts +32 -29
- package/dist/components/SynVueRange.vue.d.ts +57 -51
- package/dist/components/SynVueRangeTick.vue.d.ts +4 -4
- package/dist/components/SynVueSelect.vue.d.ts +55 -45
- package/dist/components/SynVueSideNav.vue.d.ts +5 -1
- package/dist/components/SynVueSwitch.vue.d.ts +40 -35
- package/dist/components/SynVueTab.vue.d.ts +20 -19
- package/dist/components/SynVueTabGroup.vue.d.ts +21 -19
- package/dist/components/SynVueTabPanel.vue.d.ts +8 -8
- package/dist/components/SynVueTag.vue.d.ts +10 -9
- package/dist/components/SynVueTextarea.vue.d.ts +86 -81
- package/dist/components/SynVueTooltip.vue.d.ts +29 -25
- package/package.json +2 -2
- package/src/components/SynVueAccordion.vue +16 -21
- package/src/components/SynVueAlert.vue +29 -29
- package/src/components/SynVueBadge.vue +10 -15
- package/src/components/SynVueBreadcrumb.vue +8 -13
- package/src/components/SynVueBreadcrumbItem.vue +16 -21
- package/src/components/SynVueButton.vue +66 -67
- package/src/components/SynVueButtonGroup.vue +8 -13
- package/src/components/SynVueCard.vue +12 -17
- package/src/components/SynVueCheckbox.vue +64 -53
- package/src/components/SynVueDetails.vue +35 -35
- package/src/components/SynVueDialog.vue +33 -31
- package/src/components/SynVueDivider.vue +9 -14
- package/src/components/SynVueDrawer.vue +37 -35
- package/src/components/SynVueDropdown.vue +37 -37
- package/src/components/SynVueFile.vue +69 -58
- package/src/components/SynVueHeader.vue +23 -24
- package/src/components/SynVueIcon.vue +26 -25
- package/src/components/SynVueIconButton.vue +42 -41
- package/src/components/SynVueInput.vue +123 -111
- package/src/components/SynVueMenu.vue +6 -9
- package/src/components/SynVueMenuItem.vue +24 -29
- package/src/components/SynVueMenuLabel.vue +2 -6
- package/src/components/SynVueNavItem.vue +32 -32
- package/src/components/SynVueOptgroup.vue +14 -19
- package/src/components/SynVueOption.vue +11 -16
- package/src/components/SynVuePopup.vue +51 -52
- package/src/components/SynVuePrioNav.vue +2 -6
- package/src/components/SynVueProgressBar.vue +16 -21
- package/src/components/SynVueProgressRing.vue +13 -18
- package/src/components/SynVueRadio.vue +23 -23
- package/src/components/SynVueRadioButton.vue +26 -26
- package/src/components/SynVueRadioGroup.vue +52 -43
- package/src/components/SynVueRange.vue +77 -65
- package/src/components/SynVueRangeTick.vue +10 -15
- package/src/components/SynVueSelect.vue +90 -74
- package/src/components/SynVueSideNav.vue +24 -24
- package/src/components/SynVueSpinner.vue +1 -5
- package/src/components/SynVueSwitch.vue +63 -52
- package/src/components/SynVueTab.vue +25 -26
- package/src/components/SynVueTabGroup.vue +31 -31
- package/src/components/SynVueTabPanel.vue +13 -18
- package/src/components/SynVueTag.vue +18 -19
- package/src/components/SynVueTextarea.vue +99 -88
- package/src/components/SynVueTooltip.vue +41 -41
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/select/select.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SynChangeEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynClearEvent } from '@synergy-design-system/components';
|
|
4
|
+
import type { SynInputEvent } from '@synergy-design-system/components';
|
|
5
|
+
import type { SynFocusEvent } from '@synergy-design-system/components';
|
|
6
|
+
import type { SynBlurEvent } from '@synergy-design-system/components';
|
|
7
|
+
import type { SynShowEvent } from '@synergy-design-system/components';
|
|
8
|
+
import type { SynAfterShowEvent } from '@synergy-design-system/components';
|
|
9
|
+
import type { SynHideEvent } from '@synergy-design-system/components';
|
|
10
|
+
import type { SynAfterHideEvent } from '@synergy-design-system/components';
|
|
11
|
+
import type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
12
|
+
import type { SynSelect } from '@synergy-design-system/components';
|
|
3
13
|
export type { SynChangeEvent } from '@synergy-design-system/components';
|
|
4
14
|
export type { SynClearEvent } from '@synergy-design-system/components';
|
|
5
15
|
export type { SynInputEvent } from '@synergy-design-system/components';
|
|
@@ -12,8 +22,8 @@ export type { SynAfterHideEvent } from '@synergy-design-system/components';
|
|
|
12
22
|
export type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
13
23
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
14
24
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
* The name of the select, submitted as a name/value pair with form data.
|
|
26
|
+
*/
|
|
17
27
|
name?: SynSelect["name"];
|
|
18
28
|
/**
|
|
19
29
|
* The current value of the select, submitted as a name/value pair with form data.
|
|
@@ -24,16 +34,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
34
|
*/
|
|
25
35
|
value?: SynSelect["value"];
|
|
26
36
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
37
|
+
* The select's size.
|
|
38
|
+
*/
|
|
29
39
|
size?: SynSelect["size"];
|
|
30
40
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
* Placeholder text to show as a hint when the select is empty.
|
|
42
|
+
*/
|
|
33
43
|
placeholder?: SynSelect["placeholder"];
|
|
34
44
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
45
|
+
* Allows more than one option to be selected.
|
|
46
|
+
*/
|
|
37
47
|
multiple?: SynSelect["multiple"];
|
|
38
48
|
/**
|
|
39
49
|
* The maximum number of selected options to show when `multiple` is true.
|
|
@@ -43,12 +53,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
53
|
*/
|
|
44
54
|
maxOptionsVisible?: SynSelect["maxOptionsVisible"];
|
|
45
55
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
56
|
+
* Disables the select control.
|
|
57
|
+
*/
|
|
48
58
|
disabled?: SynSelect["disabled"];
|
|
49
59
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
60
|
+
* Adds a clear button when the select is not empty.
|
|
61
|
+
*/
|
|
52
62
|
clearable?: SynSelect["clearable"];
|
|
53
63
|
/**
|
|
54
64
|
* Indicates whether or not the select is open.
|
|
@@ -63,9 +73,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
63
73
|
*/
|
|
64
74
|
hoist?: SynSelect["hoist"];
|
|
65
75
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
76
|
+
* The select's label.
|
|
77
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
78
|
+
*/
|
|
69
79
|
label?: SynSelect["label"];
|
|
70
80
|
/**
|
|
71
81
|
* The preferred placement of the select's menu.
|
|
@@ -74,9 +84,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
84
|
*/
|
|
75
85
|
placement?: SynSelect["placement"];
|
|
76
86
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
* The select's help text.
|
|
88
|
+
* If you need to display HTML, use the `help-text` slot instead.
|
|
89
|
+
*/
|
|
80
90
|
helpText?: SynSelect["helpText"];
|
|
81
91
|
/**
|
|
82
92
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -87,8 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
97
|
*/
|
|
88
98
|
form?: SynSelect["form"];
|
|
89
99
|
/**
|
|
90
|
-
|
|
91
|
-
|
|
100
|
+
* The select's required attribute.
|
|
101
|
+
*/
|
|
92
102
|
required?: SynSelect["required"];
|
|
93
103
|
/**
|
|
94
104
|
* A function that customizes the tags to be rendered when multiple=true.
|
|
@@ -99,8 +109,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
109
|
*/
|
|
100
110
|
getTag?: SynSelect["getTag"];
|
|
101
111
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
112
|
+
* Support for two way data binding
|
|
113
|
+
*/
|
|
104
114
|
modelValue?: SynSelect["value"];
|
|
105
115
|
}>, {
|
|
106
116
|
nativeElement: import("vue").Ref<SynSelect | undefined>;
|
|
@@ -118,8 +128,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
128
|
"syn-clear": (e: SynClearEvent) => void;
|
|
119
129
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
120
130
|
/**
|
|
121
|
-
|
|
122
|
-
|
|
131
|
+
* The name of the select, submitted as a name/value pair with form data.
|
|
132
|
+
*/
|
|
123
133
|
name?: SynSelect["name"];
|
|
124
134
|
/**
|
|
125
135
|
* The current value of the select, submitted as a name/value pair with form data.
|
|
@@ -130,16 +140,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
130
140
|
*/
|
|
131
141
|
value?: SynSelect["value"];
|
|
132
142
|
/**
|
|
133
|
-
|
|
134
|
-
|
|
143
|
+
* The select's size.
|
|
144
|
+
*/
|
|
135
145
|
size?: SynSelect["size"];
|
|
136
146
|
/**
|
|
137
|
-
|
|
138
|
-
|
|
147
|
+
* Placeholder text to show as a hint when the select is empty.
|
|
148
|
+
*/
|
|
139
149
|
placeholder?: SynSelect["placeholder"];
|
|
140
150
|
/**
|
|
141
|
-
|
|
142
|
-
|
|
151
|
+
* Allows more than one option to be selected.
|
|
152
|
+
*/
|
|
143
153
|
multiple?: SynSelect["multiple"];
|
|
144
154
|
/**
|
|
145
155
|
* The maximum number of selected options to show when `multiple` is true.
|
|
@@ -149,12 +159,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
149
159
|
*/
|
|
150
160
|
maxOptionsVisible?: SynSelect["maxOptionsVisible"];
|
|
151
161
|
/**
|
|
152
|
-
|
|
153
|
-
|
|
162
|
+
* Disables the select control.
|
|
163
|
+
*/
|
|
154
164
|
disabled?: SynSelect["disabled"];
|
|
155
165
|
/**
|
|
156
|
-
|
|
157
|
-
|
|
166
|
+
* Adds a clear button when the select is not empty.
|
|
167
|
+
*/
|
|
158
168
|
clearable?: SynSelect["clearable"];
|
|
159
169
|
/**
|
|
160
170
|
* Indicates whether or not the select is open.
|
|
@@ -169,9 +179,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
169
179
|
*/
|
|
170
180
|
hoist?: SynSelect["hoist"];
|
|
171
181
|
/**
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
182
|
+
* The select's label.
|
|
183
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
184
|
+
*/
|
|
175
185
|
label?: SynSelect["label"];
|
|
176
186
|
/**
|
|
177
187
|
* The preferred placement of the select's menu.
|
|
@@ -180,9 +190,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
180
190
|
*/
|
|
181
191
|
placement?: SynSelect["placement"];
|
|
182
192
|
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
193
|
+
* The select's help text.
|
|
194
|
+
* If you need to display HTML, use the `help-text` slot instead.
|
|
195
|
+
*/
|
|
186
196
|
helpText?: SynSelect["helpText"];
|
|
187
197
|
/**
|
|
188
198
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -193,8 +203,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
193
203
|
*/
|
|
194
204
|
form?: SynSelect["form"];
|
|
195
205
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
206
|
+
* The select's required attribute.
|
|
207
|
+
*/
|
|
198
208
|
required?: SynSelect["required"];
|
|
199
209
|
/**
|
|
200
210
|
* A function that customizes the tags to be rendered when multiple=true.
|
|
@@ -205,8 +215,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
205
215
|
*/
|
|
206
216
|
getTag?: SynSelect["getTag"];
|
|
207
217
|
/**
|
|
208
|
-
|
|
209
|
-
|
|
218
|
+
* Support for two way data binding
|
|
219
|
+
*/
|
|
210
220
|
modelValue?: SynSelect["value"];
|
|
211
221
|
}>>> & {
|
|
212
222
|
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/side-nav/side-nav.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SynShowEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynAfterShowEvent } from '@synergy-design-system/components';
|
|
4
|
+
import type { SynHideEvent } from '@synergy-design-system/components';
|
|
5
|
+
import type { SynAfterHideEvent } from '@synergy-design-system/components';
|
|
6
|
+
import type { SynSideNav } from '@synergy-design-system/components';
|
|
3
7
|
export type { SynShowEvent } from '@synergy-design-system/components';
|
|
4
8
|
export type { SynAfterShowEvent } from '@synergy-design-system/components';
|
|
5
9
|
export type { SynHideEvent } from '@synergy-design-system/components';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/switch/switch.js';
|
|
2
|
-
import type { SynBlurEvent
|
|
2
|
+
import type { SynBlurEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynChangeEvent } from '@synergy-design-system/components';
|
|
4
|
+
import type { SynInputEvent } from '@synergy-design-system/components';
|
|
5
|
+
import type { SynFocusEvent } from '@synergy-design-system/components';
|
|
6
|
+
import type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
7
|
+
import type { SynSwitch } from '@synergy-design-system/components';
|
|
3
8
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
4
9
|
export type { SynChangeEvent } from '@synergy-design-system/components';
|
|
5
10
|
export type { SynInputEvent } from '@synergy-design-system/components';
|
|
@@ -8,24 +13,24 @@ export type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
|
8
13
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
9
14
|
title?: SynSwitch["title"];
|
|
10
15
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
* The name of the switch, submitted as a name/value pair with form data.
|
|
17
|
+
*/
|
|
13
18
|
name?: SynSwitch["name"];
|
|
14
19
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
* The current value of the switch, submitted as a name/value pair with form data.
|
|
21
|
+
*/
|
|
17
22
|
value?: SynSwitch["value"];
|
|
18
23
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
* The switch's size.
|
|
25
|
+
*/
|
|
21
26
|
size?: SynSwitch["size"];
|
|
22
27
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
* Disables the switch.
|
|
29
|
+
*/
|
|
25
30
|
disabled?: SynSwitch["disabled"];
|
|
26
31
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
* Draws the switch in a checked state.
|
|
33
|
+
*/
|
|
29
34
|
checked?: SynSwitch["checked"];
|
|
30
35
|
/**
|
|
31
36
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -36,17 +41,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
41
|
*/
|
|
37
42
|
form?: SynSwitch["form"];
|
|
38
43
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
44
|
+
* Makes the switch a required field.
|
|
45
|
+
*/
|
|
41
46
|
required?: SynSwitch["required"];
|
|
42
47
|
/**
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
* The switch's help text.
|
|
49
|
+
* If you need to display HTML, use the `help-text` slot instead.
|
|
50
|
+
*/
|
|
46
51
|
helpText?: SynSwitch["helpText"];
|
|
47
52
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
* Support for two way data binding
|
|
54
|
+
*/
|
|
50
55
|
modelValue?: SynSwitch["checked"];
|
|
51
56
|
}>, {
|
|
52
57
|
nativeElement: import("vue").Ref<SynSwitch | undefined>;
|
|
@@ -60,24 +65,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
65
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
61
66
|
title?: SynSwitch["title"];
|
|
62
67
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
* The name of the switch, submitted as a name/value pair with form data.
|
|
69
|
+
*/
|
|
65
70
|
name?: SynSwitch["name"];
|
|
66
71
|
/**
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
* The current value of the switch, submitted as a name/value pair with form data.
|
|
73
|
+
*/
|
|
69
74
|
value?: SynSwitch["value"];
|
|
70
75
|
/**
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
* The switch's size.
|
|
77
|
+
*/
|
|
73
78
|
size?: SynSwitch["size"];
|
|
74
79
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
80
|
+
* Disables the switch.
|
|
81
|
+
*/
|
|
77
82
|
disabled?: SynSwitch["disabled"];
|
|
78
83
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
84
|
+
* Draws the switch in a checked state.
|
|
85
|
+
*/
|
|
81
86
|
checked?: SynSwitch["checked"];
|
|
82
87
|
/**
|
|
83
88
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -88,17 +93,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
88
93
|
*/
|
|
89
94
|
form?: SynSwitch["form"];
|
|
90
95
|
/**
|
|
91
|
-
|
|
92
|
-
|
|
96
|
+
* Makes the switch a required field.
|
|
97
|
+
*/
|
|
93
98
|
required?: SynSwitch["required"];
|
|
94
99
|
/**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
* The switch's help text.
|
|
101
|
+
* If you need to display HTML, use the `help-text` slot instead.
|
|
102
|
+
*/
|
|
98
103
|
helpText?: SynSwitch["helpText"];
|
|
99
104
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
105
|
+
* Support for two way data binding
|
|
106
|
+
*/
|
|
102
107
|
modelValue?: SynSwitch["checked"];
|
|
103
108
|
}>>> & {
|
|
104
109
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/tab/tab.js';
|
|
2
|
-
import type { SynCloseEvent
|
|
2
|
+
import type { SynCloseEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynTab } from '@synergy-design-system/components';
|
|
3
4
|
export type { SynCloseEvent } from '@synergy-design-system/components';
|
|
4
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
6
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
* The name of the tab panel this tab is associated with.
|
|
8
|
+
* The panel must be located in the same tab group.
|
|
9
|
+
*/
|
|
9
10
|
panel?: SynTab["panel"];
|
|
10
11
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
* Draws the tab in an active state.
|
|
13
|
+
*/
|
|
13
14
|
active?: SynTab["active"];
|
|
14
15
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
* Makes the tab closable and shows a close button.
|
|
17
|
+
*/
|
|
17
18
|
closable?: SynTab["closable"];
|
|
18
19
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
* Disables the tab and prevents selection.
|
|
21
|
+
*/
|
|
21
22
|
disabled?: SynTab["disabled"];
|
|
22
23
|
}>, {
|
|
23
24
|
nativeElement: import("vue").Ref<SynTab | undefined>;
|
|
@@ -25,21 +26,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
26
|
"syn-close": (e: SynCloseEvent) => void;
|
|
26
27
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
27
28
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
* The name of the tab panel this tab is associated with.
|
|
30
|
+
* The panel must be located in the same tab group.
|
|
31
|
+
*/
|
|
31
32
|
panel?: SynTab["panel"];
|
|
32
33
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
* Draws the tab in an active state.
|
|
35
|
+
*/
|
|
35
36
|
active?: SynTab["active"];
|
|
36
37
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
* Makes the tab closable and shows a close button.
|
|
39
|
+
*/
|
|
39
40
|
closable?: SynTab["closable"];
|
|
40
41
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
* Disables the tab and prevents selection.
|
|
43
|
+
*/
|
|
43
44
|
disabled?: SynTab["disabled"];
|
|
44
45
|
}>>> & {
|
|
45
46
|
"onSyn-close"?: ((e: SynCloseEvent) => any) | undefined;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/tab-group/tab-group.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SynTabShowEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynTabHideEvent } from '@synergy-design-system/components';
|
|
4
|
+
import type { SynTabGroup } from '@synergy-design-system/components';
|
|
3
5
|
export type { SynTabShowEvent } from '@synergy-design-system/components';
|
|
4
6
|
export type { SynTabHideEvent } from '@synergy-design-system/components';
|
|
5
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
6
8
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
* The placement of the tabs.
|
|
10
|
+
*/
|
|
9
11
|
placement?: SynTabGroup["placement"];
|
|
10
12
|
/**
|
|
11
13
|
* When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
|
|
@@ -14,17 +16,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
16
|
*/
|
|
15
17
|
activation?: SynTabGroup["activation"];
|
|
16
18
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
* Disables the scroll arrows that appear when tabs overflow.
|
|
20
|
+
*/
|
|
19
21
|
noScrollControls?: SynTabGroup["noScrollControls"];
|
|
20
22
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
* Draws the tab group as a contained element.
|
|
24
|
+
*/
|
|
23
25
|
contained?: SynTabGroup["contained"];
|
|
24
26
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
* Draws the tab group with edges instead of roundings.
|
|
28
|
+
* Takes only effect if used with the 'contained' property
|
|
29
|
+
*/
|
|
28
30
|
sharp?: SynTabGroup["sharp"];
|
|
29
31
|
}>, {
|
|
30
32
|
nativeElement: import("vue").Ref<SynTabGroup | undefined>;
|
|
@@ -33,8 +35,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
35
|
"syn-tab-hide": (e: SynTabHideEvent) => void;
|
|
34
36
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
35
37
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
* The placement of the tabs.
|
|
39
|
+
*/
|
|
38
40
|
placement?: SynTabGroup["placement"];
|
|
39
41
|
/**
|
|
40
42
|
* When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
|
|
@@ -43,17 +45,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
45
|
*/
|
|
44
46
|
activation?: SynTabGroup["activation"];
|
|
45
47
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
* Disables the scroll arrows that appear when tabs overflow.
|
|
49
|
+
*/
|
|
48
50
|
noScrollControls?: SynTabGroup["noScrollControls"];
|
|
49
51
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
* Draws the tab group as a contained element.
|
|
53
|
+
*/
|
|
52
54
|
contained?: SynTabGroup["contained"];
|
|
53
55
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
* Draws the tab group with edges instead of roundings.
|
|
57
|
+
* Takes only effect if used with the 'contained' property
|
|
58
|
+
*/
|
|
57
59
|
sharp?: SynTabGroup["sharp"];
|
|
58
60
|
}>>> & {
|
|
59
61
|
"onSyn-tab-show"?: ((e: SynTabShowEvent) => any) | undefined;
|
|
@@ -5,23 +5,23 @@ declare function __VLS_template(): {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
* The tab panel's name.
|
|
9
|
+
*/
|
|
10
10
|
name?: SynTabPanel["name"];
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
* When true, the tab panel will be shown.
|
|
13
|
+
*/
|
|
14
14
|
active?: SynTabPanel["active"];
|
|
15
15
|
}>, {
|
|
16
16
|
nativeElement: import("vue").Ref<SynTabPanel | undefined>;
|
|
17
17
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
* The tab panel's name.
|
|
20
|
+
*/
|
|
21
21
|
name?: SynTabPanel["name"];
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
* When true, the tab panel will be shown.
|
|
24
|
+
*/
|
|
25
25
|
active?: SynTabPanel["active"];
|
|
26
26
|
}>>>, {}, {}>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/tag/tag.js';
|
|
2
|
-
import type { SynRemoveEvent
|
|
2
|
+
import type { SynRemoveEvent } from '@synergy-design-system/components';
|
|
3
|
+
import type { SynTag } from '@synergy-design-system/components';
|
|
3
4
|
export type { SynRemoveEvent } from '@synergy-design-system/components';
|
|
4
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
6
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
* The tag's size.
|
|
8
|
+
*/
|
|
8
9
|
size?: SynTag["size"];
|
|
9
10
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
* Makes the tag removable and shows a remove button.
|
|
12
|
+
*/
|
|
12
13
|
removable?: SynTag["removable"];
|
|
13
14
|
}>, {
|
|
14
15
|
nativeElement: import("vue").Ref<SynTag | undefined>;
|
|
@@ -16,12 +17,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
17
|
"syn-remove": (e: SynRemoveEvent) => void;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
18
19
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
* The tag's size.
|
|
21
|
+
*/
|
|
21
22
|
size?: SynTag["size"];
|
|
22
23
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
* Makes the tag removable and shows a remove button.
|
|
25
|
+
*/
|
|
25
26
|
removable?: SynTag["removable"];
|
|
26
27
|
}>>> & {
|
|
27
28
|
"onSyn-remove"?: ((e: SynRemoveEvent) => any) | undefined;
|