@vonage/vivid-react 3.4.1 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) 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 +5 -5
  62. package/package.json +2 -2
  63. package/types/index.d.ts +312 -158
  64. package/v3/VwcAccordion/index.d.ts +5 -0
  65. package/v3/VwcAccordion/index.js +29 -2
  66. package/v3/VwcAccordion/package.json +2 -2
  67. package/v3/VwcAccordionItem/index.d.ts +9 -0
  68. package/v3/VwcAccordionItem/index.js +97 -3
  69. package/v3/VwcAccordionItem/package.json +2 -2
  70. package/v3/VwcActionGroup/index.d.ts +7 -4
  71. package/v3/VwcActionGroup/index.js +37 -23
  72. package/v3/VwcActionGroup/package.json +2 -2
  73. package/v3/VwcAlert/index.d.ts +7 -2
  74. package/v3/VwcAlert/index.js +69 -20
  75. package/v3/VwcAlert/package.json +2 -2
  76. package/v3/VwcAudioPlayer/index.d.ts +6 -1
  77. package/v3/VwcAudioPlayer/index.js +39 -4
  78. package/v3/VwcAudioPlayer/package.json +2 -2
  79. package/v3/VwcAvatar/index.d.ts +28 -1
  80. package/v3/VwcAvatar/index.js +284 -5
  81. package/v3/VwcAvatar/package.json +2 -2
  82. package/v3/VwcBadge/index.d.ts +11 -0
  83. package/v3/VwcBadge/index.js +105 -3
  84. package/v3/VwcBadge/package.json +2 -2
  85. package/v3/VwcBanner/index.d.ts +9 -4
  86. package/v3/VwcBanner/index.js +82 -33
  87. package/v3/VwcBanner/package.json +2 -2
  88. package/v3/VwcBaseProgress/index.d.ts +5 -0
  89. package/v3/VwcBaseProgress/index.js +33 -2
  90. package/v3/VwcBaseProgress/package.json +2 -2
  91. package/v3/VwcBreadcrumb/index.d.ts +7 -1
  92. package/v3/VwcBreadcrumb/index.js +47 -2
  93. package/v3/VwcBreadcrumb/package.json +2 -2
  94. package/v3/VwcBreadcrumbItem/index.d.ts +25 -0
  95. package/v3/VwcBreadcrumbItem/index.js +259 -2
  96. package/v3/VwcBreadcrumbItem/package.json +2 -2
  97. package/v3/VwcButton/index.d.ts +43 -23
  98. package/v3/VwcButton/index.js +492 -92
  99. package/v3/VwcButton/package.json +2 -2
  100. package/v3/VwcCalendar/index.d.ts +7 -0
  101. package/v3/VwcCalendar/index.js +52 -2
  102. package/v3/VwcCalendar/package.json +2 -2
  103. package/v3/VwcCalendarEvent/index.d.ts +7 -0
  104. package/v3/VwcCalendarEvent/index.js +49 -2
  105. package/v3/VwcCalendarEvent/package.json +2 -2
  106. package/v3/VwcCard/index.d.ts +27 -0
  107. package/v3/VwcCard/index.js +300 -2
  108. package/v3/VwcCard/package.json +2 -2
  109. package/v3/VwcCheckbox/index.d.ts +48 -18
  110. package/v3/VwcCheckbox/index.js +531 -41
  111. package/v3/VwcCheckbox/package.json +2 -2
  112. package/v3/VwcCombobox/index.d.ts +28 -5
  113. package/v3/VwcCombobox/index.js +458 -31
  114. package/v3/VwcCombobox/package.json +2 -2
  115. package/v3/VwcDataGrid/index.d.ts +6 -1
  116. package/v3/VwcDataGrid/index.js +31 -19
  117. package/v3/VwcDataGrid/package.json +2 -2
  118. package/v3/VwcDataGridCell/index.d.ts +11 -1
  119. package/v3/VwcDataGridCell/index.js +76 -19
  120. package/v3/VwcDataGridCell/package.json +2 -2
  121. package/v3/VwcDataGridRow/index.d.ts +7 -0
  122. package/v3/VwcDataGridRow/index.js +48 -2
  123. package/v3/VwcDataGridRow/package.json +2 -2
  124. package/v3/VwcDatePicker/index.d.ts +30 -13
  125. package/v3/VwcDatePicker/index.js +436 -150
  126. package/v3/VwcDatePicker/package.json +2 -2
  127. package/v3/VwcDateRangePicker/index.d.ts +29 -13
  128. package/v3/VwcDateRangePicker/index.js +430 -144
  129. package/v3/VwcDateRangePicker/package.json +2 -2
  130. package/v3/VwcDateTimePicker/index.d.ts +68 -0
  131. package/v3/VwcDateTimePicker/index.js +885 -0
  132. package/v3/{VwcDatePickerBase → VwcDateTimePicker}/package.json +3 -3
  133. package/v3/{VwcFormAssociatedSlider → VwcDelegateAriaBehavior}/index.d.ts +5 -6
  134. package/v3/VwcDelegateAriaBehavior/index.js +208 -0
  135. package/v3/{VwcDelegatesARIAButton → VwcDelegateAriaBehavior}/package.json +3 -3
  136. package/v3/VwcDialPad/index.d.ts +21 -0
  137. package/v3/VwcDialPad/index.js +73 -6
  138. package/v3/VwcDialPad/package.json +2 -2
  139. package/v3/VwcDialog/index.d.ts +9 -2
  140. package/v3/VwcDialog/index.js +73 -20
  141. package/v3/VwcDialog/package.json +2 -2
  142. package/v3/VwcDivider/index.d.ts +8 -1
  143. package/v3/VwcDivider/index.js +49 -4
  144. package/v3/VwcDivider/package.json +2 -2
  145. package/v3/VwcElevation/index.d.ts +5 -0
  146. package/v3/VwcElevation/index.js +29 -2
  147. package/v3/VwcElevation/package.json +2 -2
  148. package/v3/VwcEmptyState/index.d.ts +10 -3
  149. package/v3/VwcEmptyState/index.js +30 -5
  150. package/v3/VwcEmptyState/package.json +2 -2
  151. package/v3/VwcFab/index.d.ts +25 -3
  152. package/v3/VwcFab/index.js +359 -32
  153. package/v3/VwcFab/package.json +2 -2
  154. package/v3/VwcFeedbackMessage/index.d.ts +26 -0
  155. package/v3/VwcFeedbackMessage/index.js +122 -0
  156. package/v3/{VwcDelegatesARIALink → VwcFeedbackMessage}/package.json +3 -3
  157. package/v3/VwcFilePicker/index.d.ts +27 -2
  158. package/v3/VwcFilePicker/index.js +442 -7
  159. package/v3/VwcFilePicker/package.json +2 -2
  160. package/v3/VwcHeader/index.d.ts +7 -0
  161. package/v3/VwcHeader/index.js +48 -2
  162. package/v3/VwcHeader/package.json +2 -2
  163. package/v3/{VwcFormAssociatedSwitch → VwcHostSemanticsBehavior}/index.d.ts +5 -6
  164. package/v3/VwcHostSemanticsBehavior/index.js +107 -0
  165. package/v3/VwcHostSemanticsBehavior/package.json +11 -0
  166. package/v3/VwcIcon/index.d.ts +7 -0
  167. package/v3/VwcIcon/index.js +47 -2
  168. package/v3/VwcIcon/package.json +2 -2
  169. package/v3/VwcInlineTimePicker/index.d.ts +11 -0
  170. package/v3/VwcInlineTimePicker/index.js +96 -2
  171. package/v3/VwcInlineTimePicker/package.json +2 -2
  172. package/v3/VwcLayout/index.d.ts +6 -1
  173. package/v3/VwcLayout/index.js +31 -4
  174. package/v3/VwcLayout/package.json +2 -2
  175. package/v3/VwcListbox/index.d.ts +5 -0
  176. package/v3/VwcListbox/index.js +30 -2
  177. package/v3/VwcListbox/package.json +2 -2
  178. package/v3/VwcMenu/index.d.ts +9 -2
  179. package/v3/VwcMenu/index.js +118 -47
  180. package/v3/VwcMenu/package.json +2 -2
  181. package/v3/VwcMenuBar/index.d.ts +22 -0
  182. package/v3/VwcMenuBar/index.js +95 -0
  183. package/v3/{VwcTextAnchor → VwcMenuBar}/package.json +3 -3
  184. package/v3/VwcMenuItem/index.d.ts +14 -3
  185. package/v3/VwcMenuItem/index.js +106 -28
  186. package/v3/VwcMenuItem/package.json +2 -2
  187. package/v3/VwcNav/index.d.ts +7 -1
  188. package/v3/VwcNav/index.js +50 -3
  189. package/v3/VwcNav/package.json +2 -2
  190. package/v3/VwcNavDisclosure/index.d.ts +11 -2
  191. package/v3/VwcNavDisclosure/index.js +88 -10
  192. package/v3/VwcNavDisclosure/package.json +2 -2
  193. package/v3/VwcNavItem/index.d.ts +32 -3
  194. package/v3/VwcNavItem/index.js +320 -43
  195. package/v3/VwcNavItem/package.json +2 -2
  196. package/v3/VwcNote/index.d.ts +7 -0
  197. package/v3/VwcNote/index.js +61 -3
  198. package/v3/VwcNote/package.json +2 -2
  199. package/v3/VwcNumberField/index.d.ts +31 -2
  200. package/v3/VwcNumberField/index.js +500 -9
  201. package/v3/VwcNumberField/package.json +2 -2
  202. package/v3/VwcOption/index.d.ts +15 -0
  203. package/v3/VwcOption/index.js +143 -31
  204. package/v3/VwcOption/package.json +2 -2
  205. package/v3/VwcOptionTag/index.d.ts +7 -0
  206. package/v3/VwcOptionTag/index.js +48 -2
  207. package/v3/VwcOptionTag/package.json +2 -2
  208. package/v3/VwcPagination/index.d.ts +5 -0
  209. package/v3/VwcPagination/index.js +46 -2
  210. package/v3/VwcPagination/package.json +2 -2
  211. package/v3/VwcPickerField/index.d.ts +49 -0
  212. package/v3/VwcPickerField/index.js +555 -0
  213. package/v3/VwcPickerField/package.json +11 -0
  214. package/v3/VwcPopup/index.d.ts +44 -0
  215. package/v3/VwcPopup/index.js +380 -0
  216. package/v3/{VwcAnchor → VwcPopup}/package.json +3 -3
  217. package/v3/VwcProgress/index.d.ts +11 -6
  218. package/v3/VwcProgress/index.js +100 -26
  219. package/v3/VwcProgress/package.json +2 -2
  220. package/v3/VwcProgressRing/index.d.ts +10 -5
  221. package/v3/VwcProgressRing/index.js +91 -25
  222. package/v3/VwcProgressRing/package.json +2 -2
  223. package/v3/{VwcDelegatesARIATextbox → VwcProseMirrorFacade}/index.d.ts +4 -4
  224. package/v3/VwcProseMirrorFacade/index.js +231 -0
  225. package/v3/VwcProseMirrorFacade/package.json +11 -0
  226. package/v3/VwcRadio/index.d.ts +33 -6
  227. package/v3/VwcRadio/index.js +452 -47
  228. package/v3/VwcRadio/package.json +2 -2
  229. package/v3/VwcRadioGroup/index.d.ts +13 -1
  230. package/v3/VwcRadioGroup/index.js +106 -8
  231. package/v3/VwcRadioGroup/package.json +2 -2
  232. package/v3/VwcRangeSlider/index.d.ts +20 -2
  233. package/v3/VwcRangeSlider/index.js +306 -10
  234. package/v3/VwcRangeSlider/package.json +2 -2
  235. package/v3/VwcRichTextEditor/index.d.ts +28 -0
  236. package/v3/VwcRichTextEditor/index.js +254 -0
  237. package/v3/VwcRichTextEditor/package.json +11 -0
  238. package/v3/VwcSearchableSelect/index.d.ts +45 -2
  239. package/v3/VwcSearchableSelect/index.js +581 -15
  240. package/v3/VwcSearchableSelect/package.json +2 -2
  241. package/v3/VwcSelect/index.d.ts +46 -26
  242. package/v3/VwcSelect/index.js +519 -59
  243. package/v3/VwcSelect/package.json +2 -2
  244. package/v3/VwcSelectableBox/index.d.ts +8 -3
  245. package/v3/VwcSelectableBox/index.js +52 -21
  246. package/v3/VwcSelectableBox/package.json +2 -2
  247. package/v3/VwcSideDrawer/index.d.ts +5 -0
  248. package/v3/VwcSideDrawer/index.js +33 -2
  249. package/v3/VwcSideDrawer/package.json +2 -2
  250. package/v3/VwcSlider/index.d.ts +33 -21
  251. package/v3/VwcSlider/index.js +283 -40
  252. package/v3/VwcSlider/package.json +2 -2
  253. package/v3/VwcSplitButton/index.d.ts +9 -6
  254. package/v3/VwcSplitButton/index.js +74 -45
  255. package/v3/VwcSplitButton/package.json +2 -2
  256. package/v3/VwcSwitch/index.d.ts +34 -16
  257. package/v3/VwcSwitch/index.js +329 -33
  258. package/v3/VwcSwitch/package.json +2 -2
  259. package/v3/VwcTab/index.d.ts +12 -3
  260. package/v3/VwcTab/index.js +109 -17
  261. package/v3/VwcTab/package.json +2 -2
  262. package/v3/VwcTabPanel/index.d.ts +7 -1
  263. package/v3/VwcTabPanel/index.js +50 -3
  264. package/v3/VwcTabPanel/package.json +2 -2
  265. package/v3/VwcTabs/index.d.ts +7 -4
  266. package/v3/VwcTabs/index.js +110 -178
  267. package/v3/VwcTabs/package.json +2 -2
  268. package/v3/VwcTag/index.d.ts +9 -0
  269. package/v3/VwcTag/index.js +85 -3
  270. package/v3/VwcTag/package.json +2 -2
  271. package/v3/VwcTagGroup/index.d.ts +7 -2
  272. package/v3/VwcTagGroup/index.js +47 -20
  273. package/v3/VwcTagGroup/package.json +2 -2
  274. package/v3/VwcTextArea/index.d.ts +31 -4
  275. package/v3/VwcTextArea/index.js +495 -27
  276. package/v3/VwcTextArea/package.json +2 -2
  277. package/v3/VwcTextField/index.d.ts +47 -11
  278. package/v3/VwcTextField/index.js +500 -27
  279. package/v3/VwcTextField/package.json +2 -2
  280. package/v3/VwcTimePicker/index.d.ts +35 -12
  281. package/v3/VwcTimePicker/index.js +545 -110
  282. package/v3/VwcTimePicker/package.json +2 -2
  283. package/v3/VwcToggletip/index.d.ts +8 -2
  284. package/v3/VwcToggletip/index.js +102 -2
  285. package/v3/VwcToggletip/package.json +2 -2
  286. package/v3/VwcTooltip/index.d.ts +8 -2
  287. package/v3/VwcTooltip/index.js +101 -2
  288. package/v3/VwcTooltip/package.json +2 -2
  289. package/v3/VwcTreeItem/index.d.ts +9 -0
  290. package/v3/VwcTreeItem/index.js +80 -3
  291. package/v3/VwcTreeItem/package.json +2 -2
  292. package/v3/VwcTreeView/index.d.ts +7 -0
  293. package/v3/VwcTreeView/index.js +47 -2
  294. package/v3/VwcTreeView/package.json +2 -2
  295. package/v3/VwcVideoPlayer/index.d.ts +6 -1
  296. package/v3/VwcVideoPlayer/index.js +40 -5
  297. package/v3/VwcVideoPlayer/package.json +2 -2
  298. package/v3/VwcVisuallyHidden/index.d.ts +20 -0
  299. package/v3/VwcVisuallyHidden/index.js +61 -0
  300. package/v3/VwcVisuallyHidden/package.json +11 -0
  301. package/v3/VwcVividElement/index.d.ts +9 -1
  302. package/v3/VwcVividElement/index.js +72 -1
  303. package/v3/VwcVividElement/package.json +2 -2
  304. package/v3/VwcVividFoundationButton/index.d.ts +20 -2
  305. package/v3/VwcVividFoundationButton/index.js +274 -6
  306. package/v3/VwcVividFoundationButton/package.json +2 -2
  307. package/v3/VwcARIAGlobalStatesAndProperties/index.d.ts +0 -122
  308. package/v3/VwcARIAGlobalStatesAndProperties/index.js +0 -352
  309. package/v3/VwcARIAGlobalStatesAndProperties/package.json +0 -11
  310. package/v3/VwcAnchor/index.d.ts +0 -33
  311. package/v3/VwcAnchor/index.js +0 -173
  312. package/v3/VwcDatePickerBase/index.d.ts +0 -30
  313. package/v3/VwcDatePickerBase/index.js +0 -275
  314. package/v3/VwcDelegatesARIAButton/index.d.ts +0 -19
  315. package/v3/VwcDelegatesARIAButton/index.js +0 -63
  316. package/v3/VwcDelegatesARIALink/index.d.ts +0 -17
  317. package/v3/VwcDelegatesARIALink/index.js +0 -46
  318. package/v3/VwcDelegatesARIAListbox/index.d.ts +0 -23
  319. package/v3/VwcDelegatesARIAListbox/index.js +0 -63
  320. package/v3/VwcDelegatesARIAListbox/package.json +0 -11
  321. package/v3/VwcDelegatesARIAListboxOption/index.d.ts +0 -23
  322. package/v3/VwcDelegatesARIAListboxOption/index.js +0 -97
  323. package/v3/VwcDelegatesARIAListboxOption/package.json +0 -11
  324. package/v3/VwcDelegatesARIASelect/index.d.ts +0 -17
  325. package/v3/VwcDelegatesARIASelect/index.js +0 -70
  326. package/v3/VwcDelegatesARIASelect/package.json +0 -11
  327. package/v3/VwcDelegatesARIATextbox/index.js +0 -59
  328. package/v3/VwcDelegatesARIATextbox/package.json +0 -11
  329. package/v3/VwcFormAssociatedCheckbox/index.d.ts +0 -17
  330. package/v3/VwcFormAssociatedCheckbox/index.js +0 -41
  331. package/v3/VwcFormAssociatedCheckbox/package.json +0 -11
  332. package/v3/VwcFormAssociatedFilePicker/index.d.ts +0 -17
  333. package/v3/VwcFormAssociatedFilePicker/index.js +0 -44
  334. package/v3/VwcFormAssociatedFilePicker/package.json +0 -11
  335. package/v3/VwcFormAssociatedNumberField/index.d.ts +0 -17
  336. package/v3/VwcFormAssociatedNumberField/index.js +0 -41
  337. package/v3/VwcFormAssociatedNumberField/package.json +0 -11
  338. package/v3/VwcFormAssociatedRadio/index.d.ts +0 -19
  339. package/v3/VwcFormAssociatedRadio/index.js +0 -64
  340. package/v3/VwcFormAssociatedRadio/package.json +0 -11
  341. package/v3/VwcFormAssociatedRangeSlider/index.d.ts +0 -17
  342. package/v3/VwcFormAssociatedRangeSlider/index.js +0 -41
  343. package/v3/VwcFormAssociatedRangeSlider/package.json +0 -11
  344. package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +0 -17
  345. package/v3/VwcFormAssociatedSearchableSelect/index.js +0 -41
  346. package/v3/VwcFormAssociatedSearchableSelect/package.json +0 -11
  347. package/v3/VwcFormAssociatedSelect/index.d.ts +0 -27
  348. package/v3/VwcFormAssociatedSelect/index.js +0 -164
  349. package/v3/VwcFormAssociatedSelect/package.json +0 -11
  350. package/v3/VwcFormAssociatedSlider/index.js +0 -41
  351. package/v3/VwcFormAssociatedSlider/package.json +0 -11
  352. package/v3/VwcFormAssociatedSwitch/index.js +0 -41
  353. package/v3/VwcFormAssociatedSwitch/package.json +0 -11
  354. package/v3/VwcFormAssociatedTextArea/index.d.ts +0 -17
  355. package/v3/VwcFormAssociatedTextArea/index.js +0 -41
  356. package/v3/VwcFormAssociatedTextArea/package.json +0 -11
  357. package/v3/VwcFormAssociatedTextField/index.d.ts +0 -17
  358. package/v3/VwcFormAssociatedTextField/index.js +0 -41
  359. package/v3/VwcFormAssociatedTextField/package.json +0 -11
  360. package/v3/VwcFormAssociatedTimePicker/index.d.ts +0 -17
  361. package/v3/VwcFormAssociatedTimePicker/index.js +0 -41
  362. package/v3/VwcFormAssociatedTimePicker/package.json +0 -11
  363. package/v3/VwcTextAnchor/index.d.ts +0 -21
  364. package/v3/VwcTextAnchor/index.js +0 -93
