@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,380 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "Popup",
|
|
10
|
+
"slots": [
|
|
11
|
+
{
|
|
12
|
+
"description": "Default slot.",
|
|
13
|
+
"name": ""
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"members": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "field",
|
|
19
|
+
"name": "#middleware",
|
|
20
|
+
"privacy": "private",
|
|
21
|
+
"type": {
|
|
22
|
+
"text": "Array<any>"
|
|
23
|
+
},
|
|
24
|
+
"readonly": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "#cleanup",
|
|
29
|
+
"privacy": "private",
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "() => void | undefined"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "field",
|
|
36
|
+
"name": "popupEl",
|
|
37
|
+
"type": {
|
|
38
|
+
"text": "HTMLElement"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "field",
|
|
43
|
+
"name": "arrowEl",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "HTMLElement"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "field",
|
|
50
|
+
"name": "open",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"default": "false",
|
|
55
|
+
"description": "indicates whether the popup is open",
|
|
56
|
+
"privacy": "public"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"kind": "method",
|
|
60
|
+
"name": "openChanged",
|
|
61
|
+
"return": {
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "void"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"parameters": [
|
|
67
|
+
{
|
|
68
|
+
"name": "_",
|
|
69
|
+
"type": {
|
|
70
|
+
"text": "boolean"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "newValue",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "boolean"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"name": "dismissible",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "boolean"
|
|
86
|
+
},
|
|
87
|
+
"default": "false",
|
|
88
|
+
"description": "adds close button to the popup",
|
|
89
|
+
"privacy": "public"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "field",
|
|
93
|
+
"name": "arrow",
|
|
94
|
+
"type": {
|
|
95
|
+
"text": "boolean"
|
|
96
|
+
},
|
|
97
|
+
"default": "false",
|
|
98
|
+
"description": "adds small triangle to indicate the trigger element",
|
|
99
|
+
"privacy": "public"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "alternate",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "boolean"
|
|
106
|
+
},
|
|
107
|
+
"default": "false",
|
|
108
|
+
"description": "set the color-scheme to dark",
|
|
109
|
+
"privacy": "public"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "field",
|
|
113
|
+
"name": "placement",
|
|
114
|
+
"type": {
|
|
115
|
+
"text": "Placement | undefined"
|
|
116
|
+
},
|
|
117
|
+
"description": "the placement of the popup",
|
|
118
|
+
"privacy": "public"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "field",
|
|
122
|
+
"name": "placementStrategy",
|
|
123
|
+
"type": {
|
|
124
|
+
"text": "PlacementStrategyId"
|
|
125
|
+
},
|
|
126
|
+
"description": "The placement strategy of the popup.",
|
|
127
|
+
"privacy": "public"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"kind": "field",
|
|
131
|
+
"name": "animationFrame",
|
|
132
|
+
"type": {
|
|
133
|
+
"text": "boolean"
|
|
134
|
+
},
|
|
135
|
+
"default": "false",
|
|
136
|
+
"description": "Whether to update the position of the floating element on every animation frame if required.",
|
|
137
|
+
"privacy": "public"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"kind": "field",
|
|
141
|
+
"name": "strategy",
|
|
142
|
+
"type": {
|
|
143
|
+
"text": "Strategy | undefined"
|
|
144
|
+
},
|
|
145
|
+
"default": "'fixed'",
|
|
146
|
+
"description": "The strategy of the popup",
|
|
147
|
+
"privacy": "public"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"kind": "field",
|
|
151
|
+
"name": "offset",
|
|
152
|
+
"type": {
|
|
153
|
+
"text": "number | null"
|
|
154
|
+
},
|
|
155
|
+
"default": "null",
|
|
156
|
+
"description": "Adds offset to the popup",
|
|
157
|
+
"privacy": "public"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "field",
|
|
161
|
+
"name": "anchor",
|
|
162
|
+
"type": {
|
|
163
|
+
"text": "HTMLElement | undefined"
|
|
164
|
+
},
|
|
165
|
+
"description": "The element to anchor the popup to.",
|
|
166
|
+
"privacy": "public"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "method",
|
|
170
|
+
"name": "#updateAutoUpdate"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "method",
|
|
174
|
+
"name": "#togglePopover"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"kind": "field",
|
|
178
|
+
"name": "#lastPositionUpdate",
|
|
179
|
+
"privacy": "private",
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "Promise<void> | undefined"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "field",
|
|
186
|
+
"name": "#autoUpdateCallback",
|
|
187
|
+
"privacy": "private"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "method",
|
|
191
|
+
"name": "updatePosition",
|
|
192
|
+
"description": "Updates popup's position",
|
|
193
|
+
"privacy": "public",
|
|
194
|
+
"async": true
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"kind": "method",
|
|
198
|
+
"name": "#assignPopupPosition",
|
|
199
|
+
"return": {
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "void"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"parameters": [
|
|
205
|
+
{
|
|
206
|
+
"name": "data",
|
|
207
|
+
"type": {
|
|
208
|
+
"text": "any"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"kind": "method",
|
|
215
|
+
"name": "#assignArrowPosition",
|
|
216
|
+
"return": {
|
|
217
|
+
"type": {
|
|
218
|
+
"text": "void"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"parameters": [
|
|
222
|
+
{
|
|
223
|
+
"name": "data",
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "any"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "field",
|
|
232
|
+
"name": "anchorEl",
|
|
233
|
+
"type": {
|
|
234
|
+
"text": "HTMLElement | null"
|
|
235
|
+
},
|
|
236
|
+
"readonly": true
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"kind": "method",
|
|
240
|
+
"name": "show",
|
|
241
|
+
"return": {
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "Promise<void>"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"description": "Shows the popup.\nUnlike toggling the `open` attribute, show() will wait for the popup to become visible and positioned correctly."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "method",
|
|
250
|
+
"name": "hide",
|
|
251
|
+
"return": {
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "void"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "field",
|
|
259
|
+
"name": "VIVID_VERSION",
|
|
260
|
+
"static": true,
|
|
261
|
+
"default": "__PACKAGE_VERSION__",
|
|
262
|
+
"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`.",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "string"
|
|
265
|
+
},
|
|
266
|
+
"inheritedFrom": {
|
|
267
|
+
"name": "VividElement",
|
|
268
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "componentName",
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "string"
|
|
276
|
+
},
|
|
277
|
+
"static": true,
|
|
278
|
+
"description": "Core component name, without prefix",
|
|
279
|
+
"inheritedFrom": {
|
|
280
|
+
"name": "VividElement",
|
|
281
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"attributes": [
|
|
286
|
+
{
|
|
287
|
+
"name": "open",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "boolean"
|
|
290
|
+
},
|
|
291
|
+
"default": "false",
|
|
292
|
+
"description": "indicates whether the popup is open",
|
|
293
|
+
"fieldName": "open"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "dismissible",
|
|
297
|
+
"type": {
|
|
298
|
+
"text": "boolean"
|
|
299
|
+
},
|
|
300
|
+
"default": "false",
|
|
301
|
+
"description": "adds close button to the popup",
|
|
302
|
+
"fieldName": "dismissible"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "arrow",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "boolean"
|
|
308
|
+
},
|
|
309
|
+
"default": "false",
|
|
310
|
+
"description": "adds small triangle to indicate the trigger element",
|
|
311
|
+
"fieldName": "arrow"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "alternate",
|
|
315
|
+
"type": {
|
|
316
|
+
"text": "boolean"
|
|
317
|
+
},
|
|
318
|
+
"default": "false",
|
|
319
|
+
"description": "set the color-scheme to dark",
|
|
320
|
+
"fieldName": "alternate"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "placement",
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "Placement | undefined"
|
|
326
|
+
},
|
|
327
|
+
"description": "the placement of the popup",
|
|
328
|
+
"fieldName": "placement"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "animation-frame",
|
|
332
|
+
"type": {
|
|
333
|
+
"text": "boolean"
|
|
334
|
+
},
|
|
335
|
+
"default": "false",
|
|
336
|
+
"description": "Whether to update the position of the floating element on every animation frame if required.",
|
|
337
|
+
"fieldName": "animationFrame"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "strategy",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "Strategy | undefined"
|
|
343
|
+
},
|
|
344
|
+
"default": "'fixed'",
|
|
345
|
+
"description": "The strategy of the popup",
|
|
346
|
+
"fieldName": "strategy"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "offset",
|
|
350
|
+
"type": {
|
|
351
|
+
"text": "number | null"
|
|
352
|
+
},
|
|
353
|
+
"default": "null",
|
|
354
|
+
"description": "Adds offset to the popup",
|
|
355
|
+
"fieldName": "offset"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"superclass": {
|
|
359
|
+
"name": "VividElement",
|
|
360
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
361
|
+
},
|
|
362
|
+
"vividComponent": {
|
|
363
|
+
"name": "popup"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
*/
|
|
367
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
368
|
+
import { registerPopup } from '@vonage/vivid'
|
|
369
|
+
|
|
370
|
+
registerPopup('vvd3')
|
|
371
|
+
|
|
372
|
+
const VwcPopup = wrapper(`vvd3-popup`, {
|
|
373
|
+
events: [],
|
|
374
|
+
attributes: [],
|
|
375
|
+
properties: ['popupEl', 'arrowEl', 'open', 'dismissible', 'arrow', 'alternate', 'placement', 'placementStrategy', 'animationFrame', 'strategy', 'offset', 'anchor', 'VIVID_VERSION', 'componentName']
|
|
376
|
+
})
|
|
377
|
+
|
|
378
|
+
VwcPopup.displayName = 'VwcPopup'
|
|
379
|
+
|
|
380
|
+
export default VwcPopup
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@vonage/vivid-react-vvd3-
|
|
3
|
-
"version": "4.
|
|
2
|
+
"name": "@vonage/vivid-react-vvd3-popup",
|
|
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
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcProgress
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress
|
|
4
|
-
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
4
|
* @param {ProgressShape | undefined} shape - Indicates the progress' shape. **attribute** `shape`
|
|
6
5
|
* @param {ProgressConnotation | undefined} connotation - Indicates the progress' connotation. **attribute** `connotation`
|
|
7
6
|
* @param {boolean} reverse - Indicates the progress' reverse status. **attribute** `reverse`
|
|
8
|
-
* @param {
|
|
9
|
-
* @param {number}
|
|
10
|
-
* @param {number}
|
|
11
|
-
* @param {
|
|
7
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
8
|
+
* @param {number | null} value - The value of the progress **attribute** `value`
|
|
9
|
+
* @param {number} min - The minimum value **attribute** `min`
|
|
10
|
+
* @param {number} max - The maximum value **attribute** `max`
|
|
11
|
+
* @param {boolean} paused - Indicates the progress is paused **attribute** `paused`
|
|
12
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
13
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
14
|
+
* @param {string} componentName - Core component name, without prefix
|
|
12
15
|
*/
|
|
13
16
|
declare const VwcProgress: {
|
|
14
17
|
(props: {
|
|
@@ -17,14 +20,16 @@ declare const VwcProgress: {
|
|
|
17
20
|
id?: string | undefined;
|
|
18
21
|
style?: React.CSSProperties | undefined;
|
|
19
22
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
-
ariaLabel?: string | null | undefined;
|
|
21
23
|
shape?: any;
|
|
22
24
|
connotation?: any;
|
|
23
25
|
reverse?: boolean | undefined;
|
|
26
|
+
_vividAriaBehaviour?: any;
|
|
24
27
|
value?: number | undefined;
|
|
25
28
|
min?: number | undefined;
|
|
26
29
|
max?: number | undefined;
|
|
27
30
|
paused?: boolean | undefined;
|
|
31
|
+
VIVID_VERSION?: string | undefined;
|
|
32
|
+
componentName?: string | undefined;
|
|
28
33
|
}): JSX.Element;
|
|
29
34
|
displayName: string;
|
|
30
35
|
};
|
package/v3/VwcProgress/index.js
CHANGED
|
@@ -42,14 +42,6 @@ Code in this file were generated using following JSON:
|
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"members": [
|
|
45
|
-
{
|
|
46
|
-
"kind": "field",
|
|
47
|
-
"name": "ariaLabel",
|
|
48
|
-
"type": {
|
|
49
|
-
"text": "string | null"
|
|
50
|
-
},
|
|
51
|
-
"default": "null"
|
|
52
|
-
},
|
|
53
45
|
{
|
|
54
46
|
"kind": "field",
|
|
55
47
|
"name": "shape",
|
|
@@ -78,6 +70,18 @@ Code in this file were generated using following JSON:
|
|
|
78
70
|
"description": "Indicates the progress' reverse status.",
|
|
79
71
|
"privacy": "public"
|
|
80
72
|
},
|
|
73
|
+
{
|
|
74
|
+
"kind": "field",
|
|
75
|
+
"name": "_vividAriaBehaviour",
|
|
76
|
+
"default": "'delegate'",
|
|
77
|
+
"type": {
|
|
78
|
+
"text": "'delegate'"
|
|
79
|
+
},
|
|
80
|
+
"inheritedFrom": {
|
|
81
|
+
"name": "DelegatesAria",
|
|
82
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
81
85
|
{
|
|
82
86
|
"kind": "field",
|
|
83
87
|
"name": "value",
|
|
@@ -88,7 +92,7 @@ Code in this file were generated using following JSON:
|
|
|
88
92
|
"privacy": "public",
|
|
89
93
|
"inheritedFrom": {
|
|
90
94
|
"name": "BaseProgress",
|
|
91
|
-
"module": "
|
|
95
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
92
96
|
}
|
|
93
97
|
},
|
|
94
98
|
{
|
|
@@ -101,7 +105,7 @@ Code in this file were generated using following JSON:
|
|
|
101
105
|
"privacy": "public",
|
|
102
106
|
"inheritedFrom": {
|
|
103
107
|
"name": "BaseProgress",
|
|
104
|
-
"module": "
|
|
108
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
105
109
|
}
|
|
106
110
|
},
|
|
107
111
|
{
|
|
@@ -114,7 +118,7 @@ Code in this file were generated using following JSON:
|
|
|
114
118
|
"privacy": "public",
|
|
115
119
|
"inheritedFrom": {
|
|
116
120
|
"name": "BaseProgress",
|
|
117
|
-
"module": "
|
|
121
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
118
122
|
}
|
|
119
123
|
},
|
|
120
124
|
{
|
|
@@ -124,7 +128,7 @@ Code in this file were generated using following JSON:
|
|
|
124
128
|
"description": "",
|
|
125
129
|
"inheritedFrom": {
|
|
126
130
|
"name": "BaseProgress",
|
|
127
|
-
"module": "
|
|
131
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
128
132
|
}
|
|
129
133
|
},
|
|
130
134
|
{
|
|
@@ -137,7 +141,7 @@ Code in this file were generated using following JSON:
|
|
|
137
141
|
"privacy": "public",
|
|
138
142
|
"inheritedFrom": {
|
|
139
143
|
"name": "BaseProgress",
|
|
140
|
-
"module": "
|
|
144
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
141
145
|
}
|
|
142
146
|
},
|
|
143
147
|
{
|
|
@@ -146,19 +150,38 @@ Code in this file were generated using following JSON:
|
|
|
146
150
|
"privacy": "private",
|
|
147
151
|
"inheritedFrom": {
|
|
148
152
|
"name": "BaseProgress",
|
|
149
|
-
"module": "
|
|
153
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
150
154
|
}
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"attributes": [
|
|
155
|
+
},
|
|
154
156
|
{
|
|
155
|
-
"
|
|
157
|
+
"kind": "field",
|
|
158
|
+
"name": "VIVID_VERSION",
|
|
159
|
+
"static": true,
|
|
160
|
+
"default": "__PACKAGE_VERSION__",
|
|
161
|
+
"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`.",
|
|
156
162
|
"type": {
|
|
157
|
-
"text": "string
|
|
163
|
+
"text": "string"
|
|
158
164
|
},
|
|
159
|
-
"
|
|
160
|
-
|
|
165
|
+
"inheritedFrom": {
|
|
166
|
+
"name": "VividElement",
|
|
167
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
168
|
+
}
|
|
161
169
|
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "field",
|
|
172
|
+
"name": "componentName",
|
|
173
|
+
"type": {
|
|
174
|
+
"text": "string"
|
|
175
|
+
},
|
|
176
|
+
"static": true,
|
|
177
|
+
"description": "Core component name, without prefix",
|
|
178
|
+
"inheritedFrom": {
|
|
179
|
+
"name": "VividElement",
|
|
180
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"attributes": [
|
|
162
185
|
{
|
|
163
186
|
"name": "shape",
|
|
164
187
|
"type": {
|
|
@@ -176,21 +199,72 @@ Code in this file were generated using following JSON:
|
|
|
176
199
|
"fieldName": "connotation"
|
|
177
200
|
},
|
|
178
201
|
{
|
|
202
|
+
"name": "reverse",
|
|
179
203
|
"type": {
|
|
180
204
|
"text": "boolean"
|
|
181
205
|
},
|
|
182
|
-
"description": "Indicates the progress' reverse status.",
|
|
183
|
-
"fieldName": "reverse",
|
|
184
206
|
"default": "false",
|
|
207
|
+
"description": "Indicates the progress' reverse status.",
|
|
208
|
+
"fieldName": "reverse"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "value",
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "number | null"
|
|
214
|
+
},
|
|
215
|
+
"description": "The value of the progress",
|
|
216
|
+
"fieldName": "value",
|
|
217
|
+
"inheritedFrom": {
|
|
218
|
+
"name": "BaseProgress",
|
|
219
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "min",
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "number"
|
|
226
|
+
},
|
|
227
|
+
"description": "The minimum value",
|
|
228
|
+
"fieldName": "min",
|
|
185
229
|
"inheritedFrom": {
|
|
186
230
|
"name": "BaseProgress",
|
|
187
|
-
"module": "
|
|
231
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
188
232
|
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "max",
|
|
236
|
+
"type": {
|
|
237
|
+
"text": "number"
|
|
238
|
+
},
|
|
239
|
+
"description": "The maximum value",
|
|
240
|
+
"fieldName": "max",
|
|
241
|
+
"inheritedFrom": {
|
|
242
|
+
"name": "BaseProgress",
|
|
243
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "paused",
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "boolean"
|
|
250
|
+
},
|
|
251
|
+
"description": "Indicates the progress is paused",
|
|
252
|
+
"fieldName": "paused",
|
|
253
|
+
"inheritedFrom": {
|
|
254
|
+
"name": "BaseProgress",
|
|
255
|
+
"module": "src/shared/foundation/progress/base-progress.ts"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"mixins": [
|
|
260
|
+
{
|
|
261
|
+
"name": "DelegatesAria",
|
|
262
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
189
263
|
}
|
|
190
264
|
],
|
|
191
265
|
"superclass": {
|
|
192
266
|
"name": "BaseProgress",
|
|
193
|
-
"module": "/
|
|
267
|
+
"module": "/src/shared/foundation/progress/base-progress"
|
|
194
268
|
},
|
|
195
269
|
"vividComponent": {
|
|
196
270
|
"public": true,
|
|
@@ -206,7 +280,7 @@ registerProgress('vvd3')
|
|
|
206
280
|
const VwcProgress = wrapper(`vvd3-progress`, {
|
|
207
281
|
events: [],
|
|
208
282
|
attributes: [],
|
|
209
|
-
properties: ['
|
|
283
|
+
properties: ['shape', 'connotation', 'reverse', '_vividAriaBehaviour', 'value', 'min', 'max', 'paused', 'VIVID_VERSION', 'componentName']
|
|
210
284
|
})
|
|
211
285
|
|
|
212
286
|
VwcProgress.displayName = 'VwcProgress'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress",
|
|
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
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcProgressRing
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/progress-ring
|
|
4
|
-
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
4
|
* @param {ProgressRingConnotation | undefined} connotation **attribute** `connotation`
|
|
6
5
|
* @param {-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
|
|
6
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
7
7
|
* @param {number | null} value - The value of the progress **attribute** `value`
|
|
8
|
-
* @param {number} min - The minimum value
|
|
9
|
-
* @param {number} max - The maximum value
|
|
10
|
-
* @param {boolean} paused - Indicates the progress is paused
|
|
8
|
+
* @param {number} min - The minimum value **attribute** `min`
|
|
9
|
+
* @param {number} max - The maximum value **attribute** `max`
|
|
10
|
+
* @param {boolean} paused - Indicates the progress is paused **attribute** `paused`
|
|
11
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
12
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
13
|
+
* @param {string} componentName - Core component name, without prefix
|
|
11
14
|
*/
|
|
12
15
|
declare const VwcProgressRing: {
|
|
13
16
|
(props: {
|
|
@@ -16,13 +19,15 @@ declare const VwcProgressRing: {
|
|
|
16
19
|
id?: string | undefined;
|
|
17
20
|
style?: React.CSSProperties | undefined;
|
|
18
21
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
|
-
ariaLabel?: string | null | undefined;
|
|
20
22
|
connotation?: any;
|
|
21
23
|
size?: any;
|
|
24
|
+
_vividAriaBehaviour?: any;
|
|
22
25
|
value?: number | undefined;
|
|
23
26
|
min?: number | undefined;
|
|
24
27
|
max?: number | undefined;
|
|
25
28
|
paused?: boolean | undefined;
|
|
29
|
+
VIVID_VERSION?: string | undefined;
|
|
30
|
+
componentName?: string | undefined;
|
|
26
31
|
}): JSX.Element;
|
|
27
32
|
displayName: string;
|
|
28
33
|
};
|