@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
@@ -7,20 +7,6 @@ Code in this file were generated using following JSON:
7
7
  "kind": "class",
8
8
  "description": "",
9
9
  "name": "Combobox",
10
- "cssProperties": [
11
- {
12
- "name": "--vvd-combobox-accent-intermediate",
13
- "default": "var(--vvd-color-neutral-500)"
14
- },
15
- {
16
- "name": "--vvd-combobox-accent-primary",
17
- "default": "var(--vvd-color-canvas-text)"
18
- },
19
- {
20
- "name": "--vvd-combobox-accent-soft",
21
- "default": "var(--vvd-color-neutral-100)"
22
- }
23
- ],
24
10
  "slots": [
25
11
  {
26
12
  "description": "Default slot.",
@@ -28,6 +14,15 @@ Code in this file were generated using following JSON:
28
14
  }
29
15
  ],
30
16
  "members": [
17
+ {
18
+ "kind": "field",
19
+ "name": "appearance",
20
+ "type": {
21
+ "text": "ComboboxAppearance | undefined"
22
+ },
23
+ "description": "The appearance attribute.",
24
+ "privacy": "public"
25
+ },
31
26
  {
32
27
  "kind": "field",
33
28
  "name": "placement",
@@ -36,6 +31,16 @@ Code in this file were generated using following JSON:
36
31
  },
37
32
  "description": "the placement of the combobox\n\nHTML Attribute: string"
38
33
  },
34
+ {
35
+ "kind": "field",
36
+ "name": "fixedDropdown",
37
+ "type": {
38
+ "text": "boolean"
39
+ },
40
+ "default": "false",
41
+ "description": "Whether the dropdown is using a fixed positioning strategy.",
42
+ "privacy": "public"
43
+ },
39
44
  {
40
45
  "kind": "field",
41
46
  "name": "_popup",
@@ -51,7 +56,24 @@ Code in this file were generated using following JSON:
51
56
  }
52
57
  }
53
58
  ],
59
+ "events": [
60
+ {
61
+ "type": {
62
+ "text": "CustomEvent<undefined>"
63
+ },
64
+ "description": "Fires a custom 'change' event when the value updates",
65
+ "name": "change"
66
+ }
67
+ ],
54
68
  "attributes": [
69
+ {
70
+ "name": "appearance",
71
+ "type": {
72
+ "text": "ComboboxAppearance | undefined"
73
+ },
74
+ "description": "The appearance attribute.",
75
+ "fieldName": "appearance"
76
+ },
55
77
  {
56
78
  "name": "placement",
57
79
  "type": {
@@ -59,6 +81,15 @@ Code in this file were generated using following JSON:
59
81
  },
60
82
  "description": "the placement of the combobox\n\nHTML Attribute: string",
61
83
  "fieldName": "placement"
84
+ },
85
+ {
86
+ "name": "fixed-dropdown",
87
+ "type": {
88
+ "text": "boolean"
89
+ },
90
+ "default": "false",
91
+ "description": "Whether the dropdown is using a fixed positioning strategy.",
92
+ "fieldName": "fixedDropdown"
62
93
  }
63
94
  ],
64
95
  "superclass": {
@@ -71,7 +102,7 @@ Code in this file were generated using following JSON:
71
102
  "vueModels": [
72
103
  {
73
104
  "name": "modelValue",
74
- "attributeName": "current-value",
105
+ "attributeName": "value",
75
106
  "eventName": "change",
76
107
  "valueMapping": "(event.target as HTMLInputElement).value"
77
108
  }
@@ -87,7 +118,7 @@ registerCombobox('vvd3')
87
118
  const VwcCombobox = wrapper(`vvd3-combobox`, {
88
119
  events: [{"name":"change","propName":"onChange"}],
89
120
  attributes: [],
90
- properties: ['placement', '_popup', '_anchor']
121
+ properties: ['appearance', 'placement', 'fixedDropdown', '_popup', '_anchor']
91
122
  })
92
123
 
93
124
  VwcCombobox.displayName = 'VwcCombobox'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-combobox",
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
  }
@@ -117,6 +117,9 @@ Code in this file were generated using following JSON:
117
117
  ],
