@vonage/vivid-react 4.0.0 → 5.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +99 -107
  3. package/VwcAccordion/index.d.ts +5 -5
  4. package/VwcAccordion/index.js +1 -2
  5. package/VwcAccordion/package.json +2 -2
  6. package/VwcActionGroup/index.d.ts +7 -7
  7. package/VwcActionGroup/index.js +7 -12
  8. package/VwcActionGroup/package.json +2 -2
  9. package/VwcBadge/index.d.ts +9 -9
  10. package/VwcBadge/index.js +10 -17
  11. package/VwcBadge/package.json +2 -2
  12. package/VwcBanner/index.d.ts +10 -10
  13. package/VwcBanner/index.js +8 -11
  14. package/VwcBanner/package.json +2 -2
  15. package/VwcButton/index.d.ts +15 -34
  16. package/VwcButton/index.js +15 -100
  17. package/VwcButton/package.json +2 -2
  18. package/VwcButtonToggleGroup/index.d.ts +12 -11
  19. package/VwcButtonToggleGroup/index.js +1 -1
  20. package/VwcButtonToggleGroup/package.json +2 -2
  21. package/VwcCalendar/index.d.ts +4 -4
  22. package/VwcCalendar/index.js +1 -1
  23. package/VwcCalendar/package.json +2 -2
  24. package/VwcCalendarEvent/index.d.ts +6 -6
  25. package/VwcCalendarEvent/index.js +1 -1
  26. package/VwcCalendarEvent/package.json +2 -2
  27. package/VwcCard/index.d.ts +8 -7
  28. package/VwcCard/index.js +1 -1
  29. package/VwcCard/package.json +2 -2
  30. package/VwcCarousel/index.d.ts +5 -5
  31. package/VwcCarousel/index.js +1 -1
  32. package/VwcCarousel/package.json +2 -2
  33. package/VwcCarouselItem/index.d.ts +4 -4
  34. package/VwcCarouselItem/index.js +1 -1
  35. package/VwcCarouselItem/package.json +2 -2
  36. package/VwcCheckListItem/index.d.ts +7 -32
  37. package/VwcCheckListItem/index.js +4 -112
  38. package/VwcCheckListItem/package.json +2 -2
  39. package/VwcCheckbox/index.d.ts +7 -26
  40. package/VwcCheckbox/index.js +3 -88
  41. package/VwcCheckbox/package.json +2 -2
  42. package/VwcChip/index.d.ts +12 -12
  43. package/VwcChip/index.js +2 -3
  44. package/VwcChip/package.json +2 -2
  45. package/VwcChipSet/index.d.ts +6 -5
  46. package/VwcChipSet/index.js +2 -3
  47. package/VwcChipSet/package.json +2 -2
  48. package/VwcCircularProgress/index.d.ts +5 -15
  49. package/VwcCircularProgress/index.js +3 -43
  50. package/VwcCircularProgress/package.json +2 -2
  51. package/VwcDataGrid/index.d.ts +11 -10
  52. package/VwcDataGrid/index.js +4 -5
  53. package/VwcDataGrid/package.json +2 -2
  54. package/VwcDataGridColumn/index.d.ts +13 -13
  55. package/VwcDataGridColumn/index.js +1 -1
  56. package/VwcDataGridColumn/package.json +2 -2
  57. package/VwcDatepicker/index.d.ts +8 -106
  58. package/VwcDatepicker/index.js +3 -352
  59. package/VwcDatepicker/package.json +2 -2
  60. package/VwcDropdown/index.d.ts +24 -24
  61. package/VwcDropdown/index.js +2 -2
  62. package/VwcDropdown/package.json +2 -2
  63. package/VwcElevation/index.d.ts +5 -5
  64. package/VwcElevation/index.js +1 -1
  65. package/VwcElevation/package.json +2 -2
  66. package/VwcEmptyState/index.d.ts +4 -4
  67. package/VwcEmptyState/index.js +1 -1
  68. package/VwcEmptyState/package.json +2 -2
  69. package/VwcExpansionPanel/index.d.ts +16 -16
  70. package/VwcExpansionPanel/index.js +4 -5
  71. package/VwcExpansionPanel/package.json +2 -2
  72. package/VwcFab/index.d.ts +4 -22
  73. package/VwcFab/index.js +2 -73
  74. package/VwcFab/package.json +2 -2
  75. package/VwcFilePicker/index.d.ts +10 -10
  76. package/VwcFilePicker/index.js +2 -2
  77. package/VwcFilePicker/package.json +2 -2
  78. package/VwcFormfield/index.d.ts +5 -12
  79. package/VwcFormfield/index.js +3 -35
  80. package/VwcFormfield/package.json +2 -2
  81. package/VwcHelperMessage/index.d.ts +5 -5
  82. package/VwcHelperMessage/index.js +2 -2
  83. package/VwcHelperMessage/package.json +2 -2
  84. package/VwcIcon/index.d.ts +7 -7
  85. package/VwcIcon/index.js +7 -11
  86. package/VwcIcon/package.json +2 -2
  87. package/VwcIconButton/index.d.ts +12 -17
  88. package/VwcIconButton/index.js +7 -43
  89. package/VwcIconButton/package.json +2 -2
  90. package/VwcIconButtonToggle/index.d.ts +11 -24
  91. package/VwcIconButtonToggle/index.js +9 -65
  92. package/VwcIconButtonToggle/package.json +2 -2
  93. package/VwcKeypad/index.d.ts +15 -15
  94. package/VwcKeypad/index.js +1 -1
  95. package/VwcKeypad/package.json +2 -2
  96. package/VwcLayout/index.d.ts +7 -7
  97. package/VwcLayout/index.js +14 -21
  98. package/VwcLayout/package.json +2 -2
  99. package/VwcLinearProgress/index.d.ts +5 -17
  100. package/VwcLinearProgress/index.js +4 -52
  101. package/VwcLinearProgress/package.json +2 -2
  102. package/VwcList/index.d.ts +6 -28
  103. package/VwcList/index.js +6 -113
  104. package/VwcList/package.json +2 -2
  105. package/VwcListExpansionPanel/index.d.ts +9 -7
  106. package/VwcListExpansionPanel/index.js +1 -2
  107. package/VwcListExpansionPanel/package.json +2 -2
  108. package/VwcListItem/index.d.ts +10 -31
  109. package/VwcListItem/index.js +8 -109
  110. package/VwcListItem/package.json +2 -2
  111. package/VwcMenu/index.d.ts +5 -44
  112. package/VwcMenu/index.js +5 -166
  113. package/VwcMenu/package.json +2 -2
  114. package/VwcNotchedOutline/index.d.ts +5 -8
  115. package/VwcNotchedOutline/index.js +3 -21
  116. package/VwcNotchedOutline/package.json +2 -2
  117. package/VwcNote/index.d.ts +5 -5
  118. package/VwcNote/index.js +3 -4
  119. package/VwcNote/package.json +2 -2
  120. package/VwcPagination/index.d.ts +8 -7
  121. package/VwcPagination/index.js +1 -1
  122. package/VwcPagination/package.json +2 -2
  123. package/VwcPopup/index.d.ts +9 -9
  124. package/VwcPopup/index.js +7 -12
  125. package/VwcPopup/package.json +2 -2
  126. package/VwcRadio/index.d.ts +6 -43
  127. package/VwcRadio/index.js +3 -111
  128. package/VwcRadio/package.json +2 -2
  129. package/VwcRadioListItem/index.d.ts +6 -33
  130. package/VwcRadioListItem/index.js +5 -113
  131. package/VwcRadioListItem/package.json +2 -2
  132. package/VwcSchemeSelect/index.d.ts +6 -6
  133. package/VwcSchemeSelect/index.js +8 -8
  134. package/VwcSchemeSelect/package.json +2 -2
  135. package/VwcScrubBar/index.d.ts +4 -4
  136. package/VwcScrubBar/index.js +1 -1
  137. package/VwcScrubBar/package.json +2 -2
  138. package/VwcSelect/index.d.ts +8 -46
  139. package/VwcSelect/index.js +10 -164
  140. package/VwcSelect/package.json +2 -2
  141. package/VwcSlider/index.d.ts +9 -26
  142. package/VwcSlider/index.js +3 -83
  143. package/VwcSlider/package.json +2 -2
  144. package/VwcSnackbar/index.d.ts +17 -25
  145. package/VwcSnackbar/index.js +7 -50
  146. package/VwcSnackbar/package.json +2 -2
  147. package/VwcSurface/index.d.ts +5 -34
  148. package/VwcSurface/index.js +5 -106
  149. package/VwcSurface/package.json +2 -2
  150. package/VwcSwitch/index.d.ts +8 -17
  151. package/VwcSwitch/index.js +5 -51
  152. package/VwcSwitch/package.json +2 -2
  153. package/VwcTab/index.d.ts +9 -28
  154. package/VwcTab/index.js +2 -87
  155. package/VwcTab/package.json +2 -2
  156. package/VwcTabBar/index.d.ts +7 -7
  157. package/VwcTabBar/index.js +3 -15
  158. package/VwcTabBar/package.json +2 -2
  159. package/VwcTag/index.d.ts +13 -13
  160. package/VwcTag/index.js +12 -16
  161. package/VwcTag/package.json +2 -2
  162. package/VwcText/index.d.ts +7 -7
  163. package/VwcText/index.js +7 -12
  164. package/VwcText/package.json +2 -2
  165. package/VwcTextarea/index.d.ts +12 -81
  166. package/VwcTextarea/index.js +3 -268
  167. package/VwcTextarea/package.json +2 -2
  168. package/VwcTextfield/index.d.ts +15 -72
  169. package/VwcTextfield/index.js +7 -244
  170. package/VwcTextfield/package.json +2 -2
  171. package/VwcThemeSwitch/index.d.ts +5 -5
  172. package/VwcThemeSwitch/index.js +4 -7
  173. package/VwcThemeSwitch/package.json +2 -2
  174. package/VwcTooltip/index.d.ts +9 -9
  175. package/VwcTooltip/index.js +6 -9
  176. package/VwcTooltip/package.json +2 -2
  177. package/VwcTopAppBar/index.d.ts +5 -13
  178. package/VwcTopAppBar/index.js +3 -31
  179. package/VwcTopAppBar/package.json +2 -2
  180. package/VwcTopAppBarFixed/index.d.ts +5 -13
  181. package/VwcTopAppBarFixed/index.js +3 -31
  182. package/VwcTopAppBarFixed/package.json +2 -2
  183. package/index.js +27 -324
  184. package/package.json +103 -119
  185. package/testing/component.mock.js +2 -2
  186. package/types/index.d.ts +258 -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 +46 -44
  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/VwcInlineTimePicker/index.d.ts +13 -15
  308. package/v3/VwcInlineTimePicker/index.js +2 -14
  309. package/v3/VwcInlineTimePicker/package.json +2 -2
  310. package/v3/VwcLayout/index.d.ts +15 -15
  311. package/v3/VwcLayout/index.js +9 -9
  312. package/v3/VwcLayout/package.json +2 -2
  313. package/v3/VwcListbox/index.d.ts +11 -11
  314. package/v3/VwcListbox/index.js +1 -14
  315. package/v3/VwcListbox/package.json +2 -2
  316. package/v3/VwcMenu/index.d.ts +20 -26
  317. package/v3/VwcMenu/index.js +13 -36
  318. package/v3/VwcMenu/package.json +2 -2
  319. package/v3/VwcMenuItem/index.d.ts +29 -31
  320. package/v3/VwcMenuItem/index.js +18 -37
  321. package/v3/VwcMenuItem/package.json +2 -2
  322. package/v3/VwcNav/index.d.ts +6 -8
  323. package/v3/VwcNav/index.js +2 -14
  324. package/v3/VwcNav/package.json +2 -2
  325. package/v3/VwcNavDisclosure/index.d.ts +16 -17
  326. package/v3/VwcNavDisclosure/index.js +4 -16
  327. package/v3/VwcNavDisclosure/package.json +2 -2
  328. package/v3/VwcNavItem/index.d.ts +22 -23
  329. package/v3/VwcNavItem/index.js +4 -16
  330. package/v3/VwcNavItem/package.json +2 -2
  331. package/v3/VwcNote/index.d.ts +12 -11
  332. package/v3/VwcNote/index.js +5 -5
  333. package/v3/VwcNote/package.json +2 -2
  334. package/v3/VwcNumberField/index.d.ts +40 -39
  335. package/v3/VwcNumberField/index.js +8 -18
  336. package/v3/VwcNumberField/package.json +2 -2
  337. package/v3/VwcOption/index.d.ts +31 -30
  338. package/v3/VwcOption/index.js +65 -28
  339. package/v3/VwcOption/package.json +2 -2
  340. package/v3/VwcOptionTag/index.d.ts +14 -12
  341. package/v3/VwcOptionTag/index.js +14 -4
  342. package/v3/VwcOptionTag/package.json +2 -2
  343. package/v3/VwcPagination/index.d.ts +12 -18
  344. package/v3/VwcPagination/index.js +2 -77
  345. package/v3/VwcPagination/package.json +2 -2
  346. package/v3/VwcPickerField/index.d.ts +19 -19
  347. package/v3/VwcPickerField/index.js +19 -14
  348. package/v3/VwcPickerField/package.json +2 -2
  349. package/v3/VwcPopover/index.d.ts +34 -0
  350. package/v3/VwcPopover/index.js +179 -0
  351. package/v3/VwcPopover/package.json +11 -0
  352. package/v3/VwcPopup/index.d.ts +18 -18
  353. package/v3/VwcPopup/index.js +1 -1
  354. package/v3/VwcPopup/package.json +2 -2
  355. package/v3/VwcProgress/index.d.ts +16 -18
  356. package/v3/VwcProgress/index.js +8 -20
  357. package/v3/VwcProgress/package.json +2 -2
  358. package/v3/VwcProgressRing/index.d.ts +12 -14
  359. package/v3/VwcProgressRing/index.js +2 -14
  360. package/v3/VwcProgressRing/package.json +2 -2
  361. package/v3/VwcRadio/index.d.ts +24 -23
  362. package/v3/VwcRadio/index.js +1 -1
  363. package/v3/VwcRadio/package.json +2 -2
  364. package/v3/VwcRadioGroup/index.d.ts +21 -20
  365. package/v3/VwcRadioGroup/index.js +9 -9
  366. package/v3/VwcRadioGroup/package.json +2 -2
  367. package/v3/VwcRangeSlider/index.d.ts +38 -36
  368. package/v3/VwcRangeSlider/index.js +8 -3
  369. package/v3/VwcRangeSlider/package.json +2 -2
  370. package/v3/VwcRichTextEditor/index.d.ts +10 -14
  371. package/v3/VwcRichTextEditor/index.js +64 -148
  372. package/v3/VwcRichTextEditor/package.json +2 -2
  373. package/v3/VwcRichTextView/index.d.ts +22 -0
  374. package/v3/VwcRichTextView/index.js +195 -0
  375. package/v3/VwcRichTextView/package.json +11 -0
  376. package/v3/VwcRteAlignmentFeatureImpl/index.d.ts +20 -0
  377. package/v3/VwcRteAlignmentFeatureImpl/index.js +283 -0
  378. package/v3/VwcRteAlignmentFeatureImpl/package.json +11 -0
  379. package/v3/VwcRteBaseImpl/index.d.ts +20 -0
  380. package/v3/VwcRteBaseImpl/index.js +249 -0
  381. package/v3/VwcRteBaseImpl/package.json +11 -0
  382. package/v3/VwcRteBasicTextBlocksImpl/index.d.ts +20 -0
  383. package/v3/VwcRteBasicTextBlocksImpl/index.js +284 -0
  384. package/v3/VwcRteBasicTextBlocksImpl/package.json +11 -0
  385. package/v3/VwcRteBoldFeatureImpl/index.d.ts +20 -0
  386. package/v3/VwcRteBoldFeatureImpl/index.js +262 -0
  387. package/v3/{VwcHostSemanticsBehavior → VwcRteBoldFeatureImpl}/package.json +3 -3
  388. package/v3/VwcRteCharacterCountFeatureImpl/index.d.ts +20 -0
  389. package/v3/VwcRteCharacterCountFeatureImpl/index.js +249 -0
  390. package/v3/VwcRteCharacterCountFeatureImpl/package.json +11 -0
  391. package/v3/VwcRteConfig/index.d.ts +17 -0
  392. package/v3/VwcRteConfig/index.js +73 -0
  393. package/v3/VwcRteConfig/package.json +11 -0
  394. package/v3/VwcRteConfigImpl/index.d.ts +27 -0
  395. package/v3/VwcRteConfigImpl/index.js +74 -0
  396. package/v3/VwcRteConfigImpl/package.json +11 -0
  397. package/v3/VwcRteCoreImpl/index.d.ts +22 -0
  398. package/v3/VwcRteCoreImpl/index.js +254 -0
  399. package/v3/VwcRteCoreImpl/package.json +11 -0
  400. package/v3/VwcRteCursorFixFeatureImpl/index.d.ts +20 -0
  401. package/v3/VwcRteCursorFixFeatureImpl/index.js +249 -0
  402. package/v3/VwcRteCursorFixFeatureImpl/package.json +11 -0
  403. package/v3/VwcRteDropHandlerFeatureImpl/index.d.ts +20 -0
  404. package/v3/VwcRteDropHandlerFeatureImpl/index.js +249 -0
  405. package/v3/VwcRteDropHandlerFeatureImpl/package.json +11 -0
  406. package/v3/VwcRteFeature/index.d.ts +16 -0
  407. package/v3/VwcRteFeature/index.js +25 -0
  408. package/v3/VwcRteFeature/package.json +11 -0
  409. package/v3/VwcRteFeatureImpl/index.d.ts +20 -0
  410. package/v3/VwcRteFeatureImpl/index.js +196 -0
  411. package/v3/VwcRteFeatureImpl/package.json +11 -0
  412. package/v3/VwcRteFileHandlerFeatureImpl/index.d.ts +20 -0
  413. package/v3/VwcRteFileHandlerFeatureImpl/index.js +249 -0
  414. package/v3/VwcRteFileHandlerFeatureImpl/package.json +11 -0
  415. package/v3/VwcRteFontSizePickerFeatureImpl/index.d.ts +24 -0
  416. package/v3/VwcRteFontSizePickerFeatureImpl/index.js +314 -0
  417. package/v3/VwcRteFontSizePickerFeatureImpl/package.json +11 -0
  418. package/v3/VwcRteForeignHtmlFeatureImpl/index.d.ts +20 -0
  419. package/v3/VwcRteForeignHtmlFeatureImpl/index.js +249 -0
  420. package/v3/VwcRteForeignHtmlFeatureImpl/package.json +11 -0
  421. package/v3/VwcRteHardBreakFeatureImpl/index.d.ts +20 -0
  422. package/v3/VwcRteHardBreakFeatureImpl/index.js +249 -0
  423. package/v3/VwcRteHardBreakFeatureImpl/package.json +11 -0
  424. package/v3/VwcRteHistoryFeatureImpl/index.d.ts +20 -0
  425. package/v3/VwcRteHistoryFeatureImpl/index.js +249 -0
  426. package/v3/VwcRteHistoryFeatureImpl/package.json +11 -0
  427. package/v3/VwcRteHtmlParser/index.d.ts +17 -0
  428. package/v3/VwcRteHtmlParser/index.js +106 -0
  429. package/v3/VwcRteHtmlParser/package.json +11 -0
  430. package/v3/VwcRteHtmlSerializer/index.d.ts +17 -0
  431. package/v3/VwcRteHtmlSerializer/index.js +81 -0
  432. package/v3/VwcRteHtmlSerializer/package.json +11 -0
  433. package/v3/VwcRteHtmlSerializerImpl/index.d.ts +17 -0
  434. package/v3/VwcRteHtmlSerializerImpl/index.js +77 -0
  435. package/v3/VwcRteHtmlSerializerImpl/package.json +11 -0
  436. package/v3/VwcRteInlineImageFeatureImpl/index.d.ts +20 -0
  437. package/v3/VwcRteInlineImageFeatureImpl/index.js +307 -0
  438. package/v3/VwcRteInlineImageFeatureImpl/package.json +11 -0
  439. package/v3/VwcRteInputRulesFeatureImpl/index.d.ts +20 -0
  440. package/v3/VwcRteInputRulesFeatureImpl/index.js +249 -0
  441. package/v3/VwcRteInputRulesFeatureImpl/package.json +11 -0
  442. package/v3/VwcRteInstance/index.d.ts +19 -0
  443. package/v3/VwcRteInstance/index.js +103 -0
  444. package/v3/VwcRteInstance/package.json +11 -0
  445. package/v3/VwcRteInstanceImpl/index.d.ts +21 -0
  446. package/v3/VwcRteInstanceImpl/index.js +249 -0
  447. package/v3/VwcRteInstanceImpl/package.json +11 -0
  448. package/v3/VwcRteItalicFeatureImpl/index.d.ts +20 -0
  449. package/v3/VwcRteItalicFeatureImpl/index.js +262 -0
  450. package/v3/VwcRteItalicFeatureImpl/package.json +11 -0
  451. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.d.ts +20 -0
  452. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.js +249 -0
  453. package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +11 -0
  454. package/v3/VwcRteLinkFeatureImpl/index.d.ts +22 -0
  455. package/v3/VwcRteLinkFeatureImpl/index.js +310 -0
  456. package/v3/VwcRteLinkFeatureImpl/package.json +11 -0
  457. package/v3/VwcRteListFeatureImpl/index.d.ts +20 -0
  458. package/v3/VwcRteListFeatureImpl/index.js +286 -0
  459. package/v3/VwcRteListFeatureImpl/package.json +11 -0
  460. package/v3/VwcRteMonospaceFeatureImpl/index.d.ts +20 -0
  461. package/v3/VwcRteMonospaceFeatureImpl/index.js +262 -0
  462. package/v3/VwcRteMonospaceFeatureImpl/package.json +11 -0
  463. package/v3/VwcRtePlaceholderFeatureImpl/index.d.ts +20 -0
  464. package/v3/VwcRtePlaceholderFeatureImpl/index.js +249 -0
  465. package/v3/VwcRtePlaceholderFeatureImpl/package.json +11 -0
  466. package/v3/VwcRteStrikethroughFeatureImpl/index.d.ts +20 -0
  467. package/v3/VwcRteStrikethroughFeatureImpl/index.js +262 -0
  468. package/v3/VwcRteStrikethroughFeatureImpl/package.json +11 -0
  469. package/v3/VwcRteTextBlockPickerFeatureImpl/index.d.ts +20 -0
  470. package/v3/VwcRteTextBlockPickerFeatureImpl/index.js +249 -0
  471. package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +11 -0
  472. package/v3/VwcRteTextColorPickerFeatureImpl/index.d.ts +22 -0
  473. package/v3/VwcRteTextColorPickerFeatureImpl/index.js +290 -0
  474. package/v3/VwcRteTextColorPickerFeatureImpl/package.json +11 -0
  475. package/v3/VwcRteTextStyleFeatureImpl/index.d.ts +20 -0
  476. package/v3/VwcRteTextStyleFeatureImpl/index.js +256 -0
  477. package/v3/VwcRteTextStyleFeatureImpl/package.json +11 -0
  478. package/v3/VwcRteToolbarFeatureImpl/index.d.ts +22 -0
  479. package/v3/VwcRteToolbarFeatureImpl/index.js +254 -0
  480. package/v3/VwcRteToolbarFeatureImpl/package.json +11 -0
  481. package/v3/VwcRteUnderlineFeatureImpl/index.d.ts +20 -0
  482. package/v3/VwcRteUnderlineFeatureImpl/index.js +262 -0
  483. package/v3/VwcRteUnderlineFeatureImpl/package.json +11 -0
  484. package/v3/VwcSearchableSelect/index.d.ts +51 -51
  485. package/v3/VwcSearchableSelect/index.js +38 -29
  486. package/v3/VwcSearchableSelect/package.json +2 -2
  487. package/v3/VwcSelect/index.d.ts +43 -41
  488. package/v3/VwcSelect/index.js +41 -46
  489. package/v3/VwcSelect/package.json +2 -2
  490. package/v3/VwcSelectableBox/index.d.ts +21 -21
  491. package/v3/VwcSelectableBox/index.js +28 -21
  492. package/v3/VwcSelectableBox/package.json +2 -2
  493. package/v3/VwcSideDrawer/index.d.ts +13 -13
  494. package/v3/VwcSideDrawer/index.js +1 -1
  495. package/v3/VwcSideDrawer/package.json +2 -2
  496. package/v3/VwcSimpleColorPicker/index.d.ts +21 -20
  497. package/v3/VwcSimpleColorPicker/index.js +13 -5
  498. package/v3/VwcSimpleColorPicker/package.json +2 -2
  499. package/v3/VwcSlider/index.d.ts +27 -28
  500. package/v3/VwcSlider/index.js +10 -17
  501. package/v3/VwcSlider/package.json +2 -2
  502. package/v3/VwcSplitButton/index.d.ts +29 -32
  503. package/v3/VwcSplitButton/index.js +18 -56
  504. package/v3/VwcSplitButton/package.json +2 -2
  505. package/v3/VwcStatus/index.d.ts +27 -0
  506. package/v3/VwcStatus/index.js +189 -0
  507. package/v3/VwcStatus/package.json +11 -0
  508. package/v3/VwcSwitch/index.d.ts +25 -26
  509. package/v3/VwcSwitch/index.js +6 -18
  510. package/v3/VwcSwitch/package.json +2 -2
  511. package/v3/VwcTab/index.d.ts +17 -18
  512. package/v3/VwcTab/index.js +4 -40
  513. package/v3/VwcTab/package.json +2 -2
  514. package/v3/VwcTabPanel/index.d.ts +6 -8
  515. package/v3/VwcTabPanel/index.js +2 -14
  516. package/v3/VwcTabPanel/package.json +2 -2
  517. package/v3/VwcTable/index.d.ts +20 -0
  518. package/v3/{VwcMenubar → VwcTable}/index.js +23 -48
  519. package/v3/VwcTable/package.json +11 -0
  520. package/v3/VwcTableBody/index.d.ts +20 -0
  521. package/v3/VwcTableBody/index.js +68 -0
  522. package/v3/VwcTableBody/package.json +11 -0
  523. package/v3/VwcTableCell/index.d.ts +21 -0
  524. package/v3/VwcTableCell/index.js +149 -0
  525. package/v3/VwcTableCell/package.json +11 -0
  526. package/v3/VwcTableHead/index.d.ts +20 -0
  527. package/v3/VwcTableHead/index.js +68 -0
  528. package/v3/VwcTableHead/package.json +11 -0
  529. package/v3/VwcTableHeaderCell/index.d.ts +21 -0
  530. package/v3/VwcTableHeaderCell/index.js +166 -0
  531. package/v3/VwcTableHeaderCell/package.json +11 -0
  532. package/v3/VwcTableRow/index.d.ts +20 -0
  533. package/v3/VwcTableRow/index.js +140 -0
  534. package/v3/VwcTableRow/package.json +11 -0
  535. package/v3/VwcTableSortingButton/index.d.ts +23 -0
  536. package/v3/VwcTableSortingButton/index.js +112 -0
  537. package/v3/VwcTableSortingButton/package.json +11 -0
  538. package/v3/VwcTabs/index.d.ts +19 -20
  539. package/v3/VwcTabs/index.js +15 -18
  540. package/v3/VwcTabs/package.json +2 -2
  541. package/v3/VwcTag/index.d.ts +19 -20
  542. package/v3/VwcTag/index.js +204 -37
  543. package/v3/VwcTag/package.json +2 -2
  544. package/v3/VwcTagGroup/index.d.ts +6 -8
  545. package/v3/VwcTagGroup/index.js +2 -14
  546. package/v3/VwcTagGroup/package.json +2 -2
  547. package/v3/VwcTextArea/index.d.ts +33 -34
  548. package/v3/VwcTextArea/index.js +13 -17
  549. package/v3/VwcTextArea/package.json +2 -2
  550. package/v3/VwcTextField/index.d.ts +51 -50
  551. package/v3/VwcTextField/index.js +29 -40
  552. package/v3/VwcTextField/package.json +2 -2
  553. package/v3/VwcTextblockAttrs/index.d.ts +17 -0
  554. package/v3/VwcTextblockAttrs/index.js +95 -0
  555. package/v3/VwcTextblockAttrs/package.json +11 -0
  556. package/v3/VwcTextblockMarks/index.d.ts +16 -0
  557. package/v3/VwcTextblockMarks/index.js +53 -0
  558. package/v3/VwcTextblockMarks/package.json +11 -0
  559. package/v3/VwcTimePicker/index.d.ts +30 -28
  560. package/v3/VwcTimePicker/index.js +33 -7
  561. package/v3/VwcTimePicker/package.json +2 -2
  562. package/v3/VwcToggletip/index.d.ts +15 -15
  563. package/v3/VwcToggletip/index.js +9 -32
  564. package/v3/VwcToggletip/package.json +2 -2
  565. package/v3/VwcTooltip/index.d.ts +11 -12
  566. package/v3/VwcTooltip/index.js +3 -3
  567. package/v3/VwcTooltip/package.json +2 -2
  568. package/v3/VwcTreeItem/index.d.ts +15 -16
  569. package/v3/VwcTreeItem/index.js +4 -34
  570. package/v3/VwcTreeItem/package.json +2 -2
  571. package/v3/VwcTreeView/index.d.ts +9 -12
  572. package/v3/VwcTreeView/index.js +4 -25
  573. package/v3/VwcTreeView/package.json +2 -2
  574. package/v3/VwcUiCtx/index.d.ts +16 -0
  575. package/v3/VwcUiCtx/index.js +108 -0
  576. package/v3/VwcUiCtx/package.json +11 -0
  577. package/v3/VwcVideoPlayer/index.d.ts +21 -21
  578. package/v3/VwcVideoPlayer/index.js +13 -13
  579. package/v3/VwcVideoPlayer/package.json +2 -2
  580. package/v3/VwcVisuallyHidden/index.d.ts +6 -6
  581. package/v3/VwcVisuallyHidden/index.js +1 -1
  582. package/v3/VwcVisuallyHidden/package.json +2 -2
  583. package/v3/VwcVividElement/index.d.ts +6 -8
  584. package/v3/VwcVividElement/index.js +2 -14
  585. package/v3/VwcVividElement/package.json +2 -2
  586. package/v3/VwcVividFoundationButton/index.d.ts +21 -23
  587. package/v3/VwcVividFoundationButton/index.js +2 -14
  588. package/v3/VwcVividFoundationButton/package.json +2 -2
  589. package/v3/VwcVvdHexInput/index.d.ts +4 -4
  590. package/v3/VwcVvdHexInput/index.js +1 -1
  591. package/v3/VwcVvdHexInput/package.json +2 -2
  592. package/v3/VwcVvdHexPicker/index.d.ts +4 -4
  593. package/v3/VwcVvdHexPicker/index.js +1 -1
  594. package/v3/VwcVvdHexPicker/package.json +2 -2
  595. package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
  596. package/v3/VwcDelegateAriaBehavior/index.js +0 -155
  597. package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
  598. package/v3/VwcHostSemanticsBehavior/index.js +0 -91
  599. package/v3/VwcImagePlaceholder/index.d.ts +0 -28
  600. package/v3/VwcImagePlaceholder/index.js +0 -116
  601. package/v3/VwcMenubar/index.d.ts +0 -22
  602. package/v3/VwcProseMirrorFacade/index.d.ts +0 -16
  603. package/v3/VwcProseMirrorFacade/index.js +0 -244
