@vonage/vivid-react 2.10.58 → 2.10.59

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 (465) hide show
  1. package/VwcAccordion/index.d.ts +14 -0
  2. package/VwcAccordion/index.js +59 -0
  3. package/VwcAccordion/package.json +11 -0
  4. package/VwcActionGroup/index.d.ts +18 -0
  5. package/VwcActionGroup/index.js +90 -0
  6. package/VwcActionGroup/package.json +11 -0
  7. package/VwcBadge/index.d.ts +29 -0
  8. package/VwcBadge/index.js +154 -0
  9. package/VwcBadge/package.json +11 -0
  10. package/VwcBanner/index.d.ts +26 -0
  11. package/VwcBanner/index.js +91 -0
  12. package/VwcBanner/package.json +11 -0
  13. package/VwcButton/index.d.ts +55 -0
  14. package/VwcButton/index.js +240 -0
  15. package/VwcButton/package.json +11 -0
  16. package/VwcButtonToggleGroup/index.d.ts +25 -0
  17. package/VwcButtonToggleGroup/index.js +91 -0
  18. package/VwcButtonToggleGroup/package.json +11 -0
  19. package/VwcCalendar/index.d.ts +20 -0
  20. package/VwcCalendar/index.js +70 -0
  21. package/VwcCalendar/package.json +11 -0
  22. package/VwcCalendarEvent/index.d.ts +25 -0
  23. package/VwcCalendarEvent/index.js +81 -0
  24. package/VwcCalendarEvent/package.json +11 -0
  25. package/VwcCard/index.d.ts +23 -0
  26. package/VwcCard/index.js +76 -0
  27. package/VwcCard/package.json +11 -0
  28. package/VwcCarousel/index.d.ts +14 -0
  29. package/VwcCarousel/index.js +45 -0
  30. package/VwcCarousel/package.json +11 -0
  31. package/VwcCarouselItem/index.d.ts +14 -0
  32. package/VwcCarouselItem/index.js +49 -0
  33. package/VwcCarouselItem/package.json +11 -0
  34. package/VwcCheckListItem/index.d.ts +41 -0
  35. package/VwcCheckListItem/index.js +153 -0
  36. package/VwcCheckListItem/package.json +11 -0
  37. package/VwcCheckbox/index.d.ts +34 -0
  38. package/VwcCheckbox/index.js +126 -0
  39. package/VwcCheckbox/package.json +11 -0
  40. package/VwcChip/index.d.ts +31 -0
  41. package/VwcChip/index.js +106 -0
  42. package/VwcChip/package.json +11 -0
  43. package/VwcChipSet/index.d.ts +16 -0
  44. package/VwcChipSet/index.js +60 -0
  45. package/VwcChipSet/package.json +11 -0
  46. package/VwcCircularProgress/index.d.ts +24 -0
  47. package/VwcCircularProgress/index.js +84 -0
  48. package/VwcCircularProgress/package.json +11 -0
  49. package/VwcDataGrid/index.d.ts +33 -0
  50. package/VwcDataGrid/index.js +122 -0
  51. package/VwcDataGrid/package.json +11 -0
  52. package/VwcDataGridColumn/index.d.ts +43 -0
  53. package/VwcDataGridColumn/index.js +144 -0
  54. package/VwcDataGridColumn/package.json +11 -0
  55. package/VwcDatepicker/index.d.ts +120 -0
  56. package/VwcDatepicker/index.js +422 -0
  57. package/VwcDatepicker/package.json +11 -0
  58. package/VwcDialog/index.d.ts +40 -0
  59. package/VwcDialog/index.js +135 -0
  60. package/VwcDialog/package.json +11 -0
  61. package/VwcDrawer/index.d.ts +20 -0
  62. package/VwcDrawer/index.js +80 -0
  63. package/VwcDrawer/package.json +11 -0
  64. package/VwcDropdown/index.d.ts +61 -0
  65. package/VwcDropdown/index.js +221 -0
  66. package/VwcDropdown/package.json +11 -0
  67. package/VwcElevation/index.d.ts +14 -0
  68. package/VwcElevation/index.js +45 -0
  69. package/VwcElevation/package.json +11 -0
  70. package/VwcEmptyState/index.d.ts +18 -0
  71. package/VwcEmptyState/index.js +59 -0
  72. package/VwcEmptyState/package.json +11 -0
  73. package/VwcExpansionPanel/index.d.ts +34 -0
  74. package/VwcExpansionPanel/index.js +199 -0
  75. package/VwcExpansionPanel/package.json +11 -0
  76. package/VwcFab/index.d.ts +32 -0
  77. package/VwcFab/index.js +124 -0
  78. package/VwcFab/package.json +11 -0
  79. package/VwcFilePicker/index.d.ts +24 -0
  80. package/VwcFilePicker/index.js +88 -0
  81. package/VwcFilePicker/package.json +11 -0
  82. package/VwcFormfield/index.d.ts +20 -0
  83. package/VwcFormfield/index.js +70 -0
  84. package/VwcFormfield/package.json +11 -0
  85. package/VwcHelperMessage/index.d.ts +14 -0
  86. package/VwcHelperMessage/index.js +49 -0
  87. package/VwcHelperMessage/package.json +11 -0
  88. package/VwcIcon/index.d.ts +22 -0
  89. package/VwcIcon/index.js +102 -0
  90. package/VwcIcon/package.json +11 -0
  91. package/VwcIconButton/index.d.ts +31 -0
  92. package/VwcIconButton/index.js +111 -0
  93. package/VwcIconButton/package.json +11 -0
  94. package/VwcIconButtonToggle/index.d.ts +37 -0
  95. package/VwcIconButtonToggle/index.js +136 -0
  96. package/VwcIconButtonToggle/package.json +11 -0
  97. package/VwcKeypad/index.d.ts +31 -0
  98. package/VwcKeypad/index.js +176 -0
  99. package/VwcKeypad/package.json +11 -0
  100. package/VwcLayout/index.d.ts +20 -0
  101. package/VwcLayout/index.js +105 -0
  102. package/VwcLayout/package.json +11 -0
  103. package/VwcLinearProgress/index.d.ts +26 -0
  104. package/VwcLinearProgress/index.js +98 -0
  105. package/VwcLinearProgress/package.json +11 -0
  106. package/VwcList/index.d.ts +35 -0
  107. package/VwcList/index.js +146 -0
  108. package/VwcList/package.json +11 -0
  109. package/VwcListExpansionPanel/index.d.ts +19 -0
  110. package/VwcListExpansionPanel/index.js +68 -0
  111. package/VwcListExpansionPanel/package.json +11 -0
  112. package/VwcListItem/index.d.ts +42 -0
  113. package/VwcListItem/index.js +171 -0
  114. package/VwcListItem/package.json +11 -0
  115. package/VwcMenu/index.d.ts +53 -0
  116. package/VwcMenu/index.js +210 -0
  117. package/VwcMenu/package.json +11 -0
  118. package/VwcNotchedOutline/index.d.ts +17 -0
  119. package/VwcNotchedOutline/index.js +58 -0
  120. package/VwcNotchedOutline/package.json +11 -0
  121. package/VwcNote/index.d.ts +18 -0
  122. package/VwcNote/index.js +59 -0
  123. package/VwcNote/package.json +11 -0
  124. package/VwcPagination/index.d.ts +17 -0
  125. package/VwcPagination/index.js +55 -0
  126. package/VwcPagination/package.json +11 -0
  127. package/VwcPopup/index.d.ts +30 -0
  128. package/VwcPopup/index.js +147 -0
  129. package/VwcPopup/package.json +11 -0
  130. package/VwcRadio/index.d.ts +52 -0
  131. package/VwcRadio/index.js +149 -0
  132. package/VwcRadio/package.json +11 -0
  133. package/VwcRadioListItem/index.d.ts +41 -0
  134. package/VwcRadioListItem/index.js +148 -0
  135. package/VwcRadioListItem/package.json +11 -0
  136. package/VwcSchemeSelect/index.d.ts +14 -0
  137. package/VwcSchemeSelect/index.js +46 -0
  138. package/VwcSchemeSelect/package.json +11 -0
  139. package/VwcSelect/index.d.ts +60 -0
  140. package/VwcSelect/index.js +253 -0
  141. package/VwcSelect/package.json +11 -0
  142. package/VwcSideDrawer/index.d.ts +22 -0
  143. package/VwcSideDrawer/index.js +73 -0
  144. package/VwcSideDrawer/package.json +11 -0
  145. package/VwcSlider/index.d.ts +34 -0
  146. package/VwcSlider/index.js +129 -0
  147. package/VwcSlider/package.json +11 -0
  148. package/VwcSnackbar/index.d.ts +42 -0
  149. package/VwcSnackbar/index.js +138 -0
  150. package/VwcSnackbar/package.json +11 -0
  151. package/VwcSurface/index.d.ts +42 -0
  152. package/VwcSurface/index.js +145 -0
  153. package/VwcSurface/package.json +11 -0
  154. package/VwcSwitch/index.d.ts +27 -0
  155. package/VwcSwitch/index.js +114 -0
  156. package/VwcSwitch/package.json +11 -0
  157. package/VwcTab/index.d.ts +40 -0
  158. package/VwcTab/index.js +151 -0
  159. package/VwcTab/package.json +11 -0
  160. package/VwcTabBar/index.d.ts +15 -0
  161. package/VwcTabBar/index.js +55 -0
  162. package/VwcTabBar/package.json +11 -0
  163. package/VwcTag/index.d.ts +34 -0
  164. package/VwcTag/index.js +115 -0
  165. package/VwcTag/package.json +11 -0
  166. package/VwcText/index.d.ts +18 -0
  167. package/VwcText/index.js +83 -0
  168. package/VwcText/package.json +11 -0
  169. package/VwcTextarea/index.d.ts +93 -0
  170. package/VwcTextarea/index.js +331 -0
  171. package/VwcTextarea/package.json +11 -0
  172. package/VwcTextfield/index.d.ts +89 -0
  173. package/VwcTextfield/index.js +329 -0
  174. package/VwcTextfield/package.json +11 -0
  175. package/VwcThemeSwitch/index.d.ts +14 -0
  176. package/VwcThemeSwitch/index.js +57 -0
  177. package/VwcThemeSwitch/package.json +11 -0
  178. package/VwcTooltip/index.d.ts +22 -0
  179. package/VwcTooltip/index.js +105 -0
  180. package/VwcTooltip/package.json +11 -0
  181. package/VwcTopAppBar/index.d.ts +22 -0
  182. package/VwcTopAppBar/index.js +77 -0
  183. package/VwcTopAppBar/package.json +11 -0
  184. package/VwcTopAppBarFixed/index.d.ts +22 -0
  185. package/VwcTopAppBarFixed/index.js +88 -0
  186. package/VwcTopAppBarFixed/package.json +11 -0
  187. package/index.js +319 -0
  188. package/package.json +1 -1
  189. package/types/index.d.ts +294 -0
  190. package/v3/VwcAccordion/index.d.ts +17 -0
  191. package/v3/VwcAccordion/index.js +55 -0
  192. package/v3/VwcAccordion/package.json +11 -0
  193. package/v3/VwcAccordionItem/index.d.ts +22 -0
  194. package/v3/VwcAccordionItem/index.js +121 -0
  195. package/v3/VwcAccordionItem/package.json +11 -0
  196. package/v3/VwcActionGroup/index.d.ts +24 -0
  197. package/v3/VwcActionGroup/index.js +139 -0
  198. package/v3/VwcActionGroup/package.json +11 -0
  199. package/v3/VwcAlert/index.d.ts +34 -0
  200. package/v3/VwcAlert/index.js +266 -0
  201. package/v3/VwcAlert/package.json +11 -0
  202. package/v3/VwcAvatar/index.d.ts +26 -0
  203. package/v3/VwcAvatar/index.js +183 -0
  204. package/v3/VwcAvatar/package.json +11 -0
  205. package/v3/VwcBadge/index.d.ts +22 -0
  206. package/v3/VwcBadge/index.js +271 -0
  207. package/v3/VwcBadge/package.json +11 -0
  208. package/v3/VwcBanner/index.d.ts +28 -0
  209. package/v3/VwcBanner/index.js +204 -0
  210. package/v3/VwcBanner/package.json +11 -0
  211. package/v3/VwcBreadcrumb/index.d.ts +15 -0
  212. package/v3/VwcBreadcrumb/index.js +35 -0
  213. package/v3/VwcBreadcrumb/package.json +11 -0
  214. package/v3/VwcBreadcrumbItem/index.d.ts +16 -0
  215. package/v3/VwcBreadcrumbItem/index.js +47 -0
  216. package/v3/VwcBreadcrumbItem/package.json +11 -0
  217. package/v3/VwcButton/index.d.ts +29 -0
  218. package/v3/VwcButton/index.js +286 -0
  219. package/v3/VwcButton/package.json +11 -0
  220. package/v3/VwcCalendar/index.d.ts +35 -0
  221. package/v3/VwcCalendar/index.js +224 -0
  222. package/v3/VwcCalendar/package.json +11 -0
  223. package/v3/VwcCalendarEvent/index.d.ts +28 -0
  224. package/v3/VwcCalendarEvent/index.js +264 -0
  225. package/v3/VwcCalendarEvent/package.json +11 -0
  226. package/v3/VwcCard/index.d.ts +31 -0
  227. package/v3/VwcCard/index.js +154 -0
  228. package/v3/VwcCard/package.json +11 -0
  229. package/v3/VwcCheckbox/index.d.ts +16 -0
  230. package/v3/VwcCheckbox/index.js +100 -0
  231. package/v3/VwcCheckbox/package.json +11 -0
  232. package/v3/VwcCombobox/index.d.ts +22 -0
  233. package/v3/VwcCombobox/index.js +87 -0
  234. package/v3/VwcCombobox/package.json +11 -0
  235. package/v3/VwcDataGrid/index.d.ts +16 -0
  236. package/v3/VwcDataGrid/index.js +118 -0
  237. package/v3/VwcDataGrid/package.json +11 -0
  238. package/v3/VwcDataGridCell/index.d.ts +18 -0
  239. package/v3/VwcDataGridCell/index.js +145 -0
  240. package/v3/VwcDataGridCell/package.json +11 -0
  241. package/v3/VwcDataGridRow/index.d.ts +16 -0
  242. package/v3/VwcDataGridRow/index.js +99 -0
  243. package/v3/VwcDataGridRow/package.json +11 -0
  244. package/v3/VwcDialog/index.d.ts +36 -0
  245. package/v3/VwcDialog/index.js +283 -0
  246. package/v3/VwcDialog/package.json +11 -0
  247. package/v3/VwcDivider/index.d.ts +15 -0
  248. package/v3/VwcDivider/index.js +29 -0
  249. package/v3/VwcDivider/package.json +11 -0
  250. package/v3/VwcElevation/index.d.ts +18 -0
  251. package/v3/VwcElevation/index.js +73 -0
  252. package/v3/VwcElevation/package.json +11 -0
  253. package/v3/VwcEmptyState/index.d.ts +18 -0
  254. package/v3/VwcEmptyState/index.js +81 -0
  255. package/v3/VwcEmptyState/package.json +11 -0
  256. package/v3/VwcFab/index.d.ts +20 -0
  257. package/v3/VwcFab/index.js +134 -0
  258. package/v3/VwcFab/package.json +11 -0
  259. package/v3/VwcFocus/index.d.ts +15 -0
  260. package/v3/VwcFocus/index.js +29 -0
  261. package/v3/VwcFocus/package.json +11 -0
  262. package/v3/VwcHeader/index.d.ts +18 -0
  263. package/v3/VwcHeader/index.js +84 -0
  264. package/v3/VwcHeader/package.json +11 -0
  265. package/v3/VwcIcon/index.d.ts +20 -0
  266. package/v3/VwcIcon/index.js +118 -0
  267. package/v3/VwcIcon/package.json +11 -0
  268. package/v3/VwcLayout/index.d.ts +24 -0
  269. package/v3/VwcLayout/index.js +127 -0
  270. package/v3/VwcLayout/package.json +11 -0
  271. package/v3/VwcListbox/index.d.ts +16 -0
  272. package/v3/VwcListbox/index.js +74 -0
  273. package/v3/VwcListbox/package.json +11 -0
  274. package/v3/VwcListboxOption/index.d.ts +22 -0
  275. package/v3/VwcListboxOption/index.js +104 -0
  276. package/v3/VwcListboxOption/package.json +11 -0
  277. package/v3/VwcMenu/index.d.ts +27 -0
  278. package/v3/VwcMenu/index.js +148 -0
  279. package/v3/VwcMenu/package.json +11 -0
  280. package/v3/VwcMenuItem/index.d.ts +18 -0
  281. package/v3/VwcMenuItem/index.js +97 -0
  282. package/v3/VwcMenuItem/package.json +11 -0
  283. package/v3/VwcNav/index.d.ts +16 -0
  284. package/v3/VwcNav/index.js +35 -0
  285. package/v3/VwcNav/package.json +11 -0
  286. package/v3/VwcNavDisclosure/index.d.ts +21 -0
  287. package/v3/VwcNavDisclosure/index.js +103 -0
  288. package/v3/VwcNavDisclosure/package.json +11 -0
  289. package/v3/VwcNavItem/index.d.ts +17 -0
  290. package/v3/VwcNavItem/index.js +80 -0
  291. package/v3/VwcNavItem/package.json +11 -0
  292. package/v3/VwcNote/index.d.ts +18 -0
  293. package/v3/VwcNote/index.js +132 -0
  294. package/v3/VwcNote/package.json +11 -0
  295. package/v3/VwcNumberField/index.d.ts +20 -0
  296. package/v3/VwcNumberField/index.js +149 -0
  297. package/v3/VwcNumberField/package.json +11 -0
  298. package/v3/VwcPagination/index.d.ts +28 -0
  299. package/v3/VwcPagination/index.js +174 -0
  300. package/v3/VwcPagination/package.json +11 -0
  301. package/v3/VwcPopup/index.d.ts +32 -0
  302. package/v3/VwcPopup/index.js +311 -0
  303. package/v3/VwcPopup/package.json +11 -0
  304. package/v3/VwcProgress/index.d.ts +20 -0
  305. package/v3/VwcProgress/index.js +110 -0
  306. package/v3/VwcProgress/package.json +11 -0
  307. package/v3/VwcProgressRing/index.d.ts +18 -0
  308. package/v3/VwcProgressRing/index.js +79 -0
  309. package/v3/VwcProgressRing/package.json +11 -0
  310. package/v3/VwcRadio/index.d.ts +16 -0
  311. package/v3/VwcRadio/index.js +68 -0
  312. package/v3/VwcRadio/package.json +11 -0
  313. package/v3/VwcRadioGroup/index.d.ts +16 -0
  314. package/v3/VwcRadioGroup/index.js +56 -0
  315. package/v3/VwcRadioGroup/package.json +11 -0
  316. package/v3/VwcSelect/index.d.ts +24 -0
  317. package/v3/VwcSelect/index.js +159 -0
  318. package/v3/VwcSelect/package.json +11 -0
  319. package/v3/VwcSideDrawer/index.d.ts +22 -0
  320. package/v3/VwcSideDrawer/index.js +133 -0
  321. package/v3/VwcSideDrawer/package.json +11 -0
  322. package/v3/VwcSlider/index.d.ts +16 -0
  323. package/v3/VwcSlider/index.js +51 -0
  324. package/v3/VwcSlider/package.json +11 -0
  325. package/v3/VwcSwitch/index.d.ts +18 -0
  326. package/v3/VwcSwitch/index.js +162 -0
  327. package/v3/VwcSwitch/package.json +11 -0
  328. package/v3/VwcTab/index.d.ts +20 -0
  329. package/v3/VwcTab/index.js +81 -0
  330. package/v3/VwcTab/package.json +11 -0
  331. package/v3/VwcTabPanel/index.d.ts +15 -0
  332. package/v3/VwcTabPanel/index.js +35 -0
  333. package/v3/VwcTabPanel/package.json +11 -0
  334. package/v3/VwcTabs/index.d.ts +16 -0
  335. package/v3/VwcTabs/index.js +126 -0
  336. package/v3/VwcTabs/package.json +11 -0
  337. package/v3/VwcTag/index.d.ts +30 -0
  338. package/v3/VwcTag/index.js +266 -0
  339. package/v3/VwcTag/package.json +11 -0
  340. package/v3/VwcTagGroup/index.d.ts +15 -0
  341. package/v3/VwcTagGroup/index.js +29 -0
  342. package/v3/VwcTagGroup/package.json +11 -0
  343. package/v3/VwcTextAnchor/index.d.ts +16 -0
  344. package/v3/VwcTextAnchor/index.js +50 -0
  345. package/v3/VwcTextAnchor/package.json +11 -0
  346. package/v3/VwcTextArea/index.d.ts +16 -0
  347. package/v3/VwcTextArea/index.js +121 -0
  348. package/v3/VwcTextArea/package.json +11 -0
  349. package/v3/VwcTextField/index.d.ts +20 -0
  350. package/v3/VwcTextField/index.js +149 -0
  351. package/v3/VwcTextField/package.json +11 -0
  352. package/v3/VwcToggletip/index.d.ts +24 -0
  353. package/v3/VwcToggletip/index.js +233 -0
  354. package/v3/VwcToggletip/package.json +11 -0
  355. package/v3/VwcTooltip/index.d.ts +23 -0
  356. package/v3/VwcTooltip/index.js +196 -0
  357. package/v3/VwcTooltip/package.json +11 -0
  358. package/v3/VwcTreeItem/index.d.ts +16 -0
  359. package/v3/VwcTreeItem/index.js +78 -0
  360. package/v3/VwcTreeItem/package.json +11 -0
  361. package/v3/VwcTreeView/index.d.ts +15 -0
  362. package/v3/VwcTreeView/index.js +35 -0
  363. package/v3/VwcTreeView/package.json +11 -0
  364. package/.storybook/main.js +0 -11
  365. package/.storybook/preview.js +0 -3
  366. package/.vscode/settings.json +0 -4
  367. package/babel.config.js +0 -38
  368. package/rollup.config.js +0 -30
  369. package/scripts/cli.js +0 -27
  370. package/scripts/generateWrappers/consts.js +0 -220
  371. package/scripts/generateWrappers/generator.js +0 -264
  372. package/scripts/generateWrappers/helpers/generator.js +0 -18
  373. package/scripts/generateWrappers/helpers/generator.test.js +0 -56
  374. package/scripts/generateWrappers/prop.types.js +0 -87
  375. package/scripts/generateWrappers/templates/js/index.tmpl +0 -2
  376. package/scripts/generateWrappers/templates/js/react-component-v3.tmpl +0 -19
  377. package/scripts/generateWrappers/templates/js/react-component.tmpl +0 -30
  378. package/scripts/generateWrappers/templates/js/stories.tmpl +0 -18
  379. package/scripts/generateWrappers/templates/templates.js +0 -39
  380. package/scripts/generateWrappers/templates/ts/element-type.tmpl +0 -3
  381. package/scripts/generateWrappers/templates/ts/index.tmpl +0 -2
  382. package/scripts/generateWrappers/templates/ts/react-component-v3.tmpl +0 -32
  383. package/scripts/generateWrappers/templates/ts/react-component.tmpl +0 -28
  384. package/scripts/generateWrappers/templates/ts/types.tmpl +0 -8
  385. package/scripts/generateWrappers/utils.js +0 -197
  386. package/scripts/generateWrappers/utils.test.js +0 -71
  387. package/scripts/updateDocs.js +0 -42
  388. package/scripts/updateVividPackages.js +0 -81
  389. package/src/dataGrid/index.js +0 -15
  390. package/src/index.js +0 -3
  391. package/src/initialization/initVivid.js +0 -56
  392. package/src/patches/VwcCard/index.js +0 -2
  393. package/src/patches/VwcCard/vwcCardHeadingCrop.js +0 -28
  394. package/src/patches/VwcCard/vwcCardWithMenu.js +0 -14
  395. package/src/patches/index.js +0 -6
  396. package/src/patches/vwcDataGrid.js +0 -26
  397. package/src/patches/vwcNoteContentOverflow.js +0 -20
  398. package/src/patches/vwcSetAttributeValue.js +0 -12
  399. package/src/patches/vwcSnackBarHtmlMessage.js +0 -21
  400. package/src/patches/vwcTooltip.js +0 -46
  401. package/stories/v2/VwcAccordion/VwcAccordion.stories.jsx +0 -18
  402. package/stories/v2/VwcActionGroup/VwcActionGroup.stories.jsx +0 -18
  403. package/stories/v2/VwcBadge/VwcBadge.stories.jsx +0 -18
  404. package/stories/v2/VwcBanner/VwcBanner.stories.jsx +0 -18
  405. package/stories/v2/VwcButton/VwcButton.stories.jsx +0 -18
  406. package/stories/v2/VwcButtonToggleGroup/VwcButtonToggleGroup.stories.jsx +0 -47
  407. package/stories/v2/VwcCalendar/VwcCalendar.stories.jsx +0 -18
  408. package/stories/v2/VwcCalendarEvent/VwcCalendarEvent.stories.jsx +0 -18
  409. package/stories/v2/VwcCard/VwcCard.stories.jsx +0 -90
  410. package/stories/v2/VwcCarousel/VwcCarousel.stories.jsx +0 -18
  411. package/stories/v2/VwcCarouselItem/VwcCarouselItem.stories.jsx +0 -18
  412. package/stories/v2/VwcCheckListItem/VwcCheckListItem.stories.jsx +0 -18
  413. package/stories/v2/VwcCheckbox/VwcCheckbox.stories.jsx +0 -18
  414. package/stories/v2/VwcChip/VwcChip.stories.jsx +0 -18
  415. package/stories/v2/VwcChipSet/VwcChipSet.stories.jsx +0 -38
  416. package/stories/v2/VwcCircularProgress/VwcCircularProgress.stories.jsx +0 -18
  417. package/stories/v2/VwcDataGrid/VwcDataGrid.stories.jsx +0 -109
  418. package/stories/v2/VwcDataGridColumn/VwcDataGridColumn.stories.jsx +0 -18
  419. package/stories/v2/VwcDatepicker/VwcDatepicker.stories.jsx +0 -18
  420. package/stories/v2/VwcDialog/VwcDialog.stories.jsx +0 -18
  421. package/stories/v2/VwcDrawer/VwcDrawer.stories.jsx +0 -18
  422. package/stories/v2/VwcDropdown/VwcDropdown.stories.jsx +0 -18
  423. package/stories/v2/VwcElevation/VwcElevation.stories.jsx +0 -18
  424. package/stories/v2/VwcEmptyState/VwcEmptyState.stories.jsx +0 -18
  425. package/stories/v2/VwcExpansionPanel/VwcExpansionPanel.stories.jsx +0 -18
  426. package/stories/v2/VwcFab/VwcFab.stories.jsx +0 -18
  427. package/stories/v2/VwcFilePicker/VwcFilePicker.stories.jsx +0 -18
  428. package/stories/v2/VwcFormfield/VwcFormfield.stories.jsx +0 -18
  429. package/stories/v2/VwcHelperMessage/VwcHelperMessage.stories.jsx +0 -18
  430. package/stories/v2/VwcIcon/VwcIcon.stories.jsx +0 -18
  431. package/stories/v2/VwcIconButton/VwcIconButton.stories.jsx +0 -18
  432. package/stories/v2/VwcIconButtonToggle/VwcIconButtonToggle.stories.jsx +0 -18
  433. package/stories/v2/VwcKeypad/VwcKeypad.stories.jsx +0 -18
  434. package/stories/v2/VwcLayout/VwcLayout.stories.jsx +0 -63
  435. package/stories/v2/VwcLinearProgress/VwcLinearProgress.stories.jsx +0 -18
  436. package/stories/v2/VwcList/VwcList.stories.jsx +0 -25
  437. package/stories/v2/VwcListExpansionPanel/VwcListExpansionPanel.stories.jsx +0 -18
  438. package/stories/v2/VwcListItem/VwcListItem.stories.jsx +0 -18
  439. package/stories/v2/VwcMenu/VwcMenu.stories.jsx +0 -41
  440. package/stories/v2/VwcNotchedOutline/VwcNotchedOutline.stories.jsx +0 -18
  441. package/stories/v2/VwcNote/VwcNote.stories.jsx +0 -18
  442. package/stories/v2/VwcPagination/VwcPagination.stories.jsx +0 -18
  443. package/stories/v2/VwcPopup/VwcPopup.stories.jsx +0 -18
  444. package/stories/v2/VwcRadio/VwcRadio.stories.jsx +0 -18
  445. package/stories/v2/VwcRadioListItem/VwcRadioListItem.stories.jsx +0 -18
  446. package/stories/v2/VwcSchemeSelect/VwcSchemeSelect.stories.jsx +0 -18
  447. package/stories/v2/VwcSelect/VwcSelect.stories.jsx +0 -18
  448. package/stories/v2/VwcSideDrawer/VwcSideDrawer.stories.jsx +0 -18
  449. package/stories/v2/VwcSlider/VwcSlider.stories.jsx +0 -18
  450. package/stories/v2/VwcSnackbar/VwcSnackbar.stories.jsx +0 -18
  451. package/stories/v2/VwcSurface/VwcSurface.stories.jsx +0 -18
  452. package/stories/v2/VwcSwitch/VwcSwitch.stories.jsx +0 -18
  453. package/stories/v2/VwcTab/VwcTab.stories.jsx +0 -18
  454. package/stories/v2/VwcTabBar/VwcTabBar.stories.jsx +0 -63
  455. package/stories/v2/VwcTag/VwcTag.stories.jsx +0 -18
  456. package/stories/v2/VwcText/VwcText.stories.jsx +0 -18
  457. package/stories/v2/VwcTextarea/VwcTextarea.stories.jsx +0 -24
  458. package/stories/v2/VwcTextfield/VwcTextfield.stories.jsx +0 -47
  459. package/stories/v2/VwcThemeSwitch/VwcThemeSwitch.stories.jsx +0 -18
  460. package/stories/v2/VwcTooltip/VwcTooltip.stories.jsx +0 -41
  461. package/stories/v2/VwcTopAppBar/VwcTopAppBar.stories.jsx +0 -18
  462. package/stories/v2/VwcTopAppBarFixed/VwcTopAppBarFixed.stories.jsx +0 -18
  463. package/stories/v2/patches/patches.stories.jsx +0 -94
  464. package/stories/v3/v3.stories.jsx +0 -28
  465. package/tsconfig.json +0 -70
