@vonage/vivid-react 3.5.2 → 5.19.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 (604) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +99 -107
  3. package/VwcAccordion/index.d.ts +5 -5
  4. package/VwcAccordion/index.js +1 -2
  5. package/VwcAccordion/package.json +2 -2
  6. package/VwcActionGroup/index.d.ts +7 -7
  7. package/VwcActionGroup/index.js +7 -12
  8. package/VwcActionGroup/package.json +2 -2
  9. package/VwcBadge/index.d.ts +9 -9
  10. package/VwcBadge/index.js +10 -17
  11. package/VwcBadge/package.json +2 -2
  12. package/VwcBanner/index.d.ts +10 -10
  13. package/VwcBanner/index.js +8 -11
  14. package/VwcBanner/package.json +2 -2
  15. package/VwcButton/index.d.ts +15 -34
  16. package/VwcButton/index.js +15 -100
  17. package/VwcButton/package.json +2 -2
  18. package/VwcButtonToggleGroup/index.d.ts +12 -11
  19. package/VwcButtonToggleGroup/index.js +1 -1
  20. package/VwcButtonToggleGroup/package.json +2 -2
  21. package/VwcCalendar/index.d.ts +4 -4
  22. package/VwcCalendar/index.js +1 -1
  23. package/VwcCalendar/package.json +2 -2
  24. package/VwcCalendarEvent/index.d.ts +6 -6
  25. package/VwcCalendarEvent/index.js +1 -1
  26. package/VwcCalendarEvent/package.json +2 -2
  27. package/VwcCard/index.d.ts +8 -7
  28. package/VwcCard/index.js +1 -1
  29. package/VwcCard/package.json +2 -2
  30. package/VwcCarousel/index.d.ts +5 -5
  31. package/VwcCarousel/index.js +1 -1
  32. package/VwcCarousel/package.json +2 -2
  33. package/VwcCarouselItem/index.d.ts +4 -4
  34. package/VwcCarouselItem/index.js +1 -1
  35. package/VwcCarouselItem/package.json +2 -2
  36. package/VwcCheckListItem/index.d.ts +7 -32
  37. package/VwcCheckListItem/index.js +4 -112
  38. package/VwcCheckListItem/package.json +2 -2
  39. package/VwcCheckbox/index.d.ts +7 -26
  40. package/VwcCheckbox/index.js +3 -88
  41. package/VwcCheckbox/package.json +2 -2
  42. package/VwcChip/index.d.ts +12 -12
  43. package/VwcChip/index.js +2 -3
  44. package/VwcChip/package.json +2 -2
  45. package/VwcChipSet/index.d.ts +6 -5
  46. package/VwcChipSet/index.js +2 -3
  47. package/VwcChipSet/package.json +2 -2
  48. package/VwcCircularProgress/index.d.ts +5 -15
  49. package/VwcCircularProgress/index.js +3 -43
  50. package/VwcCircularProgress/package.json +2 -2
  51. package/VwcDataGrid/index.d.ts +11 -10
  52. package/VwcDataGrid/index.js +4 -5
  53. package/VwcDataGrid/package.json +2 -2
  54. package/VwcDataGridColumn/index.d.ts +13 -13
  55. package/VwcDataGridColumn/index.js +1 -1
  56. package/VwcDataGridColumn/package.json +2 -2
  57. package/VwcDatepicker/index.d.ts +8 -106
  58. package/VwcDatepicker/index.js +3 -352
  59. package/VwcDatepicker/package.json +2 -2
  60. package/VwcDropdown/index.d.ts +24 -24
  61. package/VwcDropdown/index.js +2 -2
  62. package/VwcDropdown/package.json +2 -2
  63. package/VwcElevation/index.d.ts +5 -5
  64. package/VwcElevation/index.js +1 -1
  65. package/VwcElevation/package.json +2 -2
  66. package/VwcEmptyState/index.d.ts +4 -4
  67. package/VwcEmptyState/index.js +1 -1
  68. package/VwcEmptyState/package.json +2 -2
  69. package/VwcExpansionPanel/index.d.ts +16 -16
  70. package/VwcExpansionPanel/index.js +4 -5
  71. package/VwcExpansionPanel/package.json +2 -2
  72. package/VwcFab/index.d.ts +4 -22
  73. package/VwcFab/index.js +2 -73
  74. package/VwcFab/package.json +2 -2
  75. package/VwcFilePicker/index.d.ts +10 -10
  76. package/VwcFilePicker/index.js +2 -2
  77. package/VwcFilePicker/package.json +2 -2
  78. package/VwcFormfield/index.d.ts +5 -12
  79. package/VwcFormfield/index.js +3 -35
  80. package/VwcFormfield/package.json +2 -2
  81. package/VwcHelperMessage/index.d.ts +5 -5
  82. package/VwcHelperMessage/index.js +2 -2
  83. package/VwcHelperMessage/package.json +2 -2
  84. package/VwcIcon/index.d.ts +7 -7
  85. package/VwcIcon/index.js +7 -11
  86. package/VwcIcon/package.json +2 -2
  87. package/VwcIconButton/index.d.ts +12 -17
  88. package/VwcIconButton/index.js +7 -43
  89. package/VwcIconButton/package.json +2 -2
  90. package/VwcIconButtonToggle/index.d.ts +11 -24
  91. package/VwcIconButtonToggle/index.js +9 -65
  92. package/VwcIconButtonToggle/package.json +2 -2
  93. package/VwcKeypad/index.d.ts +15 -15
  94. package/VwcKeypad/index.js +1 -1
  95. package/VwcKeypad/package.json +2 -2
  96. package/VwcLayout/index.d.ts +7 -7
  97. package/VwcLayout/index.js +14 -21
  98. package/VwcLayout/package.json +2 -2
  99. package/VwcLinearProgress/index.d.ts +5 -17
  100. package/VwcLinearProgress/index.js +4 -52
  101. package/VwcLinearProgress/package.json +2 -2
  102. package/VwcList/index.d.ts +6 -28
  103. package/VwcList/index.js +6 -113
  104. package/VwcList/package.json +2 -2
  105. package/VwcListExpansionPanel/index.d.ts +9 -7
  106. package/VwcListExpansionPanel/index.js +1 -2
  107. package/VwcListExpansionPanel/package.json +2 -2
  108. package/VwcListItem/index.d.ts +10 -31
  109. package/VwcListItem/index.js +8 -109
  110. package/VwcListItem/package.json +2 -2
  111. package/VwcMenu/index.d.ts +5 -44
  112. package/VwcMenu/index.js +5 -166
  113. package/VwcMenu/package.json +2 -2
  114. package/VwcNotchedOutline/index.d.ts +5 -8
  115. package/VwcNotchedOutline/index.js +3 -21
  116. package/VwcNotchedOutline/package.json +2 -2
  117. package/VwcNote/index.d.ts +5 -5
  118. package/VwcNote/index.js +3 -4
  119. package/VwcNote/package.json +2 -2
  120. package/VwcPagination/index.d.ts +8 -7
  121. package/VwcPagination/index.js +1 -1
  122. package/VwcPagination/package.json +2 -2
  123. package/VwcPopup/index.d.ts +9 -9
  124. package/VwcPopup/index.js +7 -12
  125. package/VwcPopup/package.json +2 -2
  126. package/VwcRadio/index.d.ts +6 -43
  127. package/VwcRadio/index.js +3 -111
  128. package/VwcRadio/package.json +2 -2
  129. package/VwcRadioListItem/index.d.ts +6 -33
  130. package/VwcRadioListItem/index.js +5 -113
  131. package/VwcRadioListItem/package.json +2 -2
  132. package/VwcSchemeSelect/index.d.ts +6 -6
  133. package/VwcSchemeSelect/index.js +8 -8
  134. package/VwcSchemeSelect/package.json +2 -2
  135. package/VwcScrubBar/index.d.ts +4 -4
  136. package/VwcScrubBar/index.js +1 -1
  137. package/VwcScrubBar/package.json +2 -2
  138. package/VwcSelect/index.d.ts +8 -46
  139. package/VwcSelect/index.js +10 -164
  140. package/VwcSelect/package.json +2 -2
  141. package/VwcSlider/index.d.ts +9 -26
  142. package/VwcSlider/index.js +3 -83
  143. package/VwcSlider/package.json +2 -2
  144. package/VwcSnackbar/index.d.ts +17 -25
  145. package/VwcSnackbar/index.js +7 -50
  146. package/VwcSnackbar/package.json +2 -2
  147. package/VwcSurface/index.d.ts +5 -34
  148. package/VwcSurface/index.js +5 -106
  149. package/VwcSurface/package.json +2 -2
  150. package/VwcSwitch/index.d.ts +8 -17
  151. package/VwcSwitch/index.js +5 -51
  152. package/VwcSwitch/package.json +2 -2
  153. package/VwcTab/index.d.ts +9 -28
  154. package/VwcTab/index.js +2 -87
  155. package/VwcTab/package.json +2 -2
  156. package/VwcTabBar/index.d.ts +7 -7
  157. package/VwcTabBar/index.js +3 -15
  158. package/VwcTabBar/package.json +2 -2
  159. package/VwcTag/index.d.ts +13 -13
  160. package/VwcTag/index.js +12 -16
  161. package/VwcTag/package.json +2 -2
  162. package/VwcText/index.d.ts +7 -7
  163. package/VwcText/index.js +7 -12
  164. package/VwcText/package.json +2 -2
  165. package/VwcTextarea/index.d.ts +12 -81
  166. package/VwcTextarea/index.js +3 -268
  167. package/VwcTextarea/package.json +2 -2
  168. package/VwcTextfield/index.d.ts +15 -72
  169. package/VwcTextfield/index.js +7 -244
  170. package/VwcTextfield/package.json +2 -2
  171. package/VwcThemeSwitch/index.d.ts +5 -5
  172. package/VwcThemeSwitch/index.js +4 -7
  173. package/VwcThemeSwitch/package.json +2 -2
  174. package/VwcTooltip/index.d.ts +9 -9
  175. package/VwcTooltip/index.js +6 -9
  176. package/VwcTooltip/package.json +2 -2
  177. package/VwcTopAppBar/index.d.ts +5 -13
  178. package/VwcTopAppBar/index.js +3 -31
  179. package/VwcTopAppBar/package.json +2 -2
  180. package/VwcTopAppBarFixed/index.d.ts +5 -13
  181. package/VwcTopAppBarFixed/index.js +3 -31
  182. package/VwcTopAppBarFixed/package.json +2 -2
  183. package/index.js +27 -324
  184. package/package.json +103 -119
  185. package/testing/component.mock.js +2 -2
  186. package/types/index.d.ts +296 -78
  187. package/v3/VwcAccordion/index.d.ts +13 -13
  188. package/v3/VwcAccordion/index.js +3 -3
  189. package/v3/VwcAccordion/package.json +2 -2
  190. package/v3/VwcAccordionItem/index.d.ts +20 -16
  191. package/v3/VwcAccordionItem/index.js +88 -4
  192. package/v3/VwcAccordionItem/package.json +2 -2
  193. package/v3/VwcActionGroup/index.d.ts +11 -13
  194. package/v3/VwcActionGroup/index.js +6 -18
  195. package/v3/VwcActionGroup/package.json +2 -2
  196. package/v3/VwcAlert/index.d.ts +20 -19
  197. package/v3/VwcAlert/index.js +32 -27
  198. package/v3/VwcAlert/package.json +2 -2
  199. package/v3/VwcAriaBindingDirective/index.d.ts +19 -0
  200. package/v3/VwcAriaBindingDirective/index.js +71 -0
  201. package/v3/{VwcDelegateAriaBehavior → VwcAriaBindingDirective}/package.json +3 -3
  202. package/v3/VwcAudioPlayer/index.d.ts +30 -28
  203. package/v3/VwcAudioPlayer/index.js +89 -13
  204. package/v3/VwcAudioPlayer/package.json +2 -2
  205. package/v3/VwcAvatar/index.d.ts +28 -30
  206. package/v3/VwcAvatar/index.js +15 -26
  207. package/v3/VwcAvatar/package.json +2 -2
  208. package/v3/VwcBadge/index.d.ts +20 -19
  209. package/v3/VwcBadge/index.js +13 -13
  210. package/v3/VwcBadge/package.json +2 -2
  211. package/v3/VwcBanner/index.d.ts +13 -18
  212. package/v3/VwcBanner/index.js +33 -44
  213. package/v3/VwcBanner/package.json +2 -2
  214. package/v3/VwcBaseProgress/index.d.ts +10 -10
  215. package/v3/VwcBaseProgress/index.js +1 -1
  216. package/v3/VwcBaseProgress/package.json +2 -2
  217. package/v3/VwcBreadcrumb/index.d.ts +6 -8
  218. package/v3/VwcBreadcrumb/index.js +2 -14
  219. package/v3/VwcBreadcrumb/package.json +2 -2
  220. package/v3/VwcBreadcrumbItem/index.d.ts +16 -18
  221. package/v3/VwcBreadcrumbItem/index.js +2 -14
  222. package/v3/VwcBreadcrumbItem/package.json +2 -2
  223. package/v3/VwcButton/index.d.ts +46 -44
  224. package/v3/VwcButton/index.js +92 -16
  225. package/v3/VwcButton/package.json +2 -2
  226. package/v3/VwcCalendar/index.d.ts +17 -28
  227. package/v3/VwcCalendar/index.js +11 -23
  228. package/v3/VwcCalendar/package.json +2 -2
  229. package/v3/VwcCalendarEvent/index.d.ts +20 -22
  230. package/v3/VwcCalendarEvent/index.js +16 -28
  231. package/v3/VwcCalendarEvent/package.json +2 -2
  232. package/v3/VwcCard/index.d.ts +28 -37
  233. package/v3/VwcCard/index.js +31 -40
  234. package/v3/VwcCard/package.json +2 -2
  235. package/v3/VwcCheckbox/index.d.ts +31 -32
  236. package/v3/VwcCheckbox/index.js +55 -20
  237. package/v3/VwcCheckbox/package.json +2 -2
  238. package/v3/VwcColorPicker/index.d.ts +60 -0
  239. package/v3/VwcColorPicker/index.js +647 -0
  240. package/v3/{VwcImagePlaceholder → VwcColorPicker}/package.json +3 -3
  241. package/v3/VwcCombobox/index.d.ts +40 -42
  242. package/v3/VwcCombobox/index.js +136 -29
  243. package/v3/VwcCombobox/package.json +2 -2
  244. package/v3/VwcContextualHelp/index.d.ts +22 -0
  245. package/v3/VwcContextualHelp/index.js +131 -0
  246. package/v3/{VwcProseMirrorFacade → VwcContextualHelp}/package.json +3 -3
  247. package/v3/VwcCountry/index.d.ts +27 -0
  248. package/v3/VwcCountry/index.js +104 -0
  249. package/v3/{VwcMenubar → VwcCountry}/package.json +3 -3
  250. package/v3/VwcCountryGroup/index.d.ts +28 -0
  251. package/v3/VwcCountryGroup/index.js +268 -0
  252. package/v3/VwcCountryGroup/package.json +11 -0
  253. package/v3/VwcDataGrid/index.d.ts +31 -38
  254. package/v3/VwcDataGrid/index.js +18 -39
  255. package/v3/VwcDataGrid/package.json +2 -2
  256. package/v3/VwcDataGridCell/index.d.ts +20 -20
  257. package/v3/VwcDataGridCell/index.js +9 -76
  258. package/v3/VwcDataGridCell/package.json +2 -2
  259. package/v3/VwcDataGridRow/index.d.ts +18 -18
  260. package/v3/VwcDataGridRow/index.js +9 -72
  261. package/v3/VwcDataGridRow/package.json +2 -2
  262. package/v3/VwcDatePicker/index.d.ts +26 -22
  263. package/v3/VwcDatePicker/index.js +43 -4
  264. package/v3/VwcDatePicker/package.json +2 -2
  265. package/v3/VwcDateRangePicker/index.d.ts +34 -30
  266. package/v3/VwcDateRangePicker/index.js +50 -5
  267. package/v3/VwcDateRangePicker/package.json +2 -2
  268. package/v3/VwcDateTimePicker/index.d.ts +38 -36
  269. package/v3/VwcDateTimePicker/index.js +56 -37
  270. package/v3/VwcDateTimePicker/package.json +2 -2
  271. package/v3/VwcDialPad/index.d.ts +126 -108
  272. package/v3/VwcDialPad/index.js +74 -30
  273. package/v3/VwcDialPad/package.json +2 -2
  274. package/v3/VwcDialog/index.d.ts +29 -31
  275. package/v3/VwcDialog/index.js +64 -31
  276. package/v3/VwcDialog/package.json +2 -2
  277. package/v3/VwcDivider/index.d.ts +10 -12
  278. package/v3/VwcDivider/index.js +3 -23
  279. package/v3/VwcDivider/package.json +2 -2
  280. package/v3/VwcElevation/index.d.ts +9 -9
  281. package/v3/VwcElevation/index.js +1 -1
  282. package/v3/VwcElevation/package.json +2 -2
  283. package/v3/VwcEmptyState/index.d.ts +14 -13
  284. package/v3/VwcEmptyState/index.js +35 -6
  285. package/v3/VwcEmptyState/package.json +2 -2
  286. package/v3/VwcFab/index.d.ts +31 -32
  287. package/v3/VwcFab/index.js +39 -22
  288. package/v3/VwcFab/package.json +2 -2
  289. package/v3/VwcFeatureState/index.d.ts +17 -0
  290. package/v3/VwcFeatureState/index.js +70 -0
  291. package/v3/VwcFeatureState/package.json +11 -0
  292. package/v3/VwcFeedbackMessage/index.d.ts +7 -11
  293. package/v3/VwcFeedbackMessage/index.js +2 -26
  294. package/v3/VwcFeedbackMessage/package.json +2 -2
  295. package/v3/VwcFilePicker/index.d.ts +34 -38
  296. package/v3/VwcFilePicker/index.js +70 -315
  297. package/v3/VwcFilePicker/package.json +2 -2
  298. package/v3/VwcFlag/index.d.ts +38 -0
  299. package/v3/VwcFlag/index.js +146 -0
  300. package/v3/VwcFlag/package.json +11 -0
  301. package/v3/VwcHeader/index.d.ts +8 -10
  302. package/v3/VwcHeader/index.js +2 -14
  303. package/v3/VwcHeader/package.json +2 -2
  304. package/v3/VwcIcon/index.d.ts +12 -13
  305. package/v3/VwcIcon/index.js +21 -17
  306. package/v3/VwcIcon/package.json +2 -2
  307. package/v3/VwcInlineTimePicker/index.d.ts +13 -17
  308. package/v3/VwcInlineTimePicker/index.js +2 -26
  309. package/v3/VwcInlineTimePicker/package.json +2 -2
  310. package/v3/VwcLayout/index.d.ts +15 -15
  311. package/v3/VwcLayout/index.js +9 -9
  312. package/v3/VwcLayout/package.json +2 -2
  313. package/v3/VwcListbox/index.d.ts +11 -11
  314. package/v3/VwcListbox/index.js +62 -1
  315. package/v3/VwcListbox/package.json +2 -2
  316. package/v3/VwcMenu/index.d.ts +21 -25
  317. package/v3/VwcMenu/index.js +60 -36
  318. package/v3/VwcMenu/package.json +2 -2
  319. package/v3/VwcMenuItem/index.d.ts +30 -32
  320. package/v3/VwcMenuItem/index.js +68 -45
  321. package/v3/VwcMenuItem/package.json +2 -2
  322. package/v3/VwcNav/index.d.ts +6 -8
  323. package/v3/VwcNav/index.js +2 -14
  324. package/v3/VwcNav/package.json +2 -2
  325. package/v3/VwcNavDisclosure/index.d.ts +16 -17
  326. package/v3/VwcNavDisclosure/index.js +69 -16
  327. package/v3/VwcNavDisclosure/package.json +2 -2
  328. package/v3/VwcNavItem/index.d.ts +22 -23
  329. package/v3/VwcNavItem/index.js +48 -16
  330. package/v3/VwcNavItem/package.json +2 -2
  331. package/v3/VwcNote/index.d.ts +12 -11
  332. package/v3/VwcNote/index.js +5 -5
  333. package/v3/VwcNote/package.json +2 -2
  334. package/v3/VwcNumberField/index.d.ts +40 -39
  335. package/v3/VwcNumberField/index.js +76 -18
  336. package/v3/VwcNumberField/package.json +2 -2
  337. package/v3/VwcOption/index.d.ts +32 -29
  338. package/v3/VwcOption/index.js +105 -26
  339. package/v3/VwcOption/package.json +2 -2
  340. package/v3/VwcOptionTag/index.d.ts +14 -12
  341. package/v3/VwcOptionTag/index.js +14 -4
  342. package/v3/VwcOptionTag/package.json +2 -2
  343. package/v3/VwcPagination/index.d.ts +12 -18
  344. package/v3/VwcPagination/index.js +68 -78
  345. package/v3/VwcPagination/package.json +2 -2
  346. package/v3/VwcPickerField/index.d.ts +19 -21
  347. package/v3/VwcPickerField/index.js +59 -27
  348. package/v3/VwcPickerField/package.json +2 -2
  349. package/v3/VwcPopover/index.d.ts +34 -0
  350. package/v3/VwcPopover/index.js +179 -0
  351. package/v3/VwcPopover/package.json +11 -0
  352. package/v3/VwcPopup/index.d.ts +18 -18
  353. package/v3/VwcPopup/index.js +1 -1
  354. package/v3/VwcPopup/package.json +2 -2
  355. package/v3/VwcProgress/index.d.ts +16 -18
  356. package/v3/VwcProgress/index.js +8 -20
  357. package/v3/VwcProgress/package.json +2 -2
  358. package/v3/VwcProgressRing/index.d.ts +12 -14
  359. package/v3/VwcProgressRing/index.js +2 -14
  360. package/v3/VwcProgressRing/package.json +2 -2
  361. package/v3/VwcRadio/index.d.ts +24 -25
  362. package/v3/VwcRadio/index.js +39 -18
  363. package/v3/VwcRadio/package.json +2 -2
  364. package/v3/VwcRadioGroup/index.d.ts +21 -20
  365. package/v3/VwcRadioGroup/index.js +9 -9
  366. package/v3/VwcRadioGroup/package.json +2 -2
  367. package/v3/VwcRangeSlider/index.d.ts +38 -36
  368. package/v3/VwcRangeSlider/index.js +83 -3
  369. package/v3/VwcRangeSlider/package.json +2 -2
  370. package/v3/VwcRichTextEditor/index.d.ts +10 -14
  371. package/v3/VwcRichTextEditor/index.js +64 -148
  372. package/v3/VwcRichTextEditor/package.json +2 -2
  373. package/v3/VwcRichTextView/index.d.ts +22 -0
  374. package/v3/VwcRichTextView/index.js +195 -0
  375. package/v3/VwcRichTextView/package.json +11 -0
  376. package/v3/VwcRteAlignmentFeatureImpl/index.d.ts +20 -0
  377. package/v3/VwcRteAlignmentFeatureImpl/index.js +283 -0
  378. package/v3/VwcRteAlignmentFeatureImpl/package.json +11 -0
  379. package/v3/VwcRteBaseImpl/index.d.ts +20 -0
  380. package/v3/VwcRteBaseImpl/index.js +249 -0
  381. package/v3/VwcRteBaseImpl/package.json +11 -0
  382. package/v3/VwcRteBasicTextBlocksImpl/index.d.ts +20 -0
  383. package/v3/VwcRteBasicTextBlocksImpl/index.js +284 -0
  384. package/v3/VwcRteBasicTextBlocksImpl/package.json +11 -0
  385. package/v3/VwcRteBoldFeatureImpl/index.d.ts +20 -0
  386. package/v3/VwcRteBoldFeatureImpl/index.js +262 -0
  387. package/v3/VwcRteBoldFeatureImpl/package.json +11 -0
  388. package/v3/VwcRteCharacterCountFeatureImpl/index.d.ts +20 -0
  389. package/v3/VwcRteCharacterCountFeatureImpl/index.js +249 -0
  390. package/v3/VwcRteCharacterCountFeatureImpl/package.json +11 -0
  391. package/v3/VwcRteConfig/index.d.ts +17 -0
  392. package/v3/VwcRteConfig/index.js +73 -0
  393. package/v3/VwcRteConfig/package.json +11 -0
  394. package/v3/VwcRteConfigImpl/index.d.ts +27 -0
  395. package/v3/VwcRteConfigImpl/index.js +74 -0
  396. package/v3/VwcRteConfigImpl/package.json +11 -0
  397. package/v3/VwcRteCoreImpl/index.d.ts +22 -0
  398. package/v3/VwcRteCoreImpl/index.js +254 -0
  399. package/v3/VwcRteCoreImpl/package.json +11 -0
  400. package/v3/VwcRteCursorFixFeatureImpl/index.d.ts +20 -0
  401. package/v3/VwcRteCursorFixFeatureImpl/index.js +249 -0
  402. package/v3/VwcRteCursorFixFeatureImpl/package.json +11 -0
  403. package/v3/VwcRteDropHandlerFeatureImpl/index.d.ts +20 -0
  404. package/v3/VwcRteDropHandlerFeatureImpl/index.js +249 -0
  405. package/v3/VwcRteDropHandlerFeatureImpl/package.json +11 -0
  406. package/v3/VwcRteFeature/index.d.ts +16 -0
  407. package/v3/VwcRteFeature/index.js +25 -0
  408. package/v3/VwcRteFeature/package.json +11 -0
  409. package/v3/VwcRteFeatureImpl/index.d.ts +20 -0
  410. package/v3/VwcRteFeatureImpl/index.js +196 -0
  411. package/v3/VwcRteFeatureImpl/package.json +11 -0
  412. package/v3/VwcRteFileHandlerFeatureImpl/index.d.ts +20 -0
  413. package/v3/VwcRteFileHandlerFeatureImpl/index.js +249 -0
  414. package/v3/VwcRteFileHandlerFeatureImpl/package.json +11 -0
  415. package/v3/VwcRteFontSizePickerFeatureImpl/index.d.ts +24 -0
  416. package/v3/VwcRteFontSizePickerFeatureImpl/index.js +314 -0
  417. package/v3/VwcRteFontSizePickerFeatureImpl/package.json +11 -0
  418. package/v3/VwcRteForeignHtmlFeatureImpl/index.d.ts +20 -0
  419. package/v3/VwcRteForeignHtmlFeatureImpl/index.js +249 -0
  420. package/v3/VwcRteForeignHtmlFeatureImpl/package.json +11 -0
  421. package/v3/VwcRteHardBreakFeatureImpl/index.d.ts +20 -0
  422. package/v3/VwcRteHardBreakFeatureImpl/index.js +249 -0
  423. package/v3/VwcRteHardBreakFeatureImpl/package.json +11 -0
  424. package/v3/VwcRteHistoryFeatureImpl/index.d.ts +20 -0
  425. package/v3/VwcRteHistoryFeatureImpl/index.js +249 -0
  426. package/v3/VwcRteHistoryFeatureImpl/package.json +11 -0
  427. package/v3/VwcRteHtmlParser/index.d.ts +17 -0
  428. package/v3/VwcRteHtmlParser/index.js +106 -0
  429. package/v3/VwcRteHtmlParser/package.json +11 -0
  430. package/v3/VwcRteHtmlSerializer/index.d.ts +17 -0
  431. package/v3/VwcRteHtmlSerializer/index.js +81 -0
  432. package/v3/VwcRteHtmlSerializer/package.json +11 -0
  433. package/v3/VwcRteHtmlSerializerImpl/index.d.ts +17 -0
  434. package/v3/VwcRteHtmlSerializerImpl/index.js +77 -0
  435. package/v3/VwcRteHtmlSerializerImpl/package.json +11 -0
  436. package/v3/VwcRteInlineImageFeatureImpl/index.d.ts +20 -0
  437. package/v3/VwcRteInlineImageFeatureImpl/index.js +307 -0
  438. package/v3/VwcRteInlineImageFeatureImpl/package.json +11 -0
  439. package/v3/VwcRteInputRulesFeatureImpl/index.d.ts +20 -0
  440. package/v3/VwcRteInputRulesFeatureImpl/index.js +249 -0
  441. package/v3/VwcRteInputRulesFeatureImpl/package.json +11 -0
  442. package/v3/VwcRteInstance/index.d.ts +19 -0
  443. package/v3/VwcRteInstance/index.js +103 -0
  444. package/v3/VwcRteInstance/package.json +11 -0
  445. package/v3/VwcRteInstanceImpl/index.d.ts +21 -0
  446. package/v3/VwcRteInstanceImpl/index.js +249 -0
  447. package/v3/VwcRteInstanceImpl/package.json +11 -0
  448. package/v3/VwcRteItalicFeatureImpl/index.d.ts +20 -0
  449. package/v3/VwcRteItalicFeatureImpl/index.js +262 -0
  450. package/v3/VwcRteItalicFeatureImpl/package.json +11 -0
  451. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.d.ts +20 -0
  452. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.js +249 -0
  453. package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +11 -0
  454. package/v3/VwcRteLinkFeatureImpl/index.d.ts +22 -0
  455. package/v3/VwcRteLinkFeatureImpl/index.js +310 -0
  456. package/v3/VwcRteLinkFeatureImpl/package.json +11 -0
  457. package/v3/VwcRteListFeatureImpl/index.d.ts +20 -0
  458. package/v3/VwcRteListFeatureImpl/index.js +286 -0
  459. package/v3/VwcRteListFeatureImpl/package.json +11 -0
  460. package/v3/VwcRteMonospaceFeatureImpl/index.d.ts +20 -0
  461. package/v3/VwcRteMonospaceFeatureImpl/index.js +262 -0
  462. package/v3/VwcRteMonospaceFeatureImpl/package.json +11 -0
  463. package/v3/VwcRtePlaceholderFeatureImpl/index.d.ts +20 -0
  464. package/v3/VwcRtePlaceholderFeatureImpl/index.js +249 -0
  465. package/v3/VwcRtePlaceholderFeatureImpl/package.json +11 -0
  466. package/v3/VwcRteStrikethroughFeatureImpl/index.d.ts +20 -0
  467. package/v3/VwcRteStrikethroughFeatureImpl/index.js +262 -0
  468. package/v3/VwcRteStrikethroughFeatureImpl/package.json +11 -0
  469. package/v3/VwcRteTextBlockPickerFeatureImpl/index.d.ts +20 -0
  470. package/v3/VwcRteTextBlockPickerFeatureImpl/index.js +249 -0
  471. package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +11 -0
  472. package/v3/VwcRteTextColorPickerFeatureImpl/index.d.ts +22 -0
  473. package/v3/VwcRteTextColorPickerFeatureImpl/index.js +290 -0
  474. package/v3/VwcRteTextColorPickerFeatureImpl/package.json +11 -0
  475. package/v3/VwcRteTextStyleFeatureImpl/index.d.ts +20 -0
  476. package/v3/VwcRteTextStyleFeatureImpl/index.js +256 -0
  477. package/v3/VwcRteTextStyleFeatureImpl/package.json +11 -0
  478. package/v3/VwcRteToolbarFeatureImpl/index.d.ts +22 -0
  479. package/v3/VwcRteToolbarFeatureImpl/index.js +254 -0
  480. package/v3/VwcRteToolbarFeatureImpl/package.json +11 -0
  481. package/v3/VwcRteUnderlineFeatureImpl/index.d.ts +20 -0
  482. package/v3/VwcRteUnderlineFeatureImpl/index.js +262 -0
  483. package/v3/VwcRteUnderlineFeatureImpl/package.json +11 -0
  484. package/v3/VwcSearchableSelect/index.d.ts +52 -46
  485. package/v3/VwcSearchableSelect/index.js +123 -25
  486. package/v3/VwcSearchableSelect/package.json +2 -2
  487. package/v3/VwcSelect/index.d.ts +43 -41
  488. package/v3/VwcSelect/index.js +130 -31
  489. package/v3/VwcSelect/package.json +2 -2
  490. package/v3/VwcSelectableBox/index.d.ts +21 -21
  491. package/v3/VwcSelectableBox/index.js +90 -37
  492. package/v3/VwcSelectableBox/package.json +2 -2
  493. package/v3/VwcSideDrawer/index.d.ts +13 -13
  494. package/v3/VwcSideDrawer/index.js +1 -1
  495. package/v3/VwcSideDrawer/package.json +2 -2
  496. package/v3/VwcSimpleColorPicker/index.d.ts +49 -0
  497. package/v3/VwcSimpleColorPicker/index.js +508 -0
  498. package/v3/VwcSimpleColorPicker/package.json +11 -0
  499. package/v3/VwcSlider/index.d.ts +27 -28
  500. package/v3/VwcSlider/index.js +62 -17
  501. package/v3/VwcSlider/package.json +2 -2
  502. package/v3/VwcSplitButton/index.d.ts +29 -32
  503. package/v3/VwcSplitButton/index.js +81 -30
  504. package/v3/VwcSplitButton/package.json +2 -2
  505. package/v3/VwcStatus/index.d.ts +27 -0
  506. package/v3/VwcStatus/index.js +189 -0
  507. package/v3/VwcStatus/package.json +11 -0
  508. package/v3/VwcSwitch/index.d.ts +25 -26
  509. package/v3/VwcSwitch/index.js +57 -18
  510. package/v3/VwcSwitch/package.json +2 -2
  511. package/v3/VwcTab/index.d.ts +17 -18
  512. package/v3/VwcTab/index.js +48 -40
  513. package/v3/VwcTab/package.json +2 -2
  514. package/v3/VwcTabPanel/index.d.ts +6 -8
  515. package/v3/VwcTabPanel/index.js +2 -14
  516. package/v3/VwcTabPanel/package.json +2 -2
  517. package/v3/VwcTable/index.d.ts +20 -0
  518. package/v3/{VwcMenubar → VwcTable}/index.js +23 -48
  519. package/v3/VwcTable/package.json +11 -0
  520. package/v3/VwcTableBody/index.d.ts +20 -0
  521. package/v3/VwcTableBody/index.js +68 -0
  522. package/v3/VwcTableBody/package.json +11 -0
  523. package/v3/VwcTableCell/index.d.ts +21 -0
  524. package/v3/VwcTableCell/index.js +149 -0
  525. package/v3/VwcTableCell/package.json +11 -0
  526. package/v3/VwcTableHead/index.d.ts +20 -0
  527. package/v3/VwcTableHead/index.js +68 -0
  528. package/v3/VwcTableHead/package.json +11 -0
  529. package/v3/VwcTableHeaderCell/index.d.ts +21 -0
  530. package/v3/VwcTableHeaderCell/index.js +166 -0
  531. package/v3/VwcTableHeaderCell/package.json +11 -0
  532. package/v3/VwcTableRow/index.d.ts +20 -0
  533. package/v3/VwcTableRow/index.js +140 -0
  534. package/v3/VwcTableRow/package.json +11 -0
  535. package/v3/VwcTableSortingButton/index.d.ts +23 -0
  536. package/v3/VwcTableSortingButton/index.js +112 -0
  537. package/v3/VwcTableSortingButton/package.json +11 -0
  538. package/v3/VwcTabs/index.d.ts +19 -20
  539. package/v3/VwcTabs/index.js +19 -18
  540. package/v3/VwcTabs/package.json +2 -2
  541. package/v3/VwcTag/index.d.ts +19 -20
  542. package/v3/VwcTag/index.js +318 -41
  543. package/v3/VwcTag/package.json +2 -2
  544. package/v3/VwcTagGroup/index.d.ts +6 -8
  545. package/v3/VwcTagGroup/index.js +2 -14
  546. package/v3/VwcTagGroup/package.json +2 -2
  547. package/v3/VwcTextArea/index.d.ts +33 -34
  548. package/v3/VwcTextArea/index.js +46 -17
  549. package/v3/VwcTextArea/package.json +2 -2
  550. package/v3/VwcTextField/index.d.ts +51 -50
  551. package/v3/VwcTextField/index.js +69 -40
  552. package/v3/VwcTextField/package.json +2 -2
  553. package/v3/VwcTextblockAttrs/index.d.ts +17 -0
  554. package/v3/VwcTextblockAttrs/index.js +95 -0
  555. package/v3/VwcTextblockAttrs/package.json +11 -0
  556. package/v3/VwcTextblockMarks/index.d.ts +16 -0
  557. package/v3/VwcTextblockMarks/index.js +53 -0
  558. package/v3/VwcTextblockMarks/package.json +11 -0
  559. package/v3/VwcTimePicker/index.d.ts +30 -28
  560. package/v3/VwcTimePicker/index.js +48 -9
  561. package/v3/VwcTimePicker/package.json +2 -2
  562. package/v3/VwcToggletip/index.d.ts +15 -15
  563. package/v3/VwcToggletip/index.js +44 -35
  564. package/v3/VwcToggletip/package.json +2 -2
  565. package/v3/VwcTooltip/index.d.ts +11 -12
  566. package/v3/VwcTooltip/index.js +31 -3
  567. package/v3/VwcTooltip/package.json +2 -2
  568. package/v3/VwcTreeItem/index.d.ts +15 -16
  569. package/v3/VwcTreeItem/index.js +4 -34
  570. package/v3/VwcTreeItem/package.json +2 -2
  571. package/v3/VwcTreeView/index.d.ts +9 -12
  572. package/v3/VwcTreeView/index.js +4 -25
  573. package/v3/VwcTreeView/package.json +2 -2
  574. package/v3/VwcUiCtx/index.d.ts +16 -0
  575. package/v3/VwcUiCtx/index.js +108 -0
  576. package/v3/VwcUiCtx/package.json +11 -0
  577. package/v3/VwcVideoPlayer/index.d.ts +21 -21
  578. package/v3/VwcVideoPlayer/index.js +13 -13
  579. package/v3/VwcVideoPlayer/package.json +2 -2
  580. package/v3/VwcVisuallyHidden/index.d.ts +6 -6
  581. package/v3/VwcVisuallyHidden/index.js +1 -1
  582. package/v3/VwcVisuallyHidden/package.json +2 -2
  583. package/v3/VwcVividElement/index.d.ts +6 -10
  584. package/v3/VwcVividElement/index.js +37 -26
  585. package/v3/VwcVividElement/package.json +2 -2
  586. package/v3/VwcVividFoundationButton/index.d.ts +21 -23
  587. package/v3/VwcVividFoundationButton/index.js +2 -14
  588. package/v3/VwcVividFoundationButton/package.json +2 -2
  589. package/v3/VwcVvdHexInput/index.d.ts +16 -0
  590. package/v3/VwcVvdHexInput/index.js +43 -0
  591. package/v3/VwcVvdHexInput/package.json +11 -0
  592. package/v3/VwcVvdHexPicker/index.d.ts +16 -0
  593. package/v3/VwcVvdHexPicker/index.js +43 -0
  594. package/v3/VwcVvdHexPicker/package.json +11 -0
  595. package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
  596. package/v3/VwcDelegateAriaBehavior/index.js +0 -208
  597. package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
  598. package/v3/VwcHostSemanticsBehavior/index.js +0 -107
  599. package/v3/VwcHostSemanticsBehavior/package.json +0 -11
  600. package/v3/VwcImagePlaceholder/index.d.ts +0 -28
  601. package/v3/VwcImagePlaceholder/index.js +0 -116
  602. package/v3/VwcMenubar/index.d.ts +0 -22
  603. package/v3/VwcProseMirrorFacade/index.d.ts +0 -16
  604. package/v3/VwcProseMirrorFacade/index.js +0 -244
