@vonage/vivid-react 2.10.63 → 2.10.64
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/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 +5 -5
- package/package.json +58 -58
- package/types/index.d.ts +38 -4
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/index.d.ts +2 -2
- package/v3/VwcActionGroup/index.js +5 -3
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.d.ts +3 -1
- package/v3/VwcAlert/index.js +15 -1
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.d.ts +2 -2
- package/v3/VwcBanner/index.js +17 -15
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +2 -0
- package/v3/VwcButton/index.js +16 -1
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/index.js +2 -13
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.js +13 -0
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +2 -0
- package/v3/VwcDataGridCell/index.js +17 -1
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +27 -0
- package/v3/VwcDatePicker/index.js +201 -0
- package/v3/VwcDatePicker/package.json +11 -0
- package/v3/VwcDialog/index.d.ts +4 -1
- package/v3/VwcDialog/index.js +19 -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 +28 -0
- package/v3/VwcFilePicker/index.js +258 -0
- package/v3/VwcFilePicker/package.json +11 -0
- package/v3/VwcFocus/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/index.d.ts +2 -0
- package/v3/VwcIcon/index.js +14 -1
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcLayout/index.d.ts +3 -0
- package/v3/VwcLayout/index.js +1 -4
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcListboxOption/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +10 -10
- package/v3/VwcMenu/index.js +150 -36
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.js +6 -0
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.d.ts +4 -1
- package/v3/VwcNavDisclosure/index.js +32 -2
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.js +19 -9
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcPagination/index.d.ts +3 -1
- package/v3/VwcPagination/index.js +22 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPopup/package.json +2 -2
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +2 -0
- package/v3/VwcRadio/index.js +56 -7
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +7 -5
- package/v3/VwcSelect/index.js +47 -12
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.d.ts +39 -0
- package/v3/VwcSplitButton/index.js +311 -0
- package/v3/VwcSplitButton/package.json +11 -0
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +2 -0
- package/v3/VwcTab/index.js +18 -1
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.js +16 -2
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.js +6 -0
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextAnchor/package.json +2 -2
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcToggletip/index.js +10 -0
- 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/VwcMenu/index.js
CHANGED
|
@@ -11,30 +11,38 @@ Code in this file were generated using following JSON:
|
|
|
11
11
|
{
|
|
12
12
|
"description": "Default slot.",
|
|
13
13
|
"name": ""
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"description": "Used to add additional content to the top of the menu.",
|
|
17
|
+
"name": "header"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"description": "Used to add action items to the bottom of the menu.",
|
|
21
|
+
"name": "action-items"
|
|
14
22
|
}
|
|
15
23
|
],
|
|
16
24
|
"members": [
|
|
17
25
|
{
|
|
18
26
|
"kind": "field",
|
|
19
|
-
"name": "#
|
|
20
|
-
"privacy": "private"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"kind": "field",
|
|
24
|
-
"name": "_popup",
|
|
27
|
+
"name": "#observer",
|
|
28
|
+
"privacy": "private",
|
|
25
29
|
"type": {
|
|
26
|
-
"text": "
|
|
30
|
+
"text": "MutationObserver | undefined"
|
|
27
31
|
}
|
|
28
32
|
},
|
|
29
33
|
{
|
|
30
34
|
"kind": "field",
|
|
31
|
-
"name": "
|
|
35
|
+
"name": "#anchorEl",
|
|
36
|
+
"privacy": "private",
|
|
32
37
|
"type": {
|
|
33
|
-
"text": "
|
|
38
|
+
"text": "HTMLElement | null"
|
|
34
39
|
},
|
|
35
|
-
"default": "
|
|
36
|
-
|
|
37
|
-
|
|
40
|
+
"default": "null"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "field",
|
|
44
|
+
"name": "#observeMissingAnchor",
|
|
45
|
+
"privacy": "private"
|
|
38
46
|
},
|
|
39
47
|
{
|
|
40
48
|
"kind": "field",
|
|
@@ -42,18 +50,43 @@ Code in this file were generated using following JSON:
|
|
|
42
50
|
"type": {
|
|
43
51
|
"text": "Placement | undefined"
|
|
44
52
|
},
|
|
45
|
-
"
|
|
53
|
+
"default": "'bottom'",
|
|
54
|
+
"description": "placement of the menu",
|
|
46
55
|
"privacy": "public"
|
|
47
56
|
},
|
|
48
57
|
{
|
|
49
58
|
"kind": "field",
|
|
50
59
|
"name": "anchor",
|
|
51
60
|
"type": {
|
|
52
|
-
"text": "
|
|
61
|
+
"text": "AnchorType"
|
|
53
62
|
},
|
|
54
|
-
"
|
|
63
|
+
"default": "''",
|
|
64
|
+
"description": "id or direct reference to the menu's anchor element",
|
|
55
65
|
"privacy": "public"
|
|
56
66
|
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "method",
|
|
69
|
+
"name": "anchorChanged",
|
|
70
|
+
"return": {
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "void"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"parameters": [
|
|
76
|
+
{
|
|
77
|
+
"name": "_",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "AnchorType"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "newValue",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "AnchorType"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
57
90
|
{
|
|
58
91
|
"kind": "field",
|
|
59
92
|
"name": "autoDismiss",
|
|
@@ -66,54 +99,127 @@ Code in this file were generated using following JSON:
|
|
|
66
99
|
},
|
|
67
100
|
{
|
|
68
101
|
"kind": "method",
|
|
69
|
-
"name": "
|
|
102
|
+
"name": "autoDismissChanged",
|
|
103
|
+
"return": {
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "void"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
70
108
|
"parameters": [
|
|
71
109
|
{
|
|
72
|
-
"name": "
|
|
110
|
+
"name": "oldValue",
|
|
73
111
|
"type": {
|
|
74
|
-
"text": "
|
|
112
|
+
"text": "boolean"
|
|
75
113
|
}
|
|
76
114
|
},
|
|
77
115
|
{
|
|
78
|
-
"name": "
|
|
116
|
+
"name": "newValue",
|
|
79
117
|
"type": {
|
|
80
|
-
"text": "
|
|
118
|
+
"text": "boolean"
|
|
81
119
|
}
|
|
82
120
|
}
|
|
83
121
|
]
|
|
84
122
|
},
|
|
85
123
|
{
|
|
86
124
|
"kind": "field",
|
|
87
|
-
"name": "
|
|
125
|
+
"name": "open",
|
|
126
|
+
"type": {
|
|
127
|
+
"text": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"default": "false",
|
|
130
|
+
"description": "indicates whether the menu is open",
|
|
131
|
+
"privacy": "public"
|
|
88
132
|
},
|
|
89
133
|
{
|
|
90
134
|
"kind": "method",
|
|
91
|
-
"name": "
|
|
135
|
+
"name": "openChanged",
|
|
136
|
+
"return": {
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "void"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"parameters": [
|
|
142
|
+
{
|
|
143
|
+
"name": "_",
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "boolean"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "newValue",
|
|
150
|
+
"type": {
|
|
151
|
+
"text": "boolean"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"kind": "method",
|
|
158
|
+
"name": "#setupAnchor",
|
|
159
|
+
"parameters": [
|
|
160
|
+
{
|
|
161
|
+
"name": "a",
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "HTMLElement"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "method",
|
|
170
|
+
"name": "#cleanupAnchor",
|
|
171
|
+
"parameters": [
|
|
172
|
+
{
|
|
173
|
+
"name": "a",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "HTMLElement"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"kind": "field",
|
|
182
|
+
"name": "#openIfClosed",
|
|
183
|
+
"privacy": "private"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "field",
|
|
187
|
+
"name": "#closeOnClickOutside",
|
|
188
|
+
"privacy": "private"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"kind": "field",
|
|
192
|
+
"name": "actionItemsSlottedContent",
|
|
193
|
+
"type": {
|
|
194
|
+
"text": "HTMLElement[] | undefined"
|
|
195
|
+
}
|
|
92
196
|
}
|
|
93
197
|
],
|
|
94
|
-
"
|
|
198
|
+
"events": [
|
|
95
199
|
{
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
"default": "false",
|
|
100
|
-
"description": "indicates whether the menu is open",
|
|
101
|
-
"fieldName": "open"
|
|
200
|
+
"description": "Fired when the menu is opened",
|
|
201
|
+
"name": "open"
|
|
102
202
|
},
|
|
103
203
|
{
|
|
104
|
-
"
|
|
204
|
+
"description": "Fired when the menu is closed",
|
|
205
|
+
"name": "close"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"attributes": [
|
|
209
|
+
{
|
|
105
210
|
"type": {
|
|
106
211
|
"text": "Placement | undefined"
|
|
107
212
|
},
|
|
108
|
-
"
|
|
213
|
+
"default": "'bottom'",
|
|
214
|
+
"description": "placement of the menu",
|
|
109
215
|
"fieldName": "placement"
|
|
110
216
|
},
|
|
111
217
|
{
|
|
112
|
-
"name": "anchor",
|
|
113
218
|
"type": {
|
|
114
|
-
"text": "
|
|
219
|
+
"text": "AnchorType"
|
|
115
220
|
},
|
|
116
|
-
"
|
|
221
|
+
"default": "''",
|
|
222
|
+
"description": "id or direct reference to the menu's anchor element",
|
|
117
223
|
"fieldName": "anchor"
|
|
118
224
|
},
|
|
119
225
|
{
|
|
@@ -124,6 +230,14 @@ Code in this file were generated using following JSON:
|
|
|
124
230
|
"default": "false",
|
|
125
231
|
"description": "indicates whether the menu will automatically close when\nthe user clicks outside the menu",
|
|
126
232
|
"fieldName": "autoDismiss"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": {
|
|
236
|
+
"text": "boolean"
|
|
237
|
+
},
|
|
238
|
+
"default": "false",
|
|
239
|
+
"description": "indicates whether the menu is open",
|
|
240
|
+
"fieldName": "open"
|
|
127
241
|
}
|
|
128
242
|
],
|
|
129
243
|
"superclass": {
|
|
@@ -138,9 +252,9 @@ import { registerMenu } from '@vonage/vivid'
|
|
|
138
252
|
registerMenu('vvd3')
|
|
139
253
|
|
|
140
254
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
141
|
-
events: [],
|
|
255
|
+
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
142
256
|
attributes: [],
|
|
143
|
-
properties: ['
|
|
257
|
+
properties: ['placement', 'anchor', 'autoDismiss', 'open', 'actionItemsSlottedContent']
|
|
144
258
|
})
|
|
145
259
|
|
|
146
260
|
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.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcMenuItem/index.js
CHANGED
|
@@ -37,6 +37,12 @@ Code in this file were generated using following JSON:
|
|
|
37
37
|
"default": "var(--vvd-color-neutral-200)"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
+
"slots": [
|
|
41
|
+
{
|
|
42
|
+
"description": "Assign nodes to the `meta` slot to set a badge or an additional icon.",
|
|
43
|
+
"name": "meta"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
40
46
|
"members": [
|
|
41
47
|
{
|
|
42
48
|
"kind": "field",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu-item",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.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.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** A Nav Item Custom HTML Element.
|
|
3
3
|
Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
4
4
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/nav-disclosure
|
|
5
5
|
* @param {HTMLDetailsElement} details
|
|
6
6
|
* @param {string | undefined} label **attribute** `label`
|
|
7
7
|
* @param {boolean} open - Indicates whether the nav-disclosure is open **attribute** `open`
|
|
8
|
+
* @param {string | null} ariaCurrent **attribute** `aria-current`
|
|
8
9
|
*/
|
|
9
10
|
declare const VwcNavDisclosure: {
|
|
10
11
|
(props: {
|
|
@@ -13,9 +14,11 @@ declare const VwcNavDisclosure: {
|
|
|
13
14
|
id?: string | undefined;
|
|
14
15
|
style?: React.CSSProperties | undefined;
|
|
15
16
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
+
onToggle?: ((event: SyntheticEvent) => void) | undefined;
|
|
16
18
|
details?: any;
|
|
17
19
|
label?: string | undefined;
|
|
18
20
|
open?: boolean | undefined;
|
|
21
|
+
ariaCurrent?: string | null | undefined;
|
|
19
22
|
}): JSX.Element;
|
|
20
23
|
displayName: string;
|
|
21
24
|
};
|
|
@@ -16,6 +16,10 @@ Code in this file were generated using following JSON:
|
|
|
16
16
|
"name": "--vvd-nav-disclosure-accent-primary-text",
|
|
17
17
|
"default": "var(--vvd-color-canvas)"
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-nav-disclosure-accent-primary-increment",
|
|
21
|
+
"default": "var(--vvd-color-neutral-800)"
|
|
22
|
+
},
|
|
19
23
|
{
|
|
20
24
|
"name": "--vvd-nav-disclosure-accent-faint",
|
|
21
25
|
"default": "var(--vvd-color-neutral-50)"
|
|
@@ -29,6 +33,10 @@ Code in this file were generated using following JSON:
|
|
|
29
33
|
{
|
|
30
34
|
"description": "Default slot.",
|
|
31
35
|
"name": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"description": "A slot to add additional content to the nav disclosure.",
|
|
39
|
+
"name": "meta"
|
|
32
40
|
}
|
|
33
41
|
],
|
|
34
42
|
"members": [
|
|
@@ -58,12 +66,26 @@ Code in this file were generated using following JSON:
|
|
|
58
66
|
"description": "Indicates whether the nav-disclosure is open",
|
|
59
67
|
"privacy": "public"
|
|
60
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "field",
|
|
71
|
+
"name": "ariaCurrent",
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "string | null"
|
|
74
|
+
},
|
|
75
|
+
"default": "null"
|
|
76
|
+
},
|
|
61
77
|
{
|
|
62
78
|
"kind": "field",
|
|
63
79
|
"name": "#onToggle",
|
|
64
80
|
"privacy": "private"
|
|
65
81
|
}
|
|
66
82
|
],
|
|
83
|
+
"events": [
|
|
84
|
+
{
|
|
85
|
+
"description": "Event emitted when the nav disclosure is toggled.",
|
|
86
|
+
"name": "toggle"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
67
89
|
"attributes": [
|
|
68
90
|
{
|
|
69
91
|
"name": "label",
|
|
@@ -79,6 +101,14 @@ Code in this file were generated using following JSON:
|
|
|
79
101
|
"default": "false",
|
|
80
102
|
"description": "Indicates whether the nav-disclosure is open",
|
|
81
103
|
"fieldName": "open"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "aria-current",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "string | null"
|
|
109
|
+
},
|
|
110
|
+
"default": "null",
|
|
111
|
+
"fieldName": "ariaCurrent"
|
|
82
112
|
}
|
|
83
113
|
],
|
|
84
114
|
"superclass": {
|
|
@@ -93,9 +123,9 @@ import { registerNavDisclosure } from '@vonage/vivid'
|
|
|
93
123
|
registerNavDisclosure('vvd3')
|
|
94
124
|
|
|
95
125
|
const VwcNavDisclosure = wrapper(`vvd3-nav-disclosure`, {
|
|
96
|
-
events: [],
|
|
126
|
+
events: [{"name":"toggle","propName":"onToggle"}],
|
|
97
127
|
attributes: [],
|
|
98
|
-
properties: ['details', 'label', 'open']
|
|
128
|
+
properties: ['details', 'label', 'open', 'ariaCurrent']
|
|
99
129
|
})
|
|
100
130
|
|
|
101
131
|
VwcNavDisclosure.displayName = 'VwcNavDisclosure'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-disclosure",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcNavItem/index.js
CHANGED
|
@@ -29,33 +29,43 @@ Code in this file were generated using following JSON:
|
|
|
29
29
|
"default": "var(--vvd-color-neutral-100)"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
"slots": [
|
|
33
|
+
{
|
|
34
|
+
"description": "A slot to add additional content to the nav item.",
|
|
35
|
+
"name": "meta"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"members": [
|
|
37
39
|
{
|
|
40
|
+
"kind": "method",
|
|
41
|
+
"name": "getBodyTemplate"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
38
45
|
"name": "text",
|
|
39
46
|
"type": {
|
|
40
47
|
"text": "string | undefined"
|
|
41
48
|
},
|
|
42
49
|
"description": "Indicates the text anchor's text.",
|
|
43
|
-
"
|
|
50
|
+
"privacy": "public",
|
|
44
51
|
"inheritedFrom": {
|
|
45
52
|
"name": "TextAnchor",
|
|
46
53
|
"module": "libs/components/src/lib/text-anchor/text-anchor.ts"
|
|
47
54
|
}
|
|
48
55
|
}
|
|
49
56
|
],
|
|
50
|
-
"
|
|
57
|
+
"superclass": {
|
|
58
|
+
"name": "TextAnchor",
|
|
59
|
+
"module": "/libs/components/src/lib/text-anchor/text-anchor"
|
|
60
|
+
},
|
|
61
|
+
"attributes": [
|
|
51
62
|
{
|
|
52
|
-
"kind": "field",
|
|
53
63
|
"name": "text",
|
|
54
64
|
"type": {
|
|
55
65
|
"text": "string | undefined"
|
|
56
66
|
},
|
|
57
67
|
"description": "Indicates the text anchor's text.",
|
|
58
|
-
"
|
|
68
|
+
"fieldName": "text",
|
|
59
69
|
"inheritedFrom": {
|
|
60
70
|
"name": "TextAnchor",
|
|
61
71
|
"module": "libs/components/src/lib/text-anchor/text-anchor.ts"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-item",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.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.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-number-field",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for pagination
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/pagination
|
|
4
|
-
* @param {PaginationSize | undefined} size
|
|
4
|
+
* @param {PaginationSize | undefined} size - The size the pagination should have. **attribute** `size`
|
|
5
|
+
* @param {PaginationShape | undefined} shape - The shape the pagination should have. **attribute** `shape`
|
|
5
6
|
* @param {Button[] | undefined} paginationButtons
|
|
6
7
|
* @param {Button | undefined} prevButton
|
|
7
8
|
* @param {Button | undefined} nextButton
|
|
@@ -17,6 +18,7 @@ declare const VwcPagination: {
|
|
|
17
18
|
style?: React.CSSProperties | undefined;
|
|
18
19
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
20
|
size?: any;
|
|
21
|
+
shape?: any;
|
|
20
22
|
paginationButtons?: any;
|
|
21
23
|
prevButton?: any;
|
|
22
24
|
nextButton?: any;
|
|
@@ -13,7 +13,18 @@ Code in this file were generated using following JSON:
|
|
|
13
13
|
"name": "size",
|
|
14
14
|
"type": {
|
|
15
15
|
"text": "PaginationSize | undefined"
|
|
16
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"description": "The size the pagination should have.",
|
|
18
|
+
"privacy": "public"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "field",
|
|
22
|
+
"name": "shape",
|
|
23
|
+
"type": {
|
|
24
|
+
"text": "PaginationShape | undefined"
|
|
25
|
+
},
|
|
26
|
+
"description": "The shape the pagination should have.",
|
|
27
|
+
"privacy": "public"
|
|
17
28
|
},
|
|
18
29
|
{
|
|
19
30
|
"kind": "field",
|
|
@@ -126,8 +137,17 @@ Code in this file were generated using following JSON:
|
|
|
126
137
|
"type": {
|
|
127
138
|
"text": "PaginationSize | undefined"
|
|
128
139
|
},
|
|
140
|
+
"description": "The size the pagination should have.",
|
|
129
141
|
"fieldName": "size"
|
|
130
142
|
},
|
|
143
|
+
{
|
|
144
|
+
"name": "shape",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "PaginationShape | undefined"
|
|
147
|
+
},
|
|
148
|
+
"description": "The shape the pagination should have.",
|
|
149
|
+
"fieldName": "shape"
|
|
150
|
+
},
|
|
131
151
|
{
|
|
132
152
|
"name": "nav-icons",
|
|
133
153
|
"type": {
|
|
@@ -166,7 +186,7 @@ registerPagination('vvd3')
|
|
|
166
186
|
const VwcPagination = wrapper(`vvd3-pagination`, {
|
|
167
187
|
events: [],
|
|
168
188
|
attributes: [],
|
|
169
|
-
properties: ['size', 'paginationButtons', 'prevButton', 'nextButton', 'navIcons', 'total', 'selectedIndex']
|
|
189
|
+
properties: ['size', 'shape', 'paginationButtons', 'prevButton', 'nextButton', 'navIcons', 'total', 'selectedIndex']
|
|
170
190
|
})
|
|
171
191
|
|
|
172
192
|
VwcPagination.displayName = 'VwcPagination'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-pagination",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.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.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress-ring",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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.32.0"
|
|
10
10
|
}
|
|
11
11
|
}
|