@@ -0,0 +1,29 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** Base class for button
3
+ * @param {ButtonConnotation | undefined} connotation - The connotation the button should have. **attribute** `connotation`
4
+ * @param {ButtonShape | undefined} shape - The shape the button should have. **attribute** `shape`
5
+ * @param {ButtonAppearance | undefined} appearance - The appearance the button should have. **attribute** `appearance`
6
+ * @param {ButtonSize | undefined} size - The size the button should have. **attribute** `size`
7
+ * @param {boolean} stacked - Indicates the icon is stacked. **attribute** `stacked`
8
+ * @param {boolean} pending - Displays the button in pending state. **attribute** `pending`
9
+ * @param {string | undefined} label - Indicates the button's label. **attribute** `label`
10
+ */
11
+ declare const VwcButton: {
12
+ (props: {
13
+ children?: ReactNode;
14
+ slot?: string | undefined;
15
+ id?: string | undefined;
16
+ style?: React.CSSProperties | undefined;
17
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
18
+ onClick?: ((event: SyntheticEvent) => void) | undefined;
19
+ connotation?: any;
20
+ shape?: any;
21
+ appearance?: any;
22
+ size?: any;
23
+ stacked?: boolean | undefined;
24
+ pending?: boolean | undefined;
25
+ label?: string | undefined;
26
+ }): JSX.Element;
27
+ displayName: string;
28
+ };
29
+ export default VwcButton;
@@ -0,0 +1,286 @@
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": "Base class for button",
9
+ "name": "Button",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-button-cta-primary",
13
+ "default": "var(--vvd-color-cta-500)"
14
+ },
15
+ {
16
+ "name": "--vvd-button-cta-primary-text",
17
+ "default": "var(--vvd-color-canvas)"
18
+ },
19
+ {
20
+ "name": "--vvd-button-cta-primary-increment",
21
+ "default": "var(--vvd-color-cta-600)"
22
+ },
23
+ {
24
+ "name": "--vvd-button-cta-contrast",
25
+ "default": "var(--vvd-color-cta-800)"
26
+ },
27
+ {
28
+ "name": "--vvd-button-cta-fierce",
29
+ "default": "var(--vvd-color-cta-700)"
30
+ },
31
+ {
32
+ "name": "--vvd-button-cta-firm",
33
+ "default": "var(--vvd-color-cta-600)"
34
+ },
35
+ {
36
+ "name": "--vvd-button-cta-soft",
37
+ "default": "var(--vvd-color-cta-100)"
38
+ },
39
+ {
40
+ "name": "--vvd-button-cta-faint",
41
+ "default": "var(--vvd-color-cta-50)"
42
+ },
43
+ {
44
+ "name": "--vvd-button-success-primary",
45
+ "default": "var(--vvd-color-success-500)"
46
+ },
47
+ {
48
+ "name": "--vvd-button-success-primary-text",
49
+ "default": "var(--vvd-color-canvas)"
50
+ },
51
+ {
52
+ "name": "--vvd-button-success-primary-increment",
53
+ "default": "var(--vvd-color-success-600)"
54
+ },
55
+ {
56
+ "name": "--vvd-button-success-contrast",
57
+ "default": "var(--vvd-color-success-800)"
58
+ },
59
+ {
60
+ "name": "--vvd-button-success-fierce",
61
+ "default": "var(--vvd-color-success-700)"
62
+ },
63
+ {
64
+ "name": "--vvd-button-success-firm",
65
+ "default": "var(--vvd-color-success-600)"
66
+ },
67
+ {
68
+ "name": "--vvd-button-success-soft",
69
+ "default": "var(--vvd-color-success-100)"
70
+ },
71
+ {
72
+ "name": "--vvd-button-success-faint",
73
+ "default": "var(--vvd-color-success-50)"
74
+ },
75
+ {
76
+ "name": "--vvd-button-alert-primary",
77
+ "default": "var(--vvd-color-alert-500)"
78
+ },
79
+ {
80
+ "name": "--vvd-button-alert-primary-text",
81
+ "default": "var(--vvd-color-canvas)"
82
+ },
83
+ {
84
+ "name": "--vvd-button-alert-primary-increment",
85
+ "default": "var(--vvd-color-alert-600)"
86
+ },
87
+ {
88
+ "name": "--vvd-button-alert-contrast",
89
+ "default": "var(--vvd-color-alert-800)"
90
+ },
91
+ {
92
+ "name": "--vvd-button-alert-fierce",
93
+ "default": "var(--vvd-color-alert-700)"
94
+ },
95
+ {
96
+ "name": "--vvd-button-alert-firm",
97
+ "default": "var(--vvd-color-alert-600)"
98
+ },
99
+ {
100
+ "name": "--vvd-button-alert-soft",
101
+ "default": "var(--vvd-color-alert-100)"
102
+ },
103
+ {
104
+ "name": "--vvd-button-alert-faint",
105
+ "default": "var(--vvd-color-alert-50)"
106
+ },
107
+ {
108
+ "name": "--vvd-button-accent-primary",
109
+ "default": "var(--vvd-color-canvas-text)"
110
+ },
111
+ {
112
+ "name": "--vvd-button-accent-primary-text",
113
+ "default": "var(--vvd-color-canvas)"
114
+ },
115
+ {
116
+ "name": "--vvd-button-accent-primary-increment",
117
+ "default": "var(--vvd-color-neutral-800)"
118
+ },
119
+ {
120
+ "name": "--vvd-button-accent-contrast",
121
+ "default": "var(--vvd-color-neutral-800)"
122
+ },
123
+ {
124
+ "name": "--vvd-button-accent-fierce",
125
+ "default": "var(--vvd-color-neutral-700)"
126
+ },
127
+ {
128
+ "name": "--vvd-button-accent-firm",
129
+ "default": "var(--vvd-color-canvas-text)"
130
+ },
131
+ {
132
+ "name": "--vvd-button-accent-soft",
133
+ "default": "var(--vvd-color-neutral-100)"
134
+ },
135
+ {
136
+ "name": "--vvd-button-accent-faint",
137
+ "default": "var(--vvd-color-neutral-50)"
138
+ }
139
+ ],
140
+ "members": [
141
+ {
142
+ "kind": "field",
143
+ "name": "connotation",
144
+ "type": {
145
+ "text": "ButtonConnotation | undefined"
146
+ },
147
+ "description": "The connotation the button should have.",
148
+ "privacy": "public"
149
+ },
150
+ {
151
+ "kind": "field",
152
+ "name": "shape",
153
+ "type": {
154
+ "text": "ButtonShape | undefined"
155
+ },
156
+ "description": "The shape the button should have.",
157
+ "privacy": "public"
158
+ },
159
+ {
160
+ "kind": "field",
161
+ "name": "appearance",
162
+ "type": {
163
+ "text": "ButtonAppearance | undefined"
164
+ },
165
+ "description": "The appearance the button should have.",
166
+ "privacy": "public"
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "size",
171
+ "type": {
172
+ "text": "ButtonSize | undefined"
173
+ },
174
+ "description": "The size the button should have.",
175
+ "privacy": "public"
176
+ },
177
+ {
178
+ "kind": "field",
179
+ "name": "stacked",
180
+ "type": {
181
+ "text": "boolean"
182
+ },
183
+ "default": "false",
184
+ "description": "Indicates the icon is stacked.",
185
+ "privacy": "public"
186
+ },
187
+ {
188
+ "kind": "field",
189
+ "name": "pending",
190
+ "type": {
191
+ "text": "boolean"
192
+ },
193
+ "default": "false",
194
+ "description": "Displays the button in pending state.",
195
+ "privacy": "public"
196
+ },
197
+ {
198
+ "kind": "field",
199
+ "name": "label",
200
+ "type": {
201
+ "text": "string | undefined"
202
+ },
203
+ "description": "Indicates the button's label.",
204
+ "privacy": "public"
205
+ }
206
+ ],
207
+ "attributes": [
208
+ {
209
+ "name": "connotation",
210
+ "type": {
211
+ "text": "ButtonConnotation | undefined"
212
+ },
213
+ "description": "The connotation the button should have.",
214
+ "fieldName": "connotation"
215
+ },
216
+ {
217
+ "name": "shape",
218
+ "type": {
219
+ "text": "ButtonShape | undefined"
220
+ },
221
+ "description": "The shape the button should have.",
222
+ "fieldName": "shape"
223
+ },
224
+ {
225
+ "name": "appearance",
226
+ "type": {
227
+ "text": "ButtonAppearance | undefined"
228
+ },
229
+ "description": "The appearance the button should have.",
230
+ "fieldName": "appearance"
231
+ },
232
+ {
233
+ "name": "size",
234
+ "type": {
235
+ "text": "ButtonSize | undefined"
236
+ },
237
+ "description": "The size the button should have.",
238
+ "fieldName": "size"
239
+ },
240
+ {
241
+ "name": "stacked",
242
+ "type": {
243
+ "text": "boolean"
244
+ },
245
+ "default": "false",
246
+ "description": "Indicates the icon is stacked.",
247
+ "fieldName": "stacked"
248
+ },
249
+ {
250
+ "name": "pending",
251
+ "type": {
252
+ "text": "boolean"
253
+ },
254
+ "default": "false",
255
+ "description": "Displays the button in pending state.",
256
+ "fieldName": "pending"
257
+ },
258
+ {
259
+ "name": "label",
260
+ "type": {
261
+ "text": "string | undefined"
262
+ },
263
+ "description": "Indicates the button's label.",
264
+ "fieldName": "label"
265
+ }
266
+ ],
267
+ "superclass": {
268
+ "name": "FoundationButton",
269
+ "package": "@microsoft/fast-foundation"
270
+ }
271
+ }
272
+ */
273
+ import wrapper from '@vonage/vivid-react-wrapper'
274
+ import { registerButton } from '@vonage/vivid'
275
+
276
+ registerButton('vvd3')
277
+
278
+ const VwcButton = wrapper(`vvd3-button`, {
279
+ events: [{"name":"click","propName":"onClick"}],
280
+ attributes: [],
281
+ properties: ['connotation', 'shape', 'appearance', 'size', 'stacked', 'pending', 'label']
282
+ })
283
+
284
+ VwcButton.displayName = 'VwcButton'
285
+
286
+ export default VwcButton
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-button",
3
+ "version": "3.18.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.18.0"
10
+ }
11
+ }
@@ -0,0 +1,35 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** Base class for calendar
3
+ * @param {Date | string | undefined} datetime - The date within a week of choice.
4
+ Accepts any parameter acceptable by the `Date()` constructor. **attribute** `datetime`
5
+ * @param {'sunday' | 'monday' | undefined} startDay - The day to show as the first within a work week.
6
+ Accepts either Sunday or Monday
7
+ Calendar will - programmatically - default to Monday if not specified
8
+
9
+ (only applicable for views of more than a single day) **attribute** `start-day`
10
+ * @param {string | string[] | undefined | undefined} locales - A locale string or array of locale strings that contain one or more language or locale tags.
11
+ If you include more than one locale string,
12
+ list them in descending order of priority so that the first entry is the preferred locale.
13
+ If you omit this parameter, the default locale of the JavaScript runtime is used.
14
+ This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
15
+ e.g. en-US | en-US, he-IL **attribute** `locales`
16
+ * @param {boolean} hour12 - The convention of displayed time in which the day runs from midnight to midnight and is divided into 24 or 12 hours.
17
+ Unless provided, choice will be set according to local time preference (e.g. US = 12, IL = 24) **attribute** `hour12`
18
+ * @param getEventContext - Fire an event
19
+ */
20
+ declare const VwcCalendar: {
21
+ (props: {
22
+ children?: ReactNode;
23
+ slot?: string | undefined;
24
+ id?: string | undefined;
25
+ style?: React.CSSProperties | undefined;
26
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
27
+ datetime?: any;
28
+ startDay?: any;
29
+ locales?: any;
30
+ hour12?: boolean | undefined;
31
+ getEventContext?: any;
32
+ }): JSX.Element;
33
+ displayName: string;
34
+ };
35
+ export default VwcCalendar;
@@ -0,0 +1,224 @@
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": "Base class for calendar",
9
+ "name": "Calendar",
10
+ "slots": [
11
+ {
12
+ "description": "Default slot.",
13
+ "name": ""
14
+ },
15
+ {
16
+ "description": "Assign elements to corresponding day column using this slot.",
17
+ "name": "day-0"
18
+ },
19
+ {
20
+ "description": "Assign elements to corresponding day column using this slot.",
21
+ "name": "day-1"
22
+ },
23
+ {
24
+ "description": "Assign elements to corresponding day column using this slot.",
25
+ "name": "day-2"
26
+ },
27
+ {
28
+ "description": "Assign elements to corresponding day column using this slot.",
29
+ "name": "day-3"
30
+ },
31
+ {
32
+ "description": "Assign elements to corresponding day column using this slot.",
33
+ "name": "day-4"
34
+ },
35
+ {
36
+ "description": "Assign elements to corresponding day column using this slot.",
37
+ "name": "day-5"
38
+ },
39
+ {
40
+ "description": "Assign elements to corresponding day column using this slot.",
41
+ "name": "day-6"
42
+ }
43
+ ],
44
+ "members": [
45
+ {
46
+ "kind": "field",
47
+ "name": "datetime",
48
+ "type": {
49
+ "text": "Date | string | undefined"
50
+ },
51
+ "description": "The date within a week of choice.\nAccepts any parameter acceptable by the `Date()` constructor.",
52
+ "privacy": "public"
53
+ },
54
+ {
55
+ "kind": "field",
56
+ "name": "startDay",
57
+ "type": {
58
+ "text": "'sunday' | 'monday' | undefined"
59
+ },
60
+ "description": "The day to show as the first within a work week.\nAccepts either Sunday or Monday\nCalendar will - programmatically - default to Monday if not specified\n\n(only applicable for views of more than a single day)",
61
+ "privacy": "public"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "locales",
66
+ "type": {
67
+ "text": "string | string[] | undefined | undefined"
68
+ },
69
+ "description": "A locale string or array of locale strings that contain one or more language or locale tags.\nIf you include more than one locale string,\nlist them in descending order of priority so that the first entry is the preferred locale.\nIf you omit this parameter, the default locale of the JavaScript runtime is used.\nThis parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\ne.g. en-US | en-US, he-IL",
70
+ "privacy": "public"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "hour12",
75
+ "type": {
76
+ "text": "boolean"
77
+ },
78
+ "default": "false",
79
+ "description": "The convention of displayed time in which the day runs from midnight to midnight and is divided into 24 or 12 hours.\nUnless provided, choice will be set according to local time preference (e.g. US = 12, IL = 24)",
80
+ "privacy": "public"
81
+ },
82
+ {
83
+ "kind": "field",
84
+ "name": "#activeCalendarEvent",
85
+ "privacy": "private",
86
+ "type": {
87
+ "text": "CalendarEvent | null"
88
+ },
89
+ "readonly": true
90
+ },
91
+ {
92
+ "kind": "field",
93
+ "name": "getEventContext",
94
+ "default": "getEventContext",
95
+ "description": "Fire an event",
96
+ "parameters": [
97
+ {
98
+ "description": "event name",
99
+ "name": "event",
100
+ "type": {
101
+ "text": "string"
102
+ }
103
+ },
104
+ {
105
+ "description": "optional event detail object",
106
+ "name": "detail",
107
+ "optional": true,
108
+ "type": {
109
+ "text": "Object"
110
+ }
111
+ }
112
+ ],
113
+ "return": {
114
+ "type": {
115
+ "text": "boolean"
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "kind": "method",
121
+ "name": "getCalendarEventContainingCell",
122
+ "privacy": "private",
123
+ "parameters": [
124
+ {
125
+ "name": "calendarEvent",
126
+ "type": {
127
+ "text": "CalendarEvent"
128
+ }
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "kind": "method",
134
+ "name": "arrowKeysInteractions",
135
+ "privacy": "private",
136
+ "parameters": [
137
+ {
138
+ "name": "key",
139
+ "type": {
140
+ "text": "PredefindKeys"
141
+ }
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "kind": "method",
147
+ "name": "activateElement",
148
+ "privacy": "private",
149
+ "parameters": [
150
+ {
151
+ "name": "el",
152
+ "type": {
153
+ "text": "HTMLElement | null | undefined"
154
+ }
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ "kind": "method",
160
+ "name": "onKeydown",
161
+ "parameters": [
162
+ {
163
+ "name": "{ key }",
164
+ "type": {
165
+ "text": "KeyboardEvent"
166
+ }
167
+ }
168
+ ]
169
+ }
170
+ ],
171
+ "attributes": [
172
+ {
173
+ "name": "datetime",
174
+ "type": {
175
+ "text": "Date | string | undefined"
176
+ },
177
+ "description": "The date within a week of choice.\nAccepts any parameter acceptable by the `Date()` constructor.",
178
+ "fieldName": "datetime"
179
+ },
180
+ {
181
+ "name": "start-day",
182
+ "type": {
183
+ "text": "'sunday' | 'monday' | undefined"
184
+ },
185
+ "description": "The day to show as the first within a work week.\nAccepts either Sunday or Monday\nCalendar will - programmatically - default to Monday if not specified\n\n(only applicable for views of more than a single day)",
186
+ "fieldName": "startDay"
187
+ },
188
+ {
189
+ "name": "locales",
190
+ "type": {
191
+ "text": "string | string[] | undefined | undefined"
192
+ },
193
+ "description": "A locale string or array of locale strings that contain one or more language or locale tags.\nIf you include more than one locale string,\nlist them in descending order of priority so that the first entry is the preferred locale.\nIf you omit this parameter, the default locale of the JavaScript runtime is used.\nThis parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\ne.g. en-US | en-US, he-IL",
194
+ "fieldName": "locales"
195
+ },
196
+ {
197
+ "type": {
198
+ "text": "boolean"
199
+ },
200
+ "default": "false",
201
+ "description": "The convention of displayed time in which the day runs from midnight to midnight and is divided into 24 or 12 hours.\nUnless provided, choice will be set according to local time preference (e.g. US = 12, IL = 24)",
202
+ "fieldName": "hour12"
203
+ }
204
+ ],
205
+ "superclass": {
206
+ "name": "FoundationElement",
207
+ "package": "@microsoft/fast-foundation"
208
+ }
209
+ }
210
+ */
211
+ import wrapper from '@vonage/vivid-react-wrapper'
212
+ import { registerCalendar } from '@vonage/vivid'
213
+
214
+ registerCalendar('vvd3')
215
+
216
+ const VwcCalendar = wrapper(`vvd3-calendar`, {
217
+ events: [],
218
+ attributes: [],
219
+ properties: ['datetime', 'startDay', 'locales', 'hour12', 'getEventContext']
220
+ })
221
+
222
+ VwcCalendar.displayName = 'VwcCalendar'
223
+
224
+ export default VwcCalendar
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-calendar",
3
+ "version": "3.18.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.18.0"
10
+ }
11
+ }
@@ -0,0 +1,28 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** Base class for calendar-event
3
+ * @param {string | undefined} heading - the heading of the event **attribute** `heading`
4
+ * @param {string | undefined} description - the description of the event **attribute** `description`
5
+ * @param {CalendarEventConnotation | undefined} connotation - The connotation the calendar event should have. **attribute** `connotation`
6
+ * @param {CalendarEventAppearance | undefined} appearance - The appearance the calendar event should have. **attribute** `appearance`
7
+ * @param {number | undefined} overlapCount - sets card display precendence and indentation **attribute** `overlap-count`
8
+ * @param {number | undefined} start - time of day event starts **attribute** `start`
9
+ * @param {number | undefined} duration - event's time duration in hours **attribute** `duration`
10
+ */
11
+ declare const VwcCalendarEvent: {
12
+ (props: {
13
+ children?: ReactNode;
14
+ slot?: string | undefined;
15
+ id?: string | undefined;
16
+ style?: React.CSSProperties | undefined;
17
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
18
+ heading?: string | undefined;
19
+ description?: string | undefined;
20
+ connotation?: any;
21
+ appearance?: any;
22
+ overlapCount?: any;
23
+ start?: any;
24
+ duration?: any;
25
+ }): JSX.Element;
26
+ displayName: string;
27
+ };
28
+ export default VwcCalendarEvent;