@vonage/vivid-react 3.5.2 → 5.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (604) hide show
  1. package/LICENSE.md +201 -0
  2. package/README.md +99 -107
  3. package/VwcAccordion/index.d.ts +5 -5
  4. package/VwcAccordion/index.js +1 -2
  5. package/VwcAccordion/package.json +2 -2
  6. package/VwcActionGroup/index.d.ts +7 -7
  7. package/VwcActionGroup/index.js +7 -12
  8. package/VwcActionGroup/package.json +2 -2
  9. package/VwcBadge/index.d.ts +9 -9
  10. package/VwcBadge/index.js +10 -17
  11. package/VwcBadge/package.json +2 -2
  12. package/VwcBanner/index.d.ts +10 -10
  13. package/VwcBanner/index.js +8 -11
  14. package/VwcBanner/package.json +2 -2
  15. package/VwcButton/index.d.ts +15 -34
  16. package/VwcButton/index.js +15 -100
  17. package/VwcButton/package.json +2 -2
  18. package/VwcButtonToggleGroup/index.d.ts +12 -11
  19. package/VwcButtonToggleGroup/index.js +1 -1
  20. package/VwcButtonToggleGroup/package.json +2 -2
  21. package/VwcCalendar/index.d.ts +4 -4
  22. package/VwcCalendar/index.js +1 -1
  23. package/VwcCalendar/package.json +2 -2
  24. package/VwcCalendarEvent/index.d.ts +6 -6
  25. package/VwcCalendarEvent/index.js +1 -1
  26. package/VwcCalendarEvent/package.json +2 -2
  27. package/VwcCard/index.d.ts +8 -7
  28. package/VwcCard/index.js +1 -1
  29. package/VwcCard/package.json +2 -2
  30. package/VwcCarousel/index.d.ts +5 -5
  31. package/VwcCarousel/index.js +1 -1
  32. package/VwcCarousel/package.json +2 -2
  33. package/VwcCarouselItem/index.d.ts +4 -4
  34. package/VwcCarouselItem/index.js +1 -1
  35. package/VwcCarouselItem/package.json +2 -2
  36. package/VwcCheckListItem/index.d.ts +7 -32
  37. package/VwcCheckListItem/index.js +4 -112
  38. package/VwcCheckListItem/package.json +2 -2
  39. package/VwcCheckbox/index.d.ts +7 -26
  40. package/VwcCheckbox/index.js +3 -88
  41. package/VwcCheckbox/package.json +2 -2
  42. package/VwcChip/index.d.ts +12 -12
  43. package/VwcChip/index.js +2 -3
  44. package/VwcChip/package.json +2 -2
  45. package/VwcChipSet/index.d.ts +6 -5
  46. package/VwcChipSet/index.js +2 -3
  47. package/VwcChipSet/package.json +2 -2
  48. package/VwcCircularProgress/index.d.ts +5 -15
  49. package/VwcCircularProgress/index.js +3 -43
  50. package/VwcCircularProgress/package.json +2 -2
  51. package/VwcDataGrid/index.d.ts +11 -10
  52. package/VwcDataGrid/index.js +4 -5
  53. package/VwcDataGrid/package.json +2 -2
  54. package/VwcDataGridColumn/index.d.ts +13 -13
  55. package/VwcDataGridColumn/index.js +1 -1
  56. package/VwcDataGridColumn/package.json +2 -2
  57. package/VwcDatepicker/index.d.ts +8 -106
  58. package/VwcDatepicker/index.js +3 -352
  59. package/VwcDatepicker/package.json +2 -2
  60. package/VwcDropdown/index.d.ts +24 -24
  61. package/VwcDropdown/index.js +2 -2
  62. package/VwcDropdown/package.json +2 -2
  63. package/VwcElevation/index.d.ts +5 -5
  64. package/VwcElevation/index.js +1 -1
  65. package/VwcElevation/package.json +2 -2
  66. package/VwcEmptyState/index.d.ts +4 -4
  67. package/VwcEmptyState/index.js +1 -1
  68. package/VwcEmptyState/package.json +2 -2
  69. package/VwcExpansionPanel/index.d.ts +16 -16
  70. package/VwcExpansionPanel/index.js +4 -5
  71. package/VwcExpansionPanel/package.json +2 -2
  72. package/VwcFab/index.d.ts +4 -22
  73. package/VwcFab/index.js +2 -73
  74. package/VwcFab/package.json +2 -2
  75. package/VwcFilePicker/index.d.ts +10 -10
  76. package/VwcFilePicker/index.js +2 -2
  77. package/VwcFilePicker/package.json +2 -2
  78. package/VwcFormfield/index.d.ts +5 -12
  79. package/VwcFormfield/index.js +3 -35
  80. package/VwcFormfield/package.json +2 -2
  81. package/VwcHelperMessage/index.d.ts +5 -5
  82. package/VwcHelperMessage/index.js +2 -2
  83. package/VwcHelperMessage/package.json +2 -2
  84. package/VwcIcon/index.d.ts +7 -7
  85. package/VwcIcon/index.js +7 -11
  86. package/VwcIcon/package.json +2 -2
  87. package/VwcIconButton/index.d.ts +12 -17
  88. package/VwcIconButton/index.js +7 -43
  89. package/VwcIconButton/package.json +2 -2
  90. package/VwcIconButtonToggle/index.d.ts +11 -24
  91. package/VwcIconButtonToggle/index.js +9 -65
  92. package/VwcIconButtonToggle/package.json +2 -2
  93. package/VwcKeypad/index.d.ts +15 -15
  94. package/VwcKeypad/index.js +1 -1
  95. package/VwcKeypad/package.json +2 -2
  96. package/VwcLayout/index.d.ts +7 -7
  97. package/VwcLayout/index.js +14 -21
  98. package/VwcLayout/package.json +2 -2
  99. package/VwcLinearProgress/index.d.ts +5 -17
  100. package/VwcLinearProgress/index.js +4 -52
  101. package/VwcLinearProgress/package.json +2 -2
  102. package/VwcList/index.d.ts +6 -28
  103. package/VwcList/index.js +6 -113
  104. package/VwcList/package.json +2 -2
  105. package/VwcListExpansionPanel/index.d.ts +9 -7
  106. package/VwcListExpansionPanel/index.js +1 -2
  107. package/VwcListExpansionPanel/package.json +2 -2
  108. package/VwcListItem/index.d.ts +10 -31
  109. package/VwcListItem/index.js +8 -109
  110. package/VwcListItem/package.json +2 -2
  111. package/VwcMenu/index.d.ts +5 -44
  112. package/VwcMenu/index.js +5 -166
  113. package/VwcMenu/package.json +2 -2
  114. package/VwcNotchedOutline/index.d.ts +5 -8
  115. package/VwcNotchedOutline/index.js +3 -21
  116. package/VwcNotchedOutline/package.json +2 -2
  117. package/VwcNote/index.d.ts +5 -5
  118. package/VwcNote/index.js +3 -4
  119. package/VwcNote/package.json +2 -2
  120. package/VwcPagination/index.d.ts +8 -7
  121. package/VwcPagination/index.js +1 -1
  122. package/VwcPagination/package.json +2 -2
  123. package/VwcPopup/index.d.ts +9 -9
  124. package/VwcPopup/index.js +7 -12
  125. package/VwcPopup/package.json +2 -2
  126. package/VwcRadio/index.d.ts +6 -43
  127. package/VwcRadio/index.js +3 -111
  128. package/VwcRadio/package.json +2 -2
  129. package/VwcRadioListItem/index.d.ts +6 -33
  130. package/VwcRadioListItem/index.js +5 -113
  131. package/VwcRadioListItem/package.json +2 -2
  132. package/VwcSchemeSelect/index.d.ts +6 -6
  133. package/VwcSchemeSelect/index.js +8 -8
  134. package/VwcSchemeSelect/package.json +2 -2
  135. package/VwcScrubBar/index.d.ts +4 -4
  136. package/VwcScrubBar/index.js +1 -1
  137. package/VwcScrubBar/package.json +2 -2
  138. package/VwcSelect/index.d.ts +8 -46
  139. package/VwcSelect/index.js +10 -164
  140. package/VwcSelect/package.json +2 -2
  141. package/VwcSlider/index.d.ts +9 -26
  142. package/VwcSlider/index.js +3 -83
  143. package/VwcSlider/package.json +2 -2
  144. package/VwcSnackbar/index.d.ts +17 -25
  145. package/VwcSnackbar/index.js +7 -50
  146. package/VwcSnackbar/package.json +2 -2
  147. package/VwcSurface/index.d.ts +5 -34
  148. package/VwcSurface/index.js +5 -106
  149. package/VwcSurface/package.json +2 -2
  150. package/VwcSwitch/index.d.ts +8 -17
  151. package/VwcSwitch/index.js +5 -51
  152. package/VwcSwitch/package.json +2 -2
  153. package/VwcTab/index.d.ts +9 -28
  154. package/VwcTab/index.js +2 -87
  155. package/VwcTab/package.json +2 -2
  156. package/VwcTabBar/index.d.ts +7 -7
  157. package/VwcTabBar/index.js +3 -15
  158. package/VwcTabBar/package.json +2 -2
  159. package/VwcTag/index.d.ts +13 -13
  160. package/VwcTag/index.js +12 -16
  161. package/VwcTag/package.json +2 -2
  162. package/VwcText/index.d.ts +7 -7
  163. package/VwcText/index.js +7 -12
  164. package/VwcText/package.json +2 -2
  165. package/VwcTextarea/index.d.ts +12 -81
  166. package/VwcTextarea/index.js +3 -268
  167. package/VwcTextarea/package.json +2 -2
  168. package/VwcTextfield/index.d.ts +15 -72
  169. package/VwcTextfield/index.js +7 -244
  170. package/VwcTextfield/package.json +2 -2
  171. package/VwcThemeSwitch/index.d.ts +5 -5
  172. package/VwcThemeSwitch/index.js +4 -7
  173. package/VwcThemeSwitch/package.json +2 -2
  174. package/VwcTooltip/index.d.ts +9 -9
  175. package/VwcTooltip/index.js +6 -9
  176. package/VwcTooltip/package.json +2 -2
  177. package/VwcTopAppBar/index.d.ts +5 -13
  178. package/VwcTopAppBar/index.js +3 -31
  179. package/VwcTopAppBar/package.json +2 -2
  180. package/VwcTopAppBarFixed/index.d.ts +5 -13
  181. package/VwcTopAppBarFixed/index.js +3 -31
  182. package/VwcTopAppBarFixed/package.json +2 -2
  183. package/index.js +27 -324
  184. package/package.json +103 -119
  185. package/testing/component.mock.js +2 -2
  186. package/types/index.d.ts +296 -78
  187. package/v3/VwcAccordion/index.d.ts +13 -13
  188. package/v3/VwcAccordion/index.js +3 -3
  189. package/v3/VwcAccordion/package.json +2 -2
  190. package/v3/VwcAccordionItem/index.d.ts +20 -16
  191. package/v3/VwcAccordionItem/index.js +88 -4
  192. package/v3/VwcAccordionItem/package.json +2 -2
  193. package/v3/VwcActionGroup/index.d.ts +11 -13
  194. package/v3/VwcActionGroup/index.js +6 -18
  195. package/v3/VwcActionGroup/package.json +2 -2
  196. package/v3/VwcAlert/index.d.ts +20 -19
  197. package/v3/VwcAlert/index.js +32 -27
  198. package/v3/VwcAlert/package.json +2 -2
  199. package/v3/VwcAriaBindingDirective/index.d.ts +19 -0
  200. package/v3/VwcAriaBindingDirective/index.js +71 -0
  201. package/v3/{VwcDelegateAriaBehavior → VwcAriaBindingDirective}/package.json +3 -3
  202. package/v3/VwcAudioPlayer/index.d.ts +30 -28
  203. package/v3/VwcAudioPlayer/index.js +89 -13
  204. package/v3/VwcAudioPlayer/package.json +2 -2
  205. package/v3/VwcAvatar/index.d.ts +28 -30
  206. package/v3/VwcAvatar/index.js +15 -26
  207. package/v3/VwcAvatar/package.json +2 -2
  208. package/v3/VwcBadge/index.d.ts +20 -19
  209. package/v3/VwcBadge/index.js +13 -13
  210. package/v3/VwcBadge/package.json +2 -2
  211. package/v3/VwcBanner/index.d.ts +13 -18
  212. package/v3/VwcBanner/index.js +33 -44
  213. package/v3/VwcBanner/package.json +2 -2
  214. package/v3/VwcBaseProgress/index.d.ts +10 -10
  215. package/v3/VwcBaseProgress/index.js +1 -1
  216. package/v3/VwcBaseProgress/package.json +2 -2
  217. package/v3/VwcBreadcrumb/index.d.ts +6 -8
  218. package/v3/VwcBreadcrumb/index.js +2 -14
  219. package/v3/VwcBreadcrumb/package.json +2 -2
  220. package/v3/VwcBreadcrumbItem/index.d.ts +16 -18
  221. package/v3/VwcBreadcrumbItem/index.js +2 -14
  222. package/v3/VwcBreadcrumbItem/package.json +2 -2
  223. package/v3/VwcButton/index.d.ts +46 -44
  224. package/v3/VwcButton/index.js +92 -16
  225. package/v3/VwcButton/package.json +2 -2
  226. package/v3/VwcCalendar/index.d.ts +17 -28
  227. package/v3/VwcCalendar/index.js +11 -23
  228. package/v3/VwcCalendar/package.json +2 -2
  229. package/v3/VwcCalendarEvent/index.d.ts +20 -22
  230. package/v3/VwcCalendarEvent/index.js +16 -28
  231. package/v3/VwcCalendarEvent/package.json +2 -2
  232. package/v3/VwcCard/index.d.ts +28 -37
  233. package/v3/VwcCard/index.js +31 -40
  234. package/v3/VwcCard/package.json +2 -2
  235. package/v3/VwcCheckbox/index.d.ts +31 -32
  236. package/v3/VwcCheckbox/index.js +55 -20
  237. package/v3/VwcCheckbox/package.json +2 -2
  238. package/v3/VwcColorPicker/index.d.ts +60 -0
  239. package/v3/VwcColorPicker/index.js +647 -0
  240. package/v3/{VwcImagePlaceholder → VwcColorPicker}/package.json +3 -3
  241. package/v3/VwcCombobox/index.d.ts +40 -42
  242. package/v3/VwcCombobox/index.js +136 -29
  243. package/v3/VwcCombobox/package.json +2 -2
  244. package/v3/VwcContextualHelp/index.d.ts +22 -0
  245. package/v3/VwcContextualHelp/index.js +131 -0
  246. package/v3/{VwcProseMirrorFacade → VwcContextualHelp}/package.json +3 -3
  247. package/v3/VwcCountry/index.d.ts +27 -0
  248. package/v3/VwcCountry/index.js +104 -0
  249. package/v3/{VwcMenubar → VwcCountry}/package.json +3 -3
  250. package/v3/VwcCountryGroup/index.d.ts +28 -0
  251. package/v3/VwcCountryGroup/index.js +268 -0
  252. package/v3/VwcCountryGroup/package.json +11 -0
  253. package/v3/VwcDataGrid/index.d.ts +31 -38
  254. package/v3/VwcDataGrid/index.js +18 -39
  255. package/v3/VwcDataGrid/package.json +2 -2
  256. package/v3/VwcDataGridCell/index.d.ts +20 -20
  257. package/v3/VwcDataGridCell/index.js +9 -76
  258. package/v3/VwcDataGridCell/package.json +2 -2
  259. package/v3/VwcDataGridRow/index.d.ts +18 -18
  260. package/v3/VwcDataGridRow/index.js +9 -72
  261. package/v3/VwcDataGridRow/package.json +2 -2
  262. package/v3/VwcDatePicker/index.d.ts +26 -22
  263. package/v3/VwcDatePicker/index.js +43 -4
  264. package/v3/VwcDatePicker/package.json +2 -2
  265. package/v3/VwcDateRangePicker/index.d.ts +34 -30
  266. package/v3/VwcDateRangePicker/index.js +50 -5
  267. package/v3/VwcDateRangePicker/package.json +2 -2
  268. package/v3/VwcDateTimePicker/index.d.ts +38 -36
  269. package/v3/VwcDateTimePicker/index.js +56 -37
  270. package/v3/VwcDateTimePicker/package.json +2 -2
  271. package/v3/VwcDialPad/index.d.ts +126 -108
  272. package/v3/VwcDialPad/index.js +74 -30
  273. package/v3/VwcDialPad/package.json +2 -2
  274. package/v3/VwcDialog/index.d.ts +29 -31
  275. package/v3/VwcDialog/index.js +64 -31
  276. package/v3/VwcDialog/package.json +2 -2
  277. package/v3/VwcDivider/index.d.ts +10 -12
  278. package/v3/VwcDivider/index.js +3 -23
  279. package/v3/VwcDivider/package.json +2 -2
  280. package/v3/VwcElevation/index.d.ts +9 -9
  281. package/v3/VwcElevation/index.js +1 -1
  282. package/v3/VwcElevation/package.json +2 -2
  283. package/v3/VwcEmptyState/index.d.ts +14 -13
  284. package/v3/VwcEmptyState/index.js +35 -6
  285. package/v3/VwcEmptyState/package.json +2 -2
  286. package/v3/VwcFab/index.d.ts +31 -32
  287. package/v3/VwcFab/index.js +39 -22
  288. package/v3/VwcFab/package.json +2 -2
  289. package/v3/VwcFeatureState/index.d.ts +17 -0
  290. package/v3/VwcFeatureState/index.js +70 -0
  291. package/v3/VwcFeatureState/package.json +11 -0
  292. package/v3/VwcFeedbackMessage/index.d.ts +7 -11
  293. package/v3/VwcFeedbackMessage/index.js +2 -26
  294. package/v3/VwcFeedbackMessage/package.json +2 -2
  295. package/v3/VwcFilePicker/index.d.ts +34 -38
  296. package/v3/VwcFilePicker/index.js +70 -315
  297. package/v3/VwcFilePicker/package.json +2 -2
  298. package/v3/VwcFlag/index.d.ts +38 -0
  299. package/v3/VwcFlag/index.js +146 -0
  300. package/v3/VwcFlag/package.json +11 -0
  301. package/v3/VwcHeader/index.d.ts +8 -10
  302. package/v3/VwcHeader/index.js +2 -14
  303. package/v3/VwcHeader/package.json +2 -2
  304. package/v3/VwcIcon/index.d.ts +12 -13
  305. package/v3/VwcIcon/index.js +21 -17
  306. package/v3/VwcIcon/package.json +2 -2
  307. package/v3/VwcInlineTimePicker/index.d.ts +13 -17
  308. package/v3/VwcInlineTimePicker/index.js +2 -26
  309. package/v3/VwcInlineTimePicker/package.json +2 -2
  310. package/v3/VwcLayout/index.d.ts +15 -15
  311. package/v3/VwcLayout/index.js +9 -9
  312. package/v3/VwcLayout/package.json +2 -2
  313. package/v3/VwcListbox/index.d.ts +11 -11
  314. package/v3/VwcListbox/index.js +62 -1
  315. package/v3/VwcListbox/package.json +2 -2
  316. package/v3/VwcMenu/index.d.ts +21 -25
  317. package/v3/VwcMenu/index.js +60 -36
  318. package/v3/VwcMenu/package.json +2 -2
  319. package/v3/VwcMenuItem/index.d.ts +30 -32
  320. package/v3/VwcMenuItem/index.js +68 -45
  321. package/v3/VwcMenuItem/package.json +2 -2
  322. package/v3/VwcNav/index.d.ts +6 -8
  323. package/v3/VwcNav/index.js +2 -14
  324. package/v3/VwcNav/package.json +2 -2
  325. package/v3/VwcNavDisclosure/index.d.ts +16 -17
  326. package/v3/VwcNavDisclosure/index.js +69 -16
  327. package/v3/VwcNavDisclosure/package.json +2 -2
  328. package/v3/VwcNavItem/index.d.ts +22 -23
  329. package/v3/VwcNavItem/index.js +48 -16
  330. package/v3/VwcNavItem/package.json +2 -2
  331. package/v3/VwcNote/index.d.ts +12 -11
  332. package/v3/VwcNote/index.js +5 -5
  333. package/v3/VwcNote/package.json +2 -2
  334. package/v3/VwcNumberField/index.d.ts +40 -39
  335. package/v3/VwcNumberField/index.js +76 -18
  336. package/v3/VwcNumberField/package.json +2 -2
  337. package/v3/VwcOption/index.d.ts +32 -29
  338. package/v3/VwcOption/index.js +105 -26
  339. package/v3/VwcOption/package.json +2 -2
  340. package/v3/VwcOptionTag/index.d.ts +14 -12
  341. package/v3/VwcOptionTag/index.js +14 -4
  342. package/v3/VwcOptionTag/package.json +2 -2
  343. package/v3/VwcPagination/index.d.ts +12 -18
  344. package/v3/VwcPagination/index.js +68 -78
  345. package/v3/VwcPagination/package.json +2 -2
  346. package/v3/VwcPickerField/index.d.ts +19 -21
  347. package/v3/VwcPickerField/index.js +59 -27
  348. package/v3/VwcPickerField/package.json +2 -2
  349. package/v3/VwcPopover/index.d.ts +34 -0
  350. package/v3/VwcPopover/index.js +179 -0
  351. package/v3/VwcPopover/package.json +11 -0
  352. package/v3/VwcPopup/index.d.ts +18 -18
  353. package/v3/VwcPopup/index.js +1 -1
  354. package/v3/VwcPopup/package.json +2 -2
  355. package/v3/VwcProgress/index.d.ts +16 -18
  356. package/v3/VwcProgress/index.js +8 -20
  357. package/v3/VwcProgress/package.json +2 -2
  358. package/v3/VwcProgressRing/index.d.ts +12 -14
  359. package/v3/VwcProgressRing/index.js +2 -14
  360. package/v3/VwcProgressRing/package.json +2 -2
  361. package/v3/VwcRadio/index.d.ts +24 -25
  362. package/v3/VwcRadio/index.js +39 -18
  363. package/v3/VwcRadio/package.json +2 -2
  364. package/v3/VwcRadioGroup/index.d.ts +21 -20
  365. package/v3/VwcRadioGroup/index.js +9 -9
  366. package/v3/VwcRadioGroup/package.json +2 -2
  367. package/v3/VwcRangeSlider/index.d.ts +38 -36
  368. package/v3/VwcRangeSlider/index.js +83 -3
  369. package/v3/VwcRangeSlider/package.json +2 -2
  370. package/v3/VwcRichTextEditor/index.d.ts +10 -14
  371. package/v3/VwcRichTextEditor/index.js +64 -148
  372. package/v3/VwcRichTextEditor/package.json +2 -2
  373. package/v3/VwcRichTextView/index.d.ts +22 -0
  374. package/v3/VwcRichTextView/index.js +195 -0
  375. package/v3/VwcRichTextView/package.json +11 -0
  376. package/v3/VwcRteAlignmentFeatureImpl/index.d.ts +20 -0
  377. package/v3/VwcRteAlignmentFeatureImpl/index.js +283 -0
  378. package/v3/VwcRteAlignmentFeatureImpl/package.json +11 -0
  379. package/v3/VwcRteBaseImpl/index.d.ts +20 -0
  380. package/v3/VwcRteBaseImpl/index.js +249 -0
  381. package/v3/VwcRteBaseImpl/package.json +11 -0
  382. package/v3/VwcRteBasicTextBlocksImpl/index.d.ts +20 -0
  383. package/v3/VwcRteBasicTextBlocksImpl/index.js +284 -0
  384. package/v3/VwcRteBasicTextBlocksImpl/package.json +11 -0
  385. package/v3/VwcRteBoldFeatureImpl/index.d.ts +20 -0
  386. package/v3/VwcRteBoldFeatureImpl/index.js +262 -0
  387. package/v3/VwcRteBoldFeatureImpl/package.json +11 -0
  388. package/v3/VwcRteCharacterCountFeatureImpl/index.d.ts +20 -0
  389. package/v3/VwcRteCharacterCountFeatureImpl/index.js +249 -0
  390. package/v3/VwcRteCharacterCountFeatureImpl/package.json +11 -0
  391. package/v3/VwcRteConfig/index.d.ts +17 -0
  392. package/v3/VwcRteConfig/index.js +73 -0
  393. package/v3/VwcRteConfig/package.json +11 -0
  394. package/v3/VwcRteConfigImpl/index.d.ts +27 -0
  395. package/v3/VwcRteConfigImpl/index.js +74 -0
  396. package/v3/VwcRteConfigImpl/package.json +11 -0
  397. package/v3/VwcRteCoreImpl/index.d.ts +22 -0
  398. package/v3/VwcRteCoreImpl/index.js +254 -0
  399. package/v3/VwcRteCoreImpl/package.json +11 -0
  400. package/v3/VwcRteCursorFixFeatureImpl/index.d.ts +20 -0
  401. package/v3/VwcRteCursorFixFeatureImpl/index.js +249 -0
  402. package/v3/VwcRteCursorFixFeatureImpl/package.json +11 -0
  403. package/v3/VwcRteDropHandlerFeatureImpl/index.d.ts +20 -0
  404. package/v3/VwcRteDropHandlerFeatureImpl/index.js +249 -0
  405. package/v3/VwcRteDropHandlerFeatureImpl/package.json +11 -0
  406. package/v3/VwcRteFeature/index.d.ts +16 -0
  407. package/v3/VwcRteFeature/index.js +25 -0
  408. package/v3/VwcRteFeature/package.json +11 -0
  409. package/v3/VwcRteFeatureImpl/index.d.ts +20 -0
  410. package/v3/VwcRteFeatureImpl/index.js +196 -0
  411. package/v3/VwcRteFeatureImpl/package.json +11 -0
  412. package/v3/VwcRteFileHandlerFeatureImpl/index.d.ts +20 -0
  413. package/v3/VwcRteFileHandlerFeatureImpl/index.js +249 -0
  414. package/v3/VwcRteFileHandlerFeatureImpl/package.json +11 -0
  415. package/v3/VwcRteFontSizePickerFeatureImpl/index.d.ts +24 -0
  416. package/v3/VwcRteFontSizePickerFeatureImpl/index.js +314 -0
  417. package/v3/VwcRteFontSizePickerFeatureImpl/package.json +11 -0
  418. package/v3/VwcRteForeignHtmlFeatureImpl/index.d.ts +20 -0
  419. package/v3/VwcRteForeignHtmlFeatureImpl/index.js +249 -0
  420. package/v3/VwcRteForeignHtmlFeatureImpl/package.json +11 -0
  421. package/v3/VwcRteHardBreakFeatureImpl/index.d.ts +20 -0
  422. package/v3/VwcRteHardBreakFeatureImpl/index.js +249 -0
  423. package/v3/VwcRteHardBreakFeatureImpl/package.json +11 -0
  424. package/v3/VwcRteHistoryFeatureImpl/index.d.ts +20 -0
  425. package/v3/VwcRteHistoryFeatureImpl/index.js +249 -0
  426. package/v3/VwcRteHistoryFeatureImpl/package.json +11 -0
  427. package/v3/VwcRteHtmlParser/index.d.ts +17 -0
  428. package/v3/VwcRteHtmlParser/index.js +106 -0
  429. package/v3/VwcRteHtmlParser/package.json +11 -0
  430. package/v3/VwcRteHtmlSerializer/index.d.ts +17 -0
  431. package/v3/VwcRteHtmlSerializer/index.js +81 -0
  432. package/v3/VwcRteHtmlSerializer/package.json +11 -0
  433. package/v3/VwcRteHtmlSerializerImpl/index.d.ts +17 -0
  434. package/v3/VwcRteHtmlSerializerImpl/index.js +77 -0
  435. package/v3/VwcRteHtmlSerializerImpl/package.json +11 -0
  436. package/v3/VwcRteInlineImageFeatureImpl/index.d.ts +20 -0
  437. package/v3/VwcRteInlineImageFeatureImpl/index.js +307 -0
  438. package/v3/VwcRteInlineImageFeatureImpl/package.json +11 -0
  439. package/v3/VwcRteInputRulesFeatureImpl/index.d.ts +20 -0
  440. package/v3/VwcRteInputRulesFeatureImpl/index.js +249 -0
  441. package/v3/VwcRteInputRulesFeatureImpl/package.json +11 -0
  442. package/v3/VwcRteInstance/index.d.ts +19 -0
  443. package/v3/VwcRteInstance/index.js +103 -0
  444. package/v3/VwcRteInstance/package.json +11 -0
  445. package/v3/VwcRteInstanceImpl/index.d.ts +21 -0
  446. package/v3/VwcRteInstanceImpl/index.js +249 -0
  447. package/v3/VwcRteInstanceImpl/package.json +11 -0
  448. package/v3/VwcRteItalicFeatureImpl/index.d.ts +20 -0
  449. package/v3/VwcRteItalicFeatureImpl/index.js +262 -0
  450. package/v3/VwcRteItalicFeatureImpl/package.json +11 -0
  451. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.d.ts +20 -0
  452. package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.js +249 -0
  453. package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +11 -0
  454. package/v3/VwcRteLinkFeatureImpl/index.d.ts +22 -0
  455. package/v3/VwcRteLinkFeatureImpl/index.js +310 -0
  456. package/v3/VwcRteLinkFeatureImpl/package.json +11 -0
  457. package/v3/VwcRteListFeatureImpl/index.d.ts +20 -0
  458. package/v3/VwcRteListFeatureImpl/index.js +286 -0
  459. package/v3/VwcRteListFeatureImpl/package.json +11 -0
  460. package/v3/VwcRteMonospaceFeatureImpl/index.d.ts +20 -0
  461. package/v3/VwcRteMonospaceFeatureImpl/index.js +262 -0
  462. package/v3/VwcRteMonospaceFeatureImpl/package.json +11 -0
  463. package/v3/VwcRtePlaceholderFeatureImpl/index.d.ts +20 -0
  464. package/v3/VwcRtePlaceholderFeatureImpl/index.js +249 -0
  465. package/v3/VwcRtePlaceholderFeatureImpl/package.json +11 -0
  466. package/v3/VwcRteStrikethroughFeatureImpl/index.d.ts +20 -0
  467. package/v3/VwcRteStrikethroughFeatureImpl/index.js +262 -0
  468. package/v3/VwcRteStrikethroughFeatureImpl/package.json +11 -0
  469. package/v3/VwcRteTextBlockPickerFeatureImpl/index.d.ts +20 -0
  470. package/v3/VwcRteTextBlockPickerFeatureImpl/index.js +249 -0
  471. package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +11 -0
  472. package/v3/VwcRteTextColorPickerFeatureImpl/index.d.ts +22 -0
  473. package/v3/VwcRteTextColorPickerFeatureImpl/index.js +290 -0
  474. package/v3/VwcRteTextColorPickerFeatureImpl/package.json +11 -0
  475. package/v3/VwcRteTextStyleFeatureImpl/index.d.ts +20 -0
  476. package/v3/VwcRteTextStyleFeatureImpl/index.js +256 -0
  477. package/v3/VwcRteTextStyleFeatureImpl/package.json +11 -0
  478. package/v3/VwcRteToolbarFeatureImpl/index.d.ts +22 -0
  479. package/v3/VwcRteToolbarFeatureImpl/index.js +254 -0
  480. package/v3/VwcRteToolbarFeatureImpl/package.json +11 -0
  481. package/v3/VwcRteUnderlineFeatureImpl/index.d.ts +20 -0
  482. package/v3/VwcRteUnderlineFeatureImpl/index.js +262 -0
  483. package/v3/VwcRteUnderlineFeatureImpl/package.json +11 -0
  484. package/v3/VwcSearchableSelect/index.d.ts +52 -46
  485. package/v3/VwcSearchableSelect/index.js +123 -25
  486. package/v3/VwcSearchableSelect/package.json +2 -2
  487. package/v3/VwcSelect/index.d.ts +43 -41
  488. package/v3/VwcSelect/index.js +130 -31
  489. package/v3/VwcSelect/package.json +2 -2
  490. package/v3/VwcSelectableBox/index.d.ts +21 -21
  491. package/v3/VwcSelectableBox/index.js +90 -37
  492. package/v3/VwcSelectableBox/package.json +2 -2
  493. package/v3/VwcSideDrawer/index.d.ts +13 -13
  494. package/v3/VwcSideDrawer/index.js +1 -1
  495. package/v3/VwcSideDrawer/package.json +2 -2
  496. package/v3/VwcSimpleColorPicker/index.d.ts +49 -0
  497. package/v3/VwcSimpleColorPicker/index.js +508 -0
  498. package/v3/VwcSimpleColorPicker/package.json +11 -0
  499. package/v3/VwcSlider/index.d.ts +27 -28
  500. package/v3/VwcSlider/index.js +62 -17
  501. package/v3/VwcSlider/package.json +2 -2
  502. package/v3/VwcSplitButton/index.d.ts +29 -32
  503. package/v3/VwcSplitButton/index.js +81 -30
  504. package/v3/VwcSplitButton/package.json +2 -2
  505. package/v3/VwcStatus/index.d.ts +27 -0
  506. package/v3/VwcStatus/index.js +189 -0
  507. package/v3/VwcStatus/package.json +11 -0
  508. package/v3/VwcSwitch/index.d.ts +25 -26
  509. package/v3/VwcSwitch/index.js +57 -18
  510. package/v3/VwcSwitch/package.json +2 -2
  511. package/v3/VwcTab/index.d.ts +17 -18
  512. package/v3/VwcTab/index.js +48 -40
  513. package/v3/VwcTab/package.json +2 -2
  514. package/v3/VwcTabPanel/index.d.ts +6 -8
  515. package/v3/VwcTabPanel/index.js +2 -14
  516. package/v3/VwcTabPanel/package.json +2 -2
  517. package/v3/VwcTable/index.d.ts +20 -0
  518. package/v3/{VwcMenubar → VwcTable}/index.js +23 -48
  519. package/v3/VwcTable/package.json +11 -0
  520. package/v3/VwcTableBody/index.d.ts +20 -0
  521. package/v3/VwcTableBody/index.js +68 -0
  522. package/v3/VwcTableBody/package.json +11 -0
  523. package/v3/VwcTableCell/index.d.ts +21 -0
  524. package/v3/VwcTableCell/index.js +149 -0
  525. package/v3/VwcTableCell/package.json +11 -0
  526. package/v3/VwcTableHead/index.d.ts +20 -0
  527. package/v3/VwcTableHead/index.js +68 -0
  528. package/v3/VwcTableHead/package.json +11 -0
  529. package/v3/VwcTableHeaderCell/index.d.ts +21 -0
  530. package/v3/VwcTableHeaderCell/index.js +166 -0
  531. package/v3/VwcTableHeaderCell/package.json +11 -0
  532. package/v3/VwcTableRow/index.d.ts +20 -0
  533. package/v3/VwcTableRow/index.js +140 -0
  534. package/v3/VwcTableRow/package.json +11 -0
  535. package/v3/VwcTableSortingButton/index.d.ts +23 -0
  536. package/v3/VwcTableSortingButton/index.js +112 -0
  537. package/v3/VwcTableSortingButton/package.json +11 -0
  538. package/v3/VwcTabs/index.d.ts +19 -20
  539. package/v3/VwcTabs/index.js +19 -18
  540. package/v3/VwcTabs/package.json +2 -2
  541. package/v3/VwcTag/index.d.ts +19 -20
  542. package/v3/VwcTag/index.js +318 -41
  543. package/v3/VwcTag/package.json +2 -2
  544. package/v3/VwcTagGroup/index.d.ts +6 -8
  545. package/v3/VwcTagGroup/index.js +2 -14
  546. package/v3/VwcTagGroup/package.json +2 -2
  547. package/v3/VwcTextArea/index.d.ts +33 -34
  548. package/v3/VwcTextArea/index.js +46 -17
  549. package/v3/VwcTextArea/package.json +2 -2
  550. package/v3/VwcTextField/index.d.ts +51 -50
  551. package/v3/VwcTextField/index.js +69 -40
  552. package/v3/VwcTextField/package.json +2 -2
  553. package/v3/VwcTextblockAttrs/index.d.ts +17 -0
  554. package/v3/VwcTextblockAttrs/index.js +95 -0
  555. package/v3/VwcTextblockAttrs/package.json +11 -0
  556. package/v3/VwcTextblockMarks/index.d.ts +16 -0
  557. package/v3/VwcTextblockMarks/index.js +53 -0
  558. package/v3/VwcTextblockMarks/package.json +11 -0
  559. package/v3/VwcTimePicker/index.d.ts +30 -28
  560. package/v3/VwcTimePicker/index.js +48 -9
  561. package/v3/VwcTimePicker/package.json +2 -2
  562. package/v3/VwcToggletip/index.d.ts +15 -15
  563. package/v3/VwcToggletip/index.js +44 -35
  564. package/v3/VwcToggletip/package.json +2 -2
  565. package/v3/VwcTooltip/index.d.ts +11 -12
  566. package/v3/VwcTooltip/index.js +31 -3
  567. package/v3/VwcTooltip/package.json +2 -2
  568. package/v3/VwcTreeItem/index.d.ts +15 -16
  569. package/v3/VwcTreeItem/index.js +4 -34
  570. package/v3/VwcTreeItem/package.json +2 -2
  571. package/v3/VwcTreeView/index.d.ts +9 -12
  572. package/v3/VwcTreeView/index.js +4 -25
  573. package/v3/VwcTreeView/package.json +2 -2
  574. package/v3/VwcUiCtx/index.d.ts +16 -0
  575. package/v3/VwcUiCtx/index.js +108 -0
  576. package/v3/VwcUiCtx/package.json +11 -0
  577. package/v3/VwcVideoPlayer/index.d.ts +21 -21
  578. package/v3/VwcVideoPlayer/index.js +13 -13
  579. package/v3/VwcVideoPlayer/package.json +2 -2
  580. package/v3/VwcVisuallyHidden/index.d.ts +6 -6
  581. package/v3/VwcVisuallyHidden/index.js +1 -1
  582. package/v3/VwcVisuallyHidden/package.json +2 -2
  583. package/v3/VwcVividElement/index.d.ts +6 -10
  584. package/v3/VwcVividElement/index.js +37 -26
  585. package/v3/VwcVividElement/package.json +2 -2
  586. package/v3/VwcVividFoundationButton/index.d.ts +21 -23
  587. package/v3/VwcVividFoundationButton/index.js +2 -14
  588. package/v3/VwcVividFoundationButton/package.json +2 -2
  589. package/v3/VwcVvdHexInput/index.d.ts +16 -0
  590. package/v3/VwcVvdHexInput/index.js +43 -0
  591. package/v3/VwcVvdHexInput/package.json +11 -0
  592. package/v3/VwcVvdHexPicker/index.d.ts +16 -0
  593. package/v3/VwcVvdHexPicker/index.js +43 -0
  594. package/v3/VwcVvdHexPicker/package.json +11 -0
  595. package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
  596. package/v3/VwcDelegateAriaBehavior/index.js +0 -208
  597. package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
  598. package/v3/VwcHostSemanticsBehavior/index.js +0 -107
  599. package/v3/VwcHostSemanticsBehavior/package.json +0 -11
  600. package/v3/VwcImagePlaceholder/index.d.ts +0 -28
  601. package/v3/VwcImagePlaceholder/index.js +0 -116
  602. package/v3/VwcMenubar/index.d.ts +0 -22
  603. package/v3/VwcProseMirrorFacade/index.d.ts +0 -16
  604. package/v3/VwcProseMirrorFacade/index.js +0 -244
