@vonage/vivid-react 3.2.0 → 3.3.1

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 (307) hide show
  1. package/VwcAccordion/package.json +1 -1
  2. package/VwcActionGroup/package.json +1 -1
  3. package/VwcBadge/package.json +1 -1
  4. package/VwcBanner/package.json +1 -1
  5. package/VwcButton/package.json +1 -1
  6. package/VwcButtonToggleGroup/package.json +1 -1
  7. package/VwcCalendar/package.json +1 -1
  8. package/VwcCalendarEvent/package.json +1 -1
  9. package/VwcCard/package.json +1 -1
  10. package/VwcCarousel/package.json +1 -1
  11. package/VwcCarouselItem/package.json +1 -1
  12. package/VwcCheckListItem/package.json +1 -1
  13. package/VwcCheckbox/package.json +1 -1
  14. package/VwcChip/package.json +1 -1
  15. package/VwcChipSet/package.json +1 -1
  16. package/VwcCircularProgress/package.json +1 -1
  17. package/VwcDataGrid/package.json +1 -1
  18. package/VwcDataGridColumn/package.json +1 -1
  19. package/VwcDatepicker/package.json +1 -1
  20. package/VwcDropdown/package.json +1 -1
  21. package/VwcElevation/package.json +1 -1
  22. package/VwcEmptyState/package.json +1 -1
  23. package/VwcExpansionPanel/package.json +1 -1
  24. package/VwcFab/package.json +1 -1
  25. package/VwcFilePicker/package.json +1 -1
  26. package/VwcFormfield/package.json +1 -1
  27. package/VwcHelperMessage/package.json +1 -1
  28. package/VwcIcon/package.json +1 -1
  29. package/VwcIconButton/package.json +1 -1
  30. package/VwcIconButtonToggle/package.json +1 -1
  31. package/VwcKeypad/package.json +1 -1
  32. package/VwcLayout/package.json +1 -1
  33. package/VwcLinearProgress/package.json +1 -1
  34. package/VwcList/package.json +1 -1
  35. package/VwcListExpansionPanel/package.json +1 -1
  36. package/VwcListItem/package.json +1 -1
  37. package/VwcMenu/package.json +1 -1
  38. package/VwcNotchedOutline/package.json +1 -1
  39. package/VwcNote/package.json +1 -1
  40. package/VwcPagination/package.json +1 -1
  41. package/VwcPopup/package.json +1 -1
  42. package/VwcRadio/package.json +1 -1
  43. package/VwcRadioListItem/package.json +1 -1
  44. package/VwcSchemeSelect/package.json +1 -1
  45. package/VwcScrubBar/package.json +1 -1
  46. package/VwcSelect/package.json +1 -1
  47. package/VwcSlider/package.json +1 -1
  48. package/VwcSnackbar/package.json +1 -1
  49. package/VwcSurface/package.json +1 -1
  50. package/VwcSwitch/package.json +1 -1
  51. package/VwcTab/package.json +1 -1
  52. package/VwcTabBar/package.json +1 -1
  53. package/VwcTag/package.json +1 -1
  54. package/VwcText/package.json +1 -1
  55. package/VwcTextarea/package.json +1 -1
  56. package/VwcTextfield/package.json +1 -1
  57. package/VwcThemeSwitch/package.json +1 -1
  58. package/VwcTooltip/package.json +1 -1
  59. package/VwcTopAppBar/package.json +1 -1
  60. package/VwcTopAppBarFixed/package.json +1 -1
  61. package/index.js +4 -4
  62. package/package.json +2 -2
  63. package/types/index.d.ts +260 -29
  64. package/v3/VwcARIAGlobalStatesAndProperties/index.d.ts +122 -0
  65. package/v3/VwcARIAGlobalStatesAndProperties/index.js +352 -0
  66. package/v3/VwcARIAGlobalStatesAndProperties/package.json +11 -0
  67. package/v3/VwcAccordion/index.d.ts +7 -1
  68. package/v3/VwcAccordion/index.js +142 -3
  69. package/v3/VwcAccordion/package.json +2 -2
  70. package/v3/VwcAccordionItem/index.d.ts +6 -0
  71. package/v3/VwcAccordionItem/index.js +62 -3
  72. package/v3/VwcAccordionItem/package.json +2 -2
  73. package/v3/VwcActionGroup/index.js +2 -2
  74. package/v3/VwcActionGroup/package.json +2 -2
  75. package/v3/VwcAlert/index.d.ts +10 -14
  76. package/v3/VwcAlert/index.js +28 -25
  77. package/v3/VwcAlert/package.json +2 -2
  78. package/v3/VwcAnchor/index.d.ts +33 -0
  79. package/v3/VwcAnchor/index.js +173 -0
  80. package/v3/{VwcAppearanceUi → VwcAnchor}/package.json +3 -3
  81. package/v3/VwcAudioPlayer/index.js +2 -2
  82. package/v3/VwcAudioPlayer/package.json +2 -2
  83. package/v3/VwcAvatar/index.js +2 -2
  84. package/v3/VwcAvatar/package.json +2 -2
  85. package/v3/VwcBadge/index.js +58 -2
  86. package/v3/VwcBadge/package.json +2 -2
  87. package/v3/VwcBanner/index.js +2 -2
  88. package/v3/VwcBanner/package.json +2 -2
  89. package/v3/VwcBaseProgress/index.d.ts +24 -0
  90. package/v3/VwcBaseProgress/index.js +108 -0
  91. package/v3/VwcBaseProgress/package.json +11 -0
  92. package/v3/VwcBreadcrumb/index.js +62 -2
  93. package/v3/VwcBreadcrumb/package.json +2 -2
  94. package/v3/VwcBreadcrumbItem/index.js +2 -2
  95. package/v3/VwcBreadcrumbItem/package.json +2 -2
  96. package/v3/VwcButton/index.d.ts +24 -3
  97. package/v3/VwcButton/index.js +369 -5
  98. package/v3/VwcButton/package.json +2 -2
  99. package/v3/VwcCalendar/index.js +2 -2
  100. package/v3/VwcCalendar/package.json +2 -2
  101. package/v3/VwcCalendarEvent/index.js +2 -2
  102. package/v3/VwcCalendarEvent/package.json +2 -2
  103. package/v3/VwcCard/index.js +2 -2
  104. package/v3/VwcCard/package.json +2 -2
  105. package/v3/VwcCheckbox/index.d.ts +8 -1
  106. package/v3/VwcCheckbox/index.js +67 -4
  107. package/v3/VwcCheckbox/package.json +2 -2
  108. package/v3/VwcCombobox/index.d.ts +26 -0
  109. package/v3/VwcCombobox/index.js +286 -4
  110. package/v3/VwcCombobox/package.json +2 -2
  111. package/v3/VwcDataGrid/index.d.ts +29 -2
  112. package/v3/VwcDataGrid/index.js +286 -8
  113. package/v3/VwcDataGrid/package.json +2 -2
  114. package/v3/VwcDataGridCell/index.d.ts +10 -2
  115. package/v3/VwcDataGridCell/index.js +143 -23
  116. package/v3/VwcDataGridCell/package.json +2 -2
  117. package/v3/VwcDataGridRow/index.d.ts +16 -0
  118. package/v3/VwcDataGridRow/index.js +168 -3
  119. package/v3/VwcDataGridRow/package.json +2 -2
  120. package/v3/VwcDatePicker/index.js +42 -1
  121. package/v3/VwcDatePicker/package.json +2 -2
  122. package/v3/VwcDatePickerBase/index.js +27 -0
  123. package/v3/VwcDatePickerBase/package.json +2 -2
  124. package/v3/VwcDateRangePicker/index.js +45 -2
  125. package/v3/VwcDateRangePicker/package.json +2 -2
  126. package/v3/VwcDelegatesARIAButton/index.d.ts +19 -0
  127. package/v3/VwcDelegatesARIAButton/index.js +63 -0
  128. package/v3/VwcDelegatesARIAButton/package.json +11 -0
  129. package/v3/VwcDelegatesARIALink/index.d.ts +17 -0
  130. package/v3/VwcDelegatesARIALink/index.js +46 -0
  131. package/v3/VwcDelegatesARIALink/package.json +11 -0
  132. package/v3/VwcDelegatesARIAListbox/index.d.ts +23 -0
  133. package/v3/VwcDelegatesARIAListbox/index.js +63 -0
  134. package/v3/VwcDelegatesARIAListbox/package.json +11 -0
  135. package/v3/VwcDelegatesARIAListboxOption/index.d.ts +23 -0
  136. package/v3/VwcDelegatesARIAListboxOption/index.js +97 -0
  137. package/v3/VwcDelegatesARIAListboxOption/package.json +11 -0
  138. package/v3/VwcDelegatesARIASelect/index.d.ts +17 -0
  139. package/v3/VwcDelegatesARIASelect/index.js +70 -0
  140. package/v3/VwcDelegatesARIASelect/package.json +11 -0
  141. package/v3/VwcDelegatesARIATextbox/index.d.ts +16 -0
  142. package/v3/VwcDelegatesARIATextbox/index.js +59 -0
  143. package/v3/VwcDelegatesARIATextbox/package.json +11 -0
  144. package/v3/VwcDialPad/index.js +5 -3
  145. package/v3/VwcDialPad/package.json +2 -2
  146. package/v3/VwcDialog/index.d.ts +11 -1
  147. package/v3/VwcDialog/index.js +122 -20
  148. package/v3/VwcDialog/package.json +2 -2
  149. package/v3/VwcDivider/index.d.ts +4 -1
  150. package/v3/VwcDivider/index.js +41 -3
  151. package/v3/VwcDivider/package.json +2 -2
  152. package/v3/VwcElevation/index.d.ts +2 -0
  153. package/v3/VwcElevation/index.js +17 -3
  154. package/v3/VwcElevation/package.json +2 -2
  155. package/v3/VwcEmptyState/index.d.ts +4 -0
  156. package/v3/VwcEmptyState/index.js +123 -3
  157. package/v3/VwcEmptyState/package.json +2 -2
  158. package/v3/VwcFab/index.d.ts +20 -0
  159. package/v3/VwcFab/index.js +353 -3
  160. package/v3/VwcFab/package.json +2 -2
  161. package/v3/VwcFilePicker/index.d.ts +8 -0
  162. package/v3/VwcFilePicker/index.js +181 -1
  163. package/v3/VwcFilePicker/package.json +2 -2
  164. package/v3/VwcFormAssociatedCheckbox/index.d.ts +17 -0
  165. package/v3/VwcFormAssociatedCheckbox/index.js +41 -0
  166. package/v3/VwcFormAssociatedCheckbox/package.json +11 -0
  167. package/v3/VwcFormAssociatedFilePicker/index.js +1 -1
  168. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  169. package/v3/VwcFormAssociatedNumberField/index.js +1 -1
  170. package/v3/VwcFormAssociatedNumberField/package.json +2 -2
  171. package/v3/VwcFormAssociatedRadio/index.d.ts +19 -0
  172. package/v3/VwcFormAssociatedRadio/index.js +64 -0
  173. package/v3/VwcFormAssociatedRadio/package.json +11 -0
  174. package/v3/VwcFormAssociatedRangeSlider/index.js +1 -1
  175. package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
  176. package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +17 -0
  177. package/v3/VwcFormAssociatedSearchableSelect/index.js +41 -0
  178. package/v3/VwcFormAssociatedSearchableSelect/package.json +11 -0
  179. package/v3/VwcFormAssociatedSelect/index.d.ts +27 -0
  180. package/v3/VwcFormAssociatedSelect/index.js +164 -0
  181. package/v3/VwcFormAssociatedSelect/package.json +11 -0
  182. package/v3/VwcFormAssociatedSlider/index.d.ts +17 -0
  183. package/v3/VwcFormAssociatedSlider/index.js +41 -0
  184. package/v3/VwcFormAssociatedSlider/package.json +11 -0
  185. package/v3/VwcFormAssociatedSwitch/index.d.ts +17 -0
  186. package/v3/VwcFormAssociatedSwitch/index.js +41 -0
  187. package/v3/VwcFormAssociatedSwitch/package.json +11 -0
  188. package/v3/VwcFormAssociatedTextArea/index.d.ts +17 -0
  189. package/v3/VwcFormAssociatedTextArea/index.js +41 -0
  190. package/v3/VwcFormAssociatedTextArea/package.json +11 -0
  191. package/v3/VwcFormAssociatedTextField/index.d.ts +17 -0
  192. package/v3/VwcFormAssociatedTextField/index.js +41 -0
  193. package/v3/VwcFormAssociatedTextField/package.json +11 -0
  194. package/v3/VwcFormAssociatedTimePicker/index.js +1 -1
  195. package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
  196. package/v3/VwcHeader/index.js +2 -2
  197. package/v3/VwcHeader/package.json +2 -2
  198. package/v3/VwcIcon/index.js +15 -2
  199. package/v3/VwcIcon/package.json +2 -2
  200. package/v3/VwcInlineTimePicker/index.d.ts +27 -0
  201. package/v3/VwcInlineTimePicker/index.js +125 -0
  202. package/v3/VwcInlineTimePicker/package.json +11 -0
  203. package/v3/VwcLayout/index.js +2 -2
  204. package/v3/VwcLayout/package.json +2 -2
  205. package/v3/VwcListbox/index.d.ts +10 -6
  206. package/v3/VwcListbox/index.js +51 -76
  207. package/v3/VwcListbox/package.json +2 -2
  208. package/v3/VwcMenu/index.d.ts +2 -4
  209. package/v3/VwcMenu/index.js +148 -11
  210. package/v3/VwcMenu/package.json +2 -2
  211. package/v3/VwcMenuItem/index.d.ts +8 -2
  212. package/v3/VwcMenuItem/index.js +93 -6
  213. package/v3/VwcMenuItem/package.json +2 -2
  214. package/v3/VwcNav/index.js +2 -2
  215. package/v3/VwcNav/package.json +2 -2
  216. package/v3/VwcNavDisclosure/index.js +2 -2
  217. package/v3/VwcNavDisclosure/package.json +2 -2
  218. package/v3/VwcNavItem/package.json +2 -2
  219. package/v3/VwcNote/index.js +2 -2
  220. package/v3/VwcNote/package.json +2 -2
  221. package/v3/VwcNumberField/index.d.ts +2 -0
  222. package/v3/VwcNumberField/index.js +21 -2
  223. package/v3/VwcNumberField/package.json +2 -2
  224. package/v3/VwcOption/index.d.ts +24 -5
  225. package/v3/VwcOption/index.js +199 -12
  226. package/v3/VwcOption/package.json +2 -2
  227. package/v3/VwcOptionTag/index.d.ts +25 -0
  228. package/v3/VwcOptionTag/index.js +109 -0
  229. package/v3/VwcOptionTag/package.json +11 -0
  230. package/v3/VwcPagination/index.js +2 -2
  231. package/v3/VwcPagination/package.json +2 -2
  232. package/v3/VwcProgress/index.d.ts +8 -0
  233. package/v3/VwcProgress/index.js +79 -4
  234. package/v3/VwcProgress/package.json +2 -2
  235. package/v3/VwcProgressRing/index.d.ts +8 -0
  236. package/v3/VwcProgressRing/index.js +84 -2
  237. package/v3/VwcProgressRing/package.json +2 -2
  238. package/v3/VwcRadio/index.d.ts +8 -0
  239. package/v3/VwcRadio/index.js +93 -3
  240. package/v3/VwcRadio/package.json +2 -2
  241. package/v3/VwcRadioGroup/index.d.ts +11 -0
  242. package/v3/VwcRadioGroup/index.js +180 -4
  243. package/v3/VwcRadioGroup/package.json +2 -2
  244. package/v3/VwcRangeSlider/index.d.ts +2 -0
  245. package/v3/VwcRangeSlider/index.js +98 -10
  246. package/v3/VwcRangeSlider/package.json +2 -2
  247. package/v3/VwcSearchableSelect/index.d.ts +46 -0
  248. package/v3/VwcSearchableSelect/index.js +551 -0
  249. package/v3/VwcSearchableSelect/package.json +11 -0
  250. package/v3/VwcSelect/index.d.ts +20 -0
  251. package/v3/VwcSelect/index.js +208 -4
  252. package/v3/VwcSelect/package.json +2 -2
  253. package/v3/VwcSelectableBox/index.js +2 -2
  254. package/v3/VwcSelectableBox/package.json +2 -2
  255. package/v3/VwcSideDrawer/index.d.ts +1 -0
  256. package/v3/VwcSideDrawer/index.js +10 -3
  257. package/v3/VwcSideDrawer/package.json +2 -2
  258. package/v3/VwcSlider/index.d.ts +24 -11
  259. package/v3/VwcSlider/index.js +338 -8
  260. package/v3/VwcSlider/package.json +2 -2
  261. package/v3/VwcSplitButton/index.js +2 -2
  262. package/v3/VwcSplitButton/package.json +2 -2
  263. package/v3/VwcSwitch/index.d.ts +10 -1
  264. package/v3/VwcSwitch/index.js +93 -4
  265. package/v3/VwcSwitch/package.json +2 -2
  266. package/v3/VwcTab/index.d.ts +4 -0
  267. package/v3/VwcTab/index.js +61 -3
  268. package/v3/VwcTab/package.json +2 -2
  269. package/v3/VwcTabPanel/index.js +2 -2
  270. package/v3/VwcTabPanel/package.json +2 -2
  271. package/v3/VwcTabs/index.d.ts +11 -1
  272. package/v3/VwcTabs/index.js +284 -34
  273. package/v3/VwcTabs/package.json +2 -2
  274. package/v3/VwcTag/index.js +2 -2
  275. package/v3/VwcTag/package.json +2 -2
  276. package/v3/VwcTagGroup/index.js +2 -2
  277. package/v3/VwcTagGroup/package.json +2 -2
  278. package/v3/VwcTextAnchor/index.js +2 -2
  279. package/v3/VwcTextAnchor/package.json +2 -2
  280. package/v3/VwcTextArea/index.d.ts +27 -0
  281. package/v3/VwcTextArea/index.js +229 -4
  282. package/v3/VwcTextArea/package.json +2 -2
  283. package/v3/VwcTextField/index.d.ts +28 -2
  284. package/v3/VwcTextField/index.js +224 -4
  285. package/v3/VwcTextField/package.json +2 -2
  286. package/v3/VwcTimePicker/index.js +20 -1
  287. package/v3/VwcTimePicker/package.json +2 -2
  288. package/v3/VwcToggletip/index.js +2 -2
  289. package/v3/VwcToggletip/package.json +2 -2
  290. package/v3/VwcTooltip/index.js +2 -2
  291. package/v3/VwcTooltip/package.json +2 -2
  292. package/v3/VwcTreeItem/index.d.ts +6 -0
  293. package/v3/VwcTreeItem/index.js +107 -3
  294. package/v3/VwcTreeItem/package.json +2 -2
  295. package/v3/VwcTreeView/index.d.ts +5 -1
  296. package/v3/VwcTreeView/index.js +124 -3
  297. package/v3/VwcTreeView/package.json +2 -2
  298. package/v3/VwcVideoPlayer/index.js +2 -2
  299. package/v3/VwcVideoPlayer/package.json +2 -2
  300. package/v3/VwcVividElement/index.d.ts +16 -0
  301. package/v3/VwcVividElement/index.js +30 -0
  302. package/v3/VwcVividElement/package.json +11 -0
  303. package/v3/VwcVividFoundationButton/index.d.ts +36 -0
  304. package/v3/VwcVividFoundationButton/index.js +296 -0
  305. package/v3/VwcVividFoundationButton/package.json +11 -0
  306. package/v3/VwcAppearanceUi/index.d.ts +0 -29
  307. package/v3/VwcAppearanceUi/index.js +0 -559
