@synergy-design-system/vue 2.7.2 → 2.8.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.
- 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/SynVueCombobox.vue.d.ts +232 -0
- 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/dist/index.d.ts +1 -0
- package/package.json +3 -3
- 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/SynVueCombobox.vue +295 -0
- 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
- package/src/index.js +1 -0
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import '@synergy-design-system/components/components/range/range.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 { SynFocusEvent } from '@synergy-design-system/components';
|
|
5
|
+
import type { SynInputEvent } from '@synergy-design-system/components';
|
|
6
|
+
import type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
7
|
+
import type { SynMoveEvent } from '@synergy-design-system/components';
|
|
8
|
+
import type { SynRange } from '@synergy-design-system/components';
|
|
3
9
|
export type { SynBlurEvent } from '@synergy-design-system/components';
|
|
4
10
|
export type { SynChangeEvent } from '@synergy-design-system/components';
|
|
5
11
|
export type { SynFocusEvent } from '@synergy-design-system/components';
|
|
@@ -8,47 +14,47 @@ export type { SynInvalidEvent } from '@synergy-design-system/components';
|
|
|
8
14
|
export type { SynMoveEvent } from '@synergy-design-system/components';
|
|
9
15
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
10
16
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
* The name of the range, submitted as a name/value pair with form data.
|
|
18
|
+
*/
|
|
13
19
|
name?: SynRange["name"];
|
|
14
20
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
* The range's label.
|
|
22
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
23
|
+
*/
|
|
18
24
|
label?: SynRange["label"];
|
|
19
25
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
* The range's help text.
|
|
27
|
+
* If you need to display HTML, use the help-text slot instead.
|
|
28
|
+
*/
|
|
23
29
|
helpText?: SynRange["helpText"];
|
|
24
30
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
* Disables the range.
|
|
32
|
+
*/
|
|
27
33
|
disabled?: SynRange["disabled"];
|
|
28
34
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
35
|
+
* The minimum acceptable value of the range.
|
|
36
|
+
*/
|
|
31
37
|
min?: SynRange["min"];
|
|
32
38
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
* The maximum acceptable value of the range.
|
|
40
|
+
*/
|
|
35
41
|
max?: SynRange["max"];
|
|
36
42
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
* The interval at which the range will increase and decrease.
|
|
44
|
+
*/
|
|
39
45
|
step?: SynRange["step"];
|
|
40
46
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
* The range's size.
|
|
48
|
+
*/
|
|
43
49
|
size?: SynRange["size"];
|
|
44
50
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
* The preferred placement of the range's tooltip.
|
|
52
|
+
* Use "none" to disable the tooltip
|
|
53
|
+
*/
|
|
48
54
|
tooltipPlacement?: SynRange["tooltipPlacement"];
|
|
49
55
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
* The current values of the input (in ascending order) as a string of space separated values
|
|
57
|
+
*/
|
|
52
58
|
value?: SynRange["value"];
|
|
53
59
|
/**
|
|
54
60
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -58,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
64
|
*/
|
|
59
65
|
form?: SynRange["form"];
|
|
60
66
|
/**
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
* Support for two way data binding
|
|
68
|
+
*/
|
|
63
69
|
modelValue?: SynRange["value"];
|
|
64
70
|
}>, {
|
|
65
71
|
nativeElement: import("vue").Ref<SynRange | undefined>;
|
|
@@ -73,47 +79,47 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
79
|
"syn-move": (e: SynMoveEvent) => void;
|
|
74
80
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
75
81
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
82
|
+
* The name of the range, submitted as a name/value pair with form data.
|
|
83
|
+
*/
|
|
78
84
|
name?: SynRange["name"];
|
|
79
85
|
/**
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
86
|
+
* The range's label.
|
|
87
|
+
* If you need to display HTML, use the `label` slot instead.
|
|
88
|
+
*/
|
|
83
89
|
label?: SynRange["label"];
|
|
84
90
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
91
|
+
* The range's help text.
|
|
92
|
+
* If you need to display HTML, use the help-text slot instead.
|
|
93
|
+
*/
|
|
88
94
|
helpText?: SynRange["helpText"];
|
|
89
95
|
/**
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
* Disables the range.
|
|
97
|
+
*/
|
|
92
98
|
disabled?: SynRange["disabled"];
|
|
93
99
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
* The minimum acceptable value of the range.
|
|
101
|
+
*/
|
|
96
102
|
min?: SynRange["min"];
|
|
97
103
|
/**
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
* The maximum acceptable value of the range.
|
|
105
|
+
*/
|
|
100
106
|
max?: SynRange["max"];
|
|
101
107
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
108
|
+
* The interval at which the range will increase and decrease.
|
|
109
|
+
*/
|
|
104
110
|
step?: SynRange["step"];
|
|
105
111
|
/**
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
* The range's size.
|
|
113
|
+
*/
|
|
108
114
|
size?: SynRange["size"];
|
|
109
115
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
* The preferred placement of the range's tooltip.
|
|
117
|
+
* Use "none" to disable the tooltip
|
|
118
|
+
*/
|
|
113
119
|
tooltipPlacement?: SynRange["tooltipPlacement"];
|
|
114
120
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
121
|
+
* The current values of the input (in ascending order) as a string of space separated values
|
|
122
|
+
*/
|
|
117
123
|
value?: SynRange["value"];
|
|
118
124
|
/**
|
|
119
125
|
* By default, form controls are associated with the nearest containing `<form>` element.
|
|
@@ -123,8 +129,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
123
129
|
*/
|
|
124
130
|
form?: SynRange["form"];
|
|
125
131
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
132
|
+
* Support for two way data binding
|
|
133
|
+
*/
|
|
128
134
|
modelValue?: SynRange["value"];
|
|
129
135
|
}>>> & {
|
|
130
136
|
"onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
|
|
@@ -5,15 +5,15 @@ declare function __VLS_template(): {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
* Whether the tick should be shown as a subdivision.
|
|
9
|
+
*/
|
|
10
10
|
subdivision?: SynRangeTick["subdivision"];
|
|
11
11
|
}>, {
|
|
12
12
|
nativeElement: import("vue").Ref<SynRangeTick | undefined>;
|
|
13
13
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* Whether the tick should be shown as a subdivision.
|
|
16
|
+
*/
|
|
17
17
|
subdivision?: SynRangeTick["subdivision"];
|
|
18
18
|
}>>>, {}, {}>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -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;
|