@ringcentral/spring-ui 1.7.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/Accordion.js +64 -0
- package/AccordionHeader.js +33 -0
- package/Alert.js +28 -0
- package/Animation.js +46 -0
- package/Announcement.js +48 -0
- package/Autocomplete.js +1767 -0
- package/Avatar.js +105 -0
- package/AvatarGroup.js +9 -0
- package/Backdrop.js +9 -0
- package/Badge.js +15 -0
- package/Block.js +20 -0
- package/BlockHeader.js +18 -0
- package/BottomNavigation.js +145 -0
- package/BottomNavigationItem.js +30 -0
- package/Button.js +24 -0
- package/CallButton.js +39 -0
- package/Checkbox.js +55 -0
- package/Chip.js +26 -0
- package/CircularProgressIndicator.js +10 -0
- package/ClickAwayListener.js +1 -0
- package/ComponentsProps.js +1 -0
- package/DatePicker.js +485 -0
- package/DateUtilsContext.js +56 -0
- package/Dialer.js +587 -0
- package/Dialog.js +62 -0
- package/Divider.js +9 -0
- package/DragHandle.js +8 -0
- package/Drawer.js +19 -0
- package/Dropdown.js +132 -0
- package/EmptyState.js +17 -0
- package/FabButton.js +32 -0
- package/FocusTrap.js +48 -0
- package/FormField.js +10 -0
- package/FormLabel.js +9 -0
- package/Icon.js +9 -0
- package/IconButton.js +26 -0
- package/IconButtonGroup.js +18 -0
- package/InlineEditable.js +98 -0
- package/LICENSE +22 -0
- package/LinearProgressIndicator.js +44 -0
- package/Link.js +18 -0
- package/List.js +11 -0
- package/ListItem.js +22 -0
- package/ListItemText.js +18 -0
- package/ListNavigation.js +57 -0
- package/Menu.js +23 -0
- package/MenuActions.js +21 -0
- package/MenuDivider.js +10 -0
- package/MenuFooter.js +18 -0
- package/MenuHeader.js +18 -0
- package/MenuItem.js +32 -0
- package/MenuItemText.js +9 -0
- package/MenuList.js +33 -0
- package/Modal.js +16 -0
- package/NestedMenuContext.js +23 -0
- package/Option.js +46 -0
- package/Overlap.js +9 -0
- package/PageHeader.js +56 -0
- package/PickerTextField.js +33 -0
- package/Popover.js +21 -0
- package/Popper.js +127 -0
- package/PopperPaper.js +10 -0
- package/Portal.js +1 -0
- package/README.md +76 -0
- package/Radio.js +34 -0
- package/RadioGroup.js +29 -0
- package/Rating.js +235 -0
- package/Select.js +40 -0
- package/SingleFilter.js +130 -0
- package/Skeleton.js +32 -0
- package/Slider.js +110 -0
- package/Snackbar.js +118 -0
- package/SortableList.js +17 -0
- package/SortableListDndContext.js +49 -0
- package/SortableListItem.js +69 -0
- package/SortableVirtualizedList.js +36 -0
- package/SplitButton.js +173 -0
- package/Squircle.js +9 -0
- package/StatusIndicator.js +11 -0
- package/Step.js +65 -0
- package/StepButton.js +41 -0
- package/StepConnector.js +10 -0
- package/StepContent.js +53 -0
- package/StepIcon.js +11 -0
- package/StepLabel.js +14 -0
- package/Stepper.js +37 -0
- package/SubMenu.js +142 -0
- package/SwipeableDrawer.js +742 -0
- package/Switch.js +43 -0
- package/Tab.js +103 -0
- package/TabContext.js +34 -0
- package/TabPanel.js +26 -0
- package/Table.js +24 -0
- package/TableBody.js +20 -0
- package/TableCell.js +86 -0
- package/TableContainer.js +16 -0
- package/TableFooter.js +16 -0
- package/TableHead.js +24 -0
- package/TablePagination.js +122 -0
- package/TableRow.js +37 -0
- package/Tabs.js +827 -0
- package/Tag.js +28 -0
- package/Text.js +61 -0
- package/TextField.js +29 -0
- package/Textarea.js +67 -0
- package/TimePicker.js +600 -0
- package/Tooltip.js +23 -0
- package/Tray.js +13 -0
- package/TrayMenu.js +60 -0
- package/VirtualizedList.js +291 -0
- package/VirtualizedMenu.js +28 -0
- package/VisuallyHidden.js +8 -0
- package/chunks/AccordionContext.js +6 -0
- package/chunks/Alert.js +47 -0
- package/chunks/AvatarGroup.js +22 -0
- package/chunks/Backdrop.js +18 -0
- package/chunks/Badge.js +32 -0
- package/chunks/BottomNavigationItem.js +37 -0
- package/chunks/Button.js +89 -0
- package/chunks/Chip.js +78 -0
- package/chunks/CircularProgressIndicator.js +62 -0
- package/chunks/Divider.js +19 -0
- package/chunks/DragHandle.js +11 -0
- package/chunks/Drawer.js +61 -0
- package/chunks/ExpandCollapseCaret.js +24 -0
- package/chunks/FormLabel.js +27 -0
- package/chunks/Icon.js +25 -0
- package/chunks/IconButtonLabel.js +69 -0
- package/chunks/List.js +22 -0
- package/chunks/ListItem.js +86 -0
- package/chunks/Menu.js +41 -0
- package/chunks/MenuDivider.js +15 -0
- package/chunks/MenuItemText.js +16 -0
- package/chunks/MenuList.js +49 -0
- package/chunks/Modal.js +88 -0
- package/chunks/Overlap.js +25 -0
- package/chunks/PickerTextField.js +75 -0
- package/chunks/Popover.js +58 -0
- package/chunks/PopperPaper.js +15 -0
- package/chunks/RadioGroup.context.js +19 -0
- package/chunks/Select.js +257 -0
- package/chunks/ShowHideEye.js +56 -0
- package/chunks/SlideIn.js +19 -0
- package/chunks/SortableArrow.js +73 -0
- package/chunks/Squircle.js +38 -0
- package/chunks/StatusIndicator.js +19 -0
- package/chunks/StepConnector.js +21 -0
- package/chunks/StepIcon.js +45 -0
- package/chunks/StepLabel.js +29 -0
- package/chunks/StepperContext.js +16 -0
- package/chunks/TableContext.js +6 -0
- package/chunks/Tablelvl2Context.js +6 -0
- package/chunks/TabsContext.js +6 -0
- package/chunks/TextField.js +111 -0
- package/chunks/Tooltip.js +253 -0
- package/chunks/VirtualizedMenu.js +216 -0
- package/chunks/VisuallyHidden.js +12 -0
- package/chunks/getFade.js +23 -0
- package/chunks/getGrow.js +70 -0
- package/chunks/getSlideIn.js +30 -0
- package/chunks/useFocusTrapStack.js +44 -0
- package/chunks/useHelperTextId.js +46 -0
- package/chunks/useListNavigation.js +211 -0
- package/chunks/useMenuItemSelect.js +252 -0
- package/chunks/useMotionSafeTransition.js +13 -0
- package/chunks/useNestedMenuItem.js +16 -0
- package/chunks/useNestedParentMenu.js +54 -0
- package/chunks/usePrefersReducedMotion.js +42 -0
- package/chunks/useTooltipForceHide.js +31 -0
- package/chunks/useTrayNavigate.js +151 -0
- package/chunks/withTooltip.js +15 -0
- package/index.css +10891 -0
- package/index.d.ts +1 -0
- package/index.js +191 -0
- package/package.json +41 -0
- package/src/Accordion/Accordion.classes.d.ts +7 -0
- package/src/Accordion/Accordion.d.ts +5 -0
- package/src/Accordion/Accordion.type.d.ts +31 -0
- package/src/Accordion/AccordionContext.d.ts +9 -0
- package/src/Accordion/index.d.ts +4 -0
- package/src/AccordionHeader/AccordionHeader.classes.d.ts +7 -0
- package/src/AccordionHeader/AccordionHeader.d.ts +5 -0
- package/src/AccordionHeader/AccordionHeader.type.d.ts +25 -0
- package/src/AccordionHeader/index.d.ts +3 -0
- package/src/Alert/Alert.classes.d.ts +8 -0
- package/src/Alert/Alert.d.ts +7 -0
- package/src/Alert/Alert.type.d.ts +56 -0
- package/src/Alert/AlertTitle.classes.d.ts +7 -0
- package/src/Alert/index.d.ts +4 -0
- package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.classes.d.ts +7 -0
- package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.d.ts +17 -0
- package/src/Animation/components/ExpandCollapseCaret/index.d.ts +2 -0
- package/src/Animation/components/Fade/Fade.d.ts +5 -0
- package/src/Animation/components/Fade/getFade.d.ts +4 -0
- package/src/Animation/components/Fade/index.d.ts +2 -0
- package/src/Animation/components/Grow/Grow.d.ts +5 -0
- package/src/Animation/components/Grow/getGrow.d.ts +19 -0
- package/src/Animation/components/Grow/index.d.ts +2 -0
- package/src/Animation/components/ShowHideEye/ShowHideEye.classes.d.ts +7 -0
- package/src/Animation/components/ShowHideEye/ShowHideEye.d.ts +14 -0
- package/src/Animation/components/ShowHideEye/index.d.ts +2 -0
- package/src/Animation/components/SlideIn/SlideIn.d.ts +5 -0
- package/src/Animation/components/SlideIn/getSlideIn.d.ts +9 -0
- package/src/Animation/components/SlideIn/index.d.ts +2 -0
- package/src/Animation/components/SortableArrow/SortableArrow.classes.d.ts +7 -0
- package/src/Animation/components/SortableArrow/SortableArrow.d.ts +9 -0
- package/src/Animation/components/SortableArrow/index.d.ts +2 -0
- package/src/Animation/components/index.d.ts +7 -0
- package/src/Animation/components/types.d.ts +9 -0
- package/src/Animation/hooks/__mocks__/MatchMedia.mock.d.ts +12 -0
- package/src/Animation/hooks/index.d.ts +2 -0
- package/src/Animation/hooks/useMotionSafeTransition/index.d.ts +1 -0
- package/src/Animation/hooks/useMotionSafeTransition/useMotionSafeTransition.d.ts +10 -0
- package/src/Animation/hooks/usePrefersReducedMotion/index.d.ts +1 -0
- package/src/Animation/hooks/usePrefersReducedMotion/usePrefersReducedMotion.d.ts +1 -0
- package/src/Animation/index.d.ts +2 -0
- package/src/Announcement/Announcement.classes.d.ts +8 -0
- package/src/Announcement/Announcement.d.ts +5 -0
- package/src/Announcement/Announcement.type.d.ts +4 -0
- package/src/Announcement/index.d.ts +3 -0
- package/src/Autocomplete/Autocomplete.classes.d.ts +14 -0
- package/src/Autocomplete/Autocomplete.d.ts +11 -0
- package/src/Autocomplete/Autocomplete.type.d.ts +141 -0
- package/src/Autocomplete/SuggestionList/SuggestionList.classes.d.ts +7 -0
- package/src/Autocomplete/SuggestionList/SuggestionList.d.ts +144 -0
- package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +28 -0
- package/src/Autocomplete/SuggestionList/index.d.ts +4 -0
- package/src/Autocomplete/SuggestionList/utils/SuggestionListItem.d.ts +33 -0
- package/src/Autocomplete/SuggestionList/utils/index.d.ts +5 -0
- package/src/Autocomplete/SuggestionList/utils/useDynamicHeight.d.ts +20 -0
- package/src/Autocomplete/SuggestionList/utils/useHighlightScroll.d.ts +33 -0
- package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +101 -0
- package/src/Autocomplete/SuggestionList/utils/useSuggestionListGroup.d.ts +71 -0
- package/src/Autocomplete/index.d.ts +6 -0
- package/src/Autocomplete/useAutocomplete.d.ts +640 -0
- package/src/Autocomplete/useAutocompleteTag.d.ts +599 -0
- package/src/Avatar/Avatar.classes.d.ts +10 -0
- package/src/Avatar/Avatar.d.ts +4 -0
- package/src/Avatar/Avatar.type.d.ts +91 -0
- package/src/Avatar/index.d.ts +3 -0
- package/src/AvatarGroup/AvatarGroup.classes.d.ts +7 -0
- package/src/AvatarGroup/AvatarGroup.d.ts +6 -0
- package/src/AvatarGroup/AvatarGroup.type.d.ts +21 -0
- package/src/AvatarGroup/index.d.ts +3 -0
- package/src/Backdrop/Backdrop.classes.d.ts +7 -0
- package/src/Backdrop/Backdrop.d.ts +5 -0
- package/src/Backdrop/Backdrop.type.d.ts +9 -0
- package/src/Backdrop/index.d.ts +3 -0
- package/src/Badge/Badge.classes.d.ts +11 -0
- package/src/Badge/Badge.d.ts +8 -0
- package/src/Badge/Badge.type.d.ts +52 -0
- package/src/Badge/index.d.ts +3 -0
- package/src/Block/Block.classes.d.ts +8 -0
- package/src/Block/Block.d.ts +4 -0
- package/src/Block/Block.type.d.ts +44 -0
- package/src/Block/index.d.ts +3 -0
- package/src/BlockHeader/BlockHeader.classes.d.ts +7 -0
- package/src/BlockHeader/BlockHeader.d.ts +4 -0
- package/src/BlockHeader/BlockHeader.type.d.ts +19 -0
- package/src/BlockHeader/index.d.ts +3 -0
- package/src/BottomNavigation/BottomNavigation.classes.d.ts +7 -0
- package/src/BottomNavigation/BottomNavigation.d.ts +4 -0
- package/src/BottomNavigation/BottomNavigation.type.d.ts +62 -0
- package/src/BottomNavigation/BottomNavigationContext.d.ts +9 -0
- package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.classes.d.ts +7 -0
- package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.d.ts +5 -0
- package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.type.d.ts +3 -0
- package/src/BottomNavigation/BottomNavigationGroup/index.d.ts +3 -0
- package/src/BottomNavigation/index.d.ts +5 -0
- package/src/BottomNavigationItem/BottomNavigationItem.classes.d.ts +7 -0
- package/src/BottomNavigationItem/BottomNavigationItem.d.ts +4 -0
- package/src/BottomNavigationItem/BottomNavigationItem.type.d.ts +63 -0
- package/src/BottomNavigationItem/index.d.ts +3 -0
- package/src/Button/Button.classes.d.ts +8 -0
- package/src/Button/Button.d.ts +6 -0
- package/src/Button/Button.type.d.ts +57 -0
- package/src/Button/index.d.ts +3 -0
- package/src/CallButton/CallButton.classes.d.ts +7 -0
- package/src/CallButton/CallButton.d.ts +4 -0
- package/src/CallButton/CallButton.type.d.ts +19 -0
- package/src/CallButton/index.d.ts +3 -0
- package/src/Checkbox/Checkbox.classes.d.ts +8 -0
- package/src/Checkbox/Checkbox.d.ts +13 -0
- package/src/Checkbox/Checkbox.type.d.ts +30 -0
- package/src/Checkbox/index.d.ts +3 -0
- package/src/Chip/Chip.classes.d.ts +7 -0
- package/src/Chip/Chip.d.ts +4 -0
- package/src/Chip/Chip.type.d.ts +65 -0
- package/src/Chip/index.d.ts +3 -0
- package/src/CircularProgressIndicator/CircularProgressIndicator.classes.d.ts +10 -0
- package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +5 -0
- package/src/CircularProgressIndicator/CircularProgressIndicator.type.d.ts +32 -0
- package/src/CircularProgressIndicator/index.d.ts +3 -0
- package/src/ClickAwayListener/index.d.ts +2 -0
- package/src/ComponentsProps.d.ts +207 -0
- package/src/DatePicker/Calendar.d.ts +41 -0
- package/src/DatePicker/DatePicker.classes.d.ts +7 -0
- package/src/DatePicker/DatePicker.context.d.ts +6 -0
- package/src/DatePicker/DatePicker.d.ts +6 -0
- package/src/DatePicker/DatePicker.type.d.ts +36 -0
- package/src/DatePicker/DatePickerHeader.d.ts +27 -0
- package/src/DatePicker/Day.d.ts +23 -0
- package/src/DatePicker/HearderAction.d.ts +3 -0
- package/src/DatePicker/SlideDirection.d.ts +1 -0
- package/src/DatePicker/Year.d.ts +21 -0
- package/src/DatePicker/Years.d.ts +21 -0
- package/src/DatePicker/index.d.ts +12 -0
- package/src/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +16 -0
- package/src/DatePicker/utils/DatePickerUtils.d.ts +13 -0
- package/src/DatePicker/utils/findClosestEnabledDate.d.ts +13 -0
- package/src/DatePicker/utils/index.d.ts +3 -0
- package/src/DateUtilsContext/DateUtilsContext.d.ts +22 -0
- package/src/DateUtilsContext/index.d.ts +1 -0
- package/src/Dialer/DialDelete/DialDelete.d.ts +14 -0
- package/src/Dialer/DialDelete/index.d.ts +1 -0
- package/src/Dialer/DialPad/DialPad.classes.d.ts +7 -0
- package/src/Dialer/DialPad/DialPad.d.ts +143 -0
- package/src/Dialer/DialPad/assets/DialerPadSoundsMPEG.d.ts +15 -0
- package/src/Dialer/DialPad/assets/DialerPadSoundsOGG.d.ts +15 -0
- package/src/Dialer/DialPad/assets/index.d.ts +3 -0
- package/src/Dialer/DialPad/index.d.ts +4 -0
- package/src/Dialer/DialPad/utils/DialPadUtils.d.ts +16 -0
- package/src/Dialer/DialPad/utils/index.d.ts +4 -0
- package/src/Dialer/DialPad/utils/types.d.ts +11 -0
- package/src/Dialer/DialPad/utils/useDialKeyboard.d.ts +16 -0
- package/src/Dialer/DialPad/utils/useKeyAudio.d.ts +15 -0
- package/src/Dialer/DialPadButton/DialPadButton.classes.d.ts +7 -0
- package/src/Dialer/DialPadButton/DialPadButton.d.ts +27 -0
- package/src/Dialer/DialPadButton/index.d.ts +2 -0
- package/src/Dialer/DialTextField/DialTextField.d.ts +37 -0
- package/src/Dialer/DialTextField/index.d.ts +2 -0
- package/src/Dialer/DialTextField/utils/getDialPadValueOnlyRegex.d.ts +4 -0
- package/src/Dialer/DialTextField/utils/index.d.ts +2 -0
- package/src/Dialer/DialTextField/utils/useFixedEndSelection.d.ts +10 -0
- package/src/Dialer/Dialer.d.ts +5 -0
- package/src/Dialer/index.d.ts +6 -0
- package/src/Dialer/utils/DialerContext.d.ts +13 -0
- package/src/Dialer/utils/index.d.ts +1 -0
- package/src/Dialog/Dialog.classes.d.ts +29 -0
- package/src/Dialog/Dialog.d.ts +8 -0
- package/src/Dialog/Dialog.type.d.ts +26 -0
- package/src/Dialog/index.d.ts +3 -0
- package/src/Divider/Divider.classes.d.ts +10 -0
- package/src/Divider/Divider.d.ts +4 -0
- package/src/Divider/Divider.type.d.ts +35 -0
- package/src/Divider/index.d.ts +3 -0
- package/src/DragHandle/DragHandle.classes.d.ts +8 -0
- package/src/DragHandle/DragHandle.d.ts +4 -0
- package/src/DragHandle/DragHandle.type.d.ts +17 -0
- package/src/DragHandle/index.d.ts +3 -0
- package/src/Drawer/Drawer.classes.d.ts +10 -0
- package/src/Drawer/Drawer.d.ts +33 -0
- package/src/Drawer/Drawer.type.d.ts +107 -0
- package/src/Drawer/index.d.ts +3 -0
- package/src/Dropdown/Dropdown.classes.d.ts +7 -0
- package/src/Dropdown/Dropdown.d.ts +4 -0
- package/src/Dropdown/Dropdown.type.d.ts +96 -0
- package/src/Dropdown/index.d.ts +3 -0
- package/src/EmptyState/EmptyState.classes.d.ts +7 -0
- package/src/EmptyState/EmptyState.d.ts +5 -0
- package/src/EmptyState/EmptyState.type.d.ts +21 -0
- package/src/EmptyState/index.d.ts +3 -0
- package/src/FabButton/FabButton.classes.d.ts +7 -0
- package/src/FabButton/FabButton.d.ts +4 -0
- package/src/FabButton/FabButton.type.d.ts +22 -0
- package/src/FabButton/index.d.ts +3 -0
- package/src/FocusTrap/FocusTrap.d.ts +49 -0
- package/src/FocusTrap/index.d.ts +2 -0
- package/src/FocusTrap/useFocusTrapStack.d.ts +16 -0
- package/src/FormField/FormField.classes.d.ts +9 -0
- package/src/FormField/FormField.d.ts +5 -0
- package/src/FormField/FormField.type.d.ts +46 -0
- package/src/FormField/index.d.ts +4 -0
- package/src/FormField/useHelperTextId.d.ts +30 -0
- package/src/FormLabel/FormLabel.classes.d.ts +10 -0
- package/src/FormLabel/FormLabel.d.ts +5 -0
- package/src/FormLabel/FormLabel.type.d.ts +26 -0
- package/src/FormLabel/FormLabelContext.d.ts +8 -0
- package/src/FormLabel/index.d.ts +4 -0
- package/src/Icon/Icon.classes.d.ts +7 -0
- package/src/Icon/Icon.d.ts +5 -0
- package/src/Icon/Icon.type.d.ts +25 -0
- package/src/Icon/index.d.ts +3 -0
- package/src/IconButton/IconButton.classes.d.ts +8 -0
- package/src/IconButton/IconButton.d.ts +4 -0
- package/src/IconButton/IconButton.type.d.ts +58 -0
- package/src/IconButton/IconButtonLabel.classes.d.ts +7 -0
- package/src/IconButton/IconButtonLabel.d.ts +5 -0
- package/src/IconButton/IconButtonLabel.type.d.ts +12 -0
- package/src/IconButton/index.d.ts +6 -0
- package/src/IconButtonGroup/IconButtonGroup.classes.d.ts +7 -0
- package/src/IconButtonGroup/IconButtonGroup.d.ts +4 -0
- package/src/IconButtonGroup/IconButtonGroup.type.d.ts +22 -0
- package/src/IconButtonGroup/index.d.ts +3 -0
- package/src/InlineEditable/InlineEditable.classes.d.ts +9 -0
- package/src/InlineEditable/InlineEditable.d.ts +5 -0
- package/src/InlineEditable/InlineEditable.type.d.ts +116 -0
- package/src/InlineEditable/index.d.ts +3 -0
- package/src/LinearProgressIndicator/LinearProgressIndicator.classes.d.ts +9 -0
- package/src/LinearProgressIndicator/LinearProgressIndicator.d.ts +5 -0
- package/src/LinearProgressIndicator/LinearProgressIndicator.type.d.ts +46 -0
- package/src/LinearProgressIndicator/index.d.ts +3 -0
- package/src/Link/Link.classes.d.ts +8 -0
- package/src/Link/Link.d.ts +4 -0
- package/src/Link/Link.type.d.ts +22 -0
- package/src/Link/index.d.ts +3 -0
- package/src/List/List.classes.d.ts +7 -0
- package/src/List/List.d.ts +5 -0
- package/src/List/List.type.d.ts +4 -0
- package/src/List/index.d.ts +3 -0
- package/src/ListItem/HoverActions.d.ts +8 -0
- package/src/ListItem/ListItem.classes.d.ts +7 -0
- package/src/ListItem/ListItem.d.ts +5 -0
- package/src/ListItem/ListItem.type.d.ts +58 -0
- package/src/ListItem/index.d.ts +4 -0
- package/src/ListItemText/ListItemText.classes.d.ts +9 -0
- package/src/ListItemText/ListItemText.d.ts +5 -0
- package/src/ListItemText/ListItemText.type.d.ts +33 -0
- package/src/ListItemText/index.d.ts +3 -0
- package/src/ListNavigation/ListNavigationContext.d.ts +8 -0
- package/src/ListNavigation/index.d.ts +3 -0
- package/src/ListNavigation/useItemNavigation.d.ts +9 -0
- package/src/ListNavigation/useListNavigation.d.ts +49 -0
- package/src/Menu/Menu.classes.d.ts +7 -0
- package/src/Menu/Menu.d.ts +5 -0
- package/src/Menu/Menu.type.d.ts +19 -0
- package/src/Menu/MenuContext.d.ts +7 -0
- package/src/Menu/index.d.ts +4 -0
- package/src/MenuActions/MenuActions.classes.d.ts +13 -0
- package/src/MenuActions/MenuActions.d.ts +9 -0
- package/src/MenuActions/MenuActions.type.d.ts +3 -0
- package/src/MenuActions/index.d.ts +3 -0
- package/src/MenuDivider/MenuDivider.classes.d.ts +7 -0
- package/src/MenuDivider/MenuDivider.d.ts +5 -0
- package/src/MenuDivider/MenuDivider.type.d.ts +3 -0
- package/src/MenuDivider/index.d.ts +3 -0
- package/src/MenuFooter/MenuFooter.classes.d.ts +7 -0
- package/src/MenuFooter/MenuFooter.d.ts +5 -0
- package/src/MenuFooter/MenuFooter.type.d.ts +9 -0
- package/src/MenuFooter/index.d.ts +3 -0
- package/src/MenuHeader/MenuHeader.classes.d.ts +7 -0
- package/src/MenuHeader/MenuHeader.d.ts +5 -0
- package/src/MenuHeader/MenuHeader.type.d.ts +18 -0
- package/src/MenuHeader/index.d.ts +3 -0
- package/src/MenuItem/MenuItem.classes.d.ts +7 -0
- package/src/MenuItem/MenuItem.d.ts +5 -0
- package/src/MenuItem/MenuItem.type.d.ts +29 -0
- package/src/MenuItem/MenuItemSelectContext.d.ts +18 -0
- package/src/MenuItem/index.d.ts +7 -0
- package/src/MenuItem/useMenuItem.d.ts +16 -0
- package/src/MenuItem/useMenuItemSelect.d.ts +62 -0
- package/src/MenuItem/useVirtualizedMenuItem.d.ts +15 -0
- package/src/MenuItemText/MenuItemText.classes.d.ts +7 -0
- package/src/MenuItemText/MenuItemText.d.ts +5 -0
- package/src/MenuItemText/MenuItemText.type.d.ts +27 -0
- package/src/MenuItemText/index.d.ts +3 -0
- package/src/MenuList/MenuList.classes.d.ts +7 -0
- package/src/MenuList/MenuList.d.ts +4 -0
- package/src/MenuList/MenuList.type.d.ts +16 -0
- package/src/MenuList/MenuListContext.d.ts +12 -0
- package/src/MenuList/index.d.ts +4 -0
- package/src/Modal/InnerModal.d.ts +18 -0
- package/src/Modal/InnerModal.type.d.ts +23 -0
- package/src/Modal/Modal.classes.d.ts +7 -0
- package/src/Modal/Modal.d.ts +24 -0
- package/src/Modal/Modal.type.d.ts +19 -0
- package/src/Modal/ModalContext.d.ts +10 -0
- package/src/Modal/index.d.ts +6 -0
- package/src/NestedMenuContext/NestedMenuContext.d.ts +11 -0
- package/src/NestedMenuContext/index.d.ts +4 -0
- package/src/NestedMenuContext/useNestedChildMenu.d.ts +6 -0
- package/src/NestedMenuContext/useNestedMenuItem.d.ts +5 -0
- package/src/NestedMenuContext/useNestedParentMenu.d.ts +8 -0
- package/src/Option/Option.d.ts +4 -0
- package/src/Option/Option.type.d.ts +7 -0
- package/src/Option/index.d.ts +2 -0
- package/src/Overlap/Overlap.classes.d.ts +7 -0
- package/src/Overlap/Overlap.d.ts +4 -0
- package/src/Overlap/Overlap.type.d.ts +30 -0
- package/src/Overlap/index.d.ts +3 -0
- package/src/PageHeader/PageHeader.classes.d.ts +32 -0
- package/src/PageHeader/PageHeader.d.ts +9 -0
- package/src/PageHeader/PageHeader.type.d.ts +14 -0
- package/src/PageHeader/index.d.ts +3 -0
- package/src/PickerTextField/PickerTextField.classes.d.ts +7 -0
- package/src/PickerTextField/PickerTextField.d.ts +5 -0
- package/src/PickerTextField/PickerTextField.type.d.ts +30 -0
- package/src/PickerTextField/index.d.ts +3 -0
- package/src/Popover/Popover.classes.d.ts +7 -0
- package/src/Popover/Popover.d.ts +5 -0
- package/src/Popover/Popover.type.d.ts +50 -0
- package/src/Popover/index.d.ts +3 -0
- package/src/Popper/Popper.d.ts +4 -0
- package/src/Popper/Popper.type.d.ts +92 -0
- package/src/Popper/index.d.ts +2 -0
- package/src/PopperPaper/PopperPaper.classes.d.ts +7 -0
- package/src/PopperPaper/PopperPaper.d.ts +5 -0
- package/src/PopperPaper/PopperPaper.type.d.ts +8 -0
- package/src/PopperPaper/index.d.ts +3 -0
- package/src/Portal/Portal.d.ts +2 -0
- package/src/Portal/index.d.ts +1 -0
- package/src/Radio/Radio.classes.d.ts +7 -0
- package/src/Radio/Radio.d.ts +12 -0
- package/src/Radio/Radio.type.d.ts +16 -0
- package/src/Radio/index.d.ts +3 -0
- package/src/RadioGroup/RadioGroup.classes.d.ts +7 -0
- package/src/RadioGroup/RadioGroup.context.d.ts +15 -0
- package/src/RadioGroup/RadioGroup.d.ts +5 -0
- package/src/RadioGroup/RadioGroup.type.d.ts +14 -0
- package/src/RadioGroup/index.d.ts +4 -0
- package/src/Rating/Rating.classes.d.ts +7 -0
- package/src/Rating/Rating.d.ts +5 -0
- package/src/Rating/Rating.type.d.ts +106 -0
- package/src/Rating/RatingItem.d.ts +3 -0
- package/src/Rating/index.d.ts +5 -0
- package/src/Rating/utils.d.ts +5 -0
- package/src/Select/Select.classes.d.ts +11 -0
- package/src/Select/Select.d.ts +4 -0
- package/src/Select/Select.type.d.ts +118 -0
- package/src/Select/index.d.ts +4 -0
- package/src/Select/useSelect.d.ts +16 -0
- package/src/SingleFilter/FilterButton/FilterButton.classes.d.ts +7 -0
- package/src/SingleFilter/FilterButton/FilterButton.d.ts +5 -0
- package/src/SingleFilter/FilterButton/FilterButton.type.d.ts +27 -0
- package/src/SingleFilter/FilterButton/index.d.ts +3 -0
- package/src/SingleFilter/SingleFilter.classes.d.ts +7 -0
- package/src/SingleFilter/SingleFilter.d.ts +5 -0
- package/src/SingleFilter/SingleFilter.type.d.ts +44 -0
- package/src/SingleFilter/index.d.ts +4 -0
- package/src/Skeleton/Skeleton.classes.d.ts +7 -0
- package/src/Skeleton/Skeleton.d.ts +5 -0
- package/src/Skeleton/Skeleton.type.d.ts +6 -0
- package/src/Skeleton/SkeletonContainer/SkeletonContainer.classes.d.ts +7 -0
- package/src/Skeleton/SkeletonContainer/SkeletonContainer.d.ts +5 -0
- package/src/Skeleton/SkeletonContainer/SkeletonContainer.type.d.ts +11 -0
- package/src/Skeleton/SkeletonContainer/index.d.ts +3 -0
- package/src/Skeleton/index.d.ts +4 -0
- package/src/Slider/Slider.classes.d.ts +13 -0
- package/src/Slider/Slider.d.ts +10 -0
- package/src/Slider/Slider.type.d.ts +137 -0
- package/src/Slider/SliderThumb.d.ts +16 -0
- package/src/Slider/index.d.ts +3 -0
- package/src/Slider/utils.d.ts +1 -0
- package/src/Snackbar/Snackbar.classes.d.ts +7 -0
- package/src/Snackbar/Snackbar.d.ts +5 -0
- package/src/Snackbar/Snackbar.hook.d.ts +1 -0
- package/src/Snackbar/Snackbar.type.d.ts +27 -0
- package/src/Snackbar/SnackbarContent/SnackbarContent.classes.d.ts +8 -0
- package/src/Snackbar/SnackbarContent/SnackbarContent.d.ts +5 -0
- package/src/Snackbar/SnackbarContent/SnackbarContent.type.d.ts +4 -0
- package/src/Snackbar/SnackbarContent/index.d.ts +3 -0
- package/src/Snackbar/index.d.ts +5 -0
- package/src/SortableList/SortableList.d.ts +3 -0
- package/src/SortableList/SortableList.type.d.ts +20 -0
- package/src/SortableList/index.d.ts +2 -0
- package/src/SortableListDndContext/DndKeyboardBlocker.d.ts +2 -0
- package/src/SortableListDndContext/SortableListDndContext.d.ts +4 -0
- package/src/SortableListDndContext/SortableListDndContext.type.d.ts +5 -0
- package/src/SortableListDndContext/index.d.ts +5 -0
- package/src/SortableListDndContext/useSortableListDndContext.d.ts +2 -0
- package/src/SortableListDndContext/utils.d.ts +1 -0
- package/src/SortableListItem/SortableListItem.d.ts +4 -0
- package/src/SortableListItem/SortableListItem.type.d.ts +6 -0
- package/src/SortableListItem/SortableListItemOverlay.d.ts +4 -0
- package/src/SortableListItem/SortableListItemOverlay.type.d.ts +8 -0
- package/src/SortableListItem/index.d.ts +4 -0
- package/src/SortableVirtualizedList/SortableVirtualizedList.d.ts +3 -0
- package/src/SortableVirtualizedList/SortableVirtualizedList.type.d.ts +19 -0
- package/src/SortableVirtualizedList/index.d.ts +2 -0
- package/src/SplitButton/SplitButton.classes.d.ts +8 -0
- package/src/SplitButton/SplitButton.d.ts +5 -0
- package/src/SplitButton/SplitButton.type.d.ts +37 -0
- package/src/SplitButton/index.d.ts +3 -0
- package/src/Squircle/Squircle.d.ts +4 -0
- package/src/Squircle/Squircle.type.d.ts +19 -0
- package/src/Squircle/index.d.ts +3 -0
- package/src/Squircle/squircle.classes.d.ts +7 -0
- package/src/StatusIndicator/StatusIndicator.classes.d.ts +7 -0
- package/src/StatusIndicator/StatusIndicator.d.ts +8 -0
- package/src/StatusIndicator/StatusIndicator.type.d.ts +14 -0
- package/src/StatusIndicator/index.d.ts +3 -0
- package/src/Step/Step.classes.d.ts +7 -0
- package/src/Step/Step.d.ts +4 -0
- package/src/Step/Step.type.d.ts +50 -0
- package/src/Step/StepContext.d.ts +22 -0
- package/src/Step/index.d.ts +4 -0
- package/src/StepButton/StepButton.classes.d.ts +7 -0
- package/src/StepButton/StepButton.d.ts +4 -0
- package/src/StepButton/StepButton.type.d.ts +34 -0
- package/src/StepButton/index.d.ts +3 -0
- package/src/StepConnector/StepConnector.classes.d.ts +7 -0
- package/src/StepConnector/StepConnector.d.ts +5 -0
- package/src/StepConnector/StepConnector.type.d.ts +3 -0
- package/src/StepConnector/index.d.ts +3 -0
- package/src/StepContent/StepContent.classes.d.ts +7 -0
- package/src/StepContent/StepContent.d.ts +5 -0
- package/src/StepContent/StepContent.type.d.ts +14 -0
- package/src/StepContent/index.d.ts +3 -0
- package/src/StepIcon/StepIcon.classes.d.ts +7 -0
- package/src/StepIcon/StepIcon.d.ts +5 -0
- package/src/StepIcon/StepIcon.type.d.ts +38 -0
- package/src/StepIcon/index.d.ts +3 -0
- package/src/StepLabel/StepLabel.classes.d.ts +10 -0
- package/src/StepLabel/StepLabel.d.ts +5 -0
- package/src/StepLabel/StepLabel.type.d.ts +36 -0
- package/src/StepLabel/index.d.ts +3 -0
- package/src/Stepper/Stepper.classes.d.ts +7 -0
- package/src/Stepper/Stepper.d.ts +4 -0
- package/src/Stepper/Stepper.type.d.ts +47 -0
- package/src/Stepper/StepperContext.d.ts +11 -0
- package/src/Stepper/index.d.ts +4 -0
- package/src/SubMenu/PopperMenu.classes.d.ts +7 -0
- package/src/SubMenu/PopperMenu.d.ts +5 -0
- package/src/SubMenu/PopperMenu.type.d.ts +4 -0
- package/src/SubMenu/SubMenu.d.ts +4 -0
- package/src/SubMenu/SubMenu.type.d.ts +6 -0
- package/src/SubMenu/index.d.ts +5 -0
- package/src/SwipeableDrawer/SwipeableDrawer.classes.d.ts +7 -0
- package/src/SwipeableDrawer/SwipeableDrawer.d.ts +31 -0
- package/src/SwipeableDrawer/SwipeableDrawer.types.d.ts +82 -0
- package/src/SwipeableDrawer/hooks/index.d.ts +5 -0
- package/src/SwipeableDrawer/hooks/useDimensions.d.ts +17 -0
- package/src/SwipeableDrawer/hooks/useDrawerGestures.d.ts +151 -0
- package/src/SwipeableDrawer/hooks/useElementSizeObserver.d.ts +10 -0
- package/src/SwipeableDrawer/hooks/useReady.d.ts +4 -0
- package/src/SwipeableDrawer/hooks/useSnapPoints.d.ts +94 -0
- package/src/SwipeableDrawer/index.d.ts +3 -0
- package/src/Switch/Switch.classes.d.ts +7 -0
- package/src/Switch/Switch.d.ts +11 -0
- package/src/Switch/Switch.type.d.ts +19 -0
- package/src/Switch/index.d.ts +3 -0
- package/src/Tab/Tab.classes.d.ts +10 -0
- package/src/Tab/Tab.d.ts +5 -0
- package/src/Tab/Tab.type.d.ts +50 -0
- package/src/Tab/index.d.ts +3 -0
- package/src/TabContext/TabContext.d.ts +20 -0
- package/src/TabContext/TabContext.type.d.ts +13 -0
- package/src/TabContext/index.d.ts +2 -0
- package/src/TabPanel/TabPanel.classes.d.ts +7 -0
- package/src/TabPanel/TabPanel.d.ts +5 -0
- package/src/TabPanel/TabPanel.type.d.ts +18 -0
- package/src/TabPanel/index.d.ts +3 -0
- package/src/Table/Table.classes.d.ts +7 -0
- package/src/Table/Table.d.ts +4 -0
- package/src/Table/Table.type.d.ts +36 -0
- package/src/Table/TableContext.d.ts +8 -0
- package/src/Table/Tablelvl2Context.d.ts +7 -0
- package/src/Table/index.d.ts +5 -0
- package/src/TableBody/TableBody.classes.d.ts +7 -0
- package/src/TableBody/TableBody.d.ts +4 -0
- package/src/TableBody/TableBody.type.d.ts +17 -0
- package/src/TableBody/index.d.ts +3 -0
- package/src/TableCell/TableCell.classes.d.ts +7 -0
- package/src/TableCell/TableCell.d.ts +8 -0
- package/src/TableCell/TableCell.type.d.ts +59 -0
- package/src/TableCell/index.d.ts +3 -0
- package/src/TableContainer/TableContainer.classes.d.ts +8 -0
- package/src/TableContainer/TableContainer.d.ts +4 -0
- package/src/TableContainer/TableContainer.type.d.ts +23 -0
- package/src/TableContainer/index.d.ts +3 -0
- package/src/TableFooter/TableFooter.classes.d.ts +8 -0
- package/src/TableFooter/TableFooter.d.ts +5 -0
- package/src/TableFooter/TableFooter.type.d.ts +9 -0
- package/src/TableFooter/index.d.ts +2 -0
- package/src/TableHead/TableHead.classes.d.ts +7 -0
- package/src/TableHead/TableHead.d.ts +4 -0
- package/src/TableHead/TableHead.type.d.ts +21 -0
- package/src/TableHead/index.d.ts +3 -0
- package/src/TablePagination/TablePagination.classes.d.ts +8 -0
- package/src/TablePagination/TablePagination.d.ts +4 -0
- package/src/TablePagination/TablePagination.type.d.ts +73 -0
- package/src/TablePagination/index.d.ts +2 -0
- package/src/TableRow/TableRow.classes.d.ts +7 -0
- package/src/TableRow/TableRow.d.ts +4 -0
- package/src/TableRow/TableRow.type.d.ts +34 -0
- package/src/TableRow/index.d.ts +3 -0
- package/src/Tabs/TabMoreMenu.d.ts +36 -0
- package/src/Tabs/TabScrollButton.d.ts +21 -0
- package/src/Tabs/Tabs.classes.d.ts +19 -0
- package/src/Tabs/Tabs.d.ts +5 -0
- package/src/Tabs/Tabs.type.d.ts +54 -0
- package/src/Tabs/TabsContext.d.ts +9 -0
- package/src/Tabs/hooks/index.d.ts +2 -0
- package/src/Tabs/hooks/useComputedTabs.d.ts +20 -0
- package/src/Tabs/hooks/useTabsScroller.d.ts +48 -0
- package/src/Tabs/index.d.ts +7 -0
- package/src/Tag/Tag.classes.d.ts +8 -0
- package/src/Tag/Tag.d.ts +5 -0
- package/src/Tag/Tag.type.d.ts +23 -0
- package/src/Tag/index.d.ts +3 -0
- package/src/Text/Text.classes.d.ts +7 -0
- package/src/Text/Text.d.ts +4 -0
- package/src/Text/Text.type.d.ts +34 -0
- package/src/Text/index.d.ts +3 -0
- package/src/TextField/TextField.classes.d.ts +7 -0
- package/src/TextField/TextField.d.ts +5 -0
- package/src/TextField/TextField.type.d.ts +112 -0
- package/src/TextField/index.d.ts +3 -0
- package/src/Textarea/Textarea.classes.d.ts +10 -0
- package/src/Textarea/Textarea.d.ts +5 -0
- package/src/Textarea/Textarea.type.d.ts +26 -0
- package/src/Textarea/index.d.ts +3 -0
- package/src/TimePicker/NumberPicker.d.ts +5 -0
- package/src/TimePicker/NumberPicker.type.d.ts +36 -0
- package/src/TimePicker/PickerView.d.ts +4 -0
- package/src/TimePicker/PickerView.type.d.ts +25 -0
- package/src/TimePicker/SelectionView.d.ts +19 -0
- package/src/TimePicker/TimeButton.d.ts +11 -0
- package/src/TimePicker/TimePicker.classes.d.ts +7 -0
- package/src/TimePicker/TimePicker.context.d.ts +6 -0
- package/src/TimePicker/TimePicker.d.ts +5 -0
- package/src/TimePicker/TimePicker.type.d.ts +30 -0
- package/src/TimePicker/ToggleText.d.ts +5 -0
- package/src/TimePicker/ToggleText.type.d.ts +14 -0
- package/src/TimePicker/constant.d.ts +7 -0
- package/src/TimePicker/index.d.ts +14 -0
- package/src/TimePicker/utils/A11yUtils.d.ts +2 -0
- package/src/TimePicker/utils/TimeBoundary.d.ts +27 -0
- package/src/TimePicker/utils/TimePickerHelper.d.ts +52 -0
- package/src/TimePicker/utils/getNumberPickerBoundary.d.ts +22 -0
- package/src/TimePicker/utils/index.d.ts +4 -0
- package/src/TimePicker/utils/runKeyHandler.d.ts +4 -0
- package/src/Tooltip/Tooltip.d.ts +5 -0
- package/src/Tooltip/Tooltip.type.d.ts +5 -0
- package/src/Tooltip/TooltipTrigger.a11y.d.ts +38 -0
- package/src/Tooltip/TooltipTrigger.d.ts +4 -0
- package/src/Tooltip/TooltipTrigger.type.d.ts +59 -0
- package/src/Tooltip/TooltipView.classes.d.ts +8 -0
- package/src/Tooltip/TooltipView.d.ts +16 -0
- package/src/Tooltip/TooltipView.type.d.ts +44 -0
- package/src/Tooltip/index.d.ts +9 -0
- package/src/Tooltip/useTooltipForceHide.d.ts +8 -0
- package/src/Tooltip/withTooltip/index.d.ts +1 -0
- package/src/Tooltip/withTooltip/withTooltip.d.ts +6 -0
- package/src/Tray/Tray.classes.d.ts +13 -0
- package/src/Tray/Tray.d.ts +5 -0
- package/src/Tray/Tray.type.d.ts +26 -0
- package/src/Tray/TrayContext.d.ts +14 -0
- package/src/Tray/TrayPanel.d.ts +7 -0
- package/src/Tray/hooks/index.d.ts +3 -0
- package/src/Tray/hooks/useTray.d.ts +33 -0
- package/src/Tray/hooks/useTrayNavigate.d.ts +5 -0
- package/src/Tray/hooks/useTrayPanel.d.ts +14 -0
- package/src/Tray/index.d.ts +7 -0
- package/src/Tray/types.d.ts +2 -0
- package/src/TrayMenu/TrayMenu.d.ts +4 -0
- package/src/TrayMenu/TrayMenu.type.d.ts +3 -0
- package/src/TrayMenu/TrayMenuItem.d.ts +9 -0
- package/src/TrayMenu/index.d.ts +3 -0
- package/src/VirtualizedList/VirtualizedItemPropsContext.d.ts +5 -0
- package/src/VirtualizedList/VirtualizedList.d.ts +3 -0
- package/src/VirtualizedList/VirtualizedList.type.d.ts +51 -0
- package/src/VirtualizedList/VirtuosoComponents.d.ts +16 -0
- package/src/VirtualizedList/VirtuosoContextType.d.ts +14 -0
- package/src/VirtualizedList/index.d.ts +5 -0
- package/src/VirtualizedMenu/VirtualizedMenu.classes.d.ts +7 -0
- package/src/VirtualizedMenu/VirtualizedMenu.context.d.ts +6 -0
- package/src/VirtualizedMenu/VirtualizedMenu.d.ts +4 -0
- package/src/VirtualizedMenu/VirtualizedMenu.type.d.ts +35 -0
- package/src/VirtualizedMenu/VirtualizedMenuList.d.ts +6 -0
- package/src/VirtualizedMenu/index.d.ts +5 -0
- package/src/VisuallyHidden/VisuallyHidden.classes.d.ts +7 -0
- package/src/VisuallyHidden/VisuallyHidden.d.ts +5 -0
- package/src/VisuallyHidden/VisuallyHidden.type.d.ts +3 -0
- package/src/VisuallyHidden/index.d.ts +3 -0
- package/src/index.d.ts +112 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
package/index.js
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
export { F as FormField, u as useHelperTextId } from './chunks/useHelperTextId.js';
|
|
2
|
+
export { F as FormLabel, a as FormLabelContext, u as useFormLabel } from './chunks/FormLabel.js';
|
|
3
|
+
export { S as Squircle } from './chunks/Squircle.js';
|
|
4
|
+
export { V as VisuallyHidden } from './chunks/VisuallyHidden.js';
|
|
5
|
+
export { O as Overlap } from './chunks/Overlap.js';
|
|
6
|
+
export { ClickAwayListener, Portal, useTabsContext as useTabContext } from '@mui/base';
|
|
7
|
+
export { Skeleton, SkeletonContainer, skeletonContainerStyle, skeletonStyle } from './Skeleton.js';
|
|
8
|
+
export { S as StatusIndicator } from './chunks/StatusIndicator.js';
|
|
9
|
+
export { T as Tooltip, a as TooltipTrigger, b as TooltipView } from './chunks/Tooltip.js';
|
|
10
|
+
export { u as useTooltipForceHide } from './chunks/useTooltipForceHide.js';
|
|
11
|
+
export { w as withTooltip } from './chunks/withTooltip.js';
|
|
12
|
+
export { I as Icon } from './chunks/Icon.js';
|
|
13
|
+
export { B as Button, b as buttonIconSizeMap } from './chunks/Button.js';
|
|
14
|
+
export { I as InnerModal, M as Modal, a as ModalContext, u as useModalContext } from './chunks/Modal.js';
|
|
15
|
+
export { I as IconButton, a as IconButtonLabel } from './chunks/IconButtonLabel.js';
|
|
16
|
+
export { IconButtonGroup, iconButtonGroupStyle } from './IconButtonGroup.js';
|
|
17
|
+
export { SplitButton, splitButtonStyle } from './SplitButton.js';
|
|
18
|
+
export { FabButton, fabButtonStyle } from './FabButton.js';
|
|
19
|
+
export { CallButton, callButtonStyle } from './CallButton.js';
|
|
20
|
+
export { Checkbox, checkboxStyle } from './Checkbox.js';
|
|
21
|
+
export { C as Chip } from './chunks/Chip.js';
|
|
22
|
+
export { D as Divider } from './chunks/Divider.js';
|
|
23
|
+
export { InlineEditable, inlineEditableStyle } from './InlineEditable.js';
|
|
24
|
+
export { Tag, tagStyle } from './Tag.js';
|
|
25
|
+
export { Link, linkStyle } from './Link.js';
|
|
26
|
+
export { B as Badge } from './chunks/Badge.js';
|
|
27
|
+
export { Text, textStyle } from './Text.js';
|
|
28
|
+
export { T as TextField } from './chunks/TextField.js';
|
|
29
|
+
export { Textarea, textareaStyle } from './Textarea.js';
|
|
30
|
+
export { P as PickerTextField } from './chunks/PickerTextField.js';
|
|
31
|
+
export { P as Popover } from './chunks/Popover.js';
|
|
32
|
+
export { Popper } from './Popper.js';
|
|
33
|
+
export { A as Alert, a as AlertTitle } from './chunks/Alert.js';
|
|
34
|
+
export { Announcement, announcementStyles } from './Announcement.js';
|
|
35
|
+
export { Snackbar, SnackbarContent, snackbarContentStyles, snackbarStyle, useSnackbarWrapper } from './Snackbar.js';
|
|
36
|
+
export { Option } from './Option.js';
|
|
37
|
+
export { Rating, RatingItem, defaultEmptyIcon, defaultIcon, defaultLabelText, ratingStyle, roundValueToPrecision } from './Rating.js';
|
|
38
|
+
export { ListItemText, listItemTextStyle } from './ListItemText.js';
|
|
39
|
+
export { H as HoverActions, L as ListItem } from './chunks/ListItem.js';
|
|
40
|
+
export { L as ListNavigationContext, a as useListNavigation, u as useListNavigationContext } from './chunks/useListNavigation.js';
|
|
41
|
+
export { useItemNavigation } from './ListNavigation.js';
|
|
42
|
+
export { L as List } from './chunks/List.js';
|
|
43
|
+
export { MenuActions, MenuActionsGroup, menuActionsStyle } from './MenuActions.js';
|
|
44
|
+
export { M as MenuDivider } from './chunks/MenuDivider.js';
|
|
45
|
+
export { MenuFooter, menuFooterStyle } from './MenuFooter.js';
|
|
46
|
+
export { MenuHeader, menuHeaderStyle } from './MenuHeader.js';
|
|
47
|
+
export { M as MenuItemText } from './chunks/MenuItemText.js';
|
|
48
|
+
export { A as Action, M as MenuItem, a as MenuItemSelectContext, e as MenuListContext, b as useMenuItem, c as useMenuItemSelect, u as useMenuItemSelectContext, f as useMenuListContext, d as useVirtualizedMenuItem } from './chunks/useMenuItemSelect.js';
|
|
49
|
+
export { PopperMenu, SubMenu, popperMenuStyle } from './SubMenu.js';
|
|
50
|
+
export { M as MenuList } from './chunks/MenuList.js';
|
|
51
|
+
export { M as Menu, a as MenuContext, u as useMenuContext } from './chunks/Menu.js';
|
|
52
|
+
export { Radio, radioStyle } from './Radio.js';
|
|
53
|
+
export { R as RadioGroupContext, c as callbacksInSeries, u as useRadioGroup } from './chunks/RadioGroup.context.js';
|
|
54
|
+
export { RadioGroup, radioGroupStyle } from './RadioGroup.js';
|
|
55
|
+
export { S as Select, u as useSelect } from './chunks/Select.js';
|
|
56
|
+
export { Slider, sliderStyle } from './Slider.js';
|
|
57
|
+
export { Switch, switchStyle } from './Switch.js';
|
|
58
|
+
export { Dropdown, dropdownStyle } from './Dropdown.js';
|
|
59
|
+
export { Calendar, DEFAULT_FORMAT, DatePicker, DatePickerClassesContext, DatePickerHeader, Day, HeaderAction, ScreenReaderContext, ScreenReaderProvider, Year, Years, datePickerStyle, findClosestEnabledDate, focusDayElement, invalidateDateInRange, isSameYearAndMonth, useDatePickerClasses, useScreenReaderContext } from './DatePicker.js';
|
|
60
|
+
export { HALF_DAY_HOURS, HOUR_MINUTES, K_ENTER, K_SPACE, NumberPicker, ONE_HOUR, PickerView, SelectionView, TIME_GAP, TIME_SYSTEM_TEXT, TimeBoundary, TimeButton, TimePicker, TimePickerClassesContext, ToggleText, getFormattedTime, getHourAndMinute, getNumberPickerBoundary, getPeriod, getRangeBoundary, getRecoupHour, getTimestamp, getTimestampFromDate, getTimestampFromHourAndMin, isClick, lastMinute, minuteSource, pad, parseNumber, parseNumberToString, timePickerStyle, twelveHourSystemSource, twentyFourHourSystemSource, useTimePickerClasses } from './TimePicker.js';
|
|
61
|
+
export { C as CircularProgressIndicator } from './chunks/CircularProgressIndicator.js';
|
|
62
|
+
export { LinearProgressIndicator, linearProgressIndicatorStyle } from './LinearProgressIndicator.js';
|
|
63
|
+
export { BlockHeader, blockHeaderStyles } from './BlockHeader.js';
|
|
64
|
+
export { Block, blockStyles } from './Block.js';
|
|
65
|
+
export { AccordionHeader, accordionHeaderStyles } from './AccordionHeader.js';
|
|
66
|
+
export { Accordion, accordionStyles } from './Accordion.js';
|
|
67
|
+
export { A as AccordionContext, u as useAccordionContext } from './chunks/AccordionContext.js';
|
|
68
|
+
export { E as ExpandCollapseCaret } from './chunks/ExpandCollapseCaret.js';
|
|
69
|
+
export { Fade, Grow, expandCollapseCaretStyles, showHideEyeStyles } from './Animation.js';
|
|
70
|
+
export { g as getFade } from './chunks/getFade.js';
|
|
71
|
+
export { g as getGrow, a as getTransformOriginStringForPlacement } from './chunks/getGrow.js';
|
|
72
|
+
export { S as ShowHideEye } from './chunks/ShowHideEye.js';
|
|
73
|
+
export { S as SlideIn } from './chunks/SlideIn.js';
|
|
74
|
+
export { g as getSlideIn } from './chunks/getSlideIn.js';
|
|
75
|
+
export { S as SortableArrow } from './chunks/SortableArrow.js';
|
|
76
|
+
export { u as usePrefersReducedMotion } from './chunks/usePrefersReducedMotion.js';
|
|
77
|
+
export { u as useMotionSafeTransition } from './chunks/useMotionSafeTransition.js';
|
|
78
|
+
export { Avatar, avatarStyles } from './Avatar.js';
|
|
79
|
+
export { a as AvatarGroup, A as AvatarGroupContext } from './chunks/AvatarGroup.js';
|
|
80
|
+
export { B as Backdrop } from './chunks/Backdrop.js';
|
|
81
|
+
export { ACCEPTABLE_KEYS, DIALER_PAD_ICONS, DIALER_PAD_PLUS, DialDelete, DialPad, DialPadButton, DialTextField, Dialer, DialerContext, DialerPadSoundsMPEG, DialerPadSoundsOGG, dialPadButtonStyle, dialPadStyle, getDialPadValueOnlyRegex, useDialKeyboard, useDialerContext, useFixedEndSelection, useKeyAudio } from './Dialer.js';
|
|
82
|
+
export { a as BottomNavigationContext, B as BottomNavigationItem, u as useBottomNavigationContext } from './chunks/BottomNavigationItem.js';
|
|
83
|
+
export { BottomNavigation, BottomNavigationGroup, bottomNavigationGroupStyles, bottomNavigationStyles } from './BottomNavigation.js';
|
|
84
|
+
export { DateUtilsProvider, useDateUtilsContext } from './DateUtilsContext.js';
|
|
85
|
+
export { FocusTrap } from './FocusTrap.js';
|
|
86
|
+
export { u as useFocusTrapStack } from './chunks/useFocusTrapStack.js';
|
|
87
|
+
export { N as NestedMenuContext, u as useNestedMenuContext, a as useNestedParentMenu } from './chunks/useNestedParentMenu.js';
|
|
88
|
+
export { useNestedChildMenu } from './NestedMenuContext.js';
|
|
89
|
+
export { u as useNestedMenuItem } from './chunks/useNestedMenuItem.js';
|
|
90
|
+
export { P as PopperPaper } from './chunks/PopperPaper.js';
|
|
91
|
+
export { FilterButton, SingleFilter, filterButtonStyle, singleFilterStyle } from './SingleFilter.js';
|
|
92
|
+
export { SortableListItem, SortableListItemOverlay } from './SortableListItem.js';
|
|
93
|
+
export { SortableList } from './SortableList.js';
|
|
94
|
+
export { DndKeyboardBlocker, SortableListDndContext, useSortableListDndContext } from './SortableListDndContext.js';
|
|
95
|
+
export { arrayMove } from '@dnd-kit/sortable';
|
|
96
|
+
export { SortableVirtualizedList } from './SortableVirtualizedList.js';
|
|
97
|
+
export { S as StepIcon } from './chunks/StepIcon.js';
|
|
98
|
+
export { S as StepLabel } from './chunks/StepLabel.js';
|
|
99
|
+
export { StepButton, stepButtonStyle } from './StepButton.js';
|
|
100
|
+
export { StepContent, stepContentStyle } from './StepContent.js';
|
|
101
|
+
export { S as StepConnector } from './chunks/StepConnector.js';
|
|
102
|
+
export { Step, stepStyle } from './Step.js';
|
|
103
|
+
export { S as StepContext, a as StepperContext, u as useStepContext, b as useStepperContext } from './chunks/StepperContext.js';
|
|
104
|
+
export { Stepper, stepperStyle } from './Stepper.js';
|
|
105
|
+
export { TableBody, tableBodyStyle } from './TableBody.js';
|
|
106
|
+
export { TableCell, tableCellStyle } from './TableCell.js';
|
|
107
|
+
export { TableHead, tableHeadStyle } from './TableHead.js';
|
|
108
|
+
export { TableRow, tableRowStyle } from './TableRow.js';
|
|
109
|
+
export { TablePagination, tablePaginationStyles } from './TablePagination.js';
|
|
110
|
+
export { TableFooter, tableFooterStyles } from './TableFooter.js';
|
|
111
|
+
export { TableContainer, tableContainerStyle } from './TableContainer.js';
|
|
112
|
+
export { Table, tableStyle } from './Table.js';
|
|
113
|
+
export { T as TableContext, u as useTableContext } from './chunks/TableContext.js';
|
|
114
|
+
export { T as Tablelvl2Context, u as useTablelvl2Context } from './chunks/Tablelvl2Context.js';
|
|
115
|
+
export { TrayMenu, TrayMenuItem } from './TrayMenu.js';
|
|
116
|
+
export { T as Tray, a as TrayContext, b as TrayPanel, c as useTray, u as useTrayContext, d as useTrayNavigate, e as useTrayPanel } from './chunks/useTrayNavigate.js';
|
|
117
|
+
export { a as VirtualizedMenu, V as VirtualizedMenuContext, b as VirtualizedMenuList, u as useVirtualizedMenuContext } from './chunks/VirtualizedMenu.js';
|
|
118
|
+
export { VirtualizedItemPropsContext, VirtualizedList, VirtuosoComponents, useVirtualizedItemPropsContext } from './VirtualizedList.js';
|
|
119
|
+
export { Dialog, DialogActions, DialogContent, DialogTitle, dialogStyle } from './Dialog.js';
|
|
120
|
+
export { D as Drawer } from './chunks/Drawer.js';
|
|
121
|
+
export { D as DragHandle } from './chunks/DragHandle.js';
|
|
122
|
+
export { SwipeableDrawer, swipeableDrawerStyles } from './SwipeableDrawer.js';
|
|
123
|
+
export { Autocomplete, DEFAULT_GET_OPTION_LABEL, DEFAULT_KEY_TO_CHIPS, RcAutocompleteDefaultFilterOptions, SuggestionList, SuggestionListItem, autocompleteStyles, stringArrToRegExp, suggestionListStyles, useAutocomplete, useAutocompleteGroup, useAutocompleteTag, useDynamicHeight, useHighlightScroll, useSuggestionList } from './Autocomplete.js';
|
|
124
|
+
export { EmptyState, emptyStateStyle } from './EmptyState.js';
|
|
125
|
+
export { TabContext, generateTabStableIds, useInternalTabsContext, useTabStableIds } from './TabContext.js';
|
|
126
|
+
export { TabPanel, tabPanelStyle } from './TabPanel.js';
|
|
127
|
+
export { Tab, tabStyle } from './Tab.js';
|
|
128
|
+
export { TabMoreMenu, TabScrollButton, Tabs, tabsStyle, useComputedTabs, useTabsScroller } from './Tabs.js';
|
|
129
|
+
export { T as TabsContext, u as useTabsContext } from './chunks/TabsContext.js';
|
|
130
|
+
export { PageHeader, PageHeaderCenter, PageHeaderLeft, PageHeaderRight, PageHeaderTitle, pageHeaderStyle } from './PageHeader.js';
|
|
131
|
+
export * from '@ringcentral/spring-base';
|
|
132
|
+
export * from '@ringcentral/spring-theme';
|
|
133
|
+
export { formFieldStyle } from './FormField.js';
|
|
134
|
+
export { formLabelStyle } from './FormLabel.js';
|
|
135
|
+
export { squircleStyle } from './Squircle.js';
|
|
136
|
+
export { visuallyHiddenStyle } from './VisuallyHidden.js';
|
|
137
|
+
export { overlapStyle } from './Overlap.js';
|
|
138
|
+
export { statusIndicatorStyle } from './StatusIndicator.js';
|
|
139
|
+
export { tooltipViewStyle } from './Tooltip.js';
|
|
140
|
+
export { iconStyle } from './Icon.js';
|
|
141
|
+
export { buttonClasses } from './Button.js';
|
|
142
|
+
export { modalStyles } from './Modal.js';
|
|
143
|
+
export { iconButtonLabelStyle, iconButtonStyle } from './IconButton.js';
|
|
144
|
+
export { chipStyle } from './Chip.js';
|
|
145
|
+
export { dividerStyle } from './Divider.js';
|
|
146
|
+
export { badgeStyles } from './Badge.js';
|
|
147
|
+
export { textFieldStyle } from './TextField.js';
|
|
148
|
+
export { pickerTextFieldStyle } from './PickerTextField.js';
|
|
149
|
+
export { popoverStyle } from './Popover.js';
|
|
150
|
+
export { alertStyles, alertTitleStyles } from './Alert.js';
|
|
151
|
+
export { listItemStyle } from './ListItem.js';
|
|
152
|
+
export { listStyle } from './List.js';
|
|
153
|
+
export { menuDividerStyle } from './MenuDivider.js';
|
|
154
|
+
export { menuItemTextStyle } from './MenuItemText.js';
|
|
155
|
+
export { menuItemStyle } from './MenuItem.js';
|
|
156
|
+
export { menuListStyle } from './MenuList.js';
|
|
157
|
+
export { menuStyle } from './Menu.js';
|
|
158
|
+
export { selectStyle } from './Select.js';
|
|
159
|
+
export { circularProgressIndicatorStyle } from './CircularProgressIndicator.js';
|
|
160
|
+
export { avatarGroupStyles } from './AvatarGroup.js';
|
|
161
|
+
export { backdropStyles } from './Backdrop.js';
|
|
162
|
+
export { bottomNavigationItemStyles } from './BottomNavigationItem.js';
|
|
163
|
+
export { popperPaperStyle } from './PopperPaper.js';
|
|
164
|
+
export { stepIconStyle } from './StepIcon.js';
|
|
165
|
+
export { stepLabelStyle } from './StepLabel.js';
|
|
166
|
+
export { stepConnectorStyle } from './StepConnector.js';
|
|
167
|
+
export { trayStyle } from './Tray.js';
|
|
168
|
+
export { virtualizedMenuStyle } from './VirtualizedMenu.js';
|
|
169
|
+
export { drawerStyles } from './Drawer.js';
|
|
170
|
+
export { dragHandleStyle } from './DragHandle.js';
|
|
171
|
+
import 'react/jsx-runtime';
|
|
172
|
+
import 'react';
|
|
173
|
+
import 'clsx';
|
|
174
|
+
import '@ringcentral/spring-icon';
|
|
175
|
+
import 'framer-motion';
|
|
176
|
+
import 'lodash/isNumber';
|
|
177
|
+
import 'lodash/kebabCase';
|
|
178
|
+
import 'lodash/isString';
|
|
179
|
+
import '@floating-ui/react-dom';
|
|
180
|
+
import 'tabbable';
|
|
181
|
+
import 'lodash/clamp';
|
|
182
|
+
import 'dayjs';
|
|
183
|
+
import '@date-io/dayjs';
|
|
184
|
+
import '@dnd-kit/utilities';
|
|
185
|
+
import '@dnd-kit/core';
|
|
186
|
+
import 'react-virtuoso';
|
|
187
|
+
import '@use-gesture/react';
|
|
188
|
+
import '@juggle/resize-observer';
|
|
189
|
+
import 'lodash/uniqueId';
|
|
190
|
+
import 'lodash/isEqual';
|
|
191
|
+
import 'lodash/throttle';
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ringcentral/spring-ui",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"author": "RingCentral",
|
|
5
|
+
"description": "A comprehensive React component library built with Tailwind CSS, featuring production-ready components",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"module": "./index.js",
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@date-io/dayjs": "^3.0.0",
|
|
11
|
+
"@dnd-kit/core": "^6.1.0",
|
|
12
|
+
"@dnd-kit/sortable": "^8.0.0",
|
|
13
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
14
|
+
"@floating-ui/react-dom": "2.1.1",
|
|
15
|
+
"@juggle/resize-observer": "3.4.0",
|
|
16
|
+
"@mui/base": "5.0.0-beta.40",
|
|
17
|
+
"@ringcentral/spring-base": "^1.7.0",
|
|
18
|
+
"@ringcentral/spring-icon": "^1.7.0",
|
|
19
|
+
"@ringcentral/spring-theme": "^1.7.0",
|
|
20
|
+
"@types/lodash": "^4.14.182",
|
|
21
|
+
"@use-gesture/react": "10.3.1",
|
|
22
|
+
"clsx": "^1.2.1",
|
|
23
|
+
"framer-motion": "^6.5.1",
|
|
24
|
+
"lodash": "^4.17.21",
|
|
25
|
+
"tabbable": "^6.0.0",
|
|
26
|
+
"type-fest": "^2.12.2"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"@types/react": ">=17.0.3",
|
|
30
|
+
"dayjs": "^1.11.13",
|
|
31
|
+
"react": ">=17.0.2",
|
|
32
|
+
"react-dom": ">=17.0.2",
|
|
33
|
+
"react-virtuoso": "4.7.10"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": false,
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"private": false,
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseAccordionClassesKey = 'root' | 'panel-wrapper' | 'panel-inner-wrapper';
|
|
3
|
+
export declare type AccordionClassesKey = CamelCase<BaseAccordionClassesKey>;
|
|
4
|
+
export declare type AccordionClasses = {
|
|
5
|
+
name: 'accordion';
|
|
6
|
+
classes: BaseAccordionClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionProps } from './Accordion.type';
|
|
3
|
+
import accordionStyles from './styles/Accordion.css';
|
|
4
|
+
declare const Accordion: import("react").ForwardRefExoticComponent<Pick<AccordionProps, "children" | "onKeyDown" | "onKeyUp" | "onClick" | "aria-hidden" | "dir" | "header" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "expanded" | "className" | "accessKey" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "keepMounted" | "defaultExpanded"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export { Accordion, accordionStyles };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { StandardProps } from '@ringcentral/spring-base';
|
|
3
|
+
import { AccordionClassesKey } from './Accordion.classes';
|
|
4
|
+
export declare type AccordionProps = StandardProps<{
|
|
5
|
+
/**
|
|
6
|
+
* Slot for header of Accordion.
|
|
7
|
+
*/
|
|
8
|
+
header: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* If `true`, expands the accordion by default.
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
defaultExpanded?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* If `true`, expands the accordion, otherwise collapse it.
|
|
16
|
+
* Setting this prop enables control over the accordion.
|
|
17
|
+
*/
|
|
18
|
+
expanded?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Callback fired when the expand/collapse state is changed.
|
|
21
|
+
*
|
|
22
|
+
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
23
|
+
* @param {boolean} expanded The `expanded` state of the accordion.
|
|
24
|
+
*/
|
|
25
|
+
onChange?: (event: SyntheticEvent, expanded: boolean) => void;
|
|
26
|
+
/**
|
|
27
|
+
* false: will unmount content whenever collapsed
|
|
28
|
+
* true: keep displayed children mounted when collapsed
|
|
29
|
+
*/
|
|
30
|
+
keepMounted?: boolean;
|
|
31
|
+
}, AccordionClassesKey, 'div'>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type AccordionContextValue = {
|
|
3
|
+
id?: string;
|
|
4
|
+
ariaControls?: string;
|
|
5
|
+
expanded?: boolean;
|
|
6
|
+
toggle?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const AccordionContext: import("react").Context<AccordionContextValue>;
|
|
9
|
+
export declare const useAccordionContext: () => AccordionContextValue;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseAccordionHeaderClassesKey = 'root' | 'content' | 'primary-text' | 'secondary-slot' | 'expand-icon';
|
|
3
|
+
export declare type AccordionHeaderClassesKey = CamelCase<BaseAccordionHeaderClassesKey>;
|
|
4
|
+
export declare type AccordionHeaderClasses = {
|
|
5
|
+
name: 'accordion-header';
|
|
6
|
+
classes: BaseAccordionHeaderClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionHeaderProps } from './AccordionHeader.type';
|
|
3
|
+
import accordionHeaderStyles from './styles/AccordionHeader.css';
|
|
4
|
+
declare const AccordionHeader: import("react").ForwardRefExoticComponent<Pick<AccordionHeaderProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "aria-hidden" | "dir" | "form" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "name" | "className" | "accessKey" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "placeholder" | "type" | "onFocusVisible" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "formEncType" | "secondarySlot" | "expandIcon" | "ExpandCollapseCaretProps"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { AccordionHeader, accordionHeaderStyles };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { StandardProps, UseFocusVisibleOptions } from '@ringcentral/spring-base';
|
|
3
|
+
import { ExpandCollapseCaretProps } from '../Animation/components/ExpandCollapseCaret';
|
|
4
|
+
import { AccordionHeaderClassesKey } from './AccordionHeader.classes';
|
|
5
|
+
export declare type AccordionHeaderProps = StandardProps<{
|
|
6
|
+
/** If children is not string,
|
|
7
|
+
* **should** handle truncation tooltip by adding title attribute on the actual component containing the string */
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
/** secondary content slot of the header. */
|
|
10
|
+
secondarySlot?: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* If `true`, the component will be disabled.
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the component will show an ExpandCollapseCaret icon.
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
expandIcon?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Props passed to the ExpandCollapseCaret component
|
|
23
|
+
*/
|
|
24
|
+
ExpandCollapseCaretProps?: Partial<ExpandCollapseCaretProps>;
|
|
25
|
+
} & Pick<UseFocusVisibleOptions, 'onFocusVisible'>, AccordionHeaderClassesKey, 'button'>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
import type { AlertSeverity } from './Alert.type';
|
|
3
|
+
export declare type BaseAlertClassesKey = 'root' | 'icon' | 'body' | 'content' | 'action' | 'close' | 'info' | 'error' | 'warning' | 'success' | 'neutral' | `${AlertSeverity}-icon`;
|
|
4
|
+
export declare type AlertClassesKey = CamelCase<BaseAlertClassesKey>;
|
|
5
|
+
export declare type AlertClasses = {
|
|
6
|
+
name: 'alert';
|
|
7
|
+
classes: BaseAlertClassesKey;
|
|
8
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AlertProps, AlertTitleProps } from './Alert.type';
|
|
3
|
+
import alertStyles from './styles/Alert.css';
|
|
4
|
+
import alertTitleStyles from './styles/AlertTitle.css';
|
|
5
|
+
export declare const Alert: import("react").ForwardRefExoticComponent<Pick<AlertProps<"div">, "classes" | "key" | "action" | keyof import("react").HTMLAttributes<HTMLDivElement> | "component" | "icon" | "onClose" | "startSlot" | "closeText" | "severity" | "CloseButtonProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export declare const AlertTitle: React.FC<AlertTitleProps>;
|
|
7
|
+
export { alertStyles, alertTitleStyles };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React, { ElementType } from 'react';
|
|
2
|
+
import { OverridableComponent, OverridableProps, StandardProps, WithClassesProps } from '@ringcentral/spring-base';
|
|
3
|
+
import { IconButtonProps } from '../IconButton';
|
|
4
|
+
import { AlertClassesKey } from './Alert.classes';
|
|
5
|
+
import { AlertTitleClassesKey } from './AlertTitle.classes';
|
|
6
|
+
declare type DefaultElementType = 'div';
|
|
7
|
+
declare type ExtendElementType = ElementType;
|
|
8
|
+
export declare type AlertSeverity = 'info' | 'error' | 'success' | 'warning' | 'neutral';
|
|
9
|
+
declare type BaseAlertProps = WithClassesProps<{
|
|
10
|
+
/**
|
|
11
|
+
* The action to display. It renders after the message, at the end of the alert.
|
|
12
|
+
*/
|
|
13
|
+
action?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use startSlot instead. Will be removed in the next major version.
|
|
16
|
+
* Override the icon displayed before the children.
|
|
17
|
+
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
icon?: React.ComponentType | boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The content to display at the start of the alert, before the message.
|
|
24
|
+
* If not provided and severity is set, a default icon will be shown.
|
|
25
|
+
*/
|
|
26
|
+
startSlot?: React.ComponentType | React.ReactElement | null;
|
|
27
|
+
/**
|
|
28
|
+
* Callback fired when the component requests to be closed.
|
|
29
|
+
*
|
|
30
|
+
* When this callback is set, a close icon button is displayed that triggers the callback when clicked.
|
|
31
|
+
*/
|
|
32
|
+
onClose?: () => void;
|
|
33
|
+
/**
|
|
34
|
+
* Override the default label for the *close popup* icon button.
|
|
35
|
+
*
|
|
36
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
37
|
+
*/
|
|
38
|
+
closeText?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The severity of the alert. This defines the color and icon used.
|
|
41
|
+
*
|
|
42
|
+
* @default "info"
|
|
43
|
+
*/
|
|
44
|
+
severity?: AlertSeverity;
|
|
45
|
+
/**
|
|
46
|
+
* Props applied to the IconButton component used for the close button.
|
|
47
|
+
*/
|
|
48
|
+
CloseButtonProps?: IconButtonProps;
|
|
49
|
+
}, AlertClassesKey>;
|
|
50
|
+
export declare type AlertProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseAlertProps, T>;
|
|
51
|
+
export declare type AlertComponent = OverridableComponent<{
|
|
52
|
+
props: BaseAlertProps;
|
|
53
|
+
defaultComponent: DefaultElementType;
|
|
54
|
+
}>;
|
|
55
|
+
export declare type AlertTitleProps = StandardProps<{}, AlertTitleClassesKey, 'div'>;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseAlertTitleClassesKey = 'root';
|
|
3
|
+
export declare type AlertTitleClassesKey = CamelCase<BaseAlertTitleClassesKey>;
|
|
4
|
+
export declare type AlertTitleClasses = {
|
|
5
|
+
name: 'alert-title';
|
|
6
|
+
classes: BaseAlertTitleClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseExpandCollapseCaretClassesKey = 'root' | 'vertical' | 'horizontal';
|
|
3
|
+
export declare type ExpandCollapseCaretClassesKey = CamelCase<BaseExpandCollapseCaretClassesKey>;
|
|
4
|
+
export declare type ExpandCollapseCaretClasses = {
|
|
5
|
+
name: 'expand-collapse-caret';
|
|
6
|
+
classes: BaseExpandCollapseCaretClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WithClassesProps } from '@ringcentral/spring-base';
|
|
2
|
+
import { IconProps } from '../../../Icon';
|
|
3
|
+
import { MotionComponent } from '../types';
|
|
4
|
+
import { ExpandCollapseCaretClassesKey } from './ExpandCollapseCaret.classes';
|
|
5
|
+
import expandCollapseCaretStyles from './styles/ExpandCollapseCaret.css';
|
|
6
|
+
declare type Orientation = 'vertical' | 'horizontal';
|
|
7
|
+
export declare type ExpandCollapseCaretProps = WithClassesProps<{
|
|
8
|
+
/**
|
|
9
|
+
* The orientation of the caret.
|
|
10
|
+
* @default 'vertical'
|
|
11
|
+
*/
|
|
12
|
+
orientation?: Orientation;
|
|
13
|
+
expanded: boolean;
|
|
14
|
+
size?: IconProps['size'];
|
|
15
|
+
} & Omit<IconProps, 'symbol' | 'size' | 'classes'>, ExpandCollapseCaretClassesKey>;
|
|
16
|
+
export declare const ExpandCollapseCaret: MotionComponent<ExpandCollapseCaretProps>;
|
|
17
|
+
export { expandCollapseCaretStyles };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MotionProps } from 'framer-motion';
|
|
2
|
+
import { CommonMotionOptions } from '../types';
|
|
3
|
+
export declare type GetFadeOptions = CommonMotionOptions;
|
|
4
|
+
export declare const getFade: ({ toggle, prefersReducedMotion, toggleOnTransition, toggleOffTransition, }?: GetFadeOptions) => MotionProps;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Placement } from '@floating-ui/react-dom';
|
|
2
|
+
import { MotionProps } from 'framer-motion';
|
|
3
|
+
import { CommonMotionOptions } from '../types';
|
|
4
|
+
declare type Direction = 'x' | 'y' | 'both';
|
|
5
|
+
declare type VerticalTransformOrigin = 'top' | 'center' | 'bottom' | number;
|
|
6
|
+
declare type HorizontalTransformOrigin = 'left' | 'center' | 'right' | number;
|
|
7
|
+
export declare type GetGrowOptions = CommonMotionOptions & {
|
|
8
|
+
direction?: Direction;
|
|
9
|
+
prefersReducedMotion?: boolean;
|
|
10
|
+
transformOrigin?: {
|
|
11
|
+
vertical: VerticalTransformOrigin;
|
|
12
|
+
horizontal: HorizontalTransformOrigin;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const getGrow: ({ toggle, direction, prefersReducedMotion, toggleOffTransition, toggleOnTransition, transformOrigin, }?: GetGrowOptions) => MotionProps;
|
|
16
|
+
export declare const getTransformOriginStringForPlacement: (params: {
|
|
17
|
+
placement: Placement;
|
|
18
|
+
}) => string | undefined;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseShowHideEyeClassesKey = 'root';
|
|
3
|
+
export declare type ShowHideEyeClassesKey = CamelCase<BaseShowHideEyeClassesKey>;
|
|
4
|
+
export declare type ShowHideEyeClasses = {
|
|
5
|
+
name: 'show-hide-eye';
|
|
6
|
+
classes: BaseShowHideEyeClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WithClassesProps } from '@ringcentral/spring-base';
|
|
2
|
+
import { IconProps } from '../../../Icon';
|
|
3
|
+
import { MotionComponent } from '../types';
|
|
4
|
+
import { ShowHideEyeClassesKey } from './ShowHideEye.classes';
|
|
5
|
+
import showHideEyeStyles from './styles/ShowHideEye.css';
|
|
6
|
+
export declare type ShowHideEyeProps = WithClassesProps<{
|
|
7
|
+
/**
|
|
8
|
+
* If `true`, the eye is closed.
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
hide: boolean;
|
|
12
|
+
} & Omit<IconProps, 'symbol' | 'classes'>, ShowHideEyeClassesKey>;
|
|
13
|
+
export declare const ShowHideEye: MotionComponent<ShowHideEyeProps>;
|
|
14
|
+
export { showHideEyeStyles };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
2
|
+
import { ComponentType } from 'react';
|
|
3
|
+
import { GetSlideInOptions } from './getSlideIn';
|
|
4
|
+
export declare type SlideInProps = GetSlideInOptions & HTMLMotionProps<'div'>;
|
|
5
|
+
export declare const SlideIn: ComponentType<SlideInProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MotionProps, Transition } from 'framer-motion';
|
|
2
|
+
import { CommonMotionOptions } from '../types';
|
|
3
|
+
declare type Direction = 'right' | 'left' | 'top' | 'bottom';
|
|
4
|
+
export declare type GetSlideInOptions = CommonMotionOptions & {
|
|
5
|
+
from?: Direction;
|
|
6
|
+
transition?: Transition;
|
|
7
|
+
};
|
|
8
|
+
export declare const getSlideIn: ({ toggle, from, prefersReducedMotion, toggleOnTransition, toggleOffTransition, }?: GetSlideInOptions) => MotionProps;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseSortableArrowClassesKey = 'root';
|
|
3
|
+
export declare type SortableArrowClassesKey = CamelCase<BaseSortableArrowClassesKey>;
|
|
4
|
+
export declare type SortableArrowClasses = {
|
|
5
|
+
name: 'sortable-arrow';
|
|
6
|
+
classes: BaseSortableArrowClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WithClassesProps } from '@ringcentral/spring-base';
|
|
2
|
+
import { IconProps } from '../../../Icon';
|
|
3
|
+
import { SortDirection } from '../../../TableCell';
|
|
4
|
+
import { MotionComponent } from '../types';
|
|
5
|
+
import { SortableArrowClassesKey } from './SortableArrow.classes';
|
|
6
|
+
export declare type SortableArrowProps = WithClassesProps<{
|
|
7
|
+
direction: SortDirection;
|
|
8
|
+
} & Omit<IconProps, 'symbol' | 'classes'>, SortableArrowClassesKey>;
|
|
9
|
+
export declare const SortableArrow: MotionComponent<SortableArrowProps>;
|