@vonage/vivid-react 2.10.93 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.md +0 -3
  2. package/VwcAccordion/package.json +1 -1
  3. package/VwcActionGroup/package.json +1 -1
  4. package/VwcBadge/package.json +1 -1
  5. package/VwcBanner/package.json +1 -1
  6. package/VwcButton/package.json +1 -1
  7. package/VwcButtonToggleGroup/package.json +1 -1
  8. package/VwcCalendar/package.json +1 -1
  9. package/VwcCalendarEvent/package.json +1 -1
  10. package/VwcCard/package.json +1 -1
  11. package/VwcCarousel/package.json +1 -1
  12. package/VwcCarouselItem/package.json +1 -1
  13. package/VwcCheckListItem/package.json +1 -1
  14. package/VwcCheckbox/package.json +1 -1
  15. package/VwcChip/package.json +1 -1
  16. package/VwcChipSet/package.json +1 -1
  17. package/VwcCircularProgress/package.json +1 -1
  18. package/VwcDataGrid/package.json +1 -1
  19. package/VwcDataGridColumn/package.json +1 -1
  20. package/VwcDatepicker/package.json +1 -1
  21. package/VwcDropdown/package.json +1 -1
  22. package/VwcElevation/package.json +1 -1
  23. package/VwcEmptyState/package.json +1 -1
  24. package/VwcExpansionPanel/package.json +1 -1
  25. package/VwcFab/package.json +1 -1
  26. package/VwcFilePicker/package.json +1 -1
  27. package/VwcFormfield/package.json +1 -1
  28. package/VwcHelperMessage/package.json +1 -1
  29. package/VwcIcon/package.json +1 -1
  30. package/VwcIconButton/package.json +1 -1
  31. package/VwcIconButtonToggle/package.json +1 -1
  32. package/VwcKeypad/package.json +1 -1
  33. package/VwcLayout/package.json +1 -1
  34. package/VwcLinearProgress/package.json +1 -1
  35. package/VwcList/package.json +1 -1
  36. package/VwcListExpansionPanel/package.json +1 -1
  37. package/VwcListItem/package.json +1 -1
  38. package/VwcMenu/package.json +1 -1
  39. package/VwcNotchedOutline/package.json +1 -1
  40. package/VwcNote/package.json +1 -1
  41. package/VwcPagination/package.json +1 -1
  42. package/VwcPopup/package.json +1 -1
  43. package/VwcRadio/package.json +1 -1
  44. package/VwcRadioListItem/package.json +1 -1
  45. package/VwcSchemeSelect/package.json +1 -1
  46. package/VwcScrubBar/package.json +1 -1
  47. package/VwcSelect/package.json +1 -1
  48. package/VwcSlider/package.json +1 -1
  49. package/VwcSnackbar/package.json +1 -1
  50. package/VwcSurface/package.json +1 -1
  51. package/VwcSwitch/package.json +1 -1
  52. package/VwcTab/package.json +1 -1
  53. package/VwcTabBar/package.json +1 -1
  54. package/VwcTag/package.json +1 -1
  55. package/VwcText/package.json +1 -1
  56. package/VwcTextarea/package.json +1 -1
  57. package/VwcTextfield/package.json +1 -1
  58. package/VwcThemeSwitch/package.json +1 -1
  59. package/VwcTooltip/package.json +1 -1
  60. package/VwcTopAppBar/package.json +1 -1
  61. package/VwcTopAppBarFixed/package.json +1 -1
  62. package/index.js +5 -38
  63. package/package.json +2 -5
  64. package/types/index.d.ts +43 -3
  65. package/v3/VwcAccordion/index.js +9 -0
  66. package/v3/VwcAccordion/package.json +2 -2
  67. package/v3/VwcAccordionItem/index.d.ts +2 -1
  68. package/v3/VwcAccordionItem/index.js +14 -5
  69. package/v3/VwcAccordionItem/package.json +2 -2
  70. package/v3/VwcActionGroup/package.json +2 -2
  71. package/v3/VwcAlert/index.js +14 -0
  72. package/v3/VwcAlert/package.json +2 -2
  73. package/v3/VwcAppearanceUi/index.js +28 -0
  74. package/v3/VwcAppearanceUi/package.json +2 -2
  75. package/v3/VwcAudioPlayer/index.d.ts +18 -0
  76. package/v3/VwcAudioPlayer/index.js +167 -1
  77. package/v3/VwcAudioPlayer/package.json +2 -2
  78. package/v3/VwcAvatar/package.json +2 -2
  79. package/v3/VwcBadge/index.js +32 -0
  80. package/v3/VwcBadge/package.json +2 -2
  81. package/v3/VwcBanner/index.d.ts +2 -2
  82. package/v3/VwcBanner/index.js +2 -2
  83. package/v3/VwcBanner/package.json +2 -2
  84. package/v3/VwcBreadcrumb/package.json +2 -2
  85. package/v3/VwcBreadcrumbItem/package.json +2 -2
  86. package/v3/VwcButton/index.d.ts +2 -0
  87. package/v3/VwcButton/index.js +53 -1
  88. package/v3/VwcButton/package.json +2 -2
  89. package/v3/VwcCalendar/package.json +2 -2
  90. package/v3/VwcCalendarEvent/package.json +2 -2
  91. package/v3/VwcCard/package.json +2 -2
  92. package/v3/VwcCheckbox/index.d.ts +1 -1
  93. package/v3/VwcCheckbox/index.js +12 -2
  94. package/v3/VwcCheckbox/package.json +2 -2
  95. package/v3/VwcCombobox/index.d.ts +4 -0
  96. package/v3/VwcCombobox/index.js +47 -16
  97. package/v3/VwcCombobox/package.json +2 -2
  98. package/v3/VwcDataGrid/index.js +3 -0
  99. package/v3/VwcDataGrid/package.json +2 -2
  100. package/v3/VwcDataGridCell/index.d.ts +1 -0
  101. package/v3/VwcDataGridCell/index.js +14 -1
  102. package/v3/VwcDataGridCell/package.json +2 -2
  103. package/v3/VwcDataGridRow/index.d.ts +1 -0
  104. package/v3/VwcDataGridRow/index.js +11 -1
  105. package/v3/VwcDataGridRow/package.json +2 -2
  106. package/v3/VwcDatePicker/index.d.ts +2 -2
  107. package/v3/VwcDatePicker/index.js +27 -10
  108. package/v3/VwcDatePicker/package.json +2 -2
  109. package/v3/VwcDatePickerBase/index.js +4 -1
  110. package/v3/VwcDatePickerBase/package.json +2 -2
  111. package/v3/VwcDateRangePicker/index.d.ts +2 -1
  112. package/v3/VwcDateRangePicker/index.js +27 -4
  113. package/v3/VwcDateRangePicker/package.json +2 -2
  114. package/v3/VwcDialPad/index.d.ts +27 -0
  115. package/v3/VwcDialPad/index.js +97 -3
  116. package/v3/VwcDialPad/package.json +2 -2
  117. package/v3/VwcDialog/index.js +4 -1
  118. package/v3/VwcDialog/package.json +2 -2
  119. package/v3/VwcDivider/package.json +2 -2
  120. package/v3/VwcElevation/package.json +2 -2
  121. package/v3/VwcEmptyState/package.json +2 -2
  122. package/v3/VwcFab/index.js +24 -0
  123. package/v3/VwcFab/package.json +2 -2
  124. package/v3/VwcFilePicker/index.js +15 -0
  125. package/v3/VwcFilePicker/package.json +2 -2
  126. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  127. package/v3/VwcFormAssociatedNumberField/index.d.ts +17 -0
  128. package/v3/VwcFormAssociatedNumberField/index.js +41 -0
  129. package/v3/VwcFormAssociatedNumberField/package.json +11 -0
  130. package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
  131. package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
  132. package/v3/VwcHeader/package.json +2 -2
  133. package/v3/VwcIcon/index.d.ts +12 -1
  134. package/v3/VwcIcon/index.js +2 -3
  135. package/v3/VwcIcon/package.json +2 -2
  136. package/v3/VwcLayout/package.json +2 -2
  137. package/v3/VwcListbox/package.json +2 -2
  138. package/v3/VwcMenu/index.d.ts +7 -2
  139. package/v3/VwcMenu/index.js +41 -35
  140. package/v3/VwcMenu/package.json +2 -2
  141. package/v3/VwcMenuItem/index.d.ts +1 -0
  142. package/v3/VwcMenuItem/index.js +17 -1
  143. package/v3/VwcMenuItem/package.json +2 -2
  144. package/v3/VwcNav/package.json +2 -2
  145. package/v3/VwcNavDisclosure/index.d.ts +4 -0
  146. package/v3/VwcNavDisclosure/index.js +90 -1
  147. package/v3/VwcNavDisclosure/package.json +2 -2
  148. package/v3/VwcNavItem/index.js +52 -0
  149. package/v3/VwcNavItem/package.json +2 -2
  150. package/v3/VwcNote/index.js +12 -0
  151. package/v3/VwcNote/package.json +2 -2
  152. package/v3/VwcNumberField/index.d.ts +25 -1
  153. package/v3/VwcNumberField/index.js +286 -23
  154. package/v3/VwcNumberField/package.json +2 -2
  155. package/v3/VwcOption/package.json +2 -2
  156. package/v3/VwcPagination/index.js +3 -0
  157. package/v3/VwcPagination/package.json +2 -2
  158. package/v3/VwcProgress/package.json +2 -2
  159. package/v3/VwcProgressRing/index.js +7 -7
  160. package/v3/VwcProgressRing/package.json +2 -2
  161. package/v3/VwcRadio/index.js +9 -0
  162. package/v3/VwcRadio/package.json +2 -2
  163. package/v3/VwcRadioGroup/index.js +9 -0
  164. package/v3/VwcRadioGroup/package.json +2 -2
  165. package/v3/VwcRangeSlider/index.d.ts +2 -1
  166. package/v3/VwcRangeSlider/index.js +24 -7
  167. package/v3/VwcRangeSlider/package.json +2 -2
  168. package/v3/VwcSelect/index.d.ts +1 -0
  169. package/v3/VwcSelect/index.js +48 -2
  170. package/v3/VwcSelect/package.json +2 -2
  171. package/v3/VwcSelectableBox/index.js +3 -0
  172. package/v3/VwcSelectableBox/package.json +2 -2
  173. package/v3/VwcSideDrawer/index.js +6 -0
  174. package/v3/VwcSideDrawer/package.json +2 -2
  175. package/v3/VwcSlider/index.d.ts +4 -1
  176. package/v3/VwcSlider/index.js +21 -3
  177. package/v3/VwcSlider/package.json +2 -2
  178. package/v3/VwcSplitButton/index.js +38 -0
  179. package/v3/VwcSplitButton/package.json +2 -2
  180. package/v3/VwcSwitch/index.d.ts +1 -1
  181. package/v3/VwcSwitch/index.js +10 -1
  182. package/v3/VwcSwitch/package.json +2 -2
  183. package/v3/VwcTab/index.d.ts +2 -2
  184. package/v3/VwcTab/index.js +10 -10
  185. package/v3/VwcTab/package.json +2 -2
  186. package/v3/VwcTabPanel/package.json +2 -2
  187. package/v3/VwcTabs/index.js +12 -3
  188. package/v3/VwcTabs/package.json +2 -2
  189. package/v3/VwcTag/index.d.ts +3 -1
  190. package/v3/VwcTag/index.js +17 -1
  191. package/v3/VwcTag/package.json +2 -2
  192. package/v3/VwcTagGroup/package.json +2 -2
  193. package/v3/VwcTextAnchor/package.json +2 -2
  194. package/v3/VwcTextArea/index.d.ts +1 -0
  195. package/v3/VwcTextArea/index.js +11 -2
  196. package/v3/VwcTextArea/package.json +2 -2
  197. package/v3/VwcTextField/index.d.ts +1 -0
  198. package/v3/VwcTextField/index.js +35 -2
  199. package/v3/VwcTextField/package.json +2 -2
  200. package/v3/VwcTimePicker/index.d.ts +1 -0
  201. package/v3/VwcTimePicker/index.js +12 -2
  202. package/v3/VwcTimePicker/package.json +2 -2
  203. package/v3/VwcToggletip/package.json +2 -2
  204. package/v3/VwcTooltip/package.json +2 -2
  205. package/v3/VwcTreeItem/index.d.ts +3 -1
  206. package/v3/VwcTreeItem/index.js +21 -1
  207. package/v3/VwcTreeItem/package.json +2 -2
  208. package/v3/VwcTreeView/package.json +2 -2
  209. package/v3/VwcVideoPlayer/index.js +9 -0
  210. package/v3/VwcVideoPlayer/package.json +2 -2
  211. package/VwcDialog/index.d.ts +0 -40
  212. package/VwcDialog/index.js +0 -135
  213. package/VwcDialog/package.json +0 -11
  214. package/VwcDrawer/index.d.ts +0 -20
  215. package/VwcDrawer/index.js +0 -80
  216. package/VwcDrawer/package.json +0 -11
  217. package/VwcSideDrawer/index.d.ts +0 -22
  218. package/VwcSideDrawer/index.js +0 -73
  219. package/VwcSideDrawer/package.json +0 -11
