@vonage/vivid-react 3.5.2 → 4.0.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 (227) hide show
  1. package/VwcAccordion/package.json +1 -1
  2. package/VwcActionGroup/package.json +1 -1
  3. package/VwcBadge/package.json +1 -1
  4. package/VwcBanner/package.json +1 -1
  5. package/VwcButton/package.json +1 -1
  6. package/VwcButtonToggleGroup/package.json +1 -1
  7. package/VwcCalendar/package.json +1 -1
  8. package/VwcCalendarEvent/package.json +1 -1
  9. package/VwcCard/package.json +1 -1
  10. package/VwcCarousel/package.json +1 -1
  11. package/VwcCarouselItem/package.json +1 -1
  12. package/VwcCheckListItem/package.json +1 -1
  13. package/VwcCheckbox/package.json +1 -1
  14. package/VwcChip/package.json +1 -1
  15. package/VwcChipSet/package.json +1 -1
  16. package/VwcCircularProgress/package.json +1 -1
  17. package/VwcDataGrid/package.json +1 -1
  18. package/VwcDataGridColumn/package.json +1 -1
  19. package/VwcDatepicker/package.json +1 -1
  20. package/VwcDropdown/package.json +1 -1
  21. package/VwcElevation/package.json +1 -1
  22. package/VwcEmptyState/package.json +1 -1
  23. package/VwcExpansionPanel/package.json +1 -1
  24. package/VwcFab/package.json +1 -1
  25. package/VwcFilePicker/package.json +1 -1
  26. package/VwcFormfield/package.json +1 -1
  27. package/VwcHelperMessage/package.json +1 -1
  28. package/VwcIcon/package.json +1 -1
  29. package/VwcIconButton/package.json +1 -1
  30. package/VwcIconButtonToggle/package.json +1 -1
  31. package/VwcKeypad/package.json +1 -1
  32. package/VwcLayout/package.json +1 -1
  33. package/VwcLinearProgress/package.json +1 -1
  34. package/VwcList/package.json +1 -1
  35. package/VwcListExpansionPanel/package.json +1 -1
  36. package/VwcListItem/package.json +1 -1
  37. package/VwcMenu/package.json +1 -1
  38. package/VwcNotchedOutline/package.json +1 -1
  39. package/VwcNote/package.json +1 -1
  40. package/VwcPagination/package.json +1 -1
  41. package/VwcPopup/package.json +1 -1
  42. package/VwcRadio/package.json +1 -1
  43. package/VwcRadioListItem/package.json +1 -1
  44. package/VwcSchemeSelect/package.json +1 -1
  45. package/VwcScrubBar/package.json +1 -1
  46. package/VwcSelect/package.json +1 -1
  47. package/VwcSlider/package.json +1 -1
  48. package/VwcSnackbar/package.json +1 -1
  49. package/VwcSurface/package.json +1 -1
  50. package/VwcSwitch/package.json +1 -1
  51. package/VwcTab/package.json +1 -1
  52. package/VwcTabBar/package.json +1 -1
  53. package/VwcTag/package.json +1 -1
  54. package/VwcText/package.json +1 -1
  55. package/VwcTextarea/package.json +1 -1
  56. package/VwcTextfield/package.json +1 -1
  57. package/VwcThemeSwitch/package.json +1 -1
  58. package/VwcTooltip/package.json +1 -1
  59. package/VwcTopAppBar/package.json +1 -1
  60. package/VwcTopAppBarFixed/package.json +1 -1
  61. package/index.js +4 -4
  62. package/package.json +2 -2
  63. package/types/index.d.ts +46 -7
  64. package/v3/VwcAccordion/package.json +2 -2
  65. package/v3/VwcAccordionItem/index.d.ts +2 -0
  66. package/v3/VwcAccordionItem/index.js +85 -1
  67. package/v3/VwcAccordionItem/package.json +2 -2
  68. package/v3/VwcActionGroup/package.json +2 -2
  69. package/v3/VwcAlert/index.js +28 -0
  70. package/v3/VwcAlert/package.json +2 -2
  71. package/v3/VwcAudioPlayer/index.js +53 -0
  72. package/v3/VwcAudioPlayer/package.json +2 -2
  73. package/v3/VwcAvatar/package.json +2 -2
  74. package/v3/VwcBadge/package.json +2 -2
  75. package/v3/VwcBanner/index.js +29 -0
  76. package/v3/VwcBanner/package.json +2 -2
  77. package/v3/VwcBaseProgress/package.json +2 -2
  78. package/v3/VwcBreadcrumb/package.json +2 -2
  79. package/v3/VwcBreadcrumbItem/package.json +2 -2
  80. package/v3/VwcButton/index.js +42 -0
  81. package/v3/VwcButton/package.json +2 -2
  82. package/v3/VwcCalendar/package.json +2 -2
  83. package/v3/VwcCalendarEvent/package.json +2 -2
  84. package/v3/VwcCard/index.js +13 -0
  85. package/v3/VwcCard/package.json +2 -2
  86. package/v3/VwcCheckbox/index.js +51 -4
  87. package/v3/VwcCheckbox/package.json +2 -2
  88. package/v3/VwcColorPicker/index.d.ts +61 -0
  89. package/v3/VwcColorPicker/index.js +651 -0
  90. package/v3/VwcColorPicker/package.json +11 -0
  91. package/v3/VwcCombobox/index.js +138 -0
  92. package/v3/VwcCombobox/package.json +2 -2
  93. package/v3/VwcContextualHelp/index.d.ts +22 -0
  94. package/v3/VwcContextualHelp/index.js +130 -0
  95. package/v3/VwcContextualHelp/package.json +11 -0
  96. package/v3/VwcDataGrid/index.js +2 -11
  97. package/v3/VwcDataGrid/package.json +2 -2
  98. package/v3/VwcDataGridCell/index.d.ts +5 -3
  99. package/v3/VwcDataGridCell/index.js +17 -25
  100. package/v3/VwcDataGridCell/package.json +2 -2
  101. package/v3/VwcDataGridRow/index.d.ts +3 -1
  102. package/v3/VwcDataGridRow/index.js +21 -21
  103. package/v3/VwcDataGridRow/package.json +2 -2
  104. package/v3/VwcDatePicker/index.js +14 -1
  105. package/v3/VwcDatePicker/package.json +2 -2
  106. package/v3/VwcDateRangePicker/index.js +21 -1
  107. package/v3/VwcDateRangePicker/package.json +2 -2
  108. package/v3/VwcDateTimePicker/index.js +15 -2
  109. package/v3/VwcDateTimePicker/package.json +2 -2
  110. package/v3/VwcDelegateAriaBehavior/index.js +5 -58
  111. package/v3/VwcDelegateAriaBehavior/package.json +2 -2
  112. package/v3/VwcDialPad/index.d.ts +6 -0
  113. package/v3/VwcDialPad/index.js +27 -3
  114. package/v3/VwcDialPad/package.json +2 -2
  115. package/v3/VwcDialog/index.js +50 -0
  116. package/v3/VwcDialog/package.json +2 -2
  117. package/v3/VwcDivider/index.d.ts +1 -1
  118. package/v3/VwcDivider/index.js +0 -8
  119. package/v3/VwcDivider/package.json +2 -2
  120. package/v3/VwcElevation/package.json +2 -2
  121. package/v3/VwcEmptyState/index.js +28 -0
  122. package/v3/VwcEmptyState/package.json +2 -2
  123. package/v3/VwcFab/index.js +42 -0
  124. package/v3/VwcFab/package.json +2 -2
  125. package/v3/VwcFeedbackMessage/index.d.ts +0 -2
  126. package/v3/VwcFeedbackMessage/index.js +1 -13
  127. package/v3/VwcFeedbackMessage/package.json +2 -2
  128. package/v3/VwcFilePicker/index.d.ts +5 -7
  129. package/v3/VwcFilePicker/index.js +55 -290
  130. package/v3/VwcFilePicker/package.json +2 -2
  131. package/v3/VwcHeader/package.json +2 -2
  132. package/v3/VwcHostSemanticsBehavior/index.js +11 -27
  133. package/v3/VwcHostSemanticsBehavior/package.json +2 -2
  134. package/v3/VwcIcon/index.js +22 -0
  135. package/v3/VwcIcon/package.json +2 -2
  136. package/v3/VwcImagePlaceholder/package.json +2 -2
  137. package/v3/VwcInlineTimePicker/index.d.ts +0 -2
  138. package/v3/VwcInlineTimePicker/index.js +1 -13
  139. package/v3/VwcInlineTimePicker/package.json +2 -2
  140. package/v3/VwcLayout/package.json +2 -2
  141. package/v3/VwcListbox/index.js +74 -0
  142. package/v3/VwcListbox/package.json +2 -2
  143. package/v3/VwcMenu/index.d.ts +2 -0
  144. package/v3/VwcMenu/index.js +48 -1
  145. package/v3/VwcMenu/package.json +2 -2
  146. package/v3/VwcMenuItem/index.d.ts +1 -1
  147. package/v3/VwcMenuItem/index.js +50 -8
  148. package/v3/VwcMenuItem/package.json +2 -2
  149. package/v3/VwcMenubar/package.json +2 -2
  150. package/v3/VwcNav/package.json +2 -2
  151. package/v3/VwcNavDisclosure/index.js +65 -0
  152. package/v3/VwcNavDisclosure/package.json +2 -2
  153. package/v3/VwcNavItem/index.js +44 -0
  154. package/v3/VwcNavItem/package.json +2 -2
  155. package/v3/VwcNote/package.json +2 -2
  156. package/v3/VwcNumberField/index.js +68 -0
  157. package/v3/VwcNumberField/package.json +2 -2
  158. package/v3/VwcOption/index.d.ts +3 -1
  159. package/v3/VwcOption/index.js +43 -1
  160. package/v3/VwcOption/package.json +2 -2
  161. package/v3/VwcOptionTag/package.json +2 -2
  162. package/v3/VwcPagination/index.js +66 -1
  163. package/v3/VwcPagination/package.json +2 -2
  164. package/v3/VwcPickerField/index.d.ts +0 -2
  165. package/v3/VwcPickerField/index.js +41 -14
  166. package/v3/VwcPickerField/package.json +2 -2
  167. package/v3/VwcPopup/package.json +2 -2
  168. package/v3/VwcProgress/package.json +2 -2
  169. package/v3/VwcProgressRing/package.json +2 -2
  170. package/v3/VwcProseMirrorFacade/package.json +2 -2
  171. package/v3/VwcRadio/index.d.ts +0 -2
  172. package/v3/VwcRadio/index.js +38 -17
  173. package/v3/VwcRadio/package.json +2 -2
  174. package/v3/VwcRadioGroup/package.json +2 -2
  175. package/v3/VwcRangeSlider/index.js +75 -0
  176. package/v3/VwcRangeSlider/package.json +2 -2
  177. package/v3/VwcRichTextEditor/package.json +2 -2
  178. package/v3/VwcSearchableSelect/index.d.ts +6 -0
  179. package/v3/VwcSearchableSelect/index.js +90 -1
  180. package/v3/VwcSearchableSelect/package.json +2 -2
  181. package/v3/VwcSelect/index.js +106 -2
  182. package/v3/VwcSelect/package.json +2 -2
  183. package/v3/VwcSelectableBox/index.d.ts +2 -2
  184. package/v3/VwcSelectableBox/index.js +65 -19
  185. package/v3/VwcSelectableBox/package.json +2 -2
  186. package/v3/VwcSideDrawer/package.json +2 -2
  187. package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
  188. package/v3/VwcSimpleColorPicker/index.js +500 -0
  189. package/v3/VwcSimpleColorPicker/package.json +11 -0
  190. package/v3/VwcSlider/index.js +52 -0
  191. package/v3/VwcSlider/package.json +2 -2
  192. package/v3/VwcSplitButton/index.js +89 -0
  193. package/v3/VwcSplitButton/package.json +2 -2
  194. package/v3/VwcSwitch/index.js +51 -0
  195. package/v3/VwcSwitch/package.json +2 -2
  196. package/v3/VwcTab/index.js +44 -0
  197. package/v3/VwcTab/package.json +2 -2
  198. package/v3/VwcTabPanel/package.json +2 -2
  199. package/v3/VwcTabs/index.js +4 -0
  200. package/v3/VwcTabs/package.json +2 -2
  201. package/v3/VwcTag/index.js +114 -4
  202. package/v3/VwcTag/package.json +2 -2
  203. package/v3/VwcTagGroup/package.json +2 -2
  204. package/v3/VwcTextArea/index.js +33 -0
  205. package/v3/VwcTextArea/package.json +2 -2
  206. package/v3/VwcTextField/index.js +40 -0
  207. package/v3/VwcTextField/package.json +2 -2
  208. package/v3/VwcTimePicker/index.js +15 -2
  209. package/v3/VwcTimePicker/package.json +2 -2
  210. package/v3/VwcToggletip/index.js +35 -3
  211. package/v3/VwcToggletip/package.json +2 -2
  212. package/v3/VwcTooltip/index.js +28 -0
  213. package/v3/VwcTooltip/package.json +2 -2
  214. package/v3/VwcTreeItem/package.json +2 -2
  215. package/v3/VwcTreeView/package.json +2 -2
  216. package/v3/VwcVideoPlayer/package.json +2 -2
  217. package/v3/VwcVisuallyHidden/package.json +2 -2
  218. package/v3/VwcVividElement/index.d.ts +0 -2
  219. package/v3/VwcVividElement/index.js +36 -13
  220. package/v3/VwcVividElement/package.json +2 -2
  221. package/v3/VwcVividFoundationButton/package.json +2 -2
  222. package/v3/VwcVvdHexInput/index.d.ts +16 -0
  223. package/v3/VwcVvdHexInput/index.js +43 -0
  224. package/v3/VwcVvdHexInput/package.json +11 -0
  225. package/v3/VwcVvdHexPicker/index.d.ts +16 -0
  226. package/v3/VwcVvdHexPicker/index.js +43 -0
  227. package/v3/VwcVvdHexPicker/package.json +11 -0