@@ -1,18 +1,30 @@
1
1
  import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcSwitch
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/switch
4
- * @param {string | null} ariaLabel **attribute** `aria-label`
4
+ * @param {boolean} checked **attribute** `current-checked`
5
+ * @param {boolean} readonly
6
+ * @param {boolean} disabled **attribute** `disabled`
7
+ * @param {string | undefined} value **attribute** `current-value`
8
+ * @param {string | undefined} name **attribute** `name`
5
9
  * @param {string | undefined} label - Indicates the switch's label. **attribute** `label`
6
10
  * @param {SwitchConnotation | undefined} connotation - Indicates the switch's connotation. **attribute** `connotation`
7
11
  * @param {boolean} readOnly - When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information. **attribute** `readonly`
8
- * @param {boolean} defaultChecked
9
- * @param checked
10
- * @param proxy
11
- * @param {boolean} checked
12
- * @param {boolean} readonly
13
- * @param {boolean} disabled
14
- * @param {string | undefined} value
15
- * @param {string | undefined} name
12
+ * @param {boolean} checked - The current checkedness of the element. **attribute** `current-checked`
13
+ * @param {'delegate'} _vividAriaBehaviour
14
+ * @param {boolean} defaultChecked - The default checkedness of the element. This value sets the `checked` property
15
+ only when the `checked` property has not been explicitly set. **attribute** `checked`
16
+ * @param checkedAttribute
17
+ * @param currentChecked
18
+ * @param {string} value - The current value of the element. **attribute** `current-value`
19
+ * @param currentValue
20
+ * @param {string} initialValue - The default value of the element. This value sets the `value` property
21
+ only when the `value` property has not been explicitly set. **attribute** `value`
22
+ * @param {boolean} disabled - Sets the element's disabled state. A disabled element will not be included during form submission. **attribute** `disabled`
23
+ * @param {string} name - The name of the element. This element's value will be surfaced during form submission under the provided name. **attribute** `name`
24
+ * @param {boolean} required - Require the field to be completed prior to form submission. **attribute** `required`
25
+ * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
26
+ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
27
+ * @param {string} componentName - Core component name, without prefix
16
28
  */