@@ -44,6 +44,24 @@ Code in this file were generated using following JSON:
44
44
  "description": "placement of the menu",
45
45
  "privacy": "public"
46
46
  },
47
+ {
48
+ "kind": "field",
49
+ "name": "trigger",
50
+ "type": {
51
+ "text": "'auto' | 'legacy' | 'off' | undefined"
52
+ },
53
+ "description": "Controls how the menu opens and closes itself.",
54
+ "privacy": "public"
55
+ },
56
+ {
57
+ "kind": "field",
58
+ "name": "#triggerBehaviour",
59
+ "privacy": "private",
60
+ "type": {
61
+ "text": "'auto' | 'legacy' | 'off'"
62
+ },
63
+ "readonly": true
64
+ },
47
65
  {
48
66
  "kind": "field",
49
67
  "name": "autoDismiss",
@@ -51,22 +69,9 @@ Code in this file were generated using following JSON:
51
69
  "text": "boolean"
52
70
  },
53
71
  "default": "false",
54
- "description": "indicates whether the menu will automatically close when\nthe user clicks outside the menu",
72
+ "description": "indicates whether the menu will automatically close when focus moves away from it.",
55
73
  "privacy": "public"
56
74
  },
57
- {
58
- "kind": "method",
59
- "name": "autoDismissChanged",
60
- "parameters": [
61
- {
62
- "name": "oldValue",
63
- "optional": true,
64
- "type": {
65
- "text": "boolean"
66
- }
67
- }
68
- ]
69
- },
70
75
  {
71
76
  "kind": "field",
72
77
  "name": "open",
@@ -138,29 +143,12 @@ Code in this file were generated using following JSON:
138
143
  },