@@ -69,6 +69,24 @@ Code in this file were generated using following JSON:
69
69
  ],
70
70
  "privacy": "public"
71
71
  },
72
+ {
73
+ "kind": "method",
74
+ "name": "_validSelectedIndex",
75
+ "privacy": "protected",
76
+ "return": {
77
+ "type": {
78
+ "text": "number"
79
+ }
80
+ },
81
+ "parameters": [
82
+ {
83
+ "name": "index",
84
+ "type": {
85
+ "text": "number"
86
+ }
87
+ }
88
+ ]
89
+ },
72
90
  {
73
91
  "kind": "method",
74
92
  "name": "selectFirstOption",
@@ -80,6 +98,49 @@ Code in this file were generated using following JSON:
80
98
  "description": "Moves focus to the first selectable option.",
81
99
  "privacy": "public"
82
100
  },
101
+ {
102
+ "kind": "method",
103
+ "name": "_newDefaultSelectedIndex",
104
+ "privacy": "protected",
105
+ "return": {
106
+ "type": {
107
+ "text": "number | null"
108
+ }
109
+ },
110
+ "parameters": [
111
+ {
112
+ "name": "prev",
113
+ "type": {
114
+ "text": "ListboxOption[]"
115
+ }
116
+ },
117
+ {
118
+ "name": "next",
119
+ "type": {
120
+ "text": "ListboxOption[]"
121
+ }
122
+ },
123
+ {
124
+ "name": "currentSelectedIndex",
125
+ "type": {
126
+ "text": "number"
127
+ }
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "_isDefaultSelected",
134
+ "privacy": "protected",
135
+ "parameters": [
136
+ {
137
+ "name": "option",
138
+ "type": {
139
+ "text": "ListboxOption"
140
+ }
141
+ }
142
+ ]
143
+ },
83
144
  {
84
145
  "kind": "method",
85
146
  "name": "setSelectedOptions",
@@ -130,7 +191,7 @@ Code in this file were generated using following JSON:
130
191
  }
131
192
  }
132
193
  */
133
- import wrapper from '@vonage/vivid-react-wrapper'
194
+ import wrapper from '@repo/react-component-wrapper'
134
195
  import { registerListbox } from '@vonage/vivid'
135
196
 
136
197
  registerListbox('vvd3')
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-listbox",
3
- "version": "4.29.0",
3
+ "version": "5.19.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.19.0"
10
10
  }