118
118
  "events": [
119
119
  {
120
+ "type": {
121
+ "text": "CustomEvent<{cell: HTMLElement, row: HTMLElement, isHeaderCell: boolean, columnDataKey: string}>"
122
+ },
120
123
  "description": "Event that fires when a cell is clicked",
121
124
  "name": "cell-click"
122
125
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid",
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
  }
@@ -14,6 +14,7 @@ declare const VwcDataGridCell: {
14
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
15
  onSort?: ((event: SyntheticEvent) => void) | undefined;
16
16
  onCellClick?: ((event: SyntheticEvent) => void) | undefined;
17
+ onCellFocused?: ((event: SyntheticEvent) => void) | undefined;
17
18
  ariaSelected?: string | null | undefined;
18
19
  ariaSort?: string | null | undefined;
19
20
  updateCellStyle?: any;
@@ -153,12 +153,25 @@ Code in this file were generated using following JSON:
153
153
  ],
154
154
  "events": [
155
155
  {
156
+ "type": {
157
+ "text": "CustomEvent<{columnDataKey: string, ariaSort: string | null}>"
158
+ },
156
159
  "description": "Event that fires when a sortable column header is clicked",
157
160
  "name": "sort"
158
161
  },
159
162
  {
163
+ "type": {
164
+ "text": "CustomEvent<{cell: HTMLElement, row: HTMLElement, isHeaderCell: boolean, columnDataKey: string}>"
165
+ },
160
166
  "description": "Event that fires when a cell is clicked",
161
167
  "name": "cell-click"
168
+ },
169
+ {
170
+ "type": {
171
+ "text": "CustomEvent<HTMLElement>"
172
+ },
173
+ "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents",
174
+ "name": "cell-focused"
162
175
  }
163
176
  ],
164
177
  "attributes": [
@@ -197,7 +210,7 @@ import { registerDataGridCell } from '@vonage/vivid'
197
210
  registerDataGridCell('vvd3')
198
211
 
199
212
  const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
200
- events: [{"name":"cell-click","propName":"onCellClick"},{"name":"sort","propName":"onSort"}],
213
+ events: [{"name":"cell-focused","propName":"onCellFocused"},{"name":"cell-click","propName":"onCellClick"},{"name":"sort","propName":"onSort"}],
201
214
  attributes: [],
202
215
  properties: ['ariaSelected', 'ariaSort', 'updateCellStyle']
203
216
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-cell",
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
  }
@@ -11,6 +11,7 @@ declare const VwcDataGridRow: {
11
11
  style?: React.CSSProperties | undefined;
12
12
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
13
13
  onCellClick?: ((event: SyntheticEvent) => void) | undefined;
14
+ onRowFocused?: ((event: SyntheticEvent) => void) | undefined;
14
15
  ariaSelected?: string | null | undefined;
15
16
  }): JSX.Element;
16
17
  displayName: string;
@@ -93,8 +93,18 @@ Code in this file were generated using following JSON:
93
93
  ],
94
94
  "events": [
95
95
  {
96
+ "type": {
97
+ "text": "CustomEvent<{cell: HTMLElement, row: HTMLElement, isHeaderCell: boolean, columnDataKey: string}>"
98
+ },
96
99
  "description": "Event that fires when a cell is clicked",
97
100
  "name": "cell-click"
101
+ },
102
+ {
103
+ "type": {
104
+ "text": "CustomEvent<HTMLElement>"
105
+ },
106
+ "description": "Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row",
107
+ "name": "row-focused"
98
108
  }
99
109
  ],
100
110
  "attributes": [
@@ -124,7 +134,7 @@ import { registerDataGridRow } from '@vonage/vivid'
124
134
  registerDataGridRow('vvd3')
125
135
 
126
136
  const VwcDataGridRow = wrapper(`vvd3-data-grid-row`, {
127
- events: [{"name":"cell-click","propName":"onCellClick"}],
137
+ events: [{"name":"row-focused","propName":"onRowFocused"},{"name":"cell-click","propName":"onCellClick"}],
128
138
  attributes: [],
129
139
  properties: ['ariaSelected']
130
140
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-row",
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
  }
@@ -18,9 +18,9 @@ declare const VwcDatePicker: {
18
18
  id?: string | undefined;
19
19
  style?: React.CSSProperties | undefined;
20
20
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
21
- onClearClick?: ((event: SyntheticEvent) => void) | undefined;
22
- onChange?: ((event: SyntheticEvent) => void) | undefined;
23
21
  onInput?: ((event: SyntheticEvent) => void) | undefined;
22
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
23
+ onClearClick?: ((event: SyntheticEvent) => void) | undefined;
24
24
  type?: string | undefined;
25
25
  label?: string | undefined;
26
26
  min?: string | undefined;
@@ -238,6 +238,33 @@ Code in this file were generated using following JSON:
238
238
  }
239
239
  }
240
240
  ],
