@vonage/vivid-react 2.10.98 → 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 (208) 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 +5 -38
  62. package/package.json +2 -2
  63. package/types/index.d.ts +43 -3
  64. package/v3/VwcAccordion/index.js +9 -0
  65. package/v3/VwcAccordion/package.json +2 -2
  66. package/v3/VwcAccordionItem/index.d.ts +2 -1
  67. package/v3/VwcAccordionItem/index.js +14 -5
  68. package/v3/VwcAccordionItem/package.json +2 -2
  69. package/v3/VwcActionGroup/package.json +2 -2
  70. package/v3/VwcAlert/index.js +14 -0
  71. package/v3/VwcAlert/package.json +2 -2
  72. package/v3/VwcAppearanceUi/index.js +28 -0
  73. package/v3/VwcAppearanceUi/package.json +2 -2
  74. package/v3/VwcAudioPlayer/index.d.ts +18 -0
  75. package/v3/VwcAudioPlayer/index.js +167 -1
  76. package/v3/VwcAudioPlayer/package.json +2 -2
  77. package/v3/VwcAvatar/package.json +2 -2
  78. package/v3/VwcBadge/index.js +32 -0
  79. package/v3/VwcBadge/package.json +2 -2
  80. package/v3/VwcBanner/index.d.ts +2 -2
  81. package/v3/VwcBanner/index.js +2 -2
  82. package/v3/VwcBanner/package.json +2 -2
  83. package/v3/VwcBreadcrumb/package.json +2 -2
  84. package/v3/VwcBreadcrumbItem/package.json +2 -2
  85. package/v3/VwcButton/index.js +52 -0
  86. package/v3/VwcButton/package.json +2 -2
  87. package/v3/VwcCalendar/package.json +2 -2
  88. package/v3/VwcCalendarEvent/package.json +2 -2
  89. package/v3/VwcCard/package.json +2 -2
  90. package/v3/VwcCheckbox/index.d.ts +1 -1
  91. package/v3/VwcCheckbox/index.js +12 -2
  92. package/v3/VwcCheckbox/package.json +2 -2
  93. package/v3/VwcCombobox/index.d.ts +4 -0
  94. package/v3/VwcCombobox/index.js +47 -16
  95. package/v3/VwcCombobox/package.json +2 -2
  96. package/v3/VwcDataGrid/index.js +3 -0
  97. package/v3/VwcDataGrid/package.json +2 -2
  98. package/v3/VwcDataGridCell/index.d.ts +1 -0
  99. package/v3/VwcDataGridCell/index.js +14 -1
  100. package/v3/VwcDataGridCell/package.json +2 -2
  101. package/v3/VwcDataGridRow/index.d.ts +1 -0
  102. package/v3/VwcDataGridRow/index.js +11 -1
  103. package/v3/VwcDataGridRow/package.json +2 -2
  104. package/v3/VwcDatePicker/index.d.ts +2 -2
  105. package/v3/VwcDatePicker/index.js +27 -10
  106. package/v3/VwcDatePicker/package.json +2 -2
  107. package/v3/VwcDatePickerBase/index.js +4 -1
  108. package/v3/VwcDatePickerBase/package.json +2 -2
  109. package/v3/VwcDateRangePicker/index.d.ts +2 -1
  110. package/v3/VwcDateRangePicker/index.js +27 -4
  111. package/v3/VwcDateRangePicker/package.json +2 -2
  112. package/v3/VwcDialPad/index.d.ts +27 -0
  113. package/v3/VwcDialPad/index.js +97 -3
  114. package/v3/VwcDialPad/package.json +2 -2
  115. package/v3/VwcDialog/index.js +4 -1
  116. package/v3/VwcDialog/package.json +2 -2
  117. package/v3/VwcDivider/package.json +2 -2
  118. package/v3/VwcElevation/package.json +2 -2
  119. package/v3/VwcEmptyState/package.json +2 -2
  120. package/v3/VwcFab/index.js +24 -0
  121. package/v3/VwcFab/package.json +2 -2
  122. package/v3/VwcFilePicker/index.js +15 -0
  123. package/v3/VwcFilePicker/package.json +2 -2
  124. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  125. package/v3/VwcFormAssociatedNumberField/index.d.ts +17 -0
  126. package/v3/VwcFormAssociatedNumberField/index.js +41 -0
  127. package/v3/VwcFormAssociatedNumberField/package.json +11 -0
  128. package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
  129. package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
  130. package/v3/VwcHeader/package.json +2 -2
  131. package/v3/VwcIcon/index.d.ts +12 -1
  132. package/v3/VwcIcon/index.js +2 -3
  133. package/v3/VwcIcon/package.json +2 -2
  134. package/v3/VwcLayout/package.json +2 -2
  135. package/v3/VwcListbox/package.json +2 -2
  136. package/v3/VwcMenu/index.d.ts +7 -2
  137. package/v3/VwcMenu/index.js +41 -35
  138. package/v3/VwcMenu/package.json +2 -2
  139. package/v3/VwcMenuItem/index.d.ts +1 -0
  140. package/v3/VwcMenuItem/index.js +17 -1
  141. package/v3/VwcMenuItem/package.json +2 -2
  142. package/v3/VwcNav/package.json +2 -2
  143. package/v3/VwcNavDisclosure/index.d.ts +4 -0
  144. package/v3/VwcNavDisclosure/index.js +90 -1
  145. package/v3/VwcNavDisclosure/package.json +2 -2
  146. package/v3/VwcNavItem/index.js +52 -0
  147. package/v3/VwcNavItem/package.json +2 -2
  148. package/v3/VwcNote/index.js +12 -0
  149. package/v3/VwcNote/package.json +2 -2
  150. package/v3/VwcNumberField/index.d.ts +25 -1
  151. package/v3/VwcNumberField/index.js +286 -23
  152. package/v3/VwcNumberField/package.json +2 -2
  153. package/v3/VwcOption/package.json +2 -2
  154. package/v3/VwcPagination/index.js +3 -0
  155. package/v3/VwcPagination/package.json +2 -2
  156. package/v3/VwcProgress/package.json +2 -2
  157. package/v3/VwcProgressRing/index.js +7 -7
  158. package/v3/VwcProgressRing/package.json +2 -2
  159. package/v3/VwcRadio/index.js +9 -0
  160. package/v3/VwcRadio/package.json +2 -2
  161. package/v3/VwcRadioGroup/index.js +9 -0
  162. package/v3/VwcRadioGroup/package.json +2 -2
  163. package/v3/VwcRangeSlider/index.d.ts +2 -1
  164. package/v3/VwcRangeSlider/index.js +24 -7
  165. package/v3/VwcRangeSlider/package.json +2 -2
  166. package/v3/VwcSelect/index.d.ts +1 -0
  167. package/v3/VwcSelect/index.js +48 -2
  168. package/v3/VwcSelect/package.json +2 -2
  169. package/v3/VwcSelectableBox/index.js +3 -0
  170. package/v3/VwcSelectableBox/package.json +2 -2
  171. package/v3/VwcSideDrawer/index.js +6 -0
  172. package/v3/VwcSideDrawer/package.json +2 -2
  173. package/v3/VwcSlider/index.d.ts +4 -1
  174. package/v3/VwcSlider/index.js +21 -3
  175. package/v3/VwcSlider/package.json +2 -2
  176. package/v3/VwcSplitButton/index.js +38 -0
  177. package/v3/VwcSplitButton/package.json +2 -2
  178. package/v3/VwcSwitch/index.d.ts +1 -1
  179. package/v3/VwcSwitch/index.js +10 -1
  180. package/v3/VwcSwitch/package.json +2 -2
  181. package/v3/VwcTab/index.d.ts +2 -2
  182. package/v3/VwcTab/index.js +10 -10
  183. package/v3/VwcTab/package.json +2 -2
  184. package/v3/VwcTabPanel/package.json +2 -2
  185. package/v3/VwcTabs/index.js +12 -3
  186. package/v3/VwcTabs/package.json +2 -2
  187. package/v3/VwcTag/index.d.ts +3 -1
  188. package/v3/VwcTag/index.js +17 -1
  189. package/v3/VwcTag/package.json +2 -2
  190. package/v3/VwcTagGroup/package.json +2 -2
  191. package/v3/VwcTextAnchor/package.json +2 -2
  192. package/v3/VwcTextArea/index.d.ts +1 -0
  193. package/v3/VwcTextArea/index.js +11 -2
  194. package/v3/VwcTextArea/package.json +2 -2
  195. package/v3/VwcTextField/index.d.ts +1 -0
  196. package/v3/VwcTextField/index.js +35 -2
  197. package/v3/VwcTextField/package.json +2 -2
  198. package/v3/VwcTimePicker/index.d.ts +1 -0
  199. package/v3/VwcTimePicker/index.js +12 -2
  200. package/v3/VwcTimePicker/package.json +2 -2
  201. package/v3/VwcToggletip/package.json +2 -2
  202. package/v3/VwcTooltip/package.json +2 -2
  203. package/v3/VwcTreeItem/index.d.ts +3 -1
  204. package/v3/VwcTreeItem/index.js +21 -1
  205. package/v3/VwcTreeItem/package.json +2 -2
  206. package/v3/VwcTreeView/package.json +2 -2
  207. package/v3/VwcVideoPlayer/index.js +9 -0
  208. package/v3/VwcVideoPlayer/package.json +2 -2
