@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/VwcNavItem/index.js
CHANGED
|
@@ -87,101 +87,378 @@ Code in this file were generated using following JSON:
|
|
|
87
87
|
"name": "meta"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
"description": "
|
|
90
|
+
"description": "The preferred way to add an icon to the component.",
|
|
91
91
|
"name": "icon"
|
|
92
92
|
}
|
|
93
93
|
],
|
|
94
94
|
"members": [
|
|
95
95
|
{
|
|
96
|
-
"kind": "
|
|
97
|
-
"name": "
|
|
96
|
+
"kind": "field",
|
|
97
|
+
"name": "text",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "string | undefined"
|
|
100
|
+
},
|
|
101
|
+
"description": "Text of the nav item",
|
|
102
|
+
"privacy": "public"
|
|
98
103
|
},
|
|
99
104
|
{
|
|
100
105
|
"kind": "field",
|
|
101
|
-
"name": "
|
|
106
|
+
"name": "connotation",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "NavItemConnotation | undefined"
|
|
109
|
+
},
|
|
110
|
+
"description": "Sets the connotation color of the selected nav item",
|
|
111
|
+
"privacy": "public"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "appearance",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "NavItemAppearance | undefined"
|
|
118
|
+
},
|
|
119
|
+
"description": "Sets the nav item's appearance",
|
|
120
|
+
"privacy": "public"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "field",
|
|
124
|
+
"name": "current",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "boolean"
|
|
127
|
+
},
|
|
128
|
+
"default": "false",
|
|
129
|
+
"description": "Sets the nav item as a current",
|
|
130
|
+
"privacy": "public"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "icon",
|
|
102
135
|
"type": {
|
|
103
136
|
"text": "string | undefined"
|
|
104
137
|
},
|
|
105
|
-
"description": "
|
|
138
|
+
"description": "A decorative icon the custom element should have.",
|
|
106
139
|
"privacy": "public",
|
|
107
140
|
"inheritedFrom": {
|
|
108
|
-
"name": "
|
|
109
|
-
"module": "
|
|
141
|
+
"name": "AffixIcon",
|
|
142
|
+
"module": "src/shared/patterns/affix.ts"
|
|
110
143
|
}
|
|
111
144
|
},
|
|
112
145
|
{
|
|
113
146
|
"kind": "field",
|
|
114
|
-
"name": "
|
|
147
|
+
"name": "download",
|
|
115
148
|
"type": {
|
|
116
|
-
"text": "
|
|
149
|
+
"text": "string | undefined"
|
|
117
150
|
},
|
|
118
|
-
"description": "
|
|
151
|
+
"description": "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.",
|
|
119
152
|
"privacy": "public",
|
|
120
153
|
"inheritedFrom": {
|
|
121
|
-
"name": "
|
|
122
|
-
"module": "
|
|
154
|
+
"name": "Linkable",
|
|
155
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
123
156
|
}
|
|
124
157
|
},
|
|
125
158
|
{
|
|
126
159
|
"kind": "field",
|
|
127
|
-
"name": "
|
|
160
|
+
"name": "href",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "string | undefined"
|
|
163
|
+
},
|
|
164
|
+
"description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
165
|
+
"privacy": "public",
|
|
166
|
+
"inheritedFrom": {
|
|
167
|
+
"name": "Linkable",
|
|
168
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "field",
|
|
173
|
+
"name": "hreflang",
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "string | undefined"
|
|
176
|
+
},
|
|
177
|
+
"description": "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.",
|
|
178
|
+
"privacy": "public",
|
|
179
|
+
"inheritedFrom": {
|
|
180
|
+
"name": "Linkable",
|
|
181
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "field",
|
|
186
|
+
"name": "ping",
|
|
128
187
|
"type": {
|
|
129
|
-
"text": "
|
|
188
|
+
"text": "string | undefined"
|
|
130
189
|
},
|
|
131
|
-
"description": "
|
|
190
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
132
191
|
"privacy": "public",
|
|
133
192
|
"inheritedFrom": {
|
|
134
|
-
"name": "
|
|
135
|
-
"module": "
|
|
193
|
+
"name": "Linkable",
|
|
194
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "field",
|
|
199
|
+
"name": "referrerpolicy",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "string | undefined"
|
|
202
|
+
},
|
|
203
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
204
|
+
"privacy": "public",
|
|
205
|
+
"inheritedFrom": {
|
|
206
|
+
"name": "Linkable",
|
|
207
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "rel",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "string | undefined"
|
|
215
|
+
},
|
|
216
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
217
|
+
"privacy": "public",
|
|
218
|
+
"inheritedFrom": {
|
|
219
|
+
"name": "Linkable",
|
|
220
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "field",
|
|
225
|
+
"name": "target",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
228
|
+
},
|
|
229
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
230
|
+
"privacy": "public",
|
|
231
|
+
"inheritedFrom": {
|
|
232
|
+
"name": "Linkable",
|
|
233
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "field",
|
|
238
|
+
"name": "type",
|
|
239
|
+
"type": {
|
|
240
|
+
"text": "string | undefined"
|
|
241
|
+
},
|
|
242
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
243
|
+
"privacy": "public",
|
|
244
|
+
"inheritedFrom": {
|
|
245
|
+
"name": "Linkable",
|
|
246
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"kind": "field",
|
|
251
|
+
"name": "control",
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "HTMLAnchorElement"
|
|
254
|
+
},
|
|
255
|
+
"description": "References the root element",
|
|
256
|
+
"inheritedFrom": {
|
|
257
|
+
"name": "Linkable",
|
|
258
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "field",
|
|
263
|
+
"name": "_vividAriaBehaviour",
|
|
264
|
+
"default": "'delegate'",
|
|
265
|
+
"type": {
|
|
266
|
+
"text": "'delegate'"
|
|
267
|
+
},
|
|
268
|
+
"inheritedFrom": {
|
|
269
|
+
"name": "DelegatesAria",
|
|
270
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "field",
|
|
275
|
+
"name": "VIVID_VERSION",
|
|
276
|
+
"static": true,
|
|
277
|
+
"default": "__PACKAGE_VERSION__",
|
|
278
|
+
"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`.",
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "string"
|
|
281
|
+
},
|
|
282
|
+
"inheritedFrom": {
|
|
283
|
+
"name": "VividElement",
|
|
284
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "componentName",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "string"
|
|
292
|
+
},
|
|
293
|
+
"static": true,
|
|
294
|
+
"description": "Core component name, without prefix",
|
|
295
|
+
"inheritedFrom": {
|
|
296
|
+
"name": "VividElement",
|
|
297
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
136
298
|
}
|
|
137
299
|
}
|
|
138
300
|
],
|
|
139
|
-
"superclass": {
|
|
140
|
-
"name": "TextAnchor",
|
|
141
|
-
"module": "/libs/components/src/lib/text-anchor/text-anchor"
|
|
142
|
-
},
|
|
143
|
-
"vividComponent": {
|
|
144
|
-
"public": true,
|
|
145
|
-
"name": "nav-item"
|
|
146
|
-
},
|
|
147
301
|
"attributes": [
|
|
148
302
|
{
|
|
149
303
|
"name": "text",
|
|
150
304
|
"type": {
|
|
151
305
|
"text": "string | undefined"
|
|
152
306
|
},
|
|
153
|
-
"description": "
|
|
154
|
-
"fieldName": "text"
|
|
307
|
+
"description": "Text of the nav item",
|
|
308
|
+
"fieldName": "text"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "connotation",
|
|
312
|
+
"type": {
|
|
313
|
+
"text": "NavItemConnotation | undefined"
|
|
314
|
+
},
|
|
315
|
+
"description": "Sets the connotation color of the selected nav item",
|
|
316
|
+
"fieldName": "connotation"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "appearance",
|
|
320
|
+
"type": {
|
|
321
|
+
"text": "NavItemAppearance | undefined"
|
|
322
|
+
},
|
|
323
|
+
"description": "Sets the nav item's appearance",
|
|
324
|
+
"fieldName": "appearance"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "current",
|
|
328
|
+
"type": {
|
|
329
|
+
"text": "boolean"
|
|
330
|
+
},
|
|
331
|
+
"default": "false",
|
|
332
|
+
"description": "Sets the nav item as a current",
|
|
333
|
+
"fieldName": "current"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "icon",
|
|
337
|
+
"type": {
|
|
338
|
+
"text": "string | undefined"
|
|
339
|
+
},
|
|
340
|
+
"description": "A decorative icon the custom element should have.",
|
|
341
|
+
"fieldName": "icon",
|
|
155
342
|
"inheritedFrom": {
|
|
156
|
-
"name": "
|
|
157
|
-
"module": "
|
|
343
|
+
"name": "AffixIcon",
|
|
344
|
+
"module": "src/shared/patterns/affix.ts"
|
|
158
345
|
}
|
|
159
346
|
},
|
|
160
347
|
{
|
|
161
|
-
"name": "
|
|
348
|
+
"name": "download",
|
|
162
349
|
"type": {
|
|
163
|
-
"text": "
|
|
350
|
+
"text": "string | undefined"
|
|
164
351
|
},
|
|
165
|
-
"description": "
|
|
166
|
-
"fieldName": "
|
|
352
|
+
"description": "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.",
|
|
353
|
+
"fieldName": "download",
|
|
167
354
|
"inheritedFrom": {
|
|
168
|
-
"name": "
|
|
169
|
-
"module": "
|
|
355
|
+
"name": "Linkable",
|
|
356
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
170
357
|
}
|
|
171
358
|
},
|
|
172
359
|
{
|
|
173
|
-
"name": "
|
|
360
|
+
"name": "href",
|
|
361
|
+
"type": {
|
|
362
|
+
"text": "string | undefined"
|
|
363
|
+
},
|
|
364
|
+
"description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
365
|
+
"fieldName": "href",
|
|
366
|
+
"inheritedFrom": {
|
|
367
|
+
"name": "Linkable",
|
|
368
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "hreflang",
|
|
373
|
+
"type": {
|
|
374
|
+
"text": "string | undefined"
|
|
375
|
+
},
|
|
376
|
+
"description": "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.",
|
|
377
|
+
"fieldName": "hreflang",
|
|
378
|
+
"inheritedFrom": {
|
|
379
|
+
"name": "Linkable",
|
|
380
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "ping",
|
|
385
|
+
"type": {
|
|
386
|
+
"text": "string | undefined"
|
|
387
|
+
},
|
|
388
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
389
|
+
"fieldName": "ping",
|
|
390
|
+
"inheritedFrom": {
|
|
391
|
+
"name": "Linkable",
|
|
392
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "referrerpolicy",
|
|
397
|
+
"type": {
|
|
398
|
+
"text": "string | undefined"
|
|
399
|
+
},
|
|
400
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
401
|
+
"fieldName": "referrerpolicy",
|
|
402
|
+
"inheritedFrom": {
|
|
403
|
+
"name": "Linkable",
|
|
404
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "rel",
|
|
174
409
|
"type": {
|
|
175
|
-
"text": "
|
|
410
|
+
"text": "string | undefined"
|
|
176
411
|
},
|
|
177
|
-
"description": "
|
|
178
|
-
"fieldName": "
|
|
412
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
413
|
+
"fieldName": "rel",
|
|
179
414
|
"inheritedFrom": {
|
|
180
|
-
"name": "
|
|
181
|
-
"module": "
|
|
415
|
+
"name": "Linkable",
|
|
416
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "target",
|
|
421
|
+
"type": {
|
|
422
|
+
"text": "'_self' | '_blank' | '_parent' | '_top' | undefined"
|
|
423
|
+
},
|
|
424
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
425
|
+
"fieldName": "target",
|
|
426
|
+
"inheritedFrom": {
|
|
427
|
+
"name": "Linkable",
|
|
428
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "type",
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "string | undefined"
|
|
435
|
+
},
|
|
436
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
437
|
+
"fieldName": "type",
|
|
438
|
+
"inheritedFrom": {
|
|
439
|
+
"name": "Linkable",
|
|
440
|
+
"module": "src/shared/patterns/linkable.ts"
|
|
182
441
|
}
|
|
183
442
|
}
|
|
184
|
-
]
|
|
443
|
+
],
|
|
444
|
+
"mixins": [
|
|
445
|
+
{
|
|
446
|
+
"name": "AffixIcon",
|
|
447
|
+
"module": "/src/shared/patterns"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "Linkable",
|
|
451
|
+
"module": "/src/shared/patterns"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"superclass": {
|
|
455
|
+
"name": "VividElement",
|
|
456
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
457
|
+
},
|
|
458
|
+
"vividComponent": {
|
|
459
|
+
"public": true,
|
|
460
|
+
"name": "nav-item"
|
|
461
|
+
}
|
|
185
462
|
}
|
|
186
463
|
*/
|
|
187
464
|
import wrapper from '@vonage/vivid-react-wrapper'
|
|
@@ -192,7 +469,7 @@ registerNavItem('vvd3')
|
|
|
192
469
|
const VwcNavItem = wrapper(`vvd3-nav-item`, {
|
|
193
470
|
events: [],
|
|
194
471
|
attributes: [],
|
|
195
|
-
properties: ['text', 'connotation', 'appearance']
|
|
472
|
+
properties: ['text', 'connotation', 'appearance', 'current', 'icon', 'download', 'href', 'hreflang', 'ping', 'referrerpolicy', 'rel', 'target', 'type', 'control', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
196
473
|
})
|
|
197
474
|
|
|
198
475
|
VwcNavItem.displayName = 'VwcNavItem'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-nav-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/VwcNote/index.d.ts
CHANGED
|
@@ -3,6 +3,10 @@ import React, { ReactNode } from 'react';
|
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/note
|
|
4
4
|
* @param {string | undefined} headline - Indicates the note's headline text **attribute** `headline`
|
|
5
5
|
* @param {NoteConnotation | undefined} connotation **attribute** `connotation`
|
|
6
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
7
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
8
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
9
|
+
* @param {string} componentName - Core component name, without prefix
|
|
6
10
|
*/
|
|
7
11
|
declare const VwcNote: {
|
|
8
12
|
(props: {
|
|
@@ -13,6 +17,9 @@ declare const VwcNote: {
|
|
|
13
17
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
18
|
headline?: string | undefined;
|
|
15
19
|
connotation?: any;
|
|
20
|
+
icon?: string | undefined;
|
|
21
|
+
VIVID_VERSION?: string | undefined;
|
|
22
|
+
componentName?: string | undefined;
|
|
16
23
|
}): JSX.Element;
|
|
17
24
|
displayName: string;
|
|
18
25
|
};
|
package/v3/VwcNote/index.js
CHANGED
|
@@ -87,7 +87,7 @@ Code in this file were generated using following JSON:
|
|
|
87
87
|
"name": ""
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
"description": "
|
|
90
|
+
"description": "The preferred way to add an icon to the component.",
|
|
91
91
|
"name": "icon"
|
|
92
92
|
}
|
|
93
93
|
],
|
|
@@ -107,6 +107,46 @@ Code in this file were generated using following JSON:
|
|
|
107
107
|
"type": {
|
|
108
108
|
"text": "NoteConnotation | undefined"
|
|
109
109
|
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "field",
|
|
113
|
+
"name": "icon",
|
|
114
|
+
"type": {
|
|
115
|
+
"text": "string | undefined"
|
|
116
|
+
},
|
|
117
|
+
"description": "A decorative icon the custom element should have.",
|
|
118
|
+
"privacy": "public",
|
|
119
|
+
"inheritedFrom": {
|
|
120
|
+
"name": "AffixIcon",
|
|
121
|
+
"module": "src/shared/patterns/affix.ts"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"name": "VIVID_VERSION",
|
|
127
|
+
"static": true,
|
|
128
|
+
"default": "__PACKAGE_VERSION__",
|
|
129
|
+
"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`.",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "string"
|
|
132
|
+
},
|
|
133
|
+
"inheritedFrom": {
|
|
134
|
+
"name": "VividElement",
|
|
135
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "field",
|
|
140
|
+
"name": "componentName",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "string"
|
|
143
|
+
},
|
|
144
|
+
"static": true,
|
|
145
|
+
"description": "Core component name, without prefix",
|
|
146
|
+
"inheritedFrom": {
|
|
147
|
+
"name": "VividElement",
|
|
148
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
149
|
+
}
|
|
110
150
|
}
|
|
111
151
|
],
|
|
112
152
|
"attributes": [
|
|
@@ -124,11 +164,29 @@ Code in this file were generated using following JSON:
|
|
|
124
164
|
"text": "NoteConnotation | undefined"
|
|
125
165
|
},
|
|
126
166
|
"fieldName": "connotation"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "icon",
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "string | undefined"
|
|
172
|
+
},
|
|
173
|
+
"description": "A decorative icon the custom element should have.",
|
|
174
|
+
"fieldName": "icon",
|
|
175
|
+
"inheritedFrom": {
|
|
176
|
+
"name": "AffixIcon",
|
|
177
|
+
"module": "src/shared/patterns/affix.ts"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"mixins": [
|
|
182
|
+
{
|
|
183
|
+
"name": "AffixIcon",
|
|
184
|
+
"module": "/src/shared/patterns"
|
|
127
185
|
}
|
|
128
186
|
],
|
|
129
187
|
"superclass": {
|
|
130
188
|
"name": "VividElement",
|
|
131
|
-
"module": "/
|
|
189
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
132
190
|
},
|
|
133
191
|
"vividComponent": {
|
|
134
192
|
"public": true,
|
|
@@ -144,7 +202,7 @@ registerNote('vvd3')
|
|
|
144
202
|
const VwcNote = wrapper(`vvd3-note`, {
|
|
145
203
|
events: [],
|
|
146
204
|
attributes: [],
|
|
147
|
-
properties: ['headline', 'connotation']
|
|
205
|
+
properties: ['headline', 'connotation', 'icon', 'VIVID_VERSION', 'componentName']
|
|
148
206
|
})
|
|
149
207
|
|
|
150
208
|
VwcNote.displayName = 'VwcNote'
|
package/v3/VwcNote/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-note",
|
|
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
|
}
|
|
@@ -20,7 +20,23 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
20
20
|
* @param {NumberFieldAppearance | undefined} appearance **attribute** `appearance`
|
|
21
21
|
* @param {NumberFieldShape | undefined} shape **attribute** `shape`
|
|
22
22
|
* @param {string | undefined} autoComplete **attribute** `autoComplete`
|
|
23
|
-
* @param
|
|
23
|
+
* @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
|
|
24
|
+
To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
|
|
25
|
+
* @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
|
|
26
|
+
* @param {string | undefined} successText - Provides a custom success message. Any current error state will be overridden. **attribute** `success-text`
|
|
27
|
+
* @param {string | undefined} label - The label for the form element. **attribute** `label`
|
|
28
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
29
|
+
* @param {'delegate'} _vividAriaBehaviour
|
|
30
|
+
* @param {string} value - The current value of the element. **attribute** `current-value`
|
|
31
|
+
* @param currentValue
|
|
32
|
+
* @param {string} initialValue - The default value of the element. This value sets the `value` property
|
|
33
|
+
only when the `value` property has not been explicitly set. **attribute** `value`
|
|
34
|
+
* @param {boolean} disabled - Sets the element's disabled state. A disabled element will not be included during form submission. **attribute** `disabled`
|
|
35
|
+
* @param {string} name - The name of the element. This element's value will be surfaced during form submission under the provided name. **attribute** `name`
|
|
36
|
+
* @param {boolean} required - Require the field to be completed prior to form submission. **attribute** `required`
|
|
37
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
38
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
39
|
+
* @param {string} componentName - Core component name, without prefix
|
|
24
40
|
*/
|
|
25
41
|
declare const VwcNumberField: {
|
|
26
42
|
(props: {
|
|
@@ -48,7 +64,20 @@ declare const VwcNumberField: {
|
|
|
48
64
|
appearance?: any;
|
|
49
65
|
shape?: any;
|
|
50
66
|
autoComplete?: string | undefined;
|
|
51
|
-
|
|
67
|
+
helperText?: string | undefined;
|
|
68
|
+
errorText?: string | undefined;
|
|
69
|
+
successText?: string | undefined;
|
|
70
|
+
label?: string | undefined;
|
|
71
|
+
icon?: string | undefined;
|
|
72
|
+
_vividAriaBehaviour?: any;
|
|
73
|
+
value?: string | undefined;
|
|
74
|
+
currentValue?: any;
|
|
75
|
+
initialValue?: string | undefined;
|
|
76
|
+
disabled?: boolean | undefined;
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
required?: boolean | undefined;
|
|
79
|
+
VIVID_VERSION?: string | undefined;
|
|
80
|
+
componentName?: string | undefined;
|
|
52
81
|
}): JSX.Element;
|
|
53
82
|
displayName: string;
|
|
54
83
|
};
|