@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.
Files changed (88) hide show
  1. package/dist/components/SynVueAccordion.vue.d.ts +12 -12
  2. package/dist/components/SynVueAlert.vue.d.ts +13 -9
  3. package/dist/components/SynVueBadge.vue.d.ts +4 -4
  4. package/dist/components/SynVueBreadcrumbItem.vue.d.ts +12 -12
  5. package/dist/components/SynVueButton.vue.d.ts +62 -59
  6. package/dist/components/SynVueCard.vue.d.ts +8 -8
  7. package/dist/components/SynVueCheckbox.vue.d.ts +40 -35
  8. package/dist/components/SynVueCombobox.vue.d.ts +232 -0
  9. package/dist/components/SynVueDetails.vue.d.ts +23 -19
  10. package/dist/components/SynVueDialog.vue.d.ts +7 -1
  11. package/dist/components/SynVueDivider.vue.d.ts +4 -4
  12. package/dist/components/SynVueDrawer.vue.d.ts +11 -5
  13. package/dist/components/SynVueDropdown.vue.d.ts +21 -17
  14. package/dist/components/SynVueFile.vue.d.ts +40 -35
  15. package/dist/components/SynVueHeader.vue.d.ts +10 -7
  16. package/dist/components/SynVueIcon.vue.d.ts +13 -11
  17. package/dist/components/SynVueIconButton.vue.d.ts +37 -35
  18. package/dist/components/SynVueInput.vue.d.ts +115 -109
  19. package/dist/components/SynVueMenu.vue.d.ts +2 -1
  20. package/dist/components/SynVueMenuItem.vue.d.ts +24 -24
  21. package/dist/components/SynVueNavItem.vue.d.ts +13 -9
  22. package/dist/components/SynVueOptgroup.vue.d.ts +10 -10
  23. package/dist/components/SynVueOption.vue.d.ts +4 -4
  24. package/dist/components/SynVuePopup.vue.d.ts +34 -33
  25. package/dist/components/SynVueProgressBar.vue.d.ts +12 -12
  26. package/dist/components/SynVueProgressRing.vue.d.ts +8 -8
  27. package/dist/components/SynVueRadio.vue.d.ts +13 -11
  28. package/dist/components/SynVueRadioButton.vue.d.ts +17 -15
  29. package/dist/components/SynVueRadioGroup.vue.d.ts +32 -29
  30. package/dist/components/SynVueRange.vue.d.ts +57 -51
  31. package/dist/components/SynVueRangeTick.vue.d.ts +4 -4
  32. package/dist/components/SynVueSelect.vue.d.ts +55 -45
  33. package/dist/components/SynVueSideNav.vue.d.ts +5 -1
  34. package/dist/components/SynVueSwitch.vue.d.ts +40 -35
  35. package/dist/components/SynVueTab.vue.d.ts +20 -19
  36. package/dist/components/SynVueTabGroup.vue.d.ts +21 -19
  37. package/dist/components/SynVueTabPanel.vue.d.ts +8 -8
  38. package/dist/components/SynVueTag.vue.d.ts +10 -9
  39. package/dist/components/SynVueTextarea.vue.d.ts +86 -81
  40. package/dist/components/SynVueTooltip.vue.d.ts +29 -25
  41. package/dist/index.d.ts +1 -0
  42. package/package.json +3 -3
  43. package/src/components/SynVueAccordion.vue +16 -21
  44. package/src/components/SynVueAlert.vue +29 -29
  45. package/src/components/SynVueBadge.vue +10 -15
  46. package/src/components/SynVueBreadcrumb.vue +8 -13
  47. package/src/components/SynVueBreadcrumbItem.vue +16 -21
  48. package/src/components/SynVueButton.vue +66 -67
  49. package/src/components/SynVueButtonGroup.vue +8 -13
  50. package/src/components/SynVueCard.vue +12 -17
  51. package/src/components/SynVueCheckbox.vue +64 -53
  52. package/src/components/SynVueCombobox.vue +295 -0
  53. package/src/components/SynVueDetails.vue +35 -35
  54. package/src/components/SynVueDialog.vue +33 -31
  55. package/src/components/SynVueDivider.vue +9 -14
  56. package/src/components/SynVueDrawer.vue +37 -35
  57. package/src/components/SynVueDropdown.vue +37 -37
  58. package/src/components/SynVueFile.vue +69 -58
  59. package/src/components/SynVueHeader.vue +23 -24
  60. package/src/components/SynVueIcon.vue +26 -25
  61. package/src/components/SynVueIconButton.vue +42 -41
  62. package/src/components/SynVueInput.vue +123 -111
  63. package/src/components/SynVueMenu.vue +6 -9
  64. package/src/components/SynVueMenuItem.vue +24 -29
  65. package/src/components/SynVueMenuLabel.vue +2 -6
  66. package/src/components/SynVueNavItem.vue +32 -32
  67. package/src/components/SynVueOptgroup.vue +14 -19
  68. package/src/components/SynVueOption.vue +11 -16
  69. package/src/components/SynVuePopup.vue +51 -52
  70. package/src/components/SynVuePrioNav.vue +2 -6
  71. package/src/components/SynVueProgressBar.vue +16 -21
  72. package/src/components/SynVueProgressRing.vue +13 -18
  73. package/src/components/SynVueRadio.vue +23 -23
  74. package/src/components/SynVueRadioButton.vue +26 -26
  75. package/src/components/SynVueRadioGroup.vue +52 -43
  76. package/src/components/SynVueRange.vue +77 -65
  77. package/src/components/SynVueRangeTick.vue +10 -15
  78. package/src/components/SynVueSelect.vue +90 -74
  79. package/src/components/SynVueSideNav.vue +24 -24
  80. package/src/components/SynVueSpinner.vue +1 -5
  81. package/src/components/SynVueSwitch.vue +63 -52
  82. package/src/components/SynVueTab.vue +25 -26
  83. package/src/components/SynVueTabGroup.vue +31 -31
  84. package/src/components/SynVueTabPanel.vue +13 -18
  85. package/src/components/SynVueTag.vue +18 -19
  86. package/src/components/SynVueTextarea.vue +99 -88
  87. package/src/components/SynVueTooltip.vue +41 -41
  88. package/src/index.js +1 -0
