@vonage/vivid-react 3.5.1 → 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 (234) 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 +58 -9
  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.d.ts +2 -0
  72. package/v3/VwcAudioPlayer/index.js +106 -13
  73. package/v3/VwcAudioPlayer/package.json +2 -2
  74. package/v3/VwcAvatar/package.json +2 -2
  75. package/v3/VwcBadge/package.json +2 -2
  76. package/v3/VwcBanner/index.js +29 -0
  77. package/v3/VwcBanner/package.json +2 -2
  78. package/v3/VwcBaseProgress/package.json +2 -2
  79. package/v3/VwcBreadcrumb/package.json +2 -2
  80. package/v3/VwcBreadcrumbItem/package.json +2 -2
  81. package/v3/VwcButton/index.js +42 -0
  82. package/v3/VwcButton/package.json +2 -2
  83. package/v3/VwcCalendar/package.json +2 -2
  84. package/v3/VwcCalendarEvent/package.json +2 -2
  85. package/v3/VwcCard/index.js +13 -0
  86. package/v3/VwcCard/package.json +2 -2
  87. package/v3/VwcCheckbox/index.js +51 -4
  88. package/v3/VwcCheckbox/package.json +2 -2
  89. package/v3/VwcColorPicker/index.d.ts +61 -0
  90. package/v3/VwcColorPicker/index.js +651 -0
  91. package/v3/VwcColorPicker/package.json +11 -0
  92. package/v3/VwcCombobox/index.js +138 -0
  93. package/v3/VwcCombobox/package.json +2 -2
  94. package/v3/VwcContextualHelp/index.d.ts +22 -0
  95. package/v3/VwcContextualHelp/index.js +130 -0
  96. package/v3/VwcContextualHelp/package.json +11 -0
  97. package/v3/VwcDataGrid/index.d.ts +2 -0
  98. package/v3/VwcDataGrid/index.js +26 -10
  99. package/v3/VwcDataGrid/package.json +2 -2
  100. package/v3/VwcDataGridCell/index.d.ts +5 -3
  101. package/v3/VwcDataGridCell/index.js +17 -25
  102. package/v3/VwcDataGridCell/package.json +2 -2
  103. package/v3/VwcDataGridRow/index.d.ts +3 -1
  104. package/v3/VwcDataGridRow/index.js +21 -21
  105. package/v3/VwcDataGridRow/package.json +2 -2
  106. package/v3/VwcDatePicker/index.js +14 -1
  107. package/v3/VwcDatePicker/package.json +2 -2
  108. package/v3/VwcDateRangePicker/index.js +21 -1
  109. package/v3/VwcDateRangePicker/package.json +2 -2
  110. package/v3/VwcDateTimePicker/index.js +15 -2
  111. package/v3/VwcDateTimePicker/package.json +2 -2
  112. package/v3/VwcDelegateAriaBehavior/index.js +5 -58
  113. package/v3/VwcDelegateAriaBehavior/package.json +2 -2
  114. package/v3/VwcDialPad/index.d.ts +6 -0
  115. package/v3/VwcDialPad/index.js +27 -3
  116. package/v3/VwcDialPad/package.json +2 -2
  117. package/v3/VwcDialog/index.js +50 -0
  118. package/v3/VwcDialog/package.json +2 -2
  119. package/v3/VwcDivider/index.d.ts +4 -2
  120. package/v3/VwcDivider/index.js +34 -15
  121. package/v3/VwcDivider/package.json +2 -2
  122. package/v3/VwcElevation/package.json +2 -2
  123. package/v3/VwcEmptyState/index.js +28 -0
  124. package/v3/VwcEmptyState/package.json +2 -2
  125. package/v3/VwcFab/index.js +42 -0
  126. package/v3/VwcFab/package.json +2 -2
  127. package/v3/VwcFeedbackMessage/index.d.ts +0 -2
  128. package/v3/VwcFeedbackMessage/index.js +1 -13
  129. package/v3/VwcFeedbackMessage/package.json +2 -2
  130. package/v3/VwcFilePicker/index.d.ts +5 -7
  131. package/v3/VwcFilePicker/index.js +55 -290
  132. package/v3/VwcFilePicker/package.json +2 -2
  133. package/v3/VwcHeader/package.json +2 -2
  134. package/v3/VwcHostSemanticsBehavior/index.js +11 -27
  135. package/v3/VwcHostSemanticsBehavior/package.json +2 -2
  136. package/v3/VwcIcon/index.js +22 -0
  137. package/v3/VwcIcon/package.json +2 -2
  138. package/v3/VwcImagePlaceholder/index.d.ts +28 -0
  139. package/v3/VwcImagePlaceholder/index.js +116 -0
  140. package/v3/VwcImagePlaceholder/package.json +11 -0
  141. package/v3/VwcInlineTimePicker/index.d.ts +0 -2
  142. package/v3/VwcInlineTimePicker/index.js +1 -13
  143. package/v3/VwcInlineTimePicker/package.json +2 -2
  144. package/v3/VwcLayout/package.json +2 -2
  145. package/v3/VwcListbox/index.js +74 -0
  146. package/v3/VwcListbox/package.json +2 -2
  147. package/v3/VwcMenu/index.d.ts +2 -0
  148. package/v3/VwcMenu/index.js +48 -1
  149. package/v3/VwcMenu/package.json +2 -2
  150. package/v3/VwcMenuItem/index.d.ts +1 -1
  151. package/v3/VwcMenuItem/index.js +50 -8
  152. package/v3/VwcMenuItem/package.json +2 -2
  153. package/v3/{VwcMenuBar → VwcMenubar}/index.d.ts +4 -4
  154. package/v3/{VwcMenuBar → VwcMenubar}/index.js +4 -6
  155. package/v3/{VwcMenuBar → VwcMenubar}/package.json +3 -3
  156. package/v3/VwcNav/package.json +2 -2
  157. package/v3/VwcNavDisclosure/index.js +65 -0
  158. package/v3/VwcNavDisclosure/package.json +2 -2
  159. package/v3/VwcNavItem/index.js +44 -0
  160. package/v3/VwcNavItem/package.json +2 -2
  161. package/v3/VwcNote/package.json +2 -2
  162. package/v3/VwcNumberField/index.js +68 -0
  163. package/v3/VwcNumberField/package.json +2 -2
  164. package/v3/VwcOption/index.d.ts +9 -9
  165. package/v3/VwcOption/index.js +62 -44
  166. package/v3/VwcOption/package.json +2 -2
  167. package/v3/VwcOptionTag/package.json +2 -2
  168. package/v3/VwcPagination/index.js +66 -1
  169. package/v3/VwcPagination/package.json +2 -2
  170. package/v3/VwcPickerField/index.d.ts +0 -2
  171. package/v3/VwcPickerField/index.js +41 -14
  172. package/v3/VwcPickerField/package.json +2 -2
  173. package/v3/VwcPopup/package.json +2 -2
  174. package/v3/VwcProgress/package.json +2 -2
  175. package/v3/VwcProgressRing/package.json +2 -2
  176. package/v3/VwcProseMirrorFacade/index.js +14 -1
  177. package/v3/VwcProseMirrorFacade/package.json +2 -2
  178. package/v3/VwcRadio/index.d.ts +0 -2
  179. package/v3/VwcRadio/index.js +38 -17
  180. package/v3/VwcRadio/package.json +2 -2
  181. package/v3/VwcRadioGroup/package.json +2 -2
  182. package/v3/VwcRangeSlider/index.js +75 -0
  183. package/v3/VwcRangeSlider/package.json +2 -2
  184. package/v3/VwcRichTextEditor/package.json +2 -2
  185. package/v3/VwcSearchableSelect/index.d.ts +6 -0
  186. package/v3/VwcSearchableSelect/index.js +90 -1
  187. package/v3/VwcSearchableSelect/package.json +2 -2
  188. package/v3/VwcSelect/index.js +106 -2
  189. package/v3/VwcSelect/package.json +2 -2
  190. package/v3/VwcSelectableBox/index.d.ts +2 -2
  191. package/v3/VwcSelectableBox/index.js +65 -19
  192. package/v3/VwcSelectableBox/package.json +2 -2
  193. package/v3/VwcSideDrawer/package.json +2 -2
  194. package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
  195. package/v3/VwcSimpleColorPicker/index.js +500 -0
  196. package/v3/VwcSimpleColorPicker/package.json +11 -0
  197. package/v3/VwcSlider/index.js +52 -0
  198. package/v3/VwcSlider/package.json +2 -2
  199. package/v3/VwcSplitButton/index.js +89 -0
  200. package/v3/VwcSplitButton/package.json +2 -2
  201. package/v3/VwcSwitch/index.js +51 -0
  202. package/v3/VwcSwitch/package.json +2 -2
  203. package/v3/VwcTab/index.js +44 -0
  204. package/v3/VwcTab/package.json +2 -2
  205. package/v3/VwcTabPanel/package.json +2 -2
  206. package/v3/VwcTabs/index.js +4 -0
  207. package/v3/VwcTabs/package.json +2 -2
  208. package/v3/VwcTag/index.js +114 -4
  209. package/v3/VwcTag/package.json +2 -2
  210. package/v3/VwcTagGroup/package.json +2 -2
  211. package/v3/VwcTextArea/index.js +33 -0
  212. package/v3/VwcTextArea/package.json +2 -2
  213. package/v3/VwcTextField/index.js +40 -0
  214. package/v3/VwcTextField/package.json +2 -2
  215. package/v3/VwcTimePicker/index.js +15 -2
  216. package/v3/VwcTimePicker/package.json +2 -2
  217. package/v3/VwcToggletip/index.js +35 -3
  218. package/v3/VwcToggletip/package.json +2 -2
  219. package/v3/VwcTooltip/index.js +32 -0
  220. package/v3/VwcTooltip/package.json +2 -2
  221. package/v3/VwcTreeItem/package.json +2 -2
  222. package/v3/VwcTreeView/package.json +2 -2
  223. package/v3/VwcVideoPlayer/package.json +2 -2
  224. package/v3/VwcVisuallyHidden/package.json +2 -2
  225. package/v3/VwcVividElement/index.d.ts +0 -2
  226. package/v3/VwcVividElement/index.js +36 -13
  227. package/v3/VwcVividElement/package.json +2 -2
  228. package/v3/VwcVividFoundationButton/package.json +2 -2
  229. package/v3/VwcVvdHexInput/index.d.ts +16 -0
  230. package/v3/VwcVvdHexInput/index.js +43 -0
  231. package/v3/VwcVvdHexInput/package.json +11 -0
  232. package/v3/VwcVvdHexPicker/index.d.ts +16 -0
  233. package/v3/VwcVvdHexPicker/index.js +43 -0
  234. package/v3/VwcVvdHexPicker/package.json +11 -0
