@vonage/vivid-react 4.0.0 → 5.20.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 +17 -32
- package/VwcButton/index.js +16 -97
- 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 +5 -5
- 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 +4 -4
- 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 +8 -8
- 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 +7 -44
- package/VwcMenu/index.js +8 -167
- 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 +12 -12
- 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 +18 -26
- 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 +274 -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 +47 -45
- 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/VwcIdrefsController/index.d.ts +16 -0
- package/v3/VwcIdrefsController/index.js +230 -0
- package/v3/VwcIdrefsController/package.json +11 -0
- package/v3/VwcInlineTimePicker/index.d.ts +13 -15
- package/v3/VwcInlineTimePicker/index.js +2 -14
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcKbdKey/index.d.ts +36 -0
- package/v3/VwcKbdKey/index.js +187 -0
- package/v3/VwcKbdKey/package.json +11 -0
- package/v3/VwcKbdShortcut/index.d.ts +20 -0
- package/v3/VwcKbdShortcut/index.js +78 -0
- package/v3/VwcKbdShortcut/package.json +11 -0
- 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 +21 -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 +22 -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/VwcPlatformSwitch/index.d.ts +20 -0
- package/v3/{VwcMenubar → VwcPlatformSwitch}/index.js +34 -38
- package/v3/VwcPlatformSwitch/package.json +11 -0
- package/v3/VwcPopover/index.d.ts +34 -0
- package/v3/VwcPopover/index.js +184 -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 +68 -144
- 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/VwcTable/index.js +68 -0
- 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 +7 -7
- 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 +6 -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
|
@@ -25,8 +25,8 @@ To add HTML to the helper text, use the helper-text slot instead. **attribute**
|
|
|
25
25
|
* @param {string | undefined} errorText - Provides a custom error message. Any current error state will be overridden. **attribute** `error-text`
|
|
26
26
|
* @param {string | undefined} successText - Provides a custom success message. Any current error state will be overridden. **attribute** `success-text`
|
|
27
27
|
* @param {string | undefined} label - The label for the form element. **attribute** `label`
|
|
28
|
-
* @param {string | undefined} icon - A decorative icon the custom element should have.
|
|
29
|
-
|
|
28
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. See the [Vivid Icon
|
|
29
|
+
Gallery](/icons/icons-gallery/) for available icons and `icon-name`s **attribute** `icon`
|
|
30
30
|
* @param {string} value - The current value of the element. **attribute** `current-value`
|
|
31
31
|
* @param currentValue
|
|
32
32
|
* @param {string} initialValue - The default value of the element. This value sets the `value` property
|
|
@@ -41,43 +41,44 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
41
41
|
declare const VwcNumberField: {
|
|
42
42
|
(props: {
|
|
43
43
|
children?: ReactNode;
|
|
44
|
-
slot?: string
|
|
45
|
-
id?: string
|
|
46
|
-
style?: React.CSSProperties
|
|
47
|
-
ref?:
|
|
48
|
-
onInput?: (
|
|
49
|
-
onChange?: (
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
44
|
+
slot?: string;
|
|
45
|
+
id?: string;
|
|
46
|
+
style?: React.CSSProperties;
|
|
47
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
48
|
+
onInput?: (event: SyntheticEvent) => void;
|
|
49
|
+
onChange?: (event: SyntheticEvent) => void;
|
|
50
|
+
onChange?: (event: SyntheticEvent) => void;
|
|
51
|
+
onInput?: (event: SyntheticEvent) => void;
|
|
52
|
+
"readOnly"?: boolean;
|
|
53
|
+
"autofocus"?: boolean;
|
|
54
|
+
"placeholder"?: string;
|
|
55
|
+
"list"?: string;
|
|
56
|
+
"maxlength"?: number;
|
|
57
|
+
"minlength"?: number;
|
|
58
|
+
"size"?: number;
|
|
59
|
+
"scale"?: any;
|
|
60
|
+
"step"?: number;
|
|
61
|
+
"max"?: number;
|
|
62
|
+
"min"?: number;
|
|
63
|
+
"valueAsNumber"?: number;
|
|
64
|
+
"incrementButtonAriaLabel"?: string | null;
|
|
65
|
+
"decrementButtonAriaLabel"?: string | null;
|
|
66
|
+
"appearance"?: any;
|
|
67
|
+
"shape"?: any;
|
|
68
|
+
"autoComplete"?: string | undefined;
|
|
69
|
+
"helperText"?: string | undefined;
|
|
70
|
+
"errorText"?: string | undefined;
|
|
71
|
+
"successText"?: string | undefined;
|
|
72
|
+
"label"?: string | undefined;
|
|
73
|
+
"icon"?: string | undefined;
|
|
74
|
+
"value"?: string;
|
|
75
|
+
"currentValue"?: any;
|
|
76
|
+
"initialValue"?: string;
|
|
77
|
+
"disabled"?: boolean;
|
|
78
|
+
"name"?: string;
|
|
79
|
+
"required"?: boolean;
|
|
80
|
+
"VIVID_VERSION"?: string;
|
|
81
|
+
"componentName"?: string;
|
|
81
82
|
}): JSX.Element;
|
|
82
83
|
displayName: string;
|
|
83
84
|
};
|
|
@@ -407,25 +407,13 @@ Code in this file were generated using following JSON:
|
|
|
407
407
|
"type": {
|
|
408
408
|
"text": "string | undefined"
|
|
409
409
|
},
|
|
410
|
-
"description": "A decorative icon the custom element should have.",
|
|
410
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
411
411
|
"privacy": "public",
|
|
412
412
|
"inheritedFrom": {
|
|
413
413
|
"name": "AffixIcon",
|
|
414
414
|
"module": "src/shared/patterns/affix.ts"
|
|
415
415
|
}
|
|
416
416
|
},
|
|
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
417
|
{
|
|
430
418
|
"kind": "field",
|
|
431
419
|
"name": "validity",
|
|
@@ -815,7 +803,7 @@ Code in this file were generated using following JSON:
|
|
|
815
803
|
"type": {
|
|
816
804
|
"text": "string | undefined"
|
|
817
805
|
},
|
|
818
|
-
"description": "A decorative icon the custom element should have.",
|
|
806
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
819
807
|
"fieldName": "icon",
|
|
820
808
|
"inheritedFrom": {
|
|
821
809
|
"name": "AffixIcon",
|
|
@@ -935,7 +923,8 @@ Code in this file were generated using following JSON:
|
|
|
935
923
|
"name": "modelValue",
|
|
936
924
|
"propName": "value",
|
|
937
925
|
"eventNames": [
|
|
938
|
-
"input"
|
|
926
|
+
"input",
|
|
927
|
+
"@lazy:change"
|
|
939
928
|
],
|
|
940
929
|
"valueMapping": "event.currentTarget.value"
|
|
941
930
|
},
|
|
@@ -943,7 +932,8 @@ Code in this file were generated using following JSON:
|
|
|
943
932
|
"name": "valueAsNumber",
|
|
944
933
|
"propName": "valueAsNumber",
|
|
945
934
|
"eventNames": [
|
|
946
|
-
"input"
|
|
935
|
+
"input",
|
|
936
|
+
"@lazy:change"
|
|
947
937
|
],
|
|
948
938
|
"valueMapping": "event.currentTarget.valueAsNumber"
|
|
949
939
|
}
|
|
@@ -1015,7 +1005,7 @@ Code in this file were generated using following JSON:
|
|
|
1015
1005
|
}
|
|
1016
1006
|
}
|
|
1017
1007
|
*/
|
|
1018
|
-
import wrapper from '@
|
|
1008
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
1019
1009
|
import { registerNumberField } from '@vonage/vivid'
|
|
1020
1010
|
|
|
1021
1011
|
registerNumberField('vvd3')
|
|
@@ -1023,7 +1013,7 @@ registerNumberField('vvd3')
|
|
|
1023
1013
|
const VwcNumberField = wrapper(`vvd3-number-field`, {
|
|
1024
1014
|
events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
|
|
1025
1015
|
attributes: [],
|
|
1026
|
-
properties: ['readOnly', 'autofocus', 'placeholder', 'list', 'maxlength', 'minlength', 'size', 'scale', 'step', 'max', 'min', 'valueAsNumber', 'incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete', 'helperText', 'errorText', 'successText', 'label', 'icon', '
|
|
1016
|
+
properties: ['readOnly', 'autofocus', 'placeholder', 'list', 'maxlength', 'minlength', 'size', 'scale', 'step', 'max', 'min', 'valueAsNumber', 'incrementButtonAriaLabel', 'decrementButtonAriaLabel', 'appearance', 'shape', 'autoComplete', 'helperText', 'errorText', 'successText', 'label', 'icon', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
1027
1017
|
})
|
|
1028
1018
|
|
|
1029
1019
|
VwcNumberField.displayName = 'VwcNumberField'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-number-field",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.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.20.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcOption/index.d.ts
CHANGED
|
@@ -5,22 +5,23 @@ Implements https://www.w3.org/TR/wai-aria-1.1/#option | ARIA option .
|
|
|
5
5
|
* @param {boolean | undefined} checked - The checked state is used when the parent listbox is in multiple selection mode.
|
|
6
6
|
To avoid accessibility conflicts, the checked state should not be present in
|
|
7
7
|
single selection mode. **attribute** `checked`
|
|
8
|
-
* @param {boolean} defaultSelected -
|
|
8
|
+
* @param {boolean} defaultSelected - Sets the option's initial selected state (mirrors the native `selected` attribute) **attribute** `selected`
|
|
9
9
|
* @param {boolean} disabled - The disabled state of the option. **attribute** `disabled`
|
|
10
10
|
* @param selectedAttribute
|
|
11
|
-
* @param {boolean} selected -
|
|
11
|
+
* @param {boolean} selected - Indicates whether the option is currently selected **attribute** `current-selected`
|
|
12
12
|
* @param {string} value - The value of the option. **attribute** `value`
|
|
13
13
|
* @param {string | undefined} _label **attribute** `label`
|
|
14
14
|
* @param {string} label
|
|
15
15
|
* @param {string | undefined} _text **attribute** `text`
|
|
16
16
|
* @param text
|
|
17
|
-
* @param {string | undefined} textSecondary
|
|
18
|
-
* @param {string | undefined} matchedText - Text to highlighted as matching a search query
|
|
19
|
-
* @param {
|
|
17
|
+
* @param {string | undefined} textSecondary - Secondary text displayed below or next to the primary text **attribute** `text-secondary`
|
|
18
|
+
* @param {string | undefined} matchedText - Text to highlighted as matching a search query **attribute** `matched-text`
|
|
19
|
+
* @param {OptionConnotation | undefined} connotation - Sets the connotation that appears when selected **attribute** `connotation`
|
|
20
|
+
* @param {OptionTagConnotation | undefined} tagConnotation - When displayed as a tag, the connotation of the tag **attribute** `tag-connotation`
|
|
20
21
|
* @param proxy
|
|
21
|
-
* @param {'host'} _vividAriaBehaviour
|
|
22
22
|
* @param {boolean} iconTrailing - Indicates the icon affix alignment. **attribute** `icon-trailing`
|
|
23
|
-
* @param {string | undefined} icon - A decorative icon the custom element should have.
|
|
23
|
+
* @param {string | undefined} icon - A decorative icon the custom element should have. See the [Vivid Icon
|
|
24
|
+
Gallery](/icons/icons-gallery/) for available icons and `icon-name`s **attribute** `icon`
|
|
24
25
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
25
26
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
26
27
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -28,29 +29,29 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
28
29
|
declare const VwcOption: {
|
|
29
30
|
(props: {
|
|
30
31
|
children?: ReactNode;
|
|
31
|
-
slot?: string
|
|
32
|
-
id?: string
|
|
33
|
-
style?: React.CSSProperties
|
|
34
|
-
ref?:
|
|
35
|
-
checked?:
|
|
36
|
-
defaultSelected?: boolean
|
|
37
|
-
disabled?: boolean
|
|
38
|
-
selectedAttribute?: any;
|
|
39
|
-
selected?: boolean
|
|
40
|
-
value?: string
|
|
41
|
-
_label?: string | undefined;
|
|
42
|
-
label?: string
|
|
43
|
-
_text?: string | undefined;
|
|
44
|
-
text?: any;
|
|
45
|
-
textSecondary?: string | undefined;
|
|
46
|
-
matchedText?: string | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
iconTrailing?: boolean
|
|
51
|
-
icon?: string | undefined;
|
|
52
|
-
VIVID_VERSION?: string
|
|
53
|
-
componentName?: string
|
|
32
|
+
slot?: string;
|
|
33
|
+
id?: string;
|
|
34
|
+
style?: React.CSSProperties;
|
|
35
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
36
|
+
"checked"?: boolean | undefined;
|
|
37
|
+
"defaultSelected"?: boolean;
|
|
38
|
+
"disabled"?: boolean;
|
|
39
|
+
"selectedAttribute"?: any;
|
|
40
|
+
"selected"?: boolean;
|
|
41
|
+
"value"?: string;
|
|
42
|
+
"_label"?: string | undefined;
|
|
43
|
+
"label"?: string;
|
|
44
|
+
"_text"?: string | undefined;
|
|
45
|
+
"text"?: any;
|
|
46
|
+
"textSecondary"?: string | undefined;
|
|
47
|
+
"matchedText"?: string | undefined;
|
|
48
|
+
"connotation"?: any;
|
|
49
|
+
"tagConnotation"?: any;
|
|
50
|
+
"proxy"?: any;
|
|
51
|
+
"iconTrailing"?: boolean;
|
|
52
|
+
"icon"?: string | undefined;
|
|
53
|
+
"VIVID_VERSION"?: string;
|
|
54
|
+
"componentName"?: string;
|
|
54
55
|
}): JSX.Element;
|
|
55
56
|
displayName: string;
|
|
56
57
|
};
|
package/v3/VwcOption/index.js
CHANGED
|
@@ -8,6 +8,38 @@ Code in this file were generated using following JSON:
|
|
|
8
8
|
"description": "An Option Custom HTML Element.\nImplements https://www.w3.org/TR/wai-aria-1.1/#option | ARIA option .",
|
|
9
9
|
"name": "ListboxOption",
|
|
10
10
|
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-option-cta-primary",
|
|
13
|
+
"default": "var(--vvd-color-cta-500)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-option-cta-primary-text",
|
|
17
|
+
"default": "var(--vvd-color-canvas)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-option-cta-primary-increment",
|
|
21
|
+
"default": "var(--vvd-color-cta-600)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-option-cta-firm",
|
|
25
|
+
"default": "var(--vvd-color-cta-600)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-option-cta-faint",
|
|
29
|
+
"default": "var(--vvd-color-cta-50)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-option-cta-soft",
|
|
33
|
+
"default": "var(--vvd-color-cta-100)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--vvd-option-cta-pale",
|
|
37
|
+
"default": "var(--vvd-color-cta-300)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-option-cta-dim",
|
|
41
|
+
"default": "var(--vvd-color-cta-200)"
|
|
42
|
+
},
|
|
11
43
|
{
|
|
12
44
|
"name": "--vvd-option-accent-primary",
|
|
13
45
|
"default": "var(--vvd-color-canvas-text)"
|
|
@@ -46,6 +78,10 @@ Code in this file were generated using following JSON:
|
|
|
46
78
|
"description": "The preferred way to add an icon to the component.",
|
|
47
79
|
"name": "icon"
|
|
48
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"description": "Icon to be displayed in the tag when selected inside of Searchable Select.",
|
|
83
|
+
"name": "tag-icon"
|
|
84
|
+
},
|
|
49
85
|
{
|
|
50
86
|
"description": "For additional elements at the end of the Option.",
|
|
51
87
|
"name": "trailing-meta"
|
|
@@ -68,7 +104,7 @@ Code in this file were generated using following JSON:
|
|
|
68
104
|
"text": "boolean"
|
|
69
105
|
},
|
|
70
106
|
"default": "false",
|
|
71
|
-
"description": "
|
|
107
|
+
"description": "Sets the option's initial selected state (mirrors the native `selected` attribute)",
|
|
72
108
|
"privacy": "public"
|
|
73
109
|
},
|
|
74
110
|
{
|
|
@@ -110,7 +146,7 @@ Code in this file were generated using following JSON:
|
|
|
110
146
|
"type": {
|
|
111
147
|
"text": "boolean"
|
|
112
148
|
},
|
|
113
|
-
"description": "
|
|
149
|
+
"description": "Indicates whether the option is currently selected",
|
|
114
150
|
"privacy": "public"
|
|
115
151
|
},
|
|
116
152
|
{
|
|
@@ -173,8 +209,8 @@ Code in this file were generated using following JSON:
|
|
|
173
209
|
"type": {
|
|
174
210
|
"text": "string | undefined"
|
|
175
211
|
},
|
|
176
|
-
"
|
|
177
|
-
"
|
|
212
|
+
"description": "Secondary text displayed below or next to the primary text",
|
|
213
|
+
"privacy": "public"
|
|
178
214
|
},
|
|
179
215
|
{
|
|
180
216
|
"kind": "field",
|
|
@@ -190,12 +226,16 @@ Code in this file were generated using following JSON:
|
|
|
190
226
|
"type": {
|
|
191
227
|
"text": "string | undefined"
|
|
192
228
|
},
|
|
193
|
-
"description": "Text to highlighted as matching a search query
|
|
229
|
+
"description": "Text to highlighted as matching a search query"
|
|
194
230
|
},
|
|
195
231
|
{
|
|
196
232
|
"kind": "field",
|
|
197
|
-
"name": "
|
|
198
|
-
"
|
|
233
|
+
"name": "connotation",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "OptionConnotation | undefined"
|
|
236
|
+
},
|
|
237
|
+
"description": "Sets the connotation that appears when selected",
|
|
238
|
+
"privacy": "public"
|
|
199
239
|
},
|
|
200
240
|
{
|
|
201
241
|
"kind": "field",
|
|
@@ -203,7 +243,7 @@ Code in this file were generated using following JSON:
|
|
|
203
243
|
"type": {
|
|
204
244
|
"text": "OptionTagConnotation | undefined"
|
|
205
245
|
},
|
|
206
|
-
"description": "When displayed as a tag, the connotation of the tag
|
|
246
|
+
"description": "When displayed as a tag, the connotation of the tag",
|
|
207
247
|
"privacy": "public"
|
|
208
248
|
},
|
|
209
249
|
{
|
|
@@ -212,18 +252,6 @@ Code in this file were generated using following JSON:
|
|
|
212
252
|
"default": "new Option(\n\t\t\tthis.text,\n\t\t\tthis.value,\n\t\t\tthis.defaultSelected,\n\t\t\tthis.selected\n\t\t)",
|
|
213
253
|
"description": ""
|
|
214
254
|
},
|
|
215
|
-
{
|
|
216
|
-
"kind": "field",
|
|
217
|
-
"name": "_vividAriaBehaviour",
|
|
218
|
-
"default": "'host'",
|
|
219
|
-
"type": {
|
|
220
|
-
"text": "'host'"
|
|
221
|
-
},
|
|
222
|
-
"inheritedFrom": {
|
|
223
|
-
"name": "HostSemantics",
|
|
224
|
-
"module": "src/shared/aria/host-semantics.ts"
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
255
|
{
|
|
228
256
|
"kind": "field",
|
|
229
257
|
"name": "iconTrailing",
|
|
@@ -244,7 +272,7 @@ Code in this file were generated using following JSON:
|
|
|
244
272
|
"type": {
|
|
245
273
|
"text": "string | undefined"
|
|
246
274
|
},
|
|
247
|
-
"description": "A decorative icon the custom element should have.",
|
|
275
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
248
276
|
"privacy": "public",
|
|
249
277
|
"inheritedFrom": {
|
|
250
278
|
"name": "AffixIcon",
|
|
@@ -294,7 +322,7 @@ Code in this file were generated using following JSON:
|
|
|
294
322
|
"text": "boolean"
|
|
295
323
|
},
|
|
296
324
|
"default": "false",
|
|
297
|
-
"description": "
|
|
325
|
+
"description": "Sets the option's initial selected state (mirrors the native `selected` attribute)",
|
|
298
326
|
"fieldName": "defaultSelected"
|
|
299
327
|
},
|
|
300
328
|
{
|
|
@@ -310,7 +338,7 @@ Code in this file were generated using following JSON:
|
|
|
310
338
|
"type": {
|
|
311
339
|
"text": "boolean"
|
|
312
340
|
},
|
|
313
|
-
"description": "
|
|
341
|
+
"description": "Indicates whether the option is currently selected",
|
|
314
342
|
"fieldName": "selected"
|
|
315
343
|
},
|
|
316
344
|
{
|
|
@@ -341,6 +369,7 @@ Code in this file were generated using following JSON:
|
|
|
341
369
|
"type": {
|
|
342
370
|
"text": "string | undefined"
|
|
343
371
|
},
|
|
372
|
+
"description": "Secondary text displayed below or next to the primary text",
|
|
344
373
|
"fieldName": "textSecondary"
|
|
345
374
|
},
|
|
346
375
|
{
|
|
@@ -348,15 +377,23 @@ Code in this file were generated using following JSON:
|
|
|
348
377
|
"type": {
|
|
349
378
|
"text": "string | undefined"
|
|
350
379
|
},
|
|
351
|
-
"description": "Text to highlighted as matching a search query
|
|
380
|
+
"description": "Text to highlighted as matching a search query",
|
|
352
381
|
"fieldName": "matchedText"
|
|
353
382
|
},
|
|
383
|
+
{
|
|
384
|
+
"name": "connotation",
|
|
385
|
+
"type": {
|
|
386
|
+
"text": "OptionConnotation | undefined"
|
|
387
|
+
},
|
|
388
|
+
"description": "Sets the connotation that appears when selected",
|
|
389
|
+
"fieldName": "connotation"
|
|
390
|
+
},
|
|
354
391
|
{
|
|
355
392
|
"name": "tag-connotation",
|
|
356
393
|
"type": {
|
|
357
394
|
"text": "OptionTagConnotation | undefined"
|
|
358
395
|
},
|
|
359
|
-
"description": "When displayed as a tag, the connotation of the tag
|
|
396
|
+
"description": "When displayed as a tag, the connotation of the tag",
|
|
360
397
|
"fieldName": "tagConnotation"
|
|
361
398
|
},
|
|
362
399
|
{
|
|
@@ -377,7 +414,7 @@ Code in this file were generated using following JSON:
|
|
|
377
414
|
"type": {
|
|
378
415
|
"text": "string | undefined"
|
|
379
416
|
},
|
|
380
|
-
"description": "A decorative icon the custom element should have.",
|
|
417
|
+
"description": "A decorative icon the custom element should have. See the [Vivid Icon\nGallery](/icons/icons-gallery/) for available icons and `icon-name`s",
|
|
381
418
|
"fieldName": "icon",
|
|
382
419
|
"inheritedFrom": {
|
|
383
420
|
"name": "AffixIcon",
|
|
@@ -419,7 +456,7 @@ Code in this file were generated using following JSON:
|
|
|
419
456
|
}
|
|
420
457
|
}
|
|
421
458
|
*/
|
|
422
|
-
import wrapper from '@
|
|
459
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
423
460
|
import { registerOption } from '@vonage/vivid'
|
|
424
461
|
|
|
425
462
|
registerOption('vvd3')
|
|
@@ -427,7 +464,7 @@ registerOption('vvd3')
|
|
|
427
464
|
const VwcOption = wrapper(`vvd3-option`, {
|
|
428
465
|
events: [],
|
|
429
466
|
attributes: [],
|
|
430
|
-
properties: ['checked', 'defaultSelected', 'disabled', 'selectedAttribute', 'selected', 'value', '_label', 'label', '_text', 'text', 'textSecondary', 'matchedText', '
|
|
467
|
+
properties: ['checked', 'defaultSelected', 'disabled', 'selectedAttribute', 'selected', 'value', '_label', 'label', '_text', 'text', 'textSecondary', 'matchedText', 'connotation', 'tagConnotation', 'proxy', 'iconTrailing', 'icon', 'VIVID_VERSION', 'componentName']
|
|
431
468
|
})
|
|
432
469
|
|
|
433
470
|
VwcOption.displayName = 'VwcOption'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox-option",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.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.20.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -7,6 +7,7 @@ import React, { ReactNode } from 'react';
|
|
|
7
7
|
* @param {boolean} removable **attribute** `removable`
|
|
8
8
|
* @param {boolean} disabled **attribute** `disabled`
|
|
9
9
|
* @param {boolean} hasIconPlaceholder
|
|
10
|
+
* @param {OptionTagSize | undefined} scale **attribute** `scale`
|
|
10
11
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
11
12
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
12
13
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -14,18 +15,19 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
14
15
|
declare const VwcOptionTag: {
|
|
15
16
|
(props: {
|
|
16
17
|
children?: ReactNode;
|
|
17
|
-
slot?: string
|
|
18
|
-
id?: string
|
|
19
|
-
style?: React.CSSProperties
|
|
20
|
-
ref?:
|
|
21
|
-
shape?: any;
|
|
22
|
-
connotation?: any;
|
|
23
|
-
label?: string | undefined;
|
|
24
|
-
removable?: boolean
|
|
25
|
-
disabled?: boolean
|
|
26
|
-
hasIconPlaceholder?: boolean
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
slot?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
"shape"?: any;
|
|
23
|
+
"connotation"?: any;
|
|
24
|
+
"label"?: string | undefined;
|
|
25
|
+
"removable"?: boolean;
|
|
26
|
+
"disabled"?: boolean;
|
|
27
|
+
"hasIconPlaceholder"?: boolean;
|
|
28
|
+
"scale"?: any;
|
|
29
|
+
"VIVID_VERSION"?: string;
|
|
30
|
+
"componentName"?: string;
|
|
29
31
|
}): JSX.Element;
|
|
30
32
|
displayName: string;
|
|
31
33
|
};
|
package/v3/VwcOptionTag/index.js
CHANGED
|
@@ -64,8 +64,11 @@ Code in this file were generated using following JSON:
|
|
|
64
64
|
"default": "false"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"kind": "
|
|
68
|
-
"name": "
|
|
67
|
+
"kind": "field",
|
|
68
|
+
"name": "scale",
|
|
69
|
+
"type": {
|
|
70
|
+
"text": "OptionTagSize | undefined"
|
|
71
|
+
}
|
|
69
72
|
},
|
|
70
73
|
{
|
|
71
74
|
"kind": "field",
|
|
@@ -125,6 +128,13 @@ Code in this file were generated using following JSON:
|
|
|
125
128
|
},
|
|
126
129
|
"default": "false",
|
|
127
130
|
"fieldName": "disabled"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "scale",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "OptionTagSize | undefined"
|
|
136
|
+
},
|
|
137
|
+
"fieldName": "scale"
|
|
128
138
|
}
|
|
129
139
|
],
|
|
130
140
|
"mixins": [
|
|
@@ -139,7 +149,7 @@ Code in this file were generated using following JSON:
|
|
|
139
149
|
}
|
|
140
150
|
}
|
|
141
151
|
*/
|
|
142
|
-
import wrapper from '@
|
|
152
|
+
import wrapper from '@repo/react-component-wrapper'
|
|
143
153
|
import { registerOptionTag } from '@vonage/vivid'
|
|
144
154
|
|
|
145
155
|
registerOptionTag('vvd3')
|
|
@@ -147,7 +157,7 @@ registerOptionTag('vvd3')
|
|
|
147
157
|
const VwcOptionTag = wrapper(`vvd3-option-tag`, {
|
|
148
158
|
events: [],
|
|
149
159
|
attributes: [],
|
|
150
|
-
properties: ['shape', 'connotation', 'label', 'removable', 'disabled', 'hasIconPlaceholder', 'VIVID_VERSION', 'componentName']
|
|
160
|
+
properties: ['shape', 'connotation', 'label', 'removable', 'disabled', 'hasIconPlaceholder', 'scale', 'VIVID_VERSION', 'componentName']
|
|
151
161
|
})
|
|
152
162
|
|
|
153
163
|
VwcOptionTag.displayName = 'VwcOptionTag'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-option-tag",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.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.20.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -3,9 +3,6 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/pagination
|
|
4
4
|
* @param {PaginationSize | undefined} size - The size the pagination should have. **attribute** `size`
|
|
5
5
|
* @param {PaginationShape | undefined} shape - The shape the pagination should have. **attribute** `shape`
|
|
6
|
-
* @param {Button[] | undefined} paginationButtons
|
|
7
|
-
* @param {Button | undefined} prevButton
|
|
8
|
-
* @param {Button | undefined} nextButton
|
|
9
6
|
* @param {boolean} navIcons **attribute** `nav-icons`
|
|
10
7
|
* @param {number} total **attribute** `total`
|
|
11
8
|
* @param {number | undefined} selectedIndex **attribute** `selected-index`
|
|
@@ -16,21 +13,18 @@ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
|
16
13
|
declare const VwcPagination: {
|
|
17
14
|
(props: {
|
|
18
15
|
children?: ReactNode;
|
|
19
|
-
slot?: string
|
|
20
|
-
id?: string
|
|
21
|
-
style?: React.CSSProperties
|
|
22
|
-
ref?:
|
|
23
|
-
onPaginationChange?: (
|
|
24
|
-
size?: any;
|
|
25
|
-
shape?: any;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
selectedIndex?: any;
|
|
32
|
-
VIVID_VERSION?: string | undefined;
|
|
33
|
-
componentName?: string | undefined;
|
|
16
|
+
slot?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
+
onPaginationChange?: (event: SyntheticEvent) => void;
|
|
21
|
+
"size"?: any;
|
|
22
|
+
"shape"?: any;
|
|
23
|
+
"navIcons"?: boolean;
|
|
24
|
+
"total"?: number;
|
|
25
|
+
"selectedIndex"?: number | undefined;
|
|
26
|
+
"VIVID_VERSION"?: string;
|
|
27
|
+
"componentName"?: string;
|
|
34
28
|
}): JSX.Element;
|
|
35
29
|
displayName: string;
|
|
36
30
|
};
|