@vonage/vivid-react 3.4.1 → 3.5.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 +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 +43 -23
- 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 +48 -18
- 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 +11 -1
- 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 +30 -13
- 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 +10 -3
- 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 +14 -3
- 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 +33 -21
- 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 +34 -16
- 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 +47 -11
- 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 +8 -2
- package/v3/VwcToggletip/index.js +102 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.d.ts +8 -2
- 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,555 @@
|
|
|
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": "Base class for picker fields. Picker fields consist of a text field with a button that opens a popup that allows\npicking values.",
|
|
9
|
+
"name": "PickerField",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "readOnly",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "boolean"
|
|
16
|
+
},
|
|
17
|
+
"default": "false",
|
|
18
|
+
"description": "Whether the date-picker is readonly.",
|
|
19
|
+
"privacy": "public"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"kind": "field",
|
|
23
|
+
"name": "#onFocusIn",
|
|
24
|
+
"privacy": "private"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "#onFocusOut",
|
|
29
|
+
"privacy": "private"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"kind": "field",
|
|
33
|
+
"name": "#localeChangeHandler",
|
|
34
|
+
"privacy": "private",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "object"
|
|
37
|
+
},
|
|
38
|
+
"default": "{\n\t\thandleChange: () => {\n\t\t\tthis._updatePresentationValue();\n\t\t},\n\t}"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"kind": "field",
|
|
42
|
+
"name": "#localeChangeObserver",
|
|
43
|
+
"privacy": "private",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "BindingObserver"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "method",
|
|
50
|
+
"name": "#startObservingLocaleChanges"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"kind": "method",
|
|
54
|
+
"name": "#stopObservingLocaleChanges"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"name": "#dismissOnClickOutside",
|
|
59
|
+
"privacy": "private"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "method",
|
|
63
|
+
"name": "#openPopupIfPossible"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"kind": "field",
|
|
67
|
+
"name": "value",
|
|
68
|
+
"type": {
|
|
69
|
+
"text": "string"
|
|
70
|
+
},
|
|
71
|
+
"description": "The current value of the element.",
|
|
72
|
+
"default": "''",
|
|
73
|
+
"inheritedFrom": {
|
|
74
|
+
"name": "FormAssociated",
|
|
75
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"kind": "field",
|
|
80
|
+
"name": "helperText",
|
|
81
|
+
"type": {
|
|
82
|
+
"text": "string | undefined"
|
|
83
|
+
},
|
|
84
|
+
"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.",
|
|
85
|
+
"privacy": "public",
|
|
86
|
+
"inheritedFrom": {
|
|
87
|
+
"name": "WithFeedback",
|
|
88
|
+
"module": "src/shared/feedback/mixins.ts"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "field",
|
|
93
|
+
"name": "errorText",
|
|
94
|
+
"type": {
|
|
95
|
+
"text": "string | undefined"
|
|
96
|
+
},
|
|
97
|
+
"description": "Provides a custom error message. Any current error state will be overridden.",
|
|
98
|
+
"privacy": "public",
|
|
99
|
+
"inheritedFrom": {
|
|
100
|
+
"name": "WithErrorText",
|
|
101
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "field",
|
|
106
|
+
"name": "#blockValidateCalls",
|
|
107
|
+
"privacy": "private",
|
|
108
|
+
"type": {
|
|
109
|
+
"text": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"default": "false",
|
|
112
|
+
"inheritedFrom": {
|
|
113
|
+
"name": "WithErrorText",
|
|
114
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "field",
|
|
119
|
+
"name": "#originalValidateFn",
|
|
120
|
+
"privacy": "private",
|
|
121
|
+
"type": {
|
|
122
|
+
"text": "() => void"
|
|
123
|
+
},
|
|
124
|
+
"inheritedFrom": {
|
|
125
|
+
"name": "WithErrorText",
|
|
126
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "method",
|
|
131
|
+
"name": "#forceCustomError",
|
|
132
|
+
"parameters": [
|
|
133
|
+
{
|
|
134
|
+
"name": "errorMessage",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "string"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"inheritedFrom": {
|
|
141
|
+
"name": "WithErrorText",
|
|
142
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"kind": "method",
|
|
147
|
+
"name": "#clearCustomErrorAndRevalidate",
|
|
148
|
+
"inheritedFrom": {
|
|
149
|
+
"name": "WithErrorText",
|
|
150
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "field",
|
|
155
|
+
"name": "validate",
|
|
156
|
+
"inheritedFrom": {
|
|
157
|
+
"name": "WithErrorText",
|
|
158
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"kind": "field",
|
|
163
|
+
"name": "label",
|
|
164
|
+
"type": {
|
|
165
|
+
"text": "string | undefined"
|
|
166
|
+
},
|
|
167
|
+
"description": "The label for the form element.",
|
|
168
|
+
"inheritedFrom": {
|
|
169
|
+
"name": "FormElement",
|
|
170
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "field",
|
|
175
|
+
"name": "#handleInvalidEvent",
|
|
176
|
+
"privacy": "private",
|
|
177
|
+
"inheritedFrom": {
|
|
178
|
+
"name": "FormElement",
|
|
179
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"kind": "field",
|
|
184
|
+
"name": "validity",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "ValidityState"
|
|
187
|
+
},
|
|
188
|
+
"description": "Returns the validity state of the element",
|
|
189
|
+
"readonly": true,
|
|
190
|
+
"inheritedFrom": {
|
|
191
|
+
"name": "FormAssociated",
|
|
192
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"kind": "field",
|
|
197
|
+
"name": "form",
|
|
198
|
+
"type": {
|
|
199
|
+
"text": "HTMLFormElement | null"
|
|
200
|
+
},
|
|
201
|
+
"description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
|
|
202
|
+
"readonly": true,
|
|
203
|
+
"inheritedFrom": {
|
|
204
|
+
"name": "FormAssociated",
|
|
205
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "validationMessage",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"description": "Retrieve the localized validation message,\nor custom validation message if set.",
|
|
215
|
+
"readonly": true,
|
|
216
|
+
"inheritedFrom": {
|
|
217
|
+
"name": "FormAssociated",
|
|
218
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"kind": "field",
|
|
223
|
+
"name": "willValidate",
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "boolean"
|
|
226
|
+
},
|
|
227
|
+
"description": "Whether the element will be validated when the\nform is submitted",
|
|
228
|
+
"readonly": true,
|
|
229
|
+
"inheritedFrom": {
|
|
230
|
+
"name": "FormAssociated",
|
|
231
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "field",
|
|
236
|
+
"name": "labels",
|
|
237
|
+
"type": {
|
|
238
|
+
"text": "ReadonlyArray<Node>"
|
|
239
|
+
},
|
|
240
|
+
"description": "A reference to all associated label elements",
|
|
241
|
+
"readonly": true,
|
|
242
|
+
"inheritedFrom": {
|
|
243
|
+
"name": "FormAssociated",
|
|
244
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "currentValue",
|
|
250
|
+
"inheritedFrom": {
|
|
251
|
+
"name": "FormAssociated",
|
|
252
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "field",
|
|
257
|
+
"name": "initialValue",
|
|
258
|
+
"type": {
|
|
259
|
+
"text": "string"
|
|
260
|
+
},
|
|
261
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
262
|
+
"inheritedFrom": {
|
|
263
|
+
"name": "FormAssociated",
|
|
264
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"kind": "field",
|
|
269
|
+
"name": "disabled",
|
|
270
|
+
"type": {
|
|
271
|
+
"text": "boolean"
|
|
272
|
+
},
|
|
273
|
+
"default": "false",
|
|
274
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
275
|
+
"inheritedFrom": {
|
|
276
|
+
"name": "FormAssociated",
|
|
277
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "field",
|
|
282
|
+
"name": "name",
|
|
283
|
+
"type": {
|
|
284
|
+
"text": "string"
|
|
285
|
+
},
|
|
286
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
287
|
+
"inheritedFrom": {
|
|
288
|
+
"name": "FormAssociated",
|
|
289
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "required",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "boolean"
|
|
297
|
+
},
|
|
298
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
299
|
+
"default": "false",
|
|
300
|
+
"inheritedFrom": {
|
|
301
|
+
"name": "FormAssociated",
|
|
302
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "method",
|
|
307
|
+
"name": "checkValidity",
|
|
308
|
+
"return": {
|
|
309
|
+
"type": {
|
|
310
|
+
"text": "boolean"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"description": "Return the current validity of the element.",
|
|
314
|
+
"inheritedFrom": {
|
|
315
|
+
"name": "FormAssociated",
|
|
316
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "reportValidity",
|
|
322
|
+
"return": {
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "boolean"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
|
|
328
|
+
"inheritedFrom": {
|
|
329
|
+
"name": "FormAssociated",
|
|
330
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "field",
|
|
335
|
+
"name": "VIVID_VERSION",
|
|
336
|
+
"static": true,
|
|
337
|
+
"default": "__PACKAGE_VERSION__",
|
|
338
|
+
"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`.",
|
|
339
|
+
"type": {
|
|
340
|
+
"text": "string"
|
|
341
|
+
},
|
|
342
|
+
"inheritedFrom": {
|
|
343
|
+
"name": "VividElement",
|
|
344
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "field",
|
|
349
|
+
"name": "componentName",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "string"
|
|
352
|
+
},
|
|
353
|
+
"static": true,
|
|
354
|
+
"description": "Core component name, without prefix",
|
|
355
|
+
"inheritedFrom": {
|
|
356
|
+
"name": "VividElement",
|
|
357
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"kind": "field",
|
|
362
|
+
"name": "specialHandling",
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "boolean"
|
|
365
|
+
},
|
|
366
|
+
"default": "false",
|
|
367
|
+
"inheritedFrom": {
|
|
368
|
+
"name": "VividElement",
|
|
369
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "field",
|
|
374
|
+
"name": "_vividAriaBehaviour",
|
|
375
|
+
"type": {
|
|
376
|
+
"text": "VividAriaBehaviour"
|
|
377
|
+
},
|
|
378
|
+
"default": "'default'",
|
|
379
|
+
"inheritedFrom": {
|
|
380
|
+
"name": "VividElement",
|
|
381
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"kind": "method",
|
|
386
|
+
"name": "#handleReplacedProp",
|
|
387
|
+
"parameters": [
|
|
388
|
+
{
|
|
389
|
+
"name": "replacedProp",
|
|
390
|
+
"type": {
|
|
391
|
+
"text": "ReplacedPropConfiguration<any, any>"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"inheritedFrom": {
|
|
396
|
+
"name": "VividElement",
|
|
397
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"attributes": [
|
|
402
|
+
{
|
|
403
|
+
"name": "readonly",
|
|
404
|
+
"type": {
|
|
405
|
+
"text": "boolean"
|
|
406
|
+
},
|
|
407
|
+
"default": "false",
|
|
408
|
+
"description": "Whether the date-picker is readonly.",
|
|
409
|
+
"fieldName": "readOnly"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "helper-text",
|
|
413
|
+
"type": {
|
|
414
|
+
"text": "string | undefined"
|
|
415
|
+
},
|
|
416
|
+
"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.",
|
|
417
|
+
"fieldName": "helperText",
|
|
418
|
+
"inheritedFrom": {
|
|
419
|
+
"name": "WithFeedback",
|
|
420
|
+
"module": "src/shared/feedback/mixins.ts"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "error-text",
|
|
425
|
+
"type": {
|
|
426
|
+
"text": "string | undefined"
|
|
427
|
+
},
|
|
428
|
+
"description": "Provides a custom error message. Any current error state will be overridden.",
|
|
429
|
+
"fieldName": "errorText",
|
|
430
|
+
"inheritedFrom": {
|
|
431
|
+
"name": "WithErrorText",
|
|
432
|
+
"module": "src/shared/patterns/form-elements/with-error-text.ts"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "label",
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "string | undefined"
|
|
439
|
+
},
|
|
440
|
+
"description": "The label for the form element.",
|
|
441
|
+
"fieldName": "label",
|
|
442
|
+
"inheritedFrom": {
|
|
443
|
+
"name": "FormElement",
|
|
444
|
+
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "current-value",
|
|
449
|
+
"type": {
|
|
450
|
+
"text": "string"
|
|
451
|
+
},
|
|
452
|
+
"description": "The current value of the element.",
|
|
453
|
+
"fieldName": "value",
|
|
454
|
+
"inheritedFrom": {
|
|
455
|
+
"name": "FormAssociated",
|
|
456
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "value",
|
|
461
|
+
"type": {
|
|
462
|
+
"text": "string"
|
|
463
|
+
},
|
|
464
|
+
"description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
|
|
465
|
+
"fieldName": "initialValue",
|
|
466
|
+
"inheritedFrom": {
|
|
467
|
+
"name": "FormAssociated",
|
|
468
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "disabled",
|
|
473
|
+
"type": {
|
|
474
|
+
"text": "boolean"
|
|
475
|
+
},
|
|
476
|
+
"default": "false",
|
|
477
|
+
"description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
|
|
478
|
+
"fieldName": "disabled",
|
|
479
|
+
"inheritedFrom": {
|
|
480
|
+
"name": "FormAssociated",
|
|
481
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "name",
|
|
486
|
+
"type": {
|
|
487
|
+
"text": "string"
|
|
488
|
+
},
|
|
489
|
+
"description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
|
|
490
|
+
"fieldName": "name",
|
|
491
|
+
"inheritedFrom": {
|
|
492
|
+
"name": "FormAssociated",
|
|
493
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "required",
|
|
498
|
+
"type": {
|
|
499
|
+
"text": "boolean"
|
|
500
|
+
},
|
|
501
|
+
"description": "Require the field to be completed prior to form submission.",
|
|
502
|
+
"default": "false",
|
|
503
|
+
"fieldName": "required",
|
|
504
|
+
"inheritedFrom": {
|
|
505
|
+
"name": "FormAssociated",
|
|
506
|
+
"module": "src/shared/foundation/form-associated/form-associated.ts"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"mixins": [
|
|
511
|
+
{
|
|
512
|
+
"name": "WithFeedback",
|
|
513
|
+
"module": "/src/shared/feedback/mixins"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "WithErrorText",
|
|
517
|
+
"module": "/src/shared/patterns"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "FormElement",
|
|
521
|
+
"module": "/src/shared/patterns"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "TrappedFocus",
|
|
525
|
+
"module": "/src/shared/patterns"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "Localized",
|
|
529
|
+
"module": "/src/shared/patterns"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "FormAssociated",
|
|
533
|
+
"module": "/src/shared/foundation/form-associated/form-associated"
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"superclass": {
|
|
537
|
+
"name": "VividElement",
|
|
538
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
*/
|
|
542
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
543
|
+
import { registerPickerField } from '@vonage/vivid'
|
|
544
|
+
|
|
545
|
+
registerPickerField('vvd3')
|
|
546
|
+
|
|
547
|
+
const VwcPickerField = wrapper(`vvd3-picker-field`, {
|
|
548
|
+
events: [],
|
|
549
|
+
attributes: [],
|
|
550
|
+
properties: ['readOnly', 'value', 'helperText', 'errorText', 'validate', 'label', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName', 'specialHandling', '_vividAriaBehaviour']
|
|
551
|
+
})
|
|
552
|
+
|
|
553
|
+
VwcPickerField.displayName = 'VwcPickerField'
|
|
554
|
+
|
|
555
|
+
export default VwcPickerField
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcPopup
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/popup
|
|
4
|
+
* @param {HTMLElement} popupEl
|
|
5
|
+
* @param {HTMLElement} arrowEl
|
|
6
|
+
* @param {boolean} open - indicates whether the popup is open **attribute** `open`
|
|
7
|
+
* @param {boolean} dismissible - adds close button to the popup **attribute** `dismissible`
|
|
8
|
+
* @param {boolean} arrow - adds small triangle to indicate the trigger element **attribute** `arrow`
|
|
9
|
+
* @param {boolean} alternate - set the color-scheme to dark **attribute** `alternate`
|
|
10
|
+
* @param {Placement | undefined} placement - the placement of the popup **attribute** `placement`
|
|
11
|
+
* @param {PlacementStrategyId} placementStrategy - The placement strategy of the popup.
|
|
12
|
+
* @param {boolean} animationFrame - Whether to update the position of the floating element on every animation frame if required. **attribute** `animation-frame`
|
|
13
|
+
* @param {Strategy | undefined} strategy - The strategy of the popup **attribute** `strategy`
|
|
14
|
+
* @param {number | null} offset - Adds offset to the popup **attribute** `offset`
|
|
15
|
+
* @param {HTMLElement | undefined} anchor - The element to anchor the popup to.
|
|
16
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
17
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
18
|
+
* @param {string} componentName - Core component name, without prefix
|
|
19
|
+
*/
|
|
20
|
+
declare const VwcPopup: {
|
|
21
|
+
(props: {
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
slot?: string | undefined;
|
|
24
|
+
id?: string | undefined;
|
|
25
|
+
style?: React.CSSProperties | undefined;
|
|
26
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
27
|
+
popupEl?: any;
|
|
28
|
+
arrowEl?: any;
|
|
29
|
+
open?: boolean | undefined;
|
|
30
|
+
dismissible?: boolean | undefined;
|
|
31
|
+
arrow?: boolean | undefined;
|
|
32
|
+
alternate?: boolean | undefined;
|
|
33
|
+
placement?: any;
|
|
34
|
+
placementStrategy?: any;
|
|
35
|
+
animationFrame?: boolean | undefined;
|
|
36
|
+
strategy?: any;
|
|
37
|
+
offset?: number | undefined;
|
|
38
|
+
anchor?: any;
|
|
39
|
+
VIVID_VERSION?: string | undefined;
|
|
40
|
+
componentName?: string | undefined;
|
|
41
|
+
}): JSX.Element;
|
|
42
|
+
displayName: string;
|
|
43
|
+
};
|
|
44
|
+
export default VwcPopup;
|