@@ -0,0 +1,116 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "",
9
+ "name": "ImagePlaceholder",
10
+ "members": [
11
+ {
12
+ "kind": "field",
13
+ "name": "fileName",
14
+ "type": {
15
+ "text": "string | undefined"
16
+ }
17
+ },
18
+ {
19
+ "kind": "field",
20
+ "name": "size",
21
+ "type": {
22
+ "text": "string | undefined"
23
+ }
24
+ },
25
+ {
26
+ "kind": "field",
27
+ "name": "errorMessage",
28
+ "type": {
29
+ "text": "string | undefined"
30
+ }
31
+ },
32
+ {
33
+ "kind": "field",
34
+ "name": "icon",
35
+ "type": {
36
+ "text": "string | undefined"
37
+ }
38
+ },
39
+ {
40
+ "kind": "field",
41
+ "name": "VIVID_VERSION",
42
+ "static": true,
43
+ "default": "__PACKAGE_VERSION__",
44
+ "description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
45
+ "type": {
46
+ "text": "string"
47
+ },
48
+ "inheritedFrom": {
49
+ "name": "VividElement",
50
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
51
+ }
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "componentName",
56
+ "type": {
57
+ "text": "string"
58
+ },
59
+ "static": true,
60
+ "description": "Core component name, without prefix",
61
+ "inheritedFrom": {
62
+ "name": "VividElement",
63
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
64
+ }
65
+ }
66
+ ],
67
+ "attributes": [
68
+ {
69
+ "name": "file-name",
70
+ "type": {
71
+ "text": "string | undefined"
72
+ },
73
+ "fieldName": "fileName"
74
+ },
75
+ {
76
+ "name": "size",
77
+ "type": {
78
+ "text": "string | undefined"
79
+ },
80
+ "fieldName": "size"
81
+ },
82
+ {
83
+ "name": "error-message",
84
+ "type": {
85
+ "text": "string | undefined"
86
+ },
87
+ "fieldName": "errorMessage"
88
+ },
89
+ {
90
+ "name": "icon",
91
+ "type": {
92
+ "text": "string | undefined"
93
+ },
94
+ "fieldName": "icon"
95
+ }
96
+ ],
97
+ "superclass": {
98
+ "name": "VividElement",
99
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
100
+ }
101
+ }
102
+ */
103
+ import wrapper from '@vonage/vivid-react-wrapper'
104
+ import { registerImagePlaceholder } from '@vonage/vivid'
105
+
106
+ registerImagePlaceholder('vvd3')
107
+
108
+ const VwcImagePlaceholder = wrapper(`vvd3-image-placeholder`, {
109
+ events: [],
110
+ attributes: [],
111
+ properties: ['fileName', 'size', 'errorMessage', 'icon', 'VIVID_VERSION', 'componentName']
112
+ })
113
+
114
+ VwcImagePlaceholder.displayName = 'VwcImagePlaceholder'
115
+
116
+ export default VwcImagePlaceholder
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-image-placeholder",
3
+ "version": "5.5.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.5.0"
10
+ }
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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.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.28.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }
@@ -1,12 +1,12 @@
1
1
  import React, { ReactNode } from 'react';