@@ -5,11 +5,10 @@ import React, { ReactNode, SyntheticEvent } from 'react';
5
5
  * @param {Placement | undefined} placement - placement of the menu **attribute** `placement`
6
6
  * @param {'auto' | 'legacy' | 'off' | undefined} trigger - Controls how the menu opens and closes itself. **attribute** `trigger`
7
7
  * @param {boolean} autoDismiss - indicates whether the menu will automatically close when focus moves away from it. **attribute** `auto-dismiss`
8
+ * @param {Strategy | undefined} positionStrategy - The strategy-absolute attribute. **attribute** `position-strategy`
8
9
  * @param {boolean} open - indicates whether the menu is open **attribute** `open`
9
10
  * @param _onFocusout
10
11
  * @param {HTMLElement[] | undefined} actionItemsSlottedContent
11
- * @param handleFocusOut
12
- * @param domChildren
13
12
  */
14
13
  declare const VwcMenu: {
15
14
  (props: {
@@ -24,11 +23,10 @@ declare const VwcMenu: {
24
23
  placement?: any;
25
24
  trigger?: any;
26
25
  autoDismiss?: boolean | undefined;
26
+ positionStrategy?: any;
27
27
  open?: boolean | undefined;
28
28
  _onFocusout?: any;
29
29
  actionItemsSlottedContent?: any;
30
- handleFocusOut?: any;
31
- domChildren?: any;
32
30
  }): JSX.Element;
33
31
  displayName: string;
34
32
  };
@@ -26,6 +26,132 @@ Code in this file were generated using following JSON:
26
26
  }
