@vonage/vivid-react 3.2.0 → 3.3.1
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 +260 -29
- package/v3/VwcARIAGlobalStatesAndProperties/index.d.ts +122 -0
- package/v3/VwcARIAGlobalStatesAndProperties/index.js +352 -0
- package/v3/VwcARIAGlobalStatesAndProperties/package.json +11 -0
- package/v3/VwcAccordion/index.d.ts +7 -1
- package/v3/VwcAccordion/index.js +142 -3
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +6 -0
- package/v3/VwcAccordionItem/index.js +62 -3
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/index.js +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.d.ts +10 -14
- package/v3/VwcAlert/index.js +28 -25
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAnchor/index.d.ts +33 -0
- package/v3/VwcAnchor/index.js +173 -0
- package/v3/{VwcAppearanceUi → VwcAnchor}/package.json +3 -3
- package/v3/VwcAudioPlayer/index.js +2 -2
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/index.js +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/index.js +58 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.js +2 -2
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/index.d.ts +24 -0
- package/v3/VwcBaseProgress/index.js +108 -0
- package/v3/VwcBaseProgress/package.json +11 -0
- package/v3/VwcBreadcrumb/index.js +62 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/index.js +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +24 -3
- package/v3/VwcButton/index.js +369 -5
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/index.js +2 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/index.js +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.js +2 -2
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +8 -1
- package/v3/VwcCheckbox/index.js +67 -4
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +26 -0
- package/v3/VwcCombobox/index.js +286 -4
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.d.ts +29 -2
- package/v3/VwcDataGrid/index.js +286 -8
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +10 -2
- package/v3/VwcDataGridCell/index.js +143 -23
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +16 -0
- package/v3/VwcDataGridRow/index.js +168 -3
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +42 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDatePickerBase/index.js +27 -0
- package/v3/VwcDatePickerBase/package.json +2 -2
- package/v3/VwcDateRangePicker/index.js +45 -2
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDelegatesARIAButton/index.d.ts +19 -0
- package/v3/VwcDelegatesARIAButton/index.js +63 -0
- package/v3/VwcDelegatesARIAButton/package.json +11 -0
- package/v3/VwcDelegatesARIALink/index.d.ts +17 -0
- package/v3/VwcDelegatesARIALink/index.js +46 -0
- package/v3/VwcDelegatesARIALink/package.json +11 -0
- package/v3/VwcDelegatesARIAListbox/index.d.ts +23 -0
- package/v3/VwcDelegatesARIAListbox/index.js +63 -0
- package/v3/VwcDelegatesARIAListbox/package.json +11 -0
- package/v3/VwcDelegatesARIAListboxOption/index.d.ts +23 -0
- package/v3/VwcDelegatesARIAListboxOption/index.js +97 -0
- package/v3/VwcDelegatesARIAListboxOption/package.json +11 -0
- package/v3/VwcDelegatesARIASelect/index.d.ts +17 -0
- package/v3/VwcDelegatesARIASelect/index.js +70 -0
- package/v3/VwcDelegatesARIASelect/package.json +11 -0
- package/v3/VwcDelegatesARIATextbox/index.d.ts +16 -0
- package/v3/VwcDelegatesARIATextbox/index.js +59 -0
- package/v3/VwcDelegatesARIATextbox/package.json +11 -0
- package/v3/VwcDialPad/index.js +5 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +11 -1
- package/v3/VwcDialog/index.js +122 -20
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +4 -1
- package/v3/VwcDivider/index.js +41 -3
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/index.d.ts +2 -0
- package/v3/VwcElevation/index.js +17 -3
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.d.ts +4 -0
- package/v3/VwcEmptyState/index.js +123 -3
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.d.ts +20 -0
- package/v3/VwcFab/index.js +353 -3
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +8 -0
- package/v3/VwcFilePicker/index.js +181 -1
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedCheckbox/index.d.ts +17 -0
- package/v3/VwcFormAssociatedCheckbox/index.js +41 -0
- package/v3/VwcFormAssociatedCheckbox/package.json +11 -0
- package/v3/VwcFormAssociatedFilePicker/index.js +1 -1
- package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedNumberField/index.js +1 -1
- package/v3/VwcFormAssociatedNumberField/package.json +2 -2
- package/v3/VwcFormAssociatedRadio/index.d.ts +19 -0
- package/v3/VwcFormAssociatedRadio/index.js +64 -0
- package/v3/VwcFormAssociatedRadio/package.json +11 -0
- package/v3/VwcFormAssociatedRangeSlider/index.js +1 -1
- package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
- package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSearchableSelect/index.js +41 -0
- package/v3/VwcFormAssociatedSearchableSelect/package.json +11 -0
- package/v3/VwcFormAssociatedSelect/index.d.ts +27 -0
- package/v3/VwcFormAssociatedSelect/index.js +164 -0
- package/v3/VwcFormAssociatedSelect/package.json +11 -0
- package/v3/VwcFormAssociatedSlider/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSlider/index.js +41 -0
- package/v3/VwcFormAssociatedSlider/package.json +11 -0
- package/v3/VwcFormAssociatedSwitch/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSwitch/index.js +41 -0
- package/v3/VwcFormAssociatedSwitch/package.json +11 -0
- package/v3/VwcFormAssociatedTextArea/index.d.ts +17 -0
- package/v3/VwcFormAssociatedTextArea/index.js +41 -0
- package/v3/VwcFormAssociatedTextArea/package.json +11 -0
- package/v3/VwcFormAssociatedTextField/index.d.ts +17 -0
- package/v3/VwcFormAssociatedTextField/index.js +41 -0
- package/v3/VwcFormAssociatedTextField/package.json +11 -0
- package/v3/VwcFormAssociatedTimePicker/index.js +1 -1
- package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
- package/v3/VwcHeader/index.js +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/index.js +15 -2
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +27 -0
- package/v3/VwcInlineTimePicker/index.js +125 -0
- package/v3/VwcInlineTimePicker/package.json +11 -0
- package/v3/VwcLayout/index.js +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.d.ts +10 -6
- package/v3/VwcListbox/index.js +51 -76
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -4
- package/v3/VwcMenu/index.js +148 -11
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +8 -2
- package/v3/VwcMenuItem/index.js +93 -6
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/index.js +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.js +2 -2
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/index.js +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +2 -0
- package/v3/VwcNumberField/index.js +21 -2
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +24 -5
- package/v3/VwcOption/index.js +199 -12
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/index.d.ts +25 -0
- package/v3/VwcOptionTag/index.js +109 -0
- package/v3/VwcOptionTag/package.json +11 -0
- package/v3/VwcPagination/index.js +2 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcProgress/index.d.ts +8 -0
- package/v3/VwcProgress/index.js +79 -4
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.d.ts +8 -0
- package/v3/VwcProgressRing/index.js +84 -2
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +8 -0
- package/v3/VwcRadio/index.js +93 -3
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.d.ts +11 -0
- package/v3/VwcRadioGroup/index.js +180 -4
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.d.ts +2 -0
- package/v3/VwcRangeSlider/index.js +98 -10
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcSearchableSelect/index.d.ts +46 -0
- package/v3/VwcSearchableSelect/index.js +551 -0
- package/v3/VwcSearchableSelect/package.json +11 -0
- package/v3/VwcSelect/index.d.ts +20 -0
- package/v3/VwcSelect/index.js +208 -4
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.js +2 -2
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/index.d.ts +1 -0
- package/v3/VwcSideDrawer/index.js +10 -3
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +24 -11
- package/v3/VwcSlider/index.js +338 -8
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +2 -2
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +10 -1
- package/v3/VwcSwitch/index.js +93 -4
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +4 -0
- package/v3/VwcTab/index.js +61 -3
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/index.js +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.d.ts +11 -1
- package/v3/VwcTabs/index.js +284 -34
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.js +2 -2
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.js +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextAnchor/index.js +2 -2
- package/v3/VwcTextAnchor/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +27 -0
- package/v3/VwcTextArea/index.js +229 -4
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +28 -2
- package/v3/VwcTextField/index.js +224 -4
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +20 -1
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.js +2 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.js +2 -2
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/index.d.ts +6 -0
- package/v3/VwcTreeItem/index.js +107 -3
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/index.d.ts +5 -1
- package/v3/VwcTreeView/index.js +124 -3
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/index.js +2 -2
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVividElement/index.d.ts +16 -0
- package/v3/VwcVividElement/index.js +30 -0
- package/v3/VwcVividElement/package.json +11 -0
- package/v3/VwcVividFoundationButton/index.d.ts +36 -0
- package/v3/VwcVividFoundationButton/index.js +296 -0
- package/v3/VwcVividFoundationButton/package.json +11 -0
- package/v3/VwcAppearanceUi/index.d.ts +0 -29
- package/v3/VwcAppearanceUi/index.js +0 -559
package/v3/VwcFab/index.js
CHANGED
|
@@ -114,6 +114,273 @@ Code in this file were generated using following JSON:
|
|
|
114
114
|
},
|
|
115
115
|
"description": "Indicates the fab's label.",
|
|
116
116
|
"privacy": "public"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "field",
|
|
120
|
+
"name": "autofocus",
|
|
121
|
+
"type": {
|
|
122
|
+
"text": "boolean"
|
|
123
|
+
},
|
|
124
|
+
"privacy": "public",
|
|
125
|
+
"description": "Determines if the element should receive document focus on page load.",
|
|
126
|
+
"inheritedFrom": {
|
|
127
|
+
"name": "VividFoundationButton",
|
|
128
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "field",
|
|
133
|
+
"name": "formId",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "string"
|
|
136
|
+
},
|
|
137
|
+
"privacy": "public",
|
|
138
|
+
"description": "The id of a form to associate the element to.",
|
|
139
|
+
"inheritedFrom": {
|
|
140
|
+
"name": "VividFoundationButton",
|
|
141
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "field",
|
|
146
|
+
"name": "formaction",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "string"
|
|
149
|
+
},
|
|
150
|
+
"privacy": "public",
|
|
151
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
152
|
+
"inheritedFrom": {
|
|
153
|
+
"name": "VividFoundationButton",
|
|
154
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"kind": "method",
|
|
159
|
+
"name": "formactionChanged",
|
|
160
|
+
"privacy": "private",
|
|
161
|
+
"return": {
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "void"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"inheritedFrom": {
|
|
167
|
+
"name": "VividFoundationButton",
|
|
168
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "field",
|
|
173
|
+
"name": "formenctype",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "string"
|
|
176
|
+
},
|
|
177
|
+
"privacy": "public",
|
|
178
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
179
|
+
"inheritedFrom": {
|
|
180
|
+
"name": "VividFoundationButton",
|
|
181
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "method",
|
|
186
|
+
"name": "formenctypeChanged",
|
|
187
|
+
"privacy": "private",
|
|
188
|
+
"return": {
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "void"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"inheritedFrom": {
|
|
194
|
+
"name": "VividFoundationButton",
|
|
195
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"kind": "field",
|
|
200
|
+
"name": "formmethod",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "string"
|
|
203
|
+
},
|
|
204
|
+
"privacy": "public",
|
|
205
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
206
|
+
"inheritedFrom": {
|
|
207
|
+
"name": "VividFoundationButton",
|
|
208
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "method",
|
|
213
|
+
"name": "formmethodChanged",
|
|
214
|
+
"privacy": "private",
|
|
215
|
+
"return": {
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "void"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"inheritedFrom": {
|
|
221
|
+
"name": "VividFoundationButton",
|
|
222
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"kind": "field",
|
|
227
|
+
"name": "formnovalidate",
|
|
228
|
+
"type": {
|
|
229
|
+
"text": "boolean"
|
|
230
|
+
},
|
|
231
|
+
"privacy": "public",
|
|
232
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
233
|
+
"inheritedFrom": {
|
|
234
|
+
"name": "VividFoundationButton",
|
|
235
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"kind": "method",
|
|
240
|
+
"name": "formnovalidateChanged",
|
|
241
|
+
"privacy": "private",
|
|
242
|
+
"return": {
|
|
243
|
+
"type": {
|
|
244
|
+
"text": "void"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"inheritedFrom": {
|
|
248
|
+
"name": "VividFoundationButton",
|
|
249
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"kind": "field",
|
|
254
|
+
"name": "formtarget",
|
|
255
|
+
"type": {
|
|
256
|
+
"text": "'_self' | '_blank' | '_parent' | '_top'"
|
|
257
|
+
},
|
|
258
|
+
"privacy": "public",
|
|
259
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
260
|
+
"inheritedFrom": {
|
|
261
|
+
"name": "VividFoundationButton",
|
|
262
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "method",
|
|
267
|
+
"name": "formtargetChanged",
|
|
268
|
+
"privacy": "private",
|
|
269
|
+
"return": {
|
|
270
|
+
"type": {
|
|
271
|
+
"text": "void"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"inheritedFrom": {
|
|
275
|
+
"name": "VividFoundationButton",
|
|
276
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "field",
|
|
281
|
+
"name": "type",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
284
|
+
},
|
|
285
|
+
"privacy": "public",
|
|
286
|
+
"description": "The button type.",
|
|
287
|
+
"inheritedFrom": {
|
|
288
|
+
"name": "VividFoundationButton",
|
|
289
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "method",
|
|
294
|
+
"name": "typeChanged",
|
|
295
|
+
"privacy": "private",
|
|
296
|
+
"return": {
|
|
297
|
+
"type": {
|
|
298
|
+
"text": "void"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"parameters": [
|
|
302
|
+
{
|
|
303
|
+
"name": "previous",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "'submit' | 'reset' | 'button' | void"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "next",
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
],
|
|
315
|
+
"inheritedFrom": {
|
|
316
|
+
"name": "VividFoundationButton",
|
|
317
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"kind": "method",
|
|
322
|
+
"name": "validate",
|
|
323
|
+
"privacy": "public",
|
|
324
|
+
"return": {
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "void"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}",
|
|
330
|
+
"inheritedFrom": {
|
|
331
|
+
"name": "VividFoundationButton",
|
|
332
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"kind": "field",
|
|
337
|
+
"name": "handleSubmission",
|
|
338
|
+
"privacy": "private",
|
|
339
|
+
"description": "Submits the parent form",
|
|
340
|
+
"inheritedFrom": {
|
|
341
|
+
"name": "VividFoundationButton",
|
|
342
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "field",
|
|
347
|
+
"name": "handleFormReset",
|
|
348
|
+
"privacy": "private",
|
|
349
|
+
"description": "Resets the parent form",
|
|
350
|
+
"inheritedFrom": {
|
|
351
|
+
"name": "VividFoundationButton",
|
|
352
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "field",
|
|
357
|
+
"name": "control",
|
|
358
|
+
"type": {
|
|
359
|
+
"text": "HTMLButtonElement"
|
|
360
|
+
},
|
|
361
|
+
"privacy": "public",
|
|
362
|
+
"inheritedFrom": {
|
|
363
|
+
"name": "VividFoundationButton",
|
|
364
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "field",
|
|
369
|
+
"name": "handleUnsupportedDelegatesFocus",
|
|
370
|
+
"privacy": "private",
|
|
371
|
+
"description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
|
|
372
|
+
"inheritedFrom": {
|
|
373
|
+
"name": "VividFoundationButton",
|
|
374
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"kind": "field",
|
|
379
|
+
"name": "proxy",
|
|
380
|
+
"inheritedFrom": {
|
|
381
|
+
"name": "FormAssociatedButton",
|
|
382
|
+
"module": "libs/components/src/shared/foundation/button/button.form-associated.ts"
|
|
383
|
+
}
|
|
117
384
|
}
|
|
118
385
|
],
|
|
119
386
|
"attributes": [
|
|
@@ -140,11 +407,94 @@ Code in this file were generated using following JSON:
|
|
|
140
407
|
},
|
|
141
408
|
"description": "Indicates the fab's label.",
|
|
142
409
|
"fieldName": "label"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"type": {
|
|
413
|
+
"text": "boolean"
|
|
414
|
+
},
|
|
415
|
+
"description": "Determines if the element should receive document focus on page load.",
|
|
416
|
+
"fieldName": "autofocus",
|
|
417
|
+
"inheritedFrom": {
|
|
418
|
+
"name": "VividFoundationButton",
|
|
419
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "form",
|
|
424
|
+
"type": {
|
|
425
|
+
"text": "string"
|
|
426
|
+
},
|
|
427
|
+
"description": "The id of a form to associate the element to.",
|
|
428
|
+
"fieldName": "formId",
|
|
429
|
+
"inheritedFrom": {
|
|
430
|
+
"name": "VividFoundationButton",
|
|
431
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "formaction",
|
|
436
|
+
"type": {
|
|
437
|
+
"text": "string"
|
|
438
|
+
},
|
|
439
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
440
|
+
"fieldName": "formaction",
|
|
441
|
+
"inheritedFrom": {
|
|
442
|
+
"name": "VividFoundationButton",
|
|
443
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "formenctype",
|
|
448
|
+
"type": {
|
|
449
|
+
"text": "string"
|
|
450
|
+
},
|
|
451
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
452
|
+
"fieldName": "formenctype",
|
|
453
|
+
"inheritedFrom": {
|
|
454
|
+
"name": "VividFoundationButton",
|
|
455
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "formmethod",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "string"
|
|
462
|
+
},
|
|
463
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
464
|
+
"fieldName": "formmethod",
|
|
465
|
+
"inheritedFrom": {
|
|
466
|
+
"name": "VividFoundationButton",
|
|
467
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "formtarget",
|
|
472
|
+
"type": {
|
|
473
|
+
"text": "'_self' | '_blank' | '_parent' | '_top'"
|
|
474
|
+
},
|
|
475
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
|
|
476
|
+
"fieldName": "formtarget",
|
|
477
|
+
"inheritedFrom": {
|
|
478
|
+
"name": "VividFoundationButton",
|
|
479
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "type",
|
|
484
|
+
"type": {
|
|
485
|
+
"text": "'submit' | 'reset' | 'button'"
|
|
486
|
+
},
|
|
487
|
+
"description": "The button type.",
|
|
488
|
+
"fieldName": "type",
|
|
489
|
+
"inheritedFrom": {
|
|
490
|
+
"name": "VividFoundationButton",
|
|
491
|
+
"module": "libs/components/src/shared/foundation/button/button.ts"
|
|
492
|
+
}
|
|
143
493
|
}
|
|
144
494
|
],
|
|
145
495
|
"superclass": {
|
|
146
|
-
"name": "
|
|
147
|
-
"
|
|
496
|
+
"name": "VividFoundationButton",
|
|
497
|
+
"module": "/libs/components/src/shared/foundation/button"
|
|
148
498
|
},
|
|
149
499
|
"vividComponent": {
|
|
150
500
|
"public": true,
|
|
@@ -160,7 +510,7 @@ registerFab('vvd3')
|
|
|
160
510
|
const VwcFab = wrapper(`vvd3-fab`, {
|
|
161
511
|
events: [],
|
|
162
512
|
attributes: [],
|
|
163
|
-
properties: ['connotation', 'size', 'label']
|
|
513
|
+
properties: ['connotation', 'size', 'label', 'autofocus', 'formId', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'type', 'control', 'proxy']
|
|
164
514
|
})
|
|
165
515
|
|
|
166
516
|
VwcFab.displayName = 'VwcFab'
|
package/v3/VwcFab/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-fab",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.4",
|
|
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.14.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
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 - Single file state. **attribute** `single-file`
|
|
4
5
|
* @param {number | undefined} maxFiles - The max files that can be selected. **attribute** `max-files`
|
|
5
6
|
* @param {number} maxFileSize - The max file size that can be selected. **attribute** `max-file-size`
|
|
6
7
|
* @param {string | undefined} accept - List of accepted files types **attribute** `accept`
|
|
7
8
|
* @param {FilePickerSize | undefined} size - The size the file-uploader should have. **attribute** `size`
|
|
9
|
+
* @param {string | undefined} invalidFileTypeError - Overrides the localized error message for invalid file type **attribute** `invalid-file-type-error`
|
|
10
|
+
* @param {string | undefined} maxFilesExceededError - Overrides the localized error message for max file exceed **attribute** `max-files-exceeded-error`
|
|
11
|
+
* @param {string | undefined} fileTooBigError - Overrides the localized error message for file too big **attribute** `file-too-big-error`
|
|
8
12
|
* @param setFormValue
|
|
9
13
|
* @param {boolean} autoDiscover
|
|
10
14
|
* @param {HTMLInputElement} proxy
|
|
@@ -17,10 +21,14 @@ declare const VwcFilePicker: {
|
|
|
17
21
|
style?: React.CSSProperties | undefined;
|
|
18
22
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
23
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
24
|
+
singleFile?: boolean | undefined;
|
|
20
25
|
maxFiles?: any;
|
|
21
26
|
maxFileSize?: number | undefined;
|
|
22
27
|
accept?: string | undefined;
|
|
23
28
|
size?: any;
|
|
29
|
+
invalidFileTypeError?: string | undefined;
|
|
30
|
+
maxFilesExceededError?: string | undefined;
|
|
31
|
+
fileTooBigError?: string | undefined;
|
|
24
32
|
setFormValue?: any;
|
|
25
33
|
autoDiscover?: boolean | undefined;
|
|
26
34
|
proxy?: any;
|
|
@@ -32,6 +32,24 @@ Code in this file were generated using following JSON:
|
|
|
32
32
|
"privacy": "public",
|
|
33
33
|
"readonly": true
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "method",
|
|
37
|
+
"name": "#syncSingleFileState"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "field",
|
|
41
|
+
"name": "singleFile",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"default": "false",
|
|
46
|
+
"description": "Single file state.",
|
|
47
|
+
"privacy": "public"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"kind": "method",
|
|
51
|
+
"name": "singleFileChanged"
|
|
52
|
+
},
|
|
35
53
|
{
|
|
36
54
|
"kind": "field",
|
|
37
55
|
"name": "maxFiles",
|
|
@@ -138,6 +156,102 @@ Code in this file were generated using following JSON:
|
|
|
138
156
|
"description": "The size the file-uploader should have.",
|
|
139
157
|
"privacy": "public"
|
|
140
158
|
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "field",
|
|
161
|
+
"name": "invalidFileTypeError",
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "string | undefined"
|
|
164
|
+
},
|
|
165
|
+
"description": "Overrides the localized error message for invalid file type",
|
|
166
|
+
"privacy": "public"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "method",
|
|
170
|
+
"name": "invalidFileTypeErrorChanged",
|
|
171
|
+
"return": {
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "void"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"parameters": [
|
|
177
|
+
{
|
|
178
|
+
"name": "_oldValue",
|
|
179
|
+
"type": {
|
|
180
|
+
"text": "string"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "newValue",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "string"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "field",
|
|
193
|
+
"name": "maxFilesExceededError",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "string | undefined"
|
|
196
|
+
},
|
|
197
|
+
"description": "Overrides the localized error message for max file exceed",
|
|
198
|
+
"privacy": "public"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"kind": "method",
|
|
202
|
+
"name": "maxFilesExceededErrorChanged",
|
|
203
|
+
"return": {
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "void"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"parameters": [
|
|
209
|
+
{
|
|
210
|
+
"name": "_oldValue",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "newValue",
|
|
217
|
+
"type": {
|
|
218
|
+
"text": "string"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "field",
|
|
225
|
+
"name": "fileTooBigError",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "string | undefined"
|
|
228
|
+
},
|
|
229
|
+
"description": "Overrides the localized error message for file too big",
|
|
230
|
+
"privacy": "public"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "method",
|
|
234
|
+
"name": "fileTooBigErrorChanged",
|
|
235
|
+
"return": {
|
|
236
|
+
"type": {
|
|
237
|
+
"text": "void"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"parameters": [
|
|
241
|
+
{
|
|
242
|
+
"name": "_oldValue",
|
|
243
|
+
"type": {
|
|
244
|
+
"text": "string"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "newValue",
|
|
249
|
+
"type": {
|
|
250
|
+
"text": "string"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
},
|
|
141
255
|
{
|
|
142
256
|
"kind": "method",
|
|
143
257
|
"name": "nameChanged",
|
|
@@ -166,6 +280,30 @@ Code in this file were generated using following JSON:
|
|
|
166
280
|
"default": "'vwc-button'",
|
|
167
281
|
"description": "Used internally to hold the tag that button is registered at."
|
|
168
282
|
},
|
|
283
|
+
{
|
|
284
|
+
"kind": "field",
|
|
285
|
+
"name": "iconTag",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "string"
|
|
288
|
+
},
|
|
289
|
+
"privacy": "private",
|
|
290
|
+
"default": "'vwc-icon'",
|
|
291
|
+
"description": "Used internally to hold the tag that icon is registered at."
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "field",
|
|
295
|
+
"name": "#localizeErrorMessage",
|
|
296
|
+
"privacy": "private"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "field",
|
|
300
|
+
"name": "#localizeFileSizeNumberAndUnits",
|
|
301
|
+
"privacy": "private"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "method",
|
|
305
|
+
"name": "#addRemoveButtonToFilesPreview"
|
|
306
|
+
},
|
|
169
307
|
{
|
|
170
308
|
"kind": "method",
|
|
171
309
|
"name": "#chooseFile",
|
|
@@ -184,6 +322,10 @@ Code in this file were generated using following JSON:
|
|
|
184
322
|
}
|
|
185
323
|
}
|
|
186
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "method",
|
|
327
|
+
"name": "#keepOnlyNewestFile"
|
|
328
|
+
},
|
|
187
329
|
{
|
|
188
330
|
"kind": "method",
|
|
189
331
|
"name": "#handleFilesChanged",
|
|
@@ -235,6 +377,11 @@ Code in this file were generated using following JSON:
|
|
|
235
377
|
}
|
|
236
378
|
]
|
|
237
379
|
},
|
|
380
|
+
{
|
|
381
|
+
"kind": "method",
|
|
382
|
+
"name": "removeAllFiles",
|
|
383
|
+
"description": "Removes all files from the File Picker."
|
|
384
|
+
},
|
|
238
385
|
{
|
|
239
386
|
"kind": "field",
|
|
240
387
|
"name": "autoDiscover",
|
|
@@ -265,6 +412,15 @@ Code in this file were generated using following JSON:
|
|
|
265
412
|
}
|
|
266
413
|
],
|
|
267
414
|
"attributes": [
|
|
415
|
+
{
|
|
416
|
+
"name": "single-file",
|
|
417
|
+
"type": {
|
|
418
|
+
"text": "boolean"
|
|
419
|
+
},
|
|
420
|
+
"default": "false",
|
|
421
|
+
"description": "Single file state.",
|
|
422
|
+
"fieldName": "singleFile"
|
|
423
|
+
},
|
|
268
424
|
{
|
|
269
425
|
"name": "max-files",
|
|
270
426
|
"type": {
|
|
@@ -297,6 +453,30 @@ Code in this file were generated using following JSON:
|
|
|
297
453
|
},
|
|
298
454
|
"description": "The size the file-uploader should have.",
|
|
299
455
|
"fieldName": "size"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "invalid-file-type-error",
|
|
459
|
+
"type": {
|
|
460
|
+
"text": "string | undefined"
|
|
461
|
+
},
|
|
462
|
+
"description": "Overrides the localized error message for invalid file type",
|
|
463
|
+
"fieldName": "invalidFileTypeError"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "max-files-exceeded-error",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "string | undefined"
|
|
469
|
+
},
|
|
470
|
+
"description": "Overrides the localized error message for max file exceed",
|
|
471
|
+
"fieldName": "maxFilesExceededError"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "file-too-big-error",
|
|
475
|
+
"type": {
|
|
476
|
+
"text": "string | undefined"
|
|
477
|
+
},
|
|
478
|
+
"description": "Overrides the localized error message for file too big",
|
|
479
|
+
"fieldName": "fileTooBigError"
|
|
300
480
|
}
|
|
301
481
|
],
|
|
302
482
|
"superclass": {
|
|
@@ -317,7 +497,7 @@ registerFilePicker('vvd3')
|
|
|
317
497
|
const VwcFilePicker = wrapper(`vvd3-file-picker`, {
|
|
318
498
|
events: [{"name":"change","propName":"onChange"}],
|
|
319
499
|
attributes: [],
|
|
320
|
-
properties: ['maxFiles', 'maxFileSize', 'accept', 'size', 'setFormValue', 'autoDiscover', 'proxy']
|
|
500
|
+
properties: ['singleFile', 'maxFiles', 'maxFileSize', 'accept', 'size', 'invalidFileTypeError', 'maxFilesExceededError', 'fileTooBigError', 'setFormValue', 'autoDiscover', 'proxy']
|
|
321
501
|
})
|
|
322
502
|
|
|
323
503
|
VwcFilePicker.displayName = 'VwcFilePicker'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-file-picker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.4",
|
|
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.14.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcFormAssociatedCheckbox
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/form-associated-checkbox
|
|
4
|
+
* @param proxy
|
|
5
|
+
*/
|
|
6
|
+
declare const VwcFormAssociatedCheckbox: {
|
|
7
|
+
(props: {
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
slot?: string | undefined;
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
style?: React.CSSProperties | undefined;
|
|
12
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
13
|
+
proxy?: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export default VwcFormAssociatedCheckbox;
|