11
11
  }
@@ -1,15 +1,13 @@
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 {Placement | undefined} placement - placement of the menu **attribute** `placement`
5
- * @param {'auto' | 'legacy' | 'off' | undefined} trigger - Controls how the menu opens and closes itself. **attribute** `trigger`
6
- * @param {boolean} autoDismiss - indicates whether the menu will automatically close when focus moves away from it. **attribute** `auto-dismiss`
7
- * @param {Strategy | undefined} positionStrategy - The strategy-absolute attribute. **attribute** `position-strategy`
8
- * @param {boolean} open - indicates whether the menu is open **attribute** `open`
9
- * @param _onFocusout
10
- * @param {HTMLElement[] | undefined} actionItemsSlottedContent
4
+ * @param {number | null} offset - Adds offset to the popup **attribute** `offset`
5
+ * @param {Placement | undefined} placement - Sets the desired position of the Menu relative to it's anchor element **attribute** `placement`
6
+ * @param {'auto' | 'legacy' | 'off' | undefined} trigger - Sets trigger method of Menu **attribute** `trigger`
7
+ * @param {boolean} autoDismiss - Sets the Menu to close when focus is lost **attribute** `auto-dismiss`
8
+ * @param {Strategy | undefined} positionStrategy - Sets the position strategy **attribute** `position-strategy`
9
+ * @param {boolean} open - Sets the open state of the Menu **attribute** `open`
11
10
  * @param {AnchorType | undefined} anchor - ID or direct reference to the component's anchor element. **attribute** `anchor`