27
27
  ],
28
28
  "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "menuItems",
32
+ "type": {
33
+ "text": "Element[] | undefined"
34
+ },
35
+ "privacy": "private"
36
+ },
37
+ {
38
+ "kind": "field",
39
+ "name": "expandedItem",
40
+ "type": {
41
+ "text": "MenuItem | null"
42
+ },
43
+ "privacy": "private",
44
+ "default": "null"
45
+ },
46
+ {
47
+ "kind": "field",
48
+ "name": "focusIndex",
49
+ "type": {
50
+ "text": "number"
51
+ },
52
+ "privacy": "private",
53
+ "default": "-1",
54
+ "description": "The index of the focusable element in the items array\ndefaults to -1"
55
+ },
56
+ {
57
+ "kind": "field",
58
+ "name": "focusableElementRoles",
59
+ "type": {
60
+ "text": "{ [key: string]: string }"
61
+ },
62
+ "privacy": "private",
63
+ "static": true,
64
+ "default": "roleForMenuItem"
65
+ },
66
+ {
67
+ "kind": "method",
68
+ "name": "focus",
69
+ "return": {
70
+ "type": {
71
+ "text": "void"
72
+ }
73
+ },
74
+ "description": "Moves focus into the menu. If there is a child with the `autofocus` attribute, it will be focused.\nOtherwise, the first focusable child will be focused.",
75
+ "privacy": "public"
76
+ },
77
+ {
78
+ "kind": "method",
79
+ "name": "collapseExpandedItem",
80
+ "return": {
81
+ "type": {
82
+ "text": "void"
83
+ }
84
+ },
85
+ "description": "Collapses any expanded Menu Items.",
86
+ "privacy": "public"
87
+ },
88
+ {
89
+ "kind": "field",
90
+ "name": "handleItemFocus",
91
+ "privacy": "private"
92
+ },
93
+ {
94
+ "kind": "field",
95
+ "name": "handleExpandedChanged",
96
+ "privacy": "private"
97
+ },
98
+ {
99
+ "kind": "field",
100
+ "name": "removeItemListeners",
101
+ "privacy": "private"
102
+ },
103
+ {
104
+ "kind": "field",
105
+ "name": "setItems",
106
+ "privacy": "private"
107
+ },
108
+ {
109
+ "kind": "method",
110
+ "name": "domChildren",
111
+ "privacy": "private",
112
+ "return": {
113
+ "type": {
114
+ "text": "Element[]"
115
+ }
116
+ },
117
+ "description": "get an array of valid DOM children"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "isMenuItemElement",
122
+ "privacy": "private",
123
+ "description": "check if the item is a menu item"
124
+ },
125
+ {
126
+ "kind": "field",
127
+ "name": "isFocusableElement",
128
+ "privacy": "private",
129
+ "description": "check if the item is focusable"
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "setFocus",
134
+ "privacy": "private",
135
+ "return": {
136
+ "type": {
137
+ "text": "void"
138
+ }
139
+ },
140
+ "parameters": [
141
+ {
142
+ "name": "focusIndex",
143
+ "type": {
144
+ "text": "number"
145
+ }
146
+ },
147
+ {
148
+ "name": "adjustment",
149
+ "type": {
150
+ "text": "number"
151
+ }
152
+ }
153
+ ]
154
+ },
29
155
  {
30
156
  "kind": "field",
31
157
  "name": "ariaLabel",
@@ -72,6 +198,16 @@ Code in this file were generated using following JSON:
72
198
  "description": "indicates whether the menu will automatically close when focus moves away from it.",
73
199
  "privacy": "public"
74
200
  },
