@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
@@ -6,19 +6,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  * The name of the tab panel this tab is associated with.
7
7
  * The panel must be located in the same tab group.
8
8
  */
9
- panel?: string | undefined;
9
+ panel?: SynTab["panel"];
10
10
  /**
11
11
  * Draws the tab in an active state.
12
12
  */
13
- active?: boolean | undefined;
13
+ active?: SynTab["active"];
14
14
  /**
15
15
  * Makes the tab closable and shows a close button.
16
16
  */
17
- closable?: boolean | undefined;
17
+ closable?: SynTab["closable"];
18
18
  /**
19
19
  * Disables the tab and prevents selection.
20
20
  */
21
- disabled?: boolean | undefined;
21
+ disabled?: SynTab["disabled"];
22
22
  }>, {
23
23
  nativeElement: import("vue").Ref<SynTab | undefined>;
24
24
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -28,19 +28,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
28
  * The name of the tab panel this tab is associated with.
29
29
  * The panel must be located in the same tab group.
30
30
  */
31
- panel?: string | undefined;
31
+ panel?: SynTab["panel"];
32
32
  /**
33
33
  * Draws the tab in an active state.
34
34
  */
35
- active?: boolean | undefined;
35
+ active?: SynTab["active"];
36
36
  /**
37
37
  * Makes the tab closable and shows a close button.
38
38
  */
39
- closable?: boolean | undefined;
39
+ closable?: SynTab["closable"];
40
40
  /**
41
41
  * Disables the tab and prevents selection.
42
42
  */
43
- disabled?: boolean | undefined;
43
+ disabled?: SynTab["disabled"];
44
44
  }>>> & {
45
45
  "onSyn-close"?: ((e: SynCloseEvent) => any) | undefined;
46
46
  }, {}, {}>, {
@@ -6,26 +6,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  /**
7
7
  * The placement of the tabs.
8
8
  */
9
- placement?: "top" | "end" | "start" | undefined;
9
+ placement?: SynTabGroup["placement"];
10
10
  /**
11
11
  * When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
12
12
  * When set to
13
13
  manual, the tab will receive focus but will not show until the user presses spacebar or enter.
14
14
  */
15
- activation?: "auto" | "manual" | undefined;
15
+ activation?: SynTabGroup["activation"];
16
16
  /**
17
17
  * Disables the scroll arrows that appear when tabs overflow.
18
18
  */
19
- noScrollControls?: boolean | undefined;
19
+ noScrollControls?: SynTabGroup["noScrollControls"];
20
20
  /**
21
21
  * Draws the tab group as a contained element.
22
22
  */
23
- contained?: boolean | undefined;
23
+ contained?: SynTabGroup["contained"];
24
24
  /**
25
25
  * Draws the tab group with edges instead of roundings.
26
26
  * Takes only effect if used with the 'contained' property
27
27
  */
28
- sharp?: boolean | undefined;
28
+ sharp?: SynTabGroup["sharp"];
29
29
  }>, {
30
30
  nativeElement: import("vue").Ref<SynTabGroup | undefined>;
31
31
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -35,26 +35,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
35
  /**
36
36
  * The placement of the tabs.
37
37
  */
38
- placement?: "top" | "end" | "start" | undefined;
38
+ placement?: SynTabGroup["placement"];
39
39
  /**
40
40
  * When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel.
41
41
  * When set to
42
42
  manual, the tab will receive focus but will not show until the user presses spacebar or enter.
43
43
  */
44
- activation?: "auto" | "manual" | undefined;
44
+ activation?: SynTabGroup["activation"];
45
45
  /**
46
46
  * Disables the scroll arrows that appear when tabs overflow.
47
47
  */
48
- noScrollControls?: boolean | undefined;
48
+ noScrollControls?: SynTabGroup["noScrollControls"];
49
49
  /**
50
50
  * Draws the tab group as a contained element.
51
51
  */
52
- contained?: boolean | undefined;
52
+ contained?: SynTabGroup["contained"];
53
53
  /**
54
54
  * Draws the tab group with edges instead of roundings.
55
55
  * Takes only effect if used with the 'contained' property
56
56
  */
57
- sharp?: boolean | undefined;
57
+ sharp?: SynTabGroup["sharp"];
58
58
  }>>> & {
59
59
  "onSyn-tab-show"?: ((e: SynTabShowEvent) => any) | undefined;
60
60
  "onSyn-tab-hide"?: ((e: SynTabHideEvent) => any) | undefined;
@@ -1,28 +1,30 @@
1
1
  import '@synergy-design-system/components/components/tab-panel/tab-panel.js';
2
2
  import type { SynTabPanel } from '@synergy-design-system/components';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
7
  /**
5
8
  * The tab panel's name.
6
9
  */
7
- name?: string | undefined;
10
+ name?: SynTabPanel["name"];
8
11
  /**
9
12
  * When true, the tab panel will be shown.
10
13
  */
11
- active?: boolean | undefined;
14
+ active?: SynTabPanel["active"];
12
15
  }>, {
13
16
  nativeElement: import("vue").Ref<SynTabPanel | undefined>;
14
17
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
15
18
  /**
16
19
  * The tab panel's name.
17
20
  */
18
- name?: string | undefined;
21
+ name?: SynTabPanel["name"];
19
22
  /**
20
23
  * When true, the tab panel will be shown.
21
24
  */
22
- active?: boolean | undefined;
23
- }>>>, {}, {}>, {
24
- default?(_: {}): any;
25
- }>;
25
+ active?: SynTabPanel["active"];
26
+ }>>>, {}, {}>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
28
  export default _default;
27
29
  type __VLS_WithTemplateSlots<T, S> = T & {
28
30
  new (): {
@@ -5,11 +5,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  /**
6
6
  * The tag's size.
7
7
  */
8
- size?: "medium" | "large" | "small" | undefined;
8
+ size?: SynTag["size"];
9
9
  /**
10
10
  * Makes the tag removable and shows a remove button.
11
11
  */
12
- removable?: boolean | undefined;
12
+ removable?: SynTag["removable"];
13
13
  }>, {
14
14
  nativeElement: import("vue").Ref<SynTag | undefined>;
15
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -18,11 +18,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
18
  /**
19
19
  * The tag's size.
20
20
  */
21
- size?: "medium" | "large" | "small" | undefined;
21
+ size?: SynTag["size"];
22
22
  /**
23
23
  * Makes the tag removable and shows a remove button.
24
24
  */
25
- removable?: boolean | undefined;
25
+ removable?: SynTag["removable"];
26
26
  }>>> & {
27
27
  "onSyn-remove"?: ((e: SynRemoveEvent) => any) | undefined;
28
28
  }, {}, {}>, {
@@ -6,49 +6,49 @@ export type { SynFocusEvent } from '@synergy-design-system/components';
6
6
  export type { SynInputEvent } from '@synergy-design-system/components';
7
7
  export type { SynInvalidEvent } from '@synergy-design-system/components';
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
9
- title?: string | undefined;
9
+ title?: SynTextarea["title"];
10
10
  /**
11
11
  * The name of the textarea, submitted as a name/value pair with form data.
12
12
  */
13
- name?: string | undefined;
13
+ name?: SynTextarea["name"];
14
14
  /**
15
15
  * The current value of the textarea, submitted as a name/value pair with form data.
16
16
  */
17
- value?: string | undefined;
17
+ value?: SynTextarea["value"];
18
18
  /**
19
19
  * The textarea's size.
20
20
  */
21
- size?: "medium" | "large" | "small" | undefined;
21
+ size?: SynTextarea["size"];
22
22
  /**
23
23
  * The textarea's label.
24
24
  * If you need to display HTML, use the `label` slot instead.
25
25
  */
26
- label?: string | undefined;
26
+ label?: SynTextarea["label"];
27
27
  /**
28
28
  * The textarea's help text.
29
29
  * If you need to display HTML, use the `help-text` slot instead.
30
30
  */
31
- helpText?: string | undefined;
31
+ helpText?: SynTextarea["helpText"];
32
32
  /**
33
33
  * Placeholder text to show as a hint when the input is empty.
34
34
  */
35
- placeholder?: string | undefined;
35
+ placeholder?: SynTextarea["placeholder"];
36
36
  /**
37
37
  * The number of rows to display by default.
38
38
  */
39
- rows?: number | undefined;
39
+ rows?: SynTextarea["rows"];
40
40
  /**
41
41
  * Controls how the textarea can be resized.
42
42
  */
43
- resize?: "vertical" | "none" | "auto" | undefined;
43
+ resize?: SynTextarea["resize"];
44
44
  /**
45
45
  * Disables the textarea.
46
46
  */
47
- disabled?: boolean | undefined;
47
+ disabled?: SynTextarea["disabled"];
48
48
  /**
49
49
  * Makes the textarea readonly.
50
50
  */
51
- readonly?: boolean | undefined;
51
+ readonly?: SynTextarea["readonly"];
52
52
  /**
53
53
  * By default, form controls are associated with the nearest containing `<form>` element.
54
54
  * This attribute allows you
@@ -56,54 +56,54 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
56
  * The form must be in
57
57
  the same document or shadow root for this to work.
58
58
  */
59
- form?: string | undefined;
59
+ form?: SynTextarea["form"];
60
60
  /**
61
61
  * Makes the textarea a required field.
62
62
  */
63
- required?: boolean | undefined;
63
+ required?: SynTextarea["required"];
64
64
  /**
65
65
  * The minimum length of input that will be considered valid.
66
66
  */
67
- minlength?: number | undefined;
67
+ minlength?: SynTextarea["minlength"];
68
68
  /**
69
69
  * The maximum length of input that will be considered valid.
70
70
  */
71
- maxlength?: number | undefined;
71
+ maxlength?: SynTextarea["maxlength"];
72
72
  /**
73
73
  * Controls whether and how text input is automatically capitalized as it is entered by the user.
74
74
  */
75
- autocapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined;
75
+ autocapitalize?: SynTextarea["autocapitalize"];
76
76
  /**
77
77
  * Indicates whether the browser's autocorrect feature is on or off.
78
78
  */
79
- autocorrect?: string | undefined;
79
+ autocorrect?: SynTextarea["autocorrect"];
80
80
  /**
81
81
  * Specifies what permission the browser has to provide assistance in filling out form field values.
82
82
  * Refer to
83
83
  [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
84
84
  */
85
- autocomplete?: string | undefined;
85
+ autocomplete?: SynTextarea["autocomplete"];
86
86
  /**
87
87
  * Indicates that the input should receive focus on page load.
88
88
  */
89
- autofocus?: boolean | undefined;
89
+ autofocus?: SynTextarea["autofocus"];
90
90
  /**
91
91
  * Used to customize the label or icon of the Enter key on virtual keyboards.
92
92
  */
93
- enterkeyhint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
93
+ enterkeyhint?: SynTextarea["enterkeyhint"];
94
94
  /**
95
95
  * Enables spell checking on the textarea.
96
96
  */
97
- spellcheck?: boolean | undefined;
97
+ spellcheck?: SynTextarea["spellcheck"];
98
98
  /**
99
99
  * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
100
100
  keyboard on supportive devices.
101
101
  */
102
- inputmode?: "search" | "text" | "email" | "tel" | "url" | "none" | "decimal" | "numeric" | undefined;
102
+ inputmode?: SynTextarea["inputmode"];
103
103
  /**
104
104
  * Support for two way data binding
105
105
  */
106
- modelValue?: string | undefined;
106
+ modelValue?: SynTextarea["value"];
107
107
  }>, {
108
108
  nativeElement: import("vue").Ref<SynTextarea | undefined>;
109
109
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -114,49 +114,49 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
114
114
  "syn-input": (e: SynInputEvent) => void;
115
115
  "update:modelValue": (newValue: string) => void;
116
116
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
117
- title?: string | undefined;
117
+ title?: SynTextarea["title"];
118
118
  /**
119
119
  * The name of the textarea, submitted as a name/value pair with form data.
120
120
  */
121
- name?: string | undefined;
121
+ name?: SynTextarea["name"];
122
122
  /**
123
123
  * The current value of the textarea, submitted as a name/value pair with form data.
124
124
  */
125
- value?: string | undefined;
125
+ value?: SynTextarea["value"];
126
126
  /**
127
127
  * The textarea's size.
128
128
  */
129
- size?: "medium" | "large" | "small" | undefined;
129
+ size?: SynTextarea["size"];
130
130
  /**
131
131
  * The textarea's label.
132
132
  * If you need to display HTML, use the `label` slot instead.
133
133
  */
134
- label?: string | undefined;
134
+ label?: SynTextarea["label"];
135
135
  /**
136
136
  * The textarea's help text.
137
137
  * If you need to display HTML, use the `help-text` slot instead.
138
138
  */
139
- helpText?: string | undefined;
139
+ helpText?: SynTextarea["helpText"];
140
140
  /**
141
141
  * Placeholder text to show as a hint when the input is empty.
142
142
  */
143
- placeholder?: string | undefined;
143
+ placeholder?: SynTextarea["placeholder"];
144
144
  /**
145
145
  * The number of rows to display by default.
146
146
  */
147
- rows?: number | undefined;
147
+ rows?: SynTextarea["rows"];
148
148
  /**
149
149
  * Controls how the textarea can be resized.
150
150
  */
151
- resize?: "vertical" | "none" | "auto" | undefined;
151
+ resize?: SynTextarea["resize"];
152
152
  /**
153
153
  * Disables the textarea.
154
154
  */
155
- disabled?: boolean | undefined;
155
+ disabled?: SynTextarea["disabled"];
156
156
  /**
157
157
  * Makes the textarea readonly.
158
158
  */
159
- readonly?: boolean | undefined;
159
+ readonly?: SynTextarea["readonly"];
160
160
  /**
161
161
  * By default, form controls are associated with the nearest containing `<form>` element.
162
162
  * This attribute allows you
@@ -164,54 +164,54 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
164
164
  * The form must be in
165
165
  the same document or shadow root for this to work.
166
166
  */
167
- form?: string | undefined;
167
+ form?: SynTextarea["form"];
168
168
  /**
169
169
  * Makes the textarea a required field.
170
170
  */
171
- required?: boolean | undefined;
171
+ required?: SynTextarea["required"];
172
172
  /**
173
173
  * The minimum length of input that will be considered valid.
174
174
  */
175
- minlength?: number | undefined;
175
+ minlength?: SynTextarea["minlength"];
176
176
  /**
177
177
  * The maximum length of input that will be considered valid.
178
178
  */
179
- maxlength?: number | undefined;
179
+ maxlength?: SynTextarea["maxlength"];
180
180
  /**
181
181
  * Controls whether and how text input is automatically capitalized as it is entered by the user.
182
182
  */
183
- autocapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined;
183
+ autocapitalize?: SynTextarea["autocapitalize"];
184
184
  /**
185
185
  * Indicates whether the browser's autocorrect feature is on or off.
186
186
  */
187
- autocorrect?: string | undefined;
187
+ autocorrect?: SynTextarea["autocorrect"];
188
188
  /**
189
189
  * Specifies what permission the browser has to provide assistance in filling out form field values.
190
190
  * Refer to
191
191
  [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
192
192
  */
193
- autocomplete?: string | undefined;
193
+ autocomplete?: SynTextarea["autocomplete"];
194
194
  /**
195
195
  * Indicates that the input should receive focus on page load.
196
196
  */
197
- autofocus?: boolean | undefined;
197
+ autofocus?: SynTextarea["autofocus"];
198
198
  /**
199
199
  * Used to customize the label or icon of the Enter key on virtual keyboards.
200
200
  */
201
- enterkeyhint?: "done" | "search" | "enter" | "go" | "next" | "previous" | "send" | undefined;
201
+ enterkeyhint?: SynTextarea["enterkeyhint"];
202
202
  /**
203
203
  * Enables spell checking on the textarea.
204
204
  */
205
- spellcheck?: boolean | undefined;
205
+ spellcheck?: SynTextarea["spellcheck"];
206
206
  /**
207
207
  * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
208
208
  keyboard on supportive devices.
209
209
  */
210
- inputmode?: "search" | "text" | "email" | "tel" | "url" | "none" | "decimal" | "numeric" | undefined;
210
+ inputmode?: SynTextarea["inputmode"];
211
211
  /**
212
212
  * Support for two way data binding
213
213
  */
214
- modelValue?: string | undefined;
214
+ modelValue?: SynTextarea["value"];
215
215
  }>>> & {
216
216
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
217
217
  "onSyn-focus"?: ((e: SynFocusEvent) => any) | undefined;
@@ -9,30 +9,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  * The tooltip's content.
10
10
  * If you need to display HTML, use the `content` slot instead.
11
11
  */
12
- content?: string | undefined;
12
+ content?: SynTooltip["content"];
13
13
  /**
14
14
  * The preferred placement of the tooltip.
15
15
  * Note that the actual placement may vary as needed to keep the tooltip
16
16
  inside of the viewport.
17
17
  */
18
- placement?: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end" | undefined;
18
+ placement?: SynTooltip["placement"];
19
19
  /**
20
20
  * Disables the tooltip so it won't show when triggered.
21
21
  */
22
- disabled?: boolean | undefined;
22
+ disabled?: SynTooltip["disabled"];
23
23
  /**
24
24
  * The distance in pixels from which to offset the tooltip away from its target.
25
25
  */
26
- distance?: number | undefined;
26
+ distance?: SynTooltip["distance"];
27
27
  /**
28
28
  * Indicates whether or not the tooltip is open.
29
29
  * You can use this in lieu of the show/hide methods.
30
30
  */
31
- open?: boolean | undefined;
31
+ open?: SynTooltip["open"];
32
32
  /**
33
33
  * The distance in pixels from which to offset the tooltip along its target.
34
34
  */
35
- skidding?: number | undefined;
35
+ skidding?: SynTooltip["skidding"];
36
36
  /**
37
37
  * Controls how the tooltip is activated.
38
38
  * Possible options include `click`, `hover`, `focus`, and `manual`.
@@ -41,14 +41,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
41
41
  * When manual is used, the tooltip must be activated
42
42
  programmatically.
43
43
  */
44
- trigger?: string | undefined;
44
+ trigger?: SynTooltip["trigger"];
45
45
  /**
46
46
  * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
47
47
  `overflow: auto|hidden|scroll`.
48
48
  * Hoisting uses a fixed positioning strategy that works in many, but not all,
49
49
  scenarios.
50
50
  */
51
- hoist?: boolean | undefined;
51
+ hoist?: SynTooltip["hoist"];
52
52
  }>, {
53
53
  nativeElement: import("vue").Ref<SynTooltip | undefined>;
54
54
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -61,30 +61,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
61
  * The tooltip's content.
62
62
  * If you need to display HTML, use the `content` slot instead.
63
63
  */
64
- content?: string | undefined;
64
+ content?: SynTooltip["content"];
65
65
  /**
66
66
  * The preferred placement of the tooltip.
67
67
  * Note that the actual placement may vary as needed to keep the tooltip
68
68
  inside of the viewport.
69
69
  */
70
- placement?: "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end" | undefined;
70
+ placement?: SynTooltip["placement"];
71
71
  /**
72
72
  * Disables the tooltip so it won't show when triggered.
73
73
  */
74
- disabled?: boolean | undefined;
74
+ disabled?: SynTooltip["disabled"];
75
75
  /**
76
76
  * The distance in pixels from which to offset the tooltip away from its target.
77
77
  */
78
- distance?: number | undefined;
78
+ distance?: SynTooltip["distance"];
79
79
  /**
80
80
  * Indicates whether or not the tooltip is open.
81
81
  * You can use this in lieu of the show/hide methods.
82
82
  */
83
- open?: boolean | undefined;
83
+ open?: SynTooltip["open"];
84
84
  /**
85
85
  * The distance in pixels from which to offset the tooltip along its target.
86
86
  */
87
- skidding?: number | undefined;
87
+ skidding?: SynTooltip["skidding"];
88
88
  /**
89
89
  * Controls how the tooltip is activated.
90
90
  * Possible options include `click`, `hover`, `focus`, and `manual`.
@@ -93,14 +93,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
93
93
  * When manual is used, the tooltip must be activated
94
94
  programmatically.
95
95
  */
96
- trigger?: string | undefined;
96
+ trigger?: SynTooltip["trigger"];
97
97
  /**
98
98
  * Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with
99
99
  `overflow: auto|hidden|scroll`.
100
100
  * Hoisting uses a fixed positioning strategy that works in many, but not all,
101
101
  scenarios.
102
102
  */
103
- hoist?: boolean | undefined;
103
+ hoist?: SynTooltip["hoist"];
104
104
  }>>> & {
105
105
  "onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
106
106
  "onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://www.sick.com"
5
5
  },
6
6
  "dependencies": {
7
- "@synergy-design-system/components": "^2.6.0"
7
+ "@synergy-design-system/components": "^2.7.1"
8
8
  },
9
9
  "description": "Vue3 wrappers for the Synergy Design System",
10
10
  "exports": {
@@ -40,12 +40,12 @@
40
40
  "directory": "packages/vue"
41
41
  },
42
42
  "type": "module",
43
- "version": "2.6.0",
43
+ "version": "2.7.1",
44
44
  "devDependencies": {
45
45
  "@vue/tsconfig": "^0.5.1",
46
- "vue": "^3.4.24"
46
+ "vue": "^3.4.38"
47
47
  },
48
48
  "peerDependencies": {
49
- "@synergy-design-system/tokens": "^2.7.0"
49
+ "@synergy-design-system/tokens": "^2.9.0"
50
50
  }
51
51
  }
@@ -21,7 +21,8 @@
21
21
  * @event syn-hide - Emitted when the dropdown closes.
22
22
  * @event syn-after-hide - Emitted after the dropdown closes and all animations are complete.
23
23
  *
24
- * @csspart base - The component's base wrapper.
24
+ * @csspart base - The component's base wrapper, an `<syn-popup>` element.
25
+ * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.
25
26
  * @csspart trigger - The container that wraps the trigger.
26
27
  * @csspart panel - The panel that gets shown when the dropdown is open.
27
28
  *
@@ -18,6 +18,7 @@
18
18
  * @slot - The listbox options. Must be `<syn-option>` elements. You can use `<syn-divider>` to group items visually.
19
19
  * @slot label - The input's label. Alternatively, you can use the `label` attribute.
20
20
  * @slot prefix - Used to prepend a presentational icon or similar element to the combobox.
21
+ * @slot suffix - Used to append a presentational icon or similar element to the combobox.
21
22
  * @slot clear-icon - An icon to use in lieu of the default clear icon.
22
23
  * @slot expand-icon - The icon to show when the control is expanded and collapsed. Rotates on open and close.
23
24
  * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
@@ -37,8 +38,9 @@
37
38
  * @csspart form-control-label - The label's wrapper.
38
39
  * @csspart form-control-input - The select's wrapper.
39
40
  * @csspart form-control-help-text - The help text's wrapper.
40
- * @csspart combobox - The container the wraps the prefix, combobox, clear icon, and expand button.
41
+ * @csspart combobox - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.
41
42
  * @csspart prefix - The container that wraps the prefix slot.
43
+ * @csspart suffix - The container that wraps the suffix slot.
42
44
  * @csspart display-input - The element that displays the selected option's label, an `<input>` element.
43
45
  * @csspart listbox - The listbox container where options are slotted.
44
46
  * @csspart tags - The container that houses option tags when `multiselect` is used.