@vonage/vivid-react 2.10.72 → 2.10.74

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 (195) 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/VwcDialog/package.json +1 -1
  21. package/VwcDrawer/package.json +1 -1
  22. package/VwcDropdown/package.json +1 -1
  23. package/VwcElevation/package.json +1 -1
  24. package/VwcEmptyState/package.json +1 -1
  25. package/VwcExpansionPanel/package.json +1 -1
  26. package/VwcFab/package.json +1 -1
  27. package/VwcFilePicker/package.json +1 -1
  28. package/VwcFormfield/package.json +1 -1
  29. package/VwcHelperMessage/package.json +1 -1
  30. package/VwcIcon/package.json +1 -1
  31. package/VwcIconButton/package.json +1 -1
  32. package/VwcIconButtonToggle/package.json +1 -1
  33. package/VwcKeypad/package.json +1 -1
  34. package/VwcLayout/package.json +1 -1
  35. package/VwcLinearProgress/package.json +1 -1
  36. package/VwcList/package.json +1 -1
  37. package/VwcListExpansionPanel/package.json +1 -1
  38. package/VwcListItem/package.json +1 -1
  39. package/VwcMenu/package.json +1 -1
  40. package/VwcNotchedOutline/package.json +1 -1
  41. package/VwcNote/package.json +1 -1
  42. package/VwcPagination/package.json +1 -1
  43. package/VwcPopup/package.json +1 -1
  44. package/VwcRadio/package.json +1 -1
  45. package/VwcRadioListItem/package.json +1 -1
  46. package/VwcSchemeSelect/package.json +1 -1
  47. package/VwcScrubBar/package.json +1 -1
  48. package/VwcSelect/package.json +1 -1
  49. package/VwcSideDrawer/package.json +1 -1
  50. package/VwcSlider/package.json +1 -1
  51. package/VwcSnackbar/package.json +1 -1
  52. package/VwcSurface/package.json +1 -1
  53. package/VwcSwitch/package.json +1 -1
  54. package/VwcTab/package.json +1 -1
  55. package/VwcTabBar/package.json +1 -1
  56. package/VwcTag/package.json +1 -1
  57. package/VwcText/package.json +1 -1
  58. package/VwcTextarea/package.json +1 -1
  59. package/VwcTextfield/package.json +1 -1
  60. package/VwcThemeSwitch/package.json +1 -1
  61. package/VwcTooltip/package.json +1 -1
  62. package/VwcTopAppBar/package.json +1 -1
  63. package/VwcTopAppBarFixed/package.json +1 -1
  64. package/index.js +8 -8
  65. package/package.json +16 -10
  66. package/types/index.d.ts +42 -6
  67. package/v3/VwcAccordion/index.d.ts +2 -1
  68. package/v3/VwcAccordion/index.js +1 -1
  69. package/v3/VwcAccordion/package.json +2 -2
  70. package/v3/VwcAccordionItem/package.json +2 -2
  71. package/v3/VwcActionGroup/package.json +2 -2
  72. package/v3/VwcAlert/package.json +2 -2
  73. package/v3/VwcAvatar/package.json +2 -2
  74. package/v3/VwcBadge/package.json +2 -2
  75. package/v3/VwcBanner/package.json +2 -2
  76. package/v3/VwcBreadcrumb/package.json +2 -2
  77. package/v3/VwcBreadcrumbItem/package.json +2 -2
  78. package/v3/VwcButton/package.json +2 -2
  79. package/v3/VwcCalendar/package.json +2 -2
  80. package/v3/VwcCalendarEvent/package.json +2 -2
  81. package/v3/VwcCard/package.json +2 -2
  82. package/v3/VwcCheckbox/index.d.ts +4 -1
  83. package/v3/VwcCheckbox/index.js +18 -2
  84. package/v3/VwcCheckbox/package.json +2 -2
  85. package/v3/VwcCombobox/index.d.ts +2 -1
  86. package/v3/VwcCombobox/index.js +1 -1
  87. package/v3/VwcCombobox/package.json +2 -2
  88. package/v3/VwcDataGrid/index.d.ts +1 -1
  89. package/v3/VwcDataGrid/index.js +4 -1
  90. package/v3/VwcDataGrid/package.json +2 -2
  91. package/v3/VwcDataGridCell/index.d.ts +4 -3
  92. package/v3/VwcDataGridCell/index.js +15 -3
  93. package/v3/VwcDataGridCell/package.json +2 -2
  94. package/v3/VwcDataGridRow/index.d.ts +1 -1
  95. package/v3/VwcDataGridRow/index.js +4 -1
  96. package/v3/VwcDataGridRow/package.json +2 -2
  97. package/v3/VwcDatePicker/index.d.ts +6 -6
  98. package/v3/VwcDatePicker/index.js +161 -100
  99. package/v3/VwcDatePicker/package.json +2 -2
  100. package/v3/VwcDatePickerBase/index.d.ts +29 -0
  101. package/v3/VwcDatePickerBase/index.js +248 -0
  102. package/v3/VwcDatePickerBase/package.json +11 -0
  103. package/v3/VwcDateRangePicker/index.d.ts +56 -0
  104. package/v3/VwcDateRangePicker/index.js +444 -0
  105. package/v3/VwcDateRangePicker/package.json +11 -0
  106. package/v3/VwcDialog/index.d.ts +2 -0
  107. package/v3/VwcDialog/index.js +18 -2
  108. package/v3/VwcDialog/package.json +2 -2
  109. package/v3/VwcDivider/package.json +2 -2
  110. package/v3/VwcElevation/package.json +2 -2
  111. package/v3/VwcEmptyState/package.json +2 -2
  112. package/v3/VwcFab/package.json +2 -2
  113. package/v3/VwcFilePicker/index.d.ts +4 -2
  114. package/v3/VwcFilePicker/index.js +62 -20
  115. package/v3/VwcFilePicker/package.json +2 -2
  116. package/v3/VwcFocus/package.json +2 -2
  117. package/v3/{VwcFormAssociatedDatePicker → VwcFormAssociatedFilePicker}/index.d.ts +4 -6
  118. package/v3/VwcFormAssociatedFilePicker/index.js +44 -0
  119. package/v3/VwcFormAssociatedFilePicker/package.json +11 -0
  120. package/v3/VwcHeader/package.json +2 -2
  121. package/v3/VwcIcon/package.json +2 -2
  122. package/v3/VwcLayout/package.json +2 -2
  123. package/v3/VwcListbox/package.json +2 -2
  124. package/v3/VwcMenu/index.d.ts +2 -0
  125. package/v3/VwcMenu/index.js +5 -1
  126. package/v3/VwcMenu/package.json +2 -2
  127. package/v3/VwcMenuItem/index.d.ts +6 -1
  128. package/v3/VwcMenuItem/index.js +38 -2
  129. package/v3/VwcMenuItem/package.json +2 -2
  130. package/v3/VwcNav/package.json +2 -2
  131. package/v3/VwcNavDisclosure/package.json +2 -2
  132. package/v3/VwcNavItem/package.json +2 -2
  133. package/v3/VwcNote/package.json +2 -2
  134. package/v3/VwcNumberField/index.d.ts +7 -1
  135. package/v3/VwcNumberField/index.js +34 -2
  136. package/v3/VwcNumberField/package.json +2 -2
  137. package/v3/{VwcListboxOption → VwcOption}/index.d.ts +3 -3
  138. package/v3/{VwcListboxOption → VwcOption}/index.js +5 -5
  139. package/v3/{VwcListboxOption → VwcOption}/package.json +2 -2
  140. package/v3/VwcPagination/package.json +2 -2
  141. package/v3/VwcPopup/package.json +2 -2
  142. package/v3/VwcProgress/index.d.ts +5 -3
  143. package/v3/VwcProgress/index.js +29 -4
  144. package/v3/VwcProgress/package.json +2 -2
  145. package/v3/VwcProgressRing/index.d.ts +2 -0
  146. package/v3/VwcProgressRing/index.js +17 -1
  147. package/v3/VwcProgressRing/package.json +2 -2
  148. package/v3/VwcRadio/index.d.ts +4 -1
  149. package/v3/VwcRadio/index.js +18 -2
  150. package/v3/VwcRadio/package.json +2 -2
  151. package/v3/VwcRadioGroup/index.d.ts +2 -1
  152. package/v3/VwcRadioGroup/index.js +1 -1
  153. package/v3/VwcRadioGroup/package.json +2 -2
  154. package/v3/VwcSelect/index.d.ts +2 -1
  155. package/v3/VwcSelect/index.js +1 -1
  156. package/v3/VwcSelect/package.json +2 -2
  157. package/v3/VwcSelectableBox/index.d.ts +30 -0
  158. package/v3/VwcSelectableBox/index.js +197 -0
  159. package/v3/VwcSelectableBox/package.json +11 -0
  160. package/v3/VwcSideDrawer/index.d.ts +3 -1
  161. package/v3/VwcSideDrawer/index.js +11 -1
  162. package/v3/VwcSideDrawer/package.json +2 -2
  163. package/v3/VwcSlider/index.d.ts +6 -0
  164. package/v3/VwcSlider/index.js +60 -1
  165. package/v3/VwcSlider/package.json +2 -2
  166. package/v3/VwcSplitButton/index.d.ts +2 -1
  167. package/v3/VwcSplitButton/index.js +1 -1
  168. package/v3/VwcSplitButton/package.json +2 -2
  169. package/v3/VwcSwitch/index.d.ts +3 -2
  170. package/v3/VwcSwitch/index.js +5 -2
  171. package/v3/VwcSwitch/package.json +2 -2
  172. package/v3/VwcTab/index.d.ts +2 -1
  173. package/v3/VwcTab/index.js +1 -1
  174. package/v3/VwcTab/package.json +2 -2
  175. package/v3/VwcTabPanel/package.json +2 -2
  176. package/v3/VwcTabs/index.d.ts +2 -1
  177. package/v3/VwcTabs/index.js +1 -1
  178. package/v3/VwcTabs/package.json +2 -2
  179. package/v3/VwcTag/package.json +2 -2
  180. package/v3/VwcTagGroup/index.d.ts +2 -1
  181. package/v3/VwcTagGroup/index.js +21 -1
  182. package/v3/VwcTagGroup/package.json +2 -2
  183. package/v3/VwcTextAnchor/package.json +2 -2
  184. package/v3/VwcTextArea/index.d.ts +3 -2
  185. package/v3/VwcTextArea/index.js +12 -1
  186. package/v3/VwcTextArea/package.json +2 -2
  187. package/v3/VwcTextField/index.d.ts +2 -2
  188. package/v3/VwcTextField/index.js +25 -1
  189. package/v3/VwcTextField/package.json +2 -2
  190. package/v3/VwcToggletip/package.json +2 -2
  191. package/v3/VwcTooltip/package.json +2 -2
  192. package/v3/VwcTreeItem/package.json +2 -2
  193. package/v3/VwcTreeView/package.json +2 -2
  194. package/v3/VwcFormAssociatedDatePicker/index.js +0 -52
  195. package/v3/VwcFormAssociatedDatePicker/package.json +0 -11
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-date-picker-base",
3
+ "version": "3.40.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.40.0"
10
+ }
11
+ }
@@ -0,0 +1,56 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** Base class for date-range-picker
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/date-range-picker
4
+ * @param {string} initialStart - The initial start value. This value sets the `start` property
5
+ only when the `start` property has not been explicitly set. **attribute** `start`
6
+ * @param {string} initialEnd - The initial end value. This value sets the `end` property
7
+ only when the `end` property has not been explicitly set. **attribute** `end`
8
+ * @param {string} start - The start value of the date range.
9
+ * @param {string} end - The end value of the date range.
10
+ * @param {string} currentStart - The current start value of the element. This property serves as a mechanism
11
+ to set the `start` property through both property assignment and the
12
+ .setAttribute() method. This is useful for setting the field's value
13
+ in UI libraries that bind data through the .setAttribute() API
14
+ and don't support IDL attribute binding. **attribute** `current-start`
15
+ * @param {string} currentEnd - The current end value of the element. This property serves as a mechanism
16
+ to set the `end` property through both property assignment and the
17
+ .setAttribute() method. This is useful for setting the field's value
18
+ in UI libraries that bind data through the .setAttribute() API
19
+ and don't support IDL attribute binding. **attribute** `current-end`
20
+ * @param setFormValue
21
+ * @param {string} label
22
+ * @param {string} min - The earliest accepted date of the date-picker. **attribute** `min`
23
+ * @param {string} max - The latest accepted date of the date-picker.
24
+ * @param {string} initialValue - The initial value of the date-picker. **attribute** `value`
25
+ * @param {string} currentValue - The current value of the date-picker. **attribute** `current-value`
26
+ * @param {boolean} readOnly - Whether the date-picker is readonly. **attribute** `readonly`
27
+ * @param {string} value
28
+ */
29
+ declare const VwcDateRangePicker: {
30
+ (props: {
31
+ (event: SyntheticEvent): void;
32
+ (event: SyntheticEvent): void;
33
+ children?: ReactNode;
34
+ slot?: string | undefined;
35
+ id?: string | undefined;
36
+ style?: React.CSSProperties | undefined;
37
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
38
+ onInput: start | null;
39
+ initialStart?: string | undefined;
40
+ initialEnd?: string | undefined;
41
+ start?: string | undefined;
42
+ end?: string | undefined;
43
+ currentStart?: string | undefined;
44
+ currentEnd?: string | undefined;
45
+ setFormValue?: any;
46
+ label?: string | undefined;
47
+ min?: string | undefined;
48
+ max?: string | undefined;
49
+ initialValue?: string | undefined;
50
+ currentValue?: string | undefined;
51
+ readOnly?: boolean | undefined;
52
+ value?: string | undefined;
53
+ }): JSX.Element;
54
+ displayName: string;
55
+ };
56
+ export default VwcDateRangePicker;
@@ -0,0 +1,444 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "Base class for date-range-picker",
9
+ "name": "DateRangePicker",
10
+ "members": [
11
+ {
12
+ "kind": "field",
13
+ "name": "initialStart",
14
+ "type": {
15
+ "text": "string"
16
+ },
17
+ "default": "''",
18
+ "description": "The initial start value. This value sets the `start` property\nonly when the `start` property has not been explicitly set."
19
+ },
20
+ {
21
+ "kind": "field",
22
+ "name": "initialEnd",
23
+ "type": {
24
+ "text": "string"
25
+ },
26
+ "default": "''",
27
+ "description": "The initial end value. This value sets the `end` property\nonly when the `end` property has not been explicitly set."
28
+ },
29
+ {
30
+ "kind": "field",
31
+ "name": "#isInternalValueUpdate",
32
+ "privacy": "private",
33
+ "type": {
34
+ "text": "boolean"
35
+ },
36
+ "default": "false"
37
+ },
38
+ {
39
+ "kind": "field",
40
+ "name": "start",
41
+ "type": {
42
+ "text": "string"
43
+ },
44
+ "default": "''",
45
+ "description": "The start value of the date range."
46
+ },
47
+ {
48
+ "kind": "field",
49
+ "name": "end",
50
+ "type": {
51
+ "text": "string"
52
+ },
53
+ "default": "''",
54
+ "description": "The end value of the date range."
55
+ },
56
+ {
57
+ "kind": "field",
58
+ "name": "currentStart",
59
+ "type": {
60
+ "text": "string"
61
+ },
62
+ "description": "The current start value of the element. This property serves as a mechanism\nto set the `start` property through both property assignment and the\n.setAttribute() method. This is useful for setting the field's value\nin UI libraries that bind data through the .setAttribute() API\nand don't support IDL attribute binding."
63
+ },
64
+ {
65
+ "kind": "field",
66
+ "name": "currentEnd",
67
+ "type": {
68
+ "text": "string"
69
+ },
70
+ "description": "The current end value of the element. This property serves as a mechanism\nto set the `end` property through both property assignment and the\n.setAttribute() method. This is useful for setting the field's value\nin UI libraries that bind data through the .setAttribute() API\nand don't support IDL attribute binding."
71
+ },
72
+ {
73
+ "kind": "method",
74
+ "name": "#updateValues",
75
+ "parameters": [
76
+ {
77
+ "name": "range",
78
+ "type": {
79
+ "text": "Partial<DateRange>"
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "kind": "method",
86
+ "name": "#handleChangedValues"
87
+ },
88
+ {
89
+ "kind": "method",
90
+ "name": "#updateFormValue"
91
+ },
92
+ {
93
+ "kind": "field",
94
+ "name": "setFormValue"
95
+ },
96
+ {
97
+ "kind": "method",
98
+ "name": "#getVisibleRange",
99
+ "return": {
100
+ "type": {
101
+ "text": "Partial<DateRange>"
102
+ }
103
+ }
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "label",
108
+ "type": {
109
+ "text": "string"
110
+ },
111
+ "inheritedFrom": {
112
+ "name": "DatePickerBase",
113
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
114
+ }
115
+ },
116
+ {
117
+ "kind": "field",
118
+ "name": "min",
119
+ "type": {
120
+ "text": "string"
121
+ },
122
+ "description": "The earliest accepted date of the date-picker.",
123
+ "privacy": "public",
124
+ "default": "''",
125
+ "inheritedFrom": {
126
+ "name": "DatePickerBase",
127
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
128
+ }
129
+ },
130
+ {
131
+ "kind": "field",
132
+ "name": "max",
133
+ "type": {
134
+ "text": "string"
135
+ },
136
+ "description": "The latest accepted date of the date-picker.",
137
+ "privacy": "public",
138
+ "default": "''",
139
+ "inheritedFrom": {
140
+ "name": "DatePickerBase",
141
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
142
+ }
143
+ },
144
+ {
145
+ "kind": "field",
146
+ "name": "initialValue",
147
+ "type": {
148
+ "text": "string"
149
+ },
150
+ "description": "The initial value of the date-picker.",
151
+ "privacy": "public",
152
+ "inheritedFrom": {
153
+ "name": "DatePickerBase",
154
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
155
+ }
156
+ },
157
+ {
158
+ "kind": "field",
159
+ "name": "currentValue",
160
+ "type": {
161
+ "text": "string"
162
+ },
163
+ "description": "The current value of the date-picker.",
164
+ "privacy": "public",
165
+ "inheritedFrom": {
166
+ "name": "DatePickerBase",
167
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
168
+ }
169
+ },
170
+ {
171
+ "kind": "field",
172
+ "name": "readOnly",
173
+ "type": {
174
+ "text": "boolean"
175
+ },
176
+ "default": "false",
177
+ "description": "Whether the date-picker is readonly.",
178
+ "privacy": "public",
179
+ "inheritedFrom": {
180
+ "name": "DatePickerBase",
181
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
182
+ }
183
+ },
184
+ {
185
+ "kind": "method",
186
+ "name": "#getFocusableEls",
187
+ "inheritedFrom": {
188
+ "name": "DatePickerBase",
189
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
190
+ }
191
+ },
192
+ {
193
+ "kind": "method",
194
+ "name": "_adjustSelectedMonthToEnsureVisibilityOf",
195
+ "privacy": "protected",
196
+ "parameters": [
197
+ {
198
+ "name": "date",
199
+ "type": {
200
+ "text": "DateStr"
201
+ }
202
+ }
203
+ ],
204
+ "inheritedFrom": {
205
+ "name": "DatePickerBase",
206
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
207
+ }
208
+ },
209
+ {
210
+ "kind": "method",
211
+ "name": "#isMonthAfterValidRange",
212
+ "parameters": [
213
+ {
214
+ "name": "month",
215
+ "type": {
216
+ "text": "Month"
217
+ }
218
+ }
219
+ ],
220
+ "inheritedFrom": {
221
+ "name": "DatePickerBase",
222
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
223
+ }
224
+ },
225
+ {
226
+ "kind": "method",
227
+ "name": "#isMonthBeforeValidRange",
228
+ "parameters": [
229
+ {
230
+ "name": "month",
231
+ "type": {
232
+ "text": "Month"
233
+ }
234
+ }
235
+ ],
236
+ "inheritedFrom": {
237
+ "name": "DatePickerBase",
238
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
239
+ }
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "#onFocusIn",
244
+ "privacy": "private",
245
+ "inheritedFrom": {
246
+ "name": "DatePickerBase",
247
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
248
+ }
249
+ },
250
+ {
251
+ "kind": "field",
252
+ "name": "#onFocusOut",
253
+ "privacy": "private",
254
+ "inheritedFrom": {
255
+ "name": "DatePickerBase",
256
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
257
+ }
258
+ },
259
+ {
260
+ "kind": "method",
261
+ "name": "_getCustomValidationError",
262
+ "privacy": "protected",
263
+ "return": {
264
+ "type": {
265
+ "text": "string | null"
266
+ }
267
+ },
268
+ "inheritedFrom": {
269
+ "name": "DatePickerBase",
270
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
271
+ }
272
+ },
273
+ {
274
+ "kind": "field",
275
+ "name": "#dismissOnClickOutside",
276
+ "privacy": "private",
277
+ "inheritedFrom": {
278
+ "name": "DatePickerBase",
279
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
280
+ }
281
+ },
282
+ {
283
+ "kind": "field",
284
+ "name": "#isClosingPopup",
285
+ "privacy": "private",
286
+ "type": {
287
+ "text": "boolean"
288
+ },
289
+ "default": "false",
290
+ "inheritedFrom": {
291
+ "name": "DatePickerBase",
292
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
293
+ }
294
+ },
295
+ {
296
+ "kind": "method",
297
+ "name": "#openPopupIfPossible",
298
+ "inheritedFrom": {
299
+ "name": "DatePickerBase",
300
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
301
+ }
302
+ },
303
+ {
304
+ "kind": "method",
305
+ "name": "_getSelectedDates",
306
+ "privacy": "protected",
307
+ "return": {
308
+ "type": {
309
+ "text": "DateStr[]"
310
+ }
311
+ },
312
+ "inheritedFrom": {
313
+ "name": "DatePickerBase",
314
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
315
+ }
316
+ },
317
+ {
318
+ "kind": "field",
319
+ "name": "value",
320
+ "type": {
321
+ "text": "string"
322
+ },
323
+ "default": "''",
324
+ "inheritedFrom": {
325
+ "name": "DatePickerBase",
326
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
327
+ }
328
+ }
329
+ ],
330
+ "events": [
331
+ {
332
+ "description": "Event emitted when the start value changes",
333
+ "name": "input:start"
334
+ },
335
+ {
336
+ "description": "Event emitted when the end value changes",
337
+ "name": "input:end"
338
+ }
339
+ ],
340
+ "attributes": [
341
+ {
342
+ "name": "start",
343
+ "type": {
344
+ "text": "string"
345
+ },
346
+ "default": "''",
347
+ "description": "The initial start value. This value sets the `start` property\nonly when the `start` property has not been explicitly set.",
348
+ "fieldName": "initialStart"
349
+ },
350
+ {
351
+ "name": "end",
352
+ "type": {
353
+ "text": "string"
354
+ },
355
+ "default": "''",
356
+ "description": "The initial end value. This value sets the `end` property\nonly when the `end` property has not been explicitly set.",
357
+ "fieldName": "initialEnd"
358
+ },
359
+ {
360
+ "name": "current-start",
361
+ "type": {
362
+ "text": "string"
363
+ },
364
+ "description": "The current start value of the element. This property serves as a mechanism\nto set the `start` property through both property assignment and the\n.setAttribute() method. This is useful for setting the field's value\nin UI libraries that bind data through the .setAttribute() API\nand don't support IDL attribute binding.",
365
+ "fieldName": "currentStart"
366
+ },
367
+ {
368
+ "name": "current-end",
369
+ "type": {
370
+ "text": "string"
371
+ },
372
+ "description": "The current end value of the element. This property serves as a mechanism\nto set the `end` property through both property assignment and the\n.setAttribute() method. This is useful for setting the field's value\nin UI libraries that bind data through the .setAttribute() API\nand don't support IDL attribute binding.",
373
+ "fieldName": "currentEnd"
374
+ },
375
+ {
376
+ "type": {
377
+ "text": "string"
378
+ },
379
+ "description": "The earliest accepted date of the date-picker.",
380
+ "default": "''",
381
+ "fieldName": "min",
382
+ "inheritedFrom": {
383
+ "name": "DatePickerBase",
384
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
385
+ }
386
+ },
387
+ {
388
+ "name": "value",
389
+ "type": {
390
+ "text": "string"
391
+ },
392
+ "description": "The initial value of the date-picker.",
393
+ "fieldName": "initialValue",
394
+ "inheritedFrom": {
395
+ "name": "DatePickerBase",
396
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
397
+ }
398
+ },
399
+ {
400
+ "name": "current-value",
401
+ "type": {
402
+ "text": "string"
403
+ },
404
+ "description": "The current value of the date-picker.",
405
+ "fieldName": "currentValue",
406
+ "inheritedFrom": {
407
+ "name": "DatePickerBase",
408
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
409
+ }
410
+ },
411
+ {
412
+ "name": "readonly",
413
+ "type": {
414
+ "text": "boolean"
415
+ },
416
+ "default": "false",
417
+ "description": "Whether the date-picker is readonly.",
418
+ "fieldName": "readOnly",
419
+ "inheritedFrom": {
420
+ "name": "DatePickerBase",
421
+ "module": "libs/components/src/shared/date-picker/date-picker-base.ts"
422
+ }
423
+ }
424
+ ],
425
+ "superclass": {
426
+ "name": "DatePickerBase",
427
+ "module": "/libs/components/src/shared/date-picker/date-picker-base"
428
+ }
429
+ }
430
+ */
431
+ import wrapper from '@vonage/vivid-react-wrapper'
432
+ import { registerDateRangePicker } from '@vonage/vivid'
433
+
434
+ registerDateRangePicker('vvd3')
435
+
436
+ const VwcDateRangePicker = wrapper(`vvd3-date-range-picker`, {
437
+ events: [{"name":"input:end","propName":"onInput:end"},{"name":"input:start","propName":"onInput:start"}],
438
+ attributes: [],
439
+ properties: ['initialStart', 'initialEnd', 'start', 'end', 'currentStart', 'currentEnd', 'setFormValue', 'label', 'min', 'max', 'initialValue', 'currentValue', 'readOnly', 'value']
440
+ })
441
+
442
+ VwcDateRangePicker.displayName = 'VwcDateRangePicker'
443
+
444
+ export default VwcDateRangePicker
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-date-range-picker",
3
+ "version": "3.40.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.40.0"
10
+ }
11
+ }
@@ -10,6 +10,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
10
10
  * @param {string | null} ariaLabelledBy **attribute** `aria-labelledby`
