@vonage/vivid-react 3.5.1 → 4.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 +4 -4
- package/package.json +2 -2
- package/types/index.d.ts +58 -9
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +2 -0
- package/v3/VwcAccordionItem/index.js +85 -1
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.js +28 -0
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAudioPlayer/index.d.ts +2 -0
- package/v3/VwcAudioPlayer/index.js +106 -13
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.js +29 -0
- 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.js +42 -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/index.js +13 -0
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.js +51 -4
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcColorPicker/index.d.ts +61 -0
- package/v3/VwcColorPicker/index.js +651 -0
- package/v3/VwcColorPicker/package.json +11 -0
- package/v3/VwcCombobox/index.js +138 -0
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcContextualHelp/index.d.ts +22 -0
- package/v3/VwcContextualHelp/index.js +130 -0
- package/v3/VwcContextualHelp/package.json +11 -0
- package/v3/VwcDataGrid/index.d.ts +2 -0
- package/v3/VwcDataGrid/index.js +26 -10
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +5 -3
- package/v3/VwcDataGridCell/index.js +17 -25
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +3 -1
- package/v3/VwcDataGridRow/index.js +21 -21
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +14 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.js +21 -1
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.js +15 -2
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDelegateAriaBehavior/index.js +5 -58
- package/v3/VwcDelegateAriaBehavior/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +6 -0
- package/v3/VwcDialPad/index.js +27 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.js +50 -0
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +4 -2
- package/v3/VwcDivider/index.js +34 -15
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.js +28 -0
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.js +42 -0
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeedbackMessage/index.d.ts +0 -2
- package/v3/VwcFeedbackMessage/index.js +1 -13
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +5 -7
- package/v3/VwcFilePicker/index.js +55 -290
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcHostSemanticsBehavior/index.js +11 -27
- package/v3/VwcHostSemanticsBehavior/package.json +2 -2
- package/v3/VwcIcon/index.js +22 -0
- 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/index.d.ts +0 -2
- package/v3/VwcInlineTimePicker/index.js +1 -13
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.js +74 -0
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -0
- package/v3/VwcMenu/index.js +48 -1
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +1 -1
- package/v3/VwcMenuItem/index.js +50 -8
- 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/index.js +65 -0
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.js +44 -0
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.js +68 -0
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +9 -9
- package/v3/VwcOption/index.js +62 -44
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/index.js +66 -1
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +0 -2
- package/v3/VwcPickerField/index.js +41 -14
- 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/index.d.ts +0 -2
- package/v3/VwcRadio/index.js +38 -17
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.js +75 -0
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/package.json +2 -2
- package/v3/VwcSearchableSelect/index.d.ts +6 -0
- package/v3/VwcSearchableSelect/index.js +90 -1
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.js +106 -2
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +2 -2
- package/v3/VwcSelectableBox/index.js +65 -19
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
- package/v3/VwcSimpleColorPicker/index.js +500 -0
- package/v3/VwcSimpleColorPicker/package.json +11 -0
- package/v3/VwcSlider/index.js +52 -0
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +89 -0
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.js +51 -0
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.js +44 -0
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.js +4 -0
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.js +114 -4
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextArea/index.js +33 -0
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.js +40 -0
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +15 -2
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.js +35 -3
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.js +32 -0
- 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/index.d.ts +0 -2
- package/v3/VwcVividElement/index.js +36 -13
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/package.json +2 -2
- package/v3/VwcVvdHexInput/index.d.ts +16 -0
- package/v3/VwcVvdHexInput/index.js +43 -0
- package/v3/VwcVvdHexInput/package.json +11 -0
- package/v3/VwcVvdHexPicker/index.d.ts +16 -0
- package/v3/VwcVvdHexPicker/index.js +43 -0
- package/v3/VwcVvdHexPicker/package.json +11 -0
|
@@ -20,6 +20,10 @@ Code in this file were generated using following JSON:
|
|
|
20
20
|
"name": "--vvd-empty-state-cta-faint",
|
|
21
21
|
"default": "var(--vvd-color-cta-50)"
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-empty-state-cta-primary",
|
|
25
|
+
"default": "var(--vvd-color-cta-500)"
|
|
26
|
+
},
|
|
23
27
|
{
|
|
24
28
|
"name": "--vvd-empty-state-success-firm-all",
|
|
25
29
|
"default": "var(--vvd-color-success-600)"
|
|
@@ -32,6 +36,10 @@ Code in this file were generated using following JSON:
|
|
|
32
36
|
"name": "--vvd-empty-state-success-faint",
|
|
33
37
|
"default": "var(--vvd-color-success-50)"
|
|
34
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-empty-state-success-primary",
|
|
41
|
+
"default": "var(--vvd-color-success-500)"
|
|
42
|
+
},
|
|
35
43
|
{
|
|
36
44
|
"name": "--vvd-empty-state-alert-firm-all",
|
|
37
45
|
"default": "var(--vvd-color-alert-600)"
|
|
@@ -44,6 +52,10 @@ Code in this file were generated using following JSON:
|
|
|
44
52
|
"name": "--vvd-empty-state-alert-faint",
|
|
45
53
|
"default": "var(--vvd-color-alert-50)"
|
|
46
54
|
},
|
|
55
|
+
{
|
|
56
|
+
"name": "--vvd-empty-state-alert-primary",
|
|
57
|
+
"default": "var(--vvd-color-alert-500)"
|
|
58
|
+
},
|
|
47
59
|
{
|
|
48
60
|
"name": "--vvd-empty-state-warning-firm-all",
|
|
49
61
|
"default": "var(--vvd-color-warning-600)"
|
|
@@ -56,6 +68,10 @@ Code in this file were generated using following JSON:
|
|
|
56
68
|
"name": "--vvd-empty-state-warning-faint",
|
|
57
69
|
"default": "var(--vvd-color-warning-50)"
|
|
58
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"name": "--vvd-empty-state-warning-primary",
|
|
73
|
+
"default": "var(--vvd-color-warning-300)"
|
|
74
|
+
},
|
|
59
75
|
{
|
|
60
76
|
"name": "--vvd-empty-state-information-firm-all",
|
|
61
77
|
"default": "var(--vvd-color-information-600)"
|
|
@@ -68,6 +84,10 @@ Code in this file were generated using following JSON:
|
|
|
68
84
|
"name": "--vvd-empty-state-information-faint",
|
|
69
85
|
"default": "var(--vvd-color-information-50)"
|
|
70
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"name": "--vvd-empty-state-information-primary",
|
|
89
|
+
"default": "var(--vvd-color-information-500)"
|
|
90
|
+
},
|
|
71
91
|
{
|
|
72
92
|
"name": "--vvd-empty-state-announcement-firm-all",
|
|
73
93
|
"default": "var(--vvd-color-announcement-600)"
|
|
@@ -80,6 +100,10 @@ Code in this file were generated using following JSON:
|
|
|
80
100
|
"name": "--vvd-empty-state-announcement-faint",
|
|
81
101
|
"default": "var(--vvd-color-announcement-50)"
|
|
82
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"name": "--vvd-empty-state-announcement-primary",
|
|
105
|
+
"default": "var(--vvd-color-announcement-500)"
|
|
106
|
+
},
|
|
83
107
|
{
|
|
84
108
|
"name": "--vvd-empty-state-accent-firm-all",
|
|
85
109
|
"default": "var(--vvd-color-neutral-600)"
|
|
@@ -91,6 +115,10 @@ Code in this file were generated using following JSON:
|
|
|
91
115
|
{
|
|
92
116
|
"name": "--vvd-empty-state-accent-faint",
|
|
93
117
|
"default": "var(--vvd-color-neutral-50)"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "--vvd-empty-state-accent-primary",
|
|
121
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
94
122
|
}
|
|
95
123
|
],
|
|
96
124
|
"slots": [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-empty-state",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.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": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcFab/index.js
CHANGED
|
@@ -115,6 +115,19 @@ Code in this file were generated using following JSON:
|
|
|
115
115
|
"description": "Indicates the fab's label.",
|
|
116
116
|
"privacy": "public"
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "method",
|
|
120
|
+
"name": "clickHandler",
|
|
121
|
+
"parameters": [
|
|
122
|
+
{
|
|
123
|
+
"name": "event",
|
|
124
|
+
"type": {
|
|
125
|
+
"text": "Event"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"description": "Handles click events.\nPrevents interaction when disabled."
|
|
130
|
+
},
|
|
118
131
|
{
|
|
119
132
|
"kind": "field",
|
|
120
133
|
"name": "iconTrailing",
|
|
@@ -826,6 +839,35 @@ Code in this file were generated using following JSON:
|
|
|
826
839
|
"vividComponent": {
|
|
827
840
|
"public": true,
|
|
828
841
|
"name": "fab"
|
|
842
|
+
},
|
|
843
|
+
"vividTesting": {
|
|
844
|
+
"selectors": [
|
|
845
|
+
{
|
|
846
|
+
"name": "byLabel",
|
|
847
|
+
"args": [
|
|
848
|
+
"byLabel"
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"actions": [
|
|
853
|
+
{
|
|
854
|
+
"name": "click",
|
|
855
|
+
"args": [
|
|
856
|
+
"click",
|
|
857
|
+
"#control"
|
|
858
|
+
]
|
|
859
|
+
}
|
|
860
|
+
],
|
|
861
|
+
"queries": [],
|
|
862
|
+
"refs": [
|
|
863
|
+
{
|
|
864
|
+
"name": "control",
|
|
865
|
+
"args": [
|
|
866
|
+
"shadow",
|
|
867
|
+
"button.control"
|
|
868
|
+
]
|
|
869
|
+
}
|
|
870
|
+
]
|
|
829
871
|
}
|
|
830
872
|
}
|
|
831
873
|
*/
|
package/v3/VwcFab/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-fab",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.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": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -5,7 +5,6 @@ import React, { ReactNode } from 'react';
|
|
|
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
|
-
* @param {boolean} specialHandling
|
|
9
8
|
* @param {VividAriaBehaviour} _vividAriaBehaviour
|
|
10
9
|
*/
|
|
11
10
|
declare const VwcFeedbackMessage: {
|
|
@@ -18,7 +17,6 @@ declare const VwcFeedbackMessage: {
|
|
|
18
17
|
type?: any;
|
|
19
18
|
VIVID_VERSION?: string | undefined;
|
|
20
19
|
componentName?: string | undefined;
|
|
21
|
-
specialHandling?: boolean | undefined;
|
|
22
20
|
_vividAriaBehaviour?: any;
|
|
23
21
|
}): JSX.Element;
|
|
24
22
|
displayName: string;
|
|
@@ -43,18 +43,6 @@ Code in this file were generated using following JSON:
|
|
|
43
43
|
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
{
|
|
47
|
-
"kind": "field",
|
|
48
|
-
"name": "specialHandling",
|
|
49
|
-
"type": {
|
|
50
|
-
"text": "boolean"
|
|
51
|
-
},
|
|
52
|
-
"default": "false",
|
|
53
|
-
"inheritedFrom": {
|
|
54
|
-
"name": "VividElement",
|
|
55
|
-
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
46
|
{
|
|
59
47
|
"kind": "field",
|
|
60
48
|
"name": "_vividAriaBehaviour",
|
|
@@ -114,7 +102,7 @@ registerFeedbackMessage('vvd3')
|
|
|
114
102
|
const VwcFeedbackMessage = wrapper(`vvd3-feedback-message`, {
|
|
115
103
|
events: [],
|
|
116
104
|
attributes: [],
|
|
117
|
-
properties: ['type', 'VIVID_VERSION', 'componentName', '
|
|
105
|
+
properties: ['type', 'VIVID_VERSION', 'componentName', '_vividAriaBehaviour']
|
|
118
106
|
})
|
|
119
107
|
|
|
120
108
|
VwcFeedbackMessage.displayName = 'VwcFeedbackMessage'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-feedback-message",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.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": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcFilePicker
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/file-picker
|
|
4
|
-
* @param {boolean} singleFile -
|
|
5
|
-
* @param {number | undefined} maxFiles - The max files that can be selected. **attribute** `max-files`
|
|
6
|
-
* @param {number} maxFileSize - The
|
|
4
|
+
* @param {boolean} singleFile - Whether to allow only a single file. Subsequent added file will replace the current file. **attribute** `single-file`
|
|
5
|
+
* @param {number | undefined} maxFiles - The max number of files that can be selected. Additional files will be rejected. **attribute** `max-files`
|
|
6
|
+
* @param {number} maxFileSize - The maximum file size (in megabytes) for each file. **attribute** `max-file-size`
|
|
7
7
|
* @param {string | undefined} accept - List of accepted files types **attribute** `accept`
|
|
8
8
|
* @param {FilePickerSize | undefined} size - The size the file-uploader should have. **attribute** `size`
|
|
9
9
|
* @param {string | undefined} invalidFileTypeError - Overrides the localized error message for invalid file type **attribute** `invalid-file-type-error`
|
|
10
10
|
* @param {string | undefined} maxFilesExceededError - Overrides the localized error message for max file exceed **attribute** `max-files-exceeded-error`
|
|
11
11
|
* @param {string | undefined} fileTooBigError - Overrides the localized error message for file too big **attribute** `file-too-big-error`
|
|
12
|
-
* @param setFormValue
|
|
13
|
-
* @param {boolean} autoDiscover
|
|
14
12
|
* @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
|
|
15
13
|
To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
|
|
16
14
|
* @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
|
|
15
|
+
* @param validate
|
|
17
16
|
* @param {string | undefined} label - The label for the form element. **attribute** `label`
|
|
18
17
|
* @param {'delegate'} _vividAriaBehaviour
|
|
19
18
|
* @param {string} value - The current value of the element. **attribute** `current-value`
|
|
@@ -43,10 +42,9 @@ declare const VwcFilePicker: {
|
|
|
43
42
|
invalidFileTypeError?: string | undefined;
|
|
44
43
|
maxFilesExceededError?: string | undefined;
|
|
45
44
|
fileTooBigError?: string | undefined;
|
|
46
|
-
setFormValue?: any;
|
|
47
|
-
autoDiscover?: boolean | undefined;
|
|
48
45
|
helperText?: string | undefined;
|
|
49
46
|
errorText?: string | undefined;
|
|
47
|
+
validate?: any;
|
|
50
48
|
label?: string | undefined;
|
|
51
49
|
_vividAriaBehaviour?: any;
|
|
52
50
|
value?: string | undefined;
|