@@ -68,6 +68,15 @@ Code in this file were generated using following JSON:
68
68
  },
69
69
  "default": "false"
70
70
  },
71
+ {
72
+ "kind": "field",
73
+ "name": "#currentRequestId",
74
+ "privacy": "private",
75
+ "type": {
76
+ "text": "number"
77
+ },
78
+ "default": "0"
79
+ },
71
80
  {
72
81
  "kind": "field",
73
82
  "name": "label",
@@ -173,6 +182,19 @@ Code in this file were generated using following JSON:
173
182
  "vividComponent": {
174
183
  "public": true,
175
184
  "name": "icon"
185
+ },
186
+ "vividTesting": {
187
+ "selectors": [],
188
+ "actions": [],
189
+ "queries": [
190
+ {
191
+ "name": "name",
192
+ "args": [
193
+ "name"
194
+ ]
195
+ }
196
+ ],
197
+ "refs": []
176
198
  }
177
199
  }
178
200
  */
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-icon",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-image-placeholder",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -11,7 +11,6 @@ import React, { ReactNode } from 'react';
11
11
  * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
12
12
  It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
13
13
  * @param {string} componentName - Core component name, without prefix
14
- * @param {boolean} specialHandling
15
14
  * @param {VividAriaBehaviour} _vividAriaBehaviour