@@ -18,6 +18,7 @@ declare const VwcTextField: {
18
18
  id?: string | undefined;
19
19
  style?: React.CSSProperties | undefined;
20
20
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
21
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
21
22
  onInput?: ((event: SyntheticEvent) => void) | undefined;
22
23
  appearance?: any;
23
24
  shape?: any;
@@ -104,9 +104,42 @@ Code in this file were generated using following JSON:
104
104
  "text": "Reflector<this, HTMLInputElement> | undefined"
105
105
  }
106
106
  },
107
+ {
108
+ "kind": "field",
109
+ "name": "#helperTextMirrorEl",
110
+ "privacy": "private",
111
+ "type": {
112
+ "text": "HTMLElement | undefined"
113
+ }
114
+ },
115
+ {
116
+ "kind": "field",
117
+ "name": "#helperTextSlotMutationObserver",
118
+ "privacy": "private",
119
+ "type": {
120
+ "text": "MutationObserver | undefined"
121
+ }
122
+ },
107
123
  {
108
124
  "kind": "method",
109
125
  "name": "focus"
126
+ },
127
+ {
128
+ "kind": "method",
129
+ "name": "#updateHelperTextMutationObserver"
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "#updateMirroredHelperText"
134
+ }
135
+ ],
136
+ "events": [
137
+ {
138
+ "type": {
139
+ "text": "CustomEvent<undefined>"
140
+ },
141
+ "description": "Fires a custom 'change' event when the value has changed",
142
+ "name": "change"
110
143
  }
111
144
  ],