139
144
  {
140
145
  "kind": "field",
141
- "name": "#openIfClosed",
142
- "privacy": "private"
143
- },
144
- {
145
- "kind": "field",
146
- "name": "#updateClickOutsideListeners",
147
- "privacy": "private"
148
- },
149
- {
150
- "kind": "field",
151
- "name": "#wasOpenBeforeClick",
152
- "privacy": "private",
153
- "default": "new WeakMap<Event, boolean>()"
154
- },
155
- {
156
- "kind": "field",
157
- "name": "#onClickOutsideCapture",
146
+ "name": "#onAnchorClick",
158
147
  "privacy": "private"
159
148
  },
160
149
  {
161
150
  "kind": "field",
162
- "name": "#onClickOutside",
163
- "privacy": "private"
151
+ "name": "_onFocusout"
164
152
  },
165
153
  {
166
154
  "kind": "field",
@@ -172,14 +160,24 @@ Code in this file were generated using following JSON:
172
160
  {
173
161
  "kind": "field",
174
162
  "name": "handleFocusOut"
163
+ },
164
+ {
165
+ "kind": "field",
166
+ "name": "domChildren"
175
167
  }
176
168
  ],
177
169
  "events": [
178
170
  {
171
+ "type": {
172
+ "text": "CustomEvent<undefined>"
173
+ },
179
174
  "description": "Fired when the menu is opened",
180
175
  "name": "open"
181
176
  },
182
177
  {
178
+ "type": {
179
+ "text": "CustomEvent<undefined>"
180
+ },
183
181
  "description": "Fired when the menu is closed",
184
182
  "name": "close"
185
183
  }
@@ -201,13 +199,21 @@ Code in this file were generated using following JSON:
201
199
  "description": "placement of the menu",
202
200
  "fieldName": "placement"
203
201
  },