12
- * @param {'delegate'} _vividAriaBehaviour
13
11
  * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
14
12
  It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
15
13
  * @param {string} componentName - Core component name, without prefix
@@ -17,23 +15,21 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
17
15
  declare const VwcMenu: {
18
16
  (props: {
19
17
  children?: ReactNode;
20
- slot?: string | undefined;
21
- id?: string | undefined;
22
- style?: React.CSSProperties | undefined;
23
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
24
- onOpen?: ((event: SyntheticEvent) => void) | undefined;
25
- onClose?: ((event: SyntheticEvent) => void) | undefined;
26
- placement?: any;
27
- trigger?: any;
28
- autoDismiss?: boolean | undefined;
29
- positionStrategy?: any;
30
- open?: boolean | undefined;
31
- _onFocusout?: any;
32
- actionItemsSlottedContent?: any;
33
- anchor?: any;
34
- _vividAriaBehaviour?: any;
35
- VIVID_VERSION?: string | undefined;
36
- componentName?: string | undefined;
18
+ slot?: string;
19
+ id?: string;
20
+ style?: React.CSSProperties;
21
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
22
+ onOpen?: (event: SyntheticEvent) => void;
23
+ onClose?: (event: SyntheticEvent) => void;
24
+ "offset"?: number;
25
+ "placement"?: any;
26
+ "trigger"?: any;
27
+ "autoDismiss"?: boolean;
28
+ "positionStrategy"?: any;
29
+ "open"?: boolean;
30
+ "anchor"?: any;
31
+ "VIVID_VERSION"?: string;
32
+ "componentName"?: string;
37
33
  }): JSX.Element;
38
34
  displayName: string;
39
35
  };
