@vonage/vivid-react 3.3.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 (304) 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 +255 -30
  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 +22 -3
  97. package/v3/VwcButton/index.js +350 -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 +64 -3
  107. package/v3/VwcCheckbox/package.json +2 -2
  108. package/v3/VwcCombobox/index.d.ts +26 -0
  109. package/v3/VwcCombobox/index.js +283 -3
  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 +39 -0
  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 +39 -0
  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 +2 -2
  145. package/v3/VwcDialPad/package.json +2 -2
  146. package/v3/VwcDialog/index.d.ts +8 -1
  147. package/v3/VwcDialog/index.js +85 -5
  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.js +2 -2
  156. package/v3/VwcEmptyState/package.json +2 -2
  157. package/v3/VwcFab/index.d.ts +20 -0
  158. package/v3/VwcFab/index.js +353 -3
  159. package/v3/VwcFab/package.json +2 -2
  160. package/v3/VwcFilePicker/index.d.ts +8 -0
  161. package/v3/VwcFilePicker/index.js +181 -1
  162. package/v3/VwcFilePicker/package.json +2 -2
  163. package/v3/VwcFormAssociatedCheckbox/index.d.ts +17 -0
  164. package/v3/VwcFormAssociatedCheckbox/index.js +41 -0
  165. package/v3/VwcFormAssociatedCheckbox/package.json +11 -0
  166. package/v3/VwcFormAssociatedFilePicker/index.js +1 -1
  167. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  168. package/v3/VwcFormAssociatedNumberField/index.js +1 -1
  169. package/v3/VwcFormAssociatedNumberField/package.json +2 -2
  170. package/v3/VwcFormAssociatedRadio/index.d.ts +19 -0
  171. package/v3/VwcFormAssociatedRadio/index.js +64 -0
  172. package/v3/VwcFormAssociatedRadio/package.json +11 -0
  173. package/v3/VwcFormAssociatedRangeSlider/index.js +1 -1
  174. package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
  175. package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +17 -0
  176. package/v3/VwcFormAssociatedSearchableSelect/index.js +41 -0
  177. package/v3/VwcFormAssociatedSearchableSelect/package.json +11 -0
  178. package/v3/VwcFormAssociatedSelect/index.d.ts +27 -0
  179. package/v3/VwcFormAssociatedSelect/index.js +164 -0
  180. package/v3/VwcFormAssociatedSelect/package.json +11 -0
  181. package/v3/VwcFormAssociatedSlider/index.d.ts +17 -0
  182. package/v3/VwcFormAssociatedSlider/index.js +41 -0
  183. package/v3/VwcFormAssociatedSlider/package.json +11 -0
  184. package/v3/VwcFormAssociatedSwitch/index.d.ts +17 -0
  185. package/v3/VwcFormAssociatedSwitch/index.js +41 -0
  186. package/v3/VwcFormAssociatedSwitch/package.json +11 -0
  187. package/v3/VwcFormAssociatedTextArea/index.d.ts +17 -0
  188. package/v3/VwcFormAssociatedTextArea/index.js +41 -0
  189. package/v3/VwcFormAssociatedTextArea/package.json +11 -0
  190. package/v3/VwcFormAssociatedTextField/index.d.ts +17 -0
  191. package/v3/VwcFormAssociatedTextField/index.js +41 -0
  192. package/v3/VwcFormAssociatedTextField/package.json +11 -0
  193. package/v3/VwcFormAssociatedTimePicker/index.js +1 -1
  194. package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
  195. package/v3/VwcHeader/index.js +2 -2
  196. package/v3/VwcHeader/package.json +2 -2
  197. package/v3/VwcIcon/index.js +15 -2
  198. package/v3/VwcIcon/package.json +2 -2
  199. package/v3/VwcInlineTimePicker/index.d.ts +27 -0
  200. package/v3/VwcInlineTimePicker/index.js +125 -0
  201. package/v3/VwcInlineTimePicker/package.json +11 -0
  202. package/v3/VwcLayout/index.js +2 -2
  203. package/v3/VwcLayout/package.json +2 -2
  204. package/v3/VwcListbox/index.d.ts +10 -6
  205. package/v3/VwcListbox/index.js +51 -76
  206. package/v3/VwcListbox/package.json +2 -2
  207. package/v3/VwcMenu/index.d.ts +2 -4
  208. package/v3/VwcMenu/index.js +148 -11
  209. package/v3/VwcMenu/package.json +2 -2
  210. package/v3/VwcMenuItem/index.d.ts +8 -4
  211. package/v3/VwcMenuItem/index.js +83 -17
  212. package/v3/VwcMenuItem/package.json +2 -2
  213. package/v3/VwcNav/index.js +2 -2
  214. package/v3/VwcNav/package.json +2 -2
  215. package/v3/VwcNavDisclosure/index.js +2 -2
  216. package/v3/VwcNavDisclosure/package.json +2 -2
  217. package/v3/VwcNavItem/package.json +2 -2
  218. package/v3/VwcNote/index.js +2 -2
  219. package/v3/VwcNote/package.json +2 -2
  220. package/v3/VwcNumberField/index.d.ts +2 -0
  221. package/v3/VwcNumberField/index.js +18 -1
  222. package/v3/VwcNumberField/package.json +2 -2
  223. package/v3/VwcOption/index.d.ts +24 -5
  224. package/v3/VwcOption/index.js +199 -12
  225. package/v3/VwcOption/package.json +2 -2
  226. package/v3/VwcOptionTag/index.d.ts +25 -0
  227. package/v3/VwcOptionTag/index.js +109 -0
  228. package/v3/VwcOptionTag/package.json +11 -0
  229. package/v3/VwcPagination/index.js +2 -2
  230. package/v3/VwcPagination/package.json +2 -2
  231. package/v3/VwcProgress/index.d.ts +8 -0
  232. package/v3/VwcProgress/index.js +79 -4
  233. package/v3/VwcProgress/package.json +2 -2
  234. package/v3/VwcProgressRing/index.d.ts +8 -0
  235. package/v3/VwcProgressRing/index.js +84 -2
  236. package/v3/VwcProgressRing/package.json +2 -2
  237. package/v3/VwcRadio/index.d.ts +8 -0
  238. package/v3/VwcRadio/index.js +93 -3
  239. package/v3/VwcRadio/package.json +2 -2
  240. package/v3/VwcRadioGroup/index.d.ts +11 -0
  241. package/v3/VwcRadioGroup/index.js +177 -3
  242. package/v3/VwcRadioGroup/package.json +2 -2
  243. package/v3/VwcRangeSlider/package.json +2 -2
  244. package/v3/VwcSearchableSelect/index.d.ts +46 -0
  245. package/v3/VwcSearchableSelect/index.js +551 -0
  246. package/v3/VwcSearchableSelect/package.json +11 -0
  247. package/v3/VwcSelect/index.d.ts +20 -0
  248. package/v3/VwcSelect/index.js +205 -3
  249. package/v3/VwcSelect/package.json +2 -2
  250. package/v3/VwcSelectableBox/index.js +2 -2
  251. package/v3/VwcSelectableBox/package.json +2 -2
  252. package/v3/VwcSideDrawer/index.d.ts +1 -0
  253. package/v3/VwcSideDrawer/index.js +10 -3
  254. package/v3/VwcSideDrawer/package.json +2 -2
  255. package/v3/VwcSlider/index.d.ts +22 -16
  256. package/v3/VwcSlider/index.js +292 -21
  257. package/v3/VwcSlider/package.json +2 -2
  258. package/v3/VwcSplitButton/index.js +2 -2
  259. package/v3/VwcSplitButton/package.json +2 -2
  260. package/v3/VwcSwitch/index.d.ts +10 -1
  261. package/v3/VwcSwitch/index.js +66 -3
  262. package/v3/VwcSwitch/package.json +2 -2
  263. package/v3/VwcTab/index.d.ts +4 -0
  264. package/v3/VwcTab/index.js +61 -3
  265. package/v3/VwcTab/package.json +2 -2
  266. package/v3/VwcTabPanel/index.js +2 -2
  267. package/v3/VwcTabPanel/package.json +2 -2
  268. package/v3/VwcTabs/index.d.ts +11 -1
  269. package/v3/VwcTabs/index.js +284 -34
  270. package/v3/VwcTabs/package.json +2 -2
  271. package/v3/VwcTag/index.js +2 -2
  272. package/v3/VwcTag/package.json +2 -2
  273. package/v3/VwcTagGroup/index.js +2 -2
  274. package/v3/VwcTagGroup/package.json +2 -2
  275. package/v3/VwcTextAnchor/index.js +2 -2
  276. package/v3/VwcTextAnchor/package.json +2 -2
  277. package/v3/VwcTextArea/index.d.ts +27 -0
  278. package/v3/VwcTextArea/index.js +226 -3
  279. package/v3/VwcTextArea/package.json +2 -2
  280. package/v3/VwcTextField/index.d.ts +28 -2
  281. package/v3/VwcTextField/index.js +221 -3
  282. package/v3/VwcTextField/package.json +2 -2
  283. package/v3/VwcTimePicker/index.js +17 -0
  284. package/v3/VwcTimePicker/package.json +2 -2
  285. package/v3/VwcToggletip/index.js +2 -2
  286. package/v3/VwcToggletip/package.json +2 -2
  287. package/v3/VwcTooltip/index.js +2 -2
  288. package/v3/VwcTooltip/package.json +2 -2
  289. package/v3/VwcTreeItem/index.d.ts +6 -0
  290. package/v3/VwcTreeItem/index.js +107 -3
  291. package/v3/VwcTreeItem/package.json +2 -2
  292. package/v3/VwcTreeView/index.d.ts +5 -1
  293. package/v3/VwcTreeView/index.js +124 -3
  294. package/v3/VwcTreeView/package.json +2 -2
  295. package/v3/VwcVideoPlayer/index.js +2 -2
  296. package/v3/VwcVideoPlayer/package.json +2 -2
  297. package/v3/VwcVividElement/index.d.ts +16 -0
  298. package/v3/VwcVividElement/index.js +30 -0
  299. package/v3/VwcVividElement/package.json +11 -0
  300. package/v3/VwcVividFoundationButton/index.d.ts +36 -0
  301. package/v3/VwcVividFoundationButton/index.js +296 -0
  302. package/v3/VwcVividFoundationButton/package.json +11 -0
  303. package/v3/VwcAppearanceUi/index.d.ts +0 -29
  304. package/v3/VwcAppearanceUi/index.js +0 -559
@@ -0,0 +1,125 @@
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": "InlineTimePicker",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-time-picker-accent-primary",
13
+ "default": "var(--vvd-color-canvas-text)"
14
+ },
15
+ {
16
+ "name": "--vvd-time-picker-accent-firm",
17
+ "default": "var(--vvd-color-canvas-text)"
18
+ },
19
+ {
20
+ "name": "--vvd-time-picker-accent-faint",
21
+ "default": "var(--vvd-color-neutral-50)"
22
+ },
23
+ {
24
+ "name": "--vvd-time-picker-accent-soft",
25
+ "default": "var(--vvd-color-neutral-100)"
26
+ },
27
+ {
28
+ "name": "--vvd-time-picker-accent-dim",
29
+ "default": "var(--vvd-color-neutral-200)"
30
+ },
31
+ {
32
+ "name": "--vvd-time-picker-accent-pale",
33
+ "default": "var(--vvd-color-neutral-300)"
34
+ }
35
+ ],
36
+ "members": [
37
+ {
38
+ "kind": "field",
39
+ "name": "value",
40
+ "type": {
41
+ "text": "string | undefined"
42
+ }
43
+ },
44
+ {
45
+ "kind": "method",
46
+ "name": "valueChanged",
47
+ "parameters": [
48
+ {
49
+ "name": "_",
50
+ "optional": true,
51
+ "type": {
52
+ "text": "string"
53
+ }
54
+ },
55
+ {
56
+ "name": "newValue",
57
+ "optional": true,
58
+ "type": {
59
+ "text": "string"
60
+ }
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "kind": "field",
66
+ "name": "minutesStep",
67
+ "type": {
68
+ "text": "number"
69
+ },
70
+ "default": "1"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "secondsStep",
75
+ "type": {
76
+ "text": "number | undefined"
77
+ }
78
+ },
79
+ {
80
+ "kind": "field",
81
+ "name": "clock",
82
+ "type": {
83
+ "text": "'12h' | '24h'"
84
+ },
85
+ "default": "'24h'"
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "min",
90
+ "type": {
91
+ "text": "string | undefined"
92
+ }
93
+ },
94
+ {
95
+ "kind": "field",
96
+ "name": "max",
97
+ "type": {
98
+ "text": "string | undefined"
99
+ }
100
+ },
101
+ {
102
+ "kind": "method",
103
+ "name": "scrollSelectedOptionsToTop"
104
+ }
105
+ ],
106
+ "superclass": {
107
+ "name": "VividElement",
108
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
109
+ }
110
+ }
111
+ */
112
+ import wrapper from '@vonage/vivid-react-wrapper'
113
+ import { registerInlineTimePicker } from '@vonage/vivid'
114
+
115
+ registerInlineTimePicker('vvd3')
116
+
117
+ const VwcInlineTimePicker = wrapper(`vvd3-inline-time-picker`, {
118
+ events: [],
119
+ attributes: [],
120
+ properties: ['value', 'minutesStep', 'secondsStep', 'clock', 'min', 'max']
121
+ })
122
+
123
+ VwcInlineTimePicker.displayName = 'VwcInlineTimePicker'
124
+
125
+ export default VwcInlineTimePicker
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-inline-time-picker",
3
+ "version": "4.14.4",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "4.14.4"
10
+ }
11
+ }
@@ -103,8 +103,8 @@ Code in this file were generated using following JSON:
103
103
  }