202
+ {
203
+ "name": "trigger",
204
+ "type": {
205
+ "text": "'auto' | 'legacy' | 'off' | undefined"
206
+ },
207
+ "description": "Controls how the menu opens and closes itself.",
208
+ "fieldName": "trigger"
209
+ },
204
210
  {
205
211
  "name": "auto-dismiss",
206
212
  "type": {
207
213
  "text": "boolean"
208
214
  },
209
215
  "default": "false",
210
- "description": "indicates whether the menu will automatically close when\nthe user clicks outside the menu",
216
+ "description": "indicates whether the menu will automatically close when focus moves away from it.",
211
217
  "fieldName": "autoDismiss"
212
218
  },
213
219
  {
@@ -237,7 +243,7 @@ registerMenu('vvd3')
237
243
  const VwcMenu = wrapper(`vvd3-menu`, {
238
244
  events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
239
245
  attributes: [],
240
- properties: ['ariaLabel', 'placement', 'autoDismiss', 'open', 'actionItemsSlottedContent', 'handleFocusOut']
246
+ properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', 'open', '_onFocusout', 'actionItemsSlottedContent', 'handleFocusOut', 'domChildren']
241
247
  })
242
248
 
243
249
  VwcMenu.displayName = 'VwcMenu'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -17,6 +17,7 @@ declare const VwcMenuItem: {
17
17
  id?: string | undefined;
18
18
  style?: React.CSSProperties | undefined;
19
19
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
20
+ onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
20
21
  onChange?: ((event: SyntheticEvent) => void) | undefined;
21
22
  text?: string | undefined;
22
23
  textSecondary?: string | undefined;
@@ -167,6 +167,22 @@ Code in this file were generated using following JSON:
167
167
  "name": "updateSubmenu"
168
168
  }
169
169
  ],
