@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.
Files changed (766) hide show
  1. package/Accordion.js +64 -0
  2. package/AccordionHeader.js +33 -0
  3. package/Alert.js +28 -0
  4. package/Animation.js +46 -0
  5. package/Announcement.js +48 -0
  6. package/Autocomplete.js +1767 -0
  7. package/Avatar.js +105 -0
  8. package/AvatarGroup.js +9 -0
  9. package/Backdrop.js +9 -0
  10. package/Badge.js +15 -0
  11. package/Block.js +20 -0
  12. package/BlockHeader.js +18 -0
  13. package/BottomNavigation.js +145 -0
  14. package/BottomNavigationItem.js +30 -0
  15. package/Button.js +24 -0
  16. package/CallButton.js +39 -0
  17. package/Checkbox.js +55 -0
  18. package/Chip.js +26 -0
  19. package/CircularProgressIndicator.js +10 -0
  20. package/ClickAwayListener.js +1 -0
  21. package/ComponentsProps.js +1 -0
  22. package/DatePicker.js +485 -0
  23. package/DateUtilsContext.js +56 -0
  24. package/Dialer.js +587 -0
  25. package/Dialog.js +62 -0
  26. package/Divider.js +9 -0
  27. package/DragHandle.js +8 -0
  28. package/Drawer.js +19 -0
  29. package/Dropdown.js +132 -0
  30. package/EmptyState.js +17 -0
  31. package/FabButton.js +32 -0
  32. package/FocusTrap.js +48 -0
  33. package/FormField.js +10 -0
  34. package/FormLabel.js +9 -0
  35. package/Icon.js +9 -0
  36. package/IconButton.js +26 -0
  37. package/IconButtonGroup.js +18 -0
  38. package/InlineEditable.js +98 -0
  39. package/LICENSE +22 -0
  40. package/LinearProgressIndicator.js +44 -0
  41. package/Link.js +18 -0
  42. package/List.js +11 -0
  43. package/ListItem.js +22 -0
  44. package/ListItemText.js +18 -0
  45. package/ListNavigation.js +57 -0
  46. package/Menu.js +23 -0
  47. package/MenuActions.js +21 -0
  48. package/MenuDivider.js +10 -0
  49. package/MenuFooter.js +18 -0
  50. package/MenuHeader.js +18 -0
  51. package/MenuItem.js +32 -0
  52. package/MenuItemText.js +9 -0
  53. package/MenuList.js +33 -0
  54. package/Modal.js +16 -0
  55. package/NestedMenuContext.js +23 -0
  56. package/Option.js +46 -0
  57. package/Overlap.js +9 -0
  58. package/PageHeader.js +56 -0
  59. package/PickerTextField.js +33 -0
  60. package/Popover.js +21 -0
  61. package/Popper.js +127 -0
  62. package/PopperPaper.js +10 -0
  63. package/Portal.js +1 -0
  64. package/README.md +76 -0
  65. package/Radio.js +34 -0
  66. package/RadioGroup.js +29 -0
  67. package/Rating.js +235 -0
  68. package/Select.js +40 -0
  69. package/SingleFilter.js +130 -0
  70. package/Skeleton.js +32 -0
  71. package/Slider.js +110 -0
  72. package/Snackbar.js +118 -0
  73. package/SortableList.js +17 -0
  74. package/SortableListDndContext.js +49 -0
  75. package/SortableListItem.js +69 -0
  76. package/SortableVirtualizedList.js +36 -0
  77. package/SplitButton.js +173 -0
  78. package/Squircle.js +9 -0
  79. package/StatusIndicator.js +11 -0
  80. package/Step.js +65 -0
  81. package/StepButton.js +41 -0
  82. package/StepConnector.js +10 -0
  83. package/StepContent.js +53 -0
  84. package/StepIcon.js +11 -0
  85. package/StepLabel.js +14 -0
  86. package/Stepper.js +37 -0
  87. package/SubMenu.js +142 -0
  88. package/SwipeableDrawer.js +742 -0
  89. package/Switch.js +43 -0
  90. package/Tab.js +103 -0
  91. package/TabContext.js +34 -0
  92. package/TabPanel.js +26 -0
  93. package/Table.js +24 -0
  94. package/TableBody.js +20 -0
  95. package/TableCell.js +86 -0
  96. package/TableContainer.js +16 -0
  97. package/TableFooter.js +16 -0
  98. package/TableHead.js +24 -0
  99. package/TablePagination.js +122 -0
  100. package/TableRow.js +37 -0
  101. package/Tabs.js +827 -0
  102. package/Tag.js +28 -0
  103. package/Text.js +61 -0
  104. package/TextField.js +29 -0
  105. package/Textarea.js +67 -0
  106. package/TimePicker.js +600 -0
  107. package/Tooltip.js +23 -0
  108. package/Tray.js +13 -0
  109. package/TrayMenu.js +60 -0
  110. package/VirtualizedList.js +291 -0
  111. package/VirtualizedMenu.js +28 -0
  112. package/VisuallyHidden.js +8 -0
  113. package/chunks/AccordionContext.js +6 -0
  114. package/chunks/Alert.js +47 -0
  115. package/chunks/AvatarGroup.js +22 -0
  116. package/chunks/Backdrop.js +18 -0
  117. package/chunks/Badge.js +32 -0
  118. package/chunks/BottomNavigationItem.js +37 -0
  119. package/chunks/Button.js +89 -0
  120. package/chunks/Chip.js +78 -0
  121. package/chunks/CircularProgressIndicator.js +62 -0
  122. package/chunks/Divider.js +19 -0
  123. package/chunks/DragHandle.js +11 -0
  124. package/chunks/Drawer.js +61 -0
  125. package/chunks/ExpandCollapseCaret.js +24 -0
  126. package/chunks/FormLabel.js +27 -0
  127. package/chunks/Icon.js +25 -0
  128. package/chunks/IconButtonLabel.js +69 -0
  129. package/chunks/List.js +22 -0
  130. package/chunks/ListItem.js +86 -0
  131. package/chunks/Menu.js +41 -0
  132. package/chunks/MenuDivider.js +15 -0
  133. package/chunks/MenuItemText.js +16 -0
  134. package/chunks/MenuList.js +49 -0
  135. package/chunks/Modal.js +88 -0
  136. package/chunks/Overlap.js +25 -0
  137. package/chunks/PickerTextField.js +75 -0
  138. package/chunks/Popover.js +58 -0
  139. package/chunks/PopperPaper.js +15 -0
  140. package/chunks/RadioGroup.context.js +19 -0
  141. package/chunks/Select.js +257 -0
  142. package/chunks/ShowHideEye.js +56 -0
  143. package/chunks/SlideIn.js +19 -0
  144. package/chunks/SortableArrow.js +73 -0
  145. package/chunks/Squircle.js +38 -0
  146. package/chunks/StatusIndicator.js +19 -0
  147. package/chunks/StepConnector.js +21 -0
  148. package/chunks/StepIcon.js +45 -0
  149. package/chunks/StepLabel.js +29 -0
  150. package/chunks/StepperContext.js +16 -0
  151. package/chunks/TableContext.js +6 -0
  152. package/chunks/Tablelvl2Context.js +6 -0
  153. package/chunks/TabsContext.js +6 -0
  154. package/chunks/TextField.js +111 -0
  155. package/chunks/Tooltip.js +253 -0
  156. package/chunks/VirtualizedMenu.js +216 -0
  157. package/chunks/VisuallyHidden.js +12 -0
  158. package/chunks/getFade.js +23 -0
  159. package/chunks/getGrow.js +70 -0
  160. package/chunks/getSlideIn.js +30 -0
  161. package/chunks/useFocusTrapStack.js +44 -0
  162. package/chunks/useHelperTextId.js +46 -0
  163. package/chunks/useListNavigation.js +211 -0
  164. package/chunks/useMenuItemSelect.js +252 -0
  165. package/chunks/useMotionSafeTransition.js +13 -0
  166. package/chunks/useNestedMenuItem.js +16 -0
  167. package/chunks/useNestedParentMenu.js +54 -0
  168. package/chunks/usePrefersReducedMotion.js +42 -0
  169. package/chunks/useTooltipForceHide.js +31 -0
  170. package/chunks/useTrayNavigate.js +151 -0
  171. package/chunks/withTooltip.js +15 -0
  172. package/index.css +10891 -0
  173. package/index.d.ts +1 -0
  174. package/index.js +191 -0
  175. package/package.json +41 -0
  176. package/src/Accordion/Accordion.classes.d.ts +7 -0
  177. package/src/Accordion/Accordion.d.ts +5 -0
  178. package/src/Accordion/Accordion.type.d.ts +31 -0
  179. package/src/Accordion/AccordionContext.d.ts +9 -0
  180. package/src/Accordion/index.d.ts +4 -0
  181. package/src/AccordionHeader/AccordionHeader.classes.d.ts +7 -0
  182. package/src/AccordionHeader/AccordionHeader.d.ts +5 -0
  183. package/src/AccordionHeader/AccordionHeader.type.d.ts +25 -0
  184. package/src/AccordionHeader/index.d.ts +3 -0
  185. package/src/Alert/Alert.classes.d.ts +8 -0
  186. package/src/Alert/Alert.d.ts +7 -0
  187. package/src/Alert/Alert.type.d.ts +56 -0
  188. package/src/Alert/AlertTitle.classes.d.ts +7 -0
  189. package/src/Alert/index.d.ts +4 -0
  190. package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.classes.d.ts +7 -0
  191. package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.d.ts +17 -0
  192. package/src/Animation/components/ExpandCollapseCaret/index.d.ts +2 -0
  193. package/src/Animation/components/Fade/Fade.d.ts +5 -0
  194. package/src/Animation/components/Fade/getFade.d.ts +4 -0
  195. package/src/Animation/components/Fade/index.d.ts +2 -0
  196. package/src/Animation/components/Grow/Grow.d.ts +5 -0
  197. package/src/Animation/components/Grow/getGrow.d.ts +19 -0
  198. package/src/Animation/components/Grow/index.d.ts +2 -0
  199. package/src/Animation/components/ShowHideEye/ShowHideEye.classes.d.ts +7 -0
  200. package/src/Animation/components/ShowHideEye/ShowHideEye.d.ts +14 -0
  201. package/src/Animation/components/ShowHideEye/index.d.ts +2 -0
  202. package/src/Animation/components/SlideIn/SlideIn.d.ts +5 -0
  203. package/src/Animation/components/SlideIn/getSlideIn.d.ts +9 -0
  204. package/src/Animation/components/SlideIn/index.d.ts +2 -0
  205. package/src/Animation/components/SortableArrow/SortableArrow.classes.d.ts +7 -0
  206. package/src/Animation/components/SortableArrow/SortableArrow.d.ts +9 -0
  207. package/src/Animation/components/SortableArrow/index.d.ts +2 -0
  208. package/src/Animation/components/index.d.ts +7 -0
  209. package/src/Animation/components/types.d.ts +9 -0
  210. package/src/Animation/hooks/__mocks__/MatchMedia.mock.d.ts +12 -0
  211. package/src/Animation/hooks/index.d.ts +2 -0
  212. package/src/Animation/hooks/useMotionSafeTransition/index.d.ts +1 -0
  213. package/src/Animation/hooks/useMotionSafeTransition/useMotionSafeTransition.d.ts +10 -0
  214. package/src/Animation/hooks/usePrefersReducedMotion/index.d.ts +1 -0
  215. package/src/Animation/hooks/usePrefersReducedMotion/usePrefersReducedMotion.d.ts +1 -0
  216. package/src/Animation/index.d.ts +2 -0
  217. package/src/Announcement/Announcement.classes.d.ts +8 -0
  218. package/src/Announcement/Announcement.d.ts +5 -0
  219. package/src/Announcement/Announcement.type.d.ts +4 -0
  220. package/src/Announcement/index.d.ts +3 -0
  221. package/src/Autocomplete/Autocomplete.classes.d.ts +14 -0
  222. package/src/Autocomplete/Autocomplete.d.ts +11 -0
  223. package/src/Autocomplete/Autocomplete.type.d.ts +141 -0
  224. package/src/Autocomplete/SuggestionList/SuggestionList.classes.d.ts +7 -0
  225. package/src/Autocomplete/SuggestionList/SuggestionList.d.ts +144 -0
  226. package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +28 -0
  227. package/src/Autocomplete/SuggestionList/index.d.ts +4 -0
  228. package/src/Autocomplete/SuggestionList/utils/SuggestionListItem.d.ts +33 -0
  229. package/src/Autocomplete/SuggestionList/utils/index.d.ts +5 -0
  230. package/src/Autocomplete/SuggestionList/utils/useDynamicHeight.d.ts +20 -0
  231. package/src/Autocomplete/SuggestionList/utils/useHighlightScroll.d.ts +33 -0
  232. package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +101 -0
  233. package/src/Autocomplete/SuggestionList/utils/useSuggestionListGroup.d.ts +71 -0
  234. package/src/Autocomplete/index.d.ts +6 -0
  235. package/src/Autocomplete/useAutocomplete.d.ts +640 -0
  236. package/src/Autocomplete/useAutocompleteTag.d.ts +599 -0
  237. package/src/Avatar/Avatar.classes.d.ts +10 -0
  238. package/src/Avatar/Avatar.d.ts +4 -0
  239. package/src/Avatar/Avatar.type.d.ts +91 -0
  240. package/src/Avatar/index.d.ts +3 -0
  241. package/src/AvatarGroup/AvatarGroup.classes.d.ts +7 -0
  242. package/src/AvatarGroup/AvatarGroup.d.ts +6 -0
  243. package/src/AvatarGroup/AvatarGroup.type.d.ts +21 -0
  244. package/src/AvatarGroup/index.d.ts +3 -0
  245. package/src/Backdrop/Backdrop.classes.d.ts +7 -0
  246. package/src/Backdrop/Backdrop.d.ts +5 -0
  247. package/src/Backdrop/Backdrop.type.d.ts +9 -0
  248. package/src/Backdrop/index.d.ts +3 -0
  249. package/src/Badge/Badge.classes.d.ts +11 -0
  250. package/src/Badge/Badge.d.ts +8 -0
  251. package/src/Badge/Badge.type.d.ts +52 -0
  252. package/src/Badge/index.d.ts +3 -0
  253. package/src/Block/Block.classes.d.ts +8 -0
  254. package/src/Block/Block.d.ts +4 -0
  255. package/src/Block/Block.type.d.ts +44 -0
  256. package/src/Block/index.d.ts +3 -0
  257. package/src/BlockHeader/BlockHeader.classes.d.ts +7 -0
  258. package/src/BlockHeader/BlockHeader.d.ts +4 -0
  259. package/src/BlockHeader/BlockHeader.type.d.ts +19 -0
  260. package/src/BlockHeader/index.d.ts +3 -0
  261. package/src/BottomNavigation/BottomNavigation.classes.d.ts +7 -0
  262. package/src/BottomNavigation/BottomNavigation.d.ts +4 -0
  263. package/src/BottomNavigation/BottomNavigation.type.d.ts +62 -0
  264. package/src/BottomNavigation/BottomNavigationContext.d.ts +9 -0
  265. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.classes.d.ts +7 -0
  266. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.d.ts +5 -0
  267. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.type.d.ts +3 -0
  268. package/src/BottomNavigation/BottomNavigationGroup/index.d.ts +3 -0
  269. package/src/BottomNavigation/index.d.ts +5 -0
  270. package/src/BottomNavigationItem/BottomNavigationItem.classes.d.ts +7 -0
  271. package/src/BottomNavigationItem/BottomNavigationItem.d.ts +4 -0
  272. package/src/BottomNavigationItem/BottomNavigationItem.type.d.ts +63 -0
  273. package/src/BottomNavigationItem/index.d.ts +3 -0
  274. package/src/Button/Button.classes.d.ts +8 -0
  275. package/src/Button/Button.d.ts +6 -0
  276. package/src/Button/Button.type.d.ts +57 -0
  277. package/src/Button/index.d.ts +3 -0
  278. package/src/CallButton/CallButton.classes.d.ts +7 -0
  279. package/src/CallButton/CallButton.d.ts +4 -0
  280. package/src/CallButton/CallButton.type.d.ts +19 -0
  281. package/src/CallButton/index.d.ts +3 -0
  282. package/src/Checkbox/Checkbox.classes.d.ts +8 -0
  283. package/src/Checkbox/Checkbox.d.ts +13 -0
  284. package/src/Checkbox/Checkbox.type.d.ts +30 -0
  285. package/src/Checkbox/index.d.ts +3 -0
  286. package/src/Chip/Chip.classes.d.ts +7 -0
  287. package/src/Chip/Chip.d.ts +4 -0
  288. package/src/Chip/Chip.type.d.ts +65 -0
  289. package/src/Chip/index.d.ts +3 -0
  290. package/src/CircularProgressIndicator/CircularProgressIndicator.classes.d.ts +10 -0
  291. package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +5 -0
  292. package/src/CircularProgressIndicator/CircularProgressIndicator.type.d.ts +32 -0
  293. package/src/CircularProgressIndicator/index.d.ts +3 -0
  294. package/src/ClickAwayListener/index.d.ts +2 -0
  295. package/src/ComponentsProps.d.ts +207 -0
  296. package/src/DatePicker/Calendar.d.ts +41 -0
  297. package/src/DatePicker/DatePicker.classes.d.ts +7 -0
  298. package/src/DatePicker/DatePicker.context.d.ts +6 -0
  299. package/src/DatePicker/DatePicker.d.ts +6 -0
  300. package/src/DatePicker/DatePicker.type.d.ts +36 -0
  301. package/src/DatePicker/DatePickerHeader.d.ts +27 -0
  302. package/src/DatePicker/Day.d.ts +23 -0
  303. package/src/DatePicker/HearderAction.d.ts +3 -0
  304. package/src/DatePicker/SlideDirection.d.ts +1 -0
  305. package/src/DatePicker/Year.d.ts +21 -0
  306. package/src/DatePicker/Years.d.ts +21 -0
  307. package/src/DatePicker/index.d.ts +12 -0
  308. package/src/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +16 -0
  309. package/src/DatePicker/utils/DatePickerUtils.d.ts +13 -0
  310. package/src/DatePicker/utils/findClosestEnabledDate.d.ts +13 -0
  311. package/src/DatePicker/utils/index.d.ts +3 -0
  312. package/src/DateUtilsContext/DateUtilsContext.d.ts +22 -0
  313. package/src/DateUtilsContext/index.d.ts +1 -0
  314. package/src/Dialer/DialDelete/DialDelete.d.ts +14 -0
  315. package/src/Dialer/DialDelete/index.d.ts +1 -0
  316. package/src/Dialer/DialPad/DialPad.classes.d.ts +7 -0
  317. package/src/Dialer/DialPad/DialPad.d.ts +143 -0
  318. package/src/Dialer/DialPad/assets/DialerPadSoundsMPEG.d.ts +15 -0
  319. package/src/Dialer/DialPad/assets/DialerPadSoundsOGG.d.ts +15 -0
  320. package/src/Dialer/DialPad/assets/index.d.ts +3 -0
  321. package/src/Dialer/DialPad/index.d.ts +4 -0
  322. package/src/Dialer/DialPad/utils/DialPadUtils.d.ts +16 -0
  323. package/src/Dialer/DialPad/utils/index.d.ts +4 -0
  324. package/src/Dialer/DialPad/utils/types.d.ts +11 -0
  325. package/src/Dialer/DialPad/utils/useDialKeyboard.d.ts +16 -0
  326. package/src/Dialer/DialPad/utils/useKeyAudio.d.ts +15 -0
  327. package/src/Dialer/DialPadButton/DialPadButton.classes.d.ts +7 -0
  328. package/src/Dialer/DialPadButton/DialPadButton.d.ts +27 -0
  329. package/src/Dialer/DialPadButton/index.d.ts +2 -0
  330. package/src/Dialer/DialTextField/DialTextField.d.ts +37 -0
  331. package/src/Dialer/DialTextField/index.d.ts +2 -0
  332. package/src/Dialer/DialTextField/utils/getDialPadValueOnlyRegex.d.ts +4 -0
  333. package/src/Dialer/DialTextField/utils/index.d.ts +2 -0
  334. package/src/Dialer/DialTextField/utils/useFixedEndSelection.d.ts +10 -0
  335. package/src/Dialer/Dialer.d.ts +5 -0
  336. package/src/Dialer/index.d.ts +6 -0
  337. package/src/Dialer/utils/DialerContext.d.ts +13 -0
  338. package/src/Dialer/utils/index.d.ts +1 -0
  339. package/src/Dialog/Dialog.classes.d.ts +29 -0
  340. package/src/Dialog/Dialog.d.ts +8 -0
  341. package/src/Dialog/Dialog.type.d.ts +26 -0
  342. package/src/Dialog/index.d.ts +3 -0
  343. package/src/Divider/Divider.classes.d.ts +10 -0
  344. package/src/Divider/Divider.d.ts +4 -0
  345. package/src/Divider/Divider.type.d.ts +35 -0
  346. package/src/Divider/index.d.ts +3 -0
  347. package/src/DragHandle/DragHandle.classes.d.ts +8 -0
  348. package/src/DragHandle/DragHandle.d.ts +4 -0
  349. package/src/DragHandle/DragHandle.type.d.ts +17 -0
  350. package/src/DragHandle/index.d.ts +3 -0
  351. package/src/Drawer/Drawer.classes.d.ts +10 -0
  352. package/src/Drawer/Drawer.d.ts +33 -0
  353. package/src/Drawer/Drawer.type.d.ts +107 -0
  354. package/src/Drawer/index.d.ts +3 -0
  355. package/src/Dropdown/Dropdown.classes.d.ts +7 -0
  356. package/src/Dropdown/Dropdown.d.ts +4 -0
  357. package/src/Dropdown/Dropdown.type.d.ts +96 -0
  358. package/src/Dropdown/index.d.ts +3 -0
  359. package/src/EmptyState/EmptyState.classes.d.ts +7 -0
  360. package/src/EmptyState/EmptyState.d.ts +5 -0
  361. package/src/EmptyState/EmptyState.type.d.ts +21 -0
  362. package/src/EmptyState/index.d.ts +3 -0
  363. package/src/FabButton/FabButton.classes.d.ts +7 -0
  364. package/src/FabButton/FabButton.d.ts +4 -0
  365. package/src/FabButton/FabButton.type.d.ts +22 -0
  366. package/src/FabButton/index.d.ts +3 -0
  367. package/src/FocusTrap/FocusTrap.d.ts +49 -0
  368. package/src/FocusTrap/index.d.ts +2 -0
  369. package/src/FocusTrap/useFocusTrapStack.d.ts +16 -0
  370. package/src/FormField/FormField.classes.d.ts +9 -0
  371. package/src/FormField/FormField.d.ts +5 -0
  372. package/src/FormField/FormField.type.d.ts +46 -0
  373. package/src/FormField/index.d.ts +4 -0
  374. package/src/FormField/useHelperTextId.d.ts +30 -0
  375. package/src/FormLabel/FormLabel.classes.d.ts +10 -0
  376. package/src/FormLabel/FormLabel.d.ts +5 -0
  377. package/src/FormLabel/FormLabel.type.d.ts +26 -0
  378. package/src/FormLabel/FormLabelContext.d.ts +8 -0
  379. package/src/FormLabel/index.d.ts +4 -0
  380. package/src/Icon/Icon.classes.d.ts +7 -0
  381. package/src/Icon/Icon.d.ts +5 -0
  382. package/src/Icon/Icon.type.d.ts +25 -0
  383. package/src/Icon/index.d.ts +3 -0
  384. package/src/IconButton/IconButton.classes.d.ts +8 -0
  385. package/src/IconButton/IconButton.d.ts +4 -0
  386. package/src/IconButton/IconButton.type.d.ts +58 -0
  387. package/src/IconButton/IconButtonLabel.classes.d.ts +7 -0
  388. package/src/IconButton/IconButtonLabel.d.ts +5 -0
  389. package/src/IconButton/IconButtonLabel.type.d.ts +12 -0
  390. package/src/IconButton/index.d.ts +6 -0
  391. package/src/IconButtonGroup/IconButtonGroup.classes.d.ts +7 -0
  392. package/src/IconButtonGroup/IconButtonGroup.d.ts +4 -0
  393. package/src/IconButtonGroup/IconButtonGroup.type.d.ts +22 -0
  394. package/src/IconButtonGroup/index.d.ts +3 -0
  395. package/src/InlineEditable/InlineEditable.classes.d.ts +9 -0
  396. package/src/InlineEditable/InlineEditable.d.ts +5 -0
  397. package/src/InlineEditable/InlineEditable.type.d.ts +116 -0
  398. package/src/InlineEditable/index.d.ts +3 -0
  399. package/src/LinearProgressIndicator/LinearProgressIndicator.classes.d.ts +9 -0
  400. package/src/LinearProgressIndicator/LinearProgressIndicator.d.ts +5 -0
  401. package/src/LinearProgressIndicator/LinearProgressIndicator.type.d.ts +46 -0
  402. package/src/LinearProgressIndicator/index.d.ts +3 -0
  403. package/src/Link/Link.classes.d.ts +8 -0
  404. package/src/Link/Link.d.ts +4 -0
  405. package/src/Link/Link.type.d.ts +22 -0
  406. package/src/Link/index.d.ts +3 -0
  407. package/src/List/List.classes.d.ts +7 -0
  408. package/src/List/List.d.ts +5 -0
  409. package/src/List/List.type.d.ts +4 -0
  410. package/src/List/index.d.ts +3 -0
  411. package/src/ListItem/HoverActions.d.ts +8 -0
  412. package/src/ListItem/ListItem.classes.d.ts +7 -0
  413. package/src/ListItem/ListItem.d.ts +5 -0
  414. package/src/ListItem/ListItem.type.d.ts +58 -0
  415. package/src/ListItem/index.d.ts +4 -0
  416. package/src/ListItemText/ListItemText.classes.d.ts +9 -0
  417. package/src/ListItemText/ListItemText.d.ts +5 -0
  418. package/src/ListItemText/ListItemText.type.d.ts +33 -0
  419. package/src/ListItemText/index.d.ts +3 -0
  420. package/src/ListNavigation/ListNavigationContext.d.ts +8 -0
  421. package/src/ListNavigation/index.d.ts +3 -0
  422. package/src/ListNavigation/useItemNavigation.d.ts +9 -0
  423. package/src/ListNavigation/useListNavigation.d.ts +49 -0
  424. package/src/Menu/Menu.classes.d.ts +7 -0
  425. package/src/Menu/Menu.d.ts +5 -0
  426. package/src/Menu/Menu.type.d.ts +19 -0
  427. package/src/Menu/MenuContext.d.ts +7 -0
  428. package/src/Menu/index.d.ts +4 -0
  429. package/src/MenuActions/MenuActions.classes.d.ts +13 -0
  430. package/src/MenuActions/MenuActions.d.ts +9 -0
  431. package/src/MenuActions/MenuActions.type.d.ts +3 -0
  432. package/src/MenuActions/index.d.ts +3 -0
  433. package/src/MenuDivider/MenuDivider.classes.d.ts +7 -0
  434. package/src/MenuDivider/MenuDivider.d.ts +5 -0
  435. package/src/MenuDivider/MenuDivider.type.d.ts +3 -0
  436. package/src/MenuDivider/index.d.ts +3 -0
  437. package/src/MenuFooter/MenuFooter.classes.d.ts +7 -0
  438. package/src/MenuFooter/MenuFooter.d.ts +5 -0
  439. package/src/MenuFooter/MenuFooter.type.d.ts +9 -0
  440. package/src/MenuFooter/index.d.ts +3 -0
  441. package/src/MenuHeader/MenuHeader.classes.d.ts +7 -0
  442. package/src/MenuHeader/MenuHeader.d.ts +5 -0
  443. package/src/MenuHeader/MenuHeader.type.d.ts +18 -0
  444. package/src/MenuHeader/index.d.ts +3 -0
  445. package/src/MenuItem/MenuItem.classes.d.ts +7 -0
  446. package/src/MenuItem/MenuItem.d.ts +5 -0
  447. package/src/MenuItem/MenuItem.type.d.ts +29 -0
  448. package/src/MenuItem/MenuItemSelectContext.d.ts +18 -0
  449. package/src/MenuItem/index.d.ts +7 -0
  450. package/src/MenuItem/useMenuItem.d.ts +16 -0
  451. package/src/MenuItem/useMenuItemSelect.d.ts +62 -0
  452. package/src/MenuItem/useVirtualizedMenuItem.d.ts +15 -0
  453. package/src/MenuItemText/MenuItemText.classes.d.ts +7 -0
  454. package/src/MenuItemText/MenuItemText.d.ts +5 -0
  455. package/src/MenuItemText/MenuItemText.type.d.ts +27 -0
  456. package/src/MenuItemText/index.d.ts +3 -0
  457. package/src/MenuList/MenuList.classes.d.ts +7 -0
  458. package/src/MenuList/MenuList.d.ts +4 -0
  459. package/src/MenuList/MenuList.type.d.ts +16 -0
  460. package/src/MenuList/MenuListContext.d.ts +12 -0
  461. package/src/MenuList/index.d.ts +4 -0
  462. package/src/Modal/InnerModal.d.ts +18 -0
  463. package/src/Modal/InnerModal.type.d.ts +23 -0
  464. package/src/Modal/Modal.classes.d.ts +7 -0
  465. package/src/Modal/Modal.d.ts +24 -0
  466. package/src/Modal/Modal.type.d.ts +19 -0
  467. package/src/Modal/ModalContext.d.ts +10 -0
  468. package/src/Modal/index.d.ts +6 -0
  469. package/src/NestedMenuContext/NestedMenuContext.d.ts +11 -0
  470. package/src/NestedMenuContext/index.d.ts +4 -0
  471. package/src/NestedMenuContext/useNestedChildMenu.d.ts +6 -0
  472. package/src/NestedMenuContext/useNestedMenuItem.d.ts +5 -0
  473. package/src/NestedMenuContext/useNestedParentMenu.d.ts +8 -0
  474. package/src/Option/Option.d.ts +4 -0
  475. package/src/Option/Option.type.d.ts +7 -0
  476. package/src/Option/index.d.ts +2 -0
  477. package/src/Overlap/Overlap.classes.d.ts +7 -0
  478. package/src/Overlap/Overlap.d.ts +4 -0
  479. package/src/Overlap/Overlap.type.d.ts +30 -0
  480. package/src/Overlap/index.d.ts +3 -0
  481. package/src/PageHeader/PageHeader.classes.d.ts +32 -0
  482. package/src/PageHeader/PageHeader.d.ts +9 -0
  483. package/src/PageHeader/PageHeader.type.d.ts +14 -0
  484. package/src/PageHeader/index.d.ts +3 -0
  485. package/src/PickerTextField/PickerTextField.classes.d.ts +7 -0
  486. package/src/PickerTextField/PickerTextField.d.ts +5 -0
  487. package/src/PickerTextField/PickerTextField.type.d.ts +30 -0
  488. package/src/PickerTextField/index.d.ts +3 -0
  489. package/src/Popover/Popover.classes.d.ts +7 -0
  490. package/src/Popover/Popover.d.ts +5 -0
  491. package/src/Popover/Popover.type.d.ts +50 -0
  492. package/src/Popover/index.d.ts +3 -0
  493. package/src/Popper/Popper.d.ts +4 -0
  494. package/src/Popper/Popper.type.d.ts +92 -0
  495. package/src/Popper/index.d.ts +2 -0
  496. package/src/PopperPaper/PopperPaper.classes.d.ts +7 -0
  497. package/src/PopperPaper/PopperPaper.d.ts +5 -0
  498. package/src/PopperPaper/PopperPaper.type.d.ts +8 -0
  499. package/src/PopperPaper/index.d.ts +3 -0
  500. package/src/Portal/Portal.d.ts +2 -0
  501. package/src/Portal/index.d.ts +1 -0
  502. package/src/Radio/Radio.classes.d.ts +7 -0
  503. package/src/Radio/Radio.d.ts +12 -0
  504. package/src/Radio/Radio.type.d.ts +16 -0
  505. package/src/Radio/index.d.ts +3 -0
  506. package/src/RadioGroup/RadioGroup.classes.d.ts +7 -0
  507. package/src/RadioGroup/RadioGroup.context.d.ts +15 -0
  508. package/src/RadioGroup/RadioGroup.d.ts +5 -0
  509. package/src/RadioGroup/RadioGroup.type.d.ts +14 -0
  510. package/src/RadioGroup/index.d.ts +4 -0
  511. package/src/Rating/Rating.classes.d.ts +7 -0
  512. package/src/Rating/Rating.d.ts +5 -0
  513. package/src/Rating/Rating.type.d.ts +106 -0
  514. package/src/Rating/RatingItem.d.ts +3 -0
  515. package/src/Rating/index.d.ts +5 -0
  516. package/src/Rating/utils.d.ts +5 -0
  517. package/src/Select/Select.classes.d.ts +11 -0
  518. package/src/Select/Select.d.ts +4 -0
  519. package/src/Select/Select.type.d.ts +118 -0
  520. package/src/Select/index.d.ts +4 -0
  521. package/src/Select/useSelect.d.ts +16 -0
  522. package/src/SingleFilter/FilterButton/FilterButton.classes.d.ts +7 -0
  523. package/src/SingleFilter/FilterButton/FilterButton.d.ts +5 -0
  524. package/src/SingleFilter/FilterButton/FilterButton.type.d.ts +27 -0
  525. package/src/SingleFilter/FilterButton/index.d.ts +3 -0
  526. package/src/SingleFilter/SingleFilter.classes.d.ts +7 -0
  527. package/src/SingleFilter/SingleFilter.d.ts +5 -0
  528. package/src/SingleFilter/SingleFilter.type.d.ts +44 -0
  529. package/src/SingleFilter/index.d.ts +4 -0
  530. package/src/Skeleton/Skeleton.classes.d.ts +7 -0
  531. package/src/Skeleton/Skeleton.d.ts +5 -0
  532. package/src/Skeleton/Skeleton.type.d.ts +6 -0
  533. package/src/Skeleton/SkeletonContainer/SkeletonContainer.classes.d.ts +7 -0
  534. package/src/Skeleton/SkeletonContainer/SkeletonContainer.d.ts +5 -0
  535. package/src/Skeleton/SkeletonContainer/SkeletonContainer.type.d.ts +11 -0
  536. package/src/Skeleton/SkeletonContainer/index.d.ts +3 -0
  537. package/src/Skeleton/index.d.ts +4 -0
  538. package/src/Slider/Slider.classes.d.ts +13 -0
  539. package/src/Slider/Slider.d.ts +10 -0
  540. package/src/Slider/Slider.type.d.ts +137 -0
  541. package/src/Slider/SliderThumb.d.ts +16 -0
  542. package/src/Slider/index.d.ts +3 -0
  543. package/src/Slider/utils.d.ts +1 -0
  544. package/src/Snackbar/Snackbar.classes.d.ts +7 -0
  545. package/src/Snackbar/Snackbar.d.ts +5 -0
  546. package/src/Snackbar/Snackbar.hook.d.ts +1 -0
  547. package/src/Snackbar/Snackbar.type.d.ts +27 -0
  548. package/src/Snackbar/SnackbarContent/SnackbarContent.classes.d.ts +8 -0
  549. package/src/Snackbar/SnackbarContent/SnackbarContent.d.ts +5 -0
  550. package/src/Snackbar/SnackbarContent/SnackbarContent.type.d.ts +4 -0
  551. package/src/Snackbar/SnackbarContent/index.d.ts +3 -0
  552. package/src/Snackbar/index.d.ts +5 -0
  553. package/src/SortableList/SortableList.d.ts +3 -0
  554. package/src/SortableList/SortableList.type.d.ts +20 -0
  555. package/src/SortableList/index.d.ts +2 -0
  556. package/src/SortableListDndContext/DndKeyboardBlocker.d.ts +2 -0
  557. package/src/SortableListDndContext/SortableListDndContext.d.ts +4 -0
  558. package/src/SortableListDndContext/SortableListDndContext.type.d.ts +5 -0
  559. package/src/SortableListDndContext/index.d.ts +5 -0
  560. package/src/SortableListDndContext/useSortableListDndContext.d.ts +2 -0
  561. package/src/SortableListDndContext/utils.d.ts +1 -0
  562. package/src/SortableListItem/SortableListItem.d.ts +4 -0
  563. package/src/SortableListItem/SortableListItem.type.d.ts +6 -0
  564. package/src/SortableListItem/SortableListItemOverlay.d.ts +4 -0
  565. package/src/SortableListItem/SortableListItemOverlay.type.d.ts +8 -0
  566. package/src/SortableListItem/index.d.ts +4 -0
  567. package/src/SortableVirtualizedList/SortableVirtualizedList.d.ts +3 -0
  568. package/src/SortableVirtualizedList/SortableVirtualizedList.type.d.ts +19 -0
  569. package/src/SortableVirtualizedList/index.d.ts +2 -0
  570. package/src/SplitButton/SplitButton.classes.d.ts +8 -0
  571. package/src/SplitButton/SplitButton.d.ts +5 -0
  572. package/src/SplitButton/SplitButton.type.d.ts +37 -0
  573. package/src/SplitButton/index.d.ts +3 -0
  574. package/src/Squircle/Squircle.d.ts +4 -0
  575. package/src/Squircle/Squircle.type.d.ts +19 -0
  576. package/src/Squircle/index.d.ts +3 -0
  577. package/src/Squircle/squircle.classes.d.ts +7 -0
  578. package/src/StatusIndicator/StatusIndicator.classes.d.ts +7 -0
  579. package/src/StatusIndicator/StatusIndicator.d.ts +8 -0
  580. package/src/StatusIndicator/StatusIndicator.type.d.ts +14 -0
  581. package/src/StatusIndicator/index.d.ts +3 -0
  582. package/src/Step/Step.classes.d.ts +7 -0
  583. package/src/Step/Step.d.ts +4 -0
  584. package/src/Step/Step.type.d.ts +50 -0
  585. package/src/Step/StepContext.d.ts +22 -0
  586. package/src/Step/index.d.ts +4 -0
  587. package/src/StepButton/StepButton.classes.d.ts +7 -0
  588. package/src/StepButton/StepButton.d.ts +4 -0
  589. package/src/StepButton/StepButton.type.d.ts +34 -0
  590. package/src/StepButton/index.d.ts +3 -0
  591. package/src/StepConnector/StepConnector.classes.d.ts +7 -0
  592. package/src/StepConnector/StepConnector.d.ts +5 -0
  593. package/src/StepConnector/StepConnector.type.d.ts +3 -0
  594. package/src/StepConnector/index.d.ts +3 -0
  595. package/src/StepContent/StepContent.classes.d.ts +7 -0
  596. package/src/StepContent/StepContent.d.ts +5 -0
  597. package/src/StepContent/StepContent.type.d.ts +14 -0
  598. package/src/StepContent/index.d.ts +3 -0
  599. package/src/StepIcon/StepIcon.classes.d.ts +7 -0
  600. package/src/StepIcon/StepIcon.d.ts +5 -0
  601. package/src/StepIcon/StepIcon.type.d.ts +38 -0
  602. package/src/StepIcon/index.d.ts +3 -0
  603. package/src/StepLabel/StepLabel.classes.d.ts +10 -0
  604. package/src/StepLabel/StepLabel.d.ts +5 -0
  605. package/src/StepLabel/StepLabel.type.d.ts +36 -0
  606. package/src/StepLabel/index.d.ts +3 -0
  607. package/src/Stepper/Stepper.classes.d.ts +7 -0
  608. package/src/Stepper/Stepper.d.ts +4 -0
  609. package/src/Stepper/Stepper.type.d.ts +47 -0
  610. package/src/Stepper/StepperContext.d.ts +11 -0
  611. package/src/Stepper/index.d.ts +4 -0
  612. package/src/SubMenu/PopperMenu.classes.d.ts +7 -0
  613. package/src/SubMenu/PopperMenu.d.ts +5 -0
  614. package/src/SubMenu/PopperMenu.type.d.ts +4 -0
  615. package/src/SubMenu/SubMenu.d.ts +4 -0
  616. package/src/SubMenu/SubMenu.type.d.ts +6 -0
  617. package/src/SubMenu/index.d.ts +5 -0
  618. package/src/SwipeableDrawer/SwipeableDrawer.classes.d.ts +7 -0
  619. package/src/SwipeableDrawer/SwipeableDrawer.d.ts +31 -0
  620. package/src/SwipeableDrawer/SwipeableDrawer.types.d.ts +82 -0
  621. package/src/SwipeableDrawer/hooks/index.d.ts +5 -0
  622. package/src/SwipeableDrawer/hooks/useDimensions.d.ts +17 -0
  623. package/src/SwipeableDrawer/hooks/useDrawerGestures.d.ts +151 -0
  624. package/src/SwipeableDrawer/hooks/useElementSizeObserver.d.ts +10 -0
  625. package/src/SwipeableDrawer/hooks/useReady.d.ts +4 -0
  626. package/src/SwipeableDrawer/hooks/useSnapPoints.d.ts +94 -0
  627. package/src/SwipeableDrawer/index.d.ts +3 -0
  628. package/src/Switch/Switch.classes.d.ts +7 -0
  629. package/src/Switch/Switch.d.ts +11 -0
  630. package/src/Switch/Switch.type.d.ts +19 -0
  631. package/src/Switch/index.d.ts +3 -0
  632. package/src/Tab/Tab.classes.d.ts +10 -0
  633. package/src/Tab/Tab.d.ts +5 -0
  634. package/src/Tab/Tab.type.d.ts +50 -0
  635. package/src/Tab/index.d.ts +3 -0
  636. package/src/TabContext/TabContext.d.ts +20 -0
  637. package/src/TabContext/TabContext.type.d.ts +13 -0
  638. package/src/TabContext/index.d.ts +2 -0
  639. package/src/TabPanel/TabPanel.classes.d.ts +7 -0
  640. package/src/TabPanel/TabPanel.d.ts +5 -0
  641. package/src/TabPanel/TabPanel.type.d.ts +18 -0
  642. package/src/TabPanel/index.d.ts +3 -0
  643. package/src/Table/Table.classes.d.ts +7 -0
  644. package/src/Table/Table.d.ts +4 -0
  645. package/src/Table/Table.type.d.ts +36 -0
  646. package/src/Table/TableContext.d.ts +8 -0
  647. package/src/Table/Tablelvl2Context.d.ts +7 -0
  648. package/src/Table/index.d.ts +5 -0
  649. package/src/TableBody/TableBody.classes.d.ts +7 -0
  650. package/src/TableBody/TableBody.d.ts +4 -0
  651. package/src/TableBody/TableBody.type.d.ts +17 -0
  652. package/src/TableBody/index.d.ts +3 -0
  653. package/src/TableCell/TableCell.classes.d.ts +7 -0
  654. package/src/TableCell/TableCell.d.ts +8 -0
  655. package/src/TableCell/TableCell.type.d.ts +59 -0
  656. package/src/TableCell/index.d.ts +3 -0
  657. package/src/TableContainer/TableContainer.classes.d.ts +8 -0
  658. package/src/TableContainer/TableContainer.d.ts +4 -0
  659. package/src/TableContainer/TableContainer.type.d.ts +23 -0
  660. package/src/TableContainer/index.d.ts +3 -0
  661. package/src/TableFooter/TableFooter.classes.d.ts +8 -0
  662. package/src/TableFooter/TableFooter.d.ts +5 -0
  663. package/src/TableFooter/TableFooter.type.d.ts +9 -0
  664. package/src/TableFooter/index.d.ts +2 -0
  665. package/src/TableHead/TableHead.classes.d.ts +7 -0
  666. package/src/TableHead/TableHead.d.ts +4 -0
  667. package/src/TableHead/TableHead.type.d.ts +21 -0
  668. package/src/TableHead/index.d.ts +3 -0
  669. package/src/TablePagination/TablePagination.classes.d.ts +8 -0
  670. package/src/TablePagination/TablePagination.d.ts +4 -0
  671. package/src/TablePagination/TablePagination.type.d.ts +73 -0
  672. package/src/TablePagination/index.d.ts +2 -0
  673. package/src/TableRow/TableRow.classes.d.ts +7 -0
  674. package/src/TableRow/TableRow.d.ts +4 -0
  675. package/src/TableRow/TableRow.type.d.ts +34 -0
  676. package/src/TableRow/index.d.ts +3 -0
  677. package/src/Tabs/TabMoreMenu.d.ts +36 -0
  678. package/src/Tabs/TabScrollButton.d.ts +21 -0
  679. package/src/Tabs/Tabs.classes.d.ts +19 -0
  680. package/src/Tabs/Tabs.d.ts +5 -0
  681. package/src/Tabs/Tabs.type.d.ts +54 -0
  682. package/src/Tabs/TabsContext.d.ts +9 -0
  683. package/src/Tabs/hooks/index.d.ts +2 -0
  684. package/src/Tabs/hooks/useComputedTabs.d.ts +20 -0
  685. package/src/Tabs/hooks/useTabsScroller.d.ts +48 -0
  686. package/src/Tabs/index.d.ts +7 -0
  687. package/src/Tag/Tag.classes.d.ts +8 -0
  688. package/src/Tag/Tag.d.ts +5 -0
  689. package/src/Tag/Tag.type.d.ts +23 -0
  690. package/src/Tag/index.d.ts +3 -0
  691. package/src/Text/Text.classes.d.ts +7 -0
  692. package/src/Text/Text.d.ts +4 -0
  693. package/src/Text/Text.type.d.ts +34 -0
  694. package/src/Text/index.d.ts +3 -0
  695. package/src/TextField/TextField.classes.d.ts +7 -0
  696. package/src/TextField/TextField.d.ts +5 -0
  697. package/src/TextField/TextField.type.d.ts +112 -0
  698. package/src/TextField/index.d.ts +3 -0
  699. package/src/Textarea/Textarea.classes.d.ts +10 -0
  700. package/src/Textarea/Textarea.d.ts +5 -0
  701. package/src/Textarea/Textarea.type.d.ts +26 -0
  702. package/src/Textarea/index.d.ts +3 -0
  703. package/src/TimePicker/NumberPicker.d.ts +5 -0
  704. package/src/TimePicker/NumberPicker.type.d.ts +36 -0
  705. package/src/TimePicker/PickerView.d.ts +4 -0
  706. package/src/TimePicker/PickerView.type.d.ts +25 -0
  707. package/src/TimePicker/SelectionView.d.ts +19 -0
  708. package/src/TimePicker/TimeButton.d.ts +11 -0
  709. package/src/TimePicker/TimePicker.classes.d.ts +7 -0
  710. package/src/TimePicker/TimePicker.context.d.ts +6 -0
  711. package/src/TimePicker/TimePicker.d.ts +5 -0
  712. package/src/TimePicker/TimePicker.type.d.ts +30 -0
  713. package/src/TimePicker/ToggleText.d.ts +5 -0
  714. package/src/TimePicker/ToggleText.type.d.ts +14 -0
  715. package/src/TimePicker/constant.d.ts +7 -0
  716. package/src/TimePicker/index.d.ts +14 -0
  717. package/src/TimePicker/utils/A11yUtils.d.ts +2 -0
  718. package/src/TimePicker/utils/TimeBoundary.d.ts +27 -0
  719. package/src/TimePicker/utils/TimePickerHelper.d.ts +52 -0
  720. package/src/TimePicker/utils/getNumberPickerBoundary.d.ts +22 -0
  721. package/src/TimePicker/utils/index.d.ts +4 -0
  722. package/src/TimePicker/utils/runKeyHandler.d.ts +4 -0
  723. package/src/Tooltip/Tooltip.d.ts +5 -0
  724. package/src/Tooltip/Tooltip.type.d.ts +5 -0
  725. package/src/Tooltip/TooltipTrigger.a11y.d.ts +38 -0
  726. package/src/Tooltip/TooltipTrigger.d.ts +4 -0
  727. package/src/Tooltip/TooltipTrigger.type.d.ts +59 -0
  728. package/src/Tooltip/TooltipView.classes.d.ts +8 -0
  729. package/src/Tooltip/TooltipView.d.ts +16 -0
  730. package/src/Tooltip/TooltipView.type.d.ts +44 -0
  731. package/src/Tooltip/index.d.ts +9 -0
  732. package/src/Tooltip/useTooltipForceHide.d.ts +8 -0
  733. package/src/Tooltip/withTooltip/index.d.ts +1 -0
  734. package/src/Tooltip/withTooltip/withTooltip.d.ts +6 -0
  735. package/src/Tray/Tray.classes.d.ts +13 -0
  736. package/src/Tray/Tray.d.ts +5 -0
  737. package/src/Tray/Tray.type.d.ts +26 -0
  738. package/src/Tray/TrayContext.d.ts +14 -0
  739. package/src/Tray/TrayPanel.d.ts +7 -0
  740. package/src/Tray/hooks/index.d.ts +3 -0
  741. package/src/Tray/hooks/useTray.d.ts +33 -0
  742. package/src/Tray/hooks/useTrayNavigate.d.ts +5 -0
  743. package/src/Tray/hooks/useTrayPanel.d.ts +14 -0
  744. package/src/Tray/index.d.ts +7 -0
  745. package/src/Tray/types.d.ts +2 -0
  746. package/src/TrayMenu/TrayMenu.d.ts +4 -0
  747. package/src/TrayMenu/TrayMenu.type.d.ts +3 -0
  748. package/src/TrayMenu/TrayMenuItem.d.ts +9 -0
  749. package/src/TrayMenu/index.d.ts +3 -0
  750. package/src/VirtualizedList/VirtualizedItemPropsContext.d.ts +5 -0
  751. package/src/VirtualizedList/VirtualizedList.d.ts +3 -0
  752. package/src/VirtualizedList/VirtualizedList.type.d.ts +51 -0
  753. package/src/VirtualizedList/VirtuosoComponents.d.ts +16 -0
  754. package/src/VirtualizedList/VirtuosoContextType.d.ts +14 -0
  755. package/src/VirtualizedList/index.d.ts +5 -0
  756. package/src/VirtualizedMenu/VirtualizedMenu.classes.d.ts +7 -0
  757. package/src/VirtualizedMenu/VirtualizedMenu.context.d.ts +6 -0
  758. package/src/VirtualizedMenu/VirtualizedMenu.d.ts +4 -0
  759. package/src/VirtualizedMenu/VirtualizedMenu.type.d.ts +35 -0
  760. package/src/VirtualizedMenu/VirtualizedMenuList.d.ts +6 -0
  761. package/src/VirtualizedMenu/index.d.ts +5 -0
  762. package/src/VisuallyHidden/VisuallyHidden.classes.d.ts +7 -0
  763. package/src/VisuallyHidden/VisuallyHidden.d.ts +5 -0
  764. package/src/VisuallyHidden/VisuallyHidden.type.d.ts +3 -0
  765. package/src/VisuallyHidden/index.d.ts +3 -0
  766. package/src/index.d.ts +112 -0