104
104
  ],
105
105
  "superclass": {
106
- "name": "FoundationElement",
107
- "package": "@microsoft/fast-foundation"
106
+ "name": "VividElement",
107
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
108
108
  },
109
109
  "vividComponent": {
110
110
  "public": true,
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-layout",
3
- "version": "4.4.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.4.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -1,9 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** VwcListbox
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/listbox
4
- * @param {LisboxAppearance | undefined} appearance - The appearance the listbox should have. **attribute** `appearance`
5
- * @param {'horizontal' | 'vertical' | undefined} orientation - The direction the listbox options should flow. **attribute** `orientation`
6
- * @param {ListboxShape | undefined} shape - The shape the listbox should have. **attribute** `shape`
4
+ * @param {ListboxOption[]} options - The list of options.
5
+ * @param {boolean} disabled - The disabled state of the listbox. **attribute** `disabled`
6
+ * @param {number} selectedIndex - The index of the selected option.
7
+ * @param {ListboxOption[]} selectedOptions - A collection of the selected options.
8
+ * @param slottedOptionFilter - A static filter to include only selectable options.
7
9
  */
8
10
  declare const VwcListbox: {
9
11
  (props: {
@@ -12,9 +14,11 @@ declare const VwcListbox: {
12
14
  id?: string | undefined;
13
15
  style?: React.CSSProperties | undefined;
14
16
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
- appearance?: any;
16
- orientation?: any;
17
- shape?: any;
17
+ options?: any[] | undefined;
18
+ disabled?: boolean | undefined;
19
+ selectedIndex?: number | undefined;
20
+ selectedOptions?: any[] | undefined;
21
+ slottedOptionFilter?: any;
18
22
  }): JSX.Element;
19
23
  displayName: string;
20
24
  };
@@ -7,123 +7,98 @@ Code in this file were generated using following JSON:
7
7
  "kind": "class",
8
8
  "description": "",
9
9
  "name": "Listbox",
10
- "cssProperties": [
11
- {
12
- "name": "--vvd-listbox-accent-intermediate",
13
- "default": "var(--vvd-color-neutral-500)"
14
- },
10
+ "members": [
15
11
  {
16
- "name": "--vvd-listbox-accent-primary",
17
- "default": "var(--vvd-color-canvas-text)"
12
+ "kind": "field",
13
+ "name": "length",
14
+ "type": {
15
+ "text": "number"
16
+ },
17
+ "description": "The number of options.",
18
+ "privacy": "public",
19
+ "readonly": true
18
20
  },
19
- {
20
- "name": "--vvd-listbox-accent-soft",
21
- "default": "var(--vvd-color-neutral-100)"
22
- }
23
- ],
24
- "slots": [
25
- {
26
- "description": "Default slot.",
27
- "name": ""
28
- }
29
- ],
30
- "members": [
31
21
  {
32
22
  "kind": "field",
33
- "name": "appearance",
23
+ "name": "options",
34
24
  "type": {
35
- "text": "LisboxAppearance | undefined"
25
+ "text": "ListboxOption[]"
36
26
  },
37
- "description": "The appearance the listbox should have.",
27
+ "description": "The list of options.",
38
28
  "privacy": "public"
39
29
  },
40
30
  {
41
31
  "kind": "field",
42
- "name": "orientation",
32
+ "name": "disabled",
43
33
  "type": {
44
- "text": "'horizontal' | 'vertical' | undefined"
34
+ "text": "boolean"
45
35
  },
46
- "description": "The direction the listbox options should flow.",
36
+ "description": "The disabled state of the listbox.",
47
37
  "privacy": "public"
48
38
  },
49
39
  {
50
- "kind": "method",
51
- "name": "orientationChanged",
52
- "return": {
53
- "type": {
54
- "text": "void"
55
- }
56
- }
40
+ "kind": "field",
41
+ "name": "selectedIndex",
42
+ "type": {
43
+ "text": "number"
44
+ },
45
+ "default": "-1",
46
+ "description": "The index of the selected option.",
47
+ "privacy": "public"
57
48
  },
58
49
  {
59
50
  "kind": "field",
60
- "name": "shape",
51
+ "name": "selectedOptions",
61
52
  "type": {
62
- "text": "ListboxShape | undefined"
53
+ "text": "ListboxOption[]"
63
54
  },
64
- "description": "The shape the listbox should have.",
55
+ "default": "[]",
56
+ "description": "A collection of the selected options.",
65
57
  "privacy": "public"
66
58
  },
67
59
  {
68
- "kind": "method",
69
- "name": "slottedOptionsChanged",
60
+ "kind": "field",
61
+ "name": "slottedOptionFilter",
62
+ "static": true,
63
+ "description": "A static filter to include only selectable options.",
70
64
  "parameters": [
71
65
  {
72
- "name": "prev",
73
- "type": {
74
- "text": "Element[] | undefined"
75
- }
76
- },
77
- {
78
- "name": "next",
79
- "type": {
80
- "text": "Element[]"
81
- }
66
+ "description": "element to filter",
67
+ "name": "n"
82
68
  }
83
- ]
69
+ ],
70
+ "privacy": "public"
84
71
  },
85
72
  {
86
73
  "kind": "method",
87
- "name": "#disableSlottedChildren",
74
+ "name": "selectFirstOption",
88
75
  "return": {
89
76
  "type": {
90
77
  "text": "void"
91
78
  }
92
- }
93
- }
94
- ],
95
- "attributes": [
96
- {
97
- "name": "appearance",
98
- "type": {
99
- "text": "LisboxAppearance | undefined"
100
79
  },
101
- "description": "The appearance the listbox should have.",
102
- "fieldName": "appearance"
80
+ "description": "Moves focus to the first selectable option.",
81
+ "privacy": "public"
103
82
  },
104
83
  {
105
- "name": "orientation",
106
- "type": {
107
- "text": "'horizontal' | 'vertical' | undefined"
108
- },
109
- "description": "The direction the listbox options should flow.",
110
- "fieldName": "orientation"
111
- },
84
+ "kind": "method",
85
+ "name": "setSelectedOptions",
86
+ "privacy": "public",
87
+ "description": "Sets an option as selected and gives it focus."
88
+ }
89
+ ],
90
+ "attributes": [
112
91
  {
113
- "name": "shape",
114
92
  "type": {
115
- "text": "ListboxShape | undefined"
93
+ "text": "boolean"
116
94
  },
117
- "description": "The shape the listbox should have.",
118
- "fieldName": "shape"
95
+ "description": "The disabled state of the listbox.",
96
+ "fieldName": "disabled"
119
97
  }
120
98
  ],
121
99
  "superclass": {
122
- "name": "FoundationListboxElement",
123
- "package": "@microsoft/fast-foundation"
124
- },
125
- "vividComponent": {
126
- "name": "listbox"
100
+ "name": "VividElement",
101
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
127
102
  }
128
103
  }
