@vonage/vivid-react 2.10.56 → 2.10.59
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/README.md +17 -7
- package/VwcAccordion/index.d.ts +14 -0
- package/VwcAccordion/index.js +59 -0
- package/VwcAccordion/package.json +11 -0
- package/VwcActionGroup/index.d.ts +18 -0
- package/VwcActionGroup/index.js +90 -0
- package/VwcActionGroup/package.json +11 -0
- package/VwcBadge/index.d.ts +29 -0
- package/VwcBadge/index.js +154 -0
- package/VwcBadge/package.json +11 -0
- package/VwcBanner/index.d.ts +26 -0
- package/VwcBanner/index.js +91 -0
- package/VwcBanner/package.json +11 -0
- package/VwcButton/index.d.ts +55 -0
- package/VwcButton/index.js +240 -0
- package/VwcButton/package.json +11 -0
- package/VwcButtonToggleGroup/index.d.ts +25 -0
- package/VwcButtonToggleGroup/index.js +91 -0
- package/VwcButtonToggleGroup/package.json +11 -0
- package/VwcCalendar/index.d.ts +20 -0
- package/VwcCalendar/index.js +70 -0
- package/VwcCalendar/package.json +11 -0
- package/VwcCalendarEvent/index.d.ts +25 -0
- package/VwcCalendarEvent/index.js +81 -0
- package/VwcCalendarEvent/package.json +11 -0
- package/VwcCard/index.d.ts +23 -0
- package/VwcCard/index.js +76 -0
- package/VwcCard/package.json +11 -0
- package/VwcCarousel/index.d.ts +14 -0
- package/VwcCarousel/index.js +45 -0
- package/VwcCarousel/package.json +11 -0
- package/VwcCarouselItem/index.d.ts +14 -0
- package/VwcCarouselItem/index.js +49 -0
- package/VwcCarouselItem/package.json +11 -0
- package/VwcCheckListItem/index.d.ts +41 -0
- package/VwcCheckListItem/index.js +153 -0
- package/VwcCheckListItem/package.json +11 -0
- package/VwcCheckbox/index.d.ts +34 -0
- package/VwcCheckbox/index.js +126 -0
- package/VwcCheckbox/package.json +11 -0
- package/VwcChip/index.d.ts +31 -0
- package/VwcChip/index.js +106 -0
- package/VwcChip/package.json +11 -0
- package/VwcChipSet/index.d.ts +16 -0
- package/VwcChipSet/index.js +60 -0
- package/VwcChipSet/package.json +11 -0
- package/VwcCircularProgress/index.d.ts +24 -0
- package/VwcCircularProgress/index.js +84 -0
- package/VwcCircularProgress/package.json +11 -0
- package/VwcDataGrid/index.d.ts +33 -0
- package/VwcDataGrid/index.js +122 -0
- package/VwcDataGrid/package.json +11 -0
- package/VwcDataGridColumn/index.d.ts +43 -0
- package/VwcDataGridColumn/index.js +144 -0
- package/VwcDataGridColumn/package.json +11 -0
- package/VwcDatepicker/index.d.ts +120 -0
- package/VwcDatepicker/index.js +422 -0
- package/VwcDatepicker/package.json +11 -0
- package/VwcDialog/index.d.ts +40 -0
- package/VwcDialog/index.js +135 -0
- package/VwcDialog/package.json +11 -0
- package/VwcDrawer/index.d.ts +20 -0
- package/VwcDrawer/index.js +80 -0
- package/VwcDrawer/package.json +11 -0
- package/VwcDropdown/index.d.ts +61 -0
- package/VwcDropdown/index.js +221 -0
- package/VwcDropdown/package.json +11 -0
- package/VwcElevation/index.d.ts +14 -0
- package/VwcElevation/index.js +45 -0
- package/VwcElevation/package.json +11 -0
- package/VwcEmptyState/index.d.ts +18 -0
- package/VwcEmptyState/index.js +59 -0
- package/VwcEmptyState/package.json +11 -0
- package/VwcExpansionPanel/index.d.ts +34 -0
- package/VwcExpansionPanel/index.js +199 -0
- package/VwcExpansionPanel/package.json +11 -0
- package/VwcFab/index.d.ts +32 -0
- package/VwcFab/index.js +124 -0
- package/VwcFab/package.json +11 -0
- package/VwcFilePicker/index.d.ts +24 -0
- package/VwcFilePicker/index.js +88 -0
- package/VwcFilePicker/package.json +11 -0
- package/VwcFormfield/index.d.ts +20 -0
- package/VwcFormfield/index.js +70 -0
- package/VwcFormfield/package.json +11 -0
- package/VwcHelperMessage/index.d.ts +14 -0
- package/VwcHelperMessage/index.js +49 -0
- package/VwcHelperMessage/package.json +11 -0
- package/VwcIcon/index.d.ts +22 -0
- package/VwcIcon/index.js +102 -0
- package/VwcIcon/package.json +11 -0
- package/VwcIconButton/index.d.ts +31 -0
- package/VwcIconButton/index.js +111 -0
- package/VwcIconButton/package.json +11 -0
- package/VwcIconButtonToggle/index.d.ts +37 -0
- package/VwcIconButtonToggle/index.js +136 -0
- package/VwcIconButtonToggle/package.json +11 -0
- package/VwcKeypad/index.d.ts +31 -0
- package/VwcKeypad/index.js +176 -0
- package/VwcKeypad/package.json +11 -0
- package/VwcLayout/index.d.ts +20 -0
- package/VwcLayout/index.js +105 -0
- package/VwcLayout/package.json +11 -0
- package/VwcLinearProgress/index.d.ts +26 -0
- package/VwcLinearProgress/index.js +98 -0
- package/VwcLinearProgress/package.json +11 -0
- package/VwcList/index.d.ts +35 -0
- package/VwcList/index.js +146 -0
- package/VwcList/package.json +11 -0
- package/VwcListExpansionPanel/index.d.ts +19 -0
- package/VwcListExpansionPanel/index.js +68 -0
- package/VwcListExpansionPanel/package.json +11 -0
- package/VwcListItem/index.d.ts +42 -0
- package/VwcListItem/index.js +171 -0
- package/VwcListItem/package.json +11 -0
- package/VwcMenu/index.d.ts +53 -0
- package/VwcMenu/index.js +210 -0
- package/VwcMenu/package.json +11 -0
- package/VwcNotchedOutline/index.d.ts +17 -0
- package/VwcNotchedOutline/index.js +58 -0
- package/VwcNotchedOutline/package.json +11 -0
- package/VwcNote/index.d.ts +18 -0
- package/VwcNote/index.js +59 -0
- package/VwcNote/package.json +11 -0
- package/VwcPagination/index.d.ts +17 -0
- package/VwcPagination/index.js +55 -0
- package/VwcPagination/package.json +11 -0
- package/VwcPopup/index.d.ts +30 -0
- package/VwcPopup/index.js +147 -0
- package/VwcPopup/package.json +11 -0
- package/VwcRadio/index.d.ts +52 -0
- package/VwcRadio/index.js +149 -0
- package/VwcRadio/package.json +11 -0
- package/VwcRadioListItem/index.d.ts +41 -0
- package/VwcRadioListItem/index.js +148 -0
- package/VwcRadioListItem/package.json +11 -0
- package/VwcSchemeSelect/index.d.ts +14 -0
- package/VwcSchemeSelect/index.js +46 -0
- package/VwcSchemeSelect/package.json +11 -0
- package/VwcSelect/index.d.ts +60 -0
- package/VwcSelect/index.js +253 -0
- package/VwcSelect/package.json +11 -0
- package/VwcSideDrawer/index.d.ts +22 -0
- package/VwcSideDrawer/index.js +73 -0
- package/VwcSideDrawer/package.json +11 -0
- package/VwcSlider/index.d.ts +34 -0
- package/VwcSlider/index.js +129 -0
- package/VwcSlider/package.json +11 -0
- package/VwcSnackbar/index.d.ts +42 -0
- package/VwcSnackbar/index.js +138 -0
- package/VwcSnackbar/package.json +11 -0
- package/VwcSurface/index.d.ts +42 -0
- package/VwcSurface/index.js +145 -0
- package/VwcSurface/package.json +11 -0
- package/VwcSwitch/index.d.ts +27 -0
- package/VwcSwitch/index.js +114 -0
- package/VwcSwitch/package.json +11 -0
- package/VwcTab/index.d.ts +40 -0
- package/VwcTab/index.js +151 -0
- package/VwcTab/package.json +11 -0
- package/VwcTabBar/index.d.ts +15 -0
- package/VwcTabBar/index.js +55 -0
- package/VwcTabBar/package.json +11 -0
- package/VwcTag/index.d.ts +34 -0
- package/VwcTag/index.js +115 -0
- package/VwcTag/package.json +11 -0
- package/VwcText/index.d.ts +18 -0
- package/VwcText/index.js +83 -0
- package/VwcText/package.json +11 -0
- package/VwcTextarea/index.d.ts +93 -0
- package/VwcTextarea/index.js +331 -0
- package/VwcTextarea/package.json +11 -0
- package/VwcTextfield/index.d.ts +89 -0
- package/VwcTextfield/index.js +329 -0
- package/VwcTextfield/package.json +11 -0
- package/VwcThemeSwitch/index.d.ts +14 -0
- package/VwcThemeSwitch/index.js +57 -0
- package/VwcThemeSwitch/package.json +11 -0
- package/VwcTooltip/index.d.ts +22 -0
- package/VwcTooltip/index.js +105 -0
- package/VwcTooltip/package.json +11 -0
- package/VwcTopAppBar/index.d.ts +22 -0
- package/VwcTopAppBar/index.js +77 -0
- package/VwcTopAppBar/package.json +11 -0
- package/VwcTopAppBarFixed/index.d.ts +22 -0
- package/VwcTopAppBarFixed/index.js +88 -0
- package/VwcTopAppBarFixed/package.json +11 -0
- package/index.js +319 -0
- package/package.json +9 -10
- package/types/index.d.ts +293 -1
- package/v3/VwcAccordion/index.d.ts +17 -0
- package/v3/VwcAccordion/index.js +55 -0
- package/v3/VwcAccordion/package.json +11 -0
- package/v3/VwcAccordionItem/index.d.ts +22 -0
- package/v3/VwcAccordionItem/index.js +121 -0
- package/v3/VwcAccordionItem/package.json +11 -0
- package/v3/VwcActionGroup/index.d.ts +24 -0
- package/v3/VwcActionGroup/index.js +139 -0
- package/v3/VwcActionGroup/package.json +11 -0
- package/v3/VwcAlert/index.d.ts +34 -0
- package/v3/VwcAlert/index.js +266 -0
- package/v3/VwcAlert/package.json +11 -0
- package/v3/VwcAvatar/index.d.ts +26 -0
- package/v3/VwcAvatar/index.js +183 -0
- package/v3/VwcAvatar/package.json +11 -0
- package/v3/VwcBadge/index.d.ts +22 -0
- package/v3/VwcBadge/index.js +271 -0
- package/v3/VwcBadge/package.json +11 -0
- package/v3/VwcBanner/index.d.ts +28 -0
- package/v3/VwcBanner/index.js +204 -0
- package/v3/VwcBanner/package.json +11 -0
- package/v3/VwcBreadcrumb/index.d.ts +15 -0
- package/v3/VwcBreadcrumb/index.js +35 -0
- package/v3/VwcBreadcrumb/package.json +11 -0
- package/v3/VwcBreadcrumbItem/index.d.ts +16 -0
- package/v3/VwcBreadcrumbItem/index.js +47 -0
- package/v3/VwcBreadcrumbItem/package.json +11 -0
- package/v3/VwcButton/index.d.ts +29 -0
- package/v3/VwcButton/index.js +286 -0
- package/v3/VwcButton/package.json +11 -0
- package/v3/VwcCalendar/index.d.ts +35 -0
- package/v3/VwcCalendar/index.js +224 -0
- package/v3/VwcCalendar/package.json +11 -0
- package/v3/VwcCalendarEvent/index.d.ts +28 -0
- package/v3/VwcCalendarEvent/index.js +264 -0
- package/v3/VwcCalendarEvent/package.json +11 -0
- package/v3/VwcCard/index.d.ts +31 -0
- package/v3/VwcCard/index.js +154 -0
- package/v3/VwcCard/package.json +11 -0
- package/v3/VwcCheckbox/index.d.ts +16 -0
- package/v3/VwcCheckbox/index.js +100 -0
- package/v3/VwcCheckbox/package.json +11 -0
- package/v3/VwcCombobox/index.d.ts +22 -0
- package/v3/VwcCombobox/index.js +87 -0
- package/v3/VwcCombobox/package.json +11 -0
- package/v3/VwcDataGrid/index.d.ts +16 -0
- package/v3/VwcDataGrid/index.js +118 -0
- package/v3/VwcDataGrid/package.json +11 -0
- package/v3/VwcDataGridCell/index.d.ts +18 -0
- package/v3/VwcDataGridCell/index.js +145 -0
- package/v3/VwcDataGridCell/package.json +11 -0
- package/v3/VwcDataGridRow/index.d.ts +16 -0
- package/v3/VwcDataGridRow/index.js +99 -0
- package/v3/VwcDataGridRow/package.json +11 -0
- package/v3/VwcDialog/index.d.ts +36 -0
- package/v3/VwcDialog/index.js +283 -0
- package/v3/VwcDialog/package.json +11 -0
- package/v3/VwcDivider/index.d.ts +15 -0
- package/v3/VwcDivider/index.js +29 -0
- package/v3/VwcDivider/package.json +11 -0
- package/v3/VwcElevation/index.d.ts +18 -0
- package/v3/VwcElevation/index.js +73 -0
- package/v3/VwcElevation/package.json +11 -0
- package/v3/VwcEmptyState/index.d.ts +18 -0
- package/v3/VwcEmptyState/index.js +81 -0
- package/v3/VwcEmptyState/package.json +11 -0
- package/v3/VwcFab/index.d.ts +20 -0
- package/v3/VwcFab/index.js +134 -0
- package/v3/VwcFab/package.json +11 -0
- package/v3/VwcFocus/index.d.ts +15 -0
- package/v3/VwcFocus/index.js +29 -0
- package/v3/VwcFocus/package.json +11 -0
- package/v3/VwcHeader/index.d.ts +18 -0
- package/v3/VwcHeader/index.js +84 -0
- package/v3/VwcHeader/package.json +11 -0
- package/v3/VwcIcon/index.d.ts +20 -0
- package/v3/VwcIcon/index.js +118 -0
- package/v3/VwcIcon/package.json +11 -0
- package/v3/VwcLayout/index.d.ts +24 -0
- package/v3/VwcLayout/index.js +127 -0
- package/v3/VwcLayout/package.json +11 -0
- package/v3/VwcListbox/index.d.ts +16 -0
- package/v3/VwcListbox/index.js +74 -0
- package/v3/VwcListbox/package.json +11 -0
- package/v3/VwcListboxOption/index.d.ts +22 -0
- package/v3/VwcListboxOption/index.js +104 -0
- package/v3/VwcListboxOption/package.json +11 -0
- package/v3/VwcMenu/index.d.ts +27 -0
- package/v3/VwcMenu/index.js +148 -0
- package/v3/VwcMenu/package.json +11 -0
- package/v3/VwcMenuItem/index.d.ts +18 -0
- package/v3/VwcMenuItem/index.js +97 -0
- package/v3/VwcMenuItem/package.json +11 -0
- package/v3/VwcNav/index.d.ts +16 -0
- package/v3/VwcNav/index.js +35 -0
- package/v3/VwcNav/package.json +11 -0
- package/v3/VwcNavDisclosure/index.d.ts +21 -0
- package/v3/VwcNavDisclosure/index.js +103 -0
- package/v3/VwcNavDisclosure/package.json +11 -0
- package/v3/VwcNavItem/index.d.ts +17 -0
- package/v3/VwcNavItem/index.js +80 -0
- package/v3/VwcNavItem/package.json +11 -0
- package/v3/VwcNote/index.d.ts +18 -0
- package/v3/VwcNote/index.js +132 -0
- package/v3/VwcNote/package.json +11 -0
- package/v3/VwcNumberField/index.d.ts +20 -0
- package/v3/VwcNumberField/index.js +149 -0
- package/v3/VwcNumberField/package.json +11 -0
- package/v3/VwcPagination/index.d.ts +28 -0
- package/v3/VwcPagination/index.js +174 -0
- package/v3/VwcPagination/package.json +11 -0
- package/v3/VwcPopup/index.d.ts +32 -0
- package/v3/VwcPopup/index.js +311 -0
- package/v3/VwcPopup/package.json +11 -0
- package/v3/VwcProgress/index.d.ts +20 -0
- package/v3/VwcProgress/index.js +110 -0
- package/v3/VwcProgress/package.json +11 -0
- package/v3/VwcProgressRing/index.d.ts +18 -0
- package/v3/VwcProgressRing/index.js +79 -0
- package/v3/VwcProgressRing/package.json +11 -0
- package/v3/VwcRadio/index.d.ts +16 -0
- package/v3/VwcRadio/index.js +68 -0
- package/v3/VwcRadio/package.json +11 -0
- package/v3/VwcRadioGroup/index.d.ts +16 -0
- package/v3/VwcRadioGroup/index.js +56 -0
- package/v3/VwcRadioGroup/package.json +11 -0
- package/v3/VwcSelect/index.d.ts +24 -0
- package/v3/VwcSelect/index.js +159 -0
- package/v3/VwcSelect/package.json +11 -0
- package/v3/VwcSideDrawer/index.d.ts +22 -0
- package/v3/VwcSideDrawer/index.js +133 -0
- package/v3/VwcSideDrawer/package.json +11 -0
- package/v3/VwcSlider/index.d.ts +16 -0
- package/v3/VwcSlider/index.js +51 -0
- package/v3/VwcSlider/package.json +11 -0
- package/v3/VwcSwitch/index.d.ts +18 -0
- package/v3/VwcSwitch/index.js +162 -0
- package/v3/VwcSwitch/package.json +11 -0
- package/v3/VwcTab/index.d.ts +20 -0
- package/v3/VwcTab/index.js +81 -0
- package/v3/VwcTab/package.json +11 -0
- package/v3/VwcTabPanel/index.d.ts +15 -0
- package/v3/VwcTabPanel/index.js +35 -0
- package/v3/VwcTabPanel/package.json +11 -0
- package/v3/VwcTabs/index.d.ts +16 -0
- package/v3/VwcTabs/index.js +126 -0
- package/v3/VwcTabs/package.json +11 -0
- package/v3/VwcTag/index.d.ts +30 -0
- package/v3/VwcTag/index.js +266 -0
- package/v3/VwcTag/package.json +11 -0
- package/v3/VwcTagGroup/index.d.ts +15 -0
- package/v3/VwcTagGroup/index.js +29 -0
- package/v3/VwcTagGroup/package.json +11 -0
- package/v3/VwcTextAnchor/index.d.ts +16 -0
- package/v3/VwcTextAnchor/index.js +50 -0
- package/v3/VwcTextAnchor/package.json +11 -0
- package/v3/VwcTextArea/index.d.ts +16 -0
- package/v3/VwcTextArea/index.js +121 -0
- package/v3/VwcTextArea/package.json +11 -0
- package/v3/VwcTextField/index.d.ts +20 -0
- package/v3/VwcTextField/index.js +149 -0
- package/v3/VwcTextField/package.json +11 -0
- package/v3/VwcToggletip/index.d.ts +24 -0
- package/v3/VwcToggletip/index.js +233 -0
- package/v3/VwcToggletip/package.json +11 -0
- package/v3/VwcTooltip/index.d.ts +23 -0
- package/v3/VwcTooltip/index.js +196 -0
- package/v3/VwcTooltip/package.json +11 -0
- package/v3/VwcTreeItem/index.d.ts +16 -0
- package/v3/VwcTreeItem/index.js +78 -0
- package/v3/VwcTreeItem/package.json +11 -0
- package/v3/VwcTreeView/index.d.ts +15 -0
- package/v3/VwcTreeView/index.js +35 -0
- package/v3/VwcTreeView/package.json +11 -0
- package/.storybook/main.js +0 -11
- package/.storybook/preview.js +0 -3
- package/babel.config.js +0 -38
- package/rollup.config.js +0 -30
- package/scripts/cli.js +0 -28
- package/scripts/generateWrappers/consts.js +0 -226
- package/scripts/generateWrappers/generator.js +0 -130
- package/scripts/generateWrappers/helpers/generator.js +0 -18
- package/scripts/generateWrappers/helpers/generator.test.js +0 -56
- package/scripts/generateWrappers/index.js +0 -0
- package/scripts/generateWrappers/prop.types.js +0 -86
- package/scripts/generateWrappers/templates/js/index.tmpl +0 -2
- package/scripts/generateWrappers/templates/js/react-component.tmpl +0 -30
- package/scripts/generateWrappers/templates/js/stories.tmpl +0 -18
- package/scripts/generateWrappers/templates/templates.js +0 -36
- package/scripts/generateWrappers/templates/ts/index.tmpl +0 -2
- package/scripts/generateWrappers/templates/ts/react-component.tmpl +0 -28
- package/scripts/generateWrappers/utils.js +0 -226
- package/scripts/generateWrappers/utils.test.js +0 -71
- package/scripts/updateDocs.js +0 -42
- package/scripts/updateVividPackages.js +0 -81
- package/src/dataGrid/index.js +0 -15
- package/src/index.js +0 -3
- package/src/initialization/initVivid.js +0 -24
- package/src/patches/VwcCard/index.js +0 -2
- package/src/patches/VwcCard/vwcCardHeadingCrop.js +0 -28
- package/src/patches/VwcCard/vwcCardWithMenu.js +0 -14
- package/src/patches/index.js +0 -6
- package/src/patches/vwcDataGrid.js +0 -26
- package/src/patches/vwcNoteContentOverflow.js +0 -20
- package/src/patches/vwcSetAttributeValue.js +0 -12
- package/src/patches/vwcSnackBarHtmlMessage.js +0 -21
- package/src/patches/vwcTooltip.js +0 -46
- package/stories/VwcAccordion/VwcAccordion.stories.jsx +0 -18
- package/stories/VwcActionGroup/VwcActionGroup.stories.jsx +0 -18
- package/stories/VwcBadge/VwcBadge.stories.jsx +0 -18
- package/stories/VwcBanner/VwcBanner.stories.jsx +0 -18
- package/stories/VwcButton/VwcButton.stories.jsx +0 -18
- package/stories/VwcButtonToggleGroup/VwcButtonToggleGroup.stories.jsx +0 -47
- package/stories/VwcCalendar/VwcCalendar.stories.jsx +0 -18
- package/stories/VwcCalendarEvent/VwcCalendarEvent.stories.jsx +0 -18
- package/stories/VwcCard/VwcCard.stories.jsx +0 -90
- package/stories/VwcCarousel/VwcCarousel.stories.jsx +0 -18
- package/stories/VwcCarouselItem/VwcCarouselItem.stories.jsx +0 -18
- package/stories/VwcCheckListItem/VwcCheckListItem.stories.jsx +0 -18
- package/stories/VwcCheckbox/VwcCheckbox.stories.jsx +0 -18
- package/stories/VwcChip/VwcChip.stories.jsx +0 -18
- package/stories/VwcChipSet/VwcChipSet.stories.jsx +0 -38
- package/stories/VwcCircularProgress/VwcCircularProgress.stories.jsx +0 -18
- package/stories/VwcDataGrid/VwcDataGrid.stories.jsx +0 -109
- package/stories/VwcDataGridColumn/VwcDataGridColumn.stories.jsx +0 -18
- package/stories/VwcDatepicker/VwcDatepicker.stories.jsx +0 -18
- package/stories/VwcDialog/VwcDialog.stories.jsx +0 -18
- package/stories/VwcDrawer/VwcDrawer.stories.jsx +0 -18
- package/stories/VwcDropdown/VwcDropdown.stories.jsx +0 -18
- package/stories/VwcElevation/VwcElevation.stories.jsx +0 -18
- package/stories/VwcEmptyState/VwcEmptyState.stories.jsx +0 -18
- package/stories/VwcExpansionPanel/VwcExpansionPanel.stories.jsx +0 -18
- package/stories/VwcFab/VwcFab.stories.jsx +0 -18
- package/stories/VwcFilePicker/VwcFilePicker.stories.jsx +0 -18
- package/stories/VwcFormfield/VwcFormfield.stories.jsx +0 -18
- package/stories/VwcHelperMessage/VwcHelperMessage.stories.jsx +0 -18
- package/stories/VwcIcon/VwcIcon.stories.jsx +0 -18
- package/stories/VwcIconButton/VwcIconButton.stories.jsx +0 -18
- package/stories/VwcIconButtonToggle/VwcIconButtonToggle.stories.jsx +0 -18
- package/stories/VwcKeypad/VwcKeypad.stories.jsx +0 -18
- package/stories/VwcLayout/VwcLayout.stories.jsx +0 -63
- package/stories/VwcLinearProgress/VwcLinearProgress.stories.jsx +0 -18
- package/stories/VwcList/VwcList.stories.jsx +0 -25
- package/stories/VwcListExpansionPanel/VwcListExpansionPanel.stories.jsx +0 -18
- package/stories/VwcListItem/VwcListItem.stories.jsx +0 -18
- package/stories/VwcMenu/VwcMenu.stories.jsx +0 -41
- package/stories/VwcNotchedOutline/VwcNotchedOutline.stories.jsx +0 -18
- package/stories/VwcNote/VwcNote.stories.jsx +0 -18
- package/stories/VwcPagination/VwcPagination.stories.jsx +0 -18
- package/stories/VwcPopup/VwcPopup.stories.jsx +0 -18
- package/stories/VwcRadio/VwcRadio.stories.jsx +0 -18
- package/stories/VwcRadioListItem/VwcRadioListItem.stories.jsx +0 -18
- package/stories/VwcSchemeSelect/VwcSchemeSelect.stories.jsx +0 -18
- package/stories/VwcSelect/VwcSelect.stories.jsx +0 -18
- package/stories/VwcSideDrawer/VwcSideDrawer.stories.jsx +0 -18
- package/stories/VwcSlider/VwcSlider.stories.jsx +0 -18
- package/stories/VwcSnackbar/VwcSnackbar.stories.jsx +0 -18
- package/stories/VwcSurface/VwcSurface.stories.jsx +0 -18
- package/stories/VwcSwitch/VwcSwitch.stories.jsx +0 -18
- package/stories/VwcTab/VwcTab.stories.jsx +0 -18
- package/stories/VwcTabBar/VwcTabBar.stories.jsx +0 -63
- package/stories/VwcTag/VwcTag.stories.jsx +0 -18
- package/stories/VwcText/VwcText.stories.jsx +0 -18
- package/stories/VwcTextarea/VwcTextarea.stories.jsx +0 -24
- package/stories/VwcTextfield/VwcTextfield.stories.jsx +0 -47
- package/stories/VwcThemeSwitch/VwcThemeSwitch.stories.jsx +0 -18
- package/stories/VwcTooltip/VwcTooltip.stories.jsx +0 -41
- package/stories/VwcTopAppBar/VwcTopAppBar.stories.jsx +0 -18
- package/stories/VwcTopAppBarFixed/VwcTopAppBarFixed.stories.jsx +0 -18
- package/stories/patches/patches.stories.jsx +0 -94
- package/tsconfig.json +0 -70
|
@@ -0,0 +1,174 @@
|
|
|
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": "Base class for pagination",
|
|
9
|
+
"name": "Pagination",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "size",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "PaginationSize | undefined"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "field",
|
|
20
|
+
"name": "paginationButtons",
|
|
21
|
+
"type": {
|
|
22
|
+
"text": "Button[] | undefined"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"kind": "field",
|
|
27
|
+
"name": "prevButton",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "Button | undefined"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"kind": "field",
|
|
34
|
+
"name": "nextButton",
|
|
35
|
+
"type": {
|
|
36
|
+
"text": "Button | undefined"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"kind": "field",
|
|
41
|
+
"name": "navIcons",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"default": "false"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "pagesList",
|
|
50
|
+
"readonly": true
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"kind": "field",
|
|
54
|
+
"name": "total",
|
|
55
|
+
"type": {
|
|
56
|
+
"text": "number"
|
|
57
|
+
},
|
|
58
|
+
"default": "0"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "field",
|
|
62
|
+
"name": "selectedIndex",
|
|
63
|
+
"type": {
|
|
64
|
+
"text": "number | undefined"
|
|
65
|
+
},
|
|
66
|
+
"default": "0"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "method",
|
|
70
|
+
"name": "totalChanged",
|
|
71
|
+
"parameters": [
|
|
72
|
+
{
|
|
73
|
+
"name": "_",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "number"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "newValue",
|
|
80
|
+
"type": {
|
|
81
|
+
"text": "number"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "method",
|
|
88
|
+
"name": "selectedIndexChanged",
|
|
89
|
+
"parameters": [
|
|
90
|
+
{
|
|
91
|
+
"name": "oldValue",
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "number"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "newValue",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "number"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "method",
|
|
106
|
+
"name": "paginationButtonsChanged",
|
|
107
|
+
"parameters": [
|
|
108
|
+
{
|
|
109
|
+
"name": "_",
|
|
110
|
+
"type": {
|
|
111
|
+
"text": "Button[] | undefined"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "newValue",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "Button[]"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"attributes": [
|
|
124
|
+
{
|
|
125
|
+
"name": "size",
|
|
126
|
+
"type": {
|
|
127
|
+
"text": "PaginationSize | undefined"
|
|
128
|
+
},
|
|
129
|
+
"fieldName": "size"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "nav-icons",
|
|
133
|
+
"type": {
|
|
134
|
+
"text": "boolean"
|
|
135
|
+
},
|
|
136
|
+
"default": "false",
|
|
137
|
+
"fieldName": "navIcons"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": {
|
|
141
|
+
"text": "number"
|
|
142
|
+
},
|
|
143
|
+
"default": "0",
|
|
144
|
+
"fieldName": "total"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "selected-index",
|
|
148
|
+
"type": {
|
|
149
|
+
"text": "number | undefined"
|
|
150
|
+
},
|
|
151
|
+
"default": "0",
|
|
152
|
+
"fieldName": "selectedIndex"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"superclass": {
|
|
156
|
+
"name": "FoundationElement",
|
|
157
|
+
"package": "@microsoft/fast-foundation"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
*/
|
|
161
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
162
|
+
import { registerPagination } from '@vonage/vivid'
|
|
163
|
+
|
|
164
|
+
registerPagination('vvd3')
|
|
165
|
+
|
|
166
|
+
const VwcPagination = wrapper(`vvd3-pagination`, {
|
|
167
|
+
events: [],
|
|
168
|
+
attributes: [],
|
|
169
|
+
properties: ['size', 'paginationButtons', 'prevButton', 'nextButton', 'navIcons', 'total', 'selectedIndex']
|
|
170
|
+
})
|
|
171
|
+
|
|
172
|
+
VwcPagination.displayName = 'VwcPagination'
|
|
173
|
+
|
|
174
|
+
export default VwcPagination
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** Base class for popup
|
|
3
|
+
* @param {HTMLElement} popupEl
|
|
4
|
+
* @param {HTMLElement} arrowEl
|
|
5
|
+
* @param {boolean} open - indicates whether the popup is open **attribute** `open`
|
|
6
|
+
* @param {boolean} dismissible - adds close button to the popup **attribute** `dismissible`
|
|
7
|
+
* @param {boolean} arrow - adds small triangle to indicate the trigger element **attribute** `arrow`
|
|
8
|
+
* @param {boolean} alternate - set the color-scheme to dark **attribute** `alternate`
|
|
9
|
+
* @param {Placement | undefined} placement - the placement of the popup **attribute** `placement`
|
|
10
|
+
* @param {Strategy | undefined} strategy - the strategy of the popup **attribute** `strategy`
|
|
11
|
+
* @param {string | HTMLElement | undefined} anchor - ID reference to element in the popup’s owner document or HTMLElement. **attribute** `anchor`
|
|
12
|
+
*/
|
|
13
|
+
declare const VwcPopup: {
|
|
14
|
+
(props: {
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
slot?: string | undefined;
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
style?: React.CSSProperties | undefined;
|
|
19
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
+
popupEl?: any;
|
|
21
|
+
arrowEl?: any;
|
|
22
|
+
open?: boolean | undefined;
|
|
23
|
+
dismissible?: boolean | undefined;
|
|
24
|
+
arrow?: boolean | undefined;
|
|
25
|
+
alternate?: boolean | undefined;
|
|
26
|
+
placement?: any;
|
|
27
|
+
strategy?: any;
|
|
28
|
+
anchor?: any;
|
|
29
|
+
}): JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
32
|
+
export default VwcPopup;
|
|
@@ -0,0 +1,311 @@
|
|
|
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": "Base class for popup",
|
|
9
|
+
"name": "Popup",
|
|
10
|
+
"slots": [
|
|
11
|
+
{
|
|
12
|
+
"description": "Default slot.",
|
|
13
|
+
"name": ""
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"members": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "field",
|
|
19
|
+
"name": "#arrowPosition",
|
|
20
|
+
"privacy": "private",
|
|
21
|
+
"type": {
|
|
22
|
+
"text": "any"
|
|
23
|
+
},
|
|
24
|
+
"readonly": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "#padding",
|
|
29
|
+
"privacy": "private",
|
|
30
|
+
"type": {
|
|
31
|
+
"text": "number"
|
|
32
|
+
},
|
|
33
|
+
"readonly": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "#distance",
|
|
38
|
+
"privacy": "private",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "number"
|
|
41
|
+
},
|
|
42
|
+
"readonly": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "field",
|
|
46
|
+
"name": "#middleware",
|
|
47
|
+
"privacy": "private",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "Array<any>"
|
|
50
|
+
},
|
|
51
|
+
"readonly": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "field",
|
|
55
|
+
"name": "#cleanup",
|
|
56
|
+
"privacy": "private",
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "() => void | undefined"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "popupEl",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "HTMLElement"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "field",
|
|
70
|
+
"name": "arrowEl",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "HTMLElement"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "field",
|
|
77
|
+
"name": "open",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "boolean"
|
|
80
|
+
},
|
|
81
|
+
"default": "false",
|
|
82
|
+
"description": "indicates whether the popup is open",
|
|
83
|
+
"privacy": "public"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "method",
|
|
87
|
+
"name": "openChanged",
|
|
88
|
+
"return": {
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "void"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"parameters": [
|
|
94
|
+
{
|
|
95
|
+
"name": "_",
|
|
96
|
+
"type": {
|
|
97
|
+
"text": "boolean"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "newValue",
|
|
102
|
+
"type": {
|
|
103
|
+
"text": "boolean"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "field",
|
|
110
|
+
"name": "dismissible",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "boolean"
|
|
113
|
+
},
|
|
114
|
+
"default": "false",
|
|
115
|
+
"description": "adds close button to the popup",
|
|
116
|
+
"privacy": "public"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "field",
|
|
120
|
+
"name": "arrow",
|
|
121
|
+
"type": {
|
|
122
|
+
"text": "boolean"
|
|
123
|
+
},
|
|
124
|
+
"default": "false",
|
|
125
|
+
"description": "adds small triangle to indicate the trigger element",
|
|
126
|
+
"privacy": "public"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "field",
|
|
130
|
+
"name": "alternate",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "boolean"
|
|
133
|
+
},
|
|
134
|
+
"default": "false",
|
|
135
|
+
"description": "set the color-scheme to dark",
|
|
136
|
+
"privacy": "public"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "field",
|
|
140
|
+
"name": "placement",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "Placement | undefined"
|
|
143
|
+
},
|
|
144
|
+
"description": "the placement of the popup",
|
|
145
|
+
"privacy": "public"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "field",
|
|
149
|
+
"name": "strategy",
|
|
150
|
+
"type": {
|
|
151
|
+
"text": "Strategy | undefined"
|
|
152
|
+
},
|
|
153
|
+
"default": "'fixed'",
|
|
154
|
+
"description": "the strategy of the popup",
|
|
155
|
+
"privacy": "public"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"kind": "field",
|
|
159
|
+
"name": "anchor",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "string | HTMLElement | undefined"
|
|
162
|
+
},
|
|
163
|
+
"description": "ID reference to element in the popup’s owner document or HTMLElement.",
|
|
164
|
+
"privacy": "public"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"kind": "method",
|
|
168
|
+
"name": "updatePosition",
|
|
169
|
+
"description": "Updates popup's position",
|
|
170
|
+
"privacy": "public",
|
|
171
|
+
"async": true
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "method",
|
|
175
|
+
"name": "#assignPopupPosition",
|
|
176
|
+
"return": {
|
|
177
|
+
"type": {
|
|
178
|
+
"text": "void"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"parameters": [
|
|
182
|
+
{
|
|
183
|
+
"name": "data",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "any"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"kind": "method",
|
|
192
|
+
"name": "#assignArrowPosition",
|
|
193
|
+
"return": {
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "void"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"parameters": [
|
|
199
|
+
{
|
|
200
|
+
"name": "data",
|
|
201
|
+
"type": {
|
|
202
|
+
"text": "any"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"kind": "field",
|
|
209
|
+
"name": "anchorEl",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "HTMLElement | null"
|
|
212
|
+
},
|
|
213
|
+
"description": "Gets the anchor element by id",
|
|
214
|
+
"readonly": true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "method",
|
|
218
|
+
"name": "show",
|
|
219
|
+
"return": {
|
|
220
|
+
"type": {
|
|
221
|
+
"text": "void"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"kind": "method",
|
|
227
|
+
"name": "hide",
|
|
228
|
+
"return": {
|
|
229
|
+
"type": {
|
|
230
|
+
"text": "void"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"attributes": [
|
|
236
|
+
{
|
|
237
|
+
"type": {
|
|
238
|
+
"text": "boolean"
|
|
239
|
+
},
|
|
240
|
+
"default": "false",
|
|
241
|
+
"description": "indicates whether the popup is open",
|
|
242
|
+
"fieldName": "open"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "boolean"
|
|
247
|
+
},
|
|
248
|
+
"default": "false",
|
|
249
|
+
"description": "adds close button to the popup",
|
|
250
|
+
"fieldName": "dismissible"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": {
|
|
254
|
+
"text": "boolean"
|
|
255
|
+
},
|
|
256
|
+
"default": "false",
|
|
257
|
+
"description": "adds small triangle to indicate the trigger element",
|
|
258
|
+
"fieldName": "arrow"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": {
|
|
262
|
+
"text": "boolean"
|
|
263
|
+
},
|
|
264
|
+
"default": "false",
|
|
265
|
+
"description": "set the color-scheme to dark",
|
|
266
|
+
"fieldName": "alternate"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": {
|
|
270
|
+
"text": "Placement | undefined"
|
|
271
|
+
},
|
|
272
|
+
"description": "the placement of the popup",
|
|
273
|
+
"fieldName": "placement"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": {
|
|
277
|
+
"text": "Strategy | undefined"
|
|
278
|
+
},
|
|
279
|
+
"default": "'fixed'",
|
|
280
|
+
"description": "the strategy of the popup",
|
|
281
|
+
"fieldName": "strategy"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "anchor",
|
|
285
|
+
"type": {
|
|
286
|
+
"text": "string | HTMLElement | undefined"
|
|
287
|
+
},
|
|
288
|
+
"description": "ID reference to element in the popup’s owner document or HTMLElement.",
|
|
289
|
+
"fieldName": "anchor"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"superclass": {
|
|
293
|
+
"name": "FoundationElement",
|
|
294
|
+
"package": "@microsoft/fast-foundation"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
*/
|
|
298
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
299
|
+
import { registerPopup } from '@vonage/vivid'
|
|
300
|
+
|
|
301
|
+
registerPopup('vvd3')
|
|
302
|
+
|
|
303
|
+
const VwcPopup = wrapper(`vvd3-popup`, {
|
|
304
|
+
events: [],
|
|
305
|
+
attributes: [],
|
|
306
|
+
properties: ['popupEl', 'arrowEl', 'open', 'dismissible', 'arrow', 'alternate', 'placement', 'strategy', 'anchor']
|
|
307
|
+
})
|
|
308
|
+
|
|
309
|
+
VwcPopup.displayName = 'VwcPopup'
|
|
310
|
+
|
|
311
|
+
export default VwcPopup
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** Base class for progress
|
|
3
|
+
* @param {ProgressShape | undefined} shape **attribute** `shape`
|
|
4
|
+
* @param {ProgressConnotation | undefined} connotation **attribute** `connotation`
|
|
5
|
+
* @param {boolean} reverse **attribute** `reverse`
|
|
6
|
+
*/
|
|
7
|
+
declare const VwcProgress: {
|
|
8
|
+
(props: {
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
slot?: string | undefined;
|
|
11
|
+
id?: string | undefined;
|
|
12
|
+
style?: React.CSSProperties | undefined;
|
|
13
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
|
+
shape?: any;
|
|
15
|
+
connotation?: any;
|
|
16
|
+
reverse?: boolean | undefined;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export default VwcProgress;
|
|
@@ -0,0 +1,110 @@
|
|
|
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": "Base class for progress",
|
|
9
|
+
"name": "Progress",
|
|
10
|
+
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-progress-cta-primary",
|
|
13
|
+
"default": "var(--vvd-color-cta-500)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-progress-cta-soft",
|
|
17
|
+
"default": "var(--vvd-color-cta-100)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-progress-alert-primary",
|
|
21
|
+
"default": "var(--vvd-color-alert-500)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-progress-alert-soft",
|
|
25
|
+
"default": "var(--vvd-color-alert-100)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-progress-success-primary",
|
|
29
|
+
"default": "var(--vvd-color-success-500)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-progress-success-soft",
|
|
33
|
+
"default": "var(--vvd-color-success-100)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--vvd-progress-accent-primary",
|
|
37
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-progress-accent-soft",
|
|
41
|
+
"default": "var(--vvd-color-neutral-100)"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"members": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "shape",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "ProgressShape | undefined"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"kind": "field",
|
|
54
|
+
"name": "connotation",
|
|
55
|
+
"type": {
|
|
56
|
+
"text": "ProgressConnotation | undefined"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "reverse",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"default": "false"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"attributes": [
|
|
69
|
+
{
|
|
70
|
+
"name": "shape",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "ProgressShape | undefined"
|
|
73
|
+
},
|
|
74
|
+
"fieldName": "shape"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "connotation",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "ProgressConnotation | undefined"
|
|
80
|
+
},
|
|
81
|
+
"fieldName": "connotation"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "boolean"
|
|
86
|
+
},
|
|
87
|
+
"default": "false",
|
|
88
|
+
"fieldName": "reverse"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"superclass": {
|
|
92
|
+
"name": "BaseProgress",
|
|
93
|
+
"package": "@microsoft/fast-foundation"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
*/
|
|
97
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
98
|
+
import { registerProgress } from '@vonage/vivid'
|
|
99
|
+
|
|
100
|
+
registerProgress('vvd3')
|
|
101
|
+
|
|
102
|
+
const VwcProgress = wrapper(`vvd3-progress`, {
|
|
103
|
+
events: [],
|
|
104
|
+
attributes: [],
|
|
105
|
+
properties: ['shape', 'connotation', 'reverse']
|
|
106
|
+
})
|
|
107
|
+
|
|
108
|
+
VwcProgress.displayName = 'VwcProgress'
|
|
109
|
+
|
|
110
|
+
export default VwcProgress
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** Base class for progress-ring
|
|
3
|
+
* @param {ProgressRingConnotation | undefined} connotation **attribute** `connotation`
|
|
4
|
+
* @param {-5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
|
|
5
|
+
*/
|
|
6
|
+
declare const VwcProgressRing: {
|
|
7
|
+
(props: {
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
slot?: string | undefined;
|
|
10
|
+
id?: string | undefined;
|
|
11
|
+
style?: React.CSSProperties | undefined;
|
|
12
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
13
|
+
connotation?: any;
|
|
14
|
+
size?: any;
|
|
15
|
+
}): JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export default VwcProgressRing;
|