@vonage/vivid-react 4.0.0 → 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 +258 -79
- 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 +19 -17
- package/v3/VwcAccordionItem/index.js +3 -3
- 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 +4 -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/VwcAriaBindingDirective/package.json +11 -0
- package/v3/VwcAudioPlayer/index.d.ts +30 -28
- package/v3/VwcAudioPlayer/index.js +39 -16
- 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 +4 -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 +63 -29
- 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 +18 -40
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +31 -32
- package/v3/VwcCheckbox/index.js +4 -16
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcColorPicker/index.d.ts +27 -28
- package/v3/VwcColorPicker/index.js +16 -20
- package/v3/VwcColorPicker/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +40 -42
- package/v3/VwcCombobox/index.js +15 -46
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcContextualHelp/index.d.ts +8 -8
- package/v3/VwcContextualHelp/index.js +4 -3
- package/v3/VwcContextualHelp/package.json +2 -2
- package/v3/VwcCountry/index.d.ts +27 -0
- package/v3/VwcCountry/index.js +104 -0
- package/v3/{VwcImagePlaceholder → VwcCountry}/package.json +3 -3
- package/v3/VwcCountryGroup/index.d.ts +28 -0
- package/v3/VwcCountryGroup/index.js +268 -0
- package/v3/{VwcProseMirrorFacade → VwcCountryGroup}/package.json +3 -3
- package/v3/VwcDataGrid/index.d.ts +31 -38
- package/v3/VwcDataGrid/index.js +16 -28
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +17 -19
- package/v3/VwcDataGridCell/index.js +6 -65
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +17 -19
- package/v3/VwcDataGridRow/index.js +2 -65
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.d.ts +26 -22
- package/v3/VwcDatePicker/index.js +29 -3
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.d.ts +34 -30
- package/v3/VwcDateRangePicker/index.js +29 -4
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.d.ts +38 -36
- package/v3/VwcDateTimePicker/index.js +41 -35
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +123 -111
- package/v3/VwcDialPad/index.js +50 -30
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +29 -31
- package/v3/VwcDialog/index.js +14 -31
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +10 -12
- package/v3/VwcDivider/index.js +3 -15
- 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 +7 -6
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.d.ts +31 -32
- package/v3/VwcFab/index.js +10 -35
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeatureState/index.d.ts +17 -0
- package/v3/VwcFeatureState/index.js +70 -0
- package/v3/{VwcDelegateAriaBehavior → VwcFeatureState}/package.json +3 -3
- package/v3/VwcFeedbackMessage/index.d.ts +7 -9
- package/v3/VwcFeedbackMessage/index.js +2 -14
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +33 -35
- package/v3/VwcFilePicker/index.js +24 -34
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFlag/index.d.ts +38 -0
- package/v3/VwcFlag/index.js +146 -0
- package/v3/{VwcMenubar → VwcFlag}/package.json +3 -3
- 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 +4 -22
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +13 -15
- package/v3/VwcInlineTimePicker/index.js +2 -14
- 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 +1 -14
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +20 -26
- package/v3/VwcMenu/index.js +13 -36
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +29 -31
- package/v3/VwcMenuItem/index.js +18 -37
- 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 +4 -16
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.d.ts +22 -23
- package/v3/VwcNavItem/index.js +4 -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 +8 -18
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +31 -30
- package/v3/VwcOption/index.js +65 -28
- 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 +2 -77
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +19 -19
- package/v3/VwcPickerField/index.js +19 -14
- 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 -23
- package/v3/VwcRadio/index.js +1 -1
- 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 +8 -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/{VwcHostSemanticsBehavior → VwcRteBoldFeatureImpl}/package.json +3 -3
- 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 +51 -51
- package/v3/VwcSearchableSelect/index.js +38 -29
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.d.ts +43 -41
- package/v3/VwcSelect/index.js +41 -46
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +21 -21
- package/v3/VwcSelectableBox/index.js +28 -21
- 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 +21 -20
- package/v3/VwcSimpleColorPicker/index.js +13 -5
- package/v3/VwcSimpleColorPicker/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +27 -28
- package/v3/VwcSlider/index.js +10 -17
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.d.ts +29 -32
- package/v3/VwcSplitButton/index.js +18 -56
- 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 +6 -18
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +17 -18
- package/v3/VwcTab/index.js +4 -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 +15 -18
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.d.ts +19 -20
- package/v3/VwcTag/index.js +204 -37
- 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 +13 -17
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +51 -50
- package/v3/VwcTextField/index.js +29 -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 +33 -7
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.d.ts +15 -15
- package/v3/VwcToggletip/index.js +9 -32
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.d.ts +11 -12
- package/v3/VwcTooltip/index.js +3 -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 -8
- package/v3/VwcVividElement/index.js +2 -14
- 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 +4 -4
- package/v3/VwcVvdHexInput/index.js +1 -1
- package/v3/VwcVvdHexInput/package.json +2 -2
- package/v3/VwcVvdHexPicker/index.d.ts +4 -4
- package/v3/VwcVvdHexPicker/index.js +1 -1
- package/v3/VwcVvdHexPicker/package.json +2 -2
- package/v3/VwcDelegateAriaBehavior/index.d.ts +0 -16
- package/v3/VwcDelegateAriaBehavior/index.js +0 -155
- package/v3/VwcHostSemanticsBehavior/index.d.ts +0 -16
- package/v3/VwcHostSemanticsBehavior/index.js +0 -91
- 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
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "RteForeignHtmlFeatureImpl",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "name",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "The name of the feature, e.g. RteBoldFeature\nNote: Cannot use this.constructor.name because it may be minified",
|
|
18
|
+
"default": "'RteForeignHtmlFeature'",
|
|
19
|
+
"inheritedFrom": {
|
|
20
|
+
"name": "RteFeatureImpl",
|
|
21
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "method",
|
|
26
|
+
"name": "getPlugins",
|
|
27
|
+
"return": {
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "PluginContribution[]"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"parameters": [
|
|
33
|
+
{
|
|
34
|
+
"name": "rte",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "RteInstanceImpl"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"inheritedFrom": {
|
|
41
|
+
"name": "RteFeatureImpl",
|
|
42
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "featureId",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "string | undefined"
|
|
50
|
+
},
|
|
51
|
+
"description": "If a feature can have multiple instances, a unique id to differentiate them.",
|
|
52
|
+
"inheritedFrom": {
|
|
53
|
+
"name": "RteFeatureImpl",
|
|
54
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "method",
|
|
59
|
+
"name": "contribution",
|
|
60
|
+
"privacy": "protected",
|
|
61
|
+
"return": {
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "Contribution<T>"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"parameters": [
|
|
67
|
+
{
|
|
68
|
+
"name": "value",
|
|
69
|
+
"type": {
|
|
70
|
+
"text": "T"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "order",
|
|
75
|
+
"optional": true,
|
|
76
|
+
"type": {
|
|
77
|
+
"text": "number"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"description": "Creates a contribution of this feature.",
|
|
82
|
+
"inheritedFrom": {
|
|
83
|
+
"name": "RteFeatureImpl",
|
|
84
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "method",
|
|
89
|
+
"name": "getStyles",
|
|
90
|
+
"return": {
|
|
91
|
+
"type": {
|
|
92
|
+
"text": "StyleContribution[]"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"inheritedFrom": {
|
|
96
|
+
"name": "RteFeatureImpl",
|
|
97
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "method",
|
|
102
|
+
"name": "getSchema",
|
|
103
|
+
"return": {
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "SchemaContribution[]"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"parameters": [
|
|
109
|
+
{
|
|
110
|
+
"name": "textblockAttrs",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "TextblockAttrs"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "textblockMarks",
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "TextblockMarks"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"inheritedFrom": {
|
|
123
|
+
"name": "RteFeatureImpl",
|
|
124
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "method",
|
|
129
|
+
"name": "getTextblockAttrs",
|
|
130
|
+
"return": {
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "TextblockAttrContribution[]"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"inheritedFrom": {
|
|
136
|
+
"name": "RteFeatureImpl",
|
|
137
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "method",
|
|
142
|
+
"name": "getTextblockMarks",
|
|
143
|
+
"return": {
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "TextblockMarkContribution[]"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"inheritedFrom": {
|
|
149
|
+
"name": "RteFeatureImpl",
|
|
150
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "method",
|
|
155
|
+
"name": "getToolbarItems",
|
|
156
|
+
"return": {
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "ToolbarItemContribution[]"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"parameters": [
|
|
162
|
+
{
|
|
163
|
+
"name": "rte",
|
|
164
|
+
"type": {
|
|
165
|
+
"text": "RteInstanceImpl"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"inheritedFrom": {
|
|
170
|
+
"name": "RteFeatureImpl",
|
|
171
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "method",
|
|
176
|
+
"name": "getInputRules",
|
|
177
|
+
"return": {
|
|
178
|
+
"type": {
|
|
179
|
+
"text": "InputRuleContribution[]"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"parameters": [
|
|
183
|
+
{
|
|
184
|
+
"name": "rte",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "RteInstanceImpl"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"inheritedFrom": {
|
|
191
|
+
"name": "RteFeatureImpl",
|
|
192
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"kind": "method",
|
|
197
|
+
"name": "getFeatures",
|
|
198
|
+
"return": {
|
|
199
|
+
"type": {
|
|
200
|
+
"text": "RteFeatureImpl[]"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"inheritedFrom": {
|
|
204
|
+
"name": "RteFeatureImpl",
|
|
205
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "method",
|
|
210
|
+
"name": "getPublicInterface",
|
|
211
|
+
"return": {
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "any"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"parameters": [
|
|
217
|
+
{
|
|
218
|
+
"name": "rte",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "RteInstanceImpl"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"inheritedFrom": {
|
|
225
|
+
"name": "RteFeatureImpl",
|
|
226
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"superclass": {
|
|
231
|
+
"name": "RteFeatureImpl",
|
|
232
|
+
"module": "/src/lib/rich-text-editor/rte/feature"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
*/
|
|
236
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
237
|
+
import { registerRteForeignHtmlFeatureImpl } from '@vonage/vivid'
|
|
238
|
+
|
|
239
|
+
registerRteForeignHtmlFeatureImpl('vvd3')
|
|
240
|
+
|
|
241
|
+
const VwcRteForeignHtmlFeatureImpl = wrapper(`vvd3-rte-foreign-html-feature-impl`, {
|
|
242
|
+
events: [],
|
|
243
|
+
attributes: [],
|
|
244
|
+
properties: ['name', 'featureId']
|
|
245
|
+
})
|
|
246
|
+
|
|
247
|
+
VwcRteForeignHtmlFeatureImpl.displayName = 'VwcRteForeignHtmlFeatureImpl'
|
|
248
|
+
|
|
249
|
+
export default VwcRteForeignHtmlFeatureImpl
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcRteHardBreakFeatureImpl
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-hard-break-feature-impl
|
|
4
|
+
* @param {string} name - The name of the feature, e.g. RteBoldFeature
|
|
5
|
+
Note: Cannot use this.constructor.name because it may be minified
|
|
6
|
+
* @param {string | undefined} featureId - If a feature can have multiple instances, a unique id to differentiate them.
|
|
7
|
+
*/
|
|
8
|
+
declare const VwcRteHardBreakFeatureImpl: {
|
|
9
|
+
(props: {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
slot?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
"name"?: string;
|
|
16
|
+
"featureId"?: string | undefined;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export default VwcRteHardBreakFeatureImpl;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "RteHardBreakFeatureImpl",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "name",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "The name of the feature, e.g. RteBoldFeature\nNote: Cannot use this.constructor.name because it may be minified",
|
|
18
|
+
"default": "'RteHardBreakFeature'",
|
|
19
|
+
"inheritedFrom": {
|
|
20
|
+
"name": "RteFeatureImpl",
|
|
21
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"kind": "method",
|
|
26
|
+
"name": "getSchema",
|
|
27
|
+
"return": {
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "SchemaContribution[]"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"parameters": [
|
|
33
|
+
{
|
|
34
|
+
"name": "textblockAttrs",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "TextblockAttrs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "textblockMarks",
|
|
41
|
+
"type": {
|
|
42
|
+
"text": "TextblockMarks"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"inheritedFrom": {
|
|
47
|
+
"name": "RteFeatureImpl",
|
|
48
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "method",
|
|
53
|
+
"name": "getPlugins",
|
|
54
|
+
"return": {
|
|
55
|
+
"type": {
|
|
56
|
+
"text": "PluginContribution[]"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"parameters": [
|
|
60
|
+
{
|
|
61
|
+
"name": "_rte",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "RteInstanceImpl"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"inheritedFrom": {
|
|
68
|
+
"name": "RteFeatureImpl",
|
|
69
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "field",
|
|
74
|
+
"name": "featureId",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "string | undefined"
|
|
77
|
+
},
|
|
78
|
+
"description": "If a feature can have multiple instances, a unique id to differentiate them.",
|
|
79
|
+
"inheritedFrom": {
|
|
80
|
+
"name": "RteFeatureImpl",
|
|
81
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"kind": "method",
|
|
86
|
+
"name": "contribution",
|
|
87
|
+
"privacy": "protected",
|
|
88
|
+
"return": {
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "Contribution<T>"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"parameters": [
|
|
94
|
+
{
|
|
95
|
+
"name": "value",
|
|
96
|
+
"type": {
|
|
97
|
+
"text": "T"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "order",
|
|
102
|
+
"optional": true,
|
|
103
|
+
"type": {
|
|
104
|
+
"text": "number"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"description": "Creates a contribution of this feature.",
|
|
109
|
+
"inheritedFrom": {
|
|
110
|
+
"name": "RteFeatureImpl",
|
|
111
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "method",
|
|
116
|
+
"name": "getStyles",
|
|
117
|
+
"return": {
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "StyleContribution[]"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"inheritedFrom": {
|
|
123
|
+
"name": "RteFeatureImpl",
|
|
124
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "method",
|
|
129
|
+
"name": "getTextblockAttrs",
|
|
130
|
+
"return": {
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "TextblockAttrContribution[]"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"inheritedFrom": {
|
|
136
|
+
"name": "RteFeatureImpl",
|
|
137
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "method",
|
|
142
|
+
"name": "getTextblockMarks",
|
|
143
|
+
"return": {
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "TextblockMarkContribution[]"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"inheritedFrom": {
|
|
149
|
+
"name": "RteFeatureImpl",
|
|
150
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "method",
|
|
155
|
+
"name": "getToolbarItems",
|
|
156
|
+
"return": {
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "ToolbarItemContribution[]"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"parameters": [
|
|
162
|
+
{
|
|
163
|
+
"name": "rte",
|
|
164
|
+
"type": {
|
|
165
|
+
"text": "RteInstanceImpl"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"inheritedFrom": {
|
|
170
|
+
"name": "RteFeatureImpl",
|
|
171
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "method",
|
|
176
|
+
"name": "getInputRules",
|
|
177
|
+
"return": {
|
|
178
|
+
"type": {
|
|
179
|
+
"text": "InputRuleContribution[]"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"parameters": [
|
|
183
|
+
{
|
|
184
|
+
"name": "rte",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "RteInstanceImpl"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"inheritedFrom": {
|
|
191
|
+
"name": "RteFeatureImpl",
|
|
192
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"kind": "method",
|
|
197
|
+
"name": "getFeatures",
|
|
198
|
+
"return": {
|
|
199
|
+
"type": {
|
|
200
|
+
"text": "RteFeatureImpl[]"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"inheritedFrom": {
|
|
204
|
+
"name": "RteFeatureImpl",
|
|
205
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "method",
|
|
210
|
+
"name": "getPublicInterface",
|
|
211
|
+
"return": {
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "any"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"parameters": [
|
|
217
|
+
{
|
|
218
|
+
"name": "rte",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "RteInstanceImpl"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"inheritedFrom": {
|
|
225
|
+
"name": "RteFeatureImpl",
|
|
226
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"superclass": {
|
|
231
|
+
"name": "RteFeatureImpl",
|
|
232
|
+
"module": "/src/lib/rich-text-editor/rte/feature"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
*/
|
|
236
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
237
|
+
import { registerRteHardBreakFeatureImpl } from '@vonage/vivid'
|
|
238
|
+
|
|
239
|
+
registerRteHardBreakFeatureImpl('vvd3')
|
|
240
|
+
|
|
241
|
+
const VwcRteHardBreakFeatureImpl = wrapper(`vvd3-rte-hard-break-feature-impl`, {
|
|
242
|
+
events: [],
|
|
243
|
+
attributes: [],
|
|
244
|
+
properties: ['name', 'featureId']
|
|
245
|
+
})
|
|
246
|
+
|
|
247
|
+
VwcRteHardBreakFeatureImpl.displayName = 'VwcRteHardBreakFeatureImpl'
|
|
248
|
+
|
|
249
|
+
export default VwcRteHardBreakFeatureImpl
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcRteHistoryFeatureImpl
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-history-feature-impl
|
|
4
|
+
* @param {string} name - The name of the feature, e.g. RteBoldFeature
|
|
5
|
+
Note: Cannot use this.constructor.name because it may be minified
|
|
6
|
+
* @param {string | undefined} featureId - If a feature can have multiple instances, a unique id to differentiate them.
|
|
7
|
+
*/
|
|
8
|
+
declare const VwcRteHistoryFeatureImpl: {
|
|
9
|
+
(props: {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
slot?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
"name"?: string;
|
|
16
|
+
"featureId"?: string | undefined;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export default VwcRteHistoryFeatureImpl;
|