17
29
  declare const VwcSwitch: {
18
30
  (props: {
@@ -23,17 +35,23 @@ declare const VwcSwitch: {
23
35
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
24
36
  onChange?: ((event: SyntheticEvent) => void) | undefined;
25
37
  onClick?: ((event: SyntheticEvent) => void) | undefined;
26
- ariaLabel?: string | null | undefined;
27
- label?: string | undefined;
28
- connotation?: any;
29
- readOnly?: boolean | undefined;
30
- defaultChecked?: boolean | undefined;
31
- checked?: any;
32
- proxy?: any;
38
+ checked?: boolean | undefined;
33
39
  readonly?: boolean | undefined;
34
40
  disabled?: boolean | undefined;
35
41
  value?: string | undefined;
36
42
  name?: string | undefined;
43
+ label?: string | undefined;
44
+ connotation?: any;
45
+ readOnly?: boolean | undefined;
46
+ _vividAriaBehaviour?: any;
47
+ defaultChecked?: boolean | undefined;
48
+ checkedAttribute?: any;
49
+ currentChecked?: any;
50
+ currentValue?: any;
51
+ initialValue?: string | undefined;
52
+ required?: boolean | undefined;
53
+ VIVID_VERSION?: string | undefined;
54
+ componentName?: string | undefined;
37
55
  }): JSX.Element;
38
56
  displayName: string;
39
57
  };
@@ -130,14 +130,6 @@ Code in this file were generated using following JSON:
130
130
  }