@@ -0,0 +1,21 @@
1
+ import { WithClassesProps, OverridableComponent, OverridableProps } from '@ringcentral/spring-base';
2
+ import { ElementType } from 'react';
3
+ import { TableHeadClassesKey } from './TableHead.classes';
4
+ declare type DefaultElementType = 'thead';
5
+ declare type ExtendElementType = ElementType;
6
+ declare type BaseTableHeadProps = WithClassesProps<{
7
+ /**
8
+ * The content of the component, normally `TableRow`.
9
+ */
10
+ children?: React.ReactNode;
11
+ /**
12
+ * Use default table background color.
13
+ */
14
+ useDefaultBgColor?: boolean;
15
+ }, TableHeadClassesKey>;
16
+ export declare type TableHeadProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseTableHeadProps, T>;
17
+ export declare type TableHeadComponent = OverridableComponent<{
18
+ props: BaseTableHeadProps;
19
+ defaultComponent: DefaultElementType;
20
+ }>;
21
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './TableHead.classes';
2
+ export * from './TableHead';
3
+ export * from './TableHead.type';
@@ -0,0 +1,8 @@
1
+ import { CamelCase } from 'type-fest';
2
+ declare type BaseTablePaginationClassesKey = 'root' | 'content' | 'range-container' | 'rows-per-page-controls' | 'rows-per-page-label' | 'range-label' | 'current-page-controls';
3
+ export declare type TablePaginationClassesKey = CamelCase<BaseTablePaginationClassesKey>;
4
+ export declare type TablePaginationClasses = {
5
+ name: 'table-pagination';
6
+ classes: BaseTablePaginationClassesKey;
7
+ };
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { TablePaginationComponent } from './TablePagination.type';
2
+ import tablePaginationStyles from './styles/TablePagination.css';
3
+ declare const TablePagination: TablePaginationComponent;
4
+ export { TablePagination, tablePaginationStyles };
@@ -0,0 +1,73 @@
1
+ import { OverridableComponent, OverridableProps, WithClassesProps } from '@ringcentral/spring-base';
2
+ import { ElementType } from 'react';
3
+ import { IconButtonProps } from '../IconButton';
4
+ import { SelectProps } from '../Select';
5
+ import { TablePaginationClassesKey } from './TablePagination.classes';
6
+ declare type DefaultElementType = 'td';
7
+ declare type ExtendElementType = ElementType;
8
+ export declare type BaseTablePaginationProps = WithClassesProps<{
9
+ /**
10
+ * The variant to use.
11
+ * `range` displays the current range of rows shown with no page size controls.
12
+ * `page` displays the current page with a control to select which page to show.
13
+ * `page-size` displays the current page with a control to change the page size.
14
+ * @default 'range'
15
+ */
16
+ variant?: 'range' | 'select-page' | 'page-size';
17
+ /**
18
+ * The zero-based index of the current page.
19
+ */
20
+ page: number;
21
+ /**
22
+ * The total number of rows.
23
+ * @default -1
24
+ */
25
+ count?: number;
26
+ /**
27
+ * The total number of rows to show per page.
28
+ * @default 10
29
+ */
30
+ rowsPerPage?: number;
31
+ /**
32
+ * The label to show to the left of the page size control that sets the number of rows per page.
33
+ * Only applies to variant `page-size`
34
+ * @default 'Rows per page'
35
+ */
36
+ rowsPerPageLabel?: string;
37
+ /**
38
+ * The options to be shown in the Select input for the number of rows to show per page.
39
+ * Required for variants `page-size` and `select-page`
40
+ * @default '[10, 25, 50, 100]'
41
+ */
42
+ rowsPerPageOptions?: number[];
43
+ /**
44
+ * Callback fires when the number of rows to show per page is changed.
45
+ * Required for variants `page-size` and `select-page`
46
+ */
47
+ onRowsPerPageChange?: SelectProps['onChange'];
48
+ /**
49
+ * The label to use to separate the range of rows shown or page numbers.
50
+ * Used in `range` variant: `1-10 ${rangeSeparatorLabel} 147`
51
+ * Used in `select-page` variant: `1 ${rangeSeparatorLabel} 15`
52
+ * @default 'of'
53
+ */
54
+ rangeSeparatorLabel?: string;
55
+ /**
56
+ * Props applied to the `IconButton` component for the previous page button.
57
+ */
58
+ previousPageButtonProps?: IconButtonProps;
59
+ /**
60
+ * Props applied to the `IconButton` component for the next page button.
61
+ */
62
+ nextPageButtonProps?: IconButtonProps;
63
+ /**
64
+ * Callback fired when the current page is changed.
65
+ */
66
+ onPageChange?: (e: React.MouseEvent<HTMLButtonElement> | React.ChangeEvent<HTMLInputElement>, page: number) => void;
67
+ }, TablePaginationClassesKey>;
68
+ export declare type TablePaginationProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseTablePaginationProps, T>;
69
+ export declare type TablePaginationComponent = OverridableComponent<{
70
+ props: BaseTablePaginationProps;
71
+ defaultComponent: DefaultElementType;
72
+ }>;
73
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './TablePagination';
2
+ export * from './TablePagination.type';
@@ -0,0 +1,7 @@
1
+ import type { CamelCase } from 'type-fest';
2
+ export declare type BaseTableRowClassesKey = 'root' | 'body' | 'footer' | 'head' | 'hoverable' | 'clickable' | 'focusVisible';
3
+ export declare type TableRowClassesKey = CamelCase<BaseTableRowClassesKey>;
4
+ export declare type TableRowClasses = {
5
+ name: 'table-row';
6
+ classes: BaseTableRowClassesKey;
7
+ };
@@ -0,0 +1,4 @@
1
+ import tableRowStyle from './styles/TableRow.css';
2
+ import { TableRowComponent } from './TableRow.type';
3
+ declare const TableRow: TableRowComponent;
4
+ export { TableRow, tableRowStyle };
@@ -0,0 +1,34 @@
1
+ import { WithClassesProps, OverridableComponent, OverridableProps } from '@ringcentral/spring-base';
2
+ import { ElementType } from 'react';
3
+ import { TableRowClassesKey } from './TableRow.classes';
4
+ declare type DefaultElementType = 'tr';
5
+ declare type ExtendElementType = ElementType;
6
+ declare type BaseTableRowProps = WithClassesProps<{
7
+ /**
8
+ * Should be valid `<tr>` children such as `TableCell`.
9
+ */
10
+ children?: React.ReactNode;
11
+ /**
12
+ * If `true`, the table row will shade on hover.
13
+ * Noted: hover style will not be applied to rows in the head (TableHead).
14
+ * @default false
15
+ */
16
+ hoverable?: boolean;
17
+ /**
18
+ * If `true`, cursor will be pointer on hover and hover style will be applied.
19
+ * It will be set to `true` automatically when onClick prop is defined.
20
+ * Noted: clickable style will not be applied to rows in the head (TableHead).
21
+ */
22
+ clickable?: boolean;
23
+ /**
24
+ * If `true`, the table row will have the selected shading.
25
+ * @default false
26
+ */
27
+ selected?: boolean;
28
+ }, TableRowClassesKey>;
29
+ export declare type TableRowProps<T extends ExtendElementType = DefaultElementType> = OverridableProps<BaseTableRowProps, T>;
30
+ export declare type TableRowComponent = OverridableComponent<{
31
+ props: BaseTableRowProps;
32
+ defaultComponent: DefaultElementType;
33
+ }>;
34
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './TableRow.classes';
2
+ export * from './TableRow';
3
+ export * from './TableRow.type';
@@ -0,0 +1,36 @@
1
+ import { ComponentType } from 'react';
2
+ import { HTMLDataAttribute, StandardProps } from '@ringcentral/spring-base';
3
+ import { BadgeProps as BadgeCompProps } from '../Badge';
4
+ import { IconButtonProps } from '../IconButton';
5
+ import { MenuProps } from '../Menu';
6
+ import type { TabProps } from '../Tab/Tab.type';
7
+ import { TooltipProps } from '../Tooltip';
8
+ import { TabMoreMenuClassesKey } from './Tabs.classes';
9
+ export declare type MoreMenuProps = StandardProps<{
10
+ /**
11
+ * Props applied to the Tooltip component shown when hovering over
12
+ * the more Icon Button. If `TooltipProps.title` is not a truthy
13
+ * value, no Tooltip will be shown.
14
+ */
15
+ TooltipProps?: Omit<TooltipProps, 'children'> & HTMLDataAttribute;
16
+ /**
17
+ * Props applied to Badge component
18
+ */
19
+ BadgeProps?: BadgeCompProps & HTMLDataAttribute;
20
+ /**
21
+ * Props applied to IconButton component
22
+ */
23
+ ButtonProps?: Omit<IconButtonProps, 'variant' | 'className' | 'onClick'> & HTMLDataAttribute;
24
+ /** Props applied to Menu component */
25
+ MenuProps?: Omit<MenuProps, 'anchorEl' | 'open'> & HTMLDataAttribute;
26
+ /**
27
+ * custom MenuItem render component
28
+ * @default MenuItem
29
+ */
30
+ MenuItemComponent?: ComponentType<TabProps>;
31
+ }, TabMoreMenuClassesKey, 'div'>;
32
+ declare type TabMoreMenuProps = MoreMenuProps & {
33
+ menuItems: TabProps[];
34
+ };
35
+ declare const TabMoreMenu: import("react").ForwardRefExoticComponent<Pick<TabMoreMenuProps, "classes" | "key" | `data-${string}` | keyof import("react").HTMLAttributes<HTMLDivElement> | "TooltipProps" | "MenuProps" | "menuItems" | "BadgeProps" | "ButtonProps" | "MenuItemComponent"> & import("react").RefAttributes<HTMLDivElement>>;
36
+ export { TabMoreMenu };
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { HTMLDataAttribute, StandardProps } from '@ringcentral/spring-base';
3
+ import { IconButtonProps } from '../IconButton';
4
+ import { TabScrollButtonClassesKey } from './Tabs.classes';
5
+ export declare type TabScrollButtonProps = StandardProps<{
6
+ /**
7
+ * The direction the button should indicate
8
+ * @default 'left'
9
+ */
10
+ direction?: 'left' | 'right';
11
+ /**
12
+ * Callback fired when the button is clicked
13
+ */
14
+ onClick?: IconButtonProps['onClick'];
15
+ /**
16
+ * Props applied to IconButton component
17
+ */
18
+ ButtonProps?: Omit<IconButtonProps, 'variant' | 'className' | 'onClick'> & HTMLDataAttribute;
19
+ }, TabScrollButtonClassesKey, 'div'>;
20
+ declare const TabScrollButton: import("react").ForwardRefExoticComponent<Pick<TabScrollButtonProps, "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" | "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}` | "direction" | "ButtonProps"> & import("react").RefAttributes<HTMLDivElement>>;
21
+ export { TabScrollButton };
@@ -0,0 +1,19 @@
1
+ import type { CamelCase } from 'type-fest';
2
+ export declare type BaseTabsClassesKey = 'root' | 'scroller' | 'scrollable' | 'tab-list' | 'underline' | 'indicator' | 'compact' | 'pill' | 'floating-underline' | 'scroll-left' | 'scroll-right' | 'scroll-both';
3
+ export declare type TabsClassesKey = CamelCase<BaseTabsClassesKey>;
4
+ export declare type TabsClasses = {
5
+ name: 'tabs';
6
+ classes: BaseTabsClassesKey;
7
+ };
8
+ export declare type BaseTabMoreMenuClassesKey = 'root' | 'button' | 'badge-root' | 'pill-badge';
9
+ export declare type TabMoreMenuClassesKey = CamelCase<BaseTabMoreMenuClassesKey>;
10
+ export declare type TabMoreMenuClasses = {
11
+ name: 'tab-more-menu';
12
+ classes: BaseTabMoreMenuClassesKey;
13
+ };
14
+ export declare type BaseTabScrollButtonClassesKey = 'root' | 'start' | 'button';
15
+ export declare type TabScrollButtonClassesKey = CamelCase<BaseTabScrollButtonClassesKey>;
16
+ export declare type TabScrollButtonClasses = {
17
+ name: 'tab-scroll-button';
18
+ classes: BaseTabScrollButtonClassesKey;
19
+ };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import tabsStyle from './styles/Tabs.css';
3
+ import { TabsProps } from './Tabs.type';
4
+ declare const Tabs: import("react").ForwardRefExoticComponent<Pick<TabsProps, "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" | "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" | "pill" | "pillGap" | "onGroupInfoUpdate" | "MoreMenuProps" | "ScrollButtonStartProps" | "ScrollButtonEndProps" | "enableScrollButtons"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export { Tabs, tabsStyle };
@@ -0,0 +1,54 @@
1
+ import { StandardProps } from '@ringcentral/spring-base';
2
+ import { ReactNode } from 'react';
3
+ import type { TabProps } from '../Tab/Tab.type';
4
+ import { MoreMenuProps } from './TabMoreMenu';
5
+ import { TabsClassesKey } from './Tabs.classes';
6
+ import { TabScrollButtonProps } from './TabScrollButton';
7
+ export declare type TabsProps = StandardProps<{
8
+ /**
9
+ * A set of tabs
10
+ */
11
+ children: ReactNode;
12
+ /**
13
+ * If 'scrollable', tabs will be scrollable.
14
+ * All scrolling must be initiated through user agent scrolling mechanisms (e.g. left/right swipe, shift mouse wheel, etc.)
15
+ * @default 'standard'
16
+ */
17
+ variant?: 'standard' | 'scrollable' | 'moreMenu';
18
+ /**
19
+ * If set to `true`, the tab will adopt a pill shape.
20
+ */
21
+ pill?: boolean;
22
+ /**
23
+ * The color scheme to use for tabs.
24
+ * - 'default': Uses cobranding colors for non-pill tabs, grey colors for pill tabs
25
+ * - 'cobranding': Uses cobranding colors for all tab types
26
+ * @default 'default'
27
+ */
28
+ color?: 'default' | 'cobranding';
29
+ /**
30
+ * Specifies the gap between tabs when in pill mode. Unit: px.
31
+ * Important for 'moreMenu' variant to calculate the width of tabs accurately.
32
+ * @default 4
33
+ */
34
+ pillGap?: number;
35
+ /**
36
+ * Callback invoked when using variant 'moreMenu' and the group info is updated.
37
+ */
38
+ onGroupInfoUpdate?: (visibleItemValues: TabProps['value'][], hiddenItemValues: TabProps['value'][]) => void;
39
+ /** Props applied to TabMoreMenu when variant is 'moreMenu' */
40
+ MoreMenuProps?: MoreMenuProps;
41
+ /**
42
+ * Props applied to the TabScrollButtonStart when variant is 'scrollable' and pill is `true`
43
+ */
44
+ ScrollButtonStartProps?: TabScrollButtonProps['ButtonProps'];
45
+ /**
46
+ * Props applied to the TabScrollButtonEnd when variant is 'scrollable' and pill is `true`
47
+ */
48
+ ScrollButtonEndProps?: TabScrollButtonProps['ButtonProps'];
49
+ /**
50
+ * Whether to enable scroll buttons when variant is 'scrollable' and pill is `true`
51
+ * @default true
52
+ */
53
+ enableScrollButtons?: boolean;
54
+ }, TabsClassesKey, 'div'>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare type TabsContextValue = {
3
+ pill?: boolean;
4
+ pillGap?: number;
5
+ color?: 'default' | 'cobranding';
6
+ setFloatingUnderlineVisibility?: (isVisible: boolean) => void;
7
+ };
8
+ export declare const TabsContext: import("react").Context<TabsContextValue>;
9
+ export declare const useTabsContext: () => TabsContextValue;
@@ -0,0 +1,2 @@
1
+ export * from './useComputedTabs';
2
+ export * from './useTabsScroller';
@@ -0,0 +1,20 @@
1
+ import { MotionValue } from 'framer-motion';
2
+ import React from 'react';
3
+ import { TabProps } from '../../Tab/Tab.type';
4
+ import { TabsProps } from '../Tabs.type';
5
+ export declare function useComputedTabs(props: Pick<TabsProps, 'children' | 'pill' | 'variant' | 'onGroupInfoUpdate'> & Required<Pick<TabsProps, 'pillGap'>> & {
6
+ tabListRef: React.RefObject<HTMLDivElement>;
7
+ scrollerRef: React.RefObject<HTMLDivElement>;
8
+ moreRef: React.RefObject<HTMLDivElement>;
9
+ floatingUnderlineWidthMotionValue: MotionValue<number>;
10
+ floatingUnderlineLeftMotionValue: MotionValue<number>;
11
+ value: string | number | null;
12
+ }): {
13
+ visibleTabsChildren: any[];
14
+ showMore: boolean;
15
+ moreMenuItems: TabProps[];
16
+ processedChildren: Map<any, any>;
17
+ getSelectedTabElement: () => Element | undefined;
18
+ computeMoreMenuWithCache: () => void;
19
+ computeFloatingUnderline: (withoutAnimation?: any) => void;
20
+ };
@@ -0,0 +1,48 @@
1
+ import { motionTransition } from '@ringcentral/spring-theme';
2
+ import React from 'react';
3
+ import { TabScrollButtonProps } from '../TabScrollButton';
4
+ export declare type UseTabsScrollerParameters = {
5
+ /**
6
+ * Determines whether the scrolling functionality is enabled.
7
+ * If `true`, the scroller will respond to scroll events and user interactions.
8
+ */
9
+ enable: boolean;
10
+ /**
11
+ * A React ref object that provides a reference to the scrolling container element.
12
+ * This is used to directly manipulate the DOM for scrolling actions.
13
+ */
14
+ scrollerRef: React.RefObject<HTMLDivElement>;
15
+ /**
16
+ * A React ref object that provides a reference to the element containing the list of tabs.
17
+ * This is used to calculate the scroll width and to determine the scrolling requirements based on the children's width.
18
+ */
19
+ tabListRef: React.RefObject<HTMLDivElement>;
20
+ /**
21
+ * Scrolls the element by a specified value.
22
+ *
23
+ * @param scrollValue - The value by which to scroll. Positive values will scroll to the right,
24
+ * while negative values will scroll to the left.
25
+ * @param transitionType - Optional. Specifies the type of transition to use for the scrolling.
26
+ */
27
+ scroll: (scrollValue: number, transitionType?: keyof typeof motionTransition) => void;
28
+ /**
29
+ * An object containing optional properties for the start scroll button.
30
+ * These properties are used to customize the appearance or behavior of the button that scrolls the tab list towards the start (left).
31
+ */
32
+ ScrollButtonStartProps?: TabScrollButtonProps['ButtonProps'];
33
+ /**
34
+ * Similar to ScrollButtonStartProps, this object contains optional properties for the end scroll button.
35
+ * These properties customize the end (right) scroll button, which scrolls the tab list towards the end.
36
+ */
37
+ ScrollButtonEndProps?: TabScrollButtonProps['ButtonProps'];
38
+ };
39
+ declare type ConditionalElements = {
40
+ scrollButtonStart?: React.ReactNode;
41
+ scrollButtonEnd?: React.ReactNode;
42
+ };
43
+ export declare type UseTabsScrollerReturn = ConditionalElements;
44
+ /**
45
+ * This `useTabsScroller` hook manages the state and behavior of scroll buttons at both ends of the tab list (start and end) when the tab list exceeds the visible container width
46
+ */
47
+ export declare const useTabsScroller: ({ enable, scrollerRef, tabListRef, scroll, ScrollButtonStartProps, ScrollButtonEndProps, }: UseTabsScrollerParameters) => UseTabsScrollerReturn;
48
+ export {};
@@ -0,0 +1,7 @@
1
+ export * from './TabMoreMenu';
2
+ export * from './TabScrollButton';
3
+ export * from './Tabs.classes';
4
+ export * from './Tabs';
5
+ export * from './Tabs.type';
6
+ export * from './TabsContext';
7
+ export * from './hooks';
@@ -0,0 +1,8 @@
1
+ import type { CamelCase } from 'type-fest';
2
+ import { TagColor } from './Tag.type';
3
+ export declare type BaseTagClassesKey = 'root' | 'has-start-icon' | TagColor | 'outlined' | `filled-${TagColor}` | `inverted-${TagColor}` | 'label' | 'start-icon';
4
+ export declare type TagClassesKey = CamelCase<BaseTagClassesKey>;
5
+ export declare type TagClasses = {
6
+ name: 'tag';
7
+ classes: BaseTagClassesKey;
8
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import tagStyle from './styles/Tag.css';
3
+ import { TagProps } from './Tag.type';
4
+ declare const Tag: React.ForwardRefExoticComponent<Pick<TagProps, "children" | "onKeyDown" | "onKeyUp" | "onClick" | "aria-hidden" | "dir" | "label" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "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}` | "variant" | "startIcon"> & React.RefAttributes<HTMLDivElement>>;
5
+ export { Tag, tagStyle };
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { StandardProps } from '@ringcentral/spring-base';
3
+ import { IconProps } from '../Icon';
4
+ import { TagClassesKey } from './Tag.classes';
5
+ export declare type TagColor = 'default' | 'neutral' | 'secondary' | 'primary' | 'danger' | 'success' | 'warning';
6
+ export declare type TagProps = StandardProps<{
7
+ /**
8
+ * The variant to use.
9
+ * @default 'outlined'
10
+ */
11
+ variant?: 'outlined' | 'filled' | 'inverted';
12
+ /**
13
+ * The color of the component.
14
+ * @default 'default'
15
+ */
16
+ color?: TagColor;
17
+ /** Icon placed before the label. */
18
+ startIcon?: IconProps['symbol'];
19
+ /**
20
+ * @deprecated Use "children" instead.
21
+ */
22
+ label?: React.ReactNode;
23
+ }, TagClassesKey, 'div'>;
@@ -0,0 +1,3 @@
1
+ export * from './Tag.classes';
2
+ export * from './Tag';
3
+ export * from './Tag.type';
@@ -0,0 +1,7 @@
1
+ import type { CamelCase } from 'type-fest';
2
+ export declare type BaseTextClassesKey = 'root' | 'no-wrap' | 'flex-full' | 'highlight-term';
3
+ export declare type TextClassesKey = CamelCase<BaseTextClassesKey>;
4
+ export declare type TextClasses = {
5
+ name: 'text';
6
+ classes: BaseTextClassesKey;
7
+ };
@@ -0,0 +1,4 @@
1
+ import textStyle from './styles/Text.css';
2
+ import { TextComponent } from './Text.type';
3
+ declare const Text: TextComponent;
4
+ export { Text, textStyle };
@@ -0,0 +1,34 @@
1
+ import { ElementType, ReactNode } from 'react';
2
+ import { WithClassesProps, HTMLDataAttribute, OverridableComponent, OverridableProps } from '@ringcentral/spring-base';
3
+ import { TooltipProps } from '@ringcentral/spring-ui';
4
+ import { TextClassesKey } from './Text.classes';
5
+ export declare type TextDefaultElementType = 'span';
6
+ declare type ExtendElementType = ElementType;
7
+ declare type BaseTextProps = WithClassesProps<{
8
+ /**
9
+ * This prop isn't supported.
10
+ * Use the `component` prop if you need to change the children structure.
11
+ */
12
+ children?: ReactNode;
13
+ /** when set `true`, add style `flex: 1 1 auto` */
14
+ flexFull?: boolean;
15
+ /** highlight for text with color and background to be mentionMe */
16
+ highlight?: boolean;
17
+ /**
18
+ * is show title only when truncated, use `number` value to truncate text at a specific number of lines.
19
+ * ### should not change titleWhenOverflow dynamically, keep that be same value, that will cause hook issue
20
+ */
21
+ titleWhenOverflow?: number;
22
+ noWrap?: boolean;
23
+ useTooltip?: boolean;
24
+ /**
25
+ * Props applied to Tooltip component
26
+ */
27
+ TooltipProps?: Omit<TooltipProps, 'title' | 'PopperProps' | 'open' | 'onOpenStateChange'> & HTMLDataAttribute;
28
+ }, TextClassesKey>;
29
+ export declare type TextProps<T extends ExtendElementType = TextDefaultElementType> = OverridableProps<BaseTextProps, T>;
30
+ export declare type TextComponent = OverridableComponent<{
31
+ props: BaseTextProps;
32
+ defaultComponent: TextDefaultElementType;
33
+ }>;
34
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './Text.classes';
2
+ export * from './Text';
3
+ export * from './Text.type';
@@ -0,0 +1,7 @@
1
+ import type { CamelCase } from 'type-fest';
2
+ export declare type BaseTextFieldClassesKey = 'clear' | 'root' | 'full-width' | 'hide-native-clear' | 'input' | 'end-adornment' | 'start-adornment' | 'form-field-content' | 'outlined' | 'standard' | 'quiet' | 'helper-text' | 'mask-value-button';
3
+ export declare type TextFieldClassesKey = CamelCase<BaseTextFieldClassesKey>;
4
+ export declare type TextFieldClasses = {
5
+ name: 'text-field';
6
+ classes: BaseTextFieldClassesKey;
7
+ };
@@ -0,0 +1,5 @@
1
+ import { ElementType } from 'react';
2
+ import textFieldStyle from './styles/TextField.css';
3
+ import { TextFieldProps } from './TextField.type';
4
+ declare const TextField: import("react").ForwardRefExoticComponent<Pick<TextFieldProps<ElementType<any>, import("react").HTMLAttributes<HTMLInputElement | HTMLTextAreaElement> & import("./TextField.type").StandardInputAttributes>, "error" | "value" | "onKeyDown" | "onKeyUp" | "onClick" | "disabled" | "label" | "classes" | "focused" | "required" | "className" | "id" | "defaultValue" | "placeholder" | "readOnly" | "size" | "type" | "onFocus" | "onBlur" | "onChange" | "helperText" | "FormHelperTextProps" | "variant" | "fullWidth" | "autoFocus" | "inputProps" | "inputRef" | "endAdornment" | "startAdornment" | "RootProps" | "clearBtn" | "useNativeClearBtn" | "clearText" | "showCharacterCount" | "ClearButtonProps" | "onClear" | "inputComponent" | "showMaskValueToggleButton" | "maskValue" | "onMaskValueChange" | "MaskValueButtonProps" | "ShowHideEyeIconProps"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export { TextField, textFieldStyle };