@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
package/v3/VwcFab/index.js
CHANGED
|
@@ -94,7 +94,7 @@ Code in this file were generated using following JSON:
|
|
|
94
94
|
"type": {
|
|
95
95
|
"text": "FabConnotation | undefined"
|
|
96
96
|
},
|
|
97
|
-
"description": "The connotation the
|
|
97
|
+
"description": "The connotation the Fab should have.",
|
|
98
98
|
"privacy": "public"
|
|
99
99
|
},
|
|
100
100
|
{
|
|
@@ -103,7 +103,7 @@ Code in this file were generated using following JSON:
|
|
|
103
103
|
"type": {
|
|
104
104
|
"text": "FABSize | undefined"
|
|
105
105
|
},
|
|
106
|
-
"description": "The size the
|
|
106
|
+
"description": "The size the Fab should have.",
|
|
107
107
|
"privacy": "public"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -112,22 +112,9 @@ Code in this file were generated using following JSON:
|
|
|
112
112
|
"type": {
|
|
113
113
|
"text": "string | undefined"
|
|
114
114
|
},
|
|
115
|
-
"description": "Indicates the
|
|
115
|
+
"description": "Indicates the Fab's label.",
|
|
116
116
|
"privacy": "public"
|
|
117
117
|
},
|
|
118
|
-
{
|
|
119
|
-
"kind": "method",
|
|
120
|
-
"name": "clickHandler",
|
|
121
|
-
"parameters": [
|
|
122
|
-
{
|
|
123
|
-
"name": "event",
|
|
124
|
-
"type": {
|
|
125
|
-
"text": "Event"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"description": "Handles click events.\nPrevents interaction when disabled."
|
|
130
|
-
},
|
|
131
118
|
{
|
|
132
119
|
"kind": "field",
|
|
133
120
|
"name": "iconTrailing",
|
|
@@ -148,7 +135,7 @@ Code in this file were generated using following JSON:
|
|
|
148
135
|
"type": {
|
|
149
136
|
"text": "string | undefined"
|
|
150
137
|
},
|
|
151
|
-
"description": "A decorative icon the custom element should have.",
|
|
138
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
152
139
|
"privacy": "public",
|
|
153
140
|
"inheritedFrom": {
|
|
154
141
|
"name": "AffixIcon",
|
|
@@ -414,18 +401,6 @@ Code in this file were generated using following JSON:
|
|
|
414
401
|
"module": "src/shared/foundation/button/button.ts"
|
|
415
402
|
}
|
|
416
403
|
},
|
|
417
|
-
{
|
|
418
|
-
"kind": "field",
|
|
419
|
-
"name": "_vividAriaBehaviour",
|
|
420
|
-
"default": "'delegate'",
|
|
421
|
-
"type": {
|
|
422
|
-
"text": "'delegate'"
|
|
423
|
-
},
|
|
424
|
-
"inheritedFrom": {
|
|
425
|
-
"name": "DelegatesAria",
|
|
426
|
-
"module": "src/shared/aria/delegates-aria.ts"
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
404
|
{
|
|
430
405
|
"kind": "field",
|
|
431
406
|
"name": "validity",
|
|
@@ -623,7 +598,7 @@ Code in this file were generated using following JSON:
|
|
|
623
598
|
"type": {
|
|
624
599
|
"text": "FabConnotation | undefined"
|
|
625
600
|
},
|
|
626
|
-
"description": "The connotation the
|
|
601
|
+
"description": "The connotation the Fab should have.",
|
|
627
602
|
"fieldName": "connotation"
|
|
628
603
|
},
|
|
629
604
|
{
|
|
@@ -631,7 +606,7 @@ Code in this file were generated using following JSON:
|
|
|
631
606
|
"type": {
|
|
632
607
|
"text": "FABSize | undefined"
|
|
633
608
|
},
|
|
634
|
-
"description": "The size the
|
|
609
|
+
"description": "The size the Fab should have.",
|
|
635
610
|
"fieldName": "size"
|
|
636
611
|
},
|
|
637
612
|
{
|
|
@@ -639,7 +614,7 @@ Code in this file were generated using following JSON:
|
|
|
639
614
|
"type": {
|
|
640
615
|
"text": "string | undefined"
|
|
641
616
|
},
|
|
642
|
-
"description": "Indicates the
|
|
617
|
+
"description": "Indicates the Fab's label.",
|
|
643
618
|
"fieldName": "label"
|
|
644
619
|
},
|
|
645
620
|
{
|
|
@@ -660,7 +635,7 @@ Code in this file were generated using following JSON:
|
|
|
660
635
|
"type": {
|
|
661
636
|
"text": "string | undefined"
|
|
662
637
|
},
|
|
663
|
-
"description": "A decorative icon the custom element should have.",
|
|
638
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
664
639
|
"fieldName": "icon",
|
|
665
640
|
"inheritedFrom": {
|
|
666
641
|
"name": "AffixIcon",
|
|
@@ -871,7 +846,7 @@ Code in this file were generated using following JSON:
|
|
|
871
846
|
}
|
|
872
847
|
}
|
|
873
848
|
*/
|
|
874
|
-
import wrapper from '@
|
|
849
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
875
850
|
import { registerFab } from '@vonage/vivid'
|
|
876
851
|
|
|
877
852
|
registerFab('vvd3')
|
|
@@ -879,7 +854,7 @@ registerFab('vvd3')
|
|
|
879
854
|
const VwcFab = wrapper(`vvd3-fab`, {
|
|
880
855
|
events: [],
|
|
881
856
|
attributes: [],
|
|
882
|
-
properties: ['connotation', 'size', 'label', 'iconTrailing', 'icon', 'autofocus', 'formId', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'type', 'control', '
|
|
857
|
+
properties: ['connotation', 'size', 'label', 'iconTrailing', 'icon', 'autofocus', 'formId', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'type', 'control', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
883
858
|
})
|
|
884
859
|
|
|
885
860
|
VwcFab.displayName = 'VwcFab'
|
package/v3/VwcFab/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-fab",
|
|
3
|
-
"version": "5.
|
|
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": "5.
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcFeatureState
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/feature-state
|
|
4
|
+
* @param {Plugin<T>} plugin
|
|
5
|
+
*/
|
|
6
|
+
declare const VwcFeatureState: {
|
|
7
|
+
(props: {
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
slot?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
style?: React.CSSProperties;
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
"plugin"?: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export default VwcFeatureState;
|
|
@@ -0,0 +1,70 @@
|
|
|
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": "FeatureState",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "plugin",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "Plugin<T>"
|
|
16
|
+
},
|
|
17
|
+
"default": "new Plugin<T>({\n\t\t\tstate: {\n\t\t\t\tinit: () => initialValue,\n\t\t\t\tapply: (tr, value) => {\n\t\t\t\t\tconst meta = tr.getMeta(this.plugin);\n\t\t\t\t\treturn meta !== undefined ? meta : value;\n\t\t\t\t},\n\t\t\t},\n\t\t})"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"kind": "method",
|
|
21
|
+
"name": "getValue",
|
|
22
|
+
"return": {
|
|
23
|
+
"type": {
|
|
24
|
+
"text": "T"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"parameters": [
|
|
28
|
+
{
|
|
29
|
+
"name": "rte",
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "RteInstanceImpl"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "method",
|
|
38
|
+
"name": "setValue",
|
|
39
|
+
"parameters": [
|
|
40
|
+
{
|
|
41
|
+
"name": "rte",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "RteInstanceImpl"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "newValue",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "T"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
*/
|
|
57
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
58
|
+
import { registerFeatureState } from '@vonage/vivid'
|
|
59
|
+
|
|
60
|
+
registerFeatureState('vvd3')
|
|
61
|
+
|
|
62
|
+
const VwcFeatureState = wrapper(`vvd3-feature-state`, {
|
|
63
|
+
events: [],
|
|
64
|
+
attributes: [],
|
|
65
|
+
properties: ['plugin']
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
VwcFeatureState.displayName = 'VwcFeatureState'
|
|
69
|
+
|
|
70
|
+
export default VwcFeatureState
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@vonage/vivid-react-vvd3-
|
|
3
|
-
"version": "5.
|
|
2
|
+
"name": "@vonage/vivid-react-vvd3-feature-state",
|
|
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": "5.
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -5,19 +5,17 @@ import React, { ReactNode } from 'react';
|
|
|
5
5
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
6
6
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
7
7
|
* @param {string} componentName - Core component name, without prefix
|
|
8
|
-
* @param {VividAriaBehaviour} _vividAriaBehaviour
|
|
9
8
|
*/
|
|
10
9
|
declare const VwcFeedbackMessage: {
|
|
11
10
|
(props: {
|
|
12
11
|
children?: ReactNode;
|
|
13
|
-
slot?: string
|
|
14
|
-
id?: string
|
|
15
|
-
style?: React.CSSProperties
|
|
16
|
-
ref?:
|
|
17
|
-
type?: any;
|
|
18
|
-
VIVID_VERSION?: string
|
|
19
|
-
componentName?: string
|
|
20
|
-
_vividAriaBehaviour?: any;
|
|
12
|
+
slot?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
+
"type"?: any;
|
|
17
|
+
"VIVID_VERSION"?: string;
|
|
18
|
+
"componentName"?: string;
|
|
21
19
|
}): JSX.Element;
|
|
22
20
|
displayName: string;
|
|
23
21
|
};
|
|
@@ -43,18 +43,6 @@ Code in this file were generated using following JSON:
|
|
|
43
43
|
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
{
|
|
47
|
-
"kind": "field",
|
|
48
|
-
"name": "_vividAriaBehaviour",
|
|
49
|
-
"type": {
|
|
50
|
-
"text": "VividAriaBehaviour"
|
|
51
|
-
},
|
|
52
|
-
"default": "'default'",
|
|
53
|
-
"inheritedFrom": {
|
|
54
|
-
"name": "VividElement",
|
|
55
|
-
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
46
|
{
|
|
59
47
|
"kind": "method",
|
|
60
48
|
"name": "#handleReplacedProp",
|
|
@@ -94,7 +82,7 @@ Code in this file were generated using following JSON:
|
|
|
94
82
|
}
|
|
95
83
|
}
|
|
96
84
|
*/
|
|
97
|
-
import wrapper from '@
|
|
85
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
98
86
|
import { registerFeedbackMessage } from '@vonage/vivid'
|
|
99
87
|
|
|
100
88
|
registerFeedbackMessage('vvd3')
|
|
@@ -102,7 +90,7 @@ registerFeedbackMessage('vvd3')
|
|
|
102
90
|
const VwcFeedbackMessage = wrapper(`vvd3-feedback-message`, {
|
|
103
91
|
events: [],
|
|
104
92
|
attributes: [],
|
|
105
|
-
properties: ['type', 'VIVID_VERSION', 'componentName'
|
|
93
|
+
properties: ['type', 'VIVID_VERSION', 'componentName']
|
|
106
94
|
})
|
|
107
95
|
|
|
108
96
|
VwcFeedbackMessage.displayName = 'VwcFeedbackMessage'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-feedback-message",
|
|
3
|
-
"version": "5.
|
|
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": "5.
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcFilePicker
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/file-picker
|
|
4
|
-
* @param {boolean} singleFile -
|
|
5
|
-
* @param {number |
|
|
6
|
-
* @param {number} maxFileSize -
|
|
7
|
-
* @param {string | undefined} accept -
|
|
8
|
-
* @param {FilePickerSize | undefined} size -
|
|
9
|
-
* @param {string | undefined} invalidFileTypeError -
|
|
10
|
-
* @param {string | undefined} maxFilesExceededError -
|
|
11
|
-
* @param {string | undefined} fileTooBigError -
|
|
4
|
+
* @param {boolean} singleFile - Allows only a single file; subsequent uploads replace the current file **attribute** `single-file`
|
|
5
|
+
* @param {number | null} maxFiles - Limits how many files can be selected; additional files will be rejected **attribute** `max-files`
|
|
6
|
+
* @param {number} maxFileSize - Maximum allowed file size per file **attribute** `max-file-size`
|
|
7
|
+
* @param {string | undefined} accept - Defines a list of allowed file extensions or MIME types **attribute** `accept`
|
|
8
|
+
* @param {FilePickerSize | undefined} size - Sets the display size of the input element **attribute** `size`
|
|
9
|
+
* @param {string | undefined} invalidFileTypeError - Custom error message shown when a file does not match the accepted types **attribute** `invalid-file-type-error`
|
|
10
|
+
* @param {string | undefined} maxFilesExceededError - Custom error message shown when more than the allowed number of files are selected **attribute** `max-files-exceeded-error`
|
|
11
|
+
* @param {string | undefined} fileTooBigError - Custom error message shown when a file exceeds the maximum file size **attribute** `file-too-big-error`
|
|
12
12
|
* @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
|
|
13
13
|
To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
|
|
14
14
|
* @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
|
|
15
15
|
* @param validate
|
|
16
16
|
* @param {string | undefined} label - The label for the form element. **attribute** `label`
|
|
17
|
-
* @param {'delegate'} _vividAriaBehaviour
|
|
18
17
|
* @param {string} value - The current value of the element. **attribute** `current-value`
|
|
19
18
|
* @param currentValue
|
|
20
19
|
* @param {string} initialValue - The default value of the element. This value sets the `value` property
|
|
@@ -29,32 +28,31 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
29
28
|
declare const VwcFilePicker: {
|
|
30
29
|
(props: {
|
|
31
30
|
children?: ReactNode;
|
|
32
|
-
slot?: string
|
|
33
|
-
id?: string
|
|
34
|
-
style?: React.CSSProperties
|
|
35
|
-
ref?:
|
|
36
|
-
onChange?: (
|
|
37
|
-
singleFile?: boolean
|
|
38
|
-
maxFiles?:
|
|
39
|
-
maxFileSize?: number
|
|
40
|
-
accept?: string | undefined;
|
|
41
|
-
size?: any;
|
|
42
|
-
invalidFileTypeError?: string | undefined;
|
|
43
|
-
maxFilesExceededError?: string | undefined;
|
|
44
|
-
fileTooBigError?: string | undefined;
|
|
45
|
-
helperText?: string | undefined;
|
|
46
|
-
errorText?: string | undefined;
|
|
47
|
-
validate?: any;
|
|
48
|
-
label?: string | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
componentName?: string | undefined;
|
|
31
|
+
slot?: string;
|
|
32
|
+
id?: string;
|
|
33
|
+
style?: React.CSSProperties;
|
|
34
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
35
|
+
onChange?: (event: SyntheticEvent) => void;
|
|
36
|
+
"singleFile"?: boolean;
|
|
37
|
+
"maxFiles"?: number;
|
|
38
|
+
"maxFileSize"?: number;
|
|
39
|
+
"accept"?: string | undefined;
|
|
40
|
+
"size"?: any;
|
|
41
|
+
"invalidFileTypeError"?: string | undefined;
|
|
42
|
+
"maxFilesExceededError"?: string | undefined;
|
|
43
|
+
"fileTooBigError"?: string | undefined;
|
|
44
|
+
"helperText"?: string | undefined;
|
|
45
|
+
"errorText"?: string | undefined;
|
|
46
|
+
"validate"?: any;
|
|
47
|
+
"label"?: string | undefined;
|
|
48
|
+
"value"?: string;
|
|
49
|
+
"currentValue"?: any;
|
|
50
|
+
"initialValue"?: string;
|
|
51
|
+
"disabled"?: boolean;
|
|
52
|
+
"name"?: string;
|
|
53
|
+
"required"?: boolean;
|
|
54
|
+
"VIVID_VERSION"?: string;
|
|
55
|
+
"componentName"?: string;
|
|
58
56
|
}): JSX.Element;
|
|
59
57
|
displayName: string;
|
|
60
58
|
};
|
|
@@ -21,16 +21,17 @@ Code in this file were generated using following JSON:
|
|
|
21
21
|
"text": "boolean"
|
|
22
22
|
},
|
|
23
23
|
"default": "false",
|
|
24
|
-
"description": "
|
|
24
|
+
"description": "Allows only a single file; subsequent uploads replace the current file",
|
|
25
25
|
"privacy": "public"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"kind": "field",
|
|
29
29
|
"name": "maxFiles",
|
|
30
30
|
"type": {
|
|
31
|
-
"text": "number |
|
|
31
|
+
"text": "number | null"
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"default": "null",
|
|
34
|
+
"description": "Limits how many files can be selected; additional files will be rejected",
|
|
34
35
|
"privacy": "public"
|
|
35
36
|
},
|
|
36
37
|
{
|
|
@@ -40,7 +41,7 @@ Code in this file were generated using following JSON:
|
|
|
40
41
|
"text": "number"
|
|
41
42
|
},
|
|
42
43
|
"default": "256",
|
|
43
|
-
"description": "
|
|
44
|
+
"description": "Maximum allowed file size per file",
|
|
44
45
|
"privacy": "public"
|
|
45
46
|
},
|
|
46
47
|
{
|
|
@@ -49,7 +50,7 @@ Code in this file were generated using following JSON:
|
|
|
49
50
|
"type": {
|
|
50
51
|
"text": "string | undefined"
|
|
51
52
|
},
|
|
52
|
-
"description": "
|
|
53
|
+
"description": "Defines a list of allowed file extensions or MIME types",
|
|
53
54
|
"privacy": "public"
|
|
54
55
|
},
|
|
55
56
|
{
|
|
@@ -58,7 +59,7 @@ Code in this file were generated using following JSON:
|
|
|
58
59
|
"type": {
|
|
59
60
|
"text": "FilePickerSize | undefined"
|
|
60
61
|
},
|
|
61
|
-
"description": "
|
|
62
|
+
"description": "Sets the display size of the input element",
|
|
62
63
|
"privacy": "public"
|
|
63
64
|
},
|
|
64
65
|
{
|
|
@@ -67,7 +68,7 @@ Code in this file were generated using following JSON:
|
|
|
67
68
|
"type": {
|
|
68
69
|
"text": "string | undefined"
|
|
69
70
|
},
|
|
70
|
-
"description": "
|
|
71
|
+
"description": "Custom error message shown when a file does not match the accepted types",
|
|
71
72
|
"privacy": "public"
|
|
72
73
|
},
|
|
73
74
|
{
|
|
@@ -76,7 +77,7 @@ Code in this file were generated using following JSON:
|
|
|
76
77
|
"type": {
|
|
77
78
|
"text": "string | undefined"
|
|
78
79
|
},
|
|
79
|
-
"description": "
|
|
80
|
+
"description": "Custom error message shown when more than the allowed number of files are selected",
|
|
80
81
|
"privacy": "public"
|
|
81
82
|
},
|
|
82
83
|
{
|
|
@@ -85,7 +86,7 @@ Code in this file were generated using following JSON:
|
|
|
85
86
|
"type": {
|
|
86
87
|
"text": "string | undefined"
|
|
87
88
|
},
|
|
88
|
-
"description": "
|
|
89
|
+
"description": "Custom error message shown when a file exceeds the maximum file size",
|
|
89
90
|
"privacy": "public"
|
|
90
91
|
},
|
|
91
92
|
{
|
|
@@ -153,7 +154,7 @@ Code in this file were generated using following JSON:
|
|
|
153
154
|
"type": {
|
|
154
155
|
"text": "File[]"
|
|
155
156
|
},
|
|
156
|
-
"description": "
|
|
157
|
+
"description": "List of files that have been added to the file picker and passed validation",
|
|
157
158
|
"privacy": "public",
|
|
158
159
|
"readonly": true
|
|
159
160
|
},
|
|
@@ -163,7 +164,7 @@ Code in this file were generated using following JSON:
|
|
|
163
164
|
"type": {
|
|
164
165
|
"text": "File[]"
|
|
165
166
|
},
|
|
166
|
-
"description": "
|
|
167
|
+
"description": "List of files that have been added to the file picker but failed validation",
|
|
167
168
|
"privacy": "public",
|
|
168
169
|
"readonly": true
|
|
169
170
|
},
|
|
@@ -271,18 +272,6 @@ Code in this file were generated using following JSON:
|
|
|
271
272
|
"module": "src/shared/patterns/form-elements/form-element.ts"
|
|
272
273
|
}
|
|
273
274
|
},
|
|
274
|
-
{
|
|
275
|
-
"kind": "field",
|
|
276
|
-
"name": "_vividAriaBehaviour",
|
|
277
|
-
"default": "'delegate'",
|
|
278
|
-
"type": {
|
|
279
|
-
"text": "'delegate'"
|
|
280
|
-
},
|
|
281
|
-
"inheritedFrom": {
|
|
282
|
-
"name": "DelegatesAria",
|
|
283
|
-
"module": "src/shared/aria/delegates-aria.ts"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
275
|
{
|
|
287
276
|
"kind": "field",
|
|
288
277
|
"name": "validity",
|
|
@@ -490,15 +479,16 @@ Code in this file were generated using following JSON:
|
|
|
490
479
|
"text": "boolean"
|
|
491
480
|
},
|
|
492
481
|
"default": "false",
|
|
493
|
-
"description": "
|
|
482
|
+
"description": "Allows only a single file; subsequent uploads replace the current file",
|
|
494
483
|
"fieldName": "singleFile"
|
|
495
484
|
},
|
|
496
485
|
{
|
|
497
486
|
"name": "max-files",
|
|
498
487
|
"type": {
|
|
499
|
-
"text": "number |
|
|
488
|
+
"text": "number | null"
|
|
500
489
|
},
|
|
501
|
-
"
|
|
490
|
+
"default": "null",
|
|
491
|
+
"description": "Limits how many files can be selected; additional files will be rejected",
|
|
502
492
|
"fieldName": "maxFiles"
|
|
503
493
|
},
|
|
504
494
|
{
|
|
@@ -507,7 +497,7 @@ Code in this file were generated using following JSON:
|
|
|
507
497
|
"text": "number"
|
|
508
498
|
},
|
|
509
499
|
"default": "256",
|
|
510
|
-
"description": "
|
|
500
|
+
"description": "Maximum allowed file size per file",
|
|
511
501
|
"fieldName": "maxFileSize"
|
|
512
502
|
},
|
|
513
503
|
{
|
|
@@ -515,7 +505,7 @@ Code in this file were generated using following JSON:
|
|
|
515
505
|
"type": {
|
|
516
506
|
"text": "string | undefined"
|
|
517
507
|
},
|
|
518
|
-
"description": "
|
|
508
|
+
"description": "Defines a list of allowed file extensions or MIME types",
|
|
519
509
|
"fieldName": "accept"
|
|
520
510
|
},
|
|
521
511
|
{
|
|
@@ -523,7 +513,7 @@ Code in this file were generated using following JSON:
|
|
|
523
513
|
"type": {
|
|
524
514
|
"text": "FilePickerSize | undefined"
|
|
525
515
|
},
|
|
526
|
-
"description": "
|
|
516
|
+
"description": "Sets the display size of the input element",
|
|
527
517
|
"fieldName": "size"
|
|
528
518
|
},
|
|
529
519
|
{
|
|
@@ -531,7 +521,7 @@ Code in this file were generated using following JSON:
|
|
|
531
521
|
"type": {
|
|
532
522
|
"text": "string | undefined"
|
|
533
523
|
},
|
|
534
|
-
"description": "
|
|
524
|
+
"description": "Custom error message shown when a file does not match the accepted types",
|
|
535
525
|
"fieldName": "invalidFileTypeError"
|
|
536
526
|
},
|
|
537
527
|
{
|
|
@@ -539,7 +529,7 @@ Code in this file were generated using following JSON:
|
|
|
539
529
|
"type": {
|
|
540
530
|
"text": "string | undefined"
|
|
541
531
|
},
|
|
542
|
-
"description": "
|
|
532
|
+
"description": "Custom error message shown when more than the allowed number of files are selected",
|
|
543
533
|
"fieldName": "maxFilesExceededError"
|
|
544
534
|
},
|
|
545
535
|
{
|
|
@@ -547,7 +537,7 @@ Code in this file were generated using following JSON:
|
|
|
547
537
|
"type": {
|
|
548
538
|
"text": "string | undefined"
|
|
549
539
|
},
|
|
550
|
-
"description": "
|
|
540
|
+
"description": "Custom error message shown when a file exceeds the maximum file size",
|
|
551
541
|
"fieldName": "fileTooBigError"
|
|
552
542
|
},
|
|
553
543
|
{
|
|
@@ -689,7 +679,7 @@ Code in this file were generated using following JSON:
|
|
|
689
679
|
}
|
|
690
680
|
}
|
|
691
681
|
*/
|
|
692
|
-
import wrapper from '@
|
|
682
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
693
683
|
import { registerFilePicker } from '@vonage/vivid'
|
|
694
684
|
|
|
695
685
|
registerFilePicker('vvd3')
|
|
@@ -697,7 +687,7 @@ registerFilePicker('vvd3')
|
|
|
697
687
|
const VwcFilePicker = wrapper(`vvd3-file-picker`, {
|
|
698
688
|
events: [{"name":"change","propName":"onChange"}],
|
|
699
689
|
attributes: [],
|
|
700
|
-
properties: ['singleFile', 'maxFiles', 'maxFileSize', 'accept', 'size', 'invalidFileTypeError', 'maxFilesExceededError', 'fileTooBigError', 'helperText', 'errorText', 'validate', 'label', '
|
|
690
|
+
properties: ['singleFile', 'maxFiles', 'maxFileSize', 'accept', 'size', 'invalidFileTypeError', 'maxFilesExceededError', 'fileTooBigError', 'helperText', 'errorText', 'validate', 'label', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
701
691
|
})
|
|
702
692
|
|
|
703
693
|
VwcFilePicker.displayName = 'VwcFilePicker'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-file-picker",
|
|
3
|
-
"version": "5.
|
|
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": "5.
|
|
9
|
+
"@vonage/vivid": "5.19.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcFlag
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/flag
|
|
4
|
+
* @param {string | undefined} code - ISO 3166-1 alpha-2 country code (e.g. "GB", "UK", "US"). When set, the component shows the
|
|
5
|
+
matching flag (from the Vivid/Vonage icon set). **attribute** `code`
|
|
6
|
+
* @param {string | undefined} label - Provides a (screen reader only) descriptive label for the flag. **attribute** `label`
|
|
7
|
+
* @param {| -6
|
|
8
|
+
| -5
|
|
9
|
+
| -4
|
|
10
|
+
| -3
|
|
11
|
+
| -2
|
|
12
|
+
| -1
|
|
13
|
+
| 0
|
|
14
|
+
| 1
|
|
15
|
+
| 2
|
|
16
|
+
| 3
|
|
17
|
+
| 4
|
|
18
|
+
| 5 | undefined} size - Controls the rendered size. Uses the same scale and behavior as `Icon.size`. **attribute** `size`
|
|
19
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
20
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
21
|
+
* @param {string} componentName - Core component name, without prefix
|
|
22
|
+
*/
|
|
23
|
+
declare const VwcFlag: {
|
|
24
|
+
(props: {
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
slot?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
+
"code"?: string | undefined;
|
|
31
|
+
"label"?: string | undefined;
|
|
32
|
+
"size"?: any;
|
|
33
|
+
"VIVID_VERSION"?: string;
|
|
34
|
+
"componentName"?: string;
|
|
35
|
+
}): JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
38
|
+
export default VwcFlag;
|