@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
@@ -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
  }
@@ -1,40 +0,0 @@
1
- import React, { ReactNode, SyntheticEvent } from 'react';
2
- import '@vonage/vwc-dialog';
3
- /**
4
- * @param {boolean | undefined} closeButton
5
- * @param {Position | undefined} topPosition
6
- * @param {boolean} hideActions
7
- * @param {boolean} stacked
8
- * @param {string} heading
9
- * @param {string} scrimClickAction
10
- * @param {string} escapeKeyAction
11
- * @param {boolean} open
12
- * @param {string} defaultAction
13
- * @param {string} actionAttribute
14
- * @param {string} initialFocusAttribute
15
- * @param {string} suppressDefaultPressSelector
16
- */
17
- declare const VwcDialog: (props: {
18
- children?: ReactNode;
19
- slot?: string | undefined;
20
- id?: string | undefined;
21
- style?: React.CSSProperties | undefined;
22
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
23
- onOpening?: ((event: SyntheticEvent) => void) | undefined;
24
- onOpened?: ((event: SyntheticEvent) => void) | undefined;
25
- onClosing?: ((event: SyntheticEvent) => void) | undefined;
26
- onClosed?: ((event: SyntheticEvent) => void) | undefined;
27
- closeButton?: any;
28
- topPosition?: any;
29
- hideActions?: boolean | undefined;
30
- stacked?: boolean | undefined;
31
- heading?: string | undefined;
32
- scrimClickAction?: string | undefined;
33
- escapeKeyAction?: string | undefined;
34
- open?: boolean | undefined;
35
- defaultAction?: string | undefined;
36
- actionAttribute?: string | undefined;
37
- initialFocusAttribute?: string | undefined;
38
- suppressDefaultPressSelector?: string | undefined;
39
- }) => JSX.Element;
40
- export default VwcDialog;
@@ -1,135 +0,0 @@
1
- /*
2
- * DO NOT EDIT THIS FILE. IT IS GENERATED
3
- */
4
- /*
5
- Code in this file were generated using following JSON:
6
- {
7
- "name": "vwc-dialog",
8
- "path": "./../node_modules/@vonage/vwc-dialog/vwc-dialog.d.ts",
9
- "properties": [
10
- {
11
- "name": "closeButton",
12
- "type": "boolean | undefined",
13
- "bindable": true
14
- },
15
- {
16
- "name": "topPosition",
17
- "type": "Position | undefined",
18
- "bindable": false
19
- },
20
- {
21
- "name": "styles",
22
- "type": "CSSResult[]"
23
- },
24
- {
25
- "name": "hideActions",
26
- "type": "boolean",
27
- "bindable": false
28
- },
29
- {
30
- "name": "stacked",
31
- "type": "boolean",
32
- "bindable": false
33
- },
34
- {
35
- "name": "heading",
36
- "type": "string",
37
- "bindable": false
38
- },
39
- {
40
- "name": "scrimClickAction",
41
- "type": "string",
42
- "bindable": false
43
- },
44
- {
45
- "name": "escapeKeyAction",
46
- "type": "string",
47
- "bindable": false
48
- },
49
- {
50
- "name": "open",
51
- "type": "boolean",
52
- "bindable": false
53
- },
54
- {
55
- "name": "defaultAction",
56
- "type": "string",
57
- "bindable": false
58
- },
59
- {
60
- "name": "actionAttribute",
61
- "type": "string",
62
- "bindable": false
63
- },
64
- {
65
- "name": "initialFocusAttribute",
66
- "type": "string",
67
- "bindable": false
68
- },
69
- {
70
- "name": "suppressDefaultPressSelector",
71
- "type": "string",
72
- "bindable": false
73
- }
74
- ],
75
- "events": [
76
- "opening",
77
- "opened",
78
- "closing",
79
- "closed"
80
- ]
81
- }
82
- */
83
- import PropTypes from 'prop-types'
84
- import wrapper from '@vonage/vivid-react-wrapper'
85
- import '@vonage/vwc-dialog'
86
-
87
-
88
- /**
89
- * @param {boolean | undefined} closeButton
90
- * @param {Position | undefined} topPosition
91
- * @param {boolean} hideActions
92
- * @param {boolean} stacked
93
- * @param {string} heading
94
- * @param {string} scrimClickAction
95
- * @param {string} escapeKeyAction
96
- * @param {boolean} open
97
- * @param {string} defaultAction
98
- * @param {string} actionAttribute
99
- * @param {string} initialFocusAttribute
100
- * @param {string} suppressDefaultPressSelector
101
- */
102
- const VwcDialog = wrapper('vwc-dialog', {
103
- events: [{"name":"closed","propName":"onClosed"},{"name":"closing","propName":"onClosing"},{"name":"opened","propName":"onOpened"},{"name":"opening","propName":"onOpening"}],
104
- attributes: [],
105
- properties: ["closeButton"]
106
- });
107
-
108
- VwcDialog.propTypes = {
109
- onOpening: PropTypes.func,
110
- onOpened: PropTypes.func,
111
- onClosing: PropTypes.func,
112
- onClosed: PropTypes.func,
113
- closeButton: PropTypes.any /* boolean | undefined */,
114
- topPosition: PropTypes.any /* Position | undefined */,
115
- hideActions: PropTypes.bool,
116
- stacked: PropTypes.bool,
117
- heading: PropTypes.string,
118
- scrimClickAction: PropTypes.string,
119
- escapeKeyAction: PropTypes.string,
120
- open: PropTypes.bool,
121
- defaultAction: PropTypes.string,
122
- actionAttribute: PropTypes.string,
123
- initialFocusAttribute: PropTypes.string,
124
- suppressDefaultPressSelector: PropTypes.string
125
- }
126
-
127
- VwcDialog.defaultProps = {
128
-
129
- }
130
-
131
- VwcDialog.displayName = 'VwcDialog'
132
-
133
-
134
-
135
- export default VwcDialog
@@ -1,11 +0,0 @@
1
- {
2
- "name": "@vonage/vivid-react-vwc-dialog",
3
- "version": "2.10.93",
4
- "main": "index.js",
5
- "types": "index.d.ts",
6
- "private": true,
7
- "license": "MIT",
8
- "dependencies": {
9
- "@vonage/vwc-dialog": "2.45.0"
10
- }
11
- }
@@ -1,20 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import '@vonage/vwc-drawer';
3
- /** This component is an extension of [<mwc-drawer>](https://github.com/material-components/material-components-web-components/tree/master/packages/drawer)
4
- * @param {boolean} drawerAlternate attribute: &lt;VwcDrawer drawer-alternate />
5
- * @param {boolean} open
6
- * @param {boolean} hasHeader
7
- * @param {string} type
8
- */
9
- declare const VwcDrawer: (props: {
10
- children?: ReactNode;
11
- slot?: string | undefined;
12
- id?: string | undefined;
13
- style?: React.CSSProperties | undefined;
14
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
- drawerAlternate?: boolean | undefined;
16
- open?: boolean | undefined;
17
- hasHeader?: boolean | undefined;
18
- type?: string | undefined;
19
- }) => JSX.Element;
20
- export default VwcDrawer;
@@ -1,80 +0,0 @@
1
- /*
2
- * DO NOT EDIT THIS FILE. IT IS GENERATED
3
- */
4
- /*
5
- Code in this file were generated using following JSON:
6
- {
7
- "name": "vwc-drawer",
8
- "path": "./../node_modules/@vonage/vwc-drawer/src/vwc-drawer.ts",
9
- "description": "This component is an extension of [<mwc-drawer>](https://github.com/material-components/material-components-web-components/tree/master/packages/drawer)",
10
- "attributes": [
11
- {
12
- "name": "drawer-alternate",
13
- "type": "boolean",
14
- "default": "false"
15
- }
16
- ],
17
- "properties": [
18
- {
19
- "name": "drawerAlternate",
20
- "attribute": "drawer-alternate",
21
- "type": "boolean",
22
- "default": "false",
23
- "bindable": false
24
- },
25
- {
26
- "name": "styles",
27
- "type": "CSSResult[]"
28
- },
29
- {
30
- "name": "open",
31
- "type": "boolean",
32
- "bindable": false
33
- },
34
- {
35
- "name": "hasHeader",
36
- "type": "boolean",
37
- "bindable": false
38
- },
39
- {
40
- "name": "type",
41
- "type": "string",
42
- "bindable": false
43
- }
44
- ],
45
- "events": []
46
- }
47
- */
48
- import PropTypes from 'prop-types'
49
- import wrapper from '@vonage/vivid-react-wrapper'
50
- import '@vonage/vwc-drawer'
51
-
52
-
53
- /** This component is an extension of [<mwc-drawer>](https://github.com/material-components/material-components-web-components/tree/master/packages/drawer)
54
- * @param {boolean} drawerAlternate attribute: &lt;VwcDrawer drawer-alternate />
55
- * @param {boolean} open
56
- * @param {boolean} hasHeader
57
- * @param {string} type
58
- */
59
- const VwcDrawer = wrapper('vwc-drawer', {
60
- events: [],
61
- attributes: [],
62
- properties: []
63
- });
64
-
65
- VwcDrawer.propTypes = {
66
- drawerAlternate: PropTypes.bool/* default: false *//* attribute: drawer-alternate */,
67
- open: PropTypes.bool,
68
- hasHeader: PropTypes.bool,
69
- type: PropTypes.string
70
- }
71
-
72
- VwcDrawer.defaultProps = {
73
- drawerAlternate: false
74
- }
75
-
76
- VwcDrawer.displayName = 'VwcDrawer'
77
-
78
-
79
-
80
- export default VwcDrawer
@@ -1,11 +0,0 @@
1
- {
2
- "name": "@vonage/vivid-react-vwc-drawer",
3
- "version": "2.10.93",
4
- "main": "index.js",
5
- "types": "index.d.ts",
6
- "private": true,
7
- "license": "MIT",
8
- "dependencies": {
9
- "@vonage/vwc-drawer": "2.45.0"
10
- }
11
- }
@@ -1,22 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import '@vonage/vwc-side-drawer';
3
- /**
4
- * @param {boolean} alternate
5
- * @param {boolean | undefined} hasTopBar
6
- * @param {boolean} modal
7
- * @param {boolean} open
8
- * @param {"start" | "end" | undefined} position
9
- */
10
- declare const VwcSideDrawer: (props: {
11
- children?: ReactNode;
12
- slot?: string | undefined;
13
- id?: string | undefined;
14
- style?: React.CSSProperties | undefined;
15
- ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
16
- alternate?: boolean | undefined;
17
- hasTopBar?: any;
18
- modal?: boolean | undefined;
19
- open?: boolean | undefined;
20
- position?: "start" | "end" | undefined;
21
- }) => JSX.Element;
22
- export default VwcSideDrawer;