129
104
  */
@@ -135,7 +110,7 @@ registerListbox('vvd3')
135
110
  const VwcListbox = wrapper(`vvd3-listbox`, {
136
111
  events: [],
137
112
  attributes: [],
138
- properties: ['appearance', 'orientation', 'shape']
113
+ properties: ['options', 'disabled', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter']
139
114
  })
140
115
 
141
116
  VwcListbox.displayName = 'VwcListbox'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-listbox",
3
- "version": "4.4.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.4.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -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.4.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.4.0"
9
+ "@vonage/vivid": "4.14.4"
10
10
  }
11
11
  }
@@ -1,14 +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
- * @param handleMenuItemKeyDown
12
14
  * @param {string | undefined} icon
13
15
  */
14
16
  declare const VwcMenuItem: {
@@ -20,14 +22,16 @@ declare const VwcMenuItem: {
20
22
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
21
23
  onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
22
24
  onChange?: ((event: SyntheticEvent) => void) | undefined;
25
+ disabled?: boolean | undefined;
26
+ expanded?: boolean | undefined;
27
+ role?: any;
28
+ checked?: boolean | undefined;
23
29
  text?: string | undefined;
24
30
  textSecondary?: string | undefined;
25
31
  connotation?: any;
26
32
  checkTrailing?: boolean | undefined;
27
33
  checkedAppearance?: any;
28
34
  trailingMetaSlottedContent?: any;
29
- updateSubmenu?: any;
30
- handleMenuItemKeyDown?: any;
31
35
  icon?: string | undefined;
32
36
  }): JSX.Element;
33
37
  displayName: string;