@@ -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",
@@ -61,7 +71,7 @@ Code in this file were generated using following JSON:
61
71
  "text": "void"
62
72
  }
63
73
  },
64
- "description": "Moves focus into the menu. If there is a child with the `autofocus` attribute, it will be focused.\nOtherwise, the first focusable child will be focused.",
74
+ "description": "Moves focus into the Menu. If there is a child with the `autofocus` attribute, it will be\nfocused. Otherwise, the first Menu Item will be focused.",
65
75
  "privacy": "public"
66
76
  },
67
77
  {
@@ -131,7 +141,7 @@ Code in this file were generated using following JSON:
131
141
  "text": "Placement | undefined"
132
142
  },
133
143
  "default": "'bottom'",
134
- "description": "placement of the menu",
144
+ "description": "Sets the desired position of the Menu relative to it's anchor element",
135
145
  "privacy": "public"
136
146
  },
137
147
  {
@@ -140,7 +150,7 @@ Code in this file were generated using following JSON:
140
150
  "type": {
141
151
  "text": "'auto' | 'legacy' | 'off' | undefined"
142
152
  },
143
- "description": "Controls how the menu opens and closes itself.",
153
+ "description": "Sets trigger method of Menu",
144
154
  "privacy": "public"
145
155
  },
146
156
  {
@@ -159,7 +169,7 @@ Code in this file were generated using following JSON:
159
169
  "text": "boolean"
160
170
  },
161
171
  "default": "false",
162
- "description": "indicates whether the menu will automatically close when focus moves away from it.",
172
+ "description": "Sets the Menu to close when focus is lost",
163
173
  "privacy": "public"
164
174
  },
165
175
  {
@@ -169,7 +179,7 @@ Code in this file were generated using following JSON:
169
179
  "text": "Strategy | undefined"
170
180
  },
171
181
  "default": "'fixed'",
172
- "description": "The strategy-absolute attribute.",
182
+ "description": "Sets the position strategy",
173
183
  "privacy": "public"
174
184
  },
175
185
  {
@@ -179,7 +189,7 @@ Code in this file were generated using following JSON:
179
189
  "text": "boolean"
180
190
  },
181
191
  "default": "false",
182
- "description": "indicates whether the menu is open",
192
+ "description": "Sets the open state of the Menu",
183
193
  "privacy": "public"
184
194
  },
185
195
  {
@@ -246,17 +256,6 @@ Code in this file were generated using following JSON:
246
256
  "name": "#onAnchorClick",
247
257
  "privacy": "private"
248
258
  },
249
- {
250
- "kind": "field",
251
- "name": "_onFocusout"
252
- },
253
- {
254
- "kind": "field",
255
- "name": "actionItemsSlottedContent",
256
- "type": {
257
- "text": "HTMLElement[] | undefined"
258
- }
259
- },
260
259
  {
261
260
  "kind": "field",
262
261
  "name": "anchor",
@@ -309,18 +308,6 @@ Code in this file were generated using following JSON:
309
308
  "module": "src/shared/patterns/anchored.ts"
310
309
  }
311
310
  },
312
- {
313
- "kind": "field",
314
- "name": "_vividAriaBehaviour",
315
- "default": "'delegate'",
316
- "type": {
317
- "text": "'delegate'"
318
- },
319
- "inheritedFrom": {
320
- "name": "DelegatesAria",
321
- "module": "src/shared/aria/delegates-aria.ts"
322
- }
323
- },
324
311
  {
325
312
  "kind": "field",
326
313
  "name": "VIVID_VERSION",
@@ -366,13 +353,22 @@ Code in this file were generated using following JSON:
366
353
  }
367
354
  ],
368
355
  "attributes": [
356
+ {
357
+ "name": "offset",
358
+ "type": {
359
+ "text": "number | null"
360
+ },
361
+ "default": "null",
362
+ "description": "Adds offset to the popup",
363
+ "fieldName": "offset"
364
+ },
369
365
  {
370
366
  "name": "placement",
371
367
  "type": {
372
368
  "text": "Placement | undefined"
373
369
  },
374
370
  "default": "'bottom'",
375
- "description": "placement of the menu",
371
+ "description": "Sets the desired position of the Menu relative to it's anchor element",
376
372
  "fieldName": "placement"
377
373
  },
378
374
  {
@@ -380,7 +376,7 @@ Code in this file were generated using following JSON:
380
376
  "type": {
381
377
  "text": "'auto' | 'legacy' | 'off' | undefined"
382
378
  },
383
- "description": "Controls how the menu opens and closes itself.",
379
+ "description": "Sets trigger method of Menu",
384
380
  "fieldName": "trigger"
385
381
  },
386
382
  {
@@ -389,7 +385,7 @@ Code in this file were generated using following JSON:
389
385
  "text": "boolean"
390
386
  },
391
387
  "default": "false",
392
- "description": "indicates whether the menu will automatically close when focus moves away from it.",
388
+ "description": "Sets the Menu to close when focus is lost",
393
389
  "fieldName": "autoDismiss"
394
390
  },