201
+ {
202
+ "kind": "field",
203
+ "name": "positionStrategy",
204
+ "type": {
205
+ "text": "Strategy | undefined"
206
+ },
207
+ "default": "'fixed'",
208
+ "description": "The strategy-absolute attribute.",
209
+ "privacy": "public"
210
+ },
75
211
  {
76
212
  "kind": "field",
77
213
  "name": "open",
@@ -156,14 +292,6 @@ Code in this file were generated using following JSON:
156
292
  "type": {
157
293
  "text": "HTMLElement[] | undefined"
158
294
  }
159
- },
160
- {
161
- "kind": "field",
162
- "name": "handleFocusOut"
163
- },
164
- {
165
- "kind": "field",
166
- "name": "domChildren"
167
295
  }
168
296
  ],
169
297
  "events": [
@@ -216,6 +344,15 @@ Code in this file were generated using following JSON:
216
344
  "description": "indicates whether the menu will automatically close when focus moves away from it.",
217
345
  "fieldName": "autoDismiss"
218
346
  },
347
+ {
348
+ "name": "position-strategy",
349
+ "type": {
350
+ "text": "Strategy | undefined"
351
+ },
352
+ "default": "'fixed'",
353
+ "description": "The strategy-absolute attribute.",
354
+ "fieldName": "positionStrategy"
355
+ },
219
356
  {
220
357
  "type": {
221
358
  "text": "boolean"
@@ -226,8 +363,8 @@ Code in this file were generated using following JSON:
226
363
  }
227
364
  ],
228
365
  "superclass": {
229
- "name": "FastMenu",
230
- "package": "@microsoft/fast-foundation"
366
+ "name": "VividElement",
367
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
231
368
  },
232
369
  "vividComponent": {
233
370
  "public": true,
@@ -243,7 +380,7 @@ registerMenu('vvd3')
243
380
  const VwcMenu = wrapper(`vvd3-menu`, {
244
381
  events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
245
382
  attributes: [],
246
- properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', 'open', '_onFocusout', 'actionItemsSlottedContent', 'handleFocusOut', 'domChildren']
383
+ properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent']
247
384
  })
248
385
 
249
386
  VwcMenu.displayName = 'VwcMenu'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -1,13 +1,16 @@
1
1
  import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcMenuItem
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
4
+ * @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
5
+ * @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
6
+ * @param {MenuItemRole} role - The role of the element. **attribute** `role`
7
+ * @param {boolean} checked - The checked value of the element. **attribute** `checked`
4
8
  * @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
5
9
  * @param {string | undefined} textSecondary - Indicates the menu item's secondary text. **attribute** `text-secondary`
6
10
  * @param {MenuItemConnotation | undefined} connotation - The connotation the fab should have. **attribute** `connotation`
7
11
  * @param {boolean} checkTrailing - Controls the placement of the menu item's checkmark or radio icon. **attribute** `check-trailing`
8
12
  * @param {CheckAppearance | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
9
13
  * @param {HTMLElement[] | undefined} trailingMetaSlottedContent
10
- * @param updateSubmenu
11
14
  * @param {string | undefined} icon
12
15
  */
13
16
  declare const VwcMenuItem: {
@@ -19,13 +22,16 @@ declare const VwcMenuItem: {
19
22
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
20
23
  onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
21
24
  onChange?: ((event: SyntheticEvent) => void) | undefined;
25
+ disabled?: boolean | undefined;
26
+ expanded?: boolean | undefined;
27
+ role?: any;
28
+ checked?: boolean | undefined;
22
29
  text?: string | undefined;
23
30
  textSecondary?: string | undefined;
24
31
  connotation?: any;
25
32
  checkTrailing?: boolean | undefined;
26
33
  checkedAppearance?: any;
27
34
  trailingMetaSlottedContent?: any;
28
- updateSubmenu?: any;
29
35
  icon?: string | undefined;
30
36
  }): JSX.Element;
31
37
  displayName: string;
@@ -88,6 +88,55 @@ Code in this file were generated using following JSON:
88
88
  }
89
89
  ],
90
90
  "members": [
91
+ {
92
+ "kind": "field",
93
+ "name": "disabled",
94
+ "type": {
95
+ "text": "boolean"
96
+ },
97
+ "description": "The disabled state of the element.",
98
+ "privacy": "public"
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "expanded",
103
+ "type": {
104
+ "text": "boolean"
105
+ },
106
+ "description": "The expanded state of the element.",
107
+ "privacy": "public"
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "role",
112
+ "type": {
113
+ "text": "MenuItemRole"
114
+ },
115
+ "description": "The role of the element.",
116
+ "privacy": "public"
117
+ },
118
+ {
119
+ "kind": "field",
120
+ "name": "checked",
121
+ "type": {
122
+ "text": "boolean"
123
+ },
124
+ "description": "The checked value of the element.",
125
+ "privacy": "public"
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "observer",
130
+ "type": {
131
+ "text": "MutationObserver | undefined"
132
+ },
133
+ "privacy": "private"
134
+ },
135
+ {
136
+ "kind": "field",
137
+ "name": "invoke",
138
+ "privacy": "private"
139
+ },
91
140
  {
92
141
  "kind": "field",
93
142
  "name": "text",
@@ -152,7 +201,8 @@ Code in this file were generated using following JSON:
152
201
  },
153
202
  {
154
203
  "kind": "method",
155
- "name": "#updateSubmenu"
204
+ "name": "updateSubmenu",
205
+ "privacy": "private"
156
206
  },
157
207
  {
158
208
  "kind": "method",
@@ -164,7 +214,13 @@ Code in this file were generated using following JSON:
164
214
  },
165
215
  {
166
216
  "kind": "field",
167
- "name": "updateSubmenu"
217
+ "name": "#syntheticClickEvents",
218
+ "privacy": "private",
219
+ "default": "new WeakSet<Event>()"
220
+ },
221
+ {
222
+ "kind": "method",
223
+ "name": "#emitSyntheticClick"
168
224
  }
169
225
  ],