112
145
  "attributes": [
@@ -142,7 +175,7 @@ Code in this file were generated using following JSON:
142
175
  "vueModels": [
143
176
  {
144
177
  "name": "modelValue",
145
- "attributeName": "current-value",
178
+ "attributeName": "value",
146
179
  "eventName": "input",
147
180
  "valueMapping": "(event.target as HTMLInputElement).value"
148
181
  }
@@ -156,7 +189,7 @@ import { registerTextField } from '@vonage/vivid'
156
189
  registerTextField('vvd3')
157
190
 
158
191
  const VwcTextField = wrapper(`vvd3-text-field`, {
159
- events: [{"name":"input","propName":"onInput"}],
192
+ events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
160
193
  attributes: [],
161
194
  properties: ['appearance', 'shape', 'autoComplete', 'leadingActionItemsSlottedContent', 'icon', 'value', 'placeholder', 'label', 'onInput']
162
195
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-field",
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
  }
@@ -19,6 +19,7 @@ declare const VwcTimePicker: {
19
19
  id?: string | undefined;
20
20
  style?: React.CSSProperties | undefined;
21
21
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
22
+ onInput?: ((event: SyntheticEvent) => void) | undefined;
22
23
  onChange?: ((event: SyntheticEvent) => void) | undefined;
23
24
  readOnly?: boolean | undefined;
24
25
  minutesStep?: number | undefined;
@@ -194,6 +194,16 @@ Code in this file were generated using following JSON:
194
194
  ],
195
195
  "events": [
196
196
  {
197
+ "type": {
198
+ "text": "CustomEvent<undefined>"
199
+ },
200
+ "description": "Emitted when the time is changed by the user.",
201
+ "name": "input"
202
+ },
203
+ {
204
+ "type": {
205
+ "text": "CustomEvent<undefined>"
206
+ },
197
207
  "description": "Emitted when the time is changed by the user.",
198
208
  "name": "change"
199
209
  }
@@ -261,7 +271,7 @@ Code in this file were generated using following JSON:
261
271
  "vueModels": [
262
272
  {
263
273
  "name": "modelValue",
264
- "attributeName": "current-value",
274
+ "attributeName": "value",
265
275
  "eventName": "input",
266
276
  "valueMapping": "(event.target as HTMLInputElement).value"
267
277
  }
@@ -275,7 +285,7 @@ import { registerTimePicker } from '@vonage/vivid'
275
285
  registerTimePicker('vvd3')
276
286
 
277
287
  const VwcTimePicker = wrapper(`vvd3-time-picker`, {
278
- events: [{"name":"change","propName":"onChange"}],
288
+ events: [{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"}],
279
289
  attributes: [],
280
290
  properties: ['readOnly', 'minutesStep', 'secondsStep', 'clock', 'min', 'max', 'value', 'type', 'step', 'proxy']
281
291
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-time-picker",
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-toggletip",
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-tooltip",
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,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcTreeItem
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/tree-item
4
4
  * @param {string | undefined} text - Indicates the text's text. **attribute** `text`
@@ -10,6 +10,8 @@ declare const VwcTreeItem: {
10
10
  id?: string | undefined;
11
11
  style?: React.CSSProperties | undefined;
12
12
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
13
+ onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
14
+ onSelectedChange?: ((event: SyntheticEvent) => void) | undefined;
13
15
  text?: string | undefined;
14
16
  }): JSX.Element;
15
17
  displayName: string;
@@ -27,6 +27,10 @@ Code in this file were generated using following JSON:
27
27
  {
28
28
  "name": "--vvd-tree-item-accent-soft",
29
29
  "default": "var(--vvd-color-neutral-100)"
30
+ },
31
+ {
32
+ "name": "--vvd-tree-item-accent-firm",
33
+ "default": "var(--vvd-color-canvas-text)"
30
34
  }
31
35
  ],
32
36
  "slots": [
@@ -50,6 +54,22 @@ Code in this file were generated using following JSON:
50
54
  "privacy": "public"
51
55
  }
52
56
  ],
57
+ "events": [
58
+ {
59
+ "type": {
60
+ "text": "CustomEvent<HTMLElement>"
61
+ },
62
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
63
+ "name": "expanded-change"
64
+ },
65
+ {
66
+ "type": {
67
+ "text": "CustomEvent<HTMLElement>"
68
+ },
69
+ "description": "Fires a custom 'selected-change' event when the selected state changes",
70
+ "name": "selected-change"
71
+ }
72
+ ],
53
73
  "attributes": [
54
74
  {
55
75
  "name": "text",
@@ -76,7 +96,7 @@ import { registerTreeItem } from '@vonage/vivid'
76
96
  registerTreeItem('vvd3')
77
97
 
78
98
  const VwcTreeItem = wrapper(`vvd3-tree-item`, {
79
- events: [],
99
+ events: [{"name":"selected-change","propName":"onSelectedChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
80
100
  attributes: [],
81
101
  properties: ['text']
82
102
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tree-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-tree-view",
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
  }
@@ -120,14 +120,23 @@ Code in this file were generated using following JSON:
120
120
  ],
121
121
  "events": [
122
122
  {
123
+ "type": {
124
+ "text": "CustomEvent<undefined>"
125
+ },
123
126
  "description": "Fired when the video is played",
124
127
  "name": "play"
125
128
  },
126
129
  {
130
+ "type": {
131
+ "text": "CustomEvent<undefined>"
132
+ },
127
133
  "description": "Fired when the video is paused",
128
134
  "name": "pause"
129
135
  },
130
136
  {
137
+ "type": {
138
+ "text": "CustomEvent<undefined>"
139
+ },
131
140
  "description": "Fired when the video is ended",
132
141
  "name": "ended"
133
142
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-video-player",
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
  }