16
15
  */
17
16
  declare const VwcInlineTimePicker: {
@@ -30,7 +29,6 @@ declare const VwcInlineTimePicker: {
30
29
  focusedPickerClass?: string | undefined;
31
30
  VIVID_VERSION?: string | undefined;
32
31
  componentName?: string | undefined;
33
- specialHandling?: boolean | undefined;
34
32
  _vividAriaBehaviour?: any;
35
33
  }): JSX.Element;
36
34
  displayName: string;
@@ -150,18 +150,6 @@ Code in this file were generated using following JSON:
150
150
  "module": "src/shared/foundation/vivid-element/vivid-element.ts"
151
151
  }
152
152
  },
153
- {
154
- "kind": "field",
155
- "name": "specialHandling",
156
- "type": {
157
- "text": "boolean"
158
- },
159
- "default": "false",
160
- "inheritedFrom": {
161
- "name": "VividElement",
162
- "module": "src/shared/foundation/vivid-element/vivid-element.ts"
163
- }
164
- },
165
153
  {
166
154
  "kind": "field",
167
155
  "name": "_vividAriaBehaviour",
@@ -211,7 +199,7 @@ registerInlineTimePicker('vvd3')
211
199
  const VwcInlineTimePicker = wrapper(`vvd3-inline-time-picker`, {
212
200
  events: [],
213
201
  attributes: [],
214
- properties: ['value', 'minutesStep', 'secondsStep', 'clock', 'min', 'max', 'focusedPickerClass', 'VIVID_VERSION', 'componentName', 'specialHandling', '_vividAriaBehaviour']
202
+ properties: ['value', 'minutesStep', 'secondsStep', 'clock', 'min', 'max', 'focusedPickerClass', 'VIVID_VERSION', 'componentName', '_vividAriaBehaviour']
215
203
  })
216
204
 
217
205
  VwcInlineTimePicker.displayName = 'VwcInlineTimePicker'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-inline-time-picker",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-layout",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -69,6 +69,37 @@ Code in this file were generated using following JSON:
69
69
  ],