170
226
  "events": [
@@ -184,6 +240,35 @@ Code in this file were generated using following JSON:
184
240
  }
185
241
  ],
186
242
  "attributes": [
243
+ {
244
+ "type": {
245
+ "text": "boolean"
246
+ },
247
+ "description": "The disabled state of the element.",
248
+ "fieldName": "disabled"
249
+ },
250
+ {
251
+ "type": {
252
+ "text": "boolean"
253
+ },
254
+ "description": "The expanded state of the element.",
255
+ "fieldName": "expanded"
256
+ },
257
+ {
258
+ "name": "role",
259
+ "type": {
260
+ "text": "MenuItemRole"
261
+ },
262
+ "description": "The role of the element.",
263
+ "fieldName": "role"
264
+ },
265
+ {
266
+ "type": {
267
+ "text": "boolean"
268
+ },
269
+ "description": "The checked value of the element.",
270
+ "fieldName": "checked"
271
+ },
187
272
  {
188
273
  "name": "text",
189
274
  "type": {
@@ -227,8 +312,8 @@ Code in this file were generated using following JSON:
227
312
  }
228
313
  ],
229
314
  "superclass": {
230
- "name": "FastMenuItem",
231
- "package": "@microsoft/fast-foundation"
315
+ "name": "VividElement",
316
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
232
317
  },
233
318
  "vividComponent": {
234
319
  "public": true,
@@ -237,7 +322,9 @@ Code in this file were generated using following JSON:
237
322
  {
238
323
  "name": "modelValue",
239
324
  "attributeName": "checked",
240
- "eventName": "change",
325
+ "eventNames": [
326
+ "change"
327
+ ],
241
328
  "valueMapping": "(event.target as HTMLInputElement).checked"
242
329
  }
243
330
  ]
@@ -252,7 +339,7 @@ registerMenuItem('vvd3')
252
339
  const VwcMenuItem = wrapper(`vvd3-menu-item`, {
253
340
  events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
254
341
  attributes: [],
255
- properties: ['text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', 'updateSubmenu', 'icon']
342
+ properties: ['disabled', 'expanded', 'role', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', 'icon']
256
343
  })
257
344
 
258
345
  VwcMenuItem.displayName = 'VwcMenuItem'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu-item",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -14,8 +14,8 @@ Code in this file were generated using following JSON:
14
14
  }
15
15
  ],
16
16
  "superclass": {
17
- "name": "FoundationElement",
18
- "package": "@microsoft/fast-foundation"
17
+ "name": "VividElement",
18
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
19
19
  },
20
20
  "vividComponent": {
21
21
  "public": true,
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -205,8 +205,8 @@ Code in this file were generated using following JSON:
205
205
  }
206
206
  ],
207
207
  "superclass": {
208
- "name": "FoundationElement",
209
- "package": "@microsoft/fast-foundation"
208
+ "name": "VividElement",
209
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
210
210
  },
211
211
  "vividComponent": {
212
212
  "public": true,
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-disclosure",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-item",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -127,8 +127,8 @@ Code in this file were generated using following JSON:
127
127
  }
128
128
  ],
129
129
  "superclass": {
130
- "name": "FoundationElement",
131
- "package": "@microsoft/fast-foundation"
130
+ "name": "VividElement",
131
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
132
132
  },