131
131
  ],
132
132
  "members": [
133
- {
134
- "kind": "field",
135
- "name": "ariaLabel",
136
- "type": {
137
- "text": "string | null"
138
- },
139
- "default": "null"
140
- },
141
133
  {
142
134
  "kind": "field",
143
135
  "name": "label",
@@ -166,13 +158,28 @@ Code in this file were generated using following JSON:
166
158
  "privacy": "public"
167
159
  },
168
160
  {
169
- "kind": "method",
170
- "name": "updateForm",
171
- "privacy": "private",
172
- "return": {
173
- "type": {
174
- "text": "void"
175
- }
161
+ "kind": "field",
162
+ "name": "checked",
163
+ "type": {
164
+ "text": "boolean"
165
+ },
166
+ "description": "The current checkedness of the element.",
167
+ "privacy": "public",
168
+ "inheritedFrom": {
169
+ "name": "CheckableFormAssociated",
170
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
171
+ }
172
+ },
173
+ {
174
+ "kind": "field",
175
+ "name": "_vividAriaBehaviour",
176
+ "default": "'delegate'",
177
+ "type": {
178
+ "text": "'delegate'"
179
+ },
180
+ "inheritedFrom": {
181
+ "name": "DelegatesAria",
182
+ "module": "src/shared/aria/delegates-aria.ts"
176
183
  }
177
184
  },
178
185
  {
@@ -181,18 +188,218 @@ Code in this file were generated using following JSON:
181
188
  "type": {
182
189
  "text": "boolean"
183
190
  },
184
- "default": "!!this.checkedAttribute"
191
+ "default": "false",
192
+ "description": "The default checkedness of the element. This value sets the `checked` property\nonly when the `checked` property has not been explicitly set.",
193
+ "privacy": "public",
194
+ "inheritedFrom": {
195
+ "name": "CheckableFormAssociated",
196
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
197
+ }
198
+ },
199
+ {
200
+ "kind": "field",
201
+ "name": "checkedAttribute",
202
+ "inheritedFrom": {
203
+ "name": "CheckableFormAssociated",
204
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
205
+ }
206
+ },
207
+ {
208
+ "kind": "field",
209
+ "name": "currentChecked",
210
+ "inheritedFrom": {
211
+ "name": "CheckableFormAssociated",
212
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
213
+ }
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "validity",
218
+ "type": {
219
+ "text": "ValidityState"
220
+ },
221
+ "description": "Returns the validity state of the element",
222
+ "readonly": true,
223
+ "inheritedFrom": {
224
+ "name": "FormAssociated",
225
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
226
+ }
227
+ },
228
+ {
229
+ "kind": "field",
230
+ "name": "form",
231
+ "type": {
232
+ "text": "HTMLFormElement | null"
233
+ },
234
+ "description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
235
+ "readonly": true,
236
+ "inheritedFrom": {
237
+ "name": "FormAssociated",
238
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
239
+ }
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "validationMessage",
244
+ "type": {
245
+ "text": "string"
246
+ },
247
+ "description": "Retrieve the localized validation message,\nor custom validation message if set.",
248
+ "readonly": true,
249
+ "inheritedFrom": {
250
+ "name": "FormAssociated",
251
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
252
+ }
253
+ },
254
+ {
255
+ "kind": "field",
256
+ "name": "willValidate",
257
+ "type": {
258
+ "text": "boolean"
259
+ },
260
+ "description": "Whether the element will be validated when the\nform is submitted",
261
+ "readonly": true,
262
+ "inheritedFrom": {
263
+ "name": "FormAssociated",
264
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
265
+ }
266
+ },
267
+ {
268
+ "kind": "field",
269
+ "name": "labels",
270
+ "type": {
271
+ "text": "ReadonlyArray<Node>"
272
+ },
273
+ "description": "A reference to all associated label elements",
274
+ "readonly": true,
275
+ "inheritedFrom": {
276
+ "name": "FormAssociated",
277
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
278
+ }
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "value",
283
+ "type": {
284
+ "text": "string"
285
+ },
286
+ "description": "The current value of the element.",
287
+ "inheritedFrom": {
288
+ "name": "FormAssociated",
289
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
290
+ }
291
+ },
292
+ {
293
+ "kind": "field",
294
+ "name": "currentValue",
295
+ "inheritedFrom": {
296
+ "name": "FormAssociated",
297
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
298
+ }
299
+ },
300
+ {
301
+ "kind": "field",
302
+ "name": "initialValue",
303
+ "type": {
304
+ "text": "string"
305
+ },
306
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
307
+ "inheritedFrom": {
308
+ "name": "FormAssociated",
309
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
310
+ }
311
+ },
312
+ {
313
+ "kind": "field",
314
+ "name": "disabled",
315
+ "type": {
316
+ "text": "boolean"
317
+ },
318
+ "default": "false",
319
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
320
+ "inheritedFrom": {
321
+ "name": "FormAssociated",
322
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
323
+ }
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "name",
328
+ "type": {
329
+ "text": "string"
330
+ },
331
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
332
+ "inheritedFrom": {
333
+ "name": "FormAssociated",
334
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
335
+ }
336
+ },
337
+ {
338
+ "kind": "field",
339
+ "name": "required",
340
+ "type": {
341
+ "text": "boolean"
342
+ },
343
+ "description": "Require the field to be completed prior to form submission.",
344
+ "default": "false",
345
+ "inheritedFrom": {
346
+ "name": "FormAssociated",
347
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
348
+ }
349
+ },
350
+ {
351
+ "kind": "method",
352
+ "name": "checkValidity",
353
+ "return": {
354
+ "type": {
355
+ "text": "boolean"
356
+ }
357
+ },
358
+ "description": "Return the current validity of the element.",
359
+ "inheritedFrom": {
360
+ "name": "FormAssociated",
361
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
362
+ }
363
+ },
364
+ {
365
+ "kind": "method",
366
+ "name": "reportValidity",
367
+ "return": {
368
+ "type": {
369
+ "text": "boolean"
370
+ }
371
+ },
372
+ "description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
373
+ "inheritedFrom": {
374
+ "name": "FormAssociated",
375
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
376
+ }
185
377
  },
186
378
  {
187
379
  "kind": "field",
188
- "name": "checked"
380
+ "name": "VIVID_VERSION",
381
+ "static": true,
382
+ "default": "__PACKAGE_VERSION__",
383
+ "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`.",
384
+ "type": {
385
+ "text": "string"
386
+ },
387
+ "inheritedFrom": {
388
+ "name": "VividElement",
389
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
390
+ }
189
391
  },
190
392
  {
191
393
  "kind": "field",
192
- "name": "proxy",
394
+ "name": "componentName",
395
+ "type": {
396
+ "text": "string"
397
+ },
398
+ "static": true,
399
+ "description": "Core component name, without prefix",
193
400
  "inheritedFrom": {
194
- "name": "FormAssociatedSwitch",
195
- "module": "libs/components/src/lib/switch/switch.form-associated.ts"
401
+ "name": "VividElement",
402
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
196
403
  }
197
404
  }
198
405
  ],
@@ -206,14 +413,6 @@ Code in this file were generated using following JSON:
206
413
  }
