@vonage/vivid-react 3.4.0 → 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 +4 -3
- 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 -6
- 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/VwcMenuItem/index.js
CHANGED
|
@@ -115,22 +115,28 @@ Code in this file were generated using following JSON:
|
|
|
115
115
|
"description": "The role of the element.",
|
|
116
116
|
"privacy": "public"
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "method",
|
|
120
|
+
"name": "#ensureRoleMatchesPresentational"
|
|
121
|
+
},
|
|
118
122
|
{
|
|
119
123
|
"kind": "field",
|
|
120
|
-
"name": "
|
|
124
|
+
"name": "controlType",
|
|
121
125
|
"type": {
|
|
122
|
-
"text": "
|
|
126
|
+
"text": "ControlType | undefined"
|
|
123
127
|
},
|
|
124
|
-
"description": "
|
|
128
|
+
"description": "Whether the menu item should behave as a checkbox or radio button.",
|
|
125
129
|
"privacy": "public"
|
|
126
130
|
},
|
|
127
131
|
{
|
|
128
132
|
"kind": "field",
|
|
129
|
-
"name": "
|
|
133
|
+
"name": "checked",
|
|
130
134
|
"type": {
|
|
131
|
-
"text": "
|
|
135
|
+
"text": "boolean"
|
|
132
136
|
},
|
|
133
|
-
"
|
|
137
|
+
"default": "false",
|
|
138
|
+
"description": "The checked value of the element.",
|
|
139
|
+
"privacy": "public"
|
|
134
140
|
},
|
|
135
141
|
{
|
|
136
142
|
"kind": "field",
|
|
@@ -178,7 +184,7 @@ Code in this file were generated using following JSON:
|
|
|
178
184
|
"kind": "field",
|
|
179
185
|
"name": "checkedAppearance",
|
|
180
186
|
"type": {
|
|
181
|
-
"text": "
|
|
187
|
+
"text": "| 'normal'\n\t\t| 'tick-only' | undefined"
|
|
182
188
|
},
|
|
183
189
|
"description": "Controls the appearance of the check indicator.",
|
|
184
190
|
"privacy": "public"
|
|
@@ -190,20 +196,6 @@ Code in this file were generated using following JSON:
|
|
|
190
196
|
"text": "HTMLElement[] | undefined"
|
|
191
197
|
}
|
|
192
198
|
},
|
|
193
|
-
{
|
|
194
|
-
"kind": "field",
|
|
195
|
-
"name": "#submenuArray",
|
|
196
|
-
"privacy": "private",
|
|
197
|
-
"type": {
|
|
198
|
-
"text": "Menu[]"
|
|
199
|
-
},
|
|
200
|
-
"default": "[]"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"kind": "method",
|
|
204
|
-
"name": "updateSubmenu",
|
|
205
|
-
"privacy": "private"
|
|
206
|
-
},
|
|
207
199
|
{
|
|
208
200
|
"kind": "method",
|
|
209
201
|
"name": "#collapseExpandedItem"
|
|
@@ -221,6 +213,58 @@ Code in this file were generated using following JSON:
|
|
|
221
213
|
{
|
|
222
214
|
"kind": "method",
|
|
223
215
|
"name": "#emitSyntheticClick"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "field",
|
|
219
|
+
"name": "_vividAriaBehaviour",
|
|
220
|
+
"default": "'host'",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "'host'"
|
|
223
|
+
},
|
|
224
|
+
"inheritedFrom": {
|
|
225
|
+
"name": "HostSemantics",
|
|
226
|
+
"module": "src/shared/aria/host-semantics.ts"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"kind": "field",
|
|
231
|
+
"name": "icon",
|
|
232
|
+
"type": {
|
|
233
|
+
"text": "string | undefined"
|
|
234
|
+
},
|
|
235
|
+
"description": "A decorative icon the custom element should have.",
|
|
236
|
+
"privacy": "public",
|
|
237
|
+
"inheritedFrom": {
|
|
238
|
+
"name": "AffixIcon",
|
|
239
|
+
"module": "src/shared/patterns/affix.ts"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "field",
|
|
244
|
+
"name": "VIVID_VERSION",
|
|
245
|
+
"static": true,
|
|
246
|
+
"default": "__PACKAGE_VERSION__",
|
|
247
|
+
"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`.",
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "string"
|
|
250
|
+
},
|
|
251
|
+
"inheritedFrom": {
|
|
252
|
+
"name": "VividElement",
|
|
253
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "componentName",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string"
|
|
261
|
+
},
|
|
262
|
+
"static": true,
|
|
263
|
+
"description": "Core component name, without prefix",
|
|
264
|
+
"inheritedFrom": {
|
|
265
|
+
"name": "VividElement",
|
|
266
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
267
|
+
}
|
|
224
268
|
}
|
|
225
269
|
],
|
|
226
270
|
"events": [
|
|
@@ -228,19 +272,20 @@ Code in this file were generated using following JSON:
|
|
|
228
272
|
"type": {
|
|
229
273
|
"text": "CustomEvent<HTMLElement>"
|
|
230
274
|
},
|
|
231
|
-
"description": "
|
|
275
|
+
"description": "Fired when the expanded state changes.",
|
|
232
276
|
"name": "expanded-change"
|
|
233
277
|
},
|
|
234
278
|
{
|
|
235
279
|
"type": {
|
|
236
280
|
"text": "CustomEvent<undefined>"
|
|
237
281
|
},
|
|
238
|
-
"description": "
|
|
282
|
+
"description": "Fired when the item is triggered. Does not fire when a submenu is collapsed or expanded.",
|
|
239
283
|
"name": "change"
|
|
240
284
|
}
|
|
241
285
|
],
|
|
242
286
|
"attributes": [
|
|
243
287
|
{
|
|
288
|
+
"name": "disabled",
|
|
244
289
|
"type": {
|
|
245
290
|
"text": "boolean"
|
|
246
291
|
},
|
|
@@ -248,6 +293,7 @@ Code in this file were generated using following JSON:
|
|
|
248
293
|
"fieldName": "disabled"
|
|
249
294
|
},
|
|
250
295
|
{
|
|
296
|
+
"name": "expanded",
|
|
251
297
|
"type": {
|
|
252
298
|
"text": "boolean"
|
|
253
299
|
},
|
|
@@ -263,9 +309,19 @@ Code in this file were generated using following JSON:
|
|
|
263
309
|
"fieldName": "role"
|
|
264
310
|
},
|
|
265
311
|
{
|
|
312
|
+
"name": "control-type",
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "ControlType | undefined"
|
|
315
|
+
},
|
|
316
|
+
"description": "Whether the menu item should behave as a checkbox or radio button.",
|
|
317
|
+
"fieldName": "controlType"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "checked",
|
|
266
321
|
"type": {
|
|
267
322
|
"text": "boolean"
|
|
268
323
|
},
|
|
324
|
+
"default": "false",
|
|
269
325
|
"description": "The checked value of the element.",
|
|
270
326
|
"fieldName": "checked"
|
|
271
327
|
},
|
|
@@ -305,15 +361,37 @@ Code in this file were generated using following JSON:
|
|
|
305
361
|
{
|
|
306
362
|
"name": "check-appearance",
|
|
307
363
|
"type": {
|
|
308
|
-
"text": "
|
|
364
|
+
"text": "| 'normal'\n\t\t| 'tick-only' | undefined"
|
|
309
365
|
},
|
|
310
366
|
"description": "Controls the appearance of the check indicator.",
|
|
311
367
|
"fieldName": "checkedAppearance"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "icon",
|
|
371
|
+
"type": {
|
|
372
|
+
"text": "string | undefined"
|
|
373
|
+
},
|
|
374
|
+
"description": "A decorative icon the custom element should have.",
|
|
375
|
+
"fieldName": "icon",
|
|
376
|
+
"inheritedFrom": {
|
|
377
|
+
"name": "AffixIcon",
|
|
378
|
+
"module": "src/shared/patterns/affix.ts"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"mixins": [
|
|
383
|
+
{
|
|
384
|
+
"name": "HostSemantics",
|
|
385
|
+
"module": "/src/shared/aria/host-semantics"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "AffixIcon",
|
|
389
|
+
"module": "/src/shared/patterns/affix"
|
|
312
390
|
}
|
|
313
391
|
],
|
|
314
392
|
"superclass": {
|
|
315
393
|
"name": "VividElement",
|
|
316
|
-
"module": "/
|
|
394
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
317
395
|
},
|
|
318
396
|
"vividComponent": {
|
|
319
397
|
"public": true,
|
|
@@ -321,11 +399,11 @@ Code in this file were generated using following JSON:
|
|
|
321
399
|
"vueModels": [
|
|
322
400
|
{
|
|
323
401
|
"name": "modelValue",
|
|
324
|
-
"
|
|
402
|
+
"propName": "checked",
|
|
325
403
|
"eventNames": [
|
|
326
404
|
"change"
|
|
327
405
|
],
|
|
328
|
-
"valueMapping": "
|
|
406
|
+
"valueMapping": "event.currentTarget.checked"
|
|
329
407
|
}
|
|
330
408
|
]
|
|
331
409
|
}
|
|
@@ -339,7 +417,7 @@ registerMenuItem('vvd3')
|
|
|
339
417
|
const VwcMenuItem = wrapper(`vvd3-menu-item`, {
|
|
340
418
|
events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
|
|
341
419
|
attributes: [],
|
|
342
|
-
properties: ['disabled', 'expanded', 'role', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', 'icon']
|
|
420
|
+
properties: ['disabled', 'expanded', 'role', 'controlType', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', '_vividAriaBehaviour', 'icon', 'VIVID_VERSION', 'componentName', 'icon']
|
|
343
421
|
})
|
|
344
422
|
|
|
345
423
|
VwcMenuItem.displayName = 'VwcMenuItem'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu-item",
|
|
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/VwcNav/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcNav
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/nav
|
|
4
|
-
|
|
4
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
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
|
|
5
8
|
*/
|
|
6
9
|
declare const VwcNav: {
|
|
7
10
|
(props: {
|
|
@@ -10,6 +13,9 @@ declare const VwcNav: {
|
|
|
10
13
|
id?: string | undefined;
|
|
11
14
|
style?: React.CSSProperties | undefined;
|
|
12
15
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
+
_vividAriaBehaviour?: any;
|
|
17
|
+
VIVID_VERSION?: string | undefined;
|
|
18
|
+
componentName?: string | undefined;
|
|
13
19
|
}): JSX.Element;
|
|
14
20
|
displayName: string;
|
|
15
21
|
};
|
package/v3/VwcNav/index.js
CHANGED
|
@@ -13,14 +13,61 @@ Code in this file were generated using following JSON:
|
|
|
13
13
|
"name": ""
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
+
"mixins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "DelegatesAria",
|
|
19
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
16
22
|
"superclass": {
|
|
17
23
|
"name": "VividElement",
|
|
18
|
-
"module": "/
|
|
24
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
19
25
|
},
|
|
20
26
|
"vividComponent": {
|
|
21
27
|
"public": true,
|
|
22
28
|
"name": "nav"
|
|
23
|
-
}
|
|
29
|
+
},
|
|
30
|
+
"members": [
|
|
31
|
+
{
|
|
32
|
+
"kind": "field",
|
|
33
|
+
"name": "_vividAriaBehaviour",
|
|
34
|
+
"default": "'delegate'",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "'delegate'"
|
|
37
|
+
},
|
|
38
|
+
"inheritedFrom": {
|
|
39
|
+
"name": "DelegatesAria",
|
|
40
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
45
|
+
"name": "VIVID_VERSION",
|
|
46
|
+
"static": true,
|
|
47
|
+
"default": "__PACKAGE_VERSION__",
|
|
48
|
+
"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`.",
|
|
49
|
+
"type": {
|
|
50
|
+
"text": "string"
|
|
51
|
+
},
|
|
52
|
+
"inheritedFrom": {
|
|
53
|
+
"name": "VividElement",
|
|
54
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "field",
|
|
59
|
+
"name": "componentName",
|
|
60
|
+
"type": {
|
|
61
|
+
"text": "string"
|
|
62
|
+
},
|
|
63
|
+
"static": true,
|
|
64
|
+
"description": "Core component name, without prefix",
|
|
65
|
+
"inheritedFrom": {
|
|
66
|
+
"name": "VividElement",
|
|
67
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
24
71
|
}
|
|
25
72
|
*/
|
|
26
73
|
import wrapper from '@vonage/vivid-react-wrapper'
|
|
@@ -31,7 +78,7 @@ registerNav('vvd3')
|
|
|
31
78
|
const VwcNav = wrapper(`vvd3-nav`, {
|
|
32
79
|
events: [],
|
|
33
80
|
attributes: [],
|
|
34
|
-
properties: []
|
|
81
|
+
properties: ['_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
35
82
|
})
|
|
36
83
|
|
|
37
84
|
VwcNav.displayName = 'VwcNav'
|
package/v3/VwcNav/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav",
|
|
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
|
}
|
|
@@ -6,7 +6,12 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
6
6
|
* @param {NavDisclosureAppearance | undefined} appearance - The appearance nav-disclosure should have. **attribute** `appearance`
|
|
7
7
|
* @param {NavDisclosureConnotation | undefined} connotation - The connotation nav-disclosure should have. **attribute** `connotation`
|
|
8
8
|
* @param {boolean} open - Indicates whether the nav-disclosure is open **attribute** `open`
|
|
9
|
-
* @param {
|
|
9
|
+
* @param {boolean} current - Indicates there's a nested active nav-item within nav-disclosure **attribute** `current`
|
|
10
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
11
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
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
|
|
10
15
|
*/
|
|
11
16
|
declare const VwcNavDisclosure: {
|
|
12
17
|
(props: {
|
|
@@ -21,7 +26,11 @@ declare const VwcNavDisclosure: {
|
|
|
21
26
|
appearance?: any;
|
|
22
27
|
connotation?: any;
|
|
23
28
|
open?: boolean | undefined;
|
|
24
|
-
|
|
29
|
+
current?: boolean | undefined;
|
|
30
|
+
icon?: string | undefined;
|
|
31
|
+
_vividAriaBehaviour?: any;
|
|
32
|
+
VIVID_VERSION?: string | undefined;
|
|
33
|
+
componentName?: string | undefined;
|
|
25
34
|
}): JSX.Element;
|
|
26
35
|
displayName: string;
|
|
27
36
|
};
|
|
@@ -91,7 +91,7 @@ Code in this file were generated using following JSON:
|
|
|
91
91
|
"name": "meta"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
"description": "
|
|
94
|
+
"description": "The preferred way to add an icon to the component.",
|
|
95
95
|
"name": "icon"
|
|
96
96
|
}
|
|
97
97
|
],
|
|
@@ -142,16 +142,70 @@ Code in this file were generated using following JSON:
|
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
"kind": "field",
|
|
145
|
-
"name": "
|
|
145
|
+
"name": "current",
|
|
146
146
|
"type": {
|
|
147
|
-
"text": "
|
|
147
|
+
"text": "boolean"
|
|
148
148
|
},
|
|
149
|
-
"default": "
|
|
149
|
+
"default": "false",
|
|
150
|
+
"description": "Indicates there's a nested active nav-item within nav-disclosure",
|
|
151
|
+
"privacy": "public"
|
|
150
152
|
},
|
|
151
153
|
{
|
|
152
154
|
"kind": "field",
|
|
153
155
|
"name": "#onToggle",
|
|
154
156
|
"privacy": "private"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "field",
|
|
160
|
+
"name": "icon",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "string | undefined"
|
|
163
|
+
},
|
|
164
|
+
"description": "A decorative icon the custom element should have.",
|
|
165
|
+
"privacy": "public",
|
|
166
|
+
"inheritedFrom": {
|
|
167
|
+
"name": "AffixIcon",
|
|
168
|
+
"module": "src/shared/patterns/affix.ts"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "field",
|
|
173
|
+
"name": "_vividAriaBehaviour",
|
|
174
|
+
"default": "'delegate'",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "'delegate'"
|
|
177
|
+
},
|
|
178
|
+
"inheritedFrom": {
|
|
179
|
+
"name": "DelegatesAria",
|
|
180
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"kind": "field",
|
|
185
|
+
"name": "VIVID_VERSION",
|
|
186
|
+
"static": true,
|
|
187
|
+
"default": "__PACKAGE_VERSION__",
|
|
188
|
+
"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`.",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "string"
|
|
191
|
+
},
|
|
192
|
+
"inheritedFrom": {
|
|
193
|
+
"name": "VividElement",
|
|
194
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "field",
|
|
199
|
+
"name": "componentName",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "string"
|
|
202
|
+
},
|
|
203
|
+
"static": true,
|
|
204
|
+
"description": "Core component name, without prefix",
|
|
205
|
+
"inheritedFrom": {
|
|
206
|
+
"name": "VividElement",
|
|
207
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
208
|
+
}
|
|
155
209
|
}
|
|
156
210
|
],
|
|
157
211
|
"events": [
|
|
@@ -188,6 +242,7 @@ Code in this file were generated using following JSON:
|
|
|
188
242
|
"fieldName": "connotation"
|
|
189
243
|
},
|
|
190
244
|
{
|
|
245
|
+
"name": "open",
|
|
191
246
|
"type": {
|
|
192
247
|
"text": "boolean"
|
|
193
248
|
},
|
|
@@ -196,17 +251,40 @@ Code in this file were generated using following JSON:
|
|
|
196
251
|
"fieldName": "open"
|
|
197
252
|
},
|
|
198
253
|
{
|
|
199
|
-
"name": "
|
|
254
|
+
"name": "current",
|
|
200
255
|
"type": {
|
|
201
|
-
"text": "
|
|
256
|
+
"text": "boolean"
|
|
202
257
|
},
|
|
203
|
-
"default": "
|
|
204
|
-
"
|
|
258
|
+
"default": "false",
|
|
259
|
+
"description": "Indicates there's a nested active nav-item within nav-disclosure",
|
|
260
|
+
"fieldName": "current"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "icon",
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "string | undefined"
|
|
266
|
+
},
|
|
267
|
+
"description": "A decorative icon the custom element should have.",
|
|
268
|
+
"fieldName": "icon",
|
|
269
|
+
"inheritedFrom": {
|
|
270
|
+
"name": "AffixIcon",
|
|
271
|
+
"module": "src/shared/patterns/affix.ts"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"mixins": [
|
|
276
|
+
{
|
|
277
|
+
"name": "AffixIcon",
|
|
278
|
+
"module": "/src/shared/patterns/affix"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "DelegatesAria",
|
|
282
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
205
283
|
}
|
|
206
284
|
],
|
|
207
285
|
"superclass": {
|
|
208
286
|
"name": "VividElement",
|
|
209
|
-
"module": "/
|
|
287
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
210
288
|
},
|
|
211
289
|
"vividComponent": {
|
|
212
290
|
"public": true,
|
|
@@ -222,7 +300,7 @@ registerNavDisclosure('vvd3')
|
|
|
222
300
|
const VwcNavDisclosure = wrapper(`vvd3-nav-disclosure`, {
|
|
223
301
|
events: [{"name":"toggle","propName":"onToggle"}],
|
|
224
302
|
attributes: [],
|
|
225
|
-
properties: ['details', 'label', 'appearance', 'connotation', 'open', '
|
|
303
|
+
properties: ['details', 'label', 'appearance', 'connotation', 'open', 'current', 'icon', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
226
304
|
})
|
|
227
305
|
|
|
228
306
|
VwcNavDisclosure.displayName = 'VwcNavDisclosure'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-disclosure",
|
|
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/VwcNavItem/index.d.ts
CHANGED
|
@@ -2,9 +2,24 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
/** A Nav Item Custom HTML Element.
|
|
3
3
|
Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
4
4
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/nav-item
|
|
5
|
-
* @param {string | undefined} text -
|
|
6
|
-
* @param {
|
|
7
|
-
* @param {
|
|
5
|
+
* @param {string | undefined} text - Text of the nav item **attribute** `text`
|
|
6
|
+
* @param {NavItemConnotation | undefined} connotation - Sets the connotation color of the selected nav item **attribute** `connotation`
|
|
7
|
+
* @param {NavItemAppearance | undefined} appearance - Sets the nav item's appearance **attribute** `appearance`
|
|
8
|
+
* @param {boolean} current - Sets the nav item as a current **attribute** `current`
|
|
9
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
10
|
+
* @param {string | undefined} download - Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `download`
|
|
11
|
+
* @param {string | undefined} href - The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `href`
|
|
12
|
+
* @param {string | undefined} hreflang - Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `hreflang`
|
|
13
|
+
* @param {string | undefined} ping - See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `ping`
|
|
14
|
+
* @param {string | undefined} referrerpolicy - See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `referrerpolicy`
|
|
15
|
+
* @param {string | undefined} rel - See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `rel`
|
|
16
|
+
* @param {'_self' | '_blank' | '_parent' | '_top' | undefined} target - See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `target`
|
|
17
|
+
* @param {string | undefined} type - See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information. **attribute** `type`
|
|
18
|
+
* @param {HTMLAnchorElement} control - References the root element
|
|
19
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
20
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
21
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
22
|
+
* @param {string} componentName - Core component name, without prefix
|
|
8
23
|
*/
|
|
9
24
|
declare const VwcNavItem: {
|
|
10
25
|
(props: {
|
|
@@ -16,6 +31,20 @@ declare const VwcNavItem: {
|
|
|
16
31
|
text?: string | undefined;
|
|
17
32
|
connotation?: any;
|
|
18
33
|
appearance?: any;
|
|
34
|
+
current?: boolean | undefined;
|
|
35
|
+
icon?: string | undefined;
|
|
36
|
+
download?: string | undefined;
|
|
37
|
+
href?: string | undefined;
|
|
38
|
+
hreflang?: string | undefined;
|
|
39
|
+
ping?: string | undefined;
|
|
40
|
+
referrerpolicy?: string | undefined;
|
|
41
|
+
rel?: string | undefined;
|
|
42
|
+
target?: any;
|
|
43
|
+
type?: string | undefined;
|
|
44
|
+
control?: any;
|
|
45
|
+
_vividAriaBehaviour?: any;
|
|
46
|
+
VIVID_VERSION?: string | undefined;
|
|
47
|
+
componentName?: string | undefined;
|
|
19
48
|
}): JSX.Element;
|
|
20
49
|
displayName: string;
|
|
21
50
|
};
|