2
- /** VwcMenuBar
3
- * For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-bar
2
+ /** VwcMenubar
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/menubar
4
4
  * @param {string | undefined} menuItems **attribute** `menu-items`
5
5
  * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
6
6
  It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
7
7
  * @param {string} componentName - Core component name, without prefix
8
8
  */
9
- declare const VwcMenuBar: {
9
+ declare const VwcMenubar: {
10
10
  (props: {
11
11
  children?: ReactNode;
12
12
  slot?: string | undefined;
@@ -19,4 +19,4 @@ declare const VwcMenuBar: {
19
19
  }): JSX.Element;
20
20
  displayName: string;
21
21
  };
22
- export default VwcMenuBar;
22
+ export default VwcMenubar;
@@ -6,7 +6,7 @@ Code in this file were generated using following JSON:
6
6
  {
7
7
  "kind": "class",
8
8
  "description": "",
9
- "name": "MenuBar",
9
+ "name": "Menubar",
10
10
  "members": [
11
11
  {
12
12
  "kind": "field",
@@ -80,16 +80,14 @@ Code in this file were generated using following JSON:
80
80
  }
81
81
  */
82
82
  import wrapper from '@vonage/vivid-react-wrapper'
83
- import { registerMenuBar } from '@vonage/vivid'
84
83
 
85
- registerMenuBar('vvd3')
86
84
 
87
- const VwcMenuBar = wrapper(`vvd3-menu-bar`, {
85
+ const VwcMenubar = wrapper(`vvd3-menubar`, {
88
86
  events: [],
89
87
  attributes: [],
90
88
  properties: ['menuItems', 'VIVID_VERSION', 'componentName']
91
89
  })
92
90
 
93
- VwcMenuBar.displayName = 'VwcMenuBar'
91
+ VwcMenubar.displayName = 'VwcMenubar'
94
92
 
95
- export default VwcMenuBar
93
+ export default VwcMenubar
@@ -1,11 +1,11 @@
1
1
  {
2
- "name": "@vonage/vivid-react-vvd3-menu-bar",
3
- "version": "4.28.0",
2
+ "name": "@vonage/vivid-react-vvd3-menubar",
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.28.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.28.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.28.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.28.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.28.0"
9
+ "@vonage/vivid": "5.5.0"
10
10
  }
11
11
  }