@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
|
@@ -7,167 +7,96 @@ Code in this file were generated using following JSON:
|
|
|
7
7
|
"kind": "class",
|
|
8
8
|
"description": "",
|
|
9
9
|
"name": "RichTextEditor",
|
|
10
|
-
"
|
|
11
|
-
{
|
|
12
|
-
"kind": "field",
|
|
13
|
-
"name": "value",
|
|
14
|
-
"type": {
|
|
15
|
-
"text": "string | undefined"
|
|
16
|
-
},
|
|
17
|
-
"description": "Indicates the rich text editor's value.",
|
|
18
|
-
"privacy": "public"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"kind": "field",
|
|
22
|
-
"name": "#editor",
|
|
23
|
-
"privacy": "private",
|
|
24
|
-
"type": {
|
|
25
|
-
"text": "ProseMirrorFacade | undefined"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
10
|
+
"slots": [
|
|
28
11
|
{
|
|
29
|
-
"
|
|
30
|
-
"name": "
|
|
31
|
-
"privacy": "private",
|
|
32
|
-
"type": {
|
|
33
|
-
"text": "HTMLElement"
|
|
34
|
-
},
|
|
35
|
-
"readonly": true
|
|
12
|
+
"description": "Displayed at the start of the scrollable editor area.",
|
|
13
|
+
"name": "editor-start"
|
|
36
14
|
},
|
|
37
15
|
{
|
|
38
|
-
"
|
|
39
|
-
"name": "
|
|
40
|
-
"type": {
|
|
41
|
-
"text": "number | null"
|
|
42
|
-
},
|
|
43
|
-
"default": "null"
|
|
16
|
+
"description": "Displayed at the end of the scrollable editor area.",
|
|
17
|
+
"name": "editor-end"
|
|
44
18
|
},
|
|
45
19
|
{
|
|
46
|
-
"
|
|
47
|
-
"name": "
|
|
20
|
+
"description": "Displayed between the editor viewport and the toolbar.",
|
|
21
|
+
"name": "status"
|
|
48
22
|
},
|
|
49
23
|
{
|
|
50
|
-
"
|
|
51
|
-
"name": "
|
|
52
|
-
|
|
53
|
-
|
|
24
|
+
"description": "Color picker for the RteTextColorFeature.",
|
|
25
|
+
"name": "text-color-picker"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"members": [
|
|
54
29
|
{
|
|
55
30
|
"kind": "field",
|
|
56
|
-
"name": "
|
|
31
|
+
"name": "instance",
|
|
57
32
|
"type": {
|
|
58
|
-
"text": "
|
|
33
|
+
"text": "RteInstance | undefined"
|
|
59
34
|
},
|
|
60
|
-
"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"kind": "method",
|
|
64
|
-
"name": "selectionEndChanged"
|
|
35
|
+
"description": "The editor instance created from the RteConfig. Without it, the editor will not render."
|
|
65
36
|
},
|
|
66
37
|
{
|
|
67
38
|
"kind": "field",
|
|
68
|
-
"name": "
|
|
39
|
+
"name": "editorViewportElement",
|
|
69
40
|
"type": {
|
|
70
|
-
"text": "
|
|
71
|
-
}
|
|
41
|
+
"text": "HTMLElement | undefined"
|
|
42
|
+
},
|
|
43
|
+
"description": "The viewport wraps the scrollable content of the editor."
|
|
72
44
|
},
|
|
73
45
|
{
|
|
74
46
|
"kind": "method",
|
|
75
|
-
"name": "
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"kind": "field",
|
|
79
|
-
"name": "#handleSelectionChange",
|
|
47
|
+
"name": "_initViewIfNeeded",
|
|
80
48
|
"privacy": "private"
|
|
81
49
|
},
|
|
82
|
-
{
|
|
83
|
-
"kind": "field",
|
|
84
|
-
"name": "#handleChange",
|
|
85
|
-
"privacy": "private"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"kind": "field",
|
|
89
|
-
"name": "#handleInput",
|
|
90
|
-
"privacy": "private"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"kind": "method",
|
|
94
|
-
"name": "setTextBlock",
|
|
95
|
-
"parameters": [
|
|
96
|
-
{
|
|
97
|
-
"name": "blockType",
|
|
98
|
-
"type": {
|
|
99
|
-
"text": "'title' | 'subtitle' | 'body'"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
50
|
{
|
|
105
51
|
"kind": "method",
|
|
106
|
-
"name": "
|
|
107
|
-
"
|
|
108
|
-
{
|
|
109
|
-
"name": "decoration",
|
|
110
|
-
"type": {
|
|
111
|
-
"text": "string"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
]
|
|
52
|
+
"name": "_destroyViewIfNeeded",
|
|
53
|
+
"privacy": "private"
|
|
115
54
|
},
|
|
116
55
|
{
|
|
117
56
|
"kind": "method",
|
|
118
|
-
"name": "
|
|
119
|
-
"
|
|
120
|
-
{
|
|
121
|
-
"name": "textSize",
|
|
122
|
-
"type": {
|
|
123
|
-
"text": "RICH_TEXT_EDITOR_MENUBAR_TEXT_SIZES"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
]
|
|
57
|
+
"name": "_syncStateIfNeeded",
|
|
58
|
+
"privacy": "private"
|
|
127
59
|
},
|
|
128
60
|
{
|
|
129
61
|
"kind": "field",
|
|
130
|
-
"name": "
|
|
62
|
+
"name": "#localeChangeHandler",
|
|
63
|
+
"privacy": "private",
|
|
131
64
|
"type": {
|
|
132
|
-
"text": "
|
|
65
|
+
"text": "object"
|
|
133
66
|
},
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
67
|
+
"default": "{\n\t\t\thandleChange: () => {\n\t\t\t\tthis.localeChanged();\n\t\t\t},\n\t\t}",
|
|
68
|
+
"inheritedFrom": {
|
|
69
|
+
"name": "WithObservableLocale",
|
|
70
|
+
"module": "src/shared/patterns/localized.ts"
|
|
71
|
+
}
|
|
139
72
|
},
|
|
140
73
|
{
|
|
141
74
|
"kind": "field",
|
|
142
|
-
"name": "#
|
|
75
|
+
"name": "#localeChangeObserver",
|
|
143
76
|
"privacy": "private",
|
|
144
77
|
"type": {
|
|
145
|
-
"text": "
|
|
78
|
+
"text": "ExpressionNotifier"
|
|
146
79
|
},
|
|
147
|
-
"
|
|
80
|
+
"inheritedFrom": {
|
|
81
|
+
"name": "WithObservableLocale",
|
|
82
|
+
"module": "src/shared/patterns/localized.ts"
|
|
83
|
+
}
|
|
148
84
|
},
|
|
149
85
|
{
|
|
150
86
|
"kind": "method",
|
|
151
|
-
"name": "
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
]
|
|
87
|
+
"name": "#startObservingLocaleChanges",
|
|
88
|
+
"inheritedFrom": {
|
|
89
|
+
"name": "WithObservableLocale",
|
|
90
|
+
"module": "src/shared/patterns/localized.ts"
|
|
91
|
+
}
|
|
158
92
|
},
|
|
159
93
|
{
|
|
160
94
|
"kind": "method",
|
|
161
|
-
"name": "
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"text": "{\n\t\tfile: File;\n\t\tposition?: number;\n\t\talt?: string;\n\t}"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"async": true
|
|
95
|
+
"name": "#stopObservingLocaleChanges",
|
|
96
|
+
"inheritedFrom": {
|
|
97
|
+
"name": "WithObservableLocale",
|
|
98
|
+
"module": "src/shared/patterns/localized.ts"
|
|
99
|
+
}
|
|
171
100
|
},
|
|
172
101
|
{
|
|
173
102
|
"kind": "field",
|
|
@@ -197,34 +126,9 @@ Code in this file were generated using following JSON:
|
|
|
197
126
|
}
|
|
198
127
|
}
|
|
199
128
|
],
|
|
200
|
-
"attributes": [
|
|
201
|
-
{
|
|
202
|
-
"name": "selection-start",
|
|
203
|
-
"type": {
|
|
204
|
-
"text": "number | null"
|
|
205
|
-
},
|
|
206
|
-
"default": "null",
|
|
207
|
-
"fieldName": "selectionStart"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"name": "selection-end",
|
|
211
|
-
"type": {
|
|
212
|
-
"text": "number | null"
|
|
213
|
-
},
|
|
214
|
-
"default": "null",
|
|
215
|
-
"fieldName": "selectionEnd"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"name": "placeholder",
|
|
219
|
-
"type": {
|
|
220
|
-
"text": "string | undefined"
|
|
221
|
-
},
|
|
222
|
-
"fieldName": "placeholder"
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
129
|
"mixins": [
|
|
226
130
|
{
|
|
227
|
-
"name": "
|
|
131
|
+
"name": "WithObservableLocale",
|
|
228
132
|
"module": "/src/shared/patterns"
|
|
229
133
|
}
|
|
230
134
|
],
|
|
@@ -235,10 +139,22 @@ Code in this file were generated using following JSON:
|
|
|
235
139
|
"vividComponent": {
|
|
236
140
|
"public": true,
|
|
237
141
|
"name": "rich-text-editor"
|
|
238
|
-
}
|
|
142
|
+
},
|
|
143
|
+
"dynamicSlots": [
|
|
144
|
+
{
|
|
145
|
+
"name": "inline-image-placeholder",
|
|
146
|
+
"type": "{ url: string }",
|
|
147
|
+
"description": "Placeholder content for inline images."
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "suggestions-empty",
|
|
151
|
+
"type": "{ id: string }",
|
|
152
|
+
"description": "Empty state if no suggestions are found."
|
|
153
|
+
}
|
|
154
|
+
]
|
|
239
155
|
}
|
|
240
156
|
*/
|
|
241
|
-
import wrapper from '@
|
|
157
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
242
158
|
import { registerRichTextEditor } from '@vonage/vivid'
|
|
243
159
|
|
|
244
160
|
registerRichTextEditor('vvd3')
|
|
@@ -246,7 +162,7 @@ registerRichTextEditor('vvd3')
|
|
|
246
162
|
const VwcRichTextEditor = wrapper(`vvd3-rich-text-editor`, {
|
|
247
163
|
events: [],
|
|
248
164
|
attributes: [],
|
|
249
|
-
properties: ['
|
|
165
|
+
properties: ['instance', 'editorViewportElement', 'VIVID_VERSION', 'componentName']
|
|
250
166
|
})
|
|
251
167
|
|
|
252
168
|
VwcRichTextEditor.displayName = 'VwcRichTextEditor'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-rich-text-editor",
|
|
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
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcRichTextView
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/rich-text-view
|
|
4
|
+
* @param {RteView | undefined} view - The view to display, created from the RteConfig.
|
|
5
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
6
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
7
|
+
* @param {string} componentName - Core component name, without prefix
|
|
8
|
+
*/
|
|
9
|
+
declare const VwcRichTextView: {
|
|
10
|
+
(props: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
slot?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
"view"?: any;
|
|
17
|
+
"VIVID_VERSION"?: string;
|
|
18
|
+
"componentName"?: string;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default VwcRichTextView;
|
|
@@ -0,0 +1,195 @@
|
|
|
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": "RichTextView",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "view",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "RteView | undefined"
|
|
16
|
+
},
|
|
17
|
+
"description": "The view to display, created from the RteConfig.",
|
|
18
|
+
"privacy": "public"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "field",
|
|
22
|
+
"name": "_styles",
|
|
23
|
+
"type": {
|
|
24
|
+
"text": "ElementStyles | undefined"
|
|
25
|
+
},
|
|
26
|
+
"privacy": "private"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "method",
|
|
30
|
+
"name": "_addStyles",
|
|
31
|
+
"privacy": "private",
|
|
32
|
+
"parameters": [
|
|
33
|
+
{
|
|
34
|
+
"name": "view",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "RteView"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "method",
|
|
43
|
+
"name": "_removeStyles",
|
|
44
|
+
"privacy": "private"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "field",
|
|
48
|
+
"name": "_slotCounter",
|
|
49
|
+
"type": {
|
|
50
|
+
"text": "number"
|
|
51
|
+
},
|
|
52
|
+
"privacy": "private",
|
|
53
|
+
"default": "0"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "field",
|
|
57
|
+
"name": "_slottedChildren",
|
|
58
|
+
"privacy": "private",
|
|
59
|
+
"default": "new Set<HTMLElement>()"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "_slotRequests",
|
|
64
|
+
"privacy": "private",
|
|
65
|
+
"default": "new Set<string>()"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "method",
|
|
69
|
+
"name": "_cleanupLightDom",
|
|
70
|
+
"privacy": "private"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "method",
|
|
74
|
+
"name": "_updateView",
|
|
75
|
+
"privacy": "private"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "method",
|
|
79
|
+
"name": "_renderView",
|
|
80
|
+
"privacy": "private",
|
|
81
|
+
"return": {
|
|
82
|
+
"type": {
|
|
83
|
+
"text": "Node"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"parameters": [
|
|
87
|
+
{
|
|
88
|
+
"name": "rteView",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "RteView"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "method",
|
|
97
|
+
"name": "_handleCustomRender",
|
|
98
|
+
"privacy": "private",
|
|
99
|
+
"return": {
|
|
100
|
+
"type": {
|
|
101
|
+
"text": "Node"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"parameters": [
|
|
105
|
+
{
|
|
106
|
+
"name": "rteView",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "RteView & { type: 'node' | 'mark' }"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "customResult",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "true | { dom: HTMLElement; contentDom?: HTMLElement }"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "method",
|
|
121
|
+
"name": "_renderDefault",
|
|
122
|
+
"privacy": "private",
|
|
123
|
+
"return": {
|
|
124
|
+
"type": {
|
|
125
|
+
"text": "Node"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"parameters": [
|
|
129
|
+
{
|
|
130
|
+
"name": "view",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "RteView & { type: 'node' | 'mark' }"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "field",
|
|
139
|
+
"name": "VIVID_VERSION",
|
|
140
|
+
"static": true,
|
|
141
|
+
"default": "__PACKAGE_VERSION__",
|
|
142
|
+
"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`.",
|
|
143
|
+
"type": {
|
|
144
|
+
"text": "string"
|
|
145
|
+
},
|
|
146
|
+
"inheritedFrom": {
|
|
147
|
+
"name": "VividElement",
|
|
148
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "field",
|
|
153
|
+
"name": "componentName",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "string"
|
|
156
|
+
},
|
|
157
|
+
"static": true,
|
|
158
|
+
"description": "Core component name, without prefix",
|
|
159
|
+
"inheritedFrom": {
|
|
160
|
+
"name": "VividElement",
|
|
161
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"superclass": {
|
|
166
|
+
"name": "VividElement",
|
|
167
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
168
|
+
},
|
|
169
|
+
"vividComponent": {
|
|
170
|
+
"public": true,
|
|
171
|
+
"name": "rich-text-view"
|
|
172
|
+
},
|
|
173
|
+
"dynamicSlots": [
|
|
174
|
+
{
|
|
175
|
+
"name": "child",
|
|
176
|
+
"type": "@vonage/vivid#RteChildSlotProps",
|
|
177
|
+
"description": "Used for custom rendered children."
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
*/
|
|
182
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
183
|
+
import { registerRichTextView } from '@vonage/vivid'
|
|
184
|
+
|
|
185
|
+
registerRichTextView('vvd3')
|
|
186
|
+
|
|
187
|
+
const VwcRichTextView = wrapper(`vvd3-rich-text-view`, {
|
|
188
|
+
events: [],
|
|
189
|
+
attributes: [],
|
|
190
|
+
properties: ['view', 'VIVID_VERSION', 'componentName']
|
|
191
|
+
})
|
|
192
|
+
|
|
193
|
+
VwcRichTextView.displayName = 'VwcRichTextView'
|
|
194
|
+
|
|
195
|
+
export default VwcRichTextView
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcRteAlignmentFeatureImpl
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/rte-alignment-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 VwcRteAlignmentFeatureImpl: {
|
|
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 VwcRteAlignmentFeatureImpl;
|