70
70
  "privacy": "public"
71
71
  },
72
+ {
73
+ "kind": "method",
74
+ "name": "getNextSelectableIndex",
75
+ "privacy": "protected",
76
+ "parameters": [
77
+ {
78
+ "name": "fromIndex",
79
+ "type": {
80
+ "text": "number"
81
+ }
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "kind": "method",
87
+ "name": "_validSelectedIndex",
88
+ "privacy": "protected",
89
+ "return": {
90
+ "type": {
91
+ "text": "number"
92
+ }
93
+ },
94
+ "parameters": [
95
+ {
96
+ "name": "index",
97
+ "type": {
98
+ "text": "number"
99
+ }
100
+ }
101
+ ]
102
+ },
72
103
  {
73
104
  "kind": "method",
74
105
  "name": "selectFirstOption",
@@ -80,6 +111,49 @@ Code in this file were generated using following JSON:
80
111
  "description": "Moves focus to the first selectable option.",
81
112
  "privacy": "public"
82
113
  },
114
+ {
115
+ "kind": "method",
116
+ "name": "_newDefaultSelectedIndex",
117
+ "privacy": "protected",
118
+ "return": {
119
+ "type": {
120
+ "text": "number | null"
121
+ }
122
+ },
123
+ "parameters": [
124
+ {
125
+ "name": "prev",
126
+ "type": {
127
+ "text": "ListboxOption[]"
128
+ }
129
+ },
130
+ {
131
+ "name": "next",
132
+ "type": {
133
+ "text": "ListboxOption[]"
134
+ }
135
+ },
136
+ {
137
+ "name": "currentSelectedIndex",
138
+ "type": {
139
+ "text": "number"
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "kind": "method",
146
+ "name": "_isDefaultSelected",
147
+ "privacy": "protected",
148
+ "parameters": [
149
+ {
150
+ "name": "option",
151
+ "type": {
152
+ "text": "ListboxOption"
153
+ }
154
+ }
155
+ ]
156
+ },
83
157
  {
84
158
  "kind": "method",
85
159
  "name": "setSelectedOptions",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-listbox",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,6 +1,7 @@
1
1
  import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcMenu
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/menu
4
+ * @param {number | null} offset - Adds offset to the popup **attribute** `offset`
4
5
  * @param {Placement | undefined} placement - placement of the menu **attribute** `placement`
5
6
  * @param {'auto' | 'legacy' | 'off' | undefined} trigger - Controls how the menu opens and closes itself. **attribute** `trigger`
6
7
  * @param {boolean} autoDismiss - indicates whether the menu will automatically close when focus moves away from it. **attribute** `auto-dismiss`
@@ -23,6 +24,7 @@ declare const VwcMenu: {
23
24
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
24
25
  onOpen?: ((event: SyntheticEvent) => void) | undefined;
25
26
  onClose?: ((event: SyntheticEvent) => void) | undefined;
27
+ offset?: number | undefined;
26
28
  placement?: any;
27
29
  trigger?: any;
28
30
  autoDismiss?: boolean | undefined;
@@ -26,6 +26,16 @@ Code in this file were generated using following JSON:
26
26
  }
27
27
  ],
28
28
  "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "offset",
32
+ "type": {
33
+ "text": "number | null"
34
+ },
35
+ "default": "null",
36
+ "description": "Adds offset to the popup",
37
+ "privacy": "public"
38
+ },
29
39
  {
30
40
  "kind": "field",
31
41
  "name": "menuItems",
@@ -366,6 +376,15 @@ Code in this file were generated using following JSON:
366
376
  }
367
377
  ],
368
378
  "attributes": [
379
+ {
380
+ "name": "offset",
381
+ "type": {
382
+ "text": "number | null"
383
+ },
384
+ "default": "null",
385
+ "description": "Adds offset to the popup",
386
+ "fieldName": "offset"
387
+ },
369
388
  {
370
389
  "name": "placement",
371
390
  "type": {
@@ -440,6 +459,34 @@ Code in this file were generated using following JSON:
440
459
  "vividComponent": {
441
460
  "public": true,
442
461
  "name": "menu"
462
+ },
463
+ "vividTesting": {
464
+ "selectors": [
465
+ {
466
+ "name": "byLabel",
467
+ "args": [
468
+ "byLabel"
469
+ ]
470
+ }
471
+ ],
472
+ "actions": [],
473
+ "queries": [
474
+ {
475
+ "name": "open",
476
+ "args": [
477
+ "open",
478
+ "true"
479
+ ]
480
+ },
481
+ {
482
+ "name": "closed",
483
+ "args": [
484
+ "open",
485
+ "false"
486
+ ]
487
+ }
488
+ ],
489
+ "refs": []
443
490
  }
444
491
  }
445
492
  */
@@ -451,7 +498,7 @@ registerMenu('vvd3')
451
498
  const VwcMenu = wrapper(`vvd3-menu`, {
452
499
  events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
453
500
  attributes: [],
454
- properties: ['placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent', 'anchor', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
501
+ properties: ['offset', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent', 'anchor', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
455
502
  })
456
503
 
457
504
  VwcMenu.displayName = 'VwcMenu'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -4,7 +4,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
4
4
  * @param {string | undefined} icon **attribute** `icon`
5
5
  * @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
6
6
  * @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
7
- * @param {MenuItemRole} role - The role of the element. **attribute** `role`
7
+ * @param {MenuItemRole} role - The role of the element.
8
8
  * @param {ControlType | undefined} controlType - Whether the menu item should behave as a checkbox or radio button. **attribute** `control-type`
9
9
  * @param {boolean} checked - The checked value of the element. **attribute** `checked`
10
10
  * @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
@@ -300,14 +300,6 @@ Code in this file were generated using following JSON:
300
300
  "description": "The expanded state of the element.",
301
301
  "fieldName": "expanded"
302
302
  },
303
- {
304
- "name": "role",
305
- "type": {
306
- "text": "MenuItemRole"
307
- },
308
- "description": "The role of the element.",
309
- "fieldName": "role"
310
- },
311
303
  {
312
304
  "name": "control-type",
313
305
  "type": {
@@ -406,6 +398,56 @@ Code in this file were generated using following JSON:
406
398
  "valueMapping": "event.currentTarget.checked"
407
399
  }
408
400
  ]
401
+ },
402
+ "vividTesting": {
403
+ "selectors": [
404
+ {
405
+ "name": "byText",
406
+ "args": [
407
+ "byText"
408
+ ]
409
+ }
410
+ ],
411
+ "actions": [
412
+ {
413
+ "name": "click",
414
+ "args": [
415
+ "click",
416
+ "#base"
417
+ ]
418
+ }
419
+ ],
420
+ "queries": [
421
+ {
422
+ "name": "checked",
423
+ "args": [
424
+ "checked",
425
+ "true"
426
+ ]
427
+ },
428
+ {
429
+ "name": "unchecked",
430
+ "args": [
431
+ "checked",
432
+ "false"
433
+ ]
434
+ },
435
+ {
436
+ "name": "disabled",
437
+ "args": [
438
+ "disabled"
439
+ ]
440
+ }
441
+ ],
442
+ "refs": [
443
+ {
444
+ "name": "base",
445
+ "args": [
446
+ "shadow",
447
+ ".base"
448
+ ]
449
+ }
450
+ ]
409
451
  }
410
452
  }
411
453
  */
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu-item",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menubar",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -289,6 +289,71 @@ Code in this file were generated using following JSON:
289
289
  "vividComponent": {
290
290
  "public": true,
291
291
  "name": "nav-disclosure"
292
+ },
293
+ "vividTesting": {
294
+ "selectors": [
295
+ {
296
+ "name": "byLabel",
297
+ "args": [
298
+ "byLabel"
299
+ ]
300
+ }
301
+ ],
302
+ "actions": [
303
+ {
304
+ "name": "expand",
305
+ "args": [
306
+ "toggleNavDisclosure",
307
+ "true"
308
+ ]
309
+ },
310
+ {
311
+ "name": "collapse",
312
+ "args": [
313
+ "toggleNavDisclosure",
314
+ "false"
315
+ ]
316
+ }
317
+ ],
318
+ "queries": [
319
+ {
320
+ "name": "current",
321
+ "args": [
322
+ "navCurrent",
323
+ "true"
324
+ ]
325
+ },
326
+ {
327
+ "name": "!current",
328
+ "args": [
329
+ "navCurrent",
330
+ "false"
331
+ ]
332
+ },
333
+ {
334
+ "name": "open",
335
+ "args": [
336
+ "open",
337
+ "true"
338
+ ]
339
+ },
340
+ {
341
+ "name": "closed",
342
+ "args": [
343
+ "open",
344
+ "false"
345
+ ]
346
+ }
347
+ ],
348
+ "refs": [
349
+ {
350
+ "name": "summary",
351
+ "args": [
352
+ "shadow",
353
+ "summary"
354
+ ]
355
+ }
356
+ ]
292
357
  }
293
358
  }
294
359
  */
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-disclosure",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -458,6 +458,50 @@ Code in this file were generated using following JSON:
458
458
  "vividComponent": {
459
459
  "public": true,
460
460
  "name": "nav-item"
461
+ },
462
+ "vividTesting": {
463
+ "selectors": [
464
+ {
465
+ "name": "byLabel",
466
+ "args": [
467
+ "byLabel"
468
+ ]
469
+ }
470
+ ],
471
+ "actions": [
472
+ {
473
+ "name": "click",
474
+ "args": [
475
+ "click",
476
+ "#control"
477
+ ]
478
+ }
479
+ ],
480
+ "queries": [
481
+ {
482
+ "name": "current",
483
+ "args": [
484
+ "navCurrent",
485
+ "true"
486
+ ]
487
+ },
488
+ {
489
+ "name": "!current",
490
+ "args": [
491
+ "navCurrent",
492
+ "false"
493
+ ]
494
+ }
495
+ ],
496
+ "refs": [
497
+ {
498
+ "name": "control",
499
+ "args": [
500
+ "shadow",
501
+ ".control"
502
+ ]
503
+ }
504
+ ]
461
505
  }
462
506
  }
463
507
  */
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-item",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-note",
3
- "version": "4.29.0",
3
+ "version": "5.5.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.29.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }