@vonage/vivid-react 3.5.0 → 3.5.2
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 +4 -4
- package/package.json +2 -2
- package/types/index.d.ts +12 -2
- 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/VwcAudioPlayer/index.d.ts +2 -0
- package/v3/VwcAudioPlayer/index.js +54 -14
- package/v3/VwcAudioPlayer/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/VwcBaseProgress/package.json +2 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +8 -8
- package/v3/VwcButton/index.js +1 -1
- 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 +14 -14
- package/v3/VwcCheckbox/index.js +1 -1
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.d.ts +2 -0
- package/v3/VwcDataGrid/index.js +26 -1
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +2 -1
- package/v3/VwcDataGridCell/index.js +1 -1
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +2 -2
- package/v3/VwcDatePicker/index.js +1 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDelegateAriaBehavior/package.json +2 -2
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +3 -1
- package/v3/VwcDivider/index.js +34 -7
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.d.ts +4 -4
- package/v3/VwcEmptyState/index.js +1 -1
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcHostSemanticsBehavior/package.json +2 -2
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcImagePlaceholder/index.d.ts +28 -0
- package/v3/VwcImagePlaceholder/index.js +116 -0
- package/v3/VwcImagePlaceholder/package.json +11 -0
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +2 -2
- package/v3/VwcMenuItem/index.js +1 -1
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/{VwcMenuBar → VwcMenubar}/index.d.ts +4 -4
- package/v3/{VwcMenuBar → VwcMenubar}/index.js +4 -6
- package/v3/{VwcMenuBar → VwcMenubar}/package.json +3 -3
- 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/package.json +2 -2
- package/v3/VwcOption/index.d.ts +6 -8
- package/v3/VwcOption/index.js +24 -48
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/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/VwcProseMirrorFacade/index.js +14 -1
- package/v3/VwcProseMirrorFacade/package.json +2 -2
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/package.json +2 -2
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +22 -22
- package/v3/VwcSelect/index.js +1 -1
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +17 -17
- package/v3/VwcSlider/index.js +1 -1
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +10 -10
- package/v3/VwcSwitch/index.js +1 -1
- package/v3/VwcSwitch/package.json +2 -2
- 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/package.json +2 -2
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +21 -21
- package/v3/VwcTextField/index.js +1 -1
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.d.ts +2 -2
- package/v3/VwcToggletip/index.js +1 -1
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.d.ts +2 -2
- package/v3/VwcTooltip/index.js +5 -1
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVisuallyHidden/package.json +2 -2
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-file-picker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-header",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-host-semantics-behavior",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcIcon/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-icon",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcImagePlaceholder
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/image-placeholder
|
|
4
|
+
* @param {string | undefined} fileName **attribute** `file-name`
|
|
5
|
+
* @param {string | undefined} size **attribute** `size`
|
|
6
|
+
* @param {string | undefined} errorMessage **attribute** `error-message`
|
|
7
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
8
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
9
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
10
|
+
* @param {string} componentName - Core component name, without prefix
|
|
11
|
+
*/
|
|
12
|
+
declare const VwcImagePlaceholder: {
|
|
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
|
+
fileName?: string | undefined;
|
|
20
|
+
size?: string | undefined;
|
|
21
|
+
errorMessage?: string | undefined;
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
VIVID_VERSION?: string | undefined;
|
|
24
|
+
componentName?: string | undefined;
|
|
25
|
+
}): JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
28
|
+
export default VwcImagePlaceholder;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "ImagePlaceholder",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "fileName",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "string | undefined"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "field",
|
|
20
|
+
"name": "size",
|
|
21
|
+
"type": {
|
|
22
|
+
"text": "string | undefined"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"kind": "field",
|
|
27
|
+
"name": "errorMessage",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "string | undefined"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"kind": "field",
|
|
34
|
+
"name": "icon",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "string | undefined"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "field",
|
|
41
|
+
"name": "VIVID_VERSION",
|
|
42
|
+
"static": true,
|
|
43
|
+
"default": "__PACKAGE_VERSION__",
|
|
44
|
+
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
|
|
45
|
+
"type": {
|
|
46
|
+
"text": "string"
|
|
47
|
+
},
|
|
48
|
+
"inheritedFrom": {
|
|
49
|
+
"name": "VividElement",
|
|
50
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "field",
|
|
55
|
+
"name": "componentName",
|
|
56
|
+
"type": {
|
|
57
|
+
"text": "string"
|
|
58
|
+
},
|
|
59
|
+
"static": true,
|
|
60
|
+
"description": "Core component name, without prefix",
|
|
61
|
+
"inheritedFrom": {
|
|
62
|
+
"name": "VividElement",
|
|
63
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "file-name",
|
|
70
|
+
"type": {
|
|
71
|
+
"text": "string | undefined"
|
|
72
|
+
},
|
|
73
|
+
"fieldName": "fileName"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "size",
|
|
77
|
+
"type": {
|
|
78
|
+
"text": "string | undefined"
|
|
79
|
+
},
|
|
80
|
+
"fieldName": "size"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "error-message",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "string | undefined"
|
|
86
|
+
},
|
|
87
|
+
"fieldName": "errorMessage"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "icon",
|
|
91
|
+
"type": {
|
|
92
|
+
"text": "string | undefined"
|
|
93
|
+
},
|
|
94
|
+
"fieldName": "icon"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"superclass": {
|
|
98
|
+
"name": "VividElement",
|
|
99
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
*/
|
|
103
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
104
|
+
import { registerImagePlaceholder } from '@vonage/vivid'
|
|
105
|
+
|
|
106
|
+
registerImagePlaceholder('vvd3')
|
|
107
|
+
|
|
108
|
+
const VwcImagePlaceholder = wrapper(`vvd3-image-placeholder`, {
|
|
109
|
+
events: [],
|
|
110
|
+
attributes: [],
|
|
111
|
+
properties: ['fileName', 'size', 'errorMessage', 'icon', 'VIVID_VERSION', 'componentName']
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
VwcImagePlaceholder.displayName = 'VwcImagePlaceholder'
|
|
115
|
+
|
|
116
|
+
export default VwcImagePlaceholder
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-inline-time-picker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-layout",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcMenu/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcMenuItem
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
|
|
4
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
4
5
|
* @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
|
|
5
6
|
* @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
|
|
6
7
|
* @param {MenuItemRole} role - The role of the element. **attribute** `role`
|
|
@@ -18,7 +19,6 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
18
19
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
19
20
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
20
21
|
* @param {string} componentName - Core component name, without prefix
|
|
21
|
-
* @param {string | undefined} icon **attribute** `icon`
|
|
22
22
|
*/
|
|
23
23
|
declare const VwcMenuItem: {
|
|
24
24
|
(props: {
|
|
@@ -29,6 +29,7 @@ declare const VwcMenuItem: {
|
|
|
29
29
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
30
30
|
onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
31
31
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
32
|
+
icon?: string | undefined;
|
|
32
33
|
disabled?: boolean | undefined;
|
|
33
34
|
expanded?: boolean | undefined;
|
|
34
35
|
role?: any;
|
|
@@ -41,7 +42,6 @@ declare const VwcMenuItem: {
|
|
|
41
42
|
checkedAppearance?: any;
|
|
42
43
|
trailingMetaSlottedContent?: any;
|
|
43
44
|
_vividAriaBehaviour?: any;
|
|
44
|
-
icon?: string | undefined;
|
|
45
45
|
VIVID_VERSION?: string | undefined;
|
|
46
46
|
componentName?: string | undefined;
|
|
47
47
|
}): JSX.Element;
|
package/v3/VwcMenuItem/index.js
CHANGED
|
@@ -417,7 +417,7 @@ registerMenuItem('vvd3')
|
|
|
417
417
|
const VwcMenuItem = wrapper(`vvd3-menu-item`, {
|
|
418
418
|
events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
|
|
419
419
|
attributes: [],
|
|
420
|
-
properties: ['disabled', 'expanded', 'role', 'controlType', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', '_vividAriaBehaviour', 'icon', 'VIVID_VERSION', 'componentName'
|
|
420
|
+
properties: ['icon', 'disabled', 'expanded', 'role', 'controlType', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', '_vividAriaBehaviour', 'icon', 'VIVID_VERSION', 'componentName']
|
|
421
421
|
})
|
|
422
422
|
|
|
423
423
|
VwcMenuItem.displayName = 'VwcMenuItem'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu-item",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* For more info on this Vivid element please visit https://vivid.deno.dev/components/
|
|
2
|
+
/** VwcMenubar
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menubar
|
|
4
4
|
* @param {string | undefined} menuItems **attribute** `menu-items`
|
|
5
5
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
6
6
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
7
7
|
* @param {string} componentName - Core component name, without prefix
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
9
|
+
declare const VwcMenubar: {
|
|
10
10
|
(props: {
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
slot?: string | undefined;
|
|
@@ -19,4 +19,4 @@ declare const VwcMenuBar: {
|
|
|
19
19
|
}): JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
|
-
export default
|
|
22
|
+
export default VwcMenubar;
|
|
@@ -6,7 +6,7 @@ Code in this file were generated using following JSON:
|
|
|
6
6
|
{
|
|
7
7
|
"kind": "class",
|
|
8
8
|
"description": "",
|
|
9
|
-
"name": "
|
|
9
|
+
"name": "Menubar",
|
|
10
10
|
"members": [
|
|
11
11
|
{
|
|
12
12
|
"kind": "field",
|
|
@@ -80,16 +80,14 @@ Code in this file were generated using following JSON:
|
|
|
80
80
|
}
|
|
81
81
|
*/
|
|
82
82
|
import wrapper from '@vonage/vivid-react-wrapper'
|
|
83
|
-
import { registerMenuBar } from '@vonage/vivid'
|
|
84
83
|
|
|
85
|
-
registerMenuBar('vvd3')
|
|
86
84
|
|
|
87
|
-
const
|
|
85
|
+
const VwcMenubar = wrapper(`vvd3-menubar`, {
|
|
88
86
|
events: [],
|
|
89
87
|
attributes: [],
|
|
90
88
|
properties: ['menuItems', 'VIVID_VERSION', 'componentName']
|
|
91
89
|
})
|
|
92
90
|
|
|
93
|
-
|
|
91
|
+
VwcMenubar.displayName = 'VwcMenubar'
|
|
94
92
|
|
|
95
|
-
export default
|
|
93
|
+
export default VwcMenubar
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@vonage/vivid-react-vvd3-
|
|
3
|
-
"version": "4.
|
|
2
|
+
"name": "@vonage/vivid-react-vvd3-menubar",
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.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": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-disclosure",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-item",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.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": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-number-field",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.29.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": "4.
|
|
9
|
+
"@vonage/vivid": "4.29.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcOption/index.d.ts
CHANGED
|
@@ -5,16 +5,15 @@ Implements https://www.w3.org/TR/wai-aria-1.1/#option | ARIA option .
|
|
|
5
5
|
* @param {boolean | undefined} checked - The checked state is used when the parent listbox is in multiple selection mode.
|
|
6
6
|
To avoid accessibility conflicts, the checked state should not be present in
|
|
7
7
|
single selection mode.
|
|
8
|
-
* @param {boolean} defaultSelected - The defaultSelected state of the option.
|
|
8
|
+
* @param {boolean} defaultSelected - The defaultSelected state of the option. **attribute** `selected`
|
|
9
9
|
* @param {boolean} disabled - The disabled state of the option. **attribute** `disabled`
|
|
10
|
-
* @param
|
|
11
|
-
* @param {boolean} selected - The checked state of the control.
|
|
12
|
-
* @param {
|
|
10
|
+
* @param selectedAttribute
|
|
11
|
+
* @param {boolean} selected - The checked state of the control. **attribute** `current-selected`
|
|
12
|
+
* @param {string} value - The value of the option. **attribute** `value`
|
|
13
13
|
* @param {string | undefined} _label **attribute** `label`
|
|
14
14
|
* @param {string} label
|
|
15
15
|
* @param {string | undefined} _text **attribute** `text`
|
|
16
16
|
* @param text
|
|
17
|
-
* @param {string} value
|
|
18
17
|
* @param {string | undefined} matchedText - Text to highlighted as matching a search query. **attribute** `matched-text`
|
|
19
18
|
* @param {OptionTagConnotation | undefined} tagConnotation - When displayed as a tag, the connotation of the tag. **attribute** `tag-connotation`
|
|
20
19
|
* @param proxy
|
|
@@ -35,14 +34,13 @@ declare const VwcOption: {
|
|
|
35
34
|
checked?: any;
|
|
36
35
|
defaultSelected?: boolean | undefined;
|
|
37
36
|
disabled?: boolean | undefined;
|
|
38
|
-
selectedAttribute?:
|
|
37
|
+
selectedAttribute?: any;
|
|
39
38
|
selected?: boolean | undefined;
|
|
40
|
-
|
|
39
|
+
value?: string | undefined;
|
|
41
40
|
_label?: string | undefined;
|
|
42
41
|
label?: string | undefined;
|
|
43
42
|
_text?: string | undefined;
|
|
44
43
|
text?: any;
|
|
45
|
-
value?: string | undefined;
|
|
46
44
|
matchedText?: string | undefined;
|
|
47
45
|
tagConnotation?: any;
|
|
48
46
|
proxy?: any;
|
package/v3/VwcOption/index.js
CHANGED
|
@@ -98,22 +98,7 @@ Code in this file were generated using following JSON:
|
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"kind": "field",
|
|
101
|
-
"name": "selectedAttribute"
|
|
102
|
-
"type": {
|
|
103
|
-
"text": "boolean"
|
|
104
|
-
},
|
|
105
|
-
"description": "The selected attribute value. This sets the initial selected value.",
|
|
106
|
-
"privacy": "public"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"kind": "method",
|
|
110
|
-
"name": "selectedAttributeChanged",
|
|
111
|
-
"privacy": "protected",
|
|
112
|
-
"return": {
|
|
113
|
-
"type": {
|
|
114
|
-
"text": "void"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
101
|
+
"name": "selectedAttribute"
|
|
117
102
|
},
|
|
118
103
|
{
|
|
119
104
|
"kind": "field",
|
|
@@ -136,30 +121,18 @@ Code in this file were generated using following JSON:
|
|
|
136
121
|
},
|
|
137
122
|
{
|
|
138
123
|
"kind": "field",
|
|
139
|
-
"name": "
|
|
140
|
-
"type": {
|
|
141
|
-
"text": "boolean"
|
|
142
|
-
},
|
|
143
|
-
"default": "false",
|
|
144
|
-
"description": "Track whether the value has been changed from the initial value"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"kind": "field",
|
|
148
|
-
"name": "initialValue",
|
|
124
|
+
"name": "value",
|
|
149
125
|
"type": {
|
|
150
126
|
"text": "string"
|
|
151
127
|
},
|
|
152
|
-
"
|
|
153
|
-
"description": "The
|
|
128
|
+
"default": "''",
|
|
129
|
+
"description": "The value of the option.",
|
|
130
|
+
"privacy": "public"
|
|
154
131
|
},
|
|
155
132
|
{
|
|
156
133
|
"kind": "method",
|
|
157
|
-
"name": "
|
|
158
|
-
"
|
|
159
|
-
"type": {
|
|
160
|
-
"text": "void"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
134
|
+
"name": "valueChanged",
|
|
135
|
+
"privacy": "protected"
|
|
163
136
|
},
|
|
164
137
|
{
|
|
165
138
|
"kind": "field",
|
|
@@ -190,13 +163,6 @@ Code in this file were generated using following JSON:
|
|
|
190
163
|
"kind": "field",
|
|
191
164
|
"name": "text"
|
|
192
165
|
},
|
|
193
|
-
{
|
|
194
|
-
"kind": "field",
|
|
195
|
-
"name": "value",
|
|
196
|
-
"type": {
|
|
197
|
-
"text": "string"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
166
|
{
|
|
201
167
|
"kind": "field",
|
|
202
168
|
"name": "form",
|
|
@@ -230,7 +196,7 @@ Code in this file were generated using following JSON:
|
|
|
230
196
|
{
|
|
231
197
|
"kind": "field",
|
|
232
198
|
"name": "proxy",
|
|
233
|
-
"default": "new Option(\n\t\t\tthis.text,\n\t\t\
|
|
199
|
+
"default": "new Option(\n\t\t\tthis.text,\n\t\t\tthis.value,\n\t\t\tthis.defaultSelected,\n\t\t\tthis.selected\n\t\t)",
|
|
234
200
|
"description": ""
|
|
235
201
|
},
|
|
236
202
|
{
|
|
@@ -301,6 +267,15 @@ Code in this file were generated using following JSON:
|
|
|
301
267
|
}
|
|
302
268
|
],
|
|
303
269
|
"attributes": [
|
|
270
|
+
{
|
|
271
|
+
"name": "selected",
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "boolean"
|
|
274
|
+
},
|
|
275
|
+
"default": "false",
|
|
276
|
+
"description": "The defaultSelected state of the option.",
|
|
277
|
+
"fieldName": "defaultSelected"
|
|
278
|
+
},
|
|
304
279
|
{
|
|
305
280
|
"name": "disabled",
|
|
306
281
|
"type": {
|
|
@@ -310,20 +285,21 @@ Code in this file were generated using following JSON:
|
|
|
310
285
|
"fieldName": "disabled"
|
|
311
286
|
},
|
|
312
287
|
{
|
|
313
|
-
"name": "selected",
|
|
288
|
+
"name": "current-selected",
|
|
314
289
|
"type": {
|
|
315
290
|
"text": "boolean"
|
|
316
291
|
},
|
|
317
|
-
"description": "The
|
|
318
|
-
"fieldName": "
|
|
292
|
+
"description": "The checked state of the control.",
|
|
293
|
+
"fieldName": "selected"
|
|
319
294
|
},
|
|
320
295
|
{
|
|
321
296
|
"name": "value",
|
|
322
297
|
"type": {
|
|
323
298
|
"text": "string"
|
|
324
299
|
},
|
|
325
|
-
"
|
|
326
|
-
"
|
|
300
|
+
"default": "''",
|
|
301
|
+
"description": "The value of the option.",
|
|
302
|
+
"fieldName": "value"
|
|
327
303
|
},
|
|
328
304
|
{
|
|
329
305
|
"name": "label",
|
|
@@ -409,7 +385,7 @@ registerOption('vvd3')
|
|
|
409
385
|
const VwcOption = wrapper(`vvd3-option`, {
|
|
410
386
|
events: [],
|
|
411
387
|
attributes: [],
|
|
412
|
-
properties: ['checked', 'defaultSelected', 'disabled', 'selectedAttribute', 'selected', '
|
|
388
|
+
properties: ['checked', 'defaultSelected', 'disabled', 'selectedAttribute', 'selected', 'value', '_label', 'label', '_text', 'text', 'matchedText', 'tagConnotation', 'proxy', '_vividAriaBehaviour', 'iconTrailing', 'icon', 'VIVID_VERSION', 'componentName']
|
|
413
389
|
})
|
|
414
390
|
|
|
415
391
|
VwcOption.displayName = 'VwcOption'
|