170
+ "events": [
171
+ {
172
+ "type": {
173
+ "text": "CustomEvent<HTMLElement>"
174
+ },
175
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
176
+ "name": "expanded-change"
177
+ },
178
+ {
179
+ "type": {
180
+ "text": "CustomEvent<undefined>"
181
+ },
182
+ "description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
183
+ "name": "change"
184
+ }
185
+ ],
170
186
  "attributes": [
171
187
  {
172
188
  "name": "text",
@@ -234,7 +250,7 @@ import { registerMenuItem } from '@vonage/vivid'
234
250
  registerMenuItem('vvd3')
235
251
 
236
252
  const VwcMenuItem = wrapper(`vvd3-menu-item`, {
237
- events: [{"name":"change","propName":"onChange"}],
253
+ events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
238
254
  attributes: [],
239
255
  properties: ['text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', 'updateSubmenu', 'icon']
240
256
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu-item",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -3,6 +3,8 @@ import React, { ReactNode, SyntheticEvent } from 'react';
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/nav-disclosure
4
4
  * @param {HTMLDetailsElement} details
5
5
  * @param {string | undefined} label **attribute** `label`
6
+ * @param {NavDisclosureAppearance | undefined} appearance - The appearance nav-disclosure should have. **attribute** `appearance`
7
+ * @param {NavDisclosureConnotation | undefined} connotation - The connotation nav-disclosure should have. **attribute** `connotation`
6
8
  * @param {boolean} open - Indicates whether the nav-disclosure is open **attribute** `open`
7
9
  * @param {string | null} ariaCurrent **attribute** `aria-current`
8
10
  */
@@ -16,6 +18,8 @@ declare const VwcNavDisclosure: {
16
18
  onToggle?: ((event: SyntheticEvent) => void) | undefined;
17
19
  details?: any;
18
20
  label?: string | undefined;
21
+ appearance?: any;
22
+ connotation?: any;
19
23
  open?: boolean | undefined;
20
24
  ariaCurrent?: string | null | undefined;
21
25
  }): JSX.Element;
@@ -8,6 +8,42 @@ Code in this file were generated using following JSON:
8
8
  "description": "",
9
9
  "name": "NavDisclosure",
10
10
  "cssProperties": [
11
+ {
12
+ "name": "--vvd-nav-disclosure-cta-primary",
13
+ "default": "var(--vvd-color-cta-500)"
14
+ },
15
+ {
16
+ "name": "--vvd-nav-disclosure-cta-primary-text",
17
+ "default": "var(--vvd-color-canvas)"
18
+ },
19
+ {
20
+ "name": "--vvd-nav-disclosure-cta-primary-increment",
21
+ "default": "var(--vvd-color-cta-600)"
22
+ },
23
+ {
24
+ "name": "--vvd-nav-disclosure-cta-contrast",
25
+ "default": "var(--vvd-color-cta-800)"
26
+ },
27
+ {
28
+ "name": "--vvd-nav-disclosure-cta-fierce",
29
+ "default": "var(--vvd-color-cta-700)"
30
+ },
31
+ {
32
+ "name": "--vvd-nav-disclosure-cta-fierce-primary",
33
+ "default": "var(--vvd-color-cta-700)"
34
+ },
35
+ {
36
+ "name": "--vvd-nav-disclosure-cta-faint",
37
+ "default": "var(--vvd-color-cta-50)"
38
+ },
39
+ {
40
+ "name": "--vvd-nav-disclosure-cta-firm",
41
+ "default": "var(--vvd-color-cta-600)"
42
+ },
43
+ {
44
+ "name": "--vvd-nav-disclosure-cta-soft",
45
+ "default": "var(--vvd-color-cta-100)"
46
+ },
11
47
  {
12
48
  "name": "--vvd-nav-disclosure-accent-primary",
13
49
  "default": "var(--vvd-color-canvas-text)"
@@ -20,10 +56,26 @@ Code in this file were generated using following JSON:
20
56
  "name": "--vvd-nav-disclosure-accent-primary-increment",
21
57
  "default": "var(--vvd-color-neutral-800)"
22
58
  },
59
+ {
60
+ "name": "--vvd-nav-disclosure-accent-contrast",
61
+ "default": "var(--vvd-color-neutral-800)"
62
+ },
63
+ {
64
+ "name": "--vvd-nav-disclosure-accent-fierce",
65
+ "default": "var(--vvd-color-neutral-700)"
66
+ },
67
+ {
68
+ "name": "--vvd-nav-disclosure-accent-fierce-primary",
69
+ "default": "var(--vvd-color-canvas-text)"
70
+ },
23
71
  {
24
72
  "name": "--vvd-nav-disclosure-accent-faint",
25
73
  "default": "var(--vvd-color-neutral-50)"
26
74
  },
75
+ {
76
+ "name": "--vvd-nav-disclosure-accent-firm",
77
+ "default": "var(--vvd-color-canvas-text)"
78
+ },
27
79
  {
28
80
  "name": "--vvd-nav-disclosure-accent-soft",
29
81
  "default": "var(--vvd-color-neutral-100)"
@@ -60,6 +112,24 @@ Code in this file were generated using following JSON:
60
112
  "privacy": "public",
61
113
  "description": ""
62
114
  },
115
+ {
116
+ "kind": "field",
117
+ "name": "appearance",
118
+ "type": {
119
+ "text": "NavDisclosureAppearance | undefined"
120
+ },
121
+ "description": "The appearance nav-disclosure should have.",
122
+ "privacy": "public"
123
+ },
124
+ {
125
+ "kind": "field",
126
+ "name": "connotation",
127
+ "type": {
128
+ "text": "NavDisclosureConnotation | undefined"
129
+ },
130
+ "description": "The connotation nav-disclosure should have.",
131
+ "privacy": "public"
132
+ },
63
133
  {
64
134
  "kind": "field",
65
135
  "name": "open",
@@ -86,6 +156,9 @@ Code in this file were generated using following JSON:
86
156
  ],
87
157
  "events": [
88
158
  {
159
+ "type": {
160
+ "text": "CustomEvent<undefined>"
161
+ },
89
162
  "description": "Event emitted when the nav disclosure is toggled.",
90
163
  "name": "toggle"
91
164
  }
@@ -98,6 +171,22 @@ Code in this file were generated using following JSON:
98
171
  },
99
172
  "fieldName": "label"
100
173
  },
174
+ {
175
+ "name": "appearance",
176
+ "type": {
177
+ "text": "NavDisclosureAppearance | undefined"
178
+ },
179
+ "description": "The appearance nav-disclosure should have.",
180
+ "fieldName": "appearance"
181
+ },
182
+ {
183
+ "name": "connotation",
184
+ "type": {
185
+ "text": "NavDisclosureConnotation | undefined"
186
+ },
187
+ "description": "The connotation nav-disclosure should have.",
188
+ "fieldName": "connotation"
189
+ },
101
190
  {
102
191
  "type": {
103
192
  "text": "boolean"
@@ -133,7 +222,7 @@ registerNavDisclosure('vvd3')
133
222
  const VwcNavDisclosure = wrapper(`vvd3-nav-disclosure`, {
134
223
  events: [{"name":"toggle","propName":"onToggle"}],
135
224
  attributes: [],
136
- properties: ['details', 'label', 'open', 'ariaCurrent']
225
+ properties: ['details', 'label', 'appearance', 'connotation', 'open', 'ariaCurrent']
137
226
  })
138
227
 
139
228
  VwcNavDisclosure.displayName = 'VwcNavDisclosure'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-disclosure",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -8,6 +8,42 @@ Code in this file were generated using following JSON:
8
8
  "description": "A Nav Item Custom HTML Element.\nBased largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .",
9
9
  "name": "NavItem",
10
10
  "cssProperties": [
11
+ {
12
+ "name": "--vvd-nav-item-cta-primary",
13
+ "default": "var(--vvd-color-cta-500)"
14
+ },
15
+ {
16
+ "name": "--vvd-nav-item-cta-primary-text",
17
+ "default": "var(--vvd-color-canvas)"
18
+ },
19
+ {
20
+ "name": "--vvd-nav-item-cta-primary-increment",
21
+ "default": "var(--vvd-color-cta-600)"
22
+ },
23
+ {
24
+ "name": "--vvd-nav-item-cta-contrast",
25
+ "default": "var(--vvd-color-cta-800)"
26
+ },
27
+ {
28
+ "name": "--vvd-nav-item-cta-fierce",
29
+ "default": "var(--vvd-color-cta-700)"
30
+ },
31
+ {
32
+ "name": "--vvd-nav-item-cta-fierce-primary",
33
+ "default": "var(--vvd-color-cta-700)"
34
+ },
35
+ {
36
+ "name": "--vvd-nav-item-cta-faint",
37
+ "default": "var(--vvd-color-cta-50)"
38
+ },
39
+ {
40
+ "name": "--vvd-nav-item-cta-firm",
41
+ "default": "var(--vvd-color-cta-600)"
42
+ },
43
+ {
44
+ "name": "--vvd-nav-item-cta-soft",
45
+ "default": "var(--vvd-color-cta-100)"
46
+ },
11
47
  {
12
48
  "name": "--vvd-nav-item-accent-primary",
13
49
  "default": "var(--vvd-color-canvas-text)"
@@ -20,10 +56,26 @@ Code in this file were generated using following JSON:
20
56
  "name": "--vvd-nav-item-accent-primary-increment",
21
57
  "default": "var(--vvd-color-neutral-800)"
22
58
  },
59
+ {
60
+ "name": "--vvd-nav-item-accent-contrast",
61
+ "default": "var(--vvd-color-neutral-800)"
62
+ },
63
+ {
64
+ "name": "--vvd-nav-item-accent-fierce",
65
+ "default": "var(--vvd-color-neutral-700)"
66
+ },
67
+ {
68
+ "name": "--vvd-nav-item-accent-fierce-primary",
69
+ "default": "var(--vvd-color-canvas-text)"
70
+ },
23
71
  {
24
72
  "name": "--vvd-nav-item-accent-faint",
25
73
  "default": "var(--vvd-color-neutral-50)"
26
74
  },
75
+ {
76
+ "name": "--vvd-nav-item-accent-firm",
77
+ "default": "var(--vvd-color-canvas-text)"
78
+ },
27
79
  {
28
80
  "name": "--vvd-nav-item-accent-soft",
29
81
  "default": "var(--vvd-color-neutral-100)"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-item",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -56,6 +56,18 @@ Code in this file were generated using following JSON:
56
56
  "name": "--vvd-note-warning-fierce",
57
57
  "default": "var(--vvd-color-warning-700)"
58
58
  },
59
+ {
60
+ "name": "--vvd-note-announcement-intermediate",
61
+ "default": "var(--vvd-color-announcement-500)"
62
+ },
63
+ {
64
+ "name": "--vvd-note-announcement-faint",
65
+ "default": "var(--vvd-color-announcement-50)"
66
+ },
67
+ {
68
+ "name": "--vvd-note-announcement-fierce",
69
+ "default": "var(--vvd-color-announcement-700)"
70
+ },
59
71
  {
60
72
  "name": "--vvd-note-accent-intermediate",
61
73
  "default": "var(--vvd-color-neutral-500)"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-note",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
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": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,6 +1,17 @@
1
1
  import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcNumberField
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/number-field
4
+ * @param {boolean} readOnly - When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information. **attribute** `readonly`
5
+ * @param {boolean} autofocus - Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information. **attribute** `autofocus`
6
+ * @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
7
+ * @param {string} list - Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id. **attribute** `list`
8
+ * @param {number} maxlength - The maximum number of characters a user can enter. **attribute** `maxlength`
9
+ * @param {number} minlength - The minimum number of characters a user can enter. **attribute** `minlength`
10
+ * @param {number} size - Sets the width of the element to a specified number of characters. **attribute** `size`
11
+ * @param {number} step - Amount to increment or decrement the value by **attribute** `step`
12
+ * @param {number} max - The maximum the value can be **attribute** `max`
13
+ * @param {number} min - The minimum the value can be **attribute** `min`
14
+ * @param {number} valueAsNumber - The value property, typed as a number.
4
15
  * @param {| string
5
16
  | null} incrementButtonAriaLabel **attribute** `increment-button-aria-label`
6
17
  * @param {| string
@@ -8,6 +19,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
8
19
  * @param {NumberFieldAppearance | undefined} appearance **attribute** `appearance`
9
20
  * @param {NumberFieldShape | undefined} shape **attribute** `shape`
10
21
  * @param {string | undefined} autoComplete **attribute** `autoComplete`
22
+ * @param proxy
11
23
  */
12
24
  declare const VwcNumberField: {
13
25
  (props: {
@@ -16,13 +28,25 @@ declare const VwcNumberField: {
16
28
  id?: string | undefined;
17
29
  style?: React.CSSProperties | undefined;
18
30
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
19
- onChange?: ((event: SyntheticEvent) => void) | undefined;
20
31
  onInput?: ((event: SyntheticEvent) => void) | undefined;
32
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
33
+ readOnly?: boolean | undefined;
34
+ autofocus?: boolean | undefined;
35
+ placeholder?: string | undefined;
36
+ list?: string | undefined;
37
+ maxlength?: number | undefined;
38
+ minlength?: number | undefined;
39
+ size?: number | undefined;
40
+ step?: number | undefined;
41
+ max?: number | undefined;
42
+ min?: number | undefined;
43
+ valueAsNumber?: number | undefined;
21
44
  incrementButtonAriaLabel?: any;
22
45
  decrementButtonAriaLabel?: any;
23
46
  appearance?: any;
24
47
  shape?: any;
25
48
  autoComplete?: string | undefined;
49
+ proxy?: any;
26
50
  }): JSX.Element;
27
51
  displayName: string;
28
52
  };