@@ -0,0 +1,103 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "",
9
+ "name": "RteInstance",
10
+ "members": [
11
+ {
12
+ "kind": "method",
13
+ "name": "getDocument",
14
+ "return": {
15
+ "type": {
16
+ "text": "RteDocument"
17
+ }
18
+ },
19
+ "description": "Returns the current document state."
20
+ },
21
+ {
22
+ "kind": "method",
23
+ "name": "reset",
24
+ "parameters": [
25
+ {
26
+ "name": "initialDocument",
27
+ "optional": true,
28
+ "type": {
29
+ "text": "RteDocument"
30
+ }
31
+ }
32
+ ],
33
+ "description": "Reset the editor to its initial state. Optionally, an initial document can be provided."
34
+ },
35
+ {
36
+ "kind": "method",
37
+ "name": "replaceSelection",
38
+ "parameters": [
39
+ {
40
+ "name": "content",
41
+ "type": {
42
+ "text": "RteFragment"
43
+ }
44
+ },
45
+ {
46
+ "name": "options",
47
+ "optional": true,
48
+ "type": {
49
+ "text": "{\n\t\t\t/**\n\t\t\t * Controls where the cursor is placed after the replacement:\n\t\t\t * - 'end': places the cursor at the end of the inserted content (default)\n\t\t\t * - 'start': places the cursor at the start of the inserted content\n\t\t\t *\/\n\t\t\tcursorPlacement?: 'end' | 'start';\n\t\t\t/**\n\t\t\t * If true, selects the inserted content after replacement. Defaults to false.\n\t\t\t *\/\n\t\t\tselectContent?: boolean;\n\t\t}"
50
+ }
51
+ }
52
+ ],
53
+ "description": "Replaces the current selection with the given content.\nIf no text is selected, this inserts the content at the cursor position."
54
+ },
55
+ {
56
+ "kind": "method",
57
+ "name": "replaceDocument",
58
+ "parameters": [
59
+ {
60
+ "name": "newDocument",
61
+ "type": {
62
+ "text": "RteDocument"
63
+ }
64
+ },
65
+ {
66
+ "name": "options",
67
+ "optional": true,
68
+ "type": {
69
+ "text": "{\n\t\t\t/**\n\t\t\t * Controls where the cursor is placed after the replacement:\n\t\t\t * - 'start': places the cursor at the start of document (default)\n\t\t\t * - 'end': places the cursor at the end of the document\n\t\t\t *\/\n\t\t\tcursorPlacement?: 'start' | 'end';\n\t\t\t/**\n\t\t\t * If true, selects the whole document after replacement. Defaults to false.\n\t\t\t *\/\n\t\t\tselectContent?: boolean;\n\t\t}"
70
+ }
71
+ }
72
+ ],
73
+ "description": "Replaces the entire document with the given new document.\nUnlike reset, this preserves the rest of the editor state. The undo history is preserved, so the user can undo the replacement."
74
+ },
75
+ {
76
+ "kind": "field",
77
+ "name": "feature",
78
+ "type": {
79
+ "text": "typeof getPublicInterface"
80
+ },
81
+ "description": "Returns the public interface of a feature."
82
+ },
83
+ {
84
+ "kind": "field",
85
+ "default": "new RteInstanceImpl(this, config, options)"
86
+ }
87
+ ]
88
+ }
89
+ */
90
+ import wrapper from '@repo/react-component-wrapper'
91
+ import { registerRteInstance } from '@vonage/vivid'
92
+
93
+ registerRteInstance('vvd3')
94
+
95
+ const VwcRteInstance = wrapper(`vvd3-rte-instance`, {
96
+ events: [],
97
+ attributes: [],
98
+ properties: ['feature', 'undefined']
99
+ })
100
+
101
+ VwcRteInstance.displayName = 'VwcRteInstance'
102
+
103
+ export default VwcRteInstance
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-rte-instance",
3
+ "version": "5.19.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.19.0"
10
+ }
11
+ }
@@ -0,0 +1,21 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** VwcRteInstanceImpl
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-instance-impl
4
+ * @param {EditorState} state
5
+ * @param {EditorView | null} view
6
+ * @param dispatchTransaction
7
+ */
8
+ declare const VwcRteInstanceImpl: {
9
+ (props: {
10
+ children?: ReactNode;
11
+ slot?: string;
12
+ id?: string;
13
+ style?: React.CSSProperties;
14
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
15
+ "state"?: any;
16
+ "view"?: any;
17
+ "dispatchTransaction"?: any;
18
+ }): JSX.Element;
19
+ displayName: string;
20
+ };
21
+ export default VwcRteInstanceImpl;
@@ -0,0 +1,249 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "",
9
+ "name": "RteInstanceImpl",
10
+ "members": [
11
+ {
12
+ "kind": "field",
13
+ "name": "facade",
14
+ "type": {
15
+ "text": "RteInstance"
16
+ },
17
+ "default": "instanceFacade",
18
+ "readonly": true
19
+ },
20
+ {
21
+ "kind": "field",
22
+ "name": "state",
23
+ "type": {
24
+ "text": "EditorState"
25
+ }
26
+ },
27
+ {
28
+ "kind": "field",
29
+ "name": "config",
30
+ "type": {
31
+ "text": "RteConfigImpl"
32
+ },
33
+ "default": "configFacade[impl]",
34
+ "readonly": true
35
+ },
36
+ {
37
+ "kind": "field",
38
+ "name": "schema",
39
+ "type": {
40
+ "text": "Schema"
41
+ },
42
+ "readonly": true
43
+ },
44
+ {
45
+ "kind": "field",
46
+ "name": "textblockAttrs",
47
+ "type": {
48
+ "text": "TextblockAttrs"
49
+ },
50
+ "readonly": true
51
+ },
52
+ {
53
+ "kind": "field",
54
+ "name": "features",
55
+ "type": {
56
+ "text": "RteFeatureImpl[]"
57
+ },
58
+ "readonly": true
59
+ },
60
+ {
61
+ "kind": "field",
62
+ "name": "styles",
63
+ "type": {
64
+ "text": "ElementStyles"
65
+ },
66
+ "default": "new ElementStyles(\n\t\t\tsortedContributions(config.features.flatMap((f) => f.getStyles()))\n\t\t)",
67
+ "readonly": true
68
+ },
69
+ {
70
+ "kind": "field",
71
+ "name": "foreignHtmlParser",
72
+ "type": {
73
+ "text": "RteHtmlParser"
74
+ },
75
+ "readonly": true
76
+ },
77
+ {
78
+ "kind": "field",
79
+ "name": "foreignHtmlSerializer",
80
+ "type": {
81
+ "text": "RteHtmlSerializer"
82
+ },
83
+ "readonly": true
84
+ },
85
+ {
86
+ "kind": "method",
87
+ "name": "getFeature",
88
+ "return": {
89
+ "type": {
90
+ "text": "T"
91
+ }
92
+ },
93
+ "parameters": [
94
+ {
95
+ "name": "name",
96
+ "type": {
97
+ "text": "string"
98
+ }
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "kind": "method",
104
+ "name": "getPublicInterface",
105
+ "return": {
106
+ "type": {
107
+ "text": "any"
108
+ }
109
+ },
110
+ "parameters": [
111
+ {
112
+ "name": "Feature",
113
+ "type": {
114
+ "text": "Constructor<RteFeature>"
115
+ }
116
+ },
117
+ {
118
+ "name": "featureId",
119
+ "optional": true,
120
+ "type": {
121
+ "text": "string"
122
+ }
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "kind": "method",
128
+ "name": "initState",
129
+ "privacy": "protected",
130
+ "parameters": [
131
+ {
132
+ "name": "initialDoc",
133
+ "optional": true,
134
+ "type": {
135
+ "text": "RteDocument"
136
+ }
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "kind": "method",
142
+ "name": "reset",
143
+ "parameters": [
144
+ {
145
+ "name": "initialDocument",
146
+ "optional": true,
147
+ "type": {
148
+ "text": "RteDocument"
149
+ }
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "kind": "field",
155
+ "name": "view",
156
+ "type": {
157
+ "text": "EditorView | null"
158
+ },
159
+ "default": "null"
160
+ },
161
+ {
162
+ "kind": "method",
163
+ "name": "createView",
164
+ "parameters": [
165
+ {
166
+ "name": "target",
167
+ "type": {
168
+ "text": "HTMLElement"
169
+ }
170
+ }
171
+ ]
172
+ },
173
+ {
174
+ "kind": "method",
175
+ "name": "destroyViewIfNeeded"
176
+ },
177
+ {
178
+ "kind": "method",
179
+ "name": "createComponent",
180
+ "return": {
181
+ "type": {
182
+ "text": "T"
183
+ }
184
+ },
185
+ "parameters": [
186
+ {
187
+ "name": "type",
188
+ "type": {
189
+ "text": "Constructor<T>"
190
+ }
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "kind": "method",
196
+ "name": "getLocale",
197
+ "return": {
198
+ "type": {
199
+ "text": "Locale"
200
+ }
201
+ }
202
+ },
203
+ {
204
+ "kind": "field",
205
+ "name": "tr",
206
+ "readonly": true
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "dispatchTransaction"
211
+ },
212
+ {
213
+ "kind": "method",
214
+ "name": "hostState",
215
+ "return": {
216
+ "type": {
217
+ "text": "HostState"
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "kind": "method",
223
+ "name": "updateHostState",
224
+ "parameters": [
225
+ {
226
+ "name": "hostState",
227
+ "type": {
228
+ "text": "HostState | null"
229
+ }
230
+ }
231
+ ]
232
+ }
233
+ ]
234
+ }
235
+ */
236
+ import wrapper from '@repo/react-component-wrapper'
237
+ import { registerRteInstanceImpl } from '@vonage/vivid'
238
+
239
+ registerRteInstanceImpl('vvd3')
240
+
241
+ const VwcRteInstanceImpl = wrapper(`vvd3-rte-instance-impl`, {
242
+ events: [],
243
+ attributes: [],
244
+ properties: ['state', 'view', 'dispatchTransaction']
245
+ })
246
+
247
+ VwcRteInstanceImpl.displayName = 'VwcRteInstanceImpl'
248
+
249
+ export default VwcRteInstanceImpl
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-rte-instance-impl",
3
+ "version": "5.19.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.19.0"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** VwcRteItalicFeatureImpl
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-italic-feature-impl
4
+ * @param {string} name - The name of the feature, e.g. RteBoldFeature
5
+ Note: Cannot use this.constructor.name because it may be minified
6
+ * @param {string | undefined} featureId - If a feature can have multiple instances, a unique id to differentiate them.
7
+ */
8
+ declare const VwcRteItalicFeatureImpl: {
9
+ (props: {
10
+ children?: ReactNode;
11
+ slot?: string;
12
+ id?: string;
13
+ style?: React.CSSProperties;
14
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
15
+ "name"?: string;
16
+ "featureId"?: string | undefined;
17
+ }): JSX.Element;
18
+ displayName: string;
19
+ };
20
+ export default VwcRteItalicFeatureImpl;
@@ -0,0 +1,262 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "",
9
+ "name": "RteItalicFeatureImpl",
10
+ "members": [
11
+ {
12
+ "kind": "field",
13
+ "name": "name",
14
+ "type": {
15
+ "text": "string"
16
+ },
17
+ "description": "The name of the feature, e.g. RteBoldFeature\nNote: Cannot use this.constructor.name because it may be minified",
18
+ "default": "'RteItalicFeature'",
19
+ "inheritedFrom": {
20
+ "name": "RteFeatureImpl",
21
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
22
+ }
23
+ },
24
+ {
25
+ "kind": "field",
26
+ "name": "markName",
27
+ "type": {
28
+ "text": "string"
29
+ },
30
+ "privacy": "protected",
31
+ "default": "'italic'",
32
+ "inheritedFrom": {
33
+ "name": "RteTextStyleFeatureImpl",
34
+ "module": "src/lib/rich-text-editor/rte/features/internal/text-style.ts"
35
+ }
36
+ },
37
+ {
38
+ "kind": "method",
39
+ "name": "getSchema",
40
+ "return": {
41
+ "type": {
42
+ "text": "SchemaContribution[]"
43
+ }
44
+ },
45
+ "parameters": [
46
+ {
47
+ "name": "textblockAttrs",
48
+ "type": {
49
+ "text": "TextblockAttrs"
50
+ }
51
+ },
52
+ {
53
+ "name": "textblockMarks",
54
+ "type": {
55
+ "text": "TextblockMarks"
56
+ }
57
+ }
58
+ ],
59
+ "inheritedFrom": {
60
+ "name": "RteFeatureImpl",
61
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
62
+ }
63
+ },
64
+ {
65
+ "kind": "method",
66
+ "name": "getPlugins",
67
+ "return": {
68
+ "type": {
69
+ "text": "PluginContribution[]"
70
+ }
71
+ },
72
+ "parameters": [
73
+ {
74
+ "name": "rte",
75
+ "type": {
76
+ "text": "RteInstanceImpl"
77
+ }
78
+ }
79
+ ],
80
+ "inheritedFrom": {
81
+ "name": "RteFeatureImpl",
82
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
83
+ }
84
+ },
85
+ {
86
+ "kind": "method",
87
+ "name": "getToolbarItems",
88
+ "return": {
89
+ "type": {
90
+ "text": "ToolbarItemContribution[]"
91
+ }
92
+ },
93
+ "parameters": [
94
+ {
95
+ "name": "rte",
96
+ "type": {
97
+ "text": "RteInstanceImpl"
98
+ }
99
+ }
100
+ ],
101
+ "inheritedFrom": {
102
+ "name": "RteFeatureImpl",
103
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
104
+ }
105
+ },
106
+ {
107
+ "kind": "method",
108
+ "name": "getTextblockMarks",
109
+ "return": {
110
+ "type": {
111
+ "text": "TextblockMarkContribution[]"
112
+ }
113
+ },
114
+ "inheritedFrom": {
115
+ "name": "RteFeatureImpl",
116
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
117
+ }
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "featureId",
122
+ "type": {
123
+ "text": "string | undefined"
124
+ },
125
+ "description": "If a feature can have multiple instances, a unique id to differentiate them.",
126
+ "inheritedFrom": {
127
+ "name": "RteFeatureImpl",
128
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
129
+ }
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "contribution",
134
+ "privacy": "protected",
135
+ "return": {
136
+ "type": {
137
+ "text": "Contribution<T>"
138
+ }
139
+ },
140
+ "parameters": [
141
+ {
142
+ "name": "value",
143
+ "type": {
144
+ "text": "T"
145
+ }
146
+ },
147
+ {
148
+ "name": "order",
149
+ "optional": true,
150
+ "type": {
151
+ "text": "number"
152
+ }
153
+ }
154
+ ],
155
+ "description": "Creates a contribution of this feature.",
156
+ "inheritedFrom": {
157
+ "name": "RteFeatureImpl",
158
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
159
+ }
160
+ },
161
+ {
162
+ "kind": "method",
163
+ "name": "getStyles",
164
+ "return": {
165
+ "type": {
166
+ "text": "StyleContribution[]"
167
+ }
168
+ },
169
+ "inheritedFrom": {
170
+ "name": "RteFeatureImpl",
171
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
172
+ }
173
+ },
174
+ {
175
+ "kind": "method",
176
+ "name": "getTextblockAttrs",
177
+ "return": {
178
+ "type": {
179
+ "text": "TextblockAttrContribution[]"
180
+ }
181
+ },
182
+ "inheritedFrom": {
183
+ "name": "RteFeatureImpl",
184
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
185
+ }
186
+ },
187
+ {
188
+ "kind": "method",
189
+ "name": "getInputRules",
190
+ "return": {
191
+ "type": {
192
+ "text": "InputRuleContribution[]"
193
+ }
194
+ },
195
+ "parameters": [
196
+ {
197
+ "name": "rte",
198
+ "type": {
199
+ "text": "RteInstanceImpl"
200
+ }
201
+ }
202
+ ],
203
+ "inheritedFrom": {
204
+ "name": "RteFeatureImpl",
205
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
206
+ }
207
+ },
208
+ {
209
+ "kind": "method",
210
+ "name": "getFeatures",
211
+ "return": {
212
+ "type": {
213
+ "text": "RteFeatureImpl[]"
214
+ }
215
+ },
216
+ "inheritedFrom": {
217
+ "name": "RteFeatureImpl",
218
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
219
+ }
220
+ },
221
+ {
222
+ "kind": "method",
223
+ "name": "getPublicInterface",
224
+ "return": {
225
+ "type": {
226
+ "text": "any"
227
+ }
228
+ },
229
+ "parameters": [
230
+ {
231
+ "name": "rte",
232
+ "type": {
233
+ "text": "RteInstanceImpl"
234
+ }
235
+ }
236
+ ],
237
+ "inheritedFrom": {
238
+ "name": "RteFeatureImpl",
239
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
240
+ }
241
+ }
242
+ ],
243
+ "superclass": {
244
+ "name": "RteTextStyleFeatureImpl",
245
+ "module": "/src/lib/rich-text-editor/rte/features/internal/text-style"
246
+ }
247
+ }
248
+ */
249
+ import wrapper from '@repo/react-component-wrapper'
250
+ import { registerRteItalicFeatureImpl } from '@vonage/vivid'
251
+
252
+ registerRteItalicFeatureImpl('vvd3')
253
+
254
+ const VwcRteItalicFeatureImpl = wrapper(`vvd3-rte-italic-feature-impl`, {
255
+ events: [],
256
+ attributes: [],
257
+ properties: ['name', 'featureId']
258
+ })
259
+
260
+ VwcRteItalicFeatureImpl.displayName = 'VwcRteItalicFeatureImpl'
261
+
262
+ export default VwcRteItalicFeatureImpl
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-rte-italic-feature-impl",
3
+ "version": "5.19.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.19.0"
10
+ }
11
+ }