@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
|
@@ -95,16 +95,16 @@ Code in this file were generated using following JSON:
|
|
|
95
95
|
}
|
|
96
96
|
*/
|
|
97
97
|
import wrapper from '@vonage/vivid-react-wrapper'
|
|
98
|
-
import {
|
|
98
|
+
import { registerOption } from '@vonage/vivid'
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
registerOption('vvd3')
|
|
101
101
|
|
|
102
|
-
const
|
|
102
|
+
const VwcOption = wrapper(`vvd3-option`, {
|
|
103
103
|
events: [],
|
|
104
104
|
attributes: [],
|
|
105
105
|
properties: ['_text', 'text', '_label', 'label']
|
|
106
106
|
})
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
VwcOption.displayName = 'VwcOption'
|
|
109
109
|
|
|
110
|
-
export default
|
|
110
|
+
export default VwcOption
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox-option",
|
|
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-pagination",
|
|
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/VwcPopup/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-popup",
|
|
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,9 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for progress
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress
|
|
4
|
-
* @param {
|
|
5
|
-
* @param {
|
|
6
|
-
* @param {
|
|
4
|
+
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
|
+
* @param {ProgressShape | undefined} shape - Indicates the progress' shape. **attribute** `shape`
|
|
6
|
+
* @param {ProgressConnotation | undefined} connotation - Indicates the progress' connotation. **attribute** `connotation`
|
|
7
|
+
* @param {boolean} reverse - Indicates the progress' reverse status. **attribute** `reverse`
|
|
7
8
|
*/
|
|
8
9
|
declare const VwcProgress: {
|
|
9
10
|
(props: {
|
|
@@ -12,6 +13,7 @@ declare const VwcProgress: {
|
|
|
12
13
|
id?: string | undefined;
|
|
13
14
|
style?: React.CSSProperties | undefined;
|
|
14
15
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
+
ariaLabel?: string | null | undefined;
|
|
15
17
|
shape?: any;
|
|
16
18
|
connotation?: any;
|
|
17
19
|
reverse?: boolean | undefined;
|
package/v3/VwcProgress/index.js
CHANGED
|
@@ -42,19 +42,31 @@ Code in this file were generated using following JSON:
|
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"members": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "ariaLabel",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "string | null"
|
|
50
|
+
},
|
|
51
|
+
"default": "null"
|
|
52
|
+
},
|
|
45
53
|
{
|
|
46
54
|
"kind": "field",
|
|
47
55
|
"name": "shape",
|
|
48
56
|
"type": {
|
|
49
57
|
"text": "ProgressShape | undefined"
|
|
50
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"description": "Indicates the progress' shape.",
|
|
60
|
+
"privacy": "public"
|
|
51
61
|
},
|
|
52
62
|
{
|
|
53
63
|
"kind": "field",
|
|
54
64
|
"name": "connotation",
|
|
55
65
|
"type": {
|
|
56
66
|
"text": "ProgressConnotation | undefined"
|
|
57
|
-
}
|
|
67
|
+
},
|
|
68
|
+
"description": "Indicates the progress' connotation.",
|
|
69
|
+
"privacy": "public"
|
|
58
70
|
},
|
|
59
71
|
{
|
|
60
72
|
"kind": "field",
|
|
@@ -62,15 +74,26 @@ Code in this file were generated using following JSON:
|
|
|
62
74
|
"type": {
|
|
63
75
|
"text": "boolean"
|
|
64
76
|
},
|
|
65
|
-
"default": "false"
|
|
77
|
+
"default": "false",
|
|
78
|
+
"description": "Indicates the progress' reverse status.",
|
|
79
|
+
"privacy": "public"
|
|
66
80
|
}
|
|
67
81
|
],
|
|
68
82
|
"attributes": [
|
|
83
|
+
{
|
|
84
|
+
"name": "aria-label",
|
|
85
|
+
"type": {
|
|
86
|
+
"text": "string | null"
|
|
87
|
+
},
|
|
88
|
+
"default": "null",
|
|
89
|
+
"fieldName": "ariaLabel"
|
|
90
|
+
},
|
|
69
91
|
{
|
|
70
92
|
"name": "shape",
|
|
71
93
|
"type": {
|
|
72
94
|
"text": "ProgressShape | undefined"
|
|
73
95
|
},
|
|
96
|
+
"description": "Indicates the progress' shape.",
|
|
74
97
|
"fieldName": "shape"
|
|
75
98
|
},
|
|
76
99
|
{
|
|
@@ -78,6 +101,7 @@ Code in this file were generated using following JSON:
|
|
|
78
101
|
"type": {
|
|
79
102
|
"text": "ProgressConnotation | undefined"
|
|
80
103
|
},
|
|
104
|
+
"description": "Indicates the progress' connotation.",
|
|
81
105
|
"fieldName": "connotation"
|
|
82
106
|
},
|
|
83
107
|
{
|
|
@@ -85,6 +109,7 @@ Code in this file were generated using following JSON:
|
|
|
85
109
|
"text": "boolean"
|
|
86
110
|
},
|
|
87
111
|
"default": "false",
|
|
112
|
+
"description": "Indicates the progress' reverse status.",
|
|
88
113
|
"fieldName": "reverse"
|
|
89
114
|
}
|
|
90
115
|
],
|
|
@@ -102,7 +127,7 @@ registerProgress('vvd3')
|
|
|
102
127
|
const VwcProgress = wrapper(`vvd3-progress`, {
|
|
103
128
|
events: [],
|
|
104
129
|
attributes: [],
|
|
105
|
-
properties: ['shape', 'connotation', 'reverse']
|
|
130
|
+
properties: ['ariaLabel', 'shape', 'connotation', 'reverse']
|
|
106
131
|
})
|
|
107
132
|
|
|
108
133
|
VwcProgress.displayName = 'VwcProgress'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress",
|
|
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,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for progress-ring
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress-ring
|
|
4
|
+
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
4
5
|
* @param {ProgressRingConnotation | undefined} connotation **attribute** `connotation`
|
|
5
6
|
* @param {-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
|
|
6
7
|
*/
|
|
@@ -11,6 +12,7 @@ declare const VwcProgressRing: {
|
|
|
11
12
|
id?: string | undefined;
|
|
12
13
|
style?: React.CSSProperties | undefined;
|
|
13
14
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
15
|
+
ariaLabel?: string | null | undefined;
|
|
14
16
|
connotation?: any;
|
|
15
17
|
size?: any;
|
|
16
18
|
}): JSX.Element;
|
|
@@ -26,6 +26,14 @@ Code in this file were generated using following JSON:
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "ariaLabel",
|
|
32
|
+
"type": {
|
|
33
|
+
"text": "string | null"
|
|
34
|
+
},
|
|
35
|
+
"default": "null"
|
|
36
|
+
},
|
|
29
37
|
{
|
|
30
38
|
"kind": "field",
|
|
31
39
|
"name": "connotation",
|
|
@@ -42,6 +50,14 @@ Code in this file were generated using following JSON:
|
|
|
42
50
|
}
|
|
43
51
|
],
|
|
44
52
|
"attributes": [
|
|
53
|
+
{
|
|
54
|
+
"name": "aria-label",
|
|
55
|
+
"type": {
|
|
56
|
+
"text": "string | null"
|
|
57
|
+
},
|
|
58
|
+
"default": "null",
|
|
59
|
+
"fieldName": "ariaLabel"
|
|
60
|
+
},
|
|
45
61
|
{
|
|
46
62
|
"name": "connotation",
|
|
47
63
|
"type": {
|
|
@@ -71,7 +87,7 @@ registerProgressRing('vvd3')
|
|
|
71
87
|
const VwcProgressRing = wrapper(`vvd3-progress-ring`, {
|
|
72
88
|
events: [],
|
|
73
89
|
attributes: [],
|
|
74
|
-
properties: ['connotation', 'size']
|
|
90
|
+
properties: ['ariaLabel', 'connotation', 'size']
|
|
75
91
|
})
|
|
76
92
|
|
|
77
93
|
VwcProgressRing.displayName = 'VwcProgressRing'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress-ring",
|
|
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/VwcRadio/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for radio
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/radio
|
|
4
|
+
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
4
5
|
* @param {string | undefined} label - Indicates the radio's label. **attribute** `label`
|
|
5
6
|
* @param {RadioConnotation | undefined} connotation - The connotation the radioButton should have. **attribute** `connotation`
|
|
6
7
|
*/
|
|
@@ -11,6 +12,8 @@ declare const VwcRadio: {
|
|
|
11
12
|
id?: string | undefined;
|
|
12
13
|
style?: React.CSSProperties | undefined;
|
|
13
14
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
15
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
16
|
+
ariaLabel?: string | null | undefined;
|
|
14
17
|
label?: string | undefined;
|
|
15
18
|
connotation?: any;
|
|
16
19
|
}): JSX.Element;
|
package/v3/VwcRadio/index.js
CHANGED
|
@@ -58,6 +58,14 @@ Code in this file were generated using following JSON:
|
|
|
58
58
|
}
|
|
59
59
|
],
|
|
60
60
|
"members": [
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "ariaLabel",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "string | null"
|
|
66
|
+
},
|
|
67
|
+
"default": "null"
|
|
68
|
+
},
|
|
61
69
|
{
|
|
62
70
|
"kind": "field",
|
|
63
71
|
"name": "label",
|
|
@@ -78,6 +86,14 @@ Code in this file were generated using following JSON:
|
|
|
78
86
|
}
|
|
79
87
|
],
|
|
80
88
|
"attributes": [
|
|
89
|
+
{
|
|
90
|
+
"name": "aria-label",
|
|
91
|
+
"type": {
|
|
92
|
+
"text": "string | null"
|
|
93
|
+
},
|
|
94
|
+
"default": "null",
|
|
95
|
+
"fieldName": "ariaLabel"
|
|
96
|
+
},
|
|
81
97
|
{
|
|
82
98
|
"name": "label",
|
|
83
99
|
"type": {
|
|
@@ -107,9 +123,9 @@ import { registerRadio } from '@vonage/vivid'
|
|
|
107
123
|
registerRadio('vvd3')
|
|
108
124
|
|
|
109
125
|
const VwcRadio = wrapper(`vvd3-radio`, {
|
|
110
|
-
events: [],
|
|
126
|
+
events: [{"name":"change","propName":"onChange"}],
|
|
111
127
|
attributes: [],
|
|
112
|
-
properties: ['label', 'connotation']
|
|
128
|
+
properties: ['ariaLabel', 'label', 'connotation']
|
|
113
129
|
})
|
|
114
130
|
|
|
115
131
|
VwcRadio.displayName = 'VwcRadio'
|
package/v3/VwcRadio/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-radio",
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for radio-group
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/radio-group
|
|
4
4
|
* @param {string | undefined} label - Indicates the group's label. **attribute** `label`
|
|
@@ -10,6 +10,7 @@ declare const VwcRadioGroup: {
|
|
|
10
10
|
id?: string | undefined;
|
|
11
11
|
style?: React.CSSProperties | undefined;
|
|
12
12
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
13
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
13
14
|
label?: string | undefined;
|
|
14
15
|
}): JSX.Element;
|
|
15
16
|
displayName: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-radio-group",
|
|
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/VwcSelect/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for select
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/select
|
|
4
4
|
* @param {Popup} _popup
|
|
@@ -15,6 +15,7 @@ declare const VwcSelect: {
|
|
|
15
15
|
id?: string | undefined;
|
|
16
16
|
style?: React.CSSProperties | undefined;
|
|
17
17
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
18
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
18
19
|
_popup?: any;
|
|
19
20
|
_anchor?: any;
|
|
20
21
|
appearance?: any;
|
package/v3/VwcSelect/index.js
CHANGED
|
@@ -188,7 +188,7 @@ import { registerSelect } from '@vonage/vivid'
|
|
|
188
188
|
registerSelect('vvd3')
|
|
189
189
|
|
|
190
190
|
const VwcSelect = wrapper(`vvd3-select`, {
|
|
191
|
-
events: [],
|
|
191
|
+
events: [{"name":"change","propName":"onChange"}],
|
|
192
192
|
attributes: [],
|
|
193
193
|
properties: ['_popup', '_anchor', 'appearance', 'shape', 'fixedDropdown', 'placeholder']
|
|
194
194
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-select",
|
|
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
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
/** Base class for selectable-box
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/selectable-box
|
|
4
|
+
* @param {boolean} checked - Controls the checked state of the box **attribute** `checked`
|
|
5
|
+
* @param {boolean} clickable - Makes the whole selectable box clickable **attribute** `clickable`
|
|
6
|
+
* @param {SelectableBoxConnotation | undefined} connotation - The connotation the selectable box should have. **attribute** `connotation`
|
|
7
|
+
* @param {string | null} controlAriaLabel - Adds an accessible label to selectable box **attribute** `control-aria-label`
|
|
8
|
+
* @param {string | null} controlAriaLabelledby - Links a piece of content as an accessible label **attribute** `control-aria-labelledby`
|
|
9
|
+
* @param {SelectableBoxControlType | undefined} controlType - The type of control the box should have: checkbox or radio. **attribute** `control-type`
|
|
10
|
+
* @param {boolean} tight - Removes the padding around the box's slot content **attribute** `tight`
|
|
11
|
+
*/
|
|
12
|
+
declare const VwcSelectableBox: {
|
|
13
|
+
(props: {
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
slot?: string | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
style?: React.CSSProperties | undefined;
|
|
18
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
20
|
+
checked?: boolean | undefined;
|
|
21
|
+
clickable?: boolean | undefined;
|
|
22
|
+
connotation?: any;
|
|
23
|
+
controlAriaLabel?: string | null | undefined;
|
|
24
|
+
controlAriaLabelledby?: string | null | undefined;
|
|
25
|
+
controlType?: any;
|
|
26
|
+
tight?: boolean | undefined;
|
|
27
|
+
}): JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export default VwcSelectableBox;
|
|
@@ -0,0 +1,197 @@
|
|
|
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 selectable-box",
|
|
9
|
+
"name": "SelectableBox",
|
|
10
|
+
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-selectable-box-cta-firm",
|
|
13
|
+
"default": "var(--vvd-color-cta-600)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-selectable-box-cta-pale",
|
|
17
|
+
"default": "var(--vvd-color-cta-300)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-selectable-box-cta-soft",
|
|
21
|
+
"default": "var(--vvd-color-cta-100)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-selectable-box-accent-firm",
|
|
25
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-selectable-box-accent-pale",
|
|
29
|
+
"default": "var(--vvd-color-neutral-300)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-selectable-box-accent-soft",
|
|
33
|
+
"default": "var(--vvd-color-neutral-100)"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"slots": [
|
|
37
|
+
{
|
|
38
|
+
"description": "Slot for box's content.",
|
|
39
|
+
"name": "default"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"members": [
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
45
|
+
"name": "checked",
|
|
46
|
+
"type": {
|
|
47
|
+
"text": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"default": "false",
|
|
50
|
+
"description": "Controls the checked state of the box",
|
|
51
|
+
"privacy": "public"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "field",
|
|
55
|
+
"name": "clickable",
|
|
56
|
+
"type": {
|
|
57
|
+
"text": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"default": "false",
|
|
60
|
+
"description": "Makes the whole selectable box clickable",
|
|
61
|
+
"privacy": "public"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "field",
|
|
65
|
+
"name": "connotation",
|
|
66
|
+
"type": {
|
|
67
|
+
"text": "SelectableBoxConnotation | undefined"
|
|
68
|
+
},
|
|
69
|
+
"description": "The connotation the selectable box should have.",
|
|
70
|
+
"privacy": "public"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "field",
|
|
74
|
+
"name": "controlAriaLabel",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "string | null"
|
|
77
|
+
},
|
|
78
|
+
"default": "null",
|
|
79
|
+
"description": "Adds an accessible label to selectable box",
|
|
80
|
+
"privacy": "public"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "field",
|
|
84
|
+
"name": "controlAriaLabelledby",
|
|
85
|
+
"type": {
|
|
86
|
+
"text": "string | null"
|
|
87
|
+
},
|
|
88
|
+
"default": "null",
|
|
89
|
+
"description": "Links a piece of content as an accessible label",
|
|
90
|
+
"privacy": "public"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "field",
|
|
94
|
+
"name": "controlType",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "SelectableBoxControlType | undefined"
|
|
97
|
+
},
|
|
98
|
+
"description": "The type of control the box should have: checkbox or radio.",
|
|
99
|
+
"privacy": "public"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "tight",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "boolean"
|
|
106
|
+
},
|
|
107
|
+
"default": "false",
|
|
108
|
+
"description": "Removes the padding around the box's slot content",
|
|
109
|
+
"privacy": "public"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"events": [
|
|
113
|
+
{
|
|
114
|
+
"description": "Fired when the checked state changes",
|
|
115
|
+
"name": "change"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"attributes": [
|
|
119
|
+
{
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "boolean"
|
|
122
|
+
},
|
|
123
|
+
"default": "false",
|
|
124
|
+
"description": "Controls the checked state of the box",
|
|
125
|
+
"fieldName": "checked"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": {
|
|
129
|
+
"text": "boolean"
|
|
130
|
+
},
|
|
131
|
+
"default": "false",
|
|
132
|
+
"description": "Makes the whole selectable box clickable",
|
|
133
|
+
"fieldName": "clickable"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "connotation",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "SelectableBoxConnotation | undefined"
|
|
139
|
+
},
|
|
140
|
+
"description": "The connotation the selectable box should have.",
|
|
141
|
+
"fieldName": "connotation"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "control-aria-label",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "string | null"
|
|
147
|
+
},
|
|
148
|
+
"default": "null",
|
|
149
|
+
"description": "Adds an accessible label to selectable box",
|
|
150
|
+
"fieldName": "controlAriaLabel"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "control-aria-labelledby",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "string | null"
|
|
156
|
+
},
|
|
157
|
+
"default": "null",
|
|
158
|
+
"description": "Links a piece of content as an accessible label",
|
|
159
|
+
"fieldName": "controlAriaLabelledby"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "control-type",
|
|
163
|
+
"type": {
|
|
164
|
+
"text": "SelectableBoxControlType | undefined"
|
|
165
|
+
},
|
|
166
|
+
"description": "The type of control the box should have: checkbox or radio.",
|
|
167
|
+
"fieldName": "controlType"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "boolean"
|
|
172
|
+
},
|
|
173
|
+
"default": "false",
|
|
174
|
+
"description": "Removes the padding around the box's slot content",
|
|
175
|
+
"fieldName": "tight"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"superclass": {
|
|
179
|
+
"name": "FoundationElement",
|
|
180
|
+
"package": "@microsoft/fast-foundation"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
*/
|
|
184
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
185
|
+
import { registerSelectableBox } from '@vonage/vivid'
|
|
186
|
+
|
|
187
|
+
registerSelectableBox('vvd3')
|
|
188
|
+
|
|
189
|
+
const VwcSelectableBox = wrapper(`vvd3-selectable-box`, {
|
|
190
|
+
events: [{"name":"change","propName":"onChange"}],
|
|
191
|
+
attributes: [],
|
|
192
|
+
properties: ['checked', 'clickable', 'connotation', 'controlAriaLabel', 'controlAriaLabelledby', 'controlType', 'tight']
|
|
193
|
+
})
|
|
194
|
+
|
|
195
|
+
VwcSelectableBox.displayName = 'VwcSelectableBox'
|
|
196
|
+
|
|
197
|
+
export default VwcSelectableBox
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for side-drawer
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/side-drawer
|
|
4
4
|
* @param {boolean} alternate - applies scheme alternate region **attribute** `alternate`
|
|
@@ -13,6 +13,8 @@ declare const VwcSideDrawer: {
|
|
|
13
13
|
id?: string | undefined;
|
|
14
14
|
style?: React.CSSProperties | undefined;
|
|
15
15
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
+
onClose?: ((event: SyntheticEvent) => void) | undefined;
|
|
17
|
+
onOpen?: ((event: SyntheticEvent) => void) | undefined;
|
|
16
18
|
alternate?: boolean | undefined;
|
|
17
19
|
modal?: boolean | undefined;
|
|
18
20
|
open?: boolean | undefined;
|