241
+ "events": [
242
+ {
243
+ "type": {
244
+ "text": "CustomEvent<undefined>"
245
+ },
246
+ "description": "Emitted when the date is changed by the user.",
247
+ "name": "input"
248
+ },
249
+ {
250
+ "type": {
251
+ "text": "CustomEvent<undefined>"
252
+ },
253
+ "description": "Emitted when the date is changed by the user.",
254
+ "name": "change"
255
+ },
256
+ {
257
+ "type": {
258
+ "text": "CustomEvent<undefined>"
259
+ },
260
+ "description": "Event emitted when the clear button is clicked.",
261
+ "name": "clear-click",
262
+ "inheritedFrom": {
263
+ "name": "DatePickerBase",
264
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
265
+ }
266
+ }
267
+ ],
241
268
  "superclass": {
242
269
  "name": "DatePickerBase",
243
270
  "module": "/libs/components/src/shared/date-picker/date-picker-base"
@@ -304,16 +331,6 @@ Code in this file were generated using following JSON:
304
331
  "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
305
332
  }
306
333
  }
307
- ],
308
- "events": [
309
- {
310
- "description": "Event emitted when the clear value changes",
311
- "name": "clear-click",
312
- "inheritedFrom": {
313
- "name": "DatePickerBase",
314
- "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
315
- }
316
- }
317
334
  ]
318
335
  }
319
336
  */
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-date-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
  }
@@ -176,7 +176,10 @@ Code in this file were generated using following JSON:
176
176
  ],
177
177
  "events": [
178
178
  {
179
- "description": "Event emitted when the clear value changes",
179
+ "type": {
180
+ "text": "CustomEvent<undefined>"
181
+ },
182
+ "description": "Event emitted when the clear button is clicked.",
180
183
  "name": "clear-click"
181
184
  }
182
185
  ],
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-date-picker-base",
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
  }
@@ -35,7 +35,8 @@ declare const VwcDateRangePicker: {
35
35
  id?: string | undefined;
36
36
  style?: React.CSSProperties | undefined;
37
37
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
38
- onInput: start | null;
38
+ onInput?: start | null;
39
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
39
40
  onClearClick?: ((event: SyntheticEvent) => void) | undefined;
40
41
  initialStart?: string | undefined;
41
42
  initialEnd?: string | undefined;
@@ -314,15 +314,38 @@ Code in this file were generated using following JSON:
314
314
  ],
315
315
  "events": [
316
316
  {
317
+ "type": {
318
+ "text": "CustomEvent<undefined>"
319
+ },
317
320
  "description": "Event emitted when the start value changes",
318
321
  "name": "input:start"
319
322
  },
320
323
  {
324
+ "type": {
325
+ "text": "CustomEvent<undefined>"
326
+ },
321
327
  "description": "Event emitted when the end value changes",
322
328
  "name": "input:end"
323
329
  },
324
330
  {
325
- "description": "Event emitted when the clear value changes",
331
+ "type": {
332
+ "text": "CustomEvent<undefined>"
333
+ },
334
+ "description": "Emitted when either the start or end value changes",
335
+ "name": "input"
336
+ },
337
+ {
338
+ "type": {
339
+ "text": "CustomEvent<undefined>"
340
+ },
341
+ "description": "Emitted when either the start or end value changes",
342
+ "name": "change"
343
+ },
344
+ {
345
+ "type": {
346
+ "text": "CustomEvent<undefined>"
347
+ },
348
+ "description": "Event emitted when the clear button is clicked.",
326
349
  "name": "clear-click",
327
350
  "inheritedFrom": {
328
351
  "name": "DatePickerBase",
@@ -425,13 +448,13 @@ Code in this file were generated using following JSON:
425
448
  "vueModels": [
426
449
  {
427
450
  "name": "start",
428
- "attributeName": "current-start",
451
+ "attributeName": "start",
429
452
  "eventName": "input:start",
430
453
  "valueMapping": "(event.target as any).start"
431
454
  },
432
455
  {
433
456
  "name": "end",
434
- "attributeName": "current-end",
457
+ "attributeName": "end",
435
458
  "eventName": "input:end",
436
459
  "valueMapping": "(event.target as any).end"
437
460
  }
@@ -445,7 +468,7 @@ import { registerDateRangePicker } from '@vonage/vivid'
445
468
  registerDateRangePicker('vvd3')
446
469
 
447
470
  const VwcDateRangePicker = wrapper(`vvd3-date-range-picker`, {
448
- events: [{"name":"clear-click","propName":"onClearClick"},{"name":"input:end","propName":"onInput:end"},{"name":"input:start","propName":"onInput:start"}],
471
+ events: [{"name":"clear-click","propName":"onClearClick"},{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"},{"name":"input:end","propName":"onInput:end"},{"name":"input:start","propName":"onInput:start"}],
449
472
  attributes: [],
450
473
  properties: ['initialStart', 'initialEnd', 'start', 'end', 'currentStart', 'currentEnd', 'setFormValue', 'label', 'min', 'max', 'initialValue', 'currentValue', 'readOnly', 'value']
451
474
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-date-range-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
  }
@@ -6,8 +6,13 @@ import React, { ReactNode, SyntheticEvent } from 'react';
6
6
  * @param {string} value - Indicates the value's text. **attribute** `value`
7
7
  * @param {string} pattern - Indicates the dial pad's pattern. **attribute** `pattern`
8
8
  * @param {boolean} disabled - Indicates the disabled state of the dial-pad. **attribute** `disabled`
9
+ * @param {boolean} pending - Indicates the pending state of the dial-pad. **attribute** `pending`
9
10
  * @param {boolean} callActive - Indicates the active state of the dial-pad. **attribute** `call-active`
10
11
  * @param {boolean} noCall - Indicates the no-call state of the dial-pad. **attribute** `no-call`
12
+ * @param {boolean} noInput - Indicates the no-input state of the dial-pad. **attribute** `no-input`
13
+ * @param {| string
14
+ | null} endCallButtonLabel **attribute** `end-call-button-label`
15
+ * @param {string | null} callButtonLabel **attribute** `call-button-label`
11
16
  */
12
17
  declare const VwcDialPad: {
13
18
  (props: {
@@ -28,8 +33,12 @@ declare const VwcDialPad: {
28
33
  value?: string | undefined;
29
34
  pattern?: string | undefined;
30
35
  disabled?: boolean | undefined;
36
+ pending?: boolean | undefined;
31
37
  callActive?: boolean | undefined;
32
38
  noCall?: boolean | undefined;
39
+ noInput?: boolean | undefined;
40
+ endCallButtonLabel?: any;
41
+ callButtonLabel?: string | null | undefined;
33
42
  }): JSX.Element;
34
43
  displayName: string;
35
44
  };
@@ -41,8 +50,13 @@ export default VwcDialPad;
41
50
  * @param {string} value - Indicates the value's text. **attribute** `value`
42
51
  * @param {string} pattern - Indicates the dial pad's pattern. **attribute** `pattern`
43
52
  * @param {boolean} disabled - Indicates the disabled state of the dial-pad. **attribute** `disabled`
53
+ * @param {boolean} pending - Indicates the pending state of the dial-pad. **attribute** `pending`
44
54
  * @param {boolean} callActive - Indicates the active state of the dial-pad. **attribute** `call-active`
45
55
  * @param {boolean} noCall - Indicates the no-call state of the dial-pad. **attribute** `no-call`
56
+ * @param {boolean} noInput - Indicates the no-input state of the dial-pad. **attribute** `no-input`
57
+ * @param {| string
58
+ | null} endCallButtonLabel **attribute** `end-call-button-label`
59
+ * @param {string | null} callButtonLabel **attribute** `call-button-label`
46
60
  */
47
61
  declare const VwcDialPad: {
48
62
  (props: {
@@ -63,8 +77,12 @@ declare const VwcDialPad: {
63
77
  value?: string | undefined;
64
78
  pattern?: string | undefined;
65
79
  disabled?: boolean | undefined;
80
+ pending?: boolean | undefined;
66
81
  callActive?: boolean | undefined;
67
82
  noCall?: boolean | undefined;
83
+ noInput?: boolean | undefined;
84
+ endCallButtonLabel?: any;
85
+ callButtonLabel?: string | null | undefined;
68
86
  }): JSX.Element;
69
87
  displayName: string;
70
88
  };
@@ -76,8 +94,13 @@ export default VwcDialPad;
76
94
  * @param {string} value - Indicates the value's text. **attribute** `value`
77
95
  * @param {string} pattern - Indicates the dial pad's pattern. **attribute** `pattern`
78
96
  * @param {boolean} disabled - Indicates the disabled state of the dial-pad. **attribute** `disabled`
97
+ * @param {boolean} pending - Indicates the pending state of the dial-pad. **attribute** `pending`
79
98
  * @param {boolean} callActive - Indicates the active state of the dial-pad. **attribute** `call-active`
80
99
  * @param {boolean} noCall - Indicates the no-call state of the dial-pad. **attribute** `no-call`
100
+ * @param {boolean} noInput - Indicates the no-input state of the dial-pad. **attribute** `no-input`
101
+ * @param {| string
102
+ | null} endCallButtonLabel **attribute** `end-call-button-label`
103
+ * @param {string | null} callButtonLabel **attribute** `call-button-label`
81
104
  */
82
105
  declare const VwcDialPad: {
83
106
  (props: {
@@ -98,8 +121,12 @@ declare const VwcDialPad: {
98
121
  value?: string | undefined;
99
122
  pattern?: string | undefined;
100
123
  disabled?: boolean | undefined;
124
+ pending?: boolean | undefined;
101
125
  callActive?: boolean | undefined;
102
126
  noCall?: boolean | undefined;
127
+ noInput?: boolean | undefined;
128
+ endCallButtonLabel?: any;
129
+ callButtonLabel?: string | null | undefined;
103
130
  }): JSX.Element;
104
131
  displayName: string;
105
132
  };