395
391
  {
@@ -398,7 +394,7 @@ Code in this file were generated using following JSON:
398
394
  "text": "Strategy | undefined"
399
395
  },
400
396
  "default": "'fixed'",
401
- "description": "The strategy-absolute attribute.",
397
+ "description": "Sets the position strategy",
402
398
  "fieldName": "positionStrategy"
403
399
  },
404
400
  {
@@ -407,7 +403,7 @@ Code in this file were generated using following JSON:
407
403
  "text": "boolean"
408
404
  },
409
405
  "default": "false",
410
- "description": "indicates whether the menu is open",
406
+ "description": "Sets the open state of the Menu",
411
407
  "fieldName": "open"
412
408
  },
413
409
  {
@@ -440,10 +436,38 @@ Code in this file were generated using following JSON:
440
436
  "vividComponent": {
441
437
  "public": true,
442
438
  "name": "menu"
439
+ },
440
+ "vividTesting": {
441
+ "selectors": [
442
+ {
443
+ "name": "byLabel",
444
+ "args": [
445
+ "byLabel"
446
+ ]
447
+ }
448
+ ],
449
+ "actions": [],
450
+ "queries": [
451
+ {
452
+ "name": "open",
453
+ "args": [
454
+ "open",
455
+ "true"
456
+ ]
457
+ },
458
+ {
459
+ "name": "closed",
460
+ "args": [
461
+ "open",
462
+ "false"
463
+ ]
464
+ }
465
+ ],
466
+ "refs": []
443
467
  }
444
468
  }
445
469
  */
446
- import wrapper from '@vonage/vivid-react-wrapper'
470
+ import wrapper from '@repo/react-component-wrapper'
447
471
  import { registerMenu } from '@vonage/vivid'
448
472
 
449
473
  registerMenu('vvd3')
@@ -451,7 +475,7 @@ registerMenu('vvd3')
451
475
  const VwcMenu = wrapper(`vvd3-menu`, {
452
476
  events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
453
477
  attributes: [],
454
- properties: ['placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent', 'anchor', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
478
+ properties: ['offset', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
455
479
  })
456
480
 
457
481
  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.19.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.19.0"
10
10
  }
11
11
  }
@@ -2,20 +2,19 @@ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcMenuItem
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
4
4
  * @param {string | undefined} icon **attribute** `icon`
5
- * @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
6
- * @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
7
- * @param {MenuItemRole} role - The role of the element. **attribute** `role`
5
+ * @param {boolean} disabled - Sets the disabled state **attribute** `disabled`
6
+ * @param {boolean} expanded - Sets the expanded state **attribute** `expanded`
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
- * @param {boolean} checked - The checked value of the element. **attribute** `checked`
10
- * @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
11
- * @param {string | undefined} textSecondary - Indicates the menu item's secondary text. **attribute** `text-secondary`
12
- * @param {MenuItemConnotation | undefined} connotation - The connotation the fab should have. **attribute** `connotation`
13
- * @param {boolean} checkTrailing - Controls the placement of the menu item's checkmark or radio icon. **attribute** `check-trailing`
9
+ * @param {boolean} checked - Sets the checked state **attribute** `checked`
10
+ * @param {string | undefined} text - Text content **attribute** `text`
11
+ * @param {string | undefined} textSecondary - Give more context to the text **attribute** `text-secondary`
12
+ * @param {MenuItemConnotation | undefined} connotation - Sets the connotation that appears when checked **attribute** `connotation`
13
+ * @param {boolean} checkTrailing - Sets the check element to appear at the end of the Menu Item **attribute** `check-trailing`
14
14
  * @param {| 'normal'
15
15
  | 'tick-only' | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
16
- * @param {HTMLElement[] | undefined} trailingMetaSlottedContent
17
- * @param {'host'} _vividAriaBehaviour
18
- * @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
16
+ * @param {string | undefined} icon - A decorative icon the custom element should have. See the [Vivid Icon
17
+ Gallery](/icons/icons-gallery/) for available icons and `icon-name`s **attribute** `icon`
19
18
  * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
20
19
  It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
21
20
  * @param {string} componentName - Core component name, without prefix
@@ -23,27 +22,26 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
23
22
  declare const VwcMenuItem: {
24
23
  (props: {
25
24
  children?: ReactNode;
26
- slot?: string | undefined;
27
- id?: string | undefined;
28
- style?: React.CSSProperties | undefined;
29
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
30
- onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
31
- onChange?: ((event: SyntheticEvent) => void) | undefined;
32
- icon?: string | undefined;
33
- disabled?: boolean | undefined;
34
- expanded?: boolean | undefined;
35
- role?: any;
36
- controlType?: any;
37
- checked?: boolean | undefined;
38
- text?: string | undefined;
39
- textSecondary?: string | undefined;
40
- connotation?: any;
41
- checkTrailing?: boolean | undefined;
42
- checkedAppearance?: any;
43
- trailingMetaSlottedContent?: any;
44
- _vividAriaBehaviour?: any;
45
- VIVID_VERSION?: string | undefined;
46
- componentName?: string | undefined;
25
+ slot?: string;
26
+ id?: string;
27
+ style?: React.CSSProperties;
28
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
29
+ onExpandedChange?: (event: SyntheticEvent) => void;
30
+ onChange?: (event: SyntheticEvent) => void;
31
+ onChange?: (event: SyntheticEvent) => void;
32
+ "icon"?: string | undefined;
33
+ "disabled"?: boolean;
34
+ "expanded"?: boolean;
35
+ "role"?: any;
36
+ "controlType"?: any;
37
+ "checked"?: boolean;
38
+ "text"?: string | undefined;
39
+ "textSecondary"?: string | undefined;
40
+ "connotation"?: any;
41
+ "checkTrailing"?: boolean;
42
+ "checkedAppearance"?: any;
43
+ "VIVID_VERSION"?: string;
44
+ "componentName"?: string;
47
45
  }): JSX.Element;
48
46
  displayName: string;
49
47
  };