@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
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseCallButtonClassesKey = 'root' | 'end' | 'start';
|
|
3
|
+
export declare type CallButtonClassesKey = CamelCase<BaseCallButtonClassesKey>;
|
|
4
|
+
export declare type CallButtonClasses = {
|
|
5
|
+
name: 'call-button';
|
|
6
|
+
classes: BaseCallButtonClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OverridableComponent, OverridableProps, UnionOmit, WithClassesProps } from '@ringcentral/spring-base';
|
|
2
|
+
import { IconButtonProps } from '../IconButton';
|
|
3
|
+
import { IconButtonClassesKey } from '../IconButton/IconButton.classes';
|
|
4
|
+
export declare type DefaultElementType = 'button';
|
|
5
|
+
declare type ExtendElementType = 'button';
|
|
6
|
+
declare type BaseCallButtonProps = Omit<IconButtonProps, 'classes' | 'symbol' | 'label' | 'color' | 'variant' | 'shape' | 'size'> & WithClassesProps<{
|
|
7
|
+
variant: 'start' | 'end';
|
|
8
|
+
/**
|
|
9
|
+
* The size of the component.
|
|
10
|
+
* @default "medium"
|
|
11
|
+
*/
|
|
12
|
+
size?: 'large' | 'medium' | 'small';
|
|
13
|
+
}, UnionOmit<IconButtonClassesKey, 'rectangular' | 'outlined' | 'label' | 'primary'>>;
|
|
14
|
+
export declare type CallButtonProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseCallButtonProps, T>;
|
|
15
|
+
export declare type CallButtonComponent = OverridableComponent<{
|
|
16
|
+
props: BaseCallButtonProps;
|
|
17
|
+
defaultComponent: DefaultElementType;
|
|
18
|
+
}>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
import { CheckboxShape } from './Checkbox.type';
|
|
3
|
+
export declare type BaseCheckboxClassesKey = 'root' | 'inner' | CheckboxShape | 'input' | `inner-${CheckboxShape}`;
|
|
4
|
+
export declare type CheckboxClassesKey = CamelCase<BaseCheckboxClassesKey>;
|
|
5
|
+
export declare type CheckboxClasses = {
|
|
6
|
+
name: 'checkbox';
|
|
7
|
+
classes: BaseCheckboxClassesKey;
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import checkboxStyle from './styles/Checkbox.css';
|
|
3
|
+
declare const Checkbox: import("react").ForwardRefExoticComponent<import("@ringcentral/spring-base").ClassesProp<import("./Checkbox.classes").CheckboxClassesKey> & {
|
|
4
|
+
indeterminate?: boolean | undefined;
|
|
5
|
+
autoFocus?: boolean | undefined;
|
|
6
|
+
inputRef?: import("react").Ref<HTMLInputElement> | undefined;
|
|
7
|
+
rootProps?: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className"> | undefined;
|
|
8
|
+
inputProps?: Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "className" | "type" | "ref"> | undefined;
|
|
9
|
+
shape?: import("./Checkbox.type").CheckboxShape | undefined;
|
|
10
|
+
} & Omit<import("@mui/base").UseSwitchParameters, "readonly"> & {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
} & import("@ringcentral/spring-base").HTMLDataAttribute & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export { Checkbox, checkboxStyle };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ComponentProps, Ref } from 'react';
|
|
2
|
+
import { UseSwitchParameters } from '@mui/base';
|
|
3
|
+
import { StandardProps } from '@ringcentral/spring-base';
|
|
4
|
+
import { CheckboxClassesKey } from './Checkbox.classes';
|
|
5
|
+
export declare type CheckboxShape = 'rectangular' | 'squircle';
|
|
6
|
+
export declare type CheckboxProps = StandardProps<{
|
|
7
|
+
/**
|
|
8
|
+
* If `true`, the component appears indeterminate.
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
indeterminate?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* If `true`, the Checkbox will be automatically focused on mount.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
autoFocus?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Pass a ref to the `input` element.
|
|
19
|
+
*/
|
|
20
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
21
|
+
/** Attributes applied to root */
|
|
22
|
+
rootProps?: Omit<ComponentProps<'div'>, 'className'>;
|
|
23
|
+
/** Attributes applied to `input` element */
|
|
24
|
+
inputProps?: Omit<ComponentProps<'input'>, 'className' | 'type' | 'ref'>;
|
|
25
|
+
/**
|
|
26
|
+
* The shape of the checkbox.
|
|
27
|
+
* @default 'rectangular'
|
|
28
|
+
*/
|
|
29
|
+
shape?: CheckboxShape;
|
|
30
|
+
} & Omit<UseSwitchParameters, 'readonly'>, CheckboxClassesKey>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseChipClassesKey = 'root' | 'truncate' | 'label' | 'large' | 'medium' | 'small' | 'delete-icon' | 'default' | 'error' | 'clickable';
|
|
3
|
+
export declare type ChipClassesKey = CamelCase<BaseChipClassesKey>;
|
|
4
|
+
export declare type ChipClasses = {
|
|
5
|
+
name: 'chip';
|
|
6
|
+
classes: BaseChipClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { OverridableComponent, OverridableProps, WithClassesProps } from '@ringcentral/spring-base';
|
|
2
|
+
import { KeyboardEvent, MouseEvent, ReactElement } from 'react';
|
|
3
|
+
import { IconButtonProps } from '../IconButton';
|
|
4
|
+
import { ChipClassesKey } from './Chip.classes';
|
|
5
|
+
declare type DefaultElementType = 'div';
|
|
6
|
+
export declare type ExtendElementType = 'div' | 'a';
|
|
7
|
+
declare type BaseChipProps = WithClassesProps<{
|
|
8
|
+
/**
|
|
9
|
+
* Slot for putting an Avatar or Icon before label
|
|
10
|
+
*/
|
|
11
|
+
startSlot?: ReactElement;
|
|
12
|
+
/**
|
|
13
|
+
* This prop isn't supported.
|
|
14
|
+
* Use the `component` prop if you need to change the children structure.
|
|
15
|
+
*/
|
|
16
|
+
children?: null;
|
|
17
|
+
/**
|
|
18
|
+
* If `true`, the chip will appear clickable,
|
|
19
|
+
* even if the onClick prop is not defined.
|
|
20
|
+
* If `false`, the chip will not appear clickable, even if onClick prop is defined.
|
|
21
|
+
* This can be used, for example,
|
|
22
|
+
* along with the component prop to indicate an anchor Chip is clickable.
|
|
23
|
+
* Note: this controls the UI and does not affect the onClick event.
|
|
24
|
+
*/
|
|
25
|
+
clickable?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, there is a max-width at 144,
|
|
28
|
+
* If `false`, there is no max-width.
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
truncate?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The color of the component.
|
|
34
|
+
* @default 'default'
|
|
35
|
+
*/
|
|
36
|
+
color?: 'default' | 'error';
|
|
37
|
+
/**
|
|
38
|
+
* The size of the component.
|
|
39
|
+
* @default 'large'
|
|
40
|
+
*/
|
|
41
|
+
size?: 'large' | 'medium' | 'small';
|
|
42
|
+
/**
|
|
43
|
+
* The content of the component.
|
|
44
|
+
*/
|
|
45
|
+
label?: React.ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Callback fired
|
|
48
|
+
* 1. when the delete icon is clicked
|
|
49
|
+
* 2. press 'Backspace' or 'Delete' when Chip is focused
|
|
50
|
+
* If set, the delete icon will be shown.
|
|
51
|
+
*/
|
|
52
|
+
onDelete?: (event: MouseEvent<Element> | KeyboardEvent<Element>) => void;
|
|
53
|
+
/** Attributes applied to delete icon button */
|
|
54
|
+
DeleteIconProps?: Omit<IconButtonProps, 'variant' | 'size' | 'shape'>;
|
|
55
|
+
/**
|
|
56
|
+
* If `true`, the component is disabled.
|
|
57
|
+
*/
|
|
58
|
+
disabled?: boolean;
|
|
59
|
+
}, ChipClassesKey>;
|
|
60
|
+
export declare type ChipProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseChipProps, T>;
|
|
61
|
+
export declare type ChipComponent = OverridableComponent<{
|
|
62
|
+
props: BaseChipProps;
|
|
63
|
+
defaultComponent: DefaultElementType;
|
|
64
|
+
}>;
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
import type { CircularProgressIndicatorVariant, CircularProgressIndicatorSize, CircularProgressIndicatorColor } from './CircularProgressIndicator.type';
|
|
3
|
+
declare type CircularProgressIndicatorSlot = 'outer-circle' | 'progress-circle' | 'inner-circle';
|
|
4
|
+
export declare type BaseCircularProgressIndicatorClassesKey = 'root' | CircularProgressIndicatorSlot | CircularProgressIndicatorVariant | CircularProgressIndicatorSize | CircularProgressIndicatorColor | `${CircularProgressIndicatorVariant}-${CircularProgressIndicatorSlot}` | `${CircularProgressIndicatorVariant}-${CircularProgressIndicatorSize}` | `${CircularProgressIndicatorVariant}-${CircularProgressIndicatorColor}`;
|
|
5
|
+
export declare type CircularProgressIndicatorClassesKey = CamelCase<BaseCircularProgressIndicatorClassesKey>;
|
|
6
|
+
export declare type CircularProgressIndicatorClasses = {
|
|
7
|
+
name: 'circular-progress-indicator';
|
|
8
|
+
classes: BaseCircularProgressIndicatorClassesKey;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CircularProgressIndicatorProps } from './CircularProgressIndicator.type';
|
|
3
|
+
import circularProgressIndicatorStyle from './styles/CircularProgressIndicator.css';
|
|
4
|
+
declare const CircularProgressIndicator: React.ForwardRefExoticComponent<Pick<CircularProgressIndicatorProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onClick" | "aria-hidden" | "dir" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "className" | "accessKey" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "placeholder" | "size" | "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}` | "variant" | "progressBarProps"> & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
export { CircularProgressIndicator, circularProgressIndicatorStyle };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { StandardProps } from '@ringcentral/spring-base';
|
|
3
|
+
import { CircularProgressIndicatorClassesKey } from './CircularProgressIndicator.classes';
|
|
4
|
+
export declare type CircularProgressIndicatorVariant = 'indeterminate' | 'determinate';
|
|
5
|
+
export declare type CircularProgressIndicatorSize = 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
|
6
|
+
export declare type CircularProgressIndicatorColor = 'primary' | 'neutral' | 'danger' | 'success' | 'warning';
|
|
7
|
+
export declare type CircularProgressIndicatorProps = StandardProps<{
|
|
8
|
+
/**
|
|
9
|
+
* The variant of the indicator.
|
|
10
|
+
* @default indeterminate
|
|
11
|
+
*/
|
|
12
|
+
variant?: CircularProgressIndicatorVariant;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the size of the indicator.
|
|
15
|
+
* @default large
|
|
16
|
+
*/
|
|
17
|
+
size?: CircularProgressIndicatorSize;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the color of the indicator.
|
|
20
|
+
* @default primary
|
|
21
|
+
*/
|
|
22
|
+
color?: CircularProgressIndicatorColor;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the value of the indicator.
|
|
25
|
+
* Only applies to variant `determinate`
|
|
26
|
+
*/
|
|
27
|
+
value?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the props that are applied to the `role="progressbar"` element
|
|
30
|
+
*/
|
|
31
|
+
progressBarProps?: Omit<ComponentProps<'span'>, 'ref' | 'role'>;
|
|
32
|
+
}, CircularProgressIndicatorClassesKey, 'span'>;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import type { PartialDeep } from 'type-fest';
|
|
2
|
+
import type { AccordionProps } from './Accordion';
|
|
3
|
+
import type { AccordionHeaderProps } from './AccordionHeader';
|
|
4
|
+
import type { AlertProps } from './Alert';
|
|
5
|
+
import type { AnnouncementProps } from './Announcement';
|
|
6
|
+
import type { AutocompleteProps } from './Autocomplete';
|
|
7
|
+
import type { SuggestionListProps } from './Autocomplete/SuggestionList';
|
|
8
|
+
import type { AvatarProps } from './Avatar';
|
|
9
|
+
import type { AvatarGroupProps } from './AvatarGroup';
|
|
10
|
+
import type { BackdropProps } from './Backdrop';
|
|
11
|
+
import type { BadgeProps } from './Badge';
|
|
12
|
+
import type { BlockProps } from './Block';
|
|
13
|
+
import type { BlockHeaderProps } from './BlockHeader';
|
|
14
|
+
import type { BottomNavigationProps } from './BottomNavigation';
|
|
15
|
+
import type { BottomNavigationItemProps } from './BottomNavigationItem';
|
|
16
|
+
import type { ButtonProps } from './Button';
|
|
17
|
+
import type { CallButtonProps } from './CallButton';
|
|
18
|
+
import type { CheckboxProps } from './Checkbox';
|
|
19
|
+
import type { ChipProps } from './Chip';
|
|
20
|
+
import type { CircularProgressIndicatorProps } from './CircularProgressIndicator';
|
|
21
|
+
import type { DatePickerProps } from './DatePicker';
|
|
22
|
+
import type { DialDeleteProps, DialPadProps, DialTextFieldProps } from './Dialer';
|
|
23
|
+
import type { DialogProps } from './Dialog';
|
|
24
|
+
import type { DrawerProps } from './Drawer';
|
|
25
|
+
import type { DividerProps } from './Divider';
|
|
26
|
+
import type { DropdownProps } from './Dropdown';
|
|
27
|
+
import type { SwipeableDrawerProps } from './SwipeableDrawer';
|
|
28
|
+
import type { EmptyStateProps } from './EmptyState';
|
|
29
|
+
import type { FabButtonProps } from './FabButton';
|
|
30
|
+
import type { FormFieldProps } from './FormField';
|
|
31
|
+
import type { FormLabelProps } from './FormLabel';
|
|
32
|
+
import type { IconProps } from './Icon';
|
|
33
|
+
import type { IconButtonLabelProps, IconButtonProps } from './IconButton';
|
|
34
|
+
import type { IconButtonGroupProps } from './IconButtonGroup';
|
|
35
|
+
import type { InlineEditableProps } from './InlineEditable';
|
|
36
|
+
import type { LinearProgressIndicatorProps } from './LinearProgressIndicator';
|
|
37
|
+
import type { LinkProps } from './Link';
|
|
38
|
+
import type { ListProps } from './List';
|
|
39
|
+
import type { ListItemProps } from './ListItem';
|
|
40
|
+
import type { ListItemTextProps } from './ListItemText';
|
|
41
|
+
import type { MenuProps } from './Menu';
|
|
42
|
+
import type { MenuActionsProps } from './MenuActions';
|
|
43
|
+
import type { MenuDividerProps } from './MenuDivider';
|
|
44
|
+
import type { MenuFooterProps } from './MenuFooter';
|
|
45
|
+
import type { MenuHeaderProps } from './MenuHeader';
|
|
46
|
+
import type { MenuItemProps } from './MenuItem';
|
|
47
|
+
import type { MenuItemTextProps } from './MenuItemText';
|
|
48
|
+
import type { MenuListProps } from './MenuList';
|
|
49
|
+
import type { ModalProps } from './Modal';
|
|
50
|
+
import type { OptionProps } from './Option';
|
|
51
|
+
import type { OverlapProps } from './Overlap';
|
|
52
|
+
import type { TablePaginationProps } from './TablePagination';
|
|
53
|
+
import type { PageHeaderCenterProps, PageHeaderLeftProps, PageHeaderProps, PageHeaderRightProps, PageHeaderTitleProps } from './PageHeader';
|
|
54
|
+
import type { PopoverProps } from './Popover';
|
|
55
|
+
import type { PopperProps } from './Popper';
|
|
56
|
+
import type { PopperPaperProps } from './PopperPaper';
|
|
57
|
+
import type { RadioProps } from './Radio';
|
|
58
|
+
import type { RadioGroupProps } from './RadioGroup';
|
|
59
|
+
import type { SelectProps } from './Select';
|
|
60
|
+
import type { SingleFilterProps } from './SingleFilter';
|
|
61
|
+
import type { SkeletonContainerProps, SkeletonProps } from './Skeleton';
|
|
62
|
+
import type { SliderProps } from './Slider';
|
|
63
|
+
import type { SnackbarProps } from './Snackbar';
|
|
64
|
+
import type { SortableListProps } from './SortableList';
|
|
65
|
+
import type { SortableListDndContextProps } from './SortableListDndContext';
|
|
66
|
+
import type { SortableVirtualizedListProps } from './SortableVirtualizedList';
|
|
67
|
+
import type { SplitButtonProps } from './SplitButton';
|
|
68
|
+
import type { SquircleProps } from './Squircle';
|
|
69
|
+
import type { StatusIndicatorProps } from './StatusIndicator';
|
|
70
|
+
import type { SubMenuProps } from './SubMenu';
|
|
71
|
+
import type { SwitchProps } from './Switch';
|
|
72
|
+
import type { TabProps } from './Tab';
|
|
73
|
+
import type { TabPanelProps } from './TabPanel';
|
|
74
|
+
import type { TabsProps } from './Tabs';
|
|
75
|
+
import type { TagProps } from './Tag';
|
|
76
|
+
import type { TextFieldProps } from './TextField';
|
|
77
|
+
import type { TextareaProps } from './Textarea';
|
|
78
|
+
import type { TimePickerProps } from './TimePicker';
|
|
79
|
+
import type { TooltipProps } from './Tooltip';
|
|
80
|
+
import type { TrayPanelProps, TrayProps } from './Tray';
|
|
81
|
+
import type { TrayMenuItemProps, TrayMenuProps } from './TrayMenu';
|
|
82
|
+
import type { VirtualizedListProps } from './VirtualizedList';
|
|
83
|
+
import type { VirtualizedMenuProps } from './VirtualizedMenu';
|
|
84
|
+
import type { TextProps } from './Text';
|
|
85
|
+
import type { TableProps } from './Table';
|
|
86
|
+
import type { TableBodyProps } from './TableBody';
|
|
87
|
+
import type { TableCellProps } from './TableCell';
|
|
88
|
+
import type { TableHeadProps } from './TableHead';
|
|
89
|
+
import type { TableRowProps } from './TableRow';
|
|
90
|
+
import type { TableContainerProps } from './TableContainer';
|
|
91
|
+
import type { StepProps } from './Step';
|
|
92
|
+
import type { StepperProps } from './Stepper';
|
|
93
|
+
import type { StepConnectorProps } from './StepConnector';
|
|
94
|
+
import type { StepLabelProps } from './StepLabel';
|
|
95
|
+
import type { StepIconProps } from './StepIcon';
|
|
96
|
+
import type { StepButtonProps } from './StepButton';
|
|
97
|
+
import type { StepContentProps } from './StepContent';
|
|
98
|
+
import type { RatingProps } from './Rating';
|
|
99
|
+
export declare type ComponentsProps = PartialDeep<{
|
|
100
|
+
Accordion?: AccordionProps;
|
|
101
|
+
AccordionHeader?: AccordionHeaderProps;
|
|
102
|
+
Alert?: AlertProps;
|
|
103
|
+
Announcement?: AnnouncementProps;
|
|
104
|
+
Avatar?: AvatarProps;
|
|
105
|
+
AvatarGroup?: AvatarGroupProps;
|
|
106
|
+
Badge?: BadgeProps;
|
|
107
|
+
Block?: BlockProps;
|
|
108
|
+
BlockHeader?: BlockHeaderProps;
|
|
109
|
+
BottomNavigation?: BottomNavigationProps;
|
|
110
|
+
BottomNavigationItem?: BottomNavigationItemProps;
|
|
111
|
+
Button?: ButtonProps;
|
|
112
|
+
CallButton?: CallButtonProps;
|
|
113
|
+
Checkbox?: CheckboxProps;
|
|
114
|
+
Chip?: ChipProps;
|
|
115
|
+
CircularProgressIndicator?: CircularProgressIndicatorProps;
|
|
116
|
+
Dialog?: DialogProps;
|
|
117
|
+
Drawer?: DrawerProps;
|
|
118
|
+
SwipeableDrawer?: SwipeableDrawerProps;
|
|
119
|
+
DialDelete?: DialDeleteProps;
|
|
120
|
+
DialPad?: DialPadProps;
|
|
121
|
+
DialTextField?: DialTextFieldProps;
|
|
122
|
+
Divider?: DividerProps;
|
|
123
|
+
Dropdown?: DropdownProps;
|
|
124
|
+
EmptyState?: EmptyStateProps;
|
|
125
|
+
FabButton?: FabButtonProps;
|
|
126
|
+
FormField?: FormFieldProps;
|
|
127
|
+
FormLabel?: FormLabelProps;
|
|
128
|
+
Icon?: IconProps;
|
|
129
|
+
IconButton?: IconButtonProps;
|
|
130
|
+
IconButtonLabel?: IconButtonLabelProps;
|
|
131
|
+
LinearProgressIndicator?: LinearProgressIndicatorProps;
|
|
132
|
+
Link?: LinkProps;
|
|
133
|
+
List?: ListProps;
|
|
134
|
+
ListItem?: ListItemProps;
|
|
135
|
+
ListItemText?: ListItemTextProps;
|
|
136
|
+
Menu?: MenuProps;
|
|
137
|
+
MenuActions?: MenuActionsProps;
|
|
138
|
+
MenuDivider?: MenuDividerProps;
|
|
139
|
+
MenuFooter?: MenuFooterProps;
|
|
140
|
+
MenuHeader?: MenuHeaderProps;
|
|
141
|
+
MenuItem?: MenuItemProps;
|
|
142
|
+
MenuItemText?: MenuItemTextProps;
|
|
143
|
+
MenuList?: MenuListProps;
|
|
144
|
+
Option?: OptionProps;
|
|
145
|
+
Overlap?: OverlapProps;
|
|
146
|
+
PageHeader?: PageHeaderProps;
|
|
147
|
+
Popover?: PopoverProps;
|
|
148
|
+
Popper?: PopperProps;
|
|
149
|
+
Radio?: RadioProps;
|
|
150
|
+
RadioGroup?: RadioGroupProps;
|
|
151
|
+
Select?: SelectProps;
|
|
152
|
+
SingleFilter?: SingleFilterProps;
|
|
153
|
+
Skeleton?: SkeletonProps;
|
|
154
|
+
SkeletonContainer?: SkeletonContainerProps;
|
|
155
|
+
Slider?: SliderProps;
|
|
156
|
+
Snackbar?: SnackbarProps;
|
|
157
|
+
SplitButton?: SplitButtonProps;
|
|
158
|
+
Squircle?: SquircleProps;
|
|
159
|
+
StatusIndicator?: StatusIndicatorProps;
|
|
160
|
+
SubMenu?: SubMenuProps;
|
|
161
|
+
Switch?: SwitchProps;
|
|
162
|
+
Tab?: TabProps;
|
|
163
|
+
Tabs?: TabsProps;
|
|
164
|
+
TabPanel?: TabPanelProps;
|
|
165
|
+
Tag?: TagProps;
|
|
166
|
+
TextField?: TextFieldProps;
|
|
167
|
+
Textarea?: TextareaProps;
|
|
168
|
+
Tooltip?: TooltipProps;
|
|
169
|
+
Tray?: TrayProps;
|
|
170
|
+
TrayPanel?: TrayPanelProps;
|
|
171
|
+
TrayMenu?: TrayMenuProps;
|
|
172
|
+
TrayMenuItem?: TrayMenuItemProps;
|
|
173
|
+
Backdrop?: BackdropProps;
|
|
174
|
+
VirtualizedList?: VirtualizedListProps;
|
|
175
|
+
VirtualizedMenu?: VirtualizedMenuProps;
|
|
176
|
+
SortableListDndContext?: SortableListDndContextProps;
|
|
177
|
+
SortableList?: SortableListProps;
|
|
178
|
+
SortableVirtualizedList?: SortableVirtualizedListProps;
|
|
179
|
+
InlineEditable?: InlineEditableProps;
|
|
180
|
+
Autocomplete?: AutocompleteProps;
|
|
181
|
+
SuggestionList?: SuggestionListProps;
|
|
182
|
+
DatePicker?: DatePickerProps;
|
|
183
|
+
TimePicker?: TimePickerProps;
|
|
184
|
+
PopperPaper?: PopperPaperProps;
|
|
185
|
+
Modal?: ModalProps;
|
|
186
|
+
Text?: TextProps;
|
|
187
|
+
Table?: TableProps;
|
|
188
|
+
TableBody?: TableBodyProps;
|
|
189
|
+
TableCell?: TableCellProps;
|
|
190
|
+
TableHead?: TableHeadProps;
|
|
191
|
+
TableRow?: TableRowProps;
|
|
192
|
+
TableContainer?: TableContainerProps;
|
|
193
|
+
Step?: StepProps;
|
|
194
|
+
Stepper?: StepperProps;
|
|
195
|
+
StepConnector?: StepConnectorProps;
|
|
196
|
+
StepLabel?: StepLabelProps;
|
|
197
|
+
StepIcon?: StepIconProps;
|
|
198
|
+
StepButton?: StepButtonProps;
|
|
199
|
+
StepContent?: StepContentProps;
|
|
200
|
+
Rating?: RatingProps;
|
|
201
|
+
PageHeaderLeft?: PageHeaderLeftProps;
|
|
202
|
+
PageHeaderCenter?: PageHeaderCenterProps;
|
|
203
|
+
PageHeaderRight?: PageHeaderRightProps;
|
|
204
|
+
PageHeaderTitle?: PageHeaderTitleProps;
|
|
205
|
+
TablePagination?: TablePaginationProps;
|
|
206
|
+
IconButtonGroup?: IconButtonGroupProps;
|
|
207
|
+
}>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DateType } from './DatePicker.type';
|
|
3
|
+
declare type CalendarProps = {
|
|
4
|
+
/** DateRange for setting */
|
|
5
|
+
dateRange: {
|
|
6
|
+
/** Min date @DateIOType */
|
|
7
|
+
min: DateType;
|
|
8
|
+
/** Max date @DateIOType */
|
|
9
|
+
max: DateType;
|
|
10
|
+
};
|
|
11
|
+
/** Disable past dates */
|
|
12
|
+
disablePast?: boolean;
|
|
13
|
+
/** Disable future dates */
|
|
14
|
+
disableFuture?: boolean;
|
|
15
|
+
/** Text label for Today button */
|
|
16
|
+
todayButtonText?: string;
|
|
17
|
+
/** Date format string, default with 'MM/DD/YYYY' */
|
|
18
|
+
formatString?: string;
|
|
19
|
+
/** Custom renderer for day @DateIOType */
|
|
20
|
+
renderDay?: (
|
|
21
|
+
/** day to render */
|
|
22
|
+
day: DateType,
|
|
23
|
+
/** the selelcted Date */
|
|
24
|
+
selectedDate: DateType,
|
|
25
|
+
/** is the day in current month */
|
|
26
|
+
dayInCurrentMonth: boolean,
|
|
27
|
+
/** day Component */
|
|
28
|
+
dayComponent: JSX.Element) => JSX.Element;
|
|
29
|
+
/** Disable specific date @DateIOType */
|
|
30
|
+
shouldDisableDate: (day: DateType) => boolean;
|
|
31
|
+
/** Callback firing on month change. Return promise to render spinner till it will not be resolved @DateIOType */
|
|
32
|
+
onMonthChange?: (date: DateType) => void | Promise<void>;
|
|
33
|
+
/** Custom loading indicator */
|
|
34
|
+
loadingIndicator?: JSX.Element;
|
|
35
|
+
date: DateType;
|
|
36
|
+
onSelectDay: (day: DateType, fromUserSelect?: boolean) => void;
|
|
37
|
+
getInvalidateDateInRange: (day: DateType) => false | DateType;
|
|
38
|
+
};
|
|
39
|
+
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export { Calendar };
|
|
41
|
+
export type { CalendarProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CamelCase } from 'type-fest';
|
|
2
|
+
export declare type BaseDatePickerClassesKey = 'root' | 'calendar' | 'header' | 'header-action' | 'switch-year-action' | 'switch-year-action-caret' | 'switch-month-actions-group' | 'switch-month-action' | 'date-button' | 'current-date' | 'day' | 'year' | 'years-panel' | 'days-panel' | 'days-grid' | 'weekdays' | 'weekday' | 'loading-container' | 'today-button';
|
|
3
|
+
export declare type DatePickerClassesKey = CamelCase<BaseDatePickerClassesKey>;
|
|
4
|
+
export declare type DatePickerClasses = {
|
|
5
|
+
name: 'date-picker';
|
|
6
|
+
classes: BaseDatePickerClassesKey;
|
|
7
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Cls } from '@ringcentral/spring-base';
|
|
3
|
+
import { DatePickerClasses } from './DatePicker.classes';
|
|
4
|
+
declare const DatePickerClassesContext: import("react").Context<Cls<DatePickerClasses>>;
|
|
5
|
+
declare const useDatePickerClasses: () => Cls<DatePickerClasses>;
|
|
6
|
+
export { DatePickerClassesContext, useDatePickerClasses };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DatePickerProps } from './DatePicker.type';
|
|
3
|
+
import datePickerStyle from './styles/DatePicker.css';
|
|
4
|
+
declare const DEFAULT_FORMAT = "MM/DD/YYYY";
|
|
5
|
+
declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<DatePickerProps, "error" | "value" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "label" | "classes" | "focused" | "required" | "className" | "id" | "key" | "max" | "min" | "placeholder" | "size" | "type" | "onFocus" | "onBlur" | "onChange" | "action" | `data-${string}` | "helperText" | "FormHelperTextProps" | "variant" | "fullWidth" | "onClose" | "autoFocus" | "loadingIndicator" | "inputProps" | "inputRef" | "endAdornment" | "startAdornment" | "RootProps" | "clearBtn" | "useNativeClearBtn" | "clearText" | "showCharacterCount" | "ClearButtonProps" | "onClear" | "showMaskValueToggleButton" | "maskValue" | "onMaskValueChange" | "MaskValueButtonProps" | "ShowHideEyeIconProps" | "announcementText" | "PopoverProps" | "endIconSymbol" | "textInputClasses" | "screenReaderProps" | "disableFuture" | "disablePast" | "todayButtonText" | "formatString" | "renderDay" | "shouldDisableDate" | "onMonthChange" | "onSelectDay" | "locale"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { DatePicker, datePickerStyle, DEFAULT_FORMAT };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StandardProps } from '@ringcentral/spring-base';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import { PickerTextField } from '../PickerTextField';
|
|
4
|
+
import { CalendarProps } from './Calendar';
|
|
5
|
+
import { DatePickerClassesKey } from './DatePicker.classes';
|
|
6
|
+
import { ScreenReaderProps } from './utils';
|
|
7
|
+
export declare type DateType = dayjs.Dayjs;
|
|
8
|
+
export declare type DatePickerProps = StandardProps<{
|
|
9
|
+
/**
|
|
10
|
+
* Calendar onChange
|
|
11
|
+
*
|
|
12
|
+
* @param {Date} date update date value
|
|
13
|
+
* @param {boolean} fromUserSelect is that change come from user select day, when `false` mean that is come from range limitation
|
|
14
|
+
*/
|
|
15
|
+
onChange?: (date: Date | null, fromUserSelect?: boolean) => void;
|
|
16
|
+
/** i18n locale country */
|
|
17
|
+
locale?: string;
|
|
18
|
+
/** value for picker */
|
|
19
|
+
value?: Date | null;
|
|
20
|
+
/**
|
|
21
|
+
* Customize aria-labels for DatePicker components.
|
|
22
|
+
* Pass this prop for localization or custom accessibility labels.
|
|
23
|
+
* If not provided, default English labels will be used.
|
|
24
|
+
*/
|
|
25
|
+
screenReaderProps?: ScreenReaderProps;
|
|
26
|
+
/** Date format string, default with 'MM/DD/YYYY' */
|
|
27
|
+
formatString?: string;
|
|
28
|
+
/** when hover on the textField, if show the clearBtn. With default is true. */
|
|
29
|
+
clearBtn?: boolean;
|
|
30
|
+
/** Min date */
|
|
31
|
+
min?: Date | DateType | null;
|
|
32
|
+
/** Max date */
|
|
33
|
+
max?: Date | DateType | null;
|
|
34
|
+
/** Text label for Today button */
|
|
35
|
+
todayButtonText?: string;
|
|
36
|
+
} & Omit<Partial<CalendarProps>, 'date' | 'dateRange' | 'handleDaySelect' | 'getInvalidateDateInRange'>, DatePickerClassesKey, typeof PickerTextField, 'value' | 'children' | 'defaultValue'>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { SlideDirection } from './SlideDirection';
|
|
3
|
+
import { DateType } from './DatePicker.type';
|
|
4
|
+
declare type ViewType = 'day' | 'year';
|
|
5
|
+
declare type DatePickerHeaderProps = {
|
|
6
|
+
/** the month on display */
|
|
7
|
+
focusedDate: DateType;
|
|
8
|
+
/** with options 'right' | 'left' */
|
|
9
|
+
slideDirection: SlideDirection;
|
|
10
|
+
/** the current view mode, with options 'day' | 'year'. */
|
|
11
|
+
view: ViewType;
|
|
12
|
+
/** when change view mode */
|
|
13
|
+
onViewChange: () => void;
|
|
14
|
+
/** trigger when Month changes */
|
|
15
|
+
onMonthChange: (
|
|
16
|
+
/** the month selected */
|
|
17
|
+
date: DateType,
|
|
18
|
+
/** slideDirection */
|
|
19
|
+
direction: SlideDirection) => void | Promise<void>;
|
|
20
|
+
/** is disable PrevMonth? with default false. */
|
|
21
|
+
disablePrevMonth?: boolean;
|
|
22
|
+
/** is disable NextMonth? with default false. */
|
|
23
|
+
disableNextMonth?: boolean;
|
|
24
|
+
};
|
|
25
|
+
declare const DatePickerHeader: FunctionComponent<DatePickerHeaderProps>;
|
|
26
|
+
export { DatePickerHeader };
|
|
27
|
+
export type { DatePickerHeaderProps, ViewType };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PropsWithRoot } from '@ringcentral/spring-base';
|
|
3
|
+
import { DateType } from './DatePicker.type';
|
|
4
|
+
declare type DayProps = PropsWithRoot<{
|
|
5
|
+
/** display as content */
|
|
6
|
+
children: string;
|
|
7
|
+
/** is the year disabled */
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
/** is the year focused */
|
|
10
|
+
focused?: boolean;
|
|
11
|
+
/** when user select */
|
|
12
|
+
onSelect: (value: string) => void;
|
|
13
|
+
/** is the year selected */
|
|
14
|
+
selected: boolean;
|
|
15
|
+
/** the value of the year */
|
|
16
|
+
value: string;
|
|
17
|
+
/** tabindex */
|
|
18
|
+
date: DateType;
|
|
19
|
+
current: boolean;
|
|
20
|
+
}, 'button', 'className'>;
|
|
21
|
+
declare const Day: import("react").ForwardRefExoticComponent<Pick<DayProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "current" | "aria-hidden" | "dir" | "form" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "name" | "focused" | "selected" | "accessKey" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "placeholder" | "type" | "date" | "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" | "autoFocus" | "formEncType"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
22
|
+
export { Day };
|
|
23
|
+
export type { DayProps };
|