133
133
  "vividComponent": {
134
134
  "public": true,
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-note",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -8,6 +8,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
8
8
  * @param {number} maxlength - The maximum number of characters a user can enter. **attribute** `maxlength`
9
9
  * @param {number} minlength - The minimum number of characters a user can enter. **attribute** `minlength`
10
10
  * @param {number} size - Sets the width of the element to a specified number of characters. **attribute** `size`
11
+ * @param {NumberFieldSize | undefined} scale - The size the number-field should have. **attribute** `scale`
11
12
  * @param {number} step - Amount to increment or decrement the value by **attribute** `step`
12
13
  * @param {number} max - The maximum the value can be **attribute** `max`
13
14
  * @param {number} min - The minimum the value can be **attribute** `min`
@@ -37,6 +38,7 @@ declare const VwcNumberField: {
37
38
  maxlength?: number | undefined;
38
39
  minlength?: number | undefined;
39
40
  size?: number | undefined;
41
+ scale?: any;
40
42
  step?: number | undefined;
41
43
  max?: number | undefined;
42
44
  min?: number | undefined;
@@ -113,6 +113,15 @@ Code in this file were generated using following JSON:
113
113
  "description": "Sets the width of the element to a specified number of characters.",
114
114
  "privacy": "public"
115
115
  },
116
+ {
117
+ "kind": "field",
118
+ "name": "scale",
119
+ "type": {
120
+ "text": "NumberFieldSize | undefined"
121
+ },
122
+ "description": "The size the number-field should have.",
123
+ "privacy": "public"
124
+ },
116
125
  {
117
126
  "kind": "field",
118
127
  "name": "step",
@@ -359,6 +368,14 @@ Code in this file were generated using following JSON:
359
368
  "description": "Sets the width of the element to a specified number of characters.",
360
369
  "fieldName": "size"
361
370
  },
371
+ {
372
+ "name": "scale",
373
+ "type": {
374
+ "text": "NumberFieldSize | undefined"
375
+ },
376
+ "description": "The size the number-field should have.",
377
+ "fieldName": "scale"
378
+ },
362
379
  {
363
380
  "type": {
364
381
  "text": "number"
@@ -430,7 +447,9 @@ Code in this file were generated using following JSON:
430
447
  {
431
448
  "name": "modelValue",
432
449
  "attributeName": "value",
433
- "eventName": "input",
450
+ "eventNames": [
451
+ "input"
452
+ ],
434
453
  "valueMapping": "(event.target as HTMLInputElement).value"
435
454
  }
436
455
  ]
@@ -445,7 +464,7 @@ registerNumberField('vvd3')
445
464
  const VwcNumberField = wrapper(`vvd3-number-field`, {
446
465
  events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
447
466
  attributes: [],
448
- properties: ['readOnly', 'autofocus', 'placeholder', 'list', 'maxlength', 'minlength', 'size', 'step', 'max', 'min', 'valueAsNumber', 'incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete', 'proxy']
467
+ properties: ['readOnly', 'autofocus', 'placeholder', 'list', 'maxlength', 'minlength', 'size', 'scale', 'step', 'max', 'min', 'valueAsNumber', 'incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete', 'proxy']
449
468
  })
450
469
 
451
470
  VwcNumberField.displayName = 'VwcNumberField'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-number-field",
3
- "version": "4.1.0",
3
+ "version": "4.14.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "4.1.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -1,10 +1,21 @@
1
1
  import React, { ReactNode } from 'react';
2
- /** VwcOption
2
+ /** An Option Custom HTML Element.
3
+ Implements https://www.w3.org/TR/wai-aria-1.1/#option | ARIA option .
3
4
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/option
4
- * @param {string | undefined} _text **attribute** `text`
5
- * @param text
5
+ * @param {boolean | undefined} checked - The checked state is used when the parent listbox is in multiple selection mode.
6
+ To avoid accessibility conflicts, the checked state should not be present in
7
+ single selection mode.
8
+ * @param {boolean} defaultSelected - The defaultSelected state of the option.
9
+ * @param {boolean} disabled - The disabled state of the option. **attribute** `disabled`
10
+ * @param {boolean} selectedAttribute - The selected attribute value. This sets the initial selected value. **attribute** `selected`
11
+ * @param {boolean} selected - The checked state of the control.
12
+ * @param {boolean} dirtyValue - Track whether the value has been changed from the initial value
6
13
  * @param {string | undefined} _label **attribute** `label`
7
14
  * @param {string} label
15
+ * @param {string | undefined} _text **attribute** `text`
16
+ * @param text
17
+ * @param {string} value
18
+ * @param proxy
8
19
  */
9
20
  declare const VwcOption: {
10
21
  (props: {
@@ -13,10 +24,18 @@ declare const VwcOption: {
13
24
  id?: string | undefined;
14
25
  style?: React.CSSProperties | undefined;
15
26
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
16
- _text?: string | undefined;
17
- text?: any;
27
+ checked?: any;
28
+ defaultSelected?: boolean | undefined;
29
+ disabled?: boolean | undefined;
30
+ selectedAttribute?: boolean | undefined;
31
+ selected?: boolean | undefined;
32
+ dirtyValue?: boolean | undefined;
18
33
  _label?: string | undefined;
19
34
  label?: string | undefined;
35
+ _text?: string | undefined;
36
+ text?: any;
37
+ value?: string | undefined;
38
+ proxy?: any;
20
39
  }): JSX.Element;
21
40
  displayName: string;
22
41
  };