@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,195 @@
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": "RichTextView",
10
+ "members": [
11
+ {
12
+ "kind": "field",
13
+ "name": "view",
14
+ "type": {
15
+ "text": "RteView | undefined"
16
+ },
17
+ "description": "The view to display, created from the RteConfig.",
18
+ "privacy": "public"
19
+ },
20
+ {
21
+ "kind": "field",
22
+ "name": "_styles",
23
+ "type": {
24
+ "text": "ElementStyles | undefined"
25
+ },
26
+ "privacy": "private"
27
+ },
28
+ {
29
+ "kind": "method",
30
+ "name": "_addStyles",
31
+ "privacy": "private",
32
+ "parameters": [
33
+ {
34
+ "name": "view",
35
+ "type": {
36
+ "text": "RteView"
37
+ }
38
+ }
39
+ ]
40
+ },
41
+ {
42
+ "kind": "method",
43
+ "name": "_removeStyles",
44
+ "privacy": "private"
45
+ },
46
+ {
47
+ "kind": "field",
48
+ "name": "_slotCounter",
49
+ "type": {
50
+ "text": "number"
51
+ },
52
+ "privacy": "private",
53
+ "default": "0"
54
+ },
55
+ {
56
+ "kind": "field",
57
+ "name": "_slottedChildren",
58
+ "privacy": "private",
59
+ "default": "new Set<HTMLElement>()"
60
+ },
61
+ {
62
+ "kind": "field",
63
+ "name": "_slotRequests",
64
+ "privacy": "private",
65
+ "default": "new Set<string>()"
66
+ },
67
+ {
68
+ "kind": "method",
69
+ "name": "_cleanupLightDom",
70
+ "privacy": "private"
71
+ },
72
+ {
73
+ "kind": "method",
74
+ "name": "_updateView",
75
+ "privacy": "private"
76
+ },
77
+ {
78
+ "kind": "method",
79
+ "name": "_renderView",
80
+ "privacy": "private",
81
+ "return": {
82
+ "type": {
83
+ "text": "Node"
84
+ }
85
+ },
86
+ "parameters": [
87
+ {
88
+ "name": "rteView",
89
+ "type": {
90
+ "text": "RteView"
91
+ }
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "kind": "method",
97
+ "name": "_handleCustomRender",
98
+ "privacy": "private",
99
+ "return": {
100
+ "type": {
101
+ "text": "Node"
102
+ }
103
+ },
104
+ "parameters": [
105
+ {
106
+ "name": "rteView",
107
+ "type": {
108
+ "text": "RteView & { type: 'node' | 'mark' }"
109
+ }
110
+ },
111
+ {
112
+ "name": "customResult",
113
+ "type": {
114
+ "text": "true | { dom: HTMLElement; contentDom?: HTMLElement }"
115
+ }
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "kind": "method",
121
+ "name": "_renderDefault",
122
+ "privacy": "private",
123
+ "return": {
124
+ "type": {
125
+ "text": "Node"
126
+ }
127
+ },
128
+ "parameters": [
129
+ {
130
+ "name": "view",
131
+ "type": {
132
+ "text": "RteView & { type: 'node' | 'mark' }"
133
+ }
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "kind": "field",
139
+ "name": "VIVID_VERSION",
140
+ "static": true,
141
+ "default": "__PACKAGE_VERSION__",
142
+ "description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
143
+ "type": {
144
+ "text": "string"
145
+ },
146
+ "inheritedFrom": {
147
+ "name": "VividElement",
148
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
149
+ }
150
+ },
151
+ {
152
+ "kind": "field",
153
+ "name": "componentName",
154
+ "type": {
155
+ "text": "string"
156
+ },
157
+ "static": true,
158
+ "description": "Core component name, without prefix",
159
+ "inheritedFrom": {
160
+ "name": "VividElement",
161
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
162
+ }
163
+ }
164
+ ],
165
+ "superclass": {
166
+ "name": "VividElement",
167
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
168
+ },
169
+ "vividComponent": {
170
+ "public": true,
171
+ "name": "rich-text-view"
172
+ },
173
+ "dynamicSlots": [
174
+ {
175
+ "name": "child",
176
+ "type": "@vonage/vivid#RteChildSlotProps",
177
+ "description": "Used for custom rendered children."
178
+ }
179
+ ]
180
+ }
181
+ */
182
+ import wrapper from '@repo/react-component-wrapper'
183
+ import { registerRichTextView } from '@vonage/vivid'
184
+
185
+ registerRichTextView('vvd3')
186
+
187
+ const VwcRichTextView = wrapper(`vvd3-rich-text-view`, {
188
+ events: [],
189
+ attributes: [],
190
+ properties: ['view', 'VIVID_VERSION', 'componentName']
191
+ })
192
+
193
+ VwcRichTextView.displayName = 'VwcRichTextView'
194
+
195
+ export default VwcRichTextView
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-rich-text-view",
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
+ /** VwcRteAlignmentFeatureImpl
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-alignment-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 VwcRteAlignmentFeatureImpl: {
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 VwcRteAlignmentFeatureImpl;
@@ -0,0 +1,283 @@
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": "RteAlignmentFeatureImpl",
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": "'RteAlignmentFeature'",
19
+ "inheritedFrom": {
20
+ "name": "RteFeatureImpl",
21
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
22
+ }
23
+ },
24
+ {
25
+ "kind": "method",
26
+ "name": "getTextblockAttrs",
27
+ "return": {
28
+ "type": {
29
+ "text": "TextblockAttrContribution[]"
30
+ }
31
+ },
32
+ "inheritedFrom": {
33
+ "name": "RteFeatureImpl",
34
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
35
+ }
36
+ },
37
+ {
38
+ "kind": "method",
39
+ "name": "getPlugins",
40
+ "return": {
41
+ "type": {
42
+ "text": "PluginContribution[]"
43
+ }
44
+ },
45
+ "parameters": [
46
+ {
47
+ "name": "rte",
48
+ "type": {
49
+ "text": "RteInstanceImpl"
50
+ }
51
+ }
52
+ ],
53
+ "inheritedFrom": {
54
+ "name": "RteFeatureImpl",
55
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
56
+ }
57
+ },
58
+ {
59
+ "kind": "method",
60
+ "name": "getToolbarItems",
61
+ "return": {
62
+ "type": {
63
+ "text": "ToolbarItemContribution[]"
64
+ }
65
+ },
66
+ "parameters": [
67
+ {
68
+ "name": "rte",
69
+ "type": {
70
+ "text": "RteInstanceImpl"
71
+ }
72
+ }
73
+ ],
74
+ "inheritedFrom": {
75
+ "name": "RteFeatureImpl",
76
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
77
+ }
78
+ },
79
+ {
80
+ "kind": "method",
81
+ "name": "getAlignmentFromSelection",
82
+ "return": {
83
+ "type": {
84
+ "text": "Alignment | 'mixed' | null"
85
+ }
86
+ },
87
+ "parameters": [
88
+ {
89
+ "name": "state",
90
+ "type": {
91
+ "text": "EditorState"
92
+ }
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "kind": "method",
98
+ "name": "setAlignment",
99
+ "return": {
100
+ "type": {
101
+ "text": "Command"
102
+ }
103
+ },
104
+ "parameters": [
105
+ {
106
+ "name": "align",
107
+ "type": {
108
+ "text": "Alignment"
109
+ }
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "kind": "field",
115
+ "name": "featureId",
116
+ "type": {
117
+ "text": "string | undefined"
118
+ },
119
+ "description": "If a feature can have multiple instances, a unique id to differentiate them.",
120
+ "inheritedFrom": {
121
+ "name": "RteFeatureImpl",
122
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
123
+ }
124
+ },
125
+ {
126
+ "kind": "method",
127
+ "name": "contribution",
128
+ "privacy": "protected",
129
+ "return": {
130
+ "type": {
131
+ "text": "Contribution<T>"
132
+ }
133
+ },
134
+ "parameters": [
135
+ {
136
+ "name": "value",
137
+ "type": {
138
+ "text": "T"
139
+ }
140
+ },
141
+ {
142
+ "name": "order",
143
+ "optional": true,
144
+ "type": {
145
+ "text": "number"
146
+ }
147
+ }
148
+ ],
149
+ "description": "Creates a contribution of this feature.",
150
+ "inheritedFrom": {
151
+ "name": "RteFeatureImpl",
152
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
153
+ }
154
+ },
155
+ {
156
+ "kind": "method",
157
+ "name": "getStyles",
158
+ "return": {
159
+ "type": {
160
+ "text": "StyleContribution[]"
161
+ }
162
+ },
163
+ "inheritedFrom": {
164
+ "name": "RteFeatureImpl",
165
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
166
+ }
167
+ },
168
+ {
169
+ "kind": "method",
170
+ "name": "getSchema",
171
+ "return": {
172
+ "type": {
173
+ "text": "SchemaContribution[]"
174
+ }
175
+ },
176
+ "parameters": [
177
+ {
178
+ "name": "textblockAttrs",
179
+ "type": {
180
+ "text": "TextblockAttrs"
181
+ }
182
+ },
183
+ {
184
+ "name": "textblockMarks",
185
+ "type": {
186
+ "text": "TextblockMarks"
187
+ }
188
+ }
189
+ ],
190
+ "inheritedFrom": {
191
+ "name": "RteFeatureImpl",
192
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
193
+ }
194
+ },
195
+ {
196
+ "kind": "method",
197
+ "name": "getTextblockMarks",
198
+ "return": {
199
+ "type": {
200
+ "text": "TextblockMarkContribution[]"
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": "getInputRules",
211
+ "return": {
212
+ "type": {
213
+ "text": "InputRuleContribution[]"
214
+ }
215
+ },
216
+ "parameters": [
217
+ {
218
+ "name": "rte",
219
+ "type": {
220
+ "text": "RteInstanceImpl"
221
+ }
222
+ }
223
+ ],
224
+ "inheritedFrom": {
225
+ "name": "RteFeatureImpl",
226
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
227
+ }
228
+ },
229
+ {
230
+ "kind": "method",
231
+ "name": "getFeatures",
232
+ "return": {
233
+ "type": {
234
+ "text": "RteFeatureImpl[]"
235
+ }
236
+ },
237
+ "inheritedFrom": {
238
+ "name": "RteFeatureImpl",
239
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
240
+ }
241
+ },
242
+ {
243
+ "kind": "method",
244
+ "name": "getPublicInterface",
245
+ "return": {
246
+ "type": {
247
+ "text": "any"
248
+ }
249
+ },
250
+ "parameters": [
251
+ {
252
+ "name": "rte",
253
+ "type": {
254
+ "text": "RteInstanceImpl"
255
+ }
256
+ }
257
+ ],
258
+ "inheritedFrom": {
259
+ "name": "RteFeatureImpl",
260
+ "module": "src/lib/rich-text-editor/rte/feature.ts"
261
+ }
262
+ }
263
+ ],
264
+ "superclass": {
265
+ "name": "RteFeatureImpl",
266
+ "module": "/src/lib/rich-text-editor/rte/feature"
267
+ }
268
+ }
269
+ */
270
+ import wrapper from '@repo/react-component-wrapper'
271
+ import { registerRteAlignmentFeatureImpl } from '@vonage/vivid'
272
+
273
+ registerRteAlignmentFeatureImpl('vvd3')
274
+
275
+ const VwcRteAlignmentFeatureImpl = wrapper(`vvd3-rte-alignment-feature-impl`, {
276
+ events: [],
277
+ attributes: [],
278
+ properties: ['name', 'featureId']
279
+ })
280
+
281
+ VwcRteAlignmentFeatureImpl.displayName = 'VwcRteAlignmentFeatureImpl'
282
+
283
+ export default VwcRteAlignmentFeatureImpl
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-rte-alignment-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
+ }
@@ -0,0 +1,20 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** VwcRteBaseImpl
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-base-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 VwcRteBaseImpl: {
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 VwcRteBaseImpl;