@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
package/v3/VwcListbox/index.js
CHANGED
|
@@ -85,10 +85,38 @@ Code in this file were generated using following JSON:
|
|
|
85
85
|
"name": "setSelectedOptions",
|
|
86
86
|
"privacy": "public",
|
|
87
87
|
"description": "Sets an option as selected and gives it focus."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"kind": "field",
|
|
91
|
+
"name": "VIVID_VERSION",
|
|
92
|
+
"static": true,
|
|
93
|
+
"default": "__PACKAGE_VERSION__",
|
|
94
|
+
"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`.",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "string"
|
|
97
|
+
},
|
|
98
|
+
"inheritedFrom": {
|
|
99
|
+
"name": "VividElement",
|
|
100
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "field",
|
|
105
|
+
"name": "componentName",
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "string"
|
|
108
|
+
},
|
|
109
|
+
"static": true,
|
|
110
|
+
"description": "Core component name, without prefix",
|
|
111
|
+
"inheritedFrom": {
|
|
112
|
+
"name": "VividElement",
|
|
113
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
114
|
+
}
|
|
88
115
|
}
|
|
89
116
|
],
|
|
90
117
|
"attributes": [
|
|
91
118
|
{
|
|
119
|
+
"name": "disabled",
|
|
92
120
|
"type": {
|
|
93
121
|
"text": "boolean"
|
|
94
122
|
},
|
|
@@ -98,7 +126,7 @@ Code in this file were generated using following JSON:
|
|
|
98
126
|
],
|
|
99
127
|
"superclass": {
|
|
100
128
|
"name": "VividElement",
|
|
101
|
-
"module": "/
|
|
129
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
102
130
|
}
|
|
103
131
|
}
|
|
104
132
|
*/
|
|
@@ -110,7 +138,7 @@ registerListbox('vvd3')
|
|
|
110
138
|
const VwcListbox = wrapper(`vvd3-listbox`, {
|
|
111
139
|
events: [],
|
|
112
140
|
attributes: [],
|
|
113
|
-
properties: ['options', 'disabled', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter']
|
|
141
|
+
properties: ['options', 'disabled', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter', 'VIVID_VERSION', 'componentName']
|
|
114
142
|
})
|
|
115
143
|
|
|
116
144
|
VwcListbox.displayName = 'VwcListbox'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox",
|
|
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
|
}
|
package/v3/VwcMenu/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcMenu
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu
|
|
4
|
-
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
4
|
* @param {Placement | undefined} placement - placement of the menu **attribute** `placement`
|
|
6
5
|
* @param {'auto' | 'legacy' | 'off' | undefined} trigger - Controls how the menu opens and closes itself. **attribute** `trigger`
|
|
7
6
|
* @param {boolean} autoDismiss - indicates whether the menu will automatically close when focus moves away from it. **attribute** `auto-dismiss`
|
|
@@ -9,6 +8,11 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
9
8
|
* @param {boolean} open - indicates whether the menu is open **attribute** `open`
|
|
10
9
|
* @param _onFocusout
|
|
11
10
|
* @param {HTMLElement[] | undefined} actionItemsSlottedContent
|
|
11
|
+
* @param {AnchorType | undefined} anchor - ID or direct reference to the component's anchor element. **attribute** `anchor`
|
|
12
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
13
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
14
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
15
|
+
* @param {string} componentName - Core component name, without prefix
|
|
12
16
|
*/
|
|
13
17
|
declare const VwcMenu: {
|
|
14
18
|
(props: {
|
|
@@ -19,7 +23,6 @@ declare const VwcMenu: {
|
|
|
19
23
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
24
|
onOpen?: ((event: SyntheticEvent) => void) | undefined;
|
|
21
25
|
onClose?: ((event: SyntheticEvent) => void) | undefined;
|
|
22
|
-
ariaLabel?: string | null | undefined;
|
|
23
26
|
placement?: any;
|
|
24
27
|
trigger?: any;
|
|
25
28
|
autoDismiss?: boolean | undefined;
|
|
@@ -27,6 +30,10 @@ declare const VwcMenu: {
|
|
|
27
30
|
open?: boolean | undefined;
|
|
28
31
|
_onFocusout?: any;
|
|
29
32
|
actionItemsSlottedContent?: any;
|
|
33
|
+
anchor?: any;
|
|
34
|
+
_vividAriaBehaviour?: any;
|
|
35
|
+
VIVID_VERSION?: string | undefined;
|
|
36
|
+
componentName?: string | undefined;
|
|
30
37
|
}): JSX.Element;
|
|
31
38
|
displayName: string;
|
|
32
39
|
};
|
package/v3/VwcMenu/index.js
CHANGED
|
@@ -30,7 +30,7 @@ Code in this file were generated using following JSON:
|
|
|
30
30
|
"kind": "field",
|
|
31
31
|
"name": "menuItems",
|
|
32
32
|
"type": {
|
|
33
|
-
"text": "
|
|
33
|
+
"text": "HTMLElement[] | undefined"
|
|
34
34
|
},
|
|
35
35
|
"privacy": "private"
|
|
36
36
|
},
|
|
@@ -53,16 +53,6 @@ Code in this file were generated using following JSON:
|
|
|
53
53
|
"default": "-1",
|
|
54
54
|
"description": "The index of the focusable element in the items array\ndefaults to -1"
|
|
55
55
|
},
|
|
56
|
-
{
|
|
57
|
-
"kind": "field",
|
|
58
|
-
"name": "focusableElementRoles",
|
|
59
|
-
"type": {
|
|
60
|
-
"text": "{ [key: string]: string }"
|
|
61
|
-
},
|
|
62
|
-
"privacy": "private",
|
|
63
|
-
"static": true,
|
|
64
|
-
"default": "roleForMenuItem"
|
|
65
|
-
},
|
|
66
56
|
{
|
|
67
57
|
"kind": "method",
|
|
68
58
|
"name": "focus",
|
|
@@ -116,18 +106,6 @@ Code in this file were generated using following JSON:
|
|
|
116
106
|
},
|
|
117
107
|
"description": "get an array of valid DOM children"
|
|
118
108
|
},
|
|
119
|
-
{
|
|
120
|
-
"kind": "field",
|
|
121
|
-
"name": "isMenuItemElement",
|
|
122
|
-
"privacy": "private",
|
|
123
|
-
"description": "check if the item is a menu item"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"kind": "field",
|
|
127
|
-
"name": "isFocusableElement",
|
|
128
|
-
"privacy": "private",
|
|
129
|
-
"description": "check if the item is focusable"
|
|
130
|
-
},
|
|
131
109
|
{
|
|
132
110
|
"kind": "method",
|
|
133
111
|
"name": "setFocus",
|
|
@@ -143,23 +121,9 @@ Code in this file were generated using following JSON:
|
|
|
143
121
|
"type": {
|
|
144
122
|
"text": "number"
|
|
145
123
|
}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "adjustment",
|
|
149
|
-
"type": {
|
|
150
|
-
"text": "number"
|
|
151
|
-
}
|
|
152
124
|
}
|
|
153
125
|
]
|
|
154
126
|
},
|
|
155
|
-
{
|
|
156
|
-
"kind": "field",
|
|
157
|
-
"name": "ariaLabel",
|
|
158
|
-
"type": {
|
|
159
|
-
"text": "string | null"
|
|
160
|
-
},
|
|
161
|
-
"default": "null"
|
|
162
|
-
},
|
|
163
127
|
{
|
|
164
128
|
"kind": "field",
|
|
165
129
|
"name": "placement",
|
|
@@ -292,6 +256,97 @@ Code in this file were generated using following JSON:
|
|
|
292
256
|
"type": {
|
|
293
257
|
"text": "HTMLElement[] | undefined"
|
|
294
258
|
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"name": "anchor",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "AnchorType | undefined"
|
|
265
|
+
},
|
|
266
|
+
"description": "ID or direct reference to the component's anchor element.",
|
|
267
|
+
"privacy": "public",
|
|
268
|
+
"inheritedFrom": {
|
|
269
|
+
"name": "Anchored",
|
|
270
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "field",
|
|
275
|
+
"name": "#updateAnchorEl",
|
|
276
|
+
"privacy": "private",
|
|
277
|
+
"inheritedFrom": {
|
|
278
|
+
"name": "Anchored",
|
|
279
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "field",
|
|
284
|
+
"name": "#observer",
|
|
285
|
+
"privacy": "private",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "MutationObserver | undefined"
|
|
288
|
+
},
|
|
289
|
+
"inheritedFrom": {
|
|
290
|
+
"name": "Anchored",
|
|
291
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"kind": "field",
|
|
296
|
+
"name": "#observeMissingAnchor",
|
|
297
|
+
"privacy": "private",
|
|
298
|
+
"inheritedFrom": {
|
|
299
|
+
"name": "Anchored",
|
|
300
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "#cleanupObserverIfNeeded",
|
|
306
|
+
"privacy": "private",
|
|
307
|
+
"inheritedFrom": {
|
|
308
|
+
"name": "Anchored",
|
|
309
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"kind": "field",
|
|
314
|
+
"name": "_vividAriaBehaviour",
|
|
315
|
+
"default": "'delegate'",
|
|
316
|
+
"type": {
|
|
317
|
+
"text": "'delegate'"
|
|
318
|
+
},
|
|
319
|
+
"inheritedFrom": {
|
|
320
|
+
"name": "DelegatesAria",
|
|
321
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"kind": "field",
|
|
326
|
+
"name": "VIVID_VERSION",
|
|
327
|
+
"static": true,
|
|
328
|
+
"default": "__PACKAGE_VERSION__",
|
|
329
|
+
"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`.",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "string"
|
|
332
|
+
},
|
|
333
|
+
"inheritedFrom": {
|
|
334
|
+
"name": "VividElement",
|
|
335
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "field",
|
|
340
|
+
"name": "componentName",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "string"
|
|
343
|
+
},
|
|
344
|
+
"static": true,
|
|
345
|
+
"description": "Core component name, without prefix",
|
|
346
|
+
"inheritedFrom": {
|
|
347
|
+
"name": "VividElement",
|
|
348
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
349
|
+
}
|
|
295
350
|
}
|
|
296
351
|
],
|
|
297
352
|
"events": [
|
|
@@ -312,14 +367,7 @@ Code in this file were generated using following JSON:
|
|
|
312
367
|
],
|
|
313
368
|
"attributes": [
|
|
314
369
|
{
|
|
315
|
-
"name": "
|
|
316
|
-
"type": {
|
|
317
|
-
"text": "string | null"
|
|
318
|
-
},
|
|
319
|
-
"default": "null",
|
|
320
|
-
"fieldName": "ariaLabel"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
370
|
+
"name": "placement",
|
|
323
371
|
"type": {
|
|
324
372
|
"text": "Placement | undefined"
|
|
325
373
|
},
|
|
@@ -354,17 +402,40 @@ Code in this file were generated using following JSON:
|
|
|
354
402
|
"fieldName": "positionStrategy"
|
|
355
403
|
},
|
|
356
404
|
{
|
|
405
|
+
"name": "open",
|
|
357
406
|
"type": {
|
|
358
407
|
"text": "boolean"
|
|
359
408
|
},
|
|
360
409
|
"default": "false",
|
|
361
410
|
"description": "indicates whether the menu is open",
|
|
362
411
|
"fieldName": "open"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "anchor",
|
|
415
|
+
"type": {
|
|
416
|
+
"text": "AnchorType | undefined"
|
|
417
|
+
},
|
|
418
|
+
"description": "ID or direct reference to the component's anchor element.",
|
|
419
|
+
"fieldName": "anchor",
|
|
420
|
+
"inheritedFrom": {
|
|
421
|
+
"name": "Anchored",
|
|
422
|
+
"module": "src/shared/patterns/anchored.ts"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"mixins": [
|
|
427
|
+
{
|
|
428
|
+
"name": "Anchored",
|
|
429
|
+
"module": "/src/shared/patterns/anchored"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "DelegatesAria",
|
|
433
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
363
434
|
}
|
|
364
435
|
],
|
|
365
436
|
"superclass": {
|
|
366
437
|
"name": "VividElement",
|
|
367
|
-
"module": "/
|
|
438
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
368
439
|
},
|
|
369
440
|
"vividComponent": {
|
|
370
441
|
"public": true,
|
|
@@ -380,7 +451,7 @@ registerMenu('vvd3')
|
|
|
380
451
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
381
452
|
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
382
453
|
attributes: [],
|
|
383
|
-
properties: ['
|
|
454
|
+
properties: ['placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent', 'anchor', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
384
455
|
})
|
|
385
456
|
|
|
386
457
|
VwcMenu.displayName = 'VwcMenu'
|
package/v3/VwcMenu/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu",
|
|
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
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcMenuBar
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-bar
|
|
4
|
+
* @param {string | undefined} menuItems **attribute** `menu-items`
|
|
5
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
6
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
7
|
+
* @param {string} componentName - Core component name, without prefix
|
|
8
|
+
*/
|
|
9
|
+
declare const VwcMenuBar: {
|
|
10
|
+
(props: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
slot?: string | undefined;
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
style?: React.CSSProperties | undefined;
|
|
15
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
+
menuItems?: string | undefined;
|
|
17
|
+
VIVID_VERSION?: string | undefined;
|
|
18
|
+
componentName?: string | undefined;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default VwcMenuBar;
|
|
@@ -0,0 +1,95 @@
|
|
|
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": "MenuBar",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "menuItems",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "string | undefined"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "field",
|
|
20
|
+
"name": "#textEditorElement",
|
|
21
|
+
"privacy": "private",
|
|
22
|
+
"readonly": true
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "field",
|
|
26
|
+
"name": "#updateTextStyleState",
|
|
27
|
+
"privacy": "private",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "EventListener"
|
|
30
|
+
},
|
|
31
|
+
"default": "(() => {\n\t\tthis.dispatchEvent(\n\t\t\tnew CustomEvent('text-styles-changed', {\n\t\t\t\tdetail: this.#textEditorElement?.selectionStyles,\n\t\t\t})\n\t\t);\n\t})"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "field",
|
|
35
|
+
"name": "VIVID_VERSION",
|
|
36
|
+
"static": true,
|
|
37
|
+
"default": "__PACKAGE_VERSION__",
|
|
38
|
+
"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`.",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "string"
|
|
41
|
+
},
|
|
42
|
+
"inheritedFrom": {
|
|
43
|
+
"name": "VividElement",
|
|
44
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "componentName",
|
|
50
|
+
"type": {
|
|
51
|
+
"text": "string"
|
|
52
|
+
},
|
|
53
|
+
"static": true,
|
|
54
|
+
"description": "Core component name, without prefix",
|
|
55
|
+
"inheritedFrom": {
|
|
56
|
+
"name": "VividElement",
|
|
57
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"attributes": [
|
|
62
|
+
{
|
|
63
|
+
"name": "menu-items",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "string | undefined"
|
|
66
|
+
},
|
|
67
|
+
"fieldName": "menuItems"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"mixins": [
|
|
71
|
+
{
|
|
72
|
+
"name": "Localized",
|
|
73
|
+
"module": "/src/shared/patterns"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"superclass": {
|
|
77
|
+
"name": "VividElement",
|
|
78
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
*/
|
|
82
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
83
|
+
import { registerMenuBar } from '@vonage/vivid'
|
|
84
|
+
|
|
85
|
+
registerMenuBar('vvd3')
|
|
86
|
+
|
|
87
|
+
const VwcMenuBar = wrapper(`vvd3-menu-bar`, {
|
|
88
|
+
events: [],
|
|
89
|
+
attributes: [],
|
|
90
|
+
properties: ['menuItems', 'VIVID_VERSION', 'componentName']
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
VwcMenuBar.displayName = 'VwcMenuBar'
|
|
94
|
+
|
|
95
|
+
export default VwcMenuBar
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@vonage/vivid-react-vvd3-
|
|
3
|
-
"version": "4.
|
|
2
|
+
"name": "@vonage/vivid-react-vvd3-menu-bar",
|
|
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
|
}
|
|
@@ -4,14 +4,21 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
4
4
|
* @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
|
|
5
5
|
* @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
|
|
6
6
|
* @param {MenuItemRole} role - The role of the element. **attribute** `role`
|
|
7
|
+
* @param {ControlType | undefined} controlType - Whether the menu item should behave as a checkbox or radio button. **attribute** `control-type`
|
|
7
8
|
* @param {boolean} checked - The checked value of the element. **attribute** `checked`
|
|
8
9
|
* @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
|
|
9
10
|
* @param {string | undefined} textSecondary - Indicates the menu item's secondary text. **attribute** `text-secondary`
|
|
10
11
|
* @param {MenuItemConnotation | undefined} connotation - The connotation the fab should have. **attribute** `connotation`
|
|
11
12
|
* @param {boolean} checkTrailing - Controls the placement of the menu item's checkmark or radio icon. **attribute** `check-trailing`
|
|
12
|
-
* @param {
|
|
13
|
+
* @param {| 'normal'
|
|
14
|
+
| 'tick-only' | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
|
|
13
15
|
* @param {HTMLElement[] | undefined} trailingMetaSlottedContent
|
|
14
|
-
* @param {
|
|
16
|
+
* @param {'host'} _vividAriaBehaviour
|
|
17
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
18
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
19
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
20
|
+
* @param {string} componentName - Core component name, without prefix
|
|
21
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
15
22
|
*/
|
|
16
23
|
declare const VwcMenuItem: {
|
|
17
24
|
(props: {
|
|
@@ -25,6 +32,7 @@ declare const VwcMenuItem: {
|
|
|
25
32
|
disabled?: boolean | undefined;
|
|
26
33
|
expanded?: boolean | undefined;
|
|
27
34
|
role?: any;
|
|
35
|
+
controlType?: any;
|
|
28
36
|
checked?: boolean | undefined;
|
|
29
37
|
text?: string | undefined;
|
|
30
38
|
textSecondary?: string | undefined;
|
|
@@ -32,7 +40,10 @@ declare const VwcMenuItem: {
|
|
|
32
40
|
checkTrailing?: boolean | undefined;
|
|
33
41
|
checkedAppearance?: any;
|
|
34
42
|
trailingMetaSlottedContent?: any;
|
|
43
|
+
_vividAriaBehaviour?: any;
|
|
35
44
|
icon?: string | undefined;
|
|
45
|
+
VIVID_VERSION?: string | undefined;
|
|
46
|
+
componentName?: string | undefined;
|
|
36
47
|
}): JSX.Element;
|
|
37
48
|
displayName: string;
|
|
38
49
|
};
|