207
414
  ],
208
415
  "attributes": [
209
- {
210
- "name": "aria-label",
211
- "type": {
212
- "text": "string | null"
213
- },
214
- "default": "null",
215
- "fieldName": "ariaLabel"
216
- },
217
416
  {
218
417
  "name": "label",
219
418
  "type": {
@@ -237,11 +436,108 @@ Code in this file were generated using following JSON:
237
436
  },
238
437
  "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
239
438
  "fieldName": "readOnly"
439
+ },
440
+ {
441
+ "name": "checked",
442
+ "type": {
443
+ "text": "boolean"
444
+ },
445
+ "default": "false",
446
+ "description": "The default checkedness of the element. This value sets the `checked` property\nonly when the `checked` property has not been explicitly set.",
447
+ "fieldName": "defaultChecked",
448
+ "inheritedFrom": {
449
+ "name": "CheckableFormAssociated",
450
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
451
+ }
452
+ },
453
+ {
454
+ "name": "current-checked",
455
+ "type": {
456
+ "text": "boolean"
457
+ },
458
+ "description": "The current checkedness of the element.",
459
+ "fieldName": "checked",
460
+ "inheritedFrom": {
461
+ "name": "CheckableFormAssociated",
462
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
463
+ }
464
+ },
465
+ {
466
+ "name": "current-value",
467
+ "type": {
468
+ "text": "string"
469
+ },
470
+ "description": "The current value of the element.",
471
+ "fieldName": "value",
472
+ "inheritedFrom": {
473
+ "name": "FormAssociated",
474
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
475
+ }
476
+ },
477
+ {
478
+ "name": "value",
479
+ "type": {
480
+ "text": "string"
481
+ },
482
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
483
+ "fieldName": "initialValue",
484
+ "inheritedFrom": {
485
+ "name": "FormAssociated",
486
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
487
+ }
488
+ },
489
+ {
490
+ "name": "disabled",
491
+ "type": {
492
+ "text": "boolean"
493
+ },
494
+ "default": "false",
495
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
496
+ "fieldName": "disabled",
497
+ "inheritedFrom": {
498
+ "name": "FormAssociated",
499
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
500
+ }
501
+ },
502
+ {
503
+ "name": "name",
504
+ "type": {
505
+ "text": "string"
506
+ },
507
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
508
+ "fieldName": "name",
509
+ "inheritedFrom": {
510
+ "name": "FormAssociated",
511
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
512
+ }
513
+ },
514
+ {
515
+ "name": "required",
516
+ "type": {
517
+ "text": "boolean"
518
+ },
519
+ "description": "Require the field to be completed prior to form submission.",
520
+ "default": "false",
521
+ "fieldName": "required",
522
+ "inheritedFrom": {
523
+ "name": "FormAssociated",
524
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
525
+ }
526
+ }
527
+ ],
528
+ "mixins": [
529
+ {
530
+ "name": "DelegatesAria",
531
+ "module": "/src/shared/aria/delegates-aria"
532
+ },
533
+ {
534
+ "name": "CheckableFormAssociated",
535
+ "module": "/src/shared/foundation/form-associated/form-associated"
240
536
  }
241
537
  ],
