@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.
- package/VwcAccordion/package.json +1 -1
- package/VwcActionGroup/package.json +1 -1
- package/VwcBadge/package.json +1 -1
- package/VwcBanner/package.json +1 -1
- package/VwcButton/package.json +1 -1
- package/VwcButtonToggleGroup/package.json +1 -1
- package/VwcCalendar/package.json +1 -1
- package/VwcCalendarEvent/package.json +1 -1
- package/VwcCard/package.json +1 -1
- package/VwcCarousel/package.json +1 -1
- package/VwcCarouselItem/package.json +1 -1
- package/VwcCheckListItem/package.json +1 -1
- package/VwcCheckbox/package.json +1 -1
- package/VwcChip/package.json +1 -1
- package/VwcChipSet/package.json +1 -1
- package/VwcCircularProgress/package.json +1 -1
- package/VwcDataGrid/package.json +1 -1
- package/VwcDataGridColumn/package.json +1 -1
- package/VwcDatepicker/package.json +1 -1
- package/VwcDialog/package.json +1 -1
- package/VwcDrawer/package.json +1 -1
- package/VwcDropdown/package.json +1 -1
- package/VwcElevation/package.json +1 -1
- package/VwcEmptyState/package.json +1 -1
- package/VwcExpansionPanel/package.json +1 -1
- package/VwcFab/package.json +1 -1
- package/VwcFilePicker/package.json +1 -1
- package/VwcFormfield/package.json +1 -1
- package/VwcHelperMessage/package.json +1 -1
- package/VwcIcon/package.json +1 -1
- package/VwcIconButton/package.json +1 -1
- package/VwcIconButtonToggle/package.json +1 -1
- package/VwcKeypad/package.json +1 -1
- package/VwcLayout/package.json +1 -1
- package/VwcLinearProgress/package.json +1 -1
- package/VwcList/package.json +1 -1
- package/VwcListExpansionPanel/package.json +1 -1
- package/VwcListItem/package.json +1 -1
- package/VwcMenu/package.json +1 -1
- package/VwcNotchedOutline/package.json +1 -1
- package/VwcNote/package.json +1 -1
- package/VwcPagination/package.json +1 -1
- package/VwcPopup/package.json +1 -1
- package/VwcRadio/package.json +1 -1
- package/VwcRadioListItem/package.json +1 -1
- package/VwcSchemeSelect/package.json +1 -1
- package/VwcScrubBar/package.json +1 -1
- package/VwcSelect/package.json +1 -1
- package/VwcSideDrawer/package.json +1 -1
- package/VwcSlider/package.json +1 -1
- package/VwcSnackbar/package.json +1 -1
- package/VwcSurface/package.json +1 -1
- package/VwcSwitch/package.json +1 -1
- package/VwcTab/package.json +1 -1
- package/VwcTabBar/package.json +1 -1
- package/VwcTag/package.json +1 -1
- package/VwcText/package.json +1 -1
- package/VwcTextarea/package.json +1 -1
- package/VwcTextfield/package.json +1 -1
- package/VwcThemeSwitch/package.json +1 -1
- package/VwcTooltip/package.json +1 -1
- package/VwcTopAppBar/package.json +1 -1
- package/VwcTopAppBarFixed/package.json +1 -1
- package/index.js +8 -8
- package/package.json +16 -10
- package/types/index.d.ts +42 -6
- package/v3/VwcAccordion/index.d.ts +2 -1
- package/v3/VwcAccordion/index.js +1 -1
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +4 -1
- package/v3/VwcCheckbox/index.js +18 -2
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +2 -1
- package/v3/VwcCombobox/index.js +1 -1
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.d.ts +1 -1
- package/v3/VwcDataGrid/index.js +4 -1
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +4 -3
- package/v3/VwcDataGridCell/index.js +15 -3
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +1 -1
- package/v3/VwcDataGridRow/index.js +4 -1
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +6 -6
- package/v3/VwcDatePicker/index.js +161 -100
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDatePickerBase/index.d.ts +29 -0
- package/v3/VwcDatePickerBase/index.js +248 -0
- package/v3/VwcDatePickerBase/package.json +11 -0
- package/v3/VwcDateRangePicker/index.d.ts +56 -0
- package/v3/VwcDateRangePicker/index.js +444 -0
- package/v3/VwcDateRangePicker/package.json +11 -0
- package/v3/VwcDialog/index.d.ts +2 -0
- package/v3/VwcDialog/index.js +18 -2
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +4 -2
- package/v3/VwcFilePicker/index.js +62 -20
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFocus/package.json +2 -2
- package/v3/{VwcFormAssociatedDatePicker → VwcFormAssociatedFilePicker}/index.d.ts +4 -6
- package/v3/VwcFormAssociatedFilePicker/index.js +44 -0
- package/v3/VwcFormAssociatedFilePicker/package.json +11 -0
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -0
- package/v3/VwcMenu/index.js +5 -1
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +6 -1
- package/v3/VwcMenuItem/index.js +38 -2
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +7 -1
- package/v3/VwcNumberField/index.js +34 -2
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/{VwcListboxOption → VwcOption}/index.d.ts +3 -3
- package/v3/{VwcListboxOption → VwcOption}/index.js +5 -5
- package/v3/{VwcListboxOption → VwcOption}/package.json +2 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPopup/package.json +2 -2
- package/v3/VwcProgress/index.d.ts +5 -3
- package/v3/VwcProgress/index.js +29 -4
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.d.ts +2 -0
- package/v3/VwcProgressRing/index.js +17 -1
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +4 -1
- package/v3/VwcRadio/index.js +18 -2
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.d.ts +2 -1
- package/v3/VwcRadioGroup/index.js +1 -1
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +2 -1
- package/v3/VwcSelect/index.js +1 -1
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +30 -0
- package/v3/VwcSelectableBox/index.js +197 -0
- package/v3/VwcSelectableBox/package.json +11 -0
- package/v3/VwcSideDrawer/index.d.ts +3 -1
- package/v3/VwcSideDrawer/index.js +11 -1
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +6 -0
- package/v3/VwcSlider/index.js +60 -1
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.d.ts +2 -1
- package/v3/VwcSplitButton/index.js +1 -1
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +3 -2
- package/v3/VwcSwitch/index.js +5 -2
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +2 -1
- package/v3/VwcTab/index.js +1 -1
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.d.ts +2 -1
- package/v3/VwcTabs/index.js +1 -1
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.d.ts +2 -1
- package/v3/VwcTagGroup/index.js +21 -1
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextAnchor/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +3 -2
- package/v3/VwcTextArea/index.js +12 -1
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +2 -2
- package/v3/VwcTextField/index.js +25 -1
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcFormAssociatedDatePicker/index.js +0 -52
- package/v3/VwcFormAssociatedDatePicker/package.json +0 -11
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** File-picker component
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/file-picker
|
|
4
|
-
* @param {string | undefined} label - Indicates the file picker's label. **attribute** `label`
|
|
5
4
|
* @param {number | undefined} maxFiles - The max files that can be selected. **attribute** `max-files`
|
|
6
5
|
* @param {number} maxFileSize - The max file size that can be selected. **attribute** `max-file-size`
|
|
7
6
|
* @param {string | undefined} accept - List of accepted files types **attribute** `accept`
|
|
8
7
|
* @param {FileUploaderSize | undefined} size - The size the file-uploader should have. **attribute** `size`
|
|
8
|
+
* @param setFormValue
|
|
9
9
|
* @param {boolean} autoDiscover
|
|
10
|
+
* @param {HTMLInputElement} proxy
|
|
10
11
|
*/
|
|
11
12
|
declare const VwcFilePicker: {
|
|
12
13
|
(props: {
|
|
@@ -16,12 +17,13 @@ declare const VwcFilePicker: {
|
|
|
16
17
|
style?: React.CSSProperties | undefined;
|
|
17
18
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
18
19
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
19
|
-
label?: string | undefined;
|
|
20
20
|
maxFiles?: any;
|
|
21
21
|
maxFileSize?: number | undefined;
|
|
22
22
|
accept?: string | undefined;
|
|
23
23
|
size?: any;
|
|
24
|
+
setFormValue?: any;
|
|
24
25
|
autoDiscover?: boolean | undefined;
|
|
26
|
+
proxy?: any;
|
|
25
27
|
}): JSX.Element;
|
|
26
28
|
displayName: string;
|
|
27
29
|
};
|
|
@@ -26,15 +26,6 @@ Code in this file were generated using following JSON:
|
|
|
26
26
|
"privacy": "public",
|
|
27
27
|
"readonly": true
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"kind": "field",
|
|
31
|
-
"name": "label",
|
|
32
|
-
"type": {
|
|
33
|
-
"text": "string | undefined"
|
|
34
|
-
},
|
|
35
|
-
"description": "Indicates the file picker's label.",
|
|
36
|
-
"privacy": "public"
|
|
37
|
-
},
|
|
38
29
|
{
|
|
39
30
|
"kind": "field",
|
|
40
31
|
"name": "maxFiles",
|
|
@@ -141,6 +132,24 @@ Code in this file were generated using following JSON:
|
|
|
141
132
|
"description": "The size the file-uploader should have.",
|
|
142
133
|
"privacy": "public"
|
|
143
134
|
},
|
|
135
|
+
{
|
|
136
|
+
"kind": "method",
|
|
137
|
+
"name": "nameChanged",
|
|
138
|
+
"parameters": [
|
|
139
|
+
{
|
|
140
|
+
"name": "previous",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "string"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "next",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "string"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
144
153
|
{
|
|
145
154
|
"kind": "field",
|
|
146
155
|
"name": "buttonTag",
|
|
@@ -178,6 +187,36 @@ Code in this file were generated using following JSON:
|
|
|
178
187
|
}
|
|
179
188
|
}
|
|
180
189
|
},
|
|
190
|
+
{
|
|
191
|
+
"kind": "method",
|
|
192
|
+
"name": "#updateFormValue"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "method",
|
|
196
|
+
"name": "#setValueToAFakePathLikeNativeInput"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "setFormValue"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "method",
|
|
204
|
+
"name": "validate",
|
|
205
|
+
"return": {
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "void"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "method",
|
|
213
|
+
"name": "formResetCallback",
|
|
214
|
+
"return": {
|
|
215
|
+
"type": {
|
|
216
|
+
"text": "void"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
181
220
|
{
|
|
182
221
|
"kind": "field",
|
|
183
222
|
"name": "autoDiscover",
|
|
@@ -185,6 +224,17 @@ Code in this file were generated using following JSON:
|
|
|
185
224
|
"text": "boolean"
|
|
186
225
|
},
|
|
187
226
|
"default": "false"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "field",
|
|
230
|
+
"name": "proxy",
|
|
231
|
+
"type": {
|
|
232
|
+
"text": "HTMLInputElement"
|
|
233
|
+
},
|
|
234
|
+
"inheritedFrom": {
|
|
235
|
+
"name": "FormAssociatedFilePicker",
|
|
236
|
+
"module": "libs/components/src/lib/file-picker/file-picker.form-associated.ts"
|
|
237
|
+
}
|
|
188
238
|
}
|
|
189
239
|
],
|
|
190
240
|
"events": [
|
|
@@ -194,14 +244,6 @@ Code in this file were generated using following JSON:
|
|
|
194
244
|
}
|
|
195
245
|
],
|
|
196
246
|
"attributes": [
|
|
197
|
-
{
|
|
198
|
-
"name": "label",
|
|
199
|
-
"type": {
|
|
200
|
-
"text": "string | undefined"
|
|
201
|
-
},
|
|
202
|
-
"description": "Indicates the file picker's label.",
|
|
203
|
-
"fieldName": "label"
|
|
204
|
-
},
|
|
205
247
|
{
|
|
206
248
|
"name": "max-files",
|
|
207
249
|
"type": {
|
|
@@ -237,8 +279,8 @@ Code in this file were generated using following JSON:
|
|
|
237
279
|
}
|
|
238
280
|
],
|
|
239
281
|
"superclass": {
|
|
240
|
-
"name": "
|
|
241
|
-
"
|
|
282
|
+
"name": "FormAssociatedFilePicker",
|
|
283
|
+
"module": "/libs/components/src/lib/file-picker/file-picker.form-associated"
|
|
242
284
|
}
|
|
243
285
|
}
|
|
244
286
|
*/
|
|
@@ -250,7 +292,7 @@ registerFilePicker('vvd3')
|
|
|
250
292
|
const VwcFilePicker = wrapper(`vvd3-file-picker`, {
|
|
251
293
|
events: [{"name":"change","propName":"onChange"}],
|
|
252
294
|
attributes: [],
|
|
253
|
-
properties: ['
|
|
295
|
+
properties: ['maxFiles', 'maxFileSize', 'accept', 'size', 'setFormValue', 'autoDiscover', 'proxy']
|
|
254
296
|
})
|
|
255
297
|
|
|
256
298
|
VwcFilePicker.displayName = 'VwcFilePicker'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-file-picker",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcFocus/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-focus",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* For more info on this Vivid element please visit https://vivid.deno.dev/components/form-associated-
|
|
2
|
+
/** VwcFormAssociatedFilePicker
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/form-associated-file-picker
|
|
4
4
|
* @param {HTMLInputElement} proxy
|
|
5
|
-
* @param {string} type
|
|
6
5
|
*/
|
|
7
|
-
declare const
|
|
6
|
+
declare const VwcFormAssociatedFilePicker: {
|
|
8
7
|
(props: {
|
|
9
8
|
children?: ReactNode;
|
|
10
9
|
slot?: string | undefined;
|
|
@@ -12,8 +11,7 @@ declare const VwcFormAssociatedDatePicker: {
|
|
|
12
11
|
style?: React.CSSProperties | undefined;
|
|
13
12
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
13
|
proxy?: any;
|
|
15
|
-
type?: string | undefined;
|
|
16
14
|
}): JSX.Element;
|
|
17
15
|
displayName: string;
|
|
18
16
|
};
|
|
19
|
-
export default
|
|
17
|
+
export default VwcFormAssociatedFilePicker;
|
|
@@ -0,0 +1,44 @@
|
|
|
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": "",
|
|
9
|
+
"name": "FormAssociatedFilePicker",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "proxy",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "HTMLInputElement"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"mixins": [
|
|
20
|
+
{
|
|
21
|
+
"name": "FormAssociated",
|
|
22
|
+
"package": "@microsoft/fast-foundation"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"superclass": {
|
|
26
|
+
"name": "_FilePicker",
|
|
27
|
+
"module": "libs/components/src/lib/file-picker/file-picker.form-associated.ts"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
*/
|
|
31
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
32
|
+
import { registerFormAssociatedFilePicker } from '@vonage/vivid'
|
|
33
|
+
|
|
34
|
+
registerFormAssociatedFilePicker('vvd3')
|
|
35
|
+
|
|
36
|
+
const VwcFormAssociatedFilePicker = wrapper(`vvd3-form-associated-file-picker`, {
|
|
37
|
+
events: [],
|
|
38
|
+
attributes: [],
|
|
39
|
+
properties: ['proxy']
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
VwcFormAssociatedFilePicker.displayName = 'VwcFormAssociatedFilePicker'
|
|
43
|
+
|
|
44
|
+
export default VwcFormAssociatedFilePicker
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-header",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcIcon/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-icon",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-layout",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcMenu/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
7
7
|
the user clicks outside the menu **attribute** `auto-dismiss`
|
|
8
8
|
* @param {boolean} open - indicates whether the menu is open **attribute** `open`
|
|
9
9
|
* @param {HTMLElement[] | undefined} actionItemsSlottedContent
|
|
10
|
+
* @param handleFocusOut
|
|
10
11
|
*/
|
|
11
12
|
declare const VwcMenu: {
|
|
12
13
|
(props: {
|
|
@@ -22,6 +23,7 @@ declare const VwcMenu: {
|
|
|
22
23
|
autoDismiss?: boolean | undefined;
|
|
23
24
|
open?: boolean | undefined;
|
|
24
25
|
actionItemsSlottedContent?: any;
|
|
26
|
+
handleFocusOut?: any;
|
|
25
27
|
}): JSX.Element;
|
|
26
28
|
displayName: string;
|
|
27
29
|
};
|
package/v3/VwcMenu/index.js
CHANGED
|
@@ -193,6 +193,10 @@ Code in this file were generated using following JSON:
|
|
|
193
193
|
"type": {
|
|
194
194
|
"text": "HTMLElement[] | undefined"
|
|
195
195
|
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "field",
|
|
199
|
+
"name": "handleFocusOut"
|
|
196
200
|
}
|
|
197
201
|
],
|
|
198
202
|
"events": [
|
|
@@ -254,7 +258,7 @@ registerMenu('vvd3')
|
|
|
254
258
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
255
259
|
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
256
260
|
attributes: [],
|
|
257
|
-
properties: ['placement', 'anchor', 'autoDismiss', 'open', 'actionItemsSlottedContent']
|
|
261
|
+
properties: ['placement', 'anchor', 'autoDismiss', 'open', 'actionItemsSlottedContent', 'handleFocusOut']
|
|
258
262
|
})
|
|
259
263
|
|
|
260
264
|
VwcMenu.displayName = 'VwcMenu'
|
package/v3/VwcMenu/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for menu-item
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
|
|
4
4
|
* @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
|
|
5
5
|
* @param {string | undefined} textSecondary - Indicates the menu item's secondary text. **attribute** `text-secondary`
|
|
6
|
+
* @param {boolean} checkTrailing - Controls the placement of the menu item's checkmark or radio icon. **attribute** `check-trailing`
|
|
7
|
+
* @param {CheckAppearance | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
|
|
6
8
|
* @param updateSubmenu
|
|
7
9
|
*/
|
|
8
10
|
declare const VwcMenuItem: {
|
|
@@ -12,8 +14,11 @@ declare const VwcMenuItem: {
|
|
|
12
14
|
id?: string | undefined;
|
|
13
15
|
style?: React.CSSProperties | undefined;
|
|
14
16
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
15
18
|
text?: string | undefined;
|
|
16
19
|
textSecondary?: string | undefined;
|
|
20
|
+
checkTrailing?: boolean | undefined;
|
|
21
|
+
checkedAppearance?: any;
|
|
17
22
|
updateSubmenu?: any;
|
|
18
23
|
}): JSX.Element;
|
|
19
24
|
displayName: string;
|
package/v3/VwcMenuItem/index.js
CHANGED
|
@@ -66,6 +66,25 @@ Code in this file were generated using following JSON:
|
|
|
66
66
|
"description": "Indicates the menu item's secondary text.",
|
|
67
67
|
"privacy": "public"
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "field",
|
|
71
|
+
"name": "checkTrailing",
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "boolean"
|
|
74
|
+
},
|
|
75
|
+
"default": "false",
|
|
76
|
+
"description": "Controls the placement of the menu item's checkmark or radio icon.",
|
|
77
|
+
"privacy": "public"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "field",
|
|
81
|
+
"name": "checkedAppearance",
|
|
82
|
+
"type": {
|
|
83
|
+
"text": "CheckAppearance | undefined"
|
|
84
|
+
},
|
|
85
|
+
"description": "Controls the appearance of the check indicator.",
|
|
86
|
+
"privacy": "public"
|
|
87
|
+
},
|
|
69
88
|
{
|
|
70
89
|
"kind": "field",
|
|
71
90
|
"name": "#submenuArray",
|
|
@@ -108,6 +127,23 @@ Code in this file were generated using following JSON:
|
|
|
108
127
|
},
|
|
109
128
|
"description": "Indicates the menu item's secondary text.",
|
|
110
129
|
"fieldName": "textSecondary"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "check-trailing",
|
|
133
|
+
"type": {
|
|
134
|
+
"text": "boolean"
|
|
135
|
+
},
|
|
136
|
+
"default": "false",
|
|
137
|
+
"description": "Controls the placement of the menu item's checkmark or radio icon.",
|
|
138
|
+
"fieldName": "checkTrailing"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "check-appearance",
|
|
142
|
+
"type": {
|
|
143
|
+
"text": "CheckAppearance | undefined"
|
|
144
|
+
},
|
|
145
|
+
"description": "Controls the appearance of the check indicator.",
|
|
146
|
+
"fieldName": "checkedAppearance"
|
|
111
147
|
}
|
|
112
148
|
],
|
|
113
149
|
"superclass": {
|
|
@@ -122,9 +158,9 @@ import { registerMenuItem } from '@vonage/vivid'
|
|
|
122
158
|
registerMenuItem('vvd3')
|
|
123
159
|
|
|
124
160
|
const VwcMenuItem = wrapper(`vvd3-menu-item`, {
|
|
125
|
-
events: [],
|
|
161
|
+
events: [{"name":"change","propName":"onChange"}],
|
|
126
162
|
attributes: [],
|
|
127
|
-
properties: ['text', 'textSecondary', 'updateSubmenu']
|
|
163
|
+
properties: ['text', 'textSecondary', 'checkTrailing', 'checkedAppearance', 'updateSubmenu']
|
|
128
164
|
})
|
|
129
165
|
|
|
130
166
|
VwcMenuItem.displayName = 'VwcMenuItem'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu-item",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcNav/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-disclosure",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-item",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcNote/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-note",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for number-field
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/number-field
|
|
4
|
+
* @param {string | null} incrementButtonAriaLabel **attribute** `increment-button-aria-label`
|
|
5
|
+
* @param {string | null} decrementButtonAriaLabel **attribute** `decrement-button-aria-label`
|
|
4
6
|
* @param {NumberFieldAppearance | undefined} appearance **attribute** `appearance`
|
|
5
7
|
* @param {NumberFieldShape | undefined} shape **attribute** `shape`
|
|
6
8
|
* @param {string | undefined} autoComplete **attribute** `autoComplete`
|
|
@@ -12,6 +14,10 @@ declare const VwcNumberField: {
|
|
|
12
14
|
id?: string | undefined;
|
|
13
15
|
style?: React.CSSProperties | undefined;
|
|
14
16
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
18
|
+
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
19
|
+
incrementButtonAriaLabel?: string | null | undefined;
|
|
20
|
+
decrementButtonAriaLabel?: string | null | undefined;
|
|
15
21
|
appearance?: any;
|
|
16
22
|
shape?: any;
|
|
17
23
|
autoComplete?: string | undefined;
|
|
@@ -82,6 +82,22 @@ Code in this file were generated using following JSON:
|
|
|
82
82
|
}
|
|
83
83
|
],
|
|
84
84
|
"members": [
|
|
85
|
+
{
|
|
86
|
+
"kind": "field",
|
|
87
|
+
"name": "incrementButtonAriaLabel",
|
|
88
|
+
"type": {
|
|
89
|
+
"text": "string | null"
|
|
90
|
+
},
|
|
91
|
+
"default": "null"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "field",
|
|
95
|
+
"name": "decrementButtonAriaLabel",
|
|
96
|
+
"type": {
|
|
97
|
+
"text": "string | null"
|
|
98
|
+
},
|
|
99
|
+
"default": "null"
|
|
100
|
+
},
|
|
85
101
|
{
|
|
86
102
|
"kind": "field",
|
|
87
103
|
"name": "appearance",
|
|
@@ -136,6 +152,22 @@ Code in this file were generated using following JSON:
|
|
|
136
152
|
}
|
|
137
153
|
],
|
|
138
154
|
"attributes": [
|
|
155
|
+
{
|
|
156
|
+
"name": "increment-button-aria-label",
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "string | null"
|
|
159
|
+
},
|
|
160
|
+
"default": "null",
|
|
161
|
+
"fieldName": "incrementButtonAriaLabel"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "decrement-button-aria-label",
|
|
165
|
+
"type": {
|
|
166
|
+
"text": "string | null"
|
|
167
|
+
},
|
|
168
|
+
"default": "null",
|
|
169
|
+
"fieldName": "decrementButtonAriaLabel"
|
|
170
|
+
},
|
|
139
171
|
{
|
|
140
172
|
"name": "appearance",
|
|
141
173
|
"type": {
|
|
@@ -170,9 +202,9 @@ import { registerNumberField } from '@vonage/vivid'
|
|
|
170
202
|
registerNumberField('vvd3')
|
|
171
203
|
|
|
172
204
|
const VwcNumberField = wrapper(`vvd3-number-field`, {
|
|
173
|
-
events: [],
|
|
205
|
+
events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
|
|
174
206
|
attributes: [],
|
|
175
|
-
properties: ['appearance', 'shape', 'autoComplete']
|
|
207
|
+
properties: ['incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete']
|
|
176
208
|
})
|
|
177
209
|
|
|
178
210
|
VwcNumberField.displayName = 'VwcNumberField'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-number-field",
|
|
3
|
-
"version": "3.
|
|
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.
|
|
9
|
+
"@vonage/vivid": "3.40.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for option
|
|
3
|
-
* For more info on this Vivid element please visit https://vivid.deno.dev/components/
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/option
|
|
4
4
|
* @param {string | undefined} _text **attribute** `text`
|
|
5
5
|
* @param text
|
|
6
6
|
* @param {string | undefined} _label **attribute** `label`
|
|
7
7
|
* @param {string} label
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
9
|
+
declare const VwcOption: {
|
|
10
10
|
(props: {
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
slot?: string | undefined;
|
|
@@ -20,4 +20,4 @@ declare const VwcListboxOption: {
|
|
|
20
20
|
}): JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
|
-
export default
|
|
23
|
+
export default VwcOption;
|