@@ -0,0 +1,60 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** VwcColorPicker
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/color-picker
4
+ * @param {string} placeholder - Text that appears in the input element when it has no value set **attribute** `placeholder`
5
+ * @param {string | undefined} savedColorsKey - Sets the localStorage key used to store saved colors explicitly **attribute** `saved-colors-key`
6
+ * @param {boolean} disableSavedColors - Disables the saving colors functionality **attribute** `disable-saved-colors`
7
+ * @param {number} maxSwatches - Limits number of swatches that can be saved. **attribute** `max-swatches`
8
+ * @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
9
+ To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
10
+ * @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
11
+ * @param validate
12
+ * @param {string | undefined} successText - Provides a custom success message. Any current error state will be overridden. **attribute** `success-text`
13
+ * @param {boolean} open - Indicates whether the popup is open **attribute** `open`
14
+ * @param {ColorSwatch[]} swatches - List of color swatches, has to be an array of objects
15
+
16
+ ### Examples
17
+ * @param {string | undefined} label - The label for the form element. **attribute** `label`
18
+ * @param {string} value - The current value of the element. **attribute** `current-value`
19
+ * @param currentValue
20
+ * @param {string} initialValue - The default value of the element. This value sets the `value` property
21
+ only when the `value` property has not been explicitly set. **attribute** `value`
22
+ * @param {boolean} disabled - Sets the element's disabled state. A disabled element will not be included during form submission. **attribute** `disabled`
23
+ * @param {string} name - The name of the element. This element's value will be surfaced during form submission under the provided name. **attribute** `name`
24
+ * @param {boolean} required - Require the field to be completed prior to form submission. **attribute** `required`
25
+ * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
26
+ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
27
+ * @param {string} componentName - Core component name, without prefix
28
+ */
29
+ declare const VwcColorPicker: {
30
+ (props: {
31
+ children?: ReactNode;
32
+ slot?: string;
33
+ id?: string;
34
+ style?: React.CSSProperties;
35
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
36
+ onChange?: (event: SyntheticEvent) => void;
37
+ onInput?: (event: SyntheticEvent) => void;
38
+ "placeholder"?: string;
39
+ "savedColorsKey"?: string | undefined;
40
+ "disableSavedColors"?: boolean;
41
+ "maxSwatches"?: number;
42
+ "helperText"?: string | undefined;
43
+ "errorText"?: string | undefined;
44
+ "validate"?: any;
45
+ "successText"?: string | undefined;
46
+ "open"?: boolean;
47
+ "swatches"?: any[];
48
+ "label"?: string | undefined;
49
+ "value"?: string;
50
+ "currentValue"?: any;
51
+ "initialValue"?: string;
52
+ "disabled"?: boolean;
53
+ "name"?: string;
54
+ "required"?: boolean;
55
+ "VIVID_VERSION"?: string;
56
+ "componentName"?: string;
57
+ }): JSX.Element;
58
+ displayName: string;
59
+ };
60
+ export default VwcColorPicker;
@@ -0,0 +1,647 @@
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": "ColorPicker",
10
+ "slots": [
11
+ {
12
+ "description": "Describes how to use the text-field. Alternative to the `helper-text` attribute.",
13
+ "name": "helper-text"
14
+ },
15
+ {
16
+ "description": "Overrides the default \"Color Picker\" title of the Popup window.",
17
+ "name": "popup-text"
18
+ },
19
+ {
20
+ "description": " Overrides the default \"Saved colors:\" text above color swatches.",
21
+ "name": "swatches-text"
22
+ }
23
+ ],
24
+ "members": [
25
+ {
26
+ "kind": "field",
27
+ "name": "placeholder",
28
+ "type": {
29
+ "text": "string"
30
+ },
31
+ "description": "Text that appears in the input element when it has no value set",
32
+ "privacy": "public"
33
+ },
34
+ {
35
+ "kind": "field",
36
+ "name": "savedColorsKey",
37
+ "type": {
38
+ "text": "string | undefined"
39
+ },
40
+ "description": "Sets the localStorage key used to store saved colors explicitly",
41
+ "privacy": "public"
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "disableSavedColors",
46
+ "type": {
47
+ "text": "boolean"
48
+ },
49
+ "default": "false",
50
+ "description": "Disables the saving colors functionality",
51
+ "privacy": "public"
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "maxSwatches",
56
+ "type": {
57
+ "text": "number"
58
+ },
59
+ "default": "6",
60
+ "description": "Limits number of swatches that can be saved.",
61
+ "privacy": "public"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "#iconResetTimer",
66
+ "privacy": "private",
67
+ "type": {
68
+ "text": "ReturnType<typeof setTimeout> | null"
69
+ },
70
+ "default": "null"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "helperText",
75
+ "type": {
76
+ "text": "string | undefined"
77
+ },
78
+ "description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
79
+ "privacy": "public",
80
+ "inheritedFrom": {
81
+ "name": "WithFeedback",
82
+ "module": "src/shared/feedback/mixins.ts"
83
+ }
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "errorText",
88
+ "type": {
89
+ "text": "string | undefined"
90
+ },
91
+ "description": "Provides a custom error message. Any current error state will be overridden.",
92
+ "privacy": "public",
93
+ "inheritedFrom": {
94
+ "name": "WithErrorText",
95
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
96
+ }
97
+ },
98
+ {
99
+ "kind": "field",
100
+ "name": "#blockValidateCalls",
101
+ "privacy": "private",
102
+ "type": {
103
+ "text": "boolean"
104
+ },
105
+ "default": "false",
106
+ "inheritedFrom": {
107
+ "name": "WithErrorText",
108
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
109
+ }
110
+ },
111
+ {
112
+ "kind": "field",
113
+ "name": "#originalValidateFn",
114
+ "privacy": "private",
115
+ "type": {
116
+ "text": "() => void"
117
+ },
118
+ "inheritedFrom": {
119
+ "name": "WithErrorText",
120
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
121
+ }
122
+ },
123
+ {
124
+ "kind": "method",
125
+ "name": "#forceCustomError",
126
+ "parameters": [
127
+ {
128
+ "name": "errorMessage",
129
+ "type": {
130
+ "text": "string"
131
+ }
132
+ }
133
+ ],
134
+ "inheritedFrom": {
135
+ "name": "WithErrorText",
136
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
137
+ }
138
+ },
139
+ {
140
+ "kind": "method",
141
+ "name": "#clearCustomErrorAndRevalidate",
142
+ "inheritedFrom": {
143
+ "name": "WithErrorText",
144
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
145
+ }
146
+ },
147
+ {
148
+ "kind": "field",
149
+ "name": "validate",
150
+ "inheritedFrom": {
151
+ "name": "WithErrorText",
152
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
153
+ }
154
+ },
155
+ {
156
+ "kind": "field",
157
+ "name": "successText",
158
+ "type": {
159
+ "text": "string | undefined"
160
+ },
161
+ "description": "Provides a custom success message. Any current error state will be overridden.",
162
+ "privacy": "public",
163
+ "inheritedFrom": {
164
+ "name": "WithSuccessText",
165
+ "module": "src/shared/patterns/form-elements/with-success-text.ts"
166
+ }
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "open",
171
+ "type": {
172
+ "text": "boolean"
173
+ },
174
+ "default": "false",
175
+ "description": "Indicates whether the popup is open",
176
+ "privacy": "public",
177
+ "inheritedFrom": {
178
+ "name": "BaseColorPicker",
179
+ "module": "src/shared/color-picker/base-color-picker.ts"
180
+ }
181
+ },
182
+ {
183
+ "kind": "field",
184
+ "name": "swatches",
185
+ "type": {
186
+ "text": "ColorSwatch[]"
187
+ },
188
+ "default": "[]",
189
+ "description": "List of color swatches, has to be an array of objects\n\n### Examples",
190
+ "privacy": "public",
191
+ "inheritedFrom": {
192
+ "name": "BaseColorPicker",
193
+ "module": "src/shared/color-picker/base-color-picker.ts"
194
+ }
195
+ },
196
+ {
197
+ "kind": "field",
198
+ "name": "label",
199
+ "type": {
200
+ "text": "string | undefined"
201
+ },
202
+ "description": "The label for the form element.",
203
+ "inheritedFrom": {
204
+ "name": "FormElement",
205
+ "module": "src/shared/patterns/form-elements/form-element.ts"
206
+ }
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "#handleInvalidEvent",
211
+ "privacy": "private",
212
+ "inheritedFrom": {
213
+ "name": "FormElement",
214
+ "module": "src/shared/patterns/form-elements/form-element.ts"
215
+ }
216
+ },
217
+ {
218
+ "kind": "field",
219
+ "name": "validity",
220
+ "type": {
221
+ "text": "ValidityState"
222
+ },
223
+ "description": "Returns the validity state of the element",
224
+ "readonly": true,
225
+ "inheritedFrom": {
226
+ "name": "FormAssociated",
227
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
228
+ }
229
+ },
230
+ {
231
+ "kind": "field",
232
+ "name": "form",
233
+ "type": {
234
+ "text": "HTMLFormElement | null"
235
+ },
236
+ "description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
237
+ "readonly": true,
238
+ "inheritedFrom": {
239
+ "name": "FormAssociated",
240
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
241
+ }
242
+ },
243
+ {
244
+ "kind": "field",
245
+ "name": "validationMessage",
246
+ "type": {
247
+ "text": "string"
248
+ },
249
+ "description": "Retrieve the localized validation message,\nor custom validation message if set.",
250
+ "readonly": true,
251
+ "inheritedFrom": {
252
+ "name": "FormAssociated",
253
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
254
+ }
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "willValidate",
259
+ "type": {
260
+ "text": "boolean"
261
+ },
262
+ "description": "Whether the element will be validated when the\nform is submitted",
263
+ "readonly": true,
264
+ "inheritedFrom": {
265
+ "name": "FormAssociated",
266
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
267
+ }
268
+ },
269
+ {
270
+ "kind": "field",
271
+ "name": "labels",
272
+ "type": {
273
+ "text": "ReadonlyArray<Node>"
274
+ },
275
+ "description": "A reference to all associated label elements",
276
+ "readonly": true,
277
+ "inheritedFrom": {
278
+ "name": "FormAssociated",
279
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
280
+ }
281
+ },
282
+ {
283
+ "kind": "field",
284
+ "name": "value",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The current value of the element.",
289
+ "inheritedFrom": {
290
+ "name": "FormAssociated",
291
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
292
+ }
293
+ },
294
+ {
295
+ "kind": "field",
296
+ "name": "currentValue",
297
+ "inheritedFrom": {
298
+ "name": "FormAssociated",
299
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
300
+ }
301
+ },
302
+ {
303
+ "kind": "field",
304
+ "name": "initialValue",
305
+ "type": {
306
+ "text": "string"
307
+ },
308
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
309
+ "inheritedFrom": {
310
+ "name": "FormAssociated",
311
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
312
+ }
313
+ },
314
+ {
315
+ "kind": "field",
316
+ "name": "disabled",
317
+ "type": {
318
+ "text": "boolean"
319
+ },
320
+ "default": "false",
321
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
322
+ "inheritedFrom": {
323
+ "name": "FormAssociated",
324
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
325
+ }
326
+ },
327
+ {
328
+ "kind": "field",
329
+ "name": "name",
330
+ "type": {
331
+ "text": "string"
332
+ },
333
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
334
+ "inheritedFrom": {
335
+ "name": "FormAssociated",
336
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
337
+ }
338
+ },
339
+ {
340
+ "kind": "field",
341
+ "name": "required",
342
+ "type": {
343
+ "text": "boolean"
344
+ },
345
+ "description": "Require the field to be completed prior to form submission.",
346
+ "default": "false",
347
+ "inheritedFrom": {
348
+ "name": "FormAssociated",
349
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
350
+ }
351
+ },
352
+ {
353
+ "kind": "method",
354
+ "name": "checkValidity",
355
+ "return": {
356
+ "type": {
357
+ "text": "boolean"
358
+ }
359
+ },
360
+ "description": "Return the current validity of the element.",
361
+ "inheritedFrom": {
362
+ "name": "FormAssociated",
363
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
364
+ }
365
+ },
366
+ {
367
+ "kind": "method",
368
+ "name": "reportValidity",
369
+ "return": {
370
+ "type": {
371
+ "text": "boolean"
372
+ }
373
+ },
374
+ "description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
375
+ "inheritedFrom": {
376
+ "name": "FormAssociated",
377
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
378
+ }
379
+ },
380
+ {
381
+ "kind": "field",
382
+ "name": "VIVID_VERSION",
383
+ "static": true,
384
+ "default": "__PACKAGE_VERSION__",
385
+ "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`.",
386
+ "type": {
387
+ "text": "string"
388
+ },
389
+ "inheritedFrom": {
390
+ "name": "VividElement",
391
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
392
+ }
393
+ },
394
+ {
395
+ "kind": "field",
396
+ "name": "componentName",
397
+ "type": {
398
+ "text": "string"
399
+ },
400
+ "static": true,
401
+ "description": "Core component name, without prefix",
402
+ "inheritedFrom": {
403
+ "name": "VividElement",
404
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
405
+ }
406
+ }
407
+ ],
408
+ "events": [
409
+ {
410
+ "type": {
411
+ "text": "CustomEvent<undefined>"
412
+ },
413
+ "description": "Fires when the value changes",
414
+ "name": "change"
415
+ },
416
+ {
417
+ "type": {
418
+ "text": "Event"
419
+ },
420
+ "description": "Fires when the value of the element changes.",
421
+ "name": "input"
422
+ }
423
+ ],
424
+ "attributes": [
425
+ {
426
+ "name": "placeholder",
427
+ "type": {
428
+ "text": "string"
429
+ },
430
+ "description": "Text that appears in the input element when it has no value set",
431
+ "fieldName": "placeholder"
432
+ },
433
+ {
434
+ "name": "saved-colors-key",
435
+ "type": {
436
+ "text": "string | undefined"
437
+ },
438
+ "description": "Sets the localStorage key used to store saved colors explicitly",
439
+ "fieldName": "savedColorsKey"
440
+ },
441
+ {
442
+ "name": "disable-saved-colors",
443
+ "type": {
444
+ "text": "boolean"
445
+ },
446
+ "default": "false",
447
+ "description": "Disables the saving colors functionality",
448
+ "fieldName": "disableSavedColors"
449
+ },
450
+ {
451
+ "name": "max-swatches",
452
+ "type": {
453
+ "text": "number"
454
+ },
455
+ "default": "6",
456
+ "description": "Limits number of swatches that can be saved.",
457
+ "fieldName": "maxSwatches"
458
+ },
459
+ {
460
+ "name": "helper-text",
461
+ "type": {
462
+ "text": "string | undefined"
463
+ },
464
+ "description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
465
+ "fieldName": "helperText",
466
+ "inheritedFrom": {
467
+ "name": "WithFeedback",
468
+ "module": "src/shared/feedback/mixins.ts"
469
+ }
470
+ },
471
+ {
472
+ "name": "error-text",
473
+ "type": {
474
+ "text": "string | undefined"
475
+ },
476
+ "description": "Provides a custom error message. Any current error state will be overridden.",
477
+ "fieldName": "errorText",
478
+ "inheritedFrom": {
479
+ "name": "WithErrorText",
480
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
481
+ }
482
+ },
483
+ {
484
+ "name": "success-text",
485
+ "type": {
486
+ "text": "string | undefined"
487
+ },
488
+ "description": "Provides a custom success message. Any current error state will be overridden.",
489
+ "fieldName": "successText",
490
+ "inheritedFrom": {
491
+ "name": "WithSuccessText",
492
+ "module": "src/shared/patterns/form-elements/with-success-text.ts"
493
+ }
494
+ },
495
+ {
496
+ "name": "open",
497
+ "type": {
498
+ "text": "boolean"
499
+ },
500
+ "default": "false",
501
+ "description": "Indicates whether the popup is open",
502
+ "fieldName": "open",
503
+ "inheritedFrom": {
504
+ "name": "BaseColorPicker",
505
+ "module": "src/shared/color-picker/base-color-picker.ts"
506
+ }
507
+ },
508
+ {
509
+ "name": "label",
510
+ "type": {
511
+ "text": "string | undefined"
512
+ },
513
+ "description": "The label for the form element.",
514
+ "fieldName": "label",
515
+ "inheritedFrom": {
516
+ "name": "FormElement",
517
+ "module": "src/shared/patterns/form-elements/form-element.ts"
518
+ }
519
+ },
520
+ {
521
+ "name": "current-value",
522
+ "type": {
523
+ "text": "string"
524
+ },
525
+ "description": "The current value of the element.",
526
+ "fieldName": "value",
527
+ "inheritedFrom": {
528
+ "name": "FormAssociated",
529
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
530
+ }
531
+ },
532
+ {
533
+ "name": "value",
534
+ "type": {
535
+ "text": "string"
536
+ },
537
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
538
+ "fieldName": "initialValue",
539
+ "inheritedFrom": {
540
+ "name": "FormAssociated",
541
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
542
+ }
543
+ },
544
+ {
545
+ "name": "disabled",
546
+ "type": {
547
+ "text": "boolean"
548
+ },
549
+ "default": "false",
550
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
551
+ "fieldName": "disabled",
552
+ "inheritedFrom": {
553
+ "name": "FormAssociated",
554
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
555
+ }
556
+ },
557
+ {
558
+ "name": "name",
559
+ "type": {
560
+ "text": "string"
561
+ },
562
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
563
+ "fieldName": "name",
564
+ "inheritedFrom": {
565
+ "name": "FormAssociated",
566
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
567
+ }
568
+ },
569
+ {
570
+ "name": "required",
571
+ "type": {
572
+ "text": "boolean"
573
+ },
574
+ "description": "Require the field to be completed prior to form submission.",
575
+ "default": "false",
576
+ "fieldName": "required",
577
+ "inheritedFrom": {
578
+ "name": "FormAssociated",
579
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
580
+ }
581
+ }
582
+ ],
583
+ "mixins": [
584
+ {
585
+ "name": "WithContextualHelp",
586
+ "module": "/src/shared/patterns"
587
+ },
588
+ {
589
+ "name": "WithFeedback",
590
+ "module": "/src/shared/feedback/mixins"
591
+ },
592
+ {
593
+ "name": "WithErrorText",
594
+ "module": "/src/shared/patterns"
595
+ },
596
+ {
597
+ "name": "WithSuccessText",
598
+ "module": "/src/shared/patterns"
599
+ },
600
+ {
601
+ "name": "DelegatesAria",
602
+ "module": "/src/shared/aria/delegates-aria"
603
+ },
604
+ {
605
+ "name": "TrappedFocus",
606
+ "module": "/src/shared/patterns"
607
+ },
608
+ {
609
+ "name": "BaseColorPicker",
610
+ "module": "/src/shared/color-picker"
611
+ }
612
+ ],
613
+ "superclass": {
614
+ "name": "VividElement",
615
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
616
+ },
617
+ "vividComponent": {
618
+ "public": true,
619
+ "name": "color-picker",
620
+ "vueModels": [
621
+ {
622
+ "name": "modelValue",
623
+ "propName": "value",
624
+ "eventNames": [
625
+ "input",
626
+ "@lazy:change"
627
+ ],
628
+ "valueMapping": "event.currentTarget.value"
629
+ }
630
+ ]
631
+ }
632
+ }
633
+ */
634
+ import wrapper from '@repo/react-component-wrapper'
635
+ import { registerColorPicker } from '@vonage/vivid'
636
+
637
+ registerColorPicker('vvd3')
638
+
639
+ const VwcColorPicker = wrapper(`vvd3-color-picker`, {
640
+ events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
641
+ attributes: [],
642
+ properties: ['placeholder', 'savedColorsKey', 'disableSavedColors', 'maxSwatches', 'helperText', 'errorText', 'validate', 'successText', 'open', 'swatches', 'label', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
643
+ })
644
+
645
+ VwcColorPicker.displayName = 'VwcColorPicker'
646
+
647
+ export default VwcColorPicker