11
11
  * @param {string | null} ariaLabel **attribute** `aria-label`
12
12
  * @param {string | null} ariaDescribedBy **attribute** `aria-describedby`
13
+ * @param {string | null} dismissButtonAriaLabel **attribute** `dismiss-button-aria-label`
13
14
  * @param {string} returnValue
14
15
  * @param {HTMLElement[] | undefined} footerSlottedContent
15
16
  * @param {HTMLElement[] | undefined} actionItemsSlottedContent
@@ -31,6 +32,7 @@ declare const VwcDialog: {
31
32
  ariaLabelledBy?: string | null | undefined;
32
33
  ariaLabel?: string | null | undefined;
33
34
  ariaDescribedBy?: string | null | undefined;
35
+ dismissButtonAriaLabel?: string | null | undefined;
34
36
  returnValue?: string | undefined;
35
37
  footerSlottedContent?: any;
36
38
  actionItemsSlottedContent?: any;
@@ -100,6 +100,14 @@ Code in this file were generated using following JSON:
100
100
  },
101
101
  "default": "null"
102
102
  },
103
+ {
104
+ "kind": "field",
105
+ "name": "dismissButtonAriaLabel",
106
+ "type": {
107
+ "text": "string | null"
108
+ },
109
+ "default": "null"
110
+ },
103
111
  {
104
112
  "kind": "field",
105
113
  "name": "#modal",
@@ -204,7 +212,7 @@ Code in this file were generated using following JSON:
204
212
  ],
