@vonage/vivid-react 4.0.0 → 5.20.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 (615) 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 +17 -32
  16. package/VwcButton/index.js +16 -97
  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 +5 -5
  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 +4 -4
  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 +8 -8
  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 +7 -44
  112. package/VwcMenu/index.js +8 -167
  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 +12 -12
  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 +18 -26
  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 +274 -79
  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 +19 -17
  191. package/v3/VwcAccordionItem/index.js +3 -3
  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 +4 -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/VwcAriaBindingDirective/package.json +11 -0
  202. package/v3/VwcAudioPlayer/index.d.ts +30 -28
  203. package/v3/VwcAudioPlayer/index.js +39 -16
  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 +4 -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 +47 -45
  224. package/v3/VwcButton/index.js +63 -29
  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 +18 -40
  234. package/v3/VwcCard/package.json +2 -2
  235. package/v3/VwcCheckbox/index.d.ts +31 -32
  236. package/v3/VwcCheckbox/index.js +4 -16
  237. package/v3/VwcCheckbox/package.json +2 -2
  238. package/v3/VwcColorPicker/index.d.ts +27 -28
  239. package/v3/VwcColorPicker/index.js +16 -20
  240. package/v3/VwcColorPicker/package.json +2 -2
  241. package/v3/VwcCombobox/index.d.ts +40 -42
  242. package/v3/VwcCombobox/index.js +15 -46
  243. package/v3/VwcCombobox/package.json +2 -2
  244. package/v3/VwcContextualHelp/index.d.ts +8 -8
  245. package/v3/VwcContextualHelp/index.js +4 -3
  246. package/v3/VwcContextualHelp/package.json +2 -2
  247. package/v3/VwcCountry/index.d.ts +27 -0
  248. package/v3/VwcCountry/index.js +104 -0
  249. package/v3/{VwcImagePlaceholder → 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/{VwcProseMirrorFacade → VwcCountryGroup}/package.json +3 -3
  253. package/v3/VwcDataGrid/index.d.ts +31 -38
  254. package/v3/VwcDataGrid/index.js +16 -28
  255. package/v3/VwcDataGrid/package.json +2 -2
  256. package/v3/VwcDataGridCell/index.d.ts +17 -19
  257. package/v3/VwcDataGridCell/index.js +6 -65
  258. package/v3/VwcDataGridCell/package.json +2 -2
  259. package/v3/VwcDataGridRow/index.d.ts +17 -19
  260. package/v3/VwcDataGridRow/index.js +2 -65
  261. package/v3/VwcDataGridRow/package.json +2 -2
  262. package/v3/VwcDatePicker/index.d.ts +26 -22
  263. package/v3/VwcDatePicker/index.js +29 -3
  264. package/v3/VwcDatePicker/package.json +2 -2
  265. package/v3/VwcDateRangePicker/index.d.ts +34 -30
  266. package/v3/VwcDateRangePicker/index.js +29 -4
  267. package/v3/VwcDateRangePicker/package.json +2 -2
  268. package/v3/VwcDateTimePicker/index.d.ts +38 -36
  269. package/v3/VwcDateTimePicker/index.js +41 -35
  270. package/v3/VwcDateTimePicker/package.json +2 -2
  271. package/v3/VwcDialPad/index.d.ts +123 -111
  272. package/v3/VwcDialPad/index.js +50 -30
  273. package/v3/VwcDialPad/package.json +2 -2
  274. package/v3/VwcDialog/index.d.ts +29 -31
  275. package/v3/VwcDialog/index.js +14 -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 -15
  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 +7 -6
  285. package/v3/VwcEmptyState/package.json +2 -2
  286. package/v3/VwcFab/index.d.ts +31 -32
  287. package/v3/VwcFab/index.js +10 -35
  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/{VwcDelegateAriaBehavior → VwcFeatureState}/package.json +3 -3
  292. package/v3/VwcFeedbackMessage/index.d.ts +7 -9
  293. package/v3/VwcFeedbackMessage/index.js +2 -14
  294. package/v3/VwcFeedbackMessage/package.json +2 -2
  295. package/v3/VwcFilePicker/index.d.ts +33 -35
  296. package/v3/VwcFilePicker/index.js +24 -34
  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/{VwcMenubar → VwcFlag}/package.json +3 -3
  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 +4 -22
  306. package/v3/VwcIcon/package.json +2 -2
  307. package/v3/VwcIdrefsController/index.d.ts +16 -0
  308. package/v3/VwcIdrefsController/index.js +230 -0
  309. package/v3/VwcIdrefsController/package.json +11 -0
  310. package/v3/VwcInlineTimePicker/index.d.ts +13 -15
  311. package/v3/VwcInlineTimePicker/index.js +2 -14
  312. package/v3/VwcInlineTimePicker/package.json +2 -2
  313. package/v3/VwcKbdKey/index.d.ts +36 -0
  314. package/v3/VwcKbdKey/index.js +187 -0
  315. package/v3/VwcKbdKey/package.json +11 -0
  316. package/v3/VwcKbdShortcut/index.d.ts +20 -0
  317. package/v3/VwcKbdShortcut/index.js +78 -0
  318. package/v3/VwcKbdShortcut/package.json +11 -0
  319. package/v3/VwcLayout/index.d.ts +15 -15
  320. package/v3/VwcLayout/index.js +9 -9
  321. package/v3/VwcLayout/package.json +2 -2
  322. package/v3/VwcListbox/index.d.ts +11 -11
  323. package/v3/VwcListbox/index.js +1 -14
  324. package/v3/VwcListbox/package.json +2 -2
  325. package/v3/VwcMenu/index.d.ts +21 -26
  326. package/v3/VwcMenu/index.js +13 -36
  327. package/v3/VwcMenu/package.json +2 -2
  328. package/v3/VwcMenuItem/index.d.ts +29 -31
  329. package/v3/VwcMenuItem/index.js +22 -37
  330. package/v3/VwcMenuItem/package.json +2 -2
  331. package/v3/VwcNav/index.d.ts +6 -8
  332. package/v3/VwcNav/index.js +2 -14
  333. package/v3/VwcNav/package.json +2 -2
  334. package/v3/VwcNavDisclosure/index.d.ts +16 -17
  335. package/v3/VwcNavDisclosure/index.js +4 -16
  336. package/v3/VwcNavDisclosure/package.json +2 -2
  337. package/v3/VwcNavItem/index.d.ts +22 -23
  338. package/v3/VwcNavItem/index.js +4 -16
  339. package/v3/VwcNavItem/package.json +2 -2
  340. package/v3/VwcNote/index.d.ts +12 -11
  341. package/v3/VwcNote/index.js +5 -5
  342. package/v3/VwcNote/package.json +2 -2
  343. package/v3/VwcNumberField/index.d.ts +40 -39
  344. package/v3/VwcNumberField/index.js +8 -18
  345. package/v3/VwcNumberField/package.json +2 -2
  346. package/v3/VwcOption/index.d.ts +31 -30
  347. package/v3/VwcOption/index.js +65 -28
  348. package/v3/VwcOption/package.json +2 -2
  349. package/v3/VwcOptionTag/index.d.ts +14 -12
  350. package/v3/VwcOptionTag/index.js +14 -4
  351. package/v3/VwcOptionTag/package.json +2 -2
  352. package/v3/VwcPagination/index.d.ts +12 -18
  353. package/v3/VwcPagination/index.js +2 -77
  354. package/v3/VwcPagination/package.json +2 -2
  355. package/v3/VwcPickerField/index.d.ts +19 -19
  356. package/v3/VwcPickerField/index.js +19 -14
  357. package/v3/VwcPickerField/package.json +2 -2
  358. package/v3/VwcPlatformSwitch/index.d.ts +20 -0
  359. package/v3/{VwcMenubar → VwcPlatformSwitch}/index.js +34 -38
  360. package/v3/VwcPlatformSwitch/package.json +11 -0
  361. package/v3/VwcPopover/index.d.ts +34 -0
  362. package/v3/VwcPopover/index.js +184 -0
  363. package/v3/VwcPopover/package.json +11 -0
  364. package/v3/VwcPopup/index.d.ts +18 -18
  365. package/v3/VwcPopup/index.js +1 -1
  366. package/v3/VwcPopup/package.json +2 -2
  367. package/v3/VwcProgress/index.d.ts +16 -18
  368. package/v3/VwcProgress/index.js +8 -20
  369. package/v3/VwcProgress/package.json +2 -2
  370. package/v3/VwcProgressRing/index.d.ts +12 -14
  371. package/v3/VwcProgressRing/index.js +2 -14
  372. package/v3/VwcProgressRing/package.json +2 -2
  373. package/v3/VwcRadio/index.d.ts +24 -23
  374. package/v3/VwcRadio/index.js +1 -1
  375. package/v3/VwcRadio/package.json +2 -2
  376. package/v3/VwcRadioGroup/index.d.ts +21 -20
  377. package/v3/VwcRadioGroup/index.js +9 -9
  378. package/v3/VwcRadioGroup/package.json +2 -2
  379. package/v3/VwcRangeSlider/index.d.ts +38 -36
  380. package/v3/VwcRangeSlider/index.js +8 -3
  381. package/v3/VwcRangeSlider/package.json +2 -2
  382. package/v3/VwcRichTextEditor/index.d.ts +10 -14
  383. package/v3/VwcRichTextEditor/index.js +68 -144
  384. package/v3/VwcRichTextEditor/package.json +2 -2
  385. package/v3/VwcRichTextView/index.d.ts +22 -0
  386. package/v3/VwcRichTextView/index.js +195 -0
  387. package/v3/VwcRichTextView/package.json +11 -0
  388. package/v3/VwcRteAlignmentFeatureImpl/index.d.ts +20 -0
  389. package/v3/VwcRteAlignmentFeatureImpl/index.js +283 -0
  390. package/v3/VwcRteAlignmentFeatureImpl/package.json +11 -0
  391. package/v3/VwcRteBaseImpl/index.d.ts +20 -0
  392. package/v3/VwcRteBaseImpl/index.js +249 -0
  393. package/v3/VwcRteBaseImpl/package.json +11 -0
  394. package/v3/VwcRteBasicTextBlocksImpl/index.d.ts +20 -0
  395. package/v3/VwcRteBasicTextBlocksImpl/index.js +284 -0
  396. package/v3/VwcRteBasicTextBlocksImpl/package.json +11 -0
  397. package/v3/VwcRteBoldFeatureImpl/index.d.ts +20 -0
  398. package/v3/VwcRteBoldFeatureImpl/index.js +262 -0
  399. package/v3/{VwcHostSemanticsBehavior → VwcRteBoldFeatureImpl}/package.json +3 -3
  400. package/v3/VwcRteCharacterCountFeatureImpl/index.d.ts +20 -0
  401. package/v3/VwcRteCharacterCountFeatureImpl/index.js +249 -0
  402. package/v3/VwcRteCharacterCountFeatureImpl/package.json +11 -0
  403. package/v3/VwcRteConfig/index.d.ts +17 -0
  404. package/v3/VwcRteConfig/index.js +73 -0
  405. package/v3/VwcRteConfig/package.json +11 -0
  406. package/v3/VwcRteConfigImpl/index.d.ts +27 -0
  407. package/v3/VwcRteConfigImpl/index.js +74 -0
  408. package/v3/VwcRteConfigImpl/package.json +11 -0
  409. package/v3/VwcRteCoreImpl/index.d.ts +22 -0
  410. package/v3/VwcRteCoreImpl/index.js +254 -0
  411. package/v3/VwcRteCoreImpl/package.json +11 -0
  412. package/v3/VwcRteCursorFixFeatureImpl/index.d.ts +20 -0
  413. package/v3/VwcRteCursorFixFeatureImpl/index.js +249 -0
  414. package/v3/VwcRteCursorFixFeatureImpl/package.json +11 -0
  415. package/v3/VwcRteDropHandlerFeatureImpl/index.d.ts +20 -0
  416. package/v3/VwcRteDropHandlerFeatureImpl/index.js +249 -0
  417. package/v3/VwcRteDropHandlerFeatureImpl/package.json +11 -0
  418. package/v3/VwcRteFeature/index.d.ts +16 -0
  419. package/v3/VwcRteFeature/index.js +25 -0
  420. package/v3/VwcRteFeature/package.json +11 -0
  421. package/v3/VwcRteFeatureImpl/index.d.ts +20 -0
  422. package/v3/VwcRteFeatureImpl/index.js +196 -0
  423. package/v3/VwcRteFeatureImpl/package.json +11 -0
  424. package/v3/VwcRteFileHandlerFeatureImpl/index.d.ts +20 -0
  425. package/v3/VwcRteFileHandlerFeatureImpl/index.js +249 -0
  426. package/v3/VwcRteFileHandlerFeatureImpl/package.json +11 -0
  427. package/v3/VwcRteFontSizePickerFeatureImpl/index.d.ts +24 -0
  428. package/v3/VwcRteFontSizePickerFeatureImpl/index.js +314 -0
  429. package/v3/VwcRteFontSizePickerFeatureImpl/package.json +11 -0
  430. package/v3/VwcRteForeignHtmlFeatureImpl/index.d.ts +20 -0
  431. package/v3/VwcRteForeignHtmlFeatureImpl/index.js +249 -0
  432. package/v3/VwcRteForeignHtmlFeatureImpl/package.json +11 -0
  433. package/v3/VwcRteHardBreakFeatureImpl/index.d.ts +20 -0
  434. package/v3/VwcRteHardBreakFeatureImpl/index.js +249 -0
  435. package/v3/VwcRteHardBreakFeatureImpl/package.json +11 -0
  436. package/v3/VwcRteHistoryFeatureImpl/index.d.ts +20 -0
  437. package/v3/VwcRteHistoryFeatureImpl/index.js +249 -0
  438. package/v3/VwcRteHistoryFeatureImpl/package.json +11 -0
  439. package/v3/VwcRteHtmlParser/index.d.ts +17 -0
  440. package/v3/VwcRteHtmlParser/index.js +106 -0
  441. package/v3/VwcRteHtmlParser/package.json +11 -0
  442. package/v3/VwcRteHtmlSerializer/index.d.ts +17 -0
  443. package/v3/VwcRteHtmlSerializer/index.js +81 -0
  444. package/v3/VwcRteHtmlSerializer/package.json +11 -0
  445. package/v3/VwcRteHtmlSerializerImpl/index.d.ts +17 -0
  446. package/v3/VwcRteHtmlSerializerImpl/index.js +77 -0
  447. package/v3/VwcRteHtmlSerializerImpl/package.json +11 -0
  448. package/v3/VwcRteInlineImageFeatureImpl/index.d.ts +20 -0
  449. package/v3/VwcRteInlineImageFeatureImpl/index.js +307 -0
  450. package/v3/VwcRteInlineImageFeatureImpl/package.json +11 -0
  451. package/v3/VwcRteInputRulesFeatureImpl/index.d.ts +20 -0
  452. package/v3/VwcRteInputRulesFeatureImpl/index.js +249 -0
  453. package/v3/VwcRteInputRulesFeatureImpl/package.json +11 -0
  454. package/v3/VwcRteInstance/index.d.ts +19 -0
  455. package/v3/VwcRteInstance/index.js +103 -0
  456. package/v3/VwcRteInstance/package.json +11 -0
  457. package/v3/VwcRteInstanceImpl/index.d.ts +21 -0
  458. package/v3/VwcRteInstanceImpl/index.js +249 -0
  459. package/v3/VwcRteInstanceImpl/package.json +11 -0
  460. package/v3/VwcRteItalicFeatureImpl/index.d.ts +20 -0
  461. package/v3/VwcRteItalicFeatureImpl/index.js +262 -0
  462. package/v3/VwcRteItalicFeatureImpl/package.json +11 -0
  463. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.d.ts +20 -0
  464. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.js +249 -0
  465. package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +11 -0
  466. package/v3/VwcRteLinkFeatureImpl/index.d.ts +22 -0
  467. package/v3/VwcRteLinkFeatureImpl/index.js +310 -0
  468. package/v3/VwcRteLinkFeatureImpl/package.json +11 -0
  469. package/v3/VwcRteListFeatureImpl/index.d.ts +20 -0
  470. package/v3/VwcRteListFeatureImpl/index.js +286 -0
  471. package/v3/VwcRteListFeatureImpl/package.json +11 -0
  472. package/v3/VwcRteMonospaceFeatureImpl/index.d.ts +20 -0
  473. package/v3/VwcRteMonospaceFeatureImpl/index.js +262 -0
  474. package/v3/VwcRteMonospaceFeatureImpl/package.json +11 -0
  475. package/v3/VwcRtePlaceholderFeatureImpl/index.d.ts +20 -0
  476. package/v3/VwcRtePlaceholderFeatureImpl/index.js +249 -0
  477. package/v3/VwcRtePlaceholderFeatureImpl/package.json +11 -0
  478. package/v3/VwcRteStrikethroughFeatureImpl/index.d.ts +20 -0
  479. package/v3/VwcRteStrikethroughFeatureImpl/index.js +262 -0
  480. package/v3/VwcRteStrikethroughFeatureImpl/package.json +11 -0
  481. package/v3/VwcRteTextBlockPickerFeatureImpl/index.d.ts +20 -0
  482. package/v3/VwcRteTextBlockPickerFeatureImpl/index.js +249 -0
  483. package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +11 -0
  484. package/v3/VwcRteTextColorPickerFeatureImpl/index.d.ts +22 -0
  485. package/v3/VwcRteTextColorPickerFeatureImpl/index.js +290 -0
  486. package/v3/VwcRteTextColorPickerFeatureImpl/package.json +11 -0
  487. package/v3/VwcRteTextStyleFeatureImpl/index.d.ts +20 -0
  488. package/v3/VwcRteTextStyleFeatureImpl/index.js +256 -0
  489. package/v3/VwcRteTextStyleFeatureImpl/package.json +11 -0
  490. package/v3/VwcRteToolbarFeatureImpl/index.d.ts +22 -0
  491. package/v3/VwcRteToolbarFeatureImpl/index.js +254 -0
  492. package/v3/VwcRteToolbarFeatureImpl/package.json +11 -0
  493. package/v3/VwcRteUnderlineFeatureImpl/index.d.ts +20 -0
  494. package/v3/VwcRteUnderlineFeatureImpl/index.js +262 -0
  495. package/v3/VwcRteUnderlineFeatureImpl/package.json +11 -0
  496. package/v3/VwcSearchableSelect/index.d.ts +51 -51
  497. package/v3/VwcSearchableSelect/index.js +38 -29
  498. package/v3/VwcSearchableSelect/package.json +2 -2
  499. package/v3/VwcSelect/index.d.ts +43 -41
  500. package/v3/VwcSelect/index.js +41 -46
  501. package/v3/VwcSelect/package.json +2 -2
  502. package/v3/VwcSelectableBox/index.d.ts +21 -21
  503. package/v3/VwcSelectableBox/index.js +28 -21
  504. package/v3/VwcSelectableBox/package.json +2 -2
  505. package/v3/VwcSideDrawer/index.d.ts +13 -13
  506. package/v3/VwcSideDrawer/index.js +1 -1
  507. package/v3/VwcSideDrawer/package.json +2 -2
  508. package/v3/VwcSimpleColorPicker/index.d.ts +21 -20
  509. package/v3/VwcSimpleColorPicker/index.js +13 -5
  510. package/v3/VwcSimpleColorPicker/package.json +2 -2
  511. package/v3/VwcSlider/index.d.ts +27 -28
  512. package/v3/VwcSlider/index.js +10 -17
  513. package/v3/VwcSlider/package.json +2 -2
  514. package/v3/VwcSplitButton/index.d.ts +29 -32
  515. package/v3/VwcSplitButton/index.js +18 -56
  516. package/v3/VwcSplitButton/package.json +2 -2
  517. package/v3/VwcStatus/index.d.ts +27 -0
  518. package/v3/VwcStatus/index.js +189 -0
  519. package/v3/VwcStatus/package.json +11 -0
  520. package/v3/VwcSwitch/index.d.ts +25 -26
  521. package/v3/VwcSwitch/index.js +6 -18
  522. package/v3/VwcSwitch/package.json +2 -2
  523. package/v3/VwcTab/index.d.ts +17 -18
  524. package/v3/VwcTab/index.js +4 -40
  525. package/v3/VwcTab/package.json +2 -2
  526. package/v3/VwcTabPanel/index.d.ts +6 -8
  527. package/v3/VwcTabPanel/index.js +2 -14
  528. package/v3/VwcTabPanel/package.json +2 -2
  529. package/v3/VwcTable/index.d.ts +20 -0
  530. package/v3/VwcTable/index.js +68 -0
  531. package/v3/VwcTable/package.json +11 -0
  532. package/v3/VwcTableBody/index.d.ts +20 -0
  533. package/v3/VwcTableBody/index.js +68 -0
  534. package/v3/VwcTableBody/package.json +11 -0
  535. package/v3/VwcTableCell/index.d.ts +21 -0
  536. package/v3/VwcTableCell/index.js +149 -0
  537. package/v3/VwcTableCell/package.json +11 -0
  538. package/v3/VwcTableHead/index.d.ts +20 -0
  539. package/v3/VwcTableHead/index.js +68 -0
  540. package/v3/VwcTableHead/package.json +11 -0
  541. package/v3/VwcTableHeaderCell/index.d.ts +21 -0
  542. package/v3/VwcTableHeaderCell/index.js +166 -0
  543. package/v3/VwcTableHeaderCell/package.json +11 -0
  544. package/v3/VwcTableRow/index.d.ts +20 -0
  545. package/v3/VwcTableRow/index.js +140 -0
  546. package/v3/VwcTableRow/package.json +11 -0
  547. package/v3/VwcTableSortingButton/index.d.ts +23 -0
  548. package/v3/VwcTableSortingButton/index.js +112 -0
  549. package/v3/VwcTableSortingButton/package.json +11 -0
  550. package/v3/VwcTabs/index.d.ts +19 -20
  551. package/v3/VwcTabs/index.js +15 -18
  552. package/v3/VwcTabs/package.json +2 -2
  553. package/v3/VwcTag/index.d.ts +19 -20
  554. package/v3/VwcTag/index.js +204 -37
  555. package/v3/VwcTag/package.json +2 -2
  556. package/v3/VwcTagGroup/index.d.ts +6 -8
  557. package/v3/VwcTagGroup/index.js +2 -14
  558. package/v3/VwcTagGroup/package.json +2 -2
  559. package/v3/VwcTextArea/index.d.ts +33 -34
  560. package/v3/VwcTextArea/index.js +13 -17
  561. package/v3/VwcTextArea/package.json +2 -2
  562. package/v3/VwcTextField/index.d.ts +51 -50
  563. package/v3/VwcTextField/index.js +29 -40
  564. package/v3/VwcTextField/package.json +2 -2
  565. package/v3/VwcTextblockAttrs/index.d.ts +17 -0
  566. package/v3/VwcTextblockAttrs/index.js +95 -0
  567. package/v3/VwcTextblockAttrs/package.json +11 -0
  568. package/v3/VwcTextblockMarks/index.d.ts +16 -0
  569. package/v3/VwcTextblockMarks/index.js +53 -0
  570. package/v3/VwcTextblockMarks/package.json +11 -0
  571. package/v3/VwcTimePicker/index.d.ts +30 -28
  572. package/v3/VwcTimePicker/index.js +33 -7
  573. package/v3/VwcTimePicker/package.json +2 -2
  574. package/v3/VwcToggletip/index.d.ts +15 -15
  575. package/v3/VwcToggletip/index.js +9 -32
  576. package/v3/VwcToggletip/package.json +2 -2
  577. package/v3/VwcTooltip/index.d.ts +11 -12
  578. package/v3/VwcTooltip/index.js +7 -7
  579. package/v3/VwcTooltip/package.json +2 -2
  580. package/v3/VwcTreeItem/index.d.ts +15 -16
  581. package/v3/VwcTreeItem/index.js +4 -34
  582. package/v3/VwcTreeItem/package.json +2 -2
  583. package/v3/VwcTreeView/index.d.ts +9 -12
  584. package/v3/VwcTreeView/index.js +4 -25
  585. package/v3/VwcTreeView/package.json +2 -2
  586. package/v3/VwcUiCtx/index.d.ts +16 -0
  587. package/v3/VwcUiCtx/index.js +108 -0
  588. package/v3/VwcUiCtx/package.json +11 -0
  589. package/v3/VwcVideoPlayer/index.d.ts +21 -21
  590. package/v3/VwcVideoPlayer/index.js +13 -13
  591. package/v3/VwcVideoPlayer/package.json +2 -2
  592. package/v3/VwcVisuallyHidden/index.d.ts +6 -6
  593. package/v3/VwcVisuallyHidden/index.js +1 -1
  594. package/v3/VwcVisuallyHidden/package.json +2 -2
  595. package/v3/VwcVividElement/index.d.ts +6 -8
  596. package/v3/VwcVividElement/index.js +6 -14
  597. package/v3/VwcVividElement/package.json +2 -2
  598. package/v3/VwcVividFoundationButton/index.d.ts +21 -23
  599. package/v3/VwcVividFoundationButton/index.js +2 -14
  600. package/v3/VwcVividFoundationButton/package.json +2 -2
  601. package/v3/VwcVvdHexInput/index.d.ts +4 -4
  602. package/v3/VwcVvdHexInput/index.js +1 -1
  603. package/v3/VwcVvdHexInput/package.json +2 -2
  604. package/v3/VwcVvdHexPicker/index.d.ts +4 -4
  605. package/v3/VwcVvdHexPicker/index.js +1 -1
  606. package/v3/VwcVvdHexPicker/package.json +2 -2
  607. package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
  608. package/v3/VwcDelegateAriaBehavior/index.js +0 -155
  609. package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
  610. package/v3/VwcHostSemanticsBehavior/index.js +0 -91
  611. package/v3/VwcImagePlaceholder/index.d.ts +0 -28
  612. package/v3/VwcImagePlaceholder/index.js +0 -116
  613. package/v3/VwcMenubar/index.d.ts +0 -22
  614. package/v3/VwcProseMirrorFacade/index.d.ts +0 -16
  615. package/v3/VwcProseMirrorFacade/index.js +0 -244
package/LICENSE.md ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -5,176 +5,167 @@ Vivid-react is a script allowing you to generate `Vivid-React` components for th
5
5
  The main goal of output package is to provide a better developer experience when using `Vivid` inside of `React` typescript applications. We still use regular `Vivid` web components, so be sure to target a recent browser.
6
6
 
7
7
  Goals:
8
- * wrap adding handlers for events like `change` which natively doesn't work in the environment
9
- * mocks for Jest
10
- * typing support (prop-types or typescript)
11
- * a handy interface for initialisation (eg. fonts)
12
- * getting advantages of JSX/TSX (eg. composed components*)
13
- * all components within one package**
14
- * storybook acting as developer sandbox for presenting quick examples
15
- * one place for all future vivid-related code to use with React
16
8
 
17
- *may provide a cut off at props inherited from MWC source.
9
+ - wrap adding handlers for events like `change` which natively doesn't work in the environment
10
+ - mocks for Jest
11
+ - typing support (prop-types or typescript)
12
+ - a handy interface for initialisation (eg. fonts)
13
+ - getting advantages of JSX/TSX (eg. composed components\*)
14
+ - all components within one package\*\*
15
+ - storybook acting as developer sandbox for presenting quick examples
16
+ - one place for all future vivid-related code to use with React
18
17
 
19
- **now also implemented in _raw_ Vivid.
18
+ \*may provide a cut off at props inherited from MWC source.
19
+
20
+ \*\*now also implemented in _raw_ Vivid.
20
21
 
21
22
  # Similar strongly typed wrappers for other frameworks?
22
- * https://github.com/Vonage/vivid-vue
23
+
24
+ - https://github.com/Vonage/vivid-vue
23
25
 
24
26
  # Why is this repository exists?
25
27
 
26
28
  [![Using Web Components in React - Web Component Essentials](https://img.youtube.com/vi/o1dMXrIv3Q8/0.jpg)](https://www.youtube.com/watch?v=o1dMXrIv3Q8)
27
29
 
28
30
  ## Supported components
31
+
29
32
  Here's the list of all available wrappers, with the `Vivid` package name and version used to generate each one.
30
33
  If you need to use a different version of a `Vivid` component, simply add it to your application's `package.json`.
31
34
  Adding the `resolutions` field when using `yarn` might help get the correct version installed.
32
35
 
33
- | Component Name | Package Name | Package Version |
34
- |----------------|--------------|-----------------|
35
- | VwcAccordion | @vonage/vwc-accordion | 2.45.0 |
36
- | VwcActionGroup | @vonage/vwc-action-group | 2.45.0 |
37
- | VwcBadge | @vonage/vwc-badge | 2.45.0 |
38
- | VwcBanner | @vonage/vwc-banner | 2.45.0 |
39
- | VwcButton | @vonage/vwc-button | 2.45.0 |
40
- | VwcButtonToggleGroup | @vonage/vwc-button-toggle-group | 2.45.0 |
41
- | VwcCalendar | @vonage/vwc-calendar | 2.45.0 |
42
- | VwcCard | @vonage/vwc-card | 2.45.0 |
43
- | VwcCarousel | @vonage/vwc-carousel | 2.45.0 |
44
- | VwcCheckbox | @vonage/vwc-checkbox | 2.45.0 |
45
- | VwcChips | @vonage/vwc-chips | 2.45.0 |
46
- | VwcCircularProgress | @vonage/vwc-circular-progress | 2.45.0 |
47
- | VwcDataGrid | @vonage/vwc-data-grid | 2.45.0 |
48
- | VwcDatepicker | @vonage/vwc-datepicker | 2.45.0 |
49
- | VwcDropdown | @vonage/vwc-dropdown | 2.45.0 |
50
- | VwcElevation | @vonage/vwc-elevation | 2.45.0 |
51
- | VwcEmptyState | @vonage/vwc-empty-state | 2.45.0 |
52
- | VwcExpansionPanel | @vonage/vwc-expansion-panel | 2.45.0 |
53
- | VwcFab | @vonage/vwc-fab | 2.45.0 |
54
- | VwcFilePicker | @vonage/vwc-file-picker | 2.45.0 |
55
- | VwcFormfield | @vonage/vwc-formfield | 2.45.0 |
56
- | VwcHelperMessage | @vonage/vwc-helper-message | 2.45.0 |
57
- | VwcIcon | @vonage/vwc-icon | 2.45.0 |
58
- | VwcIconButton | @vonage/vwc-icon-button | 2.45.0 |
59
- | VwcIconButtonToggle | @vonage/vwc-icon-button-toggle | 2.45.0 |
60
- | VwcKeypad | @vonage/vwc-keypad | 2.45.0 |
61
- | VwcLayout | @vonage/vwc-layout | 2.45.0 |
62
- | VwcLinearProgress | @vonage/vwc-linear-progress | 2.45.0 |
63
- | VwcList | @vonage/vwc-list | 2.45.0 |
64
- | VwcMediaController | @vonage/vwc-media-controller | 2.45.0 |
65
- | VwcMenu | @vonage/vwc-menu | 2.45.0 |
66
- | VwcNotchedOutline | @vonage/vwc-notched-outline | 2.45.0 |
67
- | VwcNote | @vonage/vwc-note | 2.45.0 |
68
- | VwcPagination | @vonage/vwc-pagination | 2.45.0 |
69
- | VwcPopup | @vonage/vwc-popup | 2.45.0 |
70
- | VwcRadio | @vonage/vwc-radio | 2.45.0 |
71
- | VwcSchemeSelect | @vonage/vwc-scheme-select | 2.45.0 |
72
- | VwcSelect | @vonage/vwc-select | 2.45.0 |
73
- | VwcSlider | @vonage/vwc-slider | 2.45.0 |
74
- | VwcSnackbar | @vonage/vwc-snackbar | 2.45.0 |
75
- | VwcSurface | @vonage/vwc-surface | 2.45.0 |
76
- | VwcSwitch | @vonage/vwc-switch | 2.45.0 |
77
- | VwcTabBar | @vonage/vwc-tab-bar | 2.45.0 |
78
- | VwcTags | @vonage/vwc-tags | 2.45.0 |
79
- | VwcText | @vonage/vwc-text | 2.45.0 |
80
- | VwcTextarea | @vonage/vwc-textarea | 2.45.0 |
81
- | VwcTextfield | @vonage/vwc-textfield | 2.45.0 |
82
- | VwcThemeSwitch | @vonage/vwc-theme-switch | 2.45.0 |
83
- | VwcTooltip | @vonage/vwc-tooltip | 2.45.0 |
84
- | VwcTopAppBar | @vonage/vwc-top-app-bar | 2.45.0 |
85
- | VwcTopAppBarFixed | @vonage/vwc-top-app-bar-fixed | 2.45.0 |
36
+ | Component Name | Package Name | Package Version |
37
+ | -------------------- | ------------------------------- | --------------- |
38
+ | VwcAccordion | @vonage/vwc-accordion | 2.46.3 |
39
+ | VwcActionGroup | @vonage/vwc-action-group | 2.46.3 |
40
+ | VwcBadge | @vonage/vwc-badge | 2.46.3 |
41
+ | VwcBanner | @vonage/vwc-banner | 2.46.3 |
42
+ | VwcButton | @vonage/vwc-button | 2.46.3 |
43
+ | VwcButtonToggleGroup | @vonage/vwc-button-toggle-group | 2.46.3 |
44
+ | VwcCalendar | @vonage/vwc-calendar | 2.46.3 |
45
+ | VwcCard | @vonage/vwc-card | 2.46.3 |
46
+ | VwcCarousel | @vonage/vwc-carousel | 2.46.3 |
47
+ | VwcCheckbox | @vonage/vwc-checkbox | 2.46.3 |
48
+ | VwcChips | @vonage/vwc-chips | 2.46.3 |
49
+ | VwcCircularProgress | @vonage/vwc-circular-progress | 2.46.3 |
50
+ | VwcDataGrid | @vonage/vwc-data-grid | 2.46.3 |
51
+ | VwcDatepicker | @vonage/vwc-datepicker | 2.46.3 |
52
+ | VwcDropdown | @vonage/vwc-dropdown | 2.46.3 |
53
+ | VwcElevation | @vonage/vwc-elevation | 2.46.3 |
54
+ | VwcEmptyState | @vonage/vwc-empty-state | 2.46.3 |
55
+ | VwcExpansionPanel | @vonage/vwc-expansion-panel | 2.46.3 |
56
+ | VwcFab | @vonage/vwc-fab | 2.46.3 |
57
+ | VwcFilePicker | @vonage/vwc-file-picker | 2.46.3 |
58
+ | VwcFormfield | @vonage/vwc-formfield | 2.46.3 |
59
+ | VwcHelperMessage | @vonage/vwc-helper-message | 2.46.3 |
60
+ | VwcIcon | @vonage/vwc-icon | 2.46.3 |
61
+ | VwcIconButton | @vonage/vwc-icon-button | 2.46.3 |
62
+ | VwcIconButtonToggle | @vonage/vwc-icon-button-toggle | 2.46.3 |
63
+ | VwcKeypad | @vonage/vwc-keypad | 2.46.3 |
64
+ | VwcLayout | @vonage/vwc-layout | 2.46.3 |
65
+ | VwcLinearProgress | @vonage/vwc-linear-progress | 2.46.3 |
66
+ | VwcList | @vonage/vwc-list | 2.46.3 |
67
+ | VwcMediaController | @vonage/vwc-media-controller | 2.46.3 |
68
+ | VwcMenu | @vonage/vwc-menu | 2.46.3 |
69
+ | VwcNotchedOutline | @vonage/vwc-notched-outline | 2.46.3 |
70
+ | VwcNote | @vonage/vwc-note | 2.46.3 |
71
+ | VwcPagination | @vonage/vwc-pagination | 2.46.3 |
72
+ | VwcPopup | @vonage/vwc-popup | 2.46.3 |
73
+ | VwcRadio | @vonage/vwc-radio | 2.46.3 |
74
+ | VwcSchemeSelect | @vonage/vwc-scheme-select | 2.46.3 |
75
+ | VwcSelect | @vonage/vwc-select | 2.46.3 |
76
+ | VwcSlider | @vonage/vwc-slider | 2.46.3 |
77
+ | VwcSnackbar | @vonage/vwc-snackbar | 2.46.3 |
78
+ | VwcSurface | @vonage/vwc-surface | 2.46.3 |
79
+ | VwcSwitch | @vonage/vwc-switch | 2.46.3 |
80
+ | VwcTabBar | @vonage/vwc-tab-bar | 2.46.3 |
81
+ | VwcTags | @vonage/vwc-tags | 2.46.3 |
82
+ | VwcText | @vonage/vwc-text | 2.46.3 |
83
+ | VwcTextarea | @vonage/vwc-textarea | 2.46.3 |
84
+ | VwcTextfield | @vonage/vwc-textfield | 2.46.3 |
85
+ | VwcThemeSwitch | @vonage/vwc-theme-switch | 2.46.3 |
86
+ | VwcTooltip | @vonage/vwc-tooltip | 2.46.3 |
87
+ | VwcTopAppBar | @vonage/vwc-top-app-bar | 2.46.3 |
88
+ | VwcTopAppBarFixed | @vonage/vwc-top-app-bar-fixed | 2.46.3 |
86
89
 
87
90
  If the one you're looking for is missing, just [add a new one](#adding-a-component), so everyone can access them.
88
91
 
89
92
  ## Installation
93
+
90
94
  Just run:
95
+
91
96
  ```shell
92
97
  $ yarn add @vonage/vivid-react
93
98
  ```
99
+
94
100
  No need for importing `vivid` directly. The dependencies will be installed for you.
95
101
 
96
102
  ## Initialization
97
103
 
98
104
  ```javascript
99
- import ReactDOM from 'react-dom'
100
- import { initVivid } from '@vonage/vivid-react'
101
- const rootElement = document.getElementById('react-root')
105
+ import ReactDOM from 'react-dom';
106
+ import { initVivid } from '@vonage/vivid-react';
107
+ const rootElement = document.getElementById('react-root');
102
108
  const renderApp = () => {
103
- // do some more initialization before rendering the main App
104
- ReactDOM.render(
105
- <App />,
106
- rootElement
107
- )
108
- }
109
+ // do some more initialization before rendering the main App
110
+ ReactDOM.render(<App />, rootElement);
111
+ };
109
112
 
110
113
  // for Vivid 2.x
111
- initVivid(rootElement).then(renderApp)
114
+ initVivid(rootElement).then(renderApp);
112
115
 
113
116
  // OR
114
117
 
115
118
  // for Vivid 2.x + Vivid 3.x
116
119
  initVivid(rootElement, () => {}, {
117
- font: 'oss',
118
- theme: 'light'
119
- }).then(renderApp)
120
+ font: 'oss',
121
+ theme: 'light',
122
+ }).then(renderApp);
120
123
  ```
121
124
 
122
125
  ## Importing
126
+
123
127
  For vivid **2.x**
124
128
  Instead of importing each `vivid` component from `@vonage/vwc-*`, import them from `@vonage/vivid-react` instead.
129
+
125
130
  ```javascript
126
- import VwcCheckbox from '@vonage/vivid-react/VwcCheckbox'
127
- import VwcSlider from '@vonage/vivid-react/VwcSlider'
131
+ import VwcCheckbox from '@vonage/vivid-react/VwcCheckbox';
132
+ import VwcSlider from '@vonage/vivid-react/VwcSlider';
128
133
  ```
129
134
 
130
135
  For vivid **3.x**
136
+
131
137
  ```javascript
132
- import VwcCheckbox from '@vonage/vivid-react/v3/VwcCheckbox'
133
- import VwcSlider from '@vonage/vivid-react/v3/VwcSlider'
138
+ import VwcCheckbox from '@vonage/vivid-react/v3/VwcCheckbox';
139
+ import VwcSlider from '@vonage/vivid-react/v3/VwcSlider';
134
140
  ```
135
141
 
136
142
  ## Bundling
143
+
137
144
  This package is an ES module, so you might need to add some configuration to your bundling process.
138
145
 
139
146
  ## Testing
147
+
140
148
  If you have problems rendering `vivid` when using Jest/Enzyme combo, you can add this to your `package.json` to replace all `Vivid` wrapped components with an empty React component.
141
149
  It'll work also for _raw_ `vivid` components used in project, since js-dom doesn't support shadow DOM.
142
150
 
143
151
  ```json
144
152
  {
145
- "jest": {
146
- "moduleNameMapper": {
147
- "@vonage\/(vwc|vvd)": "@vonage/vivid-react/testing/component.mock.js"
148
- },
149
- "transformIgnorePatterns": [
150
- "node_modules/(?!(@cct|@vonage|@lit|lit-html|lit-element)/)"
151
- ]
152
- }
153
+ "jest": {
154
+ "moduleNameMapper": {
155
+ "@vonage\/(vwc|vvd)": "@vonage/vivid-react/testing/component.mock.js"
156
+ },
157
+ "transformIgnorePatterns": ["node_modules/(?!(@cct|@vonage|@lit|lit-html|lit-element)/)"]
158
+ }
153
159
  }
154
160
  ```
155
161
 
156
162
  # Development
157
163
 
158
164
  ## Adding a component
159
- Follow the steps:
160
- * clone this repo
161
- * create a branch
162
- * add the missing vivid component as a `dependency` in `package.json`
163
- * create a new PR and get it merged to `master`
164
- * [publish](#publishing-a-new-version) new version
165
- * install the new package in your application
166
-
167
- ## Publishing a new version
168
- When you want to release the latest changes, checkout the latest `master` branch and run:
169
165
 
170
- ```shell
171
- $ yarn version --new-version {minor/major/patch}
172
- ```
166
+ Follow the steps:
173
167
 
174
- ### Selecting new version number:
175
- - `patch` - fixing some small issue, without new functionality
176
- - `minor` - after adding support for a new component, or adding a new awesome feature
177
- - `major` - after breaking or major package changes
168
+ - add the missing vivid component as a `dependency` in `package.json`
178
169
 
179
170
  ## Storybook
180
171
 
@@ -184,8 +175,9 @@ with no arguments/properties, fill them before using component.
184
175
  ## Compound Components
185
176
 
186
177
  In the `scripts/generateWrappers/consts.js` you can define sets of compound components. All they do is filling default props. They are accessible after a dot:
178
+
187
179
  ```javascript
188
180
  <VwcButton.Alert />
189
181
  ```
190
182
 
191
- *This is the end*
183
+ _This is the end_
@@ -5,10 +5,10 @@ import '@vonage/vwc-accordion';
5
5
  */
6
6
  declare const VwcAccordion: (props: {
7
7
  children?: ReactNode;
8
- slot?: string | undefined;
9
- id?: string | undefined;
10
- style?: React.CSSProperties | undefined;
11
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
12
- multi?: boolean | undefined;
8
+ slot?: string;
9
+ id?: string;
10
+ style?: React.CSSProperties;
11
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
12
+ multi?: boolean;
13
13
  }) => JSX.Element;
14
14
  export default VwcAccordion;
@@ -16,7 +16,6 @@ Code in this file were generated using following JSON:
16
16
  "properties": [
17
17
  {
18
18
  "name": "styles",
19
- "type": "CSSResult",
20
19
  "default": "\"style\""
21
20
  },
22
21
  {
@@ -31,7 +30,7 @@ Code in this file were generated using following JSON:
31
30
  }
32
31
  */
33
32
  import PropTypes from 'prop-types'
34
- import wrapper from '@vonage/vivid-react-wrapper'
33
+ import wrapper from '@repo/react-component-wrapper'
35
34
  import '@vonage/vwc-accordion'
36
35
 
37
36
 
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vwc-accordion",
3
- "version": "4.0.0",
3
+ "version": "5.20.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/vwc-accordion": "2.45.0"
9
+ "@vonage/vwc-accordion": "2.46.3"
10
10
  }
11
11
  }
@@ -1,18 +1,18 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import '@vonage/vwc-action-group';
3
3
  /** Represents an action-group custom element.
4
- * @param {ActionGroupShape | undefined} shape attribute: &lt;VwcActionGroup shape />
5
- * @param {ActionGroupLayout | undefined} layout attribute: &lt;VwcActionGroup layout />
4
+ * @param shape attribute: &lt;VwcActionGroup shape />
5
+ * @param layout attribute: &lt;VwcActionGroup layout />
6
6
  * @param {boolean} tight attribute: &lt;VwcActionGroup tight />
7
7
  */
8
8
  declare const VwcActionGroup: (props: {
9
9
  children?: ReactNode;
10
- slot?: string | undefined;
11
- id?: string | undefined;
12
- style?: React.CSSProperties | undefined;
13
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
10
+ slot?: string;
11
+ id?: string;
12
+ style?: React.CSSProperties;
13
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
14
14
  shape?: any;
15
15
  layout?: any;
16
- tight?: boolean | undefined;
16
+ tight?: boolean;
17
17
  }) => JSX.Element;
18
18
  export default VwcActionGroup;
@@ -9,12 +9,10 @@ Code in this file were generated using following JSON:
9
9
  "description": "Represents an action-group custom element.",
10
10
  "attributes": [
11
11
  {
12
- "name": "shape",
13
- "type": "ActionGroupShape | undefined"
12
+ "name": "shape"
14
13
  },
15
14
  {
16
- "name": "layout",
17
- "type": "ActionGroupLayout | undefined"
15
+ "name": "layout"
18
16
  },
19
17
  {
20
18
  "name": "tight",
@@ -25,19 +23,16 @@ Code in this file were generated using following JSON:
25
23
  "properties": [
26
24
  {
27
25
  "name": "styles",
28
- "type": "CSSResult",
29
26
  "default": "\"style\""
30
27
  },
31
28
  {
32
29
  "name": "shape",
33
30
  "attribute": "shape",
34
- "type": "ActionGroupShape | undefined",
35
31
  "bindable": false
36
32
  },
37
33
  {
38
34
  "name": "layout",
39
35
  "attribute": "layout",
40
- "type": "ActionGroupLayout | undefined",
41
36
  "bindable": false
42
37
  },
43
38
  {
@@ -58,13 +53,13 @@ Code in this file were generated using following JSON:
58
53
  }
59
54
  */
60
55
  import PropTypes from 'prop-types'
61
- import wrapper from '@vonage/vivid-react-wrapper'
56
+ import wrapper from '@repo/react-component-wrapper'
62
57
  import '@vonage/vwc-action-group'
63
58
 
64
59
 
65
60
  /** Represents an action-group custom element.
66
- * @param {ActionGroupShape | undefined} shape attribute: &lt;VwcActionGroup shape />
67
- * @param {ActionGroupLayout | undefined} layout attribute: &lt;VwcActionGroup layout />
61
+ * @param shape attribute: &lt;VwcActionGroup shape />
62
+ * @param layout attribute: &lt;VwcActionGroup layout />
68
63
  * @param {boolean} tight attribute: &lt;VwcActionGroup tight />
69
64
  */
70
65
  const VwcActionGroup = wrapper('vwc-action-group', {
@@ -74,8 +69,8 @@ const VwcActionGroup = wrapper('vwc-action-group', {
74
69
  });
75
70
 
76
71
  VwcActionGroup.propTypes = {
77
- shape: PropTypes.any /* ActionGroupShape | undefined *//* attribute: shape */,
78
- layout: PropTypes.any /* ActionGroupLayout | undefined *//* attribute: layout */,
72
+ shape: PropTypes.any /* type not provided *//* attribute: shape */,
73
+ layout: PropTypes.any /* type not provided *//* attribute: layout */,
79
74
  tight: PropTypes.bool/* default: false *//* attribute: tight */
80
75
  }
81
76
 
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vwc-action-group",
3
- "version": "4.0.0",
3
+ "version": "5.20.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/vwc-action-group": "2.45.0"
9
+ "@vonage/vwc-action-group": "2.46.3"
10
10
  }
11
11
  }