242
538
  "superclass": {
243
- "name": "FormAssociatedSwitch",
244
- "module": "/libs/components/src/lib/switch/switch.form-associated"
539
+ "name": "VividElement",
540
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
245
541
  },
246
542
  "vividComponent": {
247
543
  "public": true,
@@ -249,11 +545,11 @@ Code in this file were generated using following JSON:
249
545
  "vueModels": [
250
546
  {
251
547
  "name": "modelValue",
252
- "attributeName": "checked",
548
+ "propName": "checked",
253
549
  "eventNames": [
254
550
  "change"
255
551
  ],
256
- "valueMapping": "(event.target as HTMLInputElement).checked"
552
+ "valueMapping": "event.currentTarget.checked"
257
553
  }
258
554
  ]
259
555
  }
@@ -267,7 +563,7 @@ registerSwitch('vvd3')
267
563
  const VwcSwitch = wrapper(`vvd3-switch`, {
268
564
  events: [{"name":"change","propName":"onChange"},{"name":"click","propName":"onClick"}],
269
565
  attributes: [],
270
- properties: ['ariaLabel', 'label', 'connotation', 'readOnly', 'defaultChecked', 'checked', 'proxy', 'checked', 'readonly', 'disabled', 'value', 'name']
566
+ properties: ['checked', 'readonly', 'disabled', 'value', 'name', 'label', 'connotation', 'readOnly', 'checked', '_vividAriaBehaviour', 'defaultChecked', 'checkedAttribute', 'currentChecked', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
271
567
  })
272
568
 
273
569
  VwcSwitch.displayName = 'VwcSwitch'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-switch",
3
- "version": "4.16.2",
3
+ "version": "4.28.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.16.2"
9
+ "@vonage/vivid": "4.28.0"
10
10
  }