@@ -1,11 +1,13 @@
1
1
  import '@synergy-design-system/components/components/tab-group/tab-group.js';
2
- import type { SynTabGroup, SynTabHideEvent, SynTabShowEvent } from '@synergy-design-system/components';
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
- * The placement of the tabs.
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
- * Disables the scroll arrows that appear when tabs overflow.
18
- */
19
+ * Disables the scroll arrows that appear when tabs overflow.
20
+ */
19
21
  noScrollControls?: SynTabGroup["noScrollControls"];
20
22
  /**
21
- * Draws the tab group as a contained element.
22
- */
23
+ * Draws the tab group as a contained element.
24
+ */
23
25
  contained?: SynTabGroup["contained"];
24
26
  /**
25
- * Draws the tab group with edges instead of roundings.
26
- * Takes only effect if used with the 'contained' property
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
- * The placement of the tabs.
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
- * Disables the scroll arrows that appear when tabs overflow.
47
- */
48
+ * Disables the scroll arrows that appear when tabs overflow.
49
+ */
48
50
  noScrollControls?: SynTabGroup["noScrollControls"];
49
51
  /**
50
- * Draws the tab group as a contained element.
51
- */
52
+ * Draws the tab group as a contained element.
53
+ */
52
54
  contained?: SynTabGroup["contained"];
53
55
  /**
54
- * Draws the tab group with edges instead of roundings.
55
- * Takes only effect if used with the 'contained' property
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
- * The tab panel's name.
9
- */
8
+ * The tab panel's name.
9
+ */
10
10
  name?: SynTabPanel["name"];
11
11
  /**
12
- * When true, the tab panel will be shown.
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
- * The tab panel's name.
20
- */
19
+ * The tab panel's name.
20
+ */
21
21
  name?: SynTabPanel["name"];
22
22
  /**
23
- * When true, the tab panel will be shown.
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, SynTag } from '@synergy-design-system/components';
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
- * The tag's size.
7
- */
7
+ * The tag's size.
8
+ */
8
9
  size?: SynTag["size"];
9
10
  /**
10
- * Makes the tag removable and shows a remove button.
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
- * The tag's size.
20
- */
20
+ * The tag's size.
21
+ */
21
22
  size?: SynTag["size"];