205
213
  "events": [
206
214
  {
207
- "description": "Fired when the dialog is closed",
215
+ "description": "Fired when the dialog is closed.",
208
216
  "name": "close"
209
217
  }
210
218
  ],
@@ -276,6 +284,14 @@ Code in this file were generated using following JSON:
276
284
  },
277
285
  "default": "null",
278
286
  "fieldName": "ariaDescribedBy"
287
+ },
288
+ {
289
+ "name": "dismiss-button-aria-label",
290
+ "type": {
291
+ "text": "string | null"
292
+ },
293
+ "default": "null",
294
+ "fieldName": "dismissButtonAriaLabel"
279
295
  }
280
296
  ],
281
297
  "superclass": {
@@ -292,7 +308,7 @@ registerDialog('vvd3')
292
308
  const VwcDialog = wrapper(`vvd3-dialog`, {
293
309
  events: [{"name":"close","propName":"onClose"}],
294
310
  attributes: [],
295
- properties: ['open', 'icon', 'iconPlacement', 'subtitle', 'headline', 'fullWidthBody', 'ariaLabelledBy', 'ariaLabel', 'ariaDescribedBy', 'returnValue', 'footerSlottedContent', 'actionItemsSlottedContent']
311
+ properties: ['open', 'icon', 'iconPlacement', 'subtitle', 'headline', 'fullWidthBody', 'ariaLabelledBy', 'ariaLabel', 'ariaDescribedBy', 'dismissButtonAriaLabel', 'returnValue', 'footerSlottedContent', 'actionItemsSlottedContent']
296
312
  })
297
313
 
298
314
  VwcDialog.displayName = 'VwcDialog'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-dialog",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-divider",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-elevation",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-empty-state",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-fab",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }