@vonage/vivid-react 2.10.71 → 2.10.73
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/README.md +54 -54
- package/VwcAccordion/package.json +2 -2
- package/VwcActionGroup/package.json +2 -2
- package/VwcBadge/package.json +2 -2
- package/VwcBanner/package.json +2 -2
- package/VwcButton/package.json +2 -2
- package/VwcButtonToggleGroup/package.json +2 -2
- package/VwcCalendar/package.json +2 -2
- package/VwcCalendarEvent/package.json +2 -2
- package/VwcCard/package.json +2 -2
- package/VwcCarousel/package.json +2 -2
- package/VwcCarouselItem/package.json +2 -2
- package/VwcCheckListItem/package.json +2 -2
- package/VwcCheckbox/package.json +2 -2
- package/VwcChip/package.json +2 -2
- package/VwcChipSet/package.json +2 -2
- package/VwcCircularProgress/package.json +2 -2
- package/VwcDataGrid/package.json +2 -2
- package/VwcDataGridColumn/package.json +2 -2
- package/VwcDatepicker/package.json +2 -2
- package/VwcDialog/package.json +2 -2
- package/VwcDrawer/package.json +2 -2
- package/VwcDropdown/package.json +2 -2
- package/VwcElevation/package.json +2 -2
- package/VwcEmptyState/package.json +2 -2
- package/VwcExpansionPanel/package.json +2 -2
- package/VwcFab/package.json +2 -2
- package/VwcFilePicker/package.json +2 -2
- package/VwcFormfield/package.json +2 -2
- package/VwcHelperMessage/package.json +2 -2
- package/VwcIcon/package.json +2 -2
- package/VwcIconButton/package.json +2 -2
- package/VwcIconButtonToggle/package.json +2 -2
- package/VwcKeypad/package.json +2 -2
- package/VwcLayout/package.json +2 -2
- package/VwcLinearProgress/package.json +2 -2
- package/VwcList/package.json +2 -2
- package/VwcListExpansionPanel/package.json +2 -2
- package/VwcListItem/package.json +2 -2
- package/VwcMenu/package.json +2 -2
- package/VwcNotchedOutline/package.json +2 -2
- package/VwcNote/package.json +2 -2
- package/VwcPagination/package.json +2 -2
- package/VwcPopup/package.json +2 -2
- package/VwcRadio/package.json +2 -2
- package/VwcRadioListItem/package.json +2 -2
- package/VwcSchemeSelect/package.json +2 -2
- package/VwcScrubBar/package.json +2 -2
- package/VwcSelect/package.json +2 -2
- package/VwcSideDrawer/package.json +2 -2
- package/VwcSlider/package.json +2 -2
- package/VwcSnackbar/package.json +2 -2
- package/VwcSurface/package.json +2 -2
- package/VwcSwitch/package.json +2 -2
- package/VwcTab/package.json +2 -2
- package/VwcTabBar/package.json +2 -2
- package/VwcTag/package.json +2 -2
- package/VwcText/package.json +2 -2
- package/VwcTextarea/package.json +2 -2
- package/VwcTextfield/package.json +2 -2
- package/VwcThemeSwitch/package.json +2 -2
- package/VwcTooltip/package.json +2 -2
- package/VwcTopAppBar/package.json +2 -2
- package/VwcTopAppBarFixed/package.json +2 -2
- package/index.js +9 -9
- package/package.json +73 -67
- package/types/index.d.ts +48 -8
- 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/index.js +8 -0
- 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 +2 -0
- package/v3/VwcCheckbox/index.js +17 -1
- package/v3/VwcCheckbox/package.json +2 -2
- 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 +14 -10
- package/v3/VwcDatePicker/index.js +217 -92
- 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/index.js +6 -0
- 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/VwcFormAssociatedFilePicker/index.d.ts +17 -0
- 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/index.d.ts +4 -0
- package/v3/VwcListbox/index.js +71 -1
- 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 -0
- package/v3/VwcMenuItem/index.js +66 -1
- 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 +4 -0
- package/v3/VwcNumberField/index.js +64 -1
- 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 +3 -1
- package/v3/VwcProgressRing/index.js +19 -3
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +2 -0
- package/v3/VwcRadio/index.js +17 -1
- package/v3/VwcRadio/package.json +2 -2
- 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/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +1 -1
- package/v3/VwcSwitch/index.js +4 -1
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.js +6 -0
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- 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 +1 -1
- package/v3/VwcTextArea/index.js +11 -0
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +2 -0
- package/v3/VwcTextField/index.js +42 -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
|
@@ -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",
|
|
@@ -102,9 +118,56 @@ Code in this file were generated using following JSON:
|
|
|
102
118
|
"type": {
|
|
103
119
|
"text": "string | undefined"
|
|
104
120
|
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "method",
|
|
124
|
+
"name": "stepChanged",
|
|
125
|
+
"parameters": [
|
|
126
|
+
{
|
|
127
|
+
"name": "_previous",
|
|
128
|
+
"type": {
|
|
129
|
+
"text": "number"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "next",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "number"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "method",
|
|
142
|
+
"name": "stepUp"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "method",
|
|
146
|
+
"name": "stepDown",
|
|
147
|
+
"return": {
|
|
148
|
+
"type": {
|
|
149
|
+
"text": "void"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
105
152
|
}
|
|
106
153
|
],
|
|
107
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
|
+
},
|
|
108
171
|
{
|
|
109
172
|
"name": "appearance",
|
|
110
173
|
"type": {
|
|
@@ -141,7 +204,7 @@ registerNumberField('vvd3')
|
|
|
141
204
|
const VwcNumberField = wrapper(`vvd3-number-field`, {
|
|
142
205
|
events: [],
|
|
143
206
|
attributes: [],
|
|
144
|
-
properties: ['appearance', 'shape', 'autoComplete']
|
|
207
|
+
properties: ['incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete']
|
|
145
208
|
})
|
|
146
209
|
|
|
147
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;
|
|
@@ -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,8 +1,9 @@
|
|
|
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
|
-
* @param {-5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
|
|
6
|
+
* @param {-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
|
|
6
7
|
*/
|
|
7
8
|
declare const VwcProgressRing: {
|
|
8
9
|
(props: {
|
|
@@ -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",
|
|
@@ -37,11 +45,19 @@ Code in this file were generated using following JSON:
|
|
|
37
45
|
"kind": "field",
|
|
38
46
|
"name": "size",
|
|
39
47
|
"type": {
|
|
40
|
-
"text": "-5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
48
|
+
"text": "-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
41
49
|
}
|
|
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": {
|
|
@@ -52,7 +68,7 @@ Code in this file were generated using following JSON:
|
|
|
52
68
|
{
|
|
53
69
|
"name": "size",
|
|
54
70
|
"type": {
|
|
55
|
-
"text": "-5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
71
|
+
"text": "-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
56
72
|
},
|
|
57
73
|
"fieldName": "size"
|
|
58
74
|
}
|
|
@@ -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
1
|
import React, { ReactNode } 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,7 @@ 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
|
+
ariaLabel?: string | null | undefined;
|
|
14
16
|
label?: string | undefined;
|
|
15
17
|
connotation?: any;
|
|
16
18
|
}): 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": {
|
|
@@ -109,7 +125,7 @@ registerRadio('vvd3')
|
|
|
109
125
|
const VwcRadio = wrapper(`vvd3-radio`, {
|
|
110
126
|
events: [],
|
|
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,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;
|