22
23
  /**
23
- * Makes the tag removable and shows a remove button.
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;
@@ -1,5 +1,10 @@
1
1
  import '@synergy-design-system/components/components/textarea/textarea.js';
2
- import type { SynBlurEvent, SynChangeEvent, SynFocusEvent, SynInputEvent, SynInvalidEvent, SynTextarea } from '@synergy-design-system/components';
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 { SynTextarea } 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 { SynFocusEvent } from '@synergy-design-system/components';
@@ -8,46 +13,46 @@ export type { SynInvalidEvent } from '@synergy-design-system/components';
8
13
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
9
14
  title?: SynTextarea["title"];
10
15
  /**
11
- * The name of the textarea, submitted as a name/value pair with form data.
12
- */
16
+ * The name of the textarea, submitted as a name/value pair with form data.
17
+ */
13
18
  name?: SynTextarea["name"];
14
19
  /**
15
- * The current value of the textarea, submitted as a name/value pair with form data.
16
- */
20
+ * The current value of the textarea, submitted as a name/value pair with form data.
21
+ */
17
22
  value?: SynTextarea["value"];
18
23
  /**
19
- * The textarea's size.
20
- */
24
+ * The textarea's size.
25
+ */
21
26
  size?: SynTextarea["size"];
22
27
  /**
23
- * The textarea's label.
24
- * If you need to display HTML, use the `label` slot instead.
25
- */
28
+ * The textarea's label.
29
+ * If you need to display HTML, use the `label` slot instead.
30
+ */
26
31
  label?: SynTextarea["label"];
27
32
  /**
28
- * The textarea's help text.
29
- * If you need to display HTML, use the `help-text` slot instead.
30
- */
33
+ * The textarea's help text.
34
+ * If you need to display HTML, use the `help-text` slot instead.
35
+ */
31
36
  helpText?: SynTextarea["helpText"];
32
37
  /**
33
- * Placeholder text to show as a hint when the input is empty.
34
- */
38
+ * Placeholder text to show as a hint when the input is empty.
39
+ */
35
40
  placeholder?: SynTextarea["placeholder"];
36
41
  /**
37
- * The number of rows to display by default.
38
- */
42
+ * The number of rows to display by default.
43
+ */
39
44
  rows?: SynTextarea["rows"];
40
45
  /**
41
- * Controls how the textarea can be resized.
42
- */
46
+ * Controls how the textarea can be resized.
47
+ */
43
48
  resize?: SynTextarea["resize"];
44
49
  /**
45
- * Disables the textarea.
46
- */
50
+ * Disables the textarea.
51
+ */
47
52
  disabled?: SynTextarea["disabled"];
48
53
  /**
49
- * Makes the textarea readonly.
50
- */
54
+ * Makes the textarea readonly.
55
+ */
51
56
  readonly?: SynTextarea["readonly"];
52
57
  /**
53
58
  * By default, form controls are associated with the nearest containing `<form>` element.
@@ -58,24 +63,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
63
  */
59
64
  form?: SynTextarea["form"];
60
65
  /**
61
- * Makes the textarea a required field.
62
- */
66
+ * Makes the textarea a required field.
67
+ */
63
68
  required?: SynTextarea["required"];
64
69
  /**
65
- * The minimum length of input that will be considered valid.
66
- */
70
+ * The minimum length of input that will be considered valid.
71
+ */
67
72
  minlength?: SynTextarea["minlength"];
68
73
  /**
69
- * The maximum length of input that will be considered valid.
70
- */
74
+ * The maximum length of input that will be considered valid.
75
+ */
71
76
  maxlength?: SynTextarea["maxlength"];
72
77
  /**
73
- * Controls whether and how text input is automatically capitalized as it is entered by the user.
74
- */
78
+ * Controls whether and how text input is automatically capitalized as it is entered by the user.
79
+ */
75
80
  autocapitalize?: SynTextarea["autocapitalize"];
76
81
  /**
77
- * Indicates whether the browser's autocorrect feature is on or off.
78
- */
82
+ * Indicates whether the browser's autocorrect feature is on or off.
83
+ */
79
84
  autocorrect?: SynTextarea["autocorrect"];
80
85
  /**
81
86
  * Specifies what permission the browser has to provide assistance in filling out form field values.
@@ -84,16 +89,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
84
89
  */
85
90
  autocomplete?: SynTextarea["autocomplete"];
86
91
  /**
87
- * Indicates that the input should receive focus on page load.
88
- */
92
+ * Indicates that the input should receive focus on page load.
93
+ */
89
94
  autofocus?: SynTextarea["autofocus"];
90
95
  /**
91
- * Used to customize the label or icon of the Enter key on virtual keyboards.
92
- */
96
+ * Used to customize the label or icon of the Enter key on virtual keyboards.
97
+ */
93
98
  enterkeyhint?: SynTextarea["enterkeyhint"];
94
99
  /**
95
- * Enables spell checking on the textarea.
96
- */
100
+ * Enables spell checking on the textarea.
101
+ */
97
102
  spellcheck?: SynTextarea["spellcheck"];
98
103
  /**
99
104
  * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
@@ -101,8 +106,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
101
106
  */
102
107
  inputmode?: SynTextarea["inputmode"];
103
108
  /**
104
- * Support for two way data binding
105
- */
109
+ * Support for two way data binding
110
+ */
106
111
  modelValue?: SynTextarea["value"];
107
112
  }>, {
108
113
  nativeElement: import("vue").Ref<SynTextarea | undefined>;
@@ -116,46 +121,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
116
121
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
117
122
  title?: SynTextarea["title"];
118
123
  /**
119
- * The name of the textarea, submitted as a name/value pair with form data.
120
- */
124
+ * The name of the textarea, submitted as a name/value pair with form data.
125
+ */
121
126
  name?: SynTextarea["name"];
122
127
  /**
123
- * The current value of the textarea, submitted as a name/value pair with form data.
124
- */
128
+ * The current value of the textarea, submitted as a name/value pair with form data.
129
+ */
125
130
  value?: SynTextarea["value"];
126
131
  /**
127
- * The textarea's size.
128
- */
132
+ * The textarea's size.
133
+ */
129
134
  size?: SynTextarea["size"];
130
135
  /**
131
- * The textarea's label.
132
- * If you need to display HTML, use the `label` slot instead.
133
- */
136
+ * The textarea's label.
137
+ * If you need to display HTML, use the `label` slot instead.
138
+ */
134
139
  label?: SynTextarea["label"];
135
140
  /**
136
- * The textarea's help text.
137
- * If you need to display HTML, use the `help-text` slot instead.
138
- */
141
+ * The textarea's help text.
142
+ * If you need to display HTML, use the `help-text` slot instead.
143
+ */
139
144
  helpText?: SynTextarea["helpText"];
140
145
  /**
141
- * Placeholder text to show as a hint when the input is empty.
142
- */
146
+ * Placeholder text to show as a hint when the input is empty.
147
+ */
143
148
  placeholder?: SynTextarea["placeholder"];
144
149
  /**
145
- * The number of rows to display by default.
146
- */
150
+ * The number of rows to display by default.
151
+ */
147
152
  rows?: SynTextarea["rows"];
148
153
  /**
149
- * Controls how the textarea can be resized.
150
- */
154
+ * Controls how the textarea can be resized.
155
+ */
151
156
  resize?: SynTextarea["resize"];
152
157
  /**
153
- * Disables the textarea.
154
- */
158
+ * Disables the textarea.
159
+ */
155
160
  disabled?: SynTextarea["disabled"];
156
161
  /**
157
- * Makes the textarea readonly.
158
- */
162
+ * Makes the textarea readonly.
163
+ */
159
164
  readonly?: SynTextarea["readonly"];
160
165
  /**
161
166
  * By default, form controls are associated with the nearest containing `<form>` element.
@@ -166,24 +171,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
166
171
  */
167
172
  form?: SynTextarea["form"];
168
173
  /**
169
- * Makes the textarea a required field.
170
- */
174
+ * Makes the textarea a required field.
175
+ */
171
176
  required?: SynTextarea["required"];
172
177
  /**
173
- * The minimum length of input that will be considered valid.
174
- */
178
+ * The minimum length of input that will be considered valid.
179
+ */
175
180
  minlength?: SynTextarea["minlength"];
176
181
  /**
177
- * The maximum length of input that will be considered valid.
178
- */
182
+ * The maximum length of input that will be considered valid.
183
+ */
179
184
  maxlength?: SynTextarea["maxlength"];
180
185
  /**
181
- * Controls whether and how text input is automatically capitalized as it is entered by the user.
182
- */
186
+ * Controls whether and how text input is automatically capitalized as it is entered by the user.
187
+ */
183
188
  autocapitalize?: SynTextarea["autocapitalize"];
184
189
  /**
185
- * Indicates whether the browser's autocorrect feature is on or off.
186
- */
190
+ * Indicates whether the browser's autocorrect feature is on or off.
191
+ */
187
192
  autocorrect?: SynTextarea["autocorrect"];
188
193
  /**
189
194
  * Specifies what permission the browser has to provide assistance in filling out form field values.
@@ -192,16 +197,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
192
197
  */
193
198
  autocomplete?: SynTextarea["autocomplete"];
194
199
  /**
195
- * Indicates that the input should receive focus on page load.
196
- */
200
+ * Indicates that the input should receive focus on page load.
201
+ */
197
202
  autofocus?: SynTextarea["autofocus"];
198
203
  /**
199
- * Used to customize the label or icon of the Enter key on virtual keyboards.
200
- */
204
+ * Used to customize the label or icon of the Enter key on virtual keyboards.
205
+ */
201
206
  enterkeyhint?: SynTextarea["enterkeyhint"];
202
207
  /**
203
- * Enables spell checking on the textarea.
204
- */
208
+ * Enables spell checking on the textarea.
209
+ */
205
210
  spellcheck?: SynTextarea["spellcheck"];
206
211
  /**
207
212
  * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual
@@ -209,8 +214,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
209
214
  */
210
215
  inputmode?: SynTextarea["inputmode"];
211
216
  /**
212
- * Support for two way data binding
213
- */
217
+ * Support for two way data binding
218
+ */
214
219
  modelValue?: SynTextarea["value"];
215
220
  }>>> & {
216
221
  "onSyn-blur"?: ((e: SynBlurEvent) => any) | undefined;
@@ -1,14 +1,18 @@
1
1
  import '@synergy-design-system/components/components/tooltip/tooltip.js';
2
- import type { SynAfterHideEvent, SynAfterShowEvent, SynHideEvent, SynShowEvent, SynTooltip } from '@synergy-design-system/components';
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 { SynTooltip } 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';
6
10
  export type { SynAfterHideEvent } from '@synergy-design-system/components';
7
11
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
12
  /**
9
- * The tooltip's content.
10
- * If you need to display HTML, use the `content` slot instead.
11
- */
13
+ * The tooltip's content.
14
+ * If you need to display HTML, use the `content` slot instead.
15
+ */
12
16
  content?: SynTooltip["content"];
13
17
  /**
14
18
  * The preferred placement of the tooltip.
@@ -17,21 +21,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
17
21
  */
18
22
  placement?: SynTooltip["placement"];
19
23
  /**
20
- * Disables the tooltip so it won't show when triggered.
21
- */
24
+ * Disables the tooltip so it won't show when triggered.
25
+ */
22
26
  disabled?: SynTooltip["disabled"];
23
27
  /**
24
- * The distance in pixels from which to offset the tooltip away from its target.
25
- */
28
+ * The distance in pixels from which to offset the tooltip away from its target.
29
+ */
26
30
  distance?: SynTooltip["distance"];
27
31
  /**
28
- * Indicates whether or not the tooltip is open.
29
- * You can use this in lieu of the show/hide methods.
30
- */
32
+ * Indicates whether or not the tooltip is open.
33
+ * You can use this in lieu of the show/hide methods.
34
+ */
31
35
  open?: SynTooltip["open"];
32
36
  /**
33
- * The distance in pixels from which to offset the tooltip along its target.
34
- */
37
+ * The distance in pixels from which to offset the tooltip along its target.
38
+ */
35
39
  skidding?: SynTooltip["skidding"];
36
40
  /**
37
41
  * Controls how the tooltip is activated.
@@ -58,9 +62,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
62
  "syn-after-hide": (e: SynAfterHideEvent) => void;
59
63
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
60
64
  /**
61
- * The tooltip's content.
62
- * If you need to display HTML, use the `content` slot instead.
63
- */
65
+ * The tooltip's content.
66
+ * If you need to display HTML, use the `content` slot instead.
67
+ */
64
68
  content?: SynTooltip["content"];
65
69
  /**
66
70
  * The preferred placement of the tooltip.
@@ -69,21 +73,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
73
  */
70
74
  placement?: SynTooltip["placement"];
71
75
  /**
72
- * Disables the tooltip so it won't show when triggered.
73
- */
76
+ * Disables the tooltip so it won't show when triggered.
77
+ */
74
78
  disabled?: SynTooltip["disabled"];
75
79
  /**
76
- * The distance in pixels from which to offset the tooltip away from its target.
77
- */
80
+ * The distance in pixels from which to offset the tooltip away from its target.
81
+ */
78
82
  distance?: SynTooltip["distance"];
79
83
  /**
80
- * Indicates whether or not the tooltip is open.
81
- * You can use this in lieu of the show/hide methods.
82
- */
84
+ * Indicates whether or not the tooltip is open.
85
+ * You can use this in lieu of the show/hide methods.
86
+ */
83
87
  open?: SynTooltip["open"];
84
88
  /**
85
- * The distance in pixels from which to offset the tooltip along its target.
86
- */
89
+ * The distance in pixels from which to offset the tooltip along its target.
90
+ */
87
91
  skidding?: SynTooltip["skidding"];
88
92
  /**
89
93
  * Controls how the tooltip is activated.
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export { default as SynVueButton } from "./components/SynVueButton.vue";
7
7
  export { default as SynVueButtonGroup } from "./components/SynVueButtonGroup.vue";
8
8
  export { default as SynVueCard } from "./components/SynVueCard.vue";
9
9
  export { default as SynVueCheckbox } from "./components/SynVueCheckbox.vue";
10
+ export { default as SynVueCombobox } from "./components/SynVueCombobox.vue";
10
11
  export { default as SynVueDetails } from "./components/SynVueDetails.vue";
11
12
  export { default as SynVueDialog } from "./components/SynVueDialog.vue";
12
13
  export { default as SynVueDivider } from "./components/SynVueDivider.vue";
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.7.2"
7
+ "@synergy-design-system/components": "^2.8.0"
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.7.2",
43
+ "version": "2.8.0",
44
44
  "devDependencies": {
45
45
  "@vue/tsconfig": "^0.5.1",
46
46
  "vue": "^3.4.38"
47
47
  },
48
48
  "peerDependencies": {
49
- "@synergy-design-system/tokens": "^2.9.0"
49
+ "@synergy-design-system/tokens": "^2.10.0"
50
50
  }
51
51
  }
@@ -31,39 +31,34 @@ defineExpose({
31
31
  // Map attributes
32
32
  const props = defineProps<{
33
33
  /**
34
- * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
35
- */
36
- 'closeOthers'?: SynAccordion['closeOthers'];
34
+ * Indicates whether or not multiple `<syn-detail>` elements can be open at the same time.
35
+ */
36
+ closeOthers?: SynAccordion['closeOthers'];
37
37
 
38
38
  /**
39
- * Draws the accordion and the slotted `<syn-details>` as contained elements.
40
- */
41
- 'contained'?: SynAccordion['contained'];
39
+ * Draws the accordion and the slotted `<syn-details>` as contained elements.
40
+ */
41
+ contained?: SynAccordion['contained'];
42
42
 
43
43
  /**
44
- * The size that should be applied to all slotted `<syn-details>` elements
45
- */
46
- 'size'?: SynAccordion['size'];
44
+ * The size that should be applied to all slotted `<syn-details>` elements
45
+ */
46
+ size?: SynAccordion['size'];
47
47
  }>();
48
48
 
49
49
  // Make sure prop binding only forwards the props that are actually there.
50
50
  // This is needed because :param="param" also adds an empty attribute
51
51
  // when using web-components, which breaks optional arguments like size in SynInput
52
52
  // @see https://github.com/vuejs/core/issues/5190#issuecomment-1003112498
53
- const visibleProps = computed(() => Object.fromEntries(
54
- Object
55
- .entries(props)
56
- .filter(([, value]) => typeof value !== 'undefined'),
57
- ));
58
-
53
+ const visibleProps = computed(() =>
54
+ Object.fromEntries(
55
+ Object.entries(props).filter(([, value]) => typeof value !== 'undefined'),
56
+ ),
57
+ );
59
58
  </script>
60
59
 
61
60
  <template>
62
- <syn-accordion
63
-
64
- v-bind="visibleProps"
65
- ref="nativeElement"
66
- >
67
- <slot />
61
+ <syn-accordion v-bind="visibleProps" ref="nativeElement">
62
+ <slot></slot>
68
63
  </syn-accordion>
69
64
  </template>