@vonage/vivid-react 3.4.1 → 3.5.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 -5
- package/package.json +2 -2
- package/types/index.d.ts +312 -158
- package/v3/VwcAccordion/index.d.ts +5 -0
- package/v3/VwcAccordion/index.js +29 -2
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +9 -0
- package/v3/VwcAccordionItem/index.js +97 -3
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/index.d.ts +7 -4
- package/v3/VwcActionGroup/index.js +37 -23
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.d.ts +7 -2
- package/v3/VwcAlert/index.js +69 -20
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAudioPlayer/index.d.ts +6 -1
- package/v3/VwcAudioPlayer/index.js +39 -4
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/index.d.ts +28 -1
- package/v3/VwcAvatar/index.js +284 -5
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/index.d.ts +11 -0
- package/v3/VwcBadge/index.js +105 -3
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.d.ts +9 -4
- package/v3/VwcBanner/index.js +82 -33
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/index.d.ts +5 -0
- package/v3/VwcBaseProgress/index.js +33 -2
- package/v3/VwcBaseProgress/package.json +2 -2
- package/v3/VwcBreadcrumb/index.d.ts +7 -1
- package/v3/VwcBreadcrumb/index.js +47 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/index.d.ts +25 -0
- package/v3/VwcBreadcrumbItem/index.js +259 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +40 -20
- package/v3/VwcButton/index.js +492 -92
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/index.d.ts +7 -0
- package/v3/VwcCalendar/index.js +52 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/index.d.ts +7 -0
- package/v3/VwcCalendarEvent/index.js +49 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.d.ts +27 -0
- package/v3/VwcCard/index.js +300 -2
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +45 -15
- package/v3/VwcCheckbox/index.js +531 -41
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +28 -5
- package/v3/VwcCombobox/index.js +458 -31
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.d.ts +6 -1
- package/v3/VwcDataGrid/index.js +31 -19
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +9 -0
- package/v3/VwcDataGridCell/index.js +76 -19
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +7 -0
- package/v3/VwcDataGridRow/index.js +48 -2
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +29 -12
- package/v3/VwcDatePicker/index.js +436 -150
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.d.ts +29 -13
- package/v3/VwcDateRangePicker/index.js +430 -144
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.d.ts +68 -0
- package/v3/VwcDateTimePicker/index.js +885 -0
- package/v3/{VwcDatePickerBase → VwcDateTimePicker}/package.json +3 -3
- package/v3/{VwcFormAssociatedSlider → VwcDelegateAriaBehavior}/index.d.ts +5 -6
- package/v3/VwcDelegateAriaBehavior/index.js +208 -0
- package/v3/{VwcDelegatesARIAButton → VwcDelegateAriaBehavior}/package.json +3 -3
- package/v3/VwcDialPad/index.d.ts +21 -0
- package/v3/VwcDialPad/index.js +73 -6
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +9 -2
- package/v3/VwcDialog/index.js +73 -20
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +8 -1
- package/v3/VwcDivider/index.js +49 -4
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/index.d.ts +5 -0
- package/v3/VwcElevation/index.js +29 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.d.ts +8 -1
- package/v3/VwcEmptyState/index.js +30 -5
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.d.ts +25 -3
- package/v3/VwcFab/index.js +359 -32
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeedbackMessage/index.d.ts +26 -0
- package/v3/VwcFeedbackMessage/index.js +122 -0
- package/v3/{VwcDelegatesARIALink → VwcFeedbackMessage}/package.json +3 -3
- package/v3/VwcFilePicker/index.d.ts +27 -2
- package/v3/VwcFilePicker/index.js +442 -7
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcHeader/index.d.ts +7 -0
- package/v3/VwcHeader/index.js +48 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/{VwcFormAssociatedSwitch → VwcHostSemanticsBehavior}/index.d.ts +5 -6
- package/v3/VwcHostSemanticsBehavior/index.js +107 -0
- package/v3/VwcHostSemanticsBehavior/package.json +11 -0
- package/v3/VwcIcon/index.d.ts +7 -0
- package/v3/VwcIcon/index.js +47 -2
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +11 -0
- package/v3/VwcInlineTimePicker/index.js +96 -2
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/index.d.ts +6 -1
- package/v3/VwcLayout/index.js +31 -4
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.d.ts +5 -0
- package/v3/VwcListbox/index.js +30 -2
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +9 -2
- package/v3/VwcMenu/index.js +118 -47
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuBar/index.d.ts +22 -0
- package/v3/VwcMenuBar/index.js +95 -0
- package/v3/{VwcTextAnchor → VwcMenuBar}/package.json +3 -3
- package/v3/VwcMenuItem/index.d.ts +13 -2
- package/v3/VwcMenuItem/index.js +106 -28
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/index.d.ts +7 -1
- package/v3/VwcNav/index.js +50 -3
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.d.ts +11 -2
- package/v3/VwcNavDisclosure/index.js +88 -10
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.d.ts +32 -3
- package/v3/VwcNavItem/index.js +320 -43
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/index.d.ts +7 -0
- package/v3/VwcNote/index.js +61 -3
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +31 -2
- package/v3/VwcNumberField/index.js +500 -9
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +15 -0
- package/v3/VwcOption/index.js +143 -31
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/index.d.ts +7 -0
- package/v3/VwcOptionTag/index.js +48 -2
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/index.d.ts +5 -0
- package/v3/VwcPagination/index.js +46 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +49 -0
- package/v3/VwcPickerField/index.js +555 -0
- package/v3/VwcPickerField/package.json +11 -0
- package/v3/VwcPopup/index.d.ts +44 -0
- package/v3/VwcPopup/index.js +380 -0
- package/v3/{VwcAnchor → VwcPopup}/package.json +3 -3
- package/v3/VwcProgress/index.d.ts +11 -6
- package/v3/VwcProgress/index.js +100 -26
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.d.ts +10 -5
- package/v3/VwcProgressRing/index.js +91 -25
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/{VwcDelegatesARIATextbox → VwcProseMirrorFacade}/index.d.ts +4 -4
- package/v3/VwcProseMirrorFacade/index.js +231 -0
- package/v3/VwcProseMirrorFacade/package.json +11 -0
- package/v3/VwcRadio/index.d.ts +33 -6
- package/v3/VwcRadio/index.js +452 -47
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.d.ts +13 -1
- package/v3/VwcRadioGroup/index.js +106 -8
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.d.ts +20 -2
- package/v3/VwcRangeSlider/index.js +306 -10
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/index.d.ts +28 -0
- package/v3/VwcRichTextEditor/index.js +254 -0
- package/v3/VwcRichTextEditor/package.json +11 -0
- package/v3/VwcSearchableSelect/index.d.ts +45 -2
- package/v3/VwcSearchableSelect/index.js +581 -15
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +46 -26
- package/v3/VwcSelect/index.js +519 -59
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +8 -3
- package/v3/VwcSelectableBox/index.js +52 -21
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/index.d.ts +5 -0
- package/v3/VwcSideDrawer/index.js +33 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +21 -9
- package/v3/VwcSlider/index.js +283 -40
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.d.ts +9 -6
- package/v3/VwcSplitButton/index.js +74 -45
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +31 -13
- package/v3/VwcSwitch/index.js +329 -33
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +12 -3
- package/v3/VwcTab/index.js +109 -17
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/index.d.ts +7 -1
- package/v3/VwcTabPanel/index.js +50 -3
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.d.ts +7 -4
- package/v3/VwcTabs/index.js +110 -178
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.d.ts +9 -0
- package/v3/VwcTag/index.js +85 -3
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.d.ts +7 -2
- package/v3/VwcTagGroup/index.js +47 -20
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +31 -4
- package/v3/VwcTextArea/index.js +495 -27
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +42 -6
- package/v3/VwcTextField/index.js +500 -27
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.d.ts +35 -12
- package/v3/VwcTimePicker/index.js +545 -110
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.d.ts +7 -1
- package/v3/VwcToggletip/index.js +102 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.d.ts +7 -1
- package/v3/VwcTooltip/index.js +101 -2
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/index.d.ts +9 -0
- package/v3/VwcTreeItem/index.js +80 -3
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/index.d.ts +7 -0
- package/v3/VwcTreeView/index.js +47 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/index.d.ts +6 -1
- package/v3/VwcVideoPlayer/index.js +40 -5
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVisuallyHidden/index.d.ts +20 -0
- package/v3/VwcVisuallyHidden/index.js +61 -0
- package/v3/VwcVisuallyHidden/package.json +11 -0
- package/v3/VwcVividElement/index.d.ts +9 -1
- package/v3/VwcVividElement/index.js +72 -1
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/index.d.ts +20 -2
- package/v3/VwcVividFoundationButton/index.js +274 -6
- package/v3/VwcVividFoundationButton/package.json +2 -2
- package/v3/VwcARIAGlobalStatesAndProperties/index.d.ts +0 -122
- package/v3/VwcARIAGlobalStatesAndProperties/index.js +0 -352
- package/v3/VwcARIAGlobalStatesAndProperties/package.json +0 -11
- package/v3/VwcAnchor/index.d.ts +0 -33
- package/v3/VwcAnchor/index.js +0 -173
- package/v3/VwcDatePickerBase/index.d.ts +0 -30
- package/v3/VwcDatePickerBase/index.js +0 -275
- package/v3/VwcDelegatesARIAButton/index.d.ts +0 -19
- package/v3/VwcDelegatesARIAButton/index.js +0 -63
- package/v3/VwcDelegatesARIALink/index.d.ts +0 -17
- package/v3/VwcDelegatesARIALink/index.js +0 -46
- package/v3/VwcDelegatesARIAListbox/index.d.ts +0 -23
- package/v3/VwcDelegatesARIAListbox/index.js +0 -63
- package/v3/VwcDelegatesARIAListbox/package.json +0 -11
- package/v3/VwcDelegatesARIAListboxOption/index.d.ts +0 -23
- package/v3/VwcDelegatesARIAListboxOption/index.js +0 -97
- package/v3/VwcDelegatesARIAListboxOption/package.json +0 -11
- package/v3/VwcDelegatesARIASelect/index.d.ts +0 -17
- package/v3/VwcDelegatesARIASelect/index.js +0 -70
- package/v3/VwcDelegatesARIASelect/package.json +0 -11
- package/v3/VwcDelegatesARIATextbox/index.js +0 -59
- package/v3/VwcDelegatesARIATextbox/package.json +0 -11
- package/v3/VwcFormAssociatedCheckbox/index.d.ts +0 -17
- package/v3/VwcFormAssociatedCheckbox/index.js +0 -41
- package/v3/VwcFormAssociatedCheckbox/package.json +0 -11
- package/v3/VwcFormAssociatedFilePicker/index.d.ts +0 -17
- package/v3/VwcFormAssociatedFilePicker/index.js +0 -44
- package/v3/VwcFormAssociatedFilePicker/package.json +0 -11
- package/v3/VwcFormAssociatedNumberField/index.d.ts +0 -17
- package/v3/VwcFormAssociatedNumberField/index.js +0 -41
- package/v3/VwcFormAssociatedNumberField/package.json +0 -11
- package/v3/VwcFormAssociatedRadio/index.d.ts +0 -19
- package/v3/VwcFormAssociatedRadio/index.js +0 -64
- package/v3/VwcFormAssociatedRadio/package.json +0 -11
- package/v3/VwcFormAssociatedRangeSlider/index.d.ts +0 -17
- package/v3/VwcFormAssociatedRangeSlider/index.js +0 -41
- package/v3/VwcFormAssociatedRangeSlider/package.json +0 -11
- package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +0 -17
- package/v3/VwcFormAssociatedSearchableSelect/index.js +0 -41
- package/v3/VwcFormAssociatedSearchableSelect/package.json +0 -11
- package/v3/VwcFormAssociatedSelect/index.d.ts +0 -27
- package/v3/VwcFormAssociatedSelect/index.js +0 -164
- package/v3/VwcFormAssociatedSelect/package.json +0 -11
- package/v3/VwcFormAssociatedSlider/index.js +0 -41
- package/v3/VwcFormAssociatedSlider/package.json +0 -11
- package/v3/VwcFormAssociatedSwitch/index.js +0 -41
- package/v3/VwcFormAssociatedSwitch/package.json +0 -11
- package/v3/VwcFormAssociatedTextArea/index.d.ts +0 -17
- package/v3/VwcFormAssociatedTextArea/index.js +0 -41
- package/v3/VwcFormAssociatedTextArea/package.json +0 -11
- package/v3/VwcFormAssociatedTextField/index.d.ts +0 -17
- package/v3/VwcFormAssociatedTextField/index.js +0 -41
- package/v3/VwcFormAssociatedTextField/package.json +0 -11
- package/v3/VwcFormAssociatedTimePicker/index.d.ts +0 -17
- package/v3/VwcFormAssociatedTimePicker/index.js +0 -41
- package/v3/VwcFormAssociatedTimePicker/package.json +0 -11
- package/v3/VwcTextAnchor/index.d.ts +0 -21
- package/v3/VwcTextAnchor/index.js +0 -93
|
@@ -0,0 +1,122 @@
|
|
|
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": "Renders a feedback message of the given type. When type='none', nothing is rendered.",
|
|
9
|
+
"name": "FeedbackMessage",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "type",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "FeedbackType"
|
|
16
|
+
},
|
|
17
|
+
"default": "'none'"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"kind": "field",
|
|
21
|
+
"name": "VIVID_VERSION",
|
|
22
|
+
"static": true,
|
|
23
|
+
"default": "__PACKAGE_VERSION__",
|
|
24
|
+
"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`.",
|
|
25
|
+
"type": {
|
|
26
|
+
"text": "string"
|
|
27
|
+
},
|
|
28
|
+
"inheritedFrom": {
|
|
29
|
+
"name": "VividElement",
|
|
30
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "field",
|
|
35
|
+
"name": "componentName",
|
|
36
|
+
"type": {
|
|
37
|
+
"text": "string"
|
|
38
|
+
},
|
|
39
|
+
"static": true,
|
|
40
|
+
"description": "Core component name, without prefix",
|
|
41
|
+
"inheritedFrom": {
|
|
42
|
+
"name": "VividElement",
|
|
43
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
44
|
+
}
|
|
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
|
+
{
|
|
59
|
+
"kind": "field",
|
|
60
|
+
"name": "_vividAriaBehaviour",
|
|
61
|
+
"type": {
|
|
62
|
+
"text": "VividAriaBehaviour"
|
|
63
|
+
},
|
|
64
|
+
"default": "'default'",
|
|
65
|
+
"inheritedFrom": {
|
|
66
|
+
"name": "VividElement",
|
|
67
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "method",
|
|
72
|
+
"name": "#handleReplacedProp",
|
|
73
|
+
"parameters": [
|
|
74
|
+
{
|
|
75
|
+
"name": "replacedProp",
|
|
76
|
+
"type": {
|
|
77
|
+
"text": "ReplacedPropConfiguration<any, any>"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"inheritedFrom": {
|
|
82
|
+
"name": "VividElement",
|
|
83
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"attributes": [
|
|
88
|
+
{
|
|
89
|
+
"name": "type",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "FeedbackType"
|
|
92
|
+
},
|
|
93
|
+
"default": "'none'",
|
|
94
|
+
"fieldName": "type"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"mixins": [
|
|
98
|
+
{
|
|
99
|
+
"name": "Localized",
|
|
100
|
+
"module": "/src/shared/patterns"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"superclass": {
|
|
104
|
+
"name": "VividElement",
|
|
105
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
*/
|
|
109
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
110
|
+
import { registerFeedbackMessage } from '@vonage/vivid'
|
|
111
|
+
|
|
112
|
+
registerFeedbackMessage('vvd3')
|
|
113
|
+
|
|
114
|
+
const VwcFeedbackMessage = wrapper(`vvd3-feedback-message`, {
|
|
115
|
+
events: [],
|
|
116
|
+
attributes: [],
|
|
117
|
+
properties: ['type', 'VIVID_VERSION', 'componentName', 'specialHandling', '_vividAriaBehaviour']
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
VwcFeedbackMessage.displayName = 'VwcFeedbackMessage'
|
|
121
|
+
|
|
122
|
+
export default VwcFeedbackMessage
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@vonage/vivid-react-vvd3-
|
|
3
|
-
"version": "4.
|
|
2
|
+
"name": "@vonage/vivid-react-vvd3-feedback-message",
|
|
3
|
+
"version": "4.28.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.28.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -11,7 +11,21 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
11
11
|
* @param {string | undefined} fileTooBigError - Overrides the localized error message for file too big **attribute** `file-too-big-error`
|
|
12
12
|
* @param setFormValue
|
|
13
13
|
* @param {boolean} autoDiscover
|
|
14
|
-
* @param {
|
|
14
|
+
* @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
|
|
15
|
+
To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
|
|
16
|
+
* @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
|
|
17
|
+
* @param {string | undefined} label - The label for the form element. **attribute** `label`
|
|
18
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
19
|
+
* @param {string} value - The current value of the element. **attribute** `current-value`
|
|
20
|
+
* @param currentValue
|
|
21
|
+
* @param {string} initialValue - The default value of the element. This value sets the `value` property
|
|
22
|
+
only when the `value` property has not been explicitly set. **attribute** `value`
|
|
23
|
+
* @param {boolean} disabled - Sets the element's disabled state. A disabled element will not be included during form submission. **attribute** `disabled`
|
|
24
|
+
* @param {string} name - The name of the element. This element's value will be surfaced during form submission under the provided name. **attribute** `name`
|
|
25
|
+
* @param {boolean} required - Require the field to be completed prior to form submission. **attribute** `required`
|
|
26
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
27
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
28
|
+
* @param {string} componentName - Core component name, without prefix
|
|
15
29
|
*/
|
|
16
30
|
declare const VwcFilePicker: {
|
|
17
31
|
(props: {
|
|
@@ -31,7 +45,18 @@ declare const VwcFilePicker: {
|
|
|
31
45
|
fileTooBigError?: string | undefined;
|
|
32
46
|
setFormValue?: any;
|
|
33
47
|
autoDiscover?: boolean | undefined;
|
|
34
|
-
|
|
48
|
+
helperText?: string | undefined;
|
|
49
|
+
errorText?: string | undefined;
|
|
50
|
+
label?: string | undefined;
|
|
51
|
+
_vividAriaBehaviour?: any;
|
|
52
|
+
value?: string | undefined;
|
|
53
|
+
currentValue?: any;
|
|
54
|
+
initialValue?: string | undefined;
|
|
55
|
+
disabled?: boolean | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
required?: boolean | undefined;
|
|
58
|
+
VIVID_VERSION?: string | undefined;
|
|
59
|
+
componentName?: string | undefined;
|
|
35
60
|
}): JSX.Element;
|
|
36
61
|
displayName: string;
|
|
37
62
|
};
|
|
@@ -32,6 +32,16 @@ Code in this file were generated using following JSON:
|
|
|
32
32
|
"privacy": "public",
|
|
33
33
|
"readonly": true
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "rejectedFiles",
|
|
38
|
+
"type": {
|
|
39
|
+
"text": "File[]"
|
|
40
|
+
},
|
|
41
|
+
"description": "Files that have been rejected by the file picker for failing validation.",
|
|
42
|
+
"privacy": "public",
|
|
43
|
+
"readonly": true
|
|
44
|
+
},
|
|
35
45
|
{
|
|
36
46
|
"kind": "method",
|
|
37
47
|
"name": "#syncSingleFileState"
|
|
@@ -347,6 +357,15 @@ Code in this file were generated using following JSON:
|
|
|
347
357
|
"kind": "field",
|
|
348
358
|
"name": "setFormValue"
|
|
349
359
|
},
|
|
360
|
+
{
|
|
361
|
+
"kind": "method",
|
|
362
|
+
"name": "#getCustomValidationError",
|
|
363
|
+
"return": {
|
|
364
|
+
"type": {
|
|
365
|
+
"text": "string | null"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
350
369
|
{
|
|
351
370
|
"kind": "method",
|
|
352
371
|
"name": "validate",
|
|
@@ -354,6 +373,11 @@ Code in this file were generated using following JSON:
|
|
|
354
373
|
"type": {
|
|
355
374
|
"text": "void"
|
|
356
375
|
}
|
|
376
|
+
},
|
|
377
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}",
|
|
378
|
+
"inheritedFrom": {
|
|
379
|
+
"name": "WithErrorText",
|
|
380
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
357
381
|
}
|
|
358
382
|
},
|
|
359
383
|
{
|
|
@@ -392,13 +416,300 @@ Code in this file were generated using following JSON:
|
|
|
392
416
|
},
|
|
393
417
|
{
|
|
394
418
|
"kind": "field",
|
|
395
|
-
"name": "
|
|
419
|
+
"name": "helperText",
|
|
420
|
+
"type": {
|
|
421
|
+
"text": "string | undefined"
|
|
422
|
+
},
|
|
423
|
+
"description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
|
|
424
|
+
"privacy": "public",
|
|
425
|
+
"inheritedFrom": {
|
|
426
|
+
"name": "WithFeedback",
|
|
427
|
+
"module": "src/shared/feedback/mixins.ts"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"kind": "field",
|
|
432
|
+
"name": "errorText",
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "string | undefined"
|
|
435
|
+
},
|
|
436
|
+
"description": "Provides a custom error message. Any current error state will be overridden.",
|
|
437
|
+
"privacy": "public",
|
|
438
|
+
"inheritedFrom": {
|
|
439
|
+
"name": "WithErrorText",
|
|
440
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"kind": "field",
|
|
445
|
+
"name": "#blockValidateCalls",
|
|
446
|
+
"privacy": "private",
|
|
447
|
+
"type": {
|
|
448
|
+
"text": "boolean"
|
|
449
|
+
},
|
|
450
|
+
"default": "false",
|
|
451
|
+
"inheritedFrom": {
|
|
452
|
+
"name": "WithErrorText",
|
|
453
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"kind": "field",
|
|
458
|
+
"name": "#originalValidateFn",
|
|
459
|
+
"privacy": "private",
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "() => void"
|
|
462
|
+
},
|
|
463
|
+
"inheritedFrom": {
|
|
464
|
+
"name": "WithErrorText",
|
|
465
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"kind": "method",
|
|
470
|
+
"name": "#forceCustomError",
|
|
471
|
+
"parameters": [
|
|
472
|
+
{
|
|
473
|
+
"name": "errorMessage",
|
|
474
|
+
"type": {
|
|
475
|
+
"text": "string"
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"inheritedFrom": {
|
|
480
|
+
"name": "WithErrorText",
|
|
481
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"kind": "method",
|
|
486
|
+
"name": "#clearCustomErrorAndRevalidate",
|
|
487
|
+
"inheritedFrom": {
|
|
488
|
+
"name": "WithErrorText",
|
|
489
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"kind": "field",
|
|
494
|
+
"name": "label",
|
|
495
|
+
"type": {
|
|
496
|
+
"text": "string | undefined"
|
|
497
|
+
},
|
|
498
|
+
"description": "The label for the form element.",
|
|
499
|
+
"inheritedFrom": {
|
|
500
|
+
"name": "FormElement",
|
|
501
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"kind": "field",
|
|
506
|
+
"name": "#handleInvalidEvent",
|
|
507
|
+
"privacy": "private",
|
|
508
|
+
"inheritedFrom": {
|
|
509
|
+
"name": "FormElement",
|
|
510
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"kind": "field",
|
|
515
|
+
"name": "_vividAriaBehaviour",
|
|
516
|
+
"default": "'delegate'",
|
|
517
|
+
"type": {
|
|
518
|
+
"text": "'delegate'"
|
|
519
|
+
},
|
|
520
|
+
"inheritedFrom": {
|
|
521
|
+
"name": "DelegatesAria",
|
|
522
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"kind": "field",
|
|
527
|
+
"name": "validity",
|
|
528
|
+
"type": {
|
|
529
|
+
"text": "ValidityState"
|
|
530
|
+
},
|
|
531
|
+
"description": "Returns the validity state of the element",
|
|
532
|
+
"readonly": true,
|
|
533
|
+
"inheritedFrom": {
|
|
534
|
+
"name": "FormAssociated",
|
|
535
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"kind": "field",
|
|
540
|
+
"name": "form",
|
|
541
|
+
"type": {
|
|
542
|
+
"text": "HTMLFormElement | null"
|
|
543
|
+
},
|
|
544
|
+
"description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
|
|
545
|
+
"readonly": true,
|
|
546
|
+
"inheritedFrom": {
|
|
547
|
+
"name": "FormAssociated",
|
|
548
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "field",
|
|
553
|
+
"name": "validationMessage",
|
|
554
|
+
"type": {
|
|
555
|
+
"text": "string"
|
|
556
|
+
},
|
|
557
|
+
"description": "Retrieve the localized validation message,\nor custom validation message if set.",
|
|
558
|
+
"readonly": true,
|
|
559
|
+
"inheritedFrom": {
|
|
560
|
+
"name": "FormAssociated",
|
|
561
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"kind": "field",
|
|
566
|
+
"name": "willValidate",
|
|
567
|
+
"type": {
|
|
568
|
+
"text": "boolean"
|
|
569
|
+
},
|
|
570
|
+
"description": "Whether the element will be validated when the\nform is submitted",
|
|
571
|
+
"readonly": true,
|
|
572
|
+
"inheritedFrom": {
|
|
573
|
+
"name": "FormAssociated",
|
|
574
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "labels",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "ReadonlyArray<Node>"
|
|
582
|
+
},
|
|
583
|
+
"description": "A reference to all associated label elements",
|
|
584
|
+
"readonly": true,
|
|
585
|
+
"inheritedFrom": {
|
|
586
|
+
"name": "FormAssociated",
|
|
587
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"kind": "field",
|
|
592
|
+
"name": "value",
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "string"
|
|
595
|
+
},
|
|
596
|
+
"description": "The current value of the element.",
|
|
597
|
+
"inheritedFrom": {
|
|
598
|
+
"name": "FormAssociated",
|
|
599
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"kind": "field",
|
|
604
|
+
"name": "currentValue",
|
|
605
|
+
"inheritedFrom": {
|
|
606
|
+
"name": "FormAssociated",
|
|
607
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"kind": "field",
|
|
612
|
+
"name": "initialValue",
|
|
613
|
+
"type": {
|
|
614
|
+
"text": "string"
|
|
615
|
+
},
|
|
616
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
617
|
+
"inheritedFrom": {
|
|
618
|
+
"name": "FormAssociated",
|
|
619
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"kind": "field",
|
|
624
|
+
"name": "disabled",
|
|
625
|
+
"type": {
|
|
626
|
+
"text": "boolean"
|
|
627
|
+
},
|
|
628
|
+
"default": "false",
|
|
629
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
630
|
+
"inheritedFrom": {
|
|
631
|
+
"name": "FormAssociated",
|
|
632
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"kind": "field",
|
|
637
|
+
"name": "name",
|
|
638
|
+
"type": {
|
|
639
|
+
"text": "string"
|
|
640
|
+
},
|
|
641
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
642
|
+
"inheritedFrom": {
|
|
643
|
+
"name": "FormAssociated",
|
|
644
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"kind": "field",
|
|
649
|
+
"name": "required",
|
|
650
|
+
"type": {
|
|
651
|
+
"text": "boolean"
|
|
652
|
+
},
|
|
653
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
654
|
+
"default": "false",
|
|
655
|
+
"inheritedFrom": {
|
|
656
|
+
"name": "FormAssociated",
|
|
657
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"kind": "method",
|
|
662
|
+
"name": "checkValidity",
|
|
663
|
+
"return": {
|
|
664
|
+
"type": {
|
|
665
|
+
"text": "boolean"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"description": "Return the current validity of the element.",
|
|
669
|
+
"inheritedFrom": {
|
|
670
|
+
"name": "FormAssociated",
|
|
671
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "method",
|
|
676
|
+
"name": "reportValidity",
|
|
677
|
+
"return": {
|
|
678
|
+
"type": {
|
|
679
|
+
"text": "boolean"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
"description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
|
|
683
|
+
"inheritedFrom": {
|
|
684
|
+
"name": "FormAssociated",
|
|
685
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"kind": "field",
|
|
690
|
+
"name": "VIVID_VERSION",
|
|
691
|
+
"static": true,
|
|
692
|
+
"default": "__PACKAGE_VERSION__",
|
|
693
|
+
"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`.",
|
|
396
694
|
"type": {
|
|
397
|
-
"text": "
|
|
695
|
+
"text": "string"
|
|
398
696
|
},
|
|
399
697
|
"inheritedFrom": {
|
|
400
|
-
"name": "
|
|
401
|
-
"module": "
|
|
698
|
+
"name": "VividElement",
|
|
699
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"kind": "field",
|
|
704
|
+
"name": "componentName",
|
|
705
|
+
"type": {
|
|
706
|
+
"text": "string"
|
|
707
|
+
},
|
|
708
|
+
"static": true,
|
|
709
|
+
"description": "Core component name, without prefix",
|
|
710
|
+
"inheritedFrom": {
|
|
711
|
+
"name": "VividElement",
|
|
712
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
402
713
|
}
|
|
403
714
|
}
|
|
404
715
|
],
|
|
@@ -477,11 +788,135 @@ Code in this file were generated using following JSON:
|
|
|
477
788
|
},
|
|
478
789
|
"description": "Overrides the localized error message for file too big",
|
|
479
790
|
"fieldName": "fileTooBigError"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "helper-text",
|
|
794
|
+
"type": {
|
|
795
|
+
"text": "string | undefined"
|
|
796
|
+
},
|
|
797
|
+
"description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
|
|
798
|
+
"fieldName": "helperText",
|
|
799
|
+
"inheritedFrom": {
|
|
800
|
+
"name": "WithFeedback",
|
|
801
|
+
"module": "src/shared/feedback/mixins.ts"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "error-text",
|
|
806
|
+
"type": {
|
|
807
|
+
"text": "string | undefined"
|
|
808
|
+
},
|
|
809
|
+
"description": "Provides a custom error message. Any current error state will be overridden.",
|
|
810
|
+
"fieldName": "errorText",
|
|
811
|
+
"inheritedFrom": {
|
|
812
|
+
"name": "WithErrorText",
|
|
813
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "label",
|
|
818
|
+
"type": {
|
|
819
|
+
"text": "string | undefined"
|
|
820
|
+
},
|
|
821
|
+
"description": "The label for the form element.",
|
|
822
|
+
"fieldName": "label",
|
|
823
|
+
"inheritedFrom": {
|
|
824
|
+
"name": "FormElement",
|
|
825
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "current-value",
|
|
830
|
+
"type": {
|
|
831
|
+
"text": "string"
|
|
832
|
+
},
|
|
833
|
+
"description": "The current value of the element.",
|
|
834
|
+
"fieldName": "value",
|
|
835
|
+
"inheritedFrom": {
|
|
836
|
+
"name": "FormAssociated",
|
|
837
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "value",
|
|
842
|
+
"type": {
|
|
843
|
+
"text": "string"
|
|
844
|
+
},
|
|
845
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
846
|
+
"fieldName": "initialValue",
|
|
847
|
+
"inheritedFrom": {
|
|
848
|
+
"name": "FormAssociated",
|
|
849
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"name": "disabled",
|
|
854
|
+
"type": {
|
|
855
|
+
"text": "boolean"
|
|
856
|
+
},
|
|
857
|
+
"default": "false",
|
|
858
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
859
|
+
"fieldName": "disabled",
|
|
860
|
+
"inheritedFrom": {
|
|
861
|
+
"name": "FormAssociated",
|
|
862
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "name",
|
|
867
|
+
"type": {
|
|
868
|
+
"text": "string"
|
|
869
|
+
},
|
|
870
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
871
|
+
"fieldName": "name",
|
|
872
|
+
"inheritedFrom": {
|
|
873
|
+
"name": "FormAssociated",
|
|
874
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "required",
|
|
879
|
+
"type": {
|
|
880
|
+
"text": "boolean"
|
|
881
|
+
},
|
|
882
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
883
|
+
"default": "false",
|
|
884
|
+
"fieldName": "required",
|
|
885
|
+
"inheritedFrom": {
|
|
886
|
+
"name": "FormAssociated",
|
|
887
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"mixins": [
|
|
892
|
+
{
|
|
893
|
+
"name": "WithFeedback",
|
|
894
|
+
"module": "/src/shared/feedback/mixins"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "WithErrorText",
|
|
898
|
+
"module": "/src/shared/patterns"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "FormElement",
|
|
902
|
+
"module": "/src/shared/patterns"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "DelegatesAria",
|
|
906
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "Localized",
|
|
910
|
+
"module": "/src/shared/patterns"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "FormAssociated",
|
|
914
|
+
"module": "/src/shared/foundation/form-associated/form-associated"
|
|
480
915
|
}
|
|
481
916
|
],
|
|
482
917
|
"superclass": {
|
|
483
|
-
"name": "
|
|
484
|
-
"module": "/
|
|
918
|
+
"name": "VividElement",
|
|
919
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
485
920
|
},
|
|
486
921
|
"vividComponent": {
|
|
487
922
|
"public": true,
|
|
@@ -497,7 +932,7 @@ registerFilePicker('vvd3')
|
|
|
497
932
|
const VwcFilePicker = wrapper(`vvd3-file-picker`, {
|
|
498
933
|
events: [{"name":"change","propName":"onChange"}],
|
|
499
934
|
attributes: [],
|
|
500
|
-
properties: ['singleFile', 'maxFiles', 'maxFileSize', 'accept', 'size', 'invalidFileTypeError', 'maxFilesExceededError', 'fileTooBigError', 'setFormValue', 'autoDiscover', '
|
|
935
|
+
properties: ['singleFile', 'maxFiles', 'maxFileSize', 'accept', 'size', 'invalidFileTypeError', 'maxFilesExceededError', 'fileTooBigError', 'setFormValue', 'autoDiscover', 'helperText', 'errorText', 'label', '_vividAriaBehaviour', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
501
936
|
})
|
|
502
937
|
|
|
503
938
|
VwcFilePicker.displayName = 'VwcFilePicker'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-file-picker",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.28.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.28.0"
|
|
10
10
|
}
|
|
11
11
|
}
|