@vonage/vivid-react 2.10.98 → 3.0.0
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/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/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 +5 -38
- package/package.json +2 -2
- package/types/index.d.ts +43 -3
- package/v3/VwcAccordion/index.js +9 -0
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +2 -1
- package/v3/VwcAccordionItem/index.js +14 -5
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.js +14 -0
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAppearanceUi/index.js +28 -0
- package/v3/VwcAppearanceUi/package.json +2 -2
- package/v3/VwcAudioPlayer/index.d.ts +18 -0
- package/v3/VwcAudioPlayer/index.js +167 -1
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/index.js +32 -0
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.d.ts +2 -2
- package/v3/VwcBanner/index.js +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/index.js +52 -0
- 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 +1 -1
- package/v3/VwcCheckbox/index.js +12 -2
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +4 -0
- package/v3/VwcCombobox/index.js +47 -16
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.js +3 -0
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +1 -0
- package/v3/VwcDataGridCell/index.js +14 -1
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +1 -0
- package/v3/VwcDataGridRow/index.js +11 -1
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +2 -2
- package/v3/VwcDatePicker/index.js +27 -10
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDatePickerBase/index.js +4 -1
- package/v3/VwcDatePickerBase/package.json +2 -2
- package/v3/VwcDateRangePicker/index.d.ts +2 -1
- package/v3/VwcDateRangePicker/index.js +27 -4
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +27 -0
- package/v3/VwcDialPad/index.js +97 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.js +4 -1
- 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 +24 -0
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFilePicker/index.js +15 -0
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedNumberField/index.d.ts +17 -0
- package/v3/VwcFormAssociatedNumberField/index.js +41 -0
- package/v3/VwcFormAssociatedNumberField/package.json +11 -0
- package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
- package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/index.d.ts +12 -1
- package/v3/VwcIcon/index.js +2 -3
- 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 +7 -2
- package/v3/VwcMenu/index.js +41 -35
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +1 -0
- package/v3/VwcMenuItem/index.js +17 -1
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.d.ts +4 -0
- package/v3/VwcNavDisclosure/index.js +90 -1
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.js +52 -0
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/index.js +12 -0
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +25 -1
- package/v3/VwcNumberField/index.js +286 -23
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcPagination/index.js +3 -0
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.js +7 -7
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.js +9 -0
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.js +9 -0
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.d.ts +2 -1
- package/v3/VwcRangeSlider/index.js +24 -7
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +1 -0
- package/v3/VwcSelect/index.js +48 -2
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.js +3 -0
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/index.js +6 -0
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +4 -1
- package/v3/VwcSlider/index.js +21 -3
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +38 -0
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +1 -1
- package/v3/VwcSwitch/index.js +10 -1
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +2 -2
- package/v3/VwcTab/index.js +10 -10
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.js +12 -3
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.d.ts +3 -1
- package/v3/VwcTag/index.js +17 -1
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextAnchor/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +1 -0
- package/v3/VwcTextArea/index.js +11 -2
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +1 -0
- package/v3/VwcTextField/index.js +35 -2
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.d.ts +1 -0
- package/v3/VwcTimePicker/index.js +12 -2
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/index.d.ts +3 -1
- package/v3/VwcTreeItem/index.js +21 -1
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/index.js +9 -0
- package/v3/VwcVideoPlayer/package.json +2 -2
package/v3/VwcMenu/index.js
CHANGED
|
@@ -44,6 +44,24 @@ Code in this file were generated using following JSON:
|
|
|
44
44
|
"description": "placement of the menu",
|
|
45
45
|
"privacy": "public"
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "trigger",
|
|
50
|
+
"type": {
|
|
51
|
+
"text": "'auto' | 'legacy' | 'off' | undefined"
|
|
52
|
+
},
|
|
53
|
+
"description": "Controls how the menu opens and closes itself.",
|
|
54
|
+
"privacy": "public"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"name": "#triggerBehaviour",
|
|
59
|
+
"privacy": "private",
|
|
60
|
+
"type": {
|
|
61
|
+
"text": "'auto' | 'legacy' | 'off'"
|
|
62
|
+
},
|
|
63
|
+
"readonly": true
|
|
64
|
+
},
|
|
47
65
|
{
|
|
48
66
|
"kind": "field",
|
|
49
67
|
"name": "autoDismiss",
|
|
@@ -51,22 +69,9 @@ Code in this file were generated using following JSON:
|
|
|
51
69
|
"text": "boolean"
|
|
52
70
|
},
|
|
53
71
|
"default": "false",
|
|
54
|
-
"description": "indicates whether the menu will automatically close when
|
|
72
|
+
"description": "indicates whether the menu will automatically close when focus moves away from it.",
|
|
55
73
|
"privacy": "public"
|
|
56
74
|
},
|
|
57
|
-
{
|
|
58
|
-
"kind": "method",
|
|
59
|
-
"name": "autoDismissChanged",
|
|
60
|
-
"parameters": [
|
|
61
|
-
{
|
|
62
|
-
"name": "oldValue",
|
|
63
|
-
"optional": true,
|
|
64
|
-
"type": {
|
|
65
|
-
"text": "boolean"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
75
|
{
|
|
71
76
|
"kind": "field",
|
|
72
77
|
"name": "open",
|
|
@@ -138,29 +143,12 @@ Code in this file were generated using following JSON:
|
|
|
138
143
|
},
|
|
139
144
|
{
|
|
140
145
|
"kind": "field",
|
|
141
|
-
"name": "#
|
|
142
|
-
"privacy": "private"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"kind": "field",
|
|
146
|
-
"name": "#updateClickOutsideListeners",
|
|
147
|
-
"privacy": "private"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"kind": "field",
|
|
151
|
-
"name": "#wasOpenBeforeClick",
|
|
152
|
-
"privacy": "private",
|
|
153
|
-
"default": "new WeakMap<Event, boolean>()"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"kind": "field",
|
|
157
|
-
"name": "#onClickOutsideCapture",
|
|
146
|
+
"name": "#onAnchorClick",
|
|
158
147
|
"privacy": "private"
|
|
159
148
|
},
|
|
160
149
|
{
|
|
161
150
|
"kind": "field",
|
|
162
|
-
"name": "
|
|
163
|
-
"privacy": "private"
|
|
151
|
+
"name": "_onFocusout"
|
|
164
152
|
},
|
|
165
153
|
{
|
|
166
154
|
"kind": "field",
|
|
@@ -172,14 +160,24 @@ Code in this file were generated using following JSON:
|
|
|
172
160
|
{
|
|
173
161
|
"kind": "field",
|
|
174
162
|
"name": "handleFocusOut"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "domChildren"
|
|
175
167
|
}
|
|
176
168
|
],
|
|
177
169
|
"events": [
|
|
178
170
|
{
|
|
171
|
+
"type": {
|
|
172
|
+
"text": "CustomEvent<undefined>"
|
|
173
|
+
},
|
|
179
174
|
"description": "Fired when the menu is opened",
|
|
180
175
|
"name": "open"
|
|
181
176
|
},
|
|
182
177
|
{
|
|
178
|
+
"type": {
|
|
179
|
+
"text": "CustomEvent<undefined>"
|
|
180
|
+
},
|
|
183
181
|
"description": "Fired when the menu is closed",
|
|
184
182
|
"name": "close"
|
|
185
183
|
}
|
|
@@ -201,13 +199,21 @@ Code in this file were generated using following JSON:
|
|
|
201
199
|
"description": "placement of the menu",
|
|
202
200
|
"fieldName": "placement"
|
|
203
201
|
},
|
|
202
|
+
{
|
|
203
|
+
"name": "trigger",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "'auto' | 'legacy' | 'off' | undefined"
|
|
206
|
+
},
|
|
207
|
+
"description": "Controls how the menu opens and closes itself.",
|
|
208
|
+
"fieldName": "trigger"
|
|
209
|
+
},
|
|
204
210
|
{
|
|
205
211
|
"name": "auto-dismiss",
|
|
206
212
|
"type": {
|
|
207
213
|
"text": "boolean"
|
|
208
214
|
},
|
|
209
215
|
"default": "false",
|
|
210
|
-
"description": "indicates whether the menu will automatically close when
|
|
216
|
+
"description": "indicates whether the menu will automatically close when focus moves away from it.",
|
|
211
217
|
"fieldName": "autoDismiss"
|
|
212
218
|
},
|
|
213
219
|
{
|
|
@@ -237,7 +243,7 @@ registerMenu('vvd3')
|
|
|
237
243
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
238
244
|
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
239
245
|
attributes: [],
|
|
240
|
-
properties: ['ariaLabel', 'placement', 'autoDismiss', 'open', 'actionItemsSlottedContent', 'handleFocusOut']
|
|
246
|
+
properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', 'open', '_onFocusout', 'actionItemsSlottedContent', 'handleFocusOut', 'domChildren']
|
|
241
247
|
})
|
|
242
248
|
|
|
243
249
|
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
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -17,6 +17,7 @@ declare const VwcMenuItem: {
|
|
|
17
17
|
id?: string | undefined;
|
|
18
18
|
style?: React.CSSProperties | undefined;
|
|
19
19
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
+
onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
20
21
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
21
22
|
text?: string | undefined;
|
|
22
23
|
textSecondary?: string | undefined;
|
package/v3/VwcMenuItem/index.js
CHANGED
|
@@ -167,6 +167,22 @@ Code in this file were generated using following JSON:
|
|
|
167
167
|
"name": "updateSubmenu"
|
|
168
168
|
}
|
|
169
169
|
],
|
|
170
|
+
"events": [
|
|
171
|
+
{
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "CustomEvent<HTMLElement>"
|
|
174
|
+
},
|
|
175
|
+
"description": "Fires a custom 'expanded-change' event when the expanded state changes",
|
|
176
|
+
"name": "expanded-change"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": {
|
|
180
|
+
"text": "CustomEvent<undefined>"
|
|
181
|
+
},
|
|
182
|
+
"description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
|
|
183
|
+
"name": "change"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
170
186
|
"attributes": [
|
|
171
187
|
{
|
|
172
188
|
"name": "text",
|
|
@@ -234,7 +250,7 @@ import { registerMenuItem } from '@vonage/vivid'
|
|
|
234
250
|
registerMenuItem('vvd3')
|
|
235
251
|
|
|
236
252
|
const VwcMenuItem = wrapper(`vvd3-menu-item`, {
|
|
237
|
-
events: [{"name":"change","propName":"onChange"}],
|
|
253
|
+
events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
|
|
238
254
|
attributes: [],
|
|
239
255
|
properties: ['text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', 'updateSubmenu', 'icon']
|
|
240
256
|
})
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu-item",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.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
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -3,6 +3,8 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/nav-disclosure
|
|
4
4
|
* @param {HTMLDetailsElement} details
|
|
5
5
|
* @param {string | undefined} label **attribute** `label`
|
|
6
|
+
* @param {NavDisclosureAppearance | undefined} appearance - The appearance nav-disclosure should have. **attribute** `appearance`
|
|
7
|
+
* @param {NavDisclosureConnotation | undefined} connotation - The connotation nav-disclosure should have. **attribute** `connotation`
|
|
6
8
|
* @param {boolean} open - Indicates whether the nav-disclosure is open **attribute** `open`
|
|
7
9
|
* @param {string | null} ariaCurrent **attribute** `aria-current`
|
|
8
10
|
*/
|
|
@@ -16,6 +18,8 @@ declare const VwcNavDisclosure: {
|
|
|
16
18
|
onToggle?: ((event: SyntheticEvent) => void) | undefined;
|
|
17
19
|
details?: any;
|
|
18
20
|
label?: string | undefined;
|
|
21
|
+
appearance?: any;
|
|
22
|
+
connotation?: any;
|
|
19
23
|
open?: boolean | undefined;
|
|
20
24
|
ariaCurrent?: string | null | undefined;
|
|
21
25
|
}): JSX.Element;
|
|
@@ -8,6 +8,42 @@ Code in this file were generated using following JSON:
|
|
|
8
8
|
"description": "",
|
|
9
9
|
"name": "NavDisclosure",
|
|
10
10
|
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-nav-disclosure-cta-primary",
|
|
13
|
+
"default": "var(--vvd-color-cta-500)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-nav-disclosure-cta-primary-text",
|
|
17
|
+
"default": "var(--vvd-color-canvas)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-nav-disclosure-cta-primary-increment",
|
|
21
|
+
"default": "var(--vvd-color-cta-600)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-nav-disclosure-cta-contrast",
|
|
25
|
+
"default": "var(--vvd-color-cta-800)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-nav-disclosure-cta-fierce",
|
|
29
|
+
"default": "var(--vvd-color-cta-700)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-nav-disclosure-cta-fierce-primary",
|
|
33
|
+
"default": "var(--vvd-color-cta-700)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--vvd-nav-disclosure-cta-faint",
|
|
37
|
+
"default": "var(--vvd-color-cta-50)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-nav-disclosure-cta-firm",
|
|
41
|
+
"default": "var(--vvd-color-cta-600)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "--vvd-nav-disclosure-cta-soft",
|
|
45
|
+
"default": "var(--vvd-color-cta-100)"
|
|
46
|
+
},
|
|
11
47
|
{
|
|
12
48
|
"name": "--vvd-nav-disclosure-accent-primary",
|
|
13
49
|
"default": "var(--vvd-color-canvas-text)"
|
|
@@ -20,10 +56,26 @@ Code in this file were generated using following JSON:
|
|
|
20
56
|
"name": "--vvd-nav-disclosure-accent-primary-increment",
|
|
21
57
|
"default": "var(--vvd-color-neutral-800)"
|
|
22
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"name": "--vvd-nav-disclosure-accent-contrast",
|
|
61
|
+
"default": "var(--vvd-color-neutral-800)"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "--vvd-nav-disclosure-accent-fierce",
|
|
65
|
+
"default": "var(--vvd-color-neutral-700)"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "--vvd-nav-disclosure-accent-fierce-primary",
|
|
69
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
70
|
+
},
|
|
23
71
|
{
|
|
24
72
|
"name": "--vvd-nav-disclosure-accent-faint",
|
|
25
73
|
"default": "var(--vvd-color-neutral-50)"
|
|
26
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"name": "--vvd-nav-disclosure-accent-firm",
|
|
77
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
78
|
+
},
|
|
27
79
|
{
|
|
28
80
|
"name": "--vvd-nav-disclosure-accent-soft",
|
|
29
81
|
"default": "var(--vvd-color-neutral-100)"
|
|
@@ -60,6 +112,24 @@ Code in this file were generated using following JSON:
|
|
|
60
112
|
"privacy": "public",
|
|
61
113
|
"description": ""
|
|
62
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "field",
|
|
117
|
+
"name": "appearance",
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "NavDisclosureAppearance | undefined"
|
|
120
|
+
},
|
|
121
|
+
"description": "The appearance nav-disclosure should have.",
|
|
122
|
+
"privacy": "public"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"name": "connotation",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "NavDisclosureConnotation | undefined"
|
|
129
|
+
},
|
|
130
|
+
"description": "The connotation nav-disclosure should have.",
|
|
131
|
+
"privacy": "public"
|
|
132
|
+
},
|
|
63
133
|
{
|
|
64
134
|
"kind": "field",
|
|
65
135
|
"name": "open",
|
|
@@ -86,6 +156,9 @@ Code in this file were generated using following JSON:
|
|
|
86
156
|
],
|
|
87
157
|
"events": [
|
|
88
158
|
{
|
|
159
|
+
"type": {
|
|
160
|
+
"text": "CustomEvent<undefined>"
|
|
161
|
+
},
|
|
89
162
|
"description": "Event emitted when the nav disclosure is toggled.",
|
|
90
163
|
"name": "toggle"
|
|
91
164
|
}
|
|
@@ -98,6 +171,22 @@ Code in this file were generated using following JSON:
|
|
|
98
171
|
},
|
|
99
172
|
"fieldName": "label"
|
|
100
173
|
},
|
|
174
|
+
{
|
|
175
|
+
"name": "appearance",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "NavDisclosureAppearance | undefined"
|
|
178
|
+
},
|
|
179
|
+
"description": "The appearance nav-disclosure should have.",
|
|
180
|
+
"fieldName": "appearance"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "connotation",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "NavDisclosureConnotation | undefined"
|
|
186
|
+
},
|
|
187
|
+
"description": "The connotation nav-disclosure should have.",
|
|
188
|
+
"fieldName": "connotation"
|
|
189
|
+
},
|
|
101
190
|
{
|
|
102
191
|
"type": {
|
|
103
192
|
"text": "boolean"
|
|
@@ -133,7 +222,7 @@ registerNavDisclosure('vvd3')
|
|
|
133
222
|
const VwcNavDisclosure = wrapper(`vvd3-nav-disclosure`, {
|
|
134
223
|
events: [{"name":"toggle","propName":"onToggle"}],
|
|
135
224
|
attributes: [],
|
|
136
|
-
properties: ['details', 'label', 'open', 'ariaCurrent']
|
|
225
|
+
properties: ['details', 'label', 'appearance', 'connotation', 'open', 'ariaCurrent']
|
|
137
226
|
})
|
|
138
227
|
|
|
139
228
|
VwcNavDisclosure.displayName = 'VwcNavDisclosure'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-disclosure",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcNavItem/index.js
CHANGED
|
@@ -8,6 +8,42 @@ Code in this file were generated using following JSON:
|
|
|
8
8
|
"description": "A Nav Item Custom HTML Element.\nBased largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .",
|
|
9
9
|
"name": "NavItem",
|
|
10
10
|
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-nav-item-cta-primary",
|
|
13
|
+
"default": "var(--vvd-color-cta-500)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-nav-item-cta-primary-text",
|
|
17
|
+
"default": "var(--vvd-color-canvas)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-nav-item-cta-primary-increment",
|
|
21
|
+
"default": "var(--vvd-color-cta-600)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-nav-item-cta-contrast",
|
|
25
|
+
"default": "var(--vvd-color-cta-800)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-nav-item-cta-fierce",
|
|
29
|
+
"default": "var(--vvd-color-cta-700)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-nav-item-cta-fierce-primary",
|
|
33
|
+
"default": "var(--vvd-color-cta-700)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--vvd-nav-item-cta-faint",
|
|
37
|
+
"default": "var(--vvd-color-cta-50)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-nav-item-cta-firm",
|
|
41
|
+
"default": "var(--vvd-color-cta-600)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "--vvd-nav-item-cta-soft",
|
|
45
|
+
"default": "var(--vvd-color-cta-100)"
|
|
46
|
+
},
|
|
11
47
|
{
|
|
12
48
|
"name": "--vvd-nav-item-accent-primary",
|
|
13
49
|
"default": "var(--vvd-color-canvas-text)"
|
|
@@ -20,10 +56,26 @@ Code in this file were generated using following JSON:
|
|
|
20
56
|
"name": "--vvd-nav-item-accent-primary-increment",
|
|
21
57
|
"default": "var(--vvd-color-neutral-800)"
|
|
22
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"name": "--vvd-nav-item-accent-contrast",
|
|
61
|
+
"default": "var(--vvd-color-neutral-800)"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "--vvd-nav-item-accent-fierce",
|
|
65
|
+
"default": "var(--vvd-color-neutral-700)"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "--vvd-nav-item-accent-fierce-primary",
|
|
69
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
70
|
+
},
|
|
23
71
|
{
|
|
24
72
|
"name": "--vvd-nav-item-accent-faint",
|
|
25
73
|
"default": "var(--vvd-color-neutral-50)"
|
|
26
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"name": "--vvd-nav-item-accent-firm",
|
|
77
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
78
|
+
},
|
|
27
79
|
{
|
|
28
80
|
"name": "--vvd-nav-item-accent-soft",
|
|
29
81
|
"default": "var(--vvd-color-neutral-100)"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-item",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcNote/index.js
CHANGED
|
@@ -56,6 +56,18 @@ Code in this file were generated using following JSON:
|
|
|
56
56
|
"name": "--vvd-note-warning-fierce",
|
|
57
57
|
"default": "var(--vvd-color-warning-700)"
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"name": "--vvd-note-announcement-intermediate",
|
|
61
|
+
"default": "var(--vvd-color-announcement-500)"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "--vvd-note-announcement-faint",
|
|
65
|
+
"default": "var(--vvd-color-announcement-50)"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "--vvd-note-announcement-fierce",
|
|
69
|
+
"default": "var(--vvd-color-announcement-700)"
|
|
70
|
+
},
|
|
59
71
|
{
|
|
60
72
|
"name": "--vvd-note-accent-intermediate",
|
|
61
73
|
"default": "var(--vvd-color-neutral-500)"
|
package/v3/VwcNote/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-note",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.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": "
|
|
9
|
+
"@vonage/vivid": "4.1.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcNumberField
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/number-field
|
|
4
|
+
* @param {boolean} readOnly - When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information. **attribute** `readonly`
|
|
5
|
+
* @param {boolean} autofocus - Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information. **attribute** `autofocus`
|
|
6
|
+
* @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
|
|
7
|
+
* @param {string} list - Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id. **attribute** `list`
|
|
8
|
+
* @param {number} maxlength - The maximum number of characters a user can enter. **attribute** `maxlength`
|
|
9
|
+
* @param {number} minlength - The minimum number of characters a user can enter. **attribute** `minlength`
|
|
10
|
+
* @param {number} size - Sets the width of the element to a specified number of characters. **attribute** `size`
|
|
11
|
+
* @param {number} step - Amount to increment or decrement the value by **attribute** `step`
|
|
12
|
+
* @param {number} max - The maximum the value can be **attribute** `max`
|
|
13
|
+
* @param {number} min - The minimum the value can be **attribute** `min`
|
|
14
|
+
* @param {number} valueAsNumber - The value property, typed as a number.
|
|
4
15
|
* @param {| string
|
|
5
16
|
| null} incrementButtonAriaLabel **attribute** `increment-button-aria-label`
|
|
6
17
|
* @param {| string
|
|
@@ -8,6 +19,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
8
19
|
* @param {NumberFieldAppearance | undefined} appearance **attribute** `appearance`
|
|
9
20
|
* @param {NumberFieldShape | undefined} shape **attribute** `shape`
|
|
10
21
|
* @param {string | undefined} autoComplete **attribute** `autoComplete`
|
|
22
|
+
* @param proxy
|
|
11
23
|
*/
|
|
12
24
|
declare const VwcNumberField: {
|
|
13
25
|
(props: {
|
|
@@ -16,13 +28,25 @@ declare const VwcNumberField: {
|
|
|
16
28
|
id?: string | undefined;
|
|
17
29
|
style?: React.CSSProperties | undefined;
|
|
18
30
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
|
-
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
20
31
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
32
|
+
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
33
|
+
readOnly?: boolean | undefined;
|
|
34
|
+
autofocus?: boolean | undefined;
|
|
35
|
+
placeholder?: string | undefined;
|
|
36
|
+
list?: string | undefined;
|
|
37
|
+
maxlength?: number | undefined;
|
|
38
|
+
minlength?: number | undefined;
|
|
39
|
+
size?: number | undefined;
|
|
40
|
+
step?: number | undefined;
|
|
41
|
+
max?: number | undefined;
|
|
42
|
+
min?: number | undefined;
|
|
43
|
+
valueAsNumber?: number | undefined;
|
|
21
44
|
incrementButtonAriaLabel?: any;
|
|
22
45
|
decrementButtonAriaLabel?: any;
|
|
23
46
|
appearance?: any;
|
|
24
47
|
shape?: any;
|
|
25
48
|
autoComplete?: string | undefined;
|
|
49
|
+
proxy?: any;
|
|
26
50
|
}): JSX.Element;
|
|
27
51
|
displayName: string;
|
|
28
52
|
};
|