@vonage/vivid-react 3.5.2 → 5.19.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/LICENSE.md +201 -0
- package/README.md +99 -107
- package/VwcAccordion/index.d.ts +5 -5
- package/VwcAccordion/index.js +1 -2
- package/VwcAccordion/package.json +2 -2
- package/VwcActionGroup/index.d.ts +7 -7
- package/VwcActionGroup/index.js +7 -12
- package/VwcActionGroup/package.json +2 -2
- package/VwcBadge/index.d.ts +9 -9
- package/VwcBadge/index.js +10 -17
- package/VwcBadge/package.json +2 -2
- package/VwcBanner/index.d.ts +10 -10
- package/VwcBanner/index.js +8 -11
- package/VwcBanner/package.json +2 -2
- package/VwcButton/index.d.ts +15 -34
- package/VwcButton/index.js +15 -100
- package/VwcButton/package.json +2 -2
- package/VwcButtonToggleGroup/index.d.ts +12 -11
- package/VwcButtonToggleGroup/index.js +1 -1
- package/VwcButtonToggleGroup/package.json +2 -2
- package/VwcCalendar/index.d.ts +4 -4
- package/VwcCalendar/index.js +1 -1
- package/VwcCalendar/package.json +2 -2
- package/VwcCalendarEvent/index.d.ts +6 -6
- package/VwcCalendarEvent/index.js +1 -1
- package/VwcCalendarEvent/package.json +2 -2
- package/VwcCard/index.d.ts +8 -7
- package/VwcCard/index.js +1 -1
- package/VwcCard/package.json +2 -2
- package/VwcCarousel/index.d.ts +5 -5
- package/VwcCarousel/index.js +1 -1
- package/VwcCarousel/package.json +2 -2
- package/VwcCarouselItem/index.d.ts +4 -4
- package/VwcCarouselItem/index.js +1 -1
- package/VwcCarouselItem/package.json +2 -2
- package/VwcCheckListItem/index.d.ts +7 -32
- package/VwcCheckListItem/index.js +4 -112
- package/VwcCheckListItem/package.json +2 -2
- package/VwcCheckbox/index.d.ts +7 -26
- package/VwcCheckbox/index.js +3 -88
- package/VwcCheckbox/package.json +2 -2
- package/VwcChip/index.d.ts +12 -12
- package/VwcChip/index.js +2 -3
- package/VwcChip/package.json +2 -2
- package/VwcChipSet/index.d.ts +6 -5
- package/VwcChipSet/index.js +2 -3
- package/VwcChipSet/package.json +2 -2
- package/VwcCircularProgress/index.d.ts +5 -15
- package/VwcCircularProgress/index.js +3 -43
- package/VwcCircularProgress/package.json +2 -2
- package/VwcDataGrid/index.d.ts +11 -10
- package/VwcDataGrid/index.js +4 -5
- package/VwcDataGrid/package.json +2 -2
- package/VwcDataGridColumn/index.d.ts +13 -13
- package/VwcDataGridColumn/index.js +1 -1
- package/VwcDataGridColumn/package.json +2 -2
- package/VwcDatepicker/index.d.ts +8 -106
- package/VwcDatepicker/index.js +3 -352
- package/VwcDatepicker/package.json +2 -2
- package/VwcDropdown/index.d.ts +24 -24
- package/VwcDropdown/index.js +2 -2
- package/VwcDropdown/package.json +2 -2
- package/VwcElevation/index.d.ts +5 -5
- package/VwcElevation/index.js +1 -1
- package/VwcElevation/package.json +2 -2
- package/VwcEmptyState/index.d.ts +4 -4
- package/VwcEmptyState/index.js +1 -1
- package/VwcEmptyState/package.json +2 -2
- package/VwcExpansionPanel/index.d.ts +16 -16
- package/VwcExpansionPanel/index.js +4 -5
- package/VwcExpansionPanel/package.json +2 -2
- package/VwcFab/index.d.ts +4 -22
- package/VwcFab/index.js +2 -73
- package/VwcFab/package.json +2 -2
- package/VwcFilePicker/index.d.ts +10 -10
- package/VwcFilePicker/index.js +2 -2
- package/VwcFilePicker/package.json +2 -2
- package/VwcFormfield/index.d.ts +5 -12
- package/VwcFormfield/index.js +3 -35
- package/VwcFormfield/package.json +2 -2
- package/VwcHelperMessage/index.d.ts +5 -5
- package/VwcHelperMessage/index.js +2 -2
- package/VwcHelperMessage/package.json +2 -2
- package/VwcIcon/index.d.ts +7 -7
- package/VwcIcon/index.js +7 -11
- package/VwcIcon/package.json +2 -2
- package/VwcIconButton/index.d.ts +12 -17
- package/VwcIconButton/index.js +7 -43
- package/VwcIconButton/package.json +2 -2
- package/VwcIconButtonToggle/index.d.ts +11 -24
- package/VwcIconButtonToggle/index.js +9 -65
- package/VwcIconButtonToggle/package.json +2 -2
- package/VwcKeypad/index.d.ts +15 -15
- package/VwcKeypad/index.js +1 -1
- package/VwcKeypad/package.json +2 -2
- package/VwcLayout/index.d.ts +7 -7
- package/VwcLayout/index.js +14 -21
- package/VwcLayout/package.json +2 -2
- package/VwcLinearProgress/index.d.ts +5 -17
- package/VwcLinearProgress/index.js +4 -52
- package/VwcLinearProgress/package.json +2 -2
- package/VwcList/index.d.ts +6 -28
- package/VwcList/index.js +6 -113
- package/VwcList/package.json +2 -2
- package/VwcListExpansionPanel/index.d.ts +9 -7
- package/VwcListExpansionPanel/index.js +1 -2
- package/VwcListExpansionPanel/package.json +2 -2
- package/VwcListItem/index.d.ts +10 -31
- package/VwcListItem/index.js +8 -109
- package/VwcListItem/package.json +2 -2
- package/VwcMenu/index.d.ts +5 -44
- package/VwcMenu/index.js +5 -166
- package/VwcMenu/package.json +2 -2
- package/VwcNotchedOutline/index.d.ts +5 -8
- package/VwcNotchedOutline/index.js +3 -21
- package/VwcNotchedOutline/package.json +2 -2
- package/VwcNote/index.d.ts +5 -5
- package/VwcNote/index.js +3 -4
- package/VwcNote/package.json +2 -2
- package/VwcPagination/index.d.ts +8 -7
- package/VwcPagination/index.js +1 -1
- package/VwcPagination/package.json +2 -2
- package/VwcPopup/index.d.ts +9 -9
- package/VwcPopup/index.js +7 -12
- package/VwcPopup/package.json +2 -2
- package/VwcRadio/index.d.ts +6 -43
- package/VwcRadio/index.js +3 -111
- package/VwcRadio/package.json +2 -2
- package/VwcRadioListItem/index.d.ts +6 -33
- package/VwcRadioListItem/index.js +5 -113
- package/VwcRadioListItem/package.json +2 -2
- package/VwcSchemeSelect/index.d.ts +6 -6
- package/VwcSchemeSelect/index.js +8 -8
- package/VwcSchemeSelect/package.json +2 -2
- package/VwcScrubBar/index.d.ts +4 -4
- package/VwcScrubBar/index.js +1 -1
- package/VwcScrubBar/package.json +2 -2
- package/VwcSelect/index.d.ts +8 -46
- package/VwcSelect/index.js +10 -164
- package/VwcSelect/package.json +2 -2
- package/VwcSlider/index.d.ts +9 -26
- package/VwcSlider/index.js +3 -83
- package/VwcSlider/package.json +2 -2
- package/VwcSnackbar/index.d.ts +17 -25
- package/VwcSnackbar/index.js +7 -50
- package/VwcSnackbar/package.json +2 -2
- package/VwcSurface/index.d.ts +5 -34
- package/VwcSurface/index.js +5 -106
- package/VwcSurface/package.json +2 -2
- package/VwcSwitch/index.d.ts +8 -17
- package/VwcSwitch/index.js +5 -51
- package/VwcSwitch/package.json +2 -2
- package/VwcTab/index.d.ts +9 -28
- package/VwcTab/index.js +2 -87
- package/VwcTab/package.json +2 -2
- package/VwcTabBar/index.d.ts +7 -7
- package/VwcTabBar/index.js +3 -15
- package/VwcTabBar/package.json +2 -2
- package/VwcTag/index.d.ts +13 -13
- package/VwcTag/index.js +12 -16
- package/VwcTag/package.json +2 -2
- package/VwcText/index.d.ts +7 -7
- package/VwcText/index.js +7 -12
- package/VwcText/package.json +2 -2
- package/VwcTextarea/index.d.ts +12 -81
- package/VwcTextarea/index.js +3 -268
- package/VwcTextarea/package.json +2 -2
- package/VwcTextfield/index.d.ts +15 -72
- package/VwcTextfield/index.js +7 -244
- package/VwcTextfield/package.json +2 -2
- package/VwcThemeSwitch/index.d.ts +5 -5
- package/VwcThemeSwitch/index.js +4 -7
- package/VwcThemeSwitch/package.json +2 -2
- package/VwcTooltip/index.d.ts +9 -9
- package/VwcTooltip/index.js +6 -9
- package/VwcTooltip/package.json +2 -2
- package/VwcTopAppBar/index.d.ts +5 -13
- package/VwcTopAppBar/index.js +3 -31
- package/VwcTopAppBar/package.json +2 -2
- package/VwcTopAppBarFixed/index.d.ts +5 -13
- package/VwcTopAppBarFixed/index.js +3 -31
- package/VwcTopAppBarFixed/package.json +2 -2
- package/index.js +27 -324
- package/package.json +103 -119
- package/testing/component.mock.js +2 -2
- package/types/index.d.ts +296 -78
- package/v3/VwcAccordion/index.d.ts +13 -13
- package/v3/VwcAccordion/index.js +3 -3
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +20 -16
- package/v3/VwcAccordionItem/index.js +88 -4
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/index.d.ts +11 -13
- package/v3/VwcActionGroup/index.js +6 -18
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.d.ts +20 -19
- package/v3/VwcAlert/index.js +32 -27
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAriaBindingDirective/index.d.ts +19 -0
- package/v3/VwcAriaBindingDirective/index.js +71 -0
- package/v3/{VwcDelegateAriaBehavior → VwcAriaBindingDirective}/package.json +3 -3
- package/v3/VwcAudioPlayer/index.d.ts +30 -28
- package/v3/VwcAudioPlayer/index.js +89 -13
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/index.d.ts +28 -30
- package/v3/VwcAvatar/index.js +15 -26
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/index.d.ts +20 -19
- package/v3/VwcBadge/index.js +13 -13
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.d.ts +13 -18
- package/v3/VwcBanner/index.js +33 -44
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/index.d.ts +10 -10
- package/v3/VwcBaseProgress/index.js +1 -1
- package/v3/VwcBaseProgress/package.json +2 -2
- package/v3/VwcBreadcrumb/index.d.ts +6 -8
- package/v3/VwcBreadcrumb/index.js +2 -14
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/index.d.ts +16 -18
- package/v3/VwcBreadcrumbItem/index.js +2 -14
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +46 -44
- package/v3/VwcButton/index.js +92 -16
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/index.d.ts +17 -28
- package/v3/VwcCalendar/index.js +11 -23
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/index.d.ts +20 -22
- package/v3/VwcCalendarEvent/index.js +16 -28
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.d.ts +28 -37
- package/v3/VwcCard/index.js +31 -40
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +31 -32
- package/v3/VwcCheckbox/index.js +55 -20
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcColorPicker/index.d.ts +60 -0
- package/v3/VwcColorPicker/index.js +647 -0
- package/v3/{VwcImagePlaceholder → VwcColorPicker}/package.json +3 -3
- package/v3/VwcCombobox/index.d.ts +40 -42
- package/v3/VwcCombobox/index.js +136 -29
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcContextualHelp/index.d.ts +22 -0
- package/v3/VwcContextualHelp/index.js +131 -0
- package/v3/{VwcProseMirrorFacade → VwcContextualHelp}/package.json +3 -3
- package/v3/VwcCountry/index.d.ts +27 -0
- package/v3/VwcCountry/index.js +104 -0
- package/v3/{VwcMenubar → VwcCountry}/package.json +3 -3
- package/v3/VwcCountryGroup/index.d.ts +28 -0
- package/v3/VwcCountryGroup/index.js +268 -0
- package/v3/VwcCountryGroup/package.json +11 -0
- package/v3/VwcDataGrid/index.d.ts +31 -38
- package/v3/VwcDataGrid/index.js +18 -39
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +20 -20
- package/v3/VwcDataGridCell/index.js +9 -76
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +18 -18
- package/v3/VwcDataGridRow/index.js +9 -72
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +26 -22
- package/v3/VwcDatePicker/index.js +43 -4
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.d.ts +34 -30
- package/v3/VwcDateRangePicker/index.js +50 -5
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.d.ts +38 -36
- package/v3/VwcDateTimePicker/index.js +56 -37
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +126 -108
- package/v3/VwcDialPad/index.js +74 -30
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +29 -31
- package/v3/VwcDialog/index.js +64 -31
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +10 -12
- package/v3/VwcDivider/index.js +3 -23
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/index.d.ts +9 -9
- package/v3/VwcElevation/index.js +1 -1
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.d.ts +14 -13
- package/v3/VwcEmptyState/index.js +35 -6
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.d.ts +31 -32
- package/v3/VwcFab/index.js +39 -22
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeatureState/index.d.ts +17 -0
- package/v3/VwcFeatureState/index.js +70 -0
- package/v3/VwcFeatureState/package.json +11 -0
- package/v3/VwcFeedbackMessage/index.d.ts +7 -11
- package/v3/VwcFeedbackMessage/index.js +2 -26
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +34 -38
- package/v3/VwcFilePicker/index.js +70 -315
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFlag/index.d.ts +38 -0
- package/v3/VwcFlag/index.js +146 -0
- package/v3/VwcFlag/package.json +11 -0
- package/v3/VwcHeader/index.d.ts +8 -10
- package/v3/VwcHeader/index.js +2 -14
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/index.d.ts +12 -13
- package/v3/VwcIcon/index.js +21 -17
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +13 -17
- package/v3/VwcInlineTimePicker/index.js +2 -26
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/index.d.ts +15 -15
- package/v3/VwcLayout/index.js +9 -9
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.d.ts +11 -11
- package/v3/VwcListbox/index.js +62 -1
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +21 -25
- package/v3/VwcMenu/index.js +60 -36
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +30 -32
- package/v3/VwcMenuItem/index.js +68 -45
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/index.d.ts +6 -8
- package/v3/VwcNav/index.js +2 -14
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.d.ts +16 -17
- package/v3/VwcNavDisclosure/index.js +69 -16
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.d.ts +22 -23
- package/v3/VwcNavItem/index.js +48 -16
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/index.d.ts +12 -11
- package/v3/VwcNote/index.js +5 -5
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +40 -39
- package/v3/VwcNumberField/index.js +76 -18
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +32 -29
- package/v3/VwcOption/index.js +105 -26
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/index.d.ts +14 -12
- package/v3/VwcOptionTag/index.js +14 -4
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/index.d.ts +12 -18
- package/v3/VwcPagination/index.js +68 -78
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +19 -21
- package/v3/VwcPickerField/index.js +59 -27
- package/v3/VwcPickerField/package.json +2 -2
- package/v3/VwcPopover/index.d.ts +34 -0
- package/v3/VwcPopover/index.js +179 -0
- package/v3/VwcPopover/package.json +11 -0
- package/v3/VwcPopup/index.d.ts +18 -18
- package/v3/VwcPopup/index.js +1 -1
- package/v3/VwcPopup/package.json +2 -2
- package/v3/VwcProgress/index.d.ts +16 -18
- package/v3/VwcProgress/index.js +8 -20
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.d.ts +12 -14
- package/v3/VwcProgressRing/index.js +2 -14
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +24 -25
- package/v3/VwcRadio/index.js +39 -18
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.d.ts +21 -20
- package/v3/VwcRadioGroup/index.js +9 -9
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.d.ts +38 -36
- package/v3/VwcRangeSlider/index.js +83 -3
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/index.d.ts +10 -14
- package/v3/VwcRichTextEditor/index.js +64 -148
- package/v3/VwcRichTextEditor/package.json +2 -2
- package/v3/VwcRichTextView/index.d.ts +22 -0
- package/v3/VwcRichTextView/index.js +195 -0
- package/v3/VwcRichTextView/package.json +11 -0
- package/v3/VwcRteAlignmentFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteAlignmentFeatureImpl/index.js +283 -0
- package/v3/VwcRteAlignmentFeatureImpl/package.json +11 -0
- package/v3/VwcRteBaseImpl/index.d.ts +20 -0
- package/v3/VwcRteBaseImpl/index.js +249 -0
- package/v3/VwcRteBaseImpl/package.json +11 -0
- package/v3/VwcRteBasicTextBlocksImpl/index.d.ts +20 -0
- package/v3/VwcRteBasicTextBlocksImpl/index.js +284 -0
- package/v3/VwcRteBasicTextBlocksImpl/package.json +11 -0
- package/v3/VwcRteBoldFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteBoldFeatureImpl/index.js +262 -0
- package/v3/VwcRteBoldFeatureImpl/package.json +11 -0
- package/v3/VwcRteCharacterCountFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteCharacterCountFeatureImpl/index.js +249 -0
- package/v3/VwcRteCharacterCountFeatureImpl/package.json +11 -0
- package/v3/VwcRteConfig/index.d.ts +17 -0
- package/v3/VwcRteConfig/index.js +73 -0
- package/v3/VwcRteConfig/package.json +11 -0
- package/v3/VwcRteConfigImpl/index.d.ts +27 -0
- package/v3/VwcRteConfigImpl/index.js +74 -0
- package/v3/VwcRteConfigImpl/package.json +11 -0
- package/v3/VwcRteCoreImpl/index.d.ts +22 -0
- package/v3/VwcRteCoreImpl/index.js +254 -0
- package/v3/VwcRteCoreImpl/package.json +11 -0
- package/v3/VwcRteCursorFixFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteCursorFixFeatureImpl/index.js +249 -0
- package/v3/VwcRteCursorFixFeatureImpl/package.json +11 -0
- package/v3/VwcRteDropHandlerFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteDropHandlerFeatureImpl/index.js +249 -0
- package/v3/VwcRteDropHandlerFeatureImpl/package.json +11 -0
- package/v3/VwcRteFeature/index.d.ts +16 -0
- package/v3/VwcRteFeature/index.js +25 -0
- package/v3/VwcRteFeature/package.json +11 -0
- package/v3/VwcRteFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteFeatureImpl/index.js +196 -0
- package/v3/VwcRteFeatureImpl/package.json +11 -0
- package/v3/VwcRteFileHandlerFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteFileHandlerFeatureImpl/index.js +249 -0
- package/v3/VwcRteFileHandlerFeatureImpl/package.json +11 -0
- package/v3/VwcRteFontSizePickerFeatureImpl/index.d.ts +24 -0
- package/v3/VwcRteFontSizePickerFeatureImpl/index.js +314 -0
- package/v3/VwcRteFontSizePickerFeatureImpl/package.json +11 -0
- package/v3/VwcRteForeignHtmlFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteForeignHtmlFeatureImpl/index.js +249 -0
- package/v3/VwcRteForeignHtmlFeatureImpl/package.json +11 -0
- package/v3/VwcRteHardBreakFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteHardBreakFeatureImpl/index.js +249 -0
- package/v3/VwcRteHardBreakFeatureImpl/package.json +11 -0
- package/v3/VwcRteHistoryFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteHistoryFeatureImpl/index.js +249 -0
- package/v3/VwcRteHistoryFeatureImpl/package.json +11 -0
- package/v3/VwcRteHtmlParser/index.d.ts +17 -0
- package/v3/VwcRteHtmlParser/index.js +106 -0
- package/v3/VwcRteHtmlParser/package.json +11 -0
- package/v3/VwcRteHtmlSerializer/index.d.ts +17 -0
- package/v3/VwcRteHtmlSerializer/index.js +81 -0
- package/v3/VwcRteHtmlSerializer/package.json +11 -0
- package/v3/VwcRteHtmlSerializerImpl/index.d.ts +17 -0
- package/v3/VwcRteHtmlSerializerImpl/index.js +77 -0
- package/v3/VwcRteHtmlSerializerImpl/package.json +11 -0
- package/v3/VwcRteInlineImageFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteInlineImageFeatureImpl/index.js +307 -0
- package/v3/VwcRteInlineImageFeatureImpl/package.json +11 -0
- package/v3/VwcRteInputRulesFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteInputRulesFeatureImpl/index.js +249 -0
- package/v3/VwcRteInputRulesFeatureImpl/package.json +11 -0
- package/v3/VwcRteInstance/index.d.ts +19 -0
- package/v3/VwcRteInstance/index.js +103 -0
- package/v3/VwcRteInstance/package.json +11 -0
- package/v3/VwcRteInstanceImpl/index.d.ts +21 -0
- package/v3/VwcRteInstanceImpl/index.js +249 -0
- package/v3/VwcRteInstanceImpl/package.json +11 -0
- package/v3/VwcRteItalicFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteItalicFeatureImpl/index.js +262 -0
- package/v3/VwcRteItalicFeatureImpl/package.json +11 -0
- package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteKeyboardShortcutsFeatureImpl/index.js +249 -0
- package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +11 -0
- package/v3/VwcRteLinkFeatureImpl/index.d.ts +22 -0
- package/v3/VwcRteLinkFeatureImpl/index.js +310 -0
- package/v3/VwcRteLinkFeatureImpl/package.json +11 -0
- package/v3/VwcRteListFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteListFeatureImpl/index.js +286 -0
- package/v3/VwcRteListFeatureImpl/package.json +11 -0
- package/v3/VwcRteMonospaceFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteMonospaceFeatureImpl/index.js +262 -0
- package/v3/VwcRteMonospaceFeatureImpl/package.json +11 -0
- package/v3/VwcRtePlaceholderFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRtePlaceholderFeatureImpl/index.js +249 -0
- package/v3/VwcRtePlaceholderFeatureImpl/package.json +11 -0
- package/v3/VwcRteStrikethroughFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteStrikethroughFeatureImpl/index.js +262 -0
- package/v3/VwcRteStrikethroughFeatureImpl/package.json +11 -0
- package/v3/VwcRteTextBlockPickerFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteTextBlockPickerFeatureImpl/index.js +249 -0
- package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +11 -0
- package/v3/VwcRteTextColorPickerFeatureImpl/index.d.ts +22 -0
- package/v3/VwcRteTextColorPickerFeatureImpl/index.js +290 -0
- package/v3/VwcRteTextColorPickerFeatureImpl/package.json +11 -0
- package/v3/VwcRteTextStyleFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteTextStyleFeatureImpl/index.js +256 -0
- package/v3/VwcRteTextStyleFeatureImpl/package.json +11 -0
- package/v3/VwcRteToolbarFeatureImpl/index.d.ts +22 -0
- package/v3/VwcRteToolbarFeatureImpl/index.js +254 -0
- package/v3/VwcRteToolbarFeatureImpl/package.json +11 -0
- package/v3/VwcRteUnderlineFeatureImpl/index.d.ts +20 -0
- package/v3/VwcRteUnderlineFeatureImpl/index.js +262 -0
- package/v3/VwcRteUnderlineFeatureImpl/package.json +11 -0
- package/v3/VwcSearchableSelect/index.d.ts +52 -46
- package/v3/VwcSearchableSelect/index.js +123 -25
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +43 -41
- package/v3/VwcSelect/index.js +130 -31
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +21 -21
- package/v3/VwcSelectableBox/index.js +90 -37
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/index.d.ts +13 -13
- package/v3/VwcSideDrawer/index.js +1 -1
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSimpleColorPicker/index.d.ts +49 -0
- package/v3/VwcSimpleColorPicker/index.js +508 -0
- package/v3/VwcSimpleColorPicker/package.json +11 -0
- package/v3/VwcSlider/index.d.ts +27 -28
- package/v3/VwcSlider/index.js +62 -17
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.d.ts +29 -32
- package/v3/VwcSplitButton/index.js +81 -30
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcStatus/index.d.ts +27 -0
- package/v3/VwcStatus/index.js +189 -0
- package/v3/VwcStatus/package.json +11 -0
- package/v3/VwcSwitch/index.d.ts +25 -26
- package/v3/VwcSwitch/index.js +57 -18
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +17 -18
- package/v3/VwcTab/index.js +48 -40
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/index.d.ts +6 -8
- package/v3/VwcTabPanel/index.js +2 -14
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTable/index.d.ts +20 -0
- package/v3/{VwcMenubar → VwcTable}/index.js +23 -48
- package/v3/VwcTable/package.json +11 -0
- package/v3/VwcTableBody/index.d.ts +20 -0
- package/v3/VwcTableBody/index.js +68 -0
- package/v3/VwcTableBody/package.json +11 -0
- package/v3/VwcTableCell/index.d.ts +21 -0
- package/v3/VwcTableCell/index.js +149 -0
- package/v3/VwcTableCell/package.json +11 -0
- package/v3/VwcTableHead/index.d.ts +20 -0
- package/v3/VwcTableHead/index.js +68 -0
- package/v3/VwcTableHead/package.json +11 -0
- package/v3/VwcTableHeaderCell/index.d.ts +21 -0
- package/v3/VwcTableHeaderCell/index.js +166 -0
- package/v3/VwcTableHeaderCell/package.json +11 -0
- package/v3/VwcTableRow/index.d.ts +20 -0
- package/v3/VwcTableRow/index.js +140 -0
- package/v3/VwcTableRow/package.json +11 -0
- package/v3/VwcTableSortingButton/index.d.ts +23 -0
- package/v3/VwcTableSortingButton/index.js +112 -0
- package/v3/VwcTableSortingButton/package.json +11 -0
- package/v3/VwcTabs/index.d.ts +19 -20
- package/v3/VwcTabs/index.js +19 -18
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.d.ts +19 -20
- package/v3/VwcTag/index.js +318 -41
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.d.ts +6 -8
- package/v3/VwcTagGroup/index.js +2 -14
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +33 -34
- package/v3/VwcTextArea/index.js +46 -17
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +51 -50
- package/v3/VwcTextField/index.js +69 -40
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTextblockAttrs/index.d.ts +17 -0
- package/v3/VwcTextblockAttrs/index.js +95 -0
- package/v3/VwcTextblockAttrs/package.json +11 -0
- package/v3/VwcTextblockMarks/index.d.ts +16 -0
- package/v3/VwcTextblockMarks/index.js +53 -0
- package/v3/VwcTextblockMarks/package.json +11 -0
- package/v3/VwcTimePicker/index.d.ts +30 -28
- package/v3/VwcTimePicker/index.js +48 -9
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.d.ts +15 -15
- package/v3/VwcToggletip/index.js +44 -35
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.d.ts +11 -12
- package/v3/VwcTooltip/index.js +31 -3
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/index.d.ts +15 -16
- package/v3/VwcTreeItem/index.js +4 -34
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/index.d.ts +9 -12
- package/v3/VwcTreeView/index.js +4 -25
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcUiCtx/index.d.ts +16 -0
- package/v3/VwcUiCtx/index.js +108 -0
- package/v3/VwcUiCtx/package.json +11 -0
- package/v3/VwcVideoPlayer/index.d.ts +21 -21
- package/v3/VwcVideoPlayer/index.js +13 -13
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVisuallyHidden/index.d.ts +6 -6
- package/v3/VwcVisuallyHidden/index.js +1 -1
- package/v3/VwcVisuallyHidden/package.json +2 -2
- package/v3/VwcVividElement/index.d.ts +6 -10
- package/v3/VwcVividElement/index.js +37 -26
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/index.d.ts +21 -23
- package/v3/VwcVividFoundationButton/index.js +2 -14
- package/v3/VwcVividFoundationButton/package.json +2 -2
- package/v3/VwcVvdHexInput/index.d.ts +16 -0
- package/v3/VwcVvdHexInput/index.js +43 -0
- package/v3/VwcVvdHexInput/package.json +11 -0
- package/v3/VwcVvdHexPicker/index.d.ts +16 -0
- package/v3/VwcVvdHexPicker/index.js +43 -0
- package/v3/VwcVvdHexPicker/package.json +11 -0
- package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
- package/v3/VwcDelegateAriaBehavior/index.js +0 -208
- package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
- package/v3/VwcHostSemanticsBehavior/index.js +0 -107
- package/v3/VwcHostSemanticsBehavior/package.json +0 -11
- package/v3/VwcImagePlaceholder/index.d.ts +0 -28
- package/v3/VwcImagePlaceholder/index.js +0 -116
- package/v3/VwcMenubar/index.d.ts +0 -22
- package/v3/VwcProseMirrorFacade/index.d.ts +0 -16
- package/v3/VwcProseMirrorFacade/index.js +0 -244
package/v3/VwcListbox/index.js
CHANGED
|
@@ -69,6 +69,24 @@ Code in this file were generated using following JSON:
|
|
|
69
69
|
],
|
|
70
70
|
"privacy": "public"
|
|
71
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "method",
|
|
74
|
+
"name": "_validSelectedIndex",
|
|
75
|
+
"privacy": "protected",
|
|
76
|
+
"return": {
|
|
77
|
+
"type": {
|
|
78
|
+
"text": "number"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"parameters": [
|
|
82
|
+
{
|
|
83
|
+
"name": "index",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "number"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
72
90
|
{
|
|
73
91
|
"kind": "method",
|
|
74
92
|
"name": "selectFirstOption",
|
|
@@ -80,6 +98,49 @@ Code in this file were generated using following JSON:
|
|
|
80
98
|
"description": "Moves focus to the first selectable option.",
|
|
81
99
|
"privacy": "public"
|
|
82
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "method",
|
|
103
|
+
"name": "_newDefaultSelectedIndex",
|
|
104
|
+
"privacy": "protected",
|
|
105
|
+
"return": {
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "number | null"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"parameters": [
|
|
111
|
+
{
|
|
112
|
+
"name": "prev",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "ListboxOption[]"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "next",
|
|
119
|
+
"type": {
|
|
120
|
+
"text": "ListboxOption[]"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "currentSelectedIndex",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "number"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "method",
|
|
133
|
+
"name": "_isDefaultSelected",
|
|
134
|
+
"privacy": "protected",
|
|
135
|
+
"parameters": [
|
|
136
|
+
{
|
|
137
|
+
"name": "option",
|
|
138
|
+
"type": {
|
|
139
|
+
"text": "ListboxOption"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
83
144
|
{
|
|
84
145
|
"kind": "method",
|
|
85
146
|
"name": "setSelectedOptions",
|
|
@@ -130,7 +191,7 @@ Code in this file were generated using following JSON:
|
|
|
130
191
|
}
|
|
131
192
|
}
|
|
132
193
|
*/
|
|
133
|
-
import wrapper from '@
|
|
194
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
134
195
|
import { registerListbox } from '@vonage/vivid'
|
|
135
196
|
|
|
136
197
|
registerListbox('vvd3')
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.19.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": "
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcMenu/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
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 {
|
|
5
|
-
* @param {
|
|
6
|
-
* @param {
|
|
7
|
-
* @param {
|
|
8
|
-
* @param {
|
|
9
|
-
* @param
|
|
10
|
-
* @param {HTMLElement[] | undefined} actionItemsSlottedContent
|
|
4
|
+
* @param {number | null} offset - Adds offset to the popup **attribute** `offset`
|
|
5
|
+
* @param {Placement | undefined} placement - Sets the desired position of the Menu relative to it's anchor element **attribute** `placement`
|
|
6
|
+
* @param {'auto' | 'legacy' | 'off' | undefined} trigger - Sets trigger method of Menu **attribute** `trigger`
|
|
7
|
+
* @param {boolean} autoDismiss - Sets the Menu to close when focus is lost **attribute** `auto-dismiss`
|
|
8
|
+
* @param {Strategy | undefined} positionStrategy - Sets the position strategy **attribute** `position-strategy`
|
|
9
|
+
* @param {boolean} open - Sets the open state of the Menu **attribute** `open`
|
|
11
10
|
* @param {AnchorType | undefined} anchor - ID or direct reference to the component's anchor element. **attribute** `anchor`
|
|
12
|
-
* @param {'delegate'} _vividAriaBehaviour
|
|
13
11
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
14
12
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
15
13
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -17,23 +15,21 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
17
15
|
declare const VwcMenu: {
|
|
18
16
|
(props: {
|
|
19
17
|
children?: ReactNode;
|
|
20
|
-
slot?: string
|
|
21
|
-
id?: string
|
|
22
|
-
style?: React.CSSProperties
|
|
23
|
-
ref?:
|
|
24
|
-
onOpen?: (
|
|
25
|
-
onClose?: (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
VIVID_VERSION?: string | undefined;
|
|
36
|
-
componentName?: string | undefined;
|
|
18
|
+
slot?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
onOpen?: (event: SyntheticEvent) => void;
|
|
23
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
24
|
+
"offset"?: number;
|
|
25
|
+
"placement"?: any;
|
|
26
|
+
"trigger"?: any;
|
|
27
|
+
"autoDismiss"?: boolean;
|
|
28
|
+
"positionStrategy"?: any;
|
|
29
|
+
"open"?: boolean;
|
|
30
|
+
"anchor"?: any;
|
|
31
|
+
"VIVID_VERSION"?: string;
|
|
32
|
+
"componentName"?: string;
|
|
37
33
|
}): JSX.Element;
|
|
38
34
|
displayName: string;
|
|
39
35
|
};
|
package/v3/VwcMenu/index.js
CHANGED
|
@@ -26,6 +26,16 @@ Code in this file were generated using following JSON:
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "offset",
|
|
32
|
+
"type": {
|
|
33
|
+
"text": "number | null"
|
|
34
|
+
},
|
|
35
|
+
"default": "null",
|
|
36
|
+
"description": "Adds offset to the popup",
|
|
37
|
+
"privacy": "public"
|
|
38
|
+
},
|
|
29
39
|
{
|
|
30
40
|
"kind": "field",
|
|
31
41
|
"name": "menuItems",
|
|
@@ -61,7 +71,7 @@ Code in this file were generated using following JSON:
|
|
|
61
71
|
"text": "void"
|
|
62
72
|
}
|
|
63
73
|
},
|
|
64
|
-
"description": "Moves focus into the
|
|
74
|
+
"description": "Moves focus into the Menu. If there is a child with the `autofocus` attribute, it will be\nfocused. Otherwise, the first Menu Item will be focused.",
|
|
65
75
|
"privacy": "public"
|
|
66
76
|
},
|
|
67
77
|
{
|
|
@@ -131,7 +141,7 @@ Code in this file were generated using following JSON:
|
|
|
131
141
|
"text": "Placement | undefined"
|
|
132
142
|
},
|
|
133
143
|
"default": "'bottom'",
|
|
134
|
-
"description": "
|
|
144
|
+
"description": "Sets the desired position of the Menu relative to it's anchor element",
|
|
135
145
|
"privacy": "public"
|
|
136
146
|
},
|
|
137
147
|
{
|
|
@@ -140,7 +150,7 @@ Code in this file were generated using following JSON:
|
|
|
140
150
|
"type": {
|
|
141
151
|
"text": "'auto' | 'legacy' | 'off' | undefined"
|
|
142
152
|
},
|
|
143
|
-
"description": "
|
|
153
|
+
"description": "Sets trigger method of Menu",
|
|
144
154
|
"privacy": "public"
|
|
145
155
|
},
|
|
146
156
|
{
|
|
@@ -159,7 +169,7 @@ Code in this file were generated using following JSON:
|
|
|
159
169
|
"text": "boolean"
|
|
160
170
|
},
|
|
161
171
|
"default": "false",
|
|
162
|
-
"description": "
|
|
172
|
+
"description": "Sets the Menu to close when focus is lost",
|
|
163
173
|
"privacy": "public"
|
|
164
174
|
},
|
|
165
175
|
{
|
|
@@ -169,7 +179,7 @@ Code in this file were generated using following JSON:
|
|
|
169
179
|
"text": "Strategy | undefined"
|
|
170
180
|
},
|
|
171
181
|
"default": "'fixed'",
|
|
172
|
-
"description": "
|
|
182
|
+
"description": "Sets the position strategy",
|
|
173
183
|
"privacy": "public"
|
|
174
184
|
},
|
|
175
185
|
{
|
|
@@ -179,7 +189,7 @@ Code in this file were generated using following JSON:
|
|
|
179
189
|
"text": "boolean"
|
|
180
190
|
},
|
|
181
191
|
"default": "false",
|
|
182
|
-
"description": "
|
|
192
|
+
"description": "Sets the open state of the Menu",
|
|
183
193
|
"privacy": "public"
|
|
184
194
|
},
|
|
185
195
|
{
|
|
@@ -246,17 +256,6 @@ Code in this file were generated using following JSON:
|
|
|
246
256
|
"name": "#onAnchorClick",
|
|
247
257
|
"privacy": "private"
|
|
248
258
|
},
|
|
249
|
-
{
|
|
250
|
-
"kind": "field",
|
|
251
|
-
"name": "_onFocusout"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "field",
|
|
255
|
-
"name": "actionItemsSlottedContent",
|
|
256
|
-
"type": {
|
|
257
|
-
"text": "HTMLElement[] | undefined"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
259
|
{
|
|
261
260
|
"kind": "field",
|
|
262
261
|
"name": "anchor",
|
|
@@ -309,18 +308,6 @@ Code in this file were generated using following JSON:
|
|
|
309
308
|
"module": "src/shared/patterns/anchored.ts"
|
|
310
309
|
}
|
|
311
310
|
},
|
|
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
311
|
{
|
|
325
312
|
"kind": "field",
|
|
326
313
|
"name": "VIVID_VERSION",
|
|
@@ -366,13 +353,22 @@ Code in this file were generated using following JSON:
|
|
|
366
353
|
}
|
|
367
354
|
],
|
|
368
355
|
"attributes": [
|
|
356
|
+
{
|
|
357
|
+
"name": "offset",
|
|
358
|
+
"type": {
|
|
359
|
+
"text": "number | null"
|
|
360
|
+
},
|
|
361
|
+
"default": "null",
|
|
362
|
+
"description": "Adds offset to the popup",
|
|
363
|
+
"fieldName": "offset"
|
|
364
|
+
},
|
|
369
365
|
{
|
|
370
366
|
"name": "placement",
|
|
371
367
|
"type": {
|
|
372
368
|
"text": "Placement | undefined"
|
|
373
369
|
},
|
|
374
370
|
"default": "'bottom'",
|
|
375
|
-
"description": "
|
|
371
|
+
"description": "Sets the desired position of the Menu relative to it's anchor element",
|
|
376
372
|
"fieldName": "placement"
|
|
377
373
|
},
|
|
378
374
|
{
|
|
@@ -380,7 +376,7 @@ Code in this file were generated using following JSON:
|
|
|
380
376
|
"type": {
|
|
381
377
|
"text": "'auto' | 'legacy' | 'off' | undefined"
|
|
382
378
|
},
|
|
383
|
-
"description": "
|
|
379
|
+
"description": "Sets trigger method of Menu",
|
|
384
380
|
"fieldName": "trigger"
|
|
385
381
|
},
|
|
386
382
|
{
|
|
@@ -389,7 +385,7 @@ Code in this file were generated using following JSON:
|
|
|
389
385
|
"text": "boolean"
|
|
390
386
|
},
|
|
391
387
|
"default": "false",
|
|
392
|
-
"description": "
|
|
388
|
+
"description": "Sets the Menu to close when focus is lost",
|
|
393
389
|
"fieldName": "autoDismiss"
|
|
394
390
|
},
|
|
395
391
|
{
|
|
@@ -398,7 +394,7 @@ Code in this file were generated using following JSON:
|
|
|
398
394
|
"text": "Strategy | undefined"
|
|
399
395
|
},
|
|
400
396
|
"default": "'fixed'",
|
|
401
|
-
"description": "
|
|
397
|
+
"description": "Sets the position strategy",
|
|
402
398
|
"fieldName": "positionStrategy"
|
|
403
399
|
},
|
|
404
400
|
{
|
|
@@ -407,7 +403,7 @@ Code in this file were generated using following JSON:
|
|
|
407
403
|
"text": "boolean"
|
|
408
404
|
},
|
|
409
405
|
"default": "false",
|
|
410
|
-
"description": "
|
|
406
|
+
"description": "Sets the open state of the Menu",
|
|
411
407
|
"fieldName": "open"
|
|
412
408
|
},
|
|
413
409
|
{
|
|
@@ -440,10 +436,38 @@ Code in this file were generated using following JSON:
|
|
|
440
436
|
"vividComponent": {
|
|
441
437
|
"public": true,
|
|
442
438
|
"name": "menu"
|
|
439
|
+
},
|
|
440
|
+
"vividTesting": {
|
|
441
|
+
"selectors": [
|
|
442
|
+
{
|
|
443
|
+
"name": "byLabel",
|
|
444
|
+
"args": [
|
|
445
|
+
"byLabel"
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"actions": [],
|
|
450
|
+
"queries": [
|
|
451
|
+
{
|
|
452
|
+
"name": "open",
|
|
453
|
+
"args": [
|
|
454
|
+
"open",
|
|
455
|
+
"true"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "closed",
|
|
460
|
+
"args": [
|
|
461
|
+
"open",
|
|
462
|
+
"false"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"refs": []
|
|
443
467
|
}
|
|
444
468
|
}
|
|
445
469
|
*/
|
|
446
|
-
import wrapper from '@
|
|
470
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
447
471
|
import { registerMenu } from '@vonage/vivid'
|
|
448
472
|
|
|
449
473
|
registerMenu('vvd3')
|
|
@@ -451,7 +475,7 @@ registerMenu('vvd3')
|
|
|
451
475
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
452
476
|
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
453
477
|
attributes: [],
|
|
454
|
-
properties: ['placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '
|
|
478
|
+
properties: ['offset', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
|
|
455
479
|
})
|
|
456
480
|
|
|
457
481
|
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": "
|
|
3
|
+
"version": "5.19.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": "
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -2,20 +2,19 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
2
2
|
/** VwcMenuItem
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
|
|
4
4
|
* @param {string | undefined} icon **attribute** `icon`
|
|
5
|
-
* @param {boolean} disabled -
|
|
6
|
-
* @param {boolean} expanded -
|
|
7
|
-
* @param {MenuItemRole} role - The role of the element.
|
|
5
|
+
* @param {boolean} disabled - Sets the disabled state **attribute** `disabled`
|
|
6
|
+
* @param {boolean} expanded - Sets the expanded state **attribute** `expanded`
|
|
7
|
+
* @param {MenuItemRole} role - The role of the element.
|
|
8
8
|
* @param {ControlType | undefined} controlType - Whether the menu item should behave as a checkbox or radio button. **attribute** `control-type`
|
|
9
|
-
* @param {boolean} checked -
|
|
10
|
-
* @param {string | undefined} text -
|
|
11
|
-
* @param {string | undefined} textSecondary -
|
|
12
|
-
* @param {MenuItemConnotation | undefined} connotation -
|
|
13
|
-
* @param {boolean} checkTrailing -
|
|
9
|
+
* @param {boolean} checked - Sets the checked state **attribute** `checked`
|
|
10
|
+
* @param {string | undefined} text - Text content **attribute** `text`
|
|
11
|
+
* @param {string | undefined} textSecondary - Give more context to the text **attribute** `text-secondary`
|
|
12
|
+
* @param {MenuItemConnotation | undefined} connotation - Sets the connotation that appears when checked **attribute** `connotation`
|
|
13
|
+
* @param {boolean} checkTrailing - Sets the check element to appear at the end of the Menu Item **attribute** `check-trailing`
|
|
14
14
|
* @param {| 'normal'
|
|
15
15
|
| 'tick-only' | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
|
|
16
|
-
* @param {
|
|
17
|
-
|
|
18
|
-
* @param {string | undefined} icon - A decorative icon the custom element should have. **attribute** `icon`
|
|
16
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. See the [Vivid Icon
|
|
17
|
+
Gallery](/icons/icons-gallery/) for available icons and `icon-name`s **attribute** `icon`
|
|
19
18
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
20
19
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
21
20
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -23,27 +22,26 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
23
22
|
declare const VwcMenuItem: {
|
|
24
23
|
(props: {
|
|
25
24
|
children?: ReactNode;
|
|
26
|
-
slot?: string
|
|
27
|
-
id?: string
|
|
28
|
-
style?: React.CSSProperties
|
|
29
|
-
ref?:
|
|
30
|
-
onExpandedChange?: (
|
|
31
|
-
onChange?: (
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
componentName?: string | undefined;
|
|
25
|
+
slot?: string;
|
|
26
|
+
id?: string;
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
29
|
+
onExpandedChange?: (event: SyntheticEvent) => void;
|
|
30
|
+
onChange?: (event: SyntheticEvent) => void;
|
|
31
|
+
onChange?: (event: SyntheticEvent) => void;
|
|
32
|
+
"icon"?: string | undefined;
|
|
33
|
+
"disabled"?: boolean;
|
|
34
|
+
"expanded"?: boolean;
|
|
35
|
+
"role"?: any;
|
|
36
|
+
"controlType"?: any;
|
|
37
|
+
"checked"?: boolean;
|
|
38
|
+
"text"?: string | undefined;
|
|
39
|
+
"textSecondary"?: string | undefined;
|
|
40
|
+
"connotation"?: any;
|
|
41
|
+
"checkTrailing"?: boolean;
|
|
42
|
+
"checkedAppearance"?: any;
|
|
43
|
+
"VIVID_VERSION"?: string;
|
|
44
|
+
"componentName"?: string;
|
|
47
45
|
}): JSX.Element;
|
|
48
46
|
displayName: string;
|
|
49
47
|
};
|