11
11
  }
@@ -5,9 +5,14 @@ import React, { ReactNode, SyntheticEvent } from 'react';
5
5
  * @param {TabConnotation | undefined} connotation - The connotation the tab should have. **attribute** `connotation`
6
6
  * @param {TabShape | undefined} shape - The shape the tab should have. **attribute** `shape`
7
7
  * @param {string | undefined} label - Indicates the tab's label. **attribute** `label`
8
- * @param {boolean} removable - Indicates the tab's label. **attribute** `removable`
8
+ * @param {boolean} removable - Adds a close button **attribute** `removable`
9
9
  * @param {number} tabIndex **attribute** `tabIndex`
10
- * @param {string | null} ariaSelected **attribute** `aria-selected`
10
+ * @param {'host'} _vividAriaBehaviour
11
+ * @param {boolean} iconTrailing - Indicates the icon affix alignment. **attribute** `icon-trailing`
12
+ * @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
13
+ * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
14
+ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
15
+ * @param {string} componentName - Core component name, without prefix
11
16
  */
12
17
  declare const VwcTab: {
13
18
  (props: {
@@ -23,7 +28,11 @@ declare const VwcTab: {
23
28
  label?: string | undefined;
24
29
  removable?: boolean | undefined;
25
30
  tabIndex?: number | undefined;
26
- ariaSelected?: string | null | undefined;
31
+ _vividAriaBehaviour?: any;
32
+ iconTrailing?: boolean | undefined;
33
+ icon?: string | undefined;
34
+ VIVID_VERSION?: string | undefined;
35
+ componentName?: string | undefined;
27
36
  }): JSX.Element;
28
37
  displayName: string;
29
38
  };