@ringcentral/spring-ui 1.9.2 → 1.11.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 (405) hide show
  1. package/Alert.js +1 -1
  2. package/Announcement.js +4 -2
  3. package/Autocomplete.js +40 -7
  4. package/Avatar.js +42 -27
  5. package/DatePicker.js +45 -38
  6. package/DateUtilsContext.js +18 -1
  7. package/Dialer.js +1 -1
  8. package/Dialog.js +24 -15
  9. package/NestedMenuContext.js +4 -3
  10. package/Option.js +5 -5
  11. package/PickerTextField.js +2 -2
  12. package/Popper.js +1 -1
  13. package/Snackbar.js +7 -5
  14. package/SortableListDndContext.js +3 -3
  15. package/SortableListItem.js +21 -9
  16. package/SplitButton.js +1 -1
  17. package/SubMenu.js +208 -77
  18. package/SwipeableDrawer.js +1 -9
  19. package/Switch.js +15 -5
  20. package/TablePagination.js +11 -21
  21. package/TableRow.js +1 -1
  22. package/Text.js +2 -2
  23. package/Textarea.js +1 -1
  24. package/TimePicker.js +1 -1
  25. package/chunks/Alert.js +1 -1
  26. package/chunks/Drawer.js +1 -1
  27. package/chunks/Menu.js +25 -6
  28. package/chunks/Modal.js +7 -3
  29. package/chunks/PickerTextField.js +18 -7
  30. package/chunks/TextField.js +0 -1
  31. package/chunks/Tooltip.js +1 -1
  32. package/chunks/VirtualizedMenu.js +1 -1
  33. package/chunks/useMenuItemSelect.js +49 -17
  34. package/chunks/useNestedMenuItem.js +16 -5
  35. package/chunks/useNestedParentMenu.js +77 -5
  36. package/chunks/useTrayNavigate.js +1 -1
  37. package/index.css +543 -398
  38. package/index.js +1 -1
  39. package/package.json +4 -4
  40. package/src/Accordion/Accordion.classes.d.ts +3 -3
  41. package/src/Accordion/Accordion.d.ts +1 -1
  42. package/src/Accordion/Accordion.type.d.ts +1 -1
  43. package/src/Accordion/AccordionContext.d.ts +1 -1
  44. package/src/AccordionHeader/AccordionHeader.classes.d.ts +3 -3
  45. package/src/AccordionHeader/AccordionHeader.d.ts +1 -1
  46. package/src/AccordionHeader/AccordionHeader.type.d.ts +1 -1
  47. package/src/Alert/Alert.classes.d.ts +3 -3
  48. package/src/Alert/Alert.d.ts +3 -3
  49. package/src/Alert/Alert.type.d.ts +7 -7
  50. package/src/Alert/AlertTitle.classes.d.ts +3 -3
  51. package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.classes.d.ts +3 -3
  52. package/src/Animation/components/ExpandCollapseCaret/ExpandCollapseCaret.d.ts +2 -2
  53. package/src/Animation/components/Fade/Fade.d.ts +1 -1
  54. package/src/Animation/components/Fade/getFade.d.ts +1 -1
  55. package/src/Animation/components/Grow/Grow.d.ts +1 -1
  56. package/src/Animation/components/Grow/getGrow.d.ts +4 -4
  57. package/src/Animation/components/ShowHideEye/ShowHideEye.classes.d.ts +3 -3
  58. package/src/Animation/components/ShowHideEye/ShowHideEye.d.ts +1 -1
  59. package/src/Animation/components/SlideIn/SlideIn.d.ts +1 -1
  60. package/src/Animation/components/SlideIn/getSlideIn.d.ts +2 -2
  61. package/src/Animation/components/SortableArrow/SortableArrow.classes.d.ts +3 -3
  62. package/src/Animation/components/SortableArrow/SortableArrow.d.ts +1 -1
  63. package/src/Animation/components/types.d.ts +2 -2
  64. package/src/Announcement/Announcement.classes.d.ts +3 -3
  65. package/src/Announcement/Announcement.type.d.ts +1 -1
  66. package/src/Autocomplete/Autocomplete.classes.d.ts +6 -6
  67. package/src/Autocomplete/Autocomplete.type.d.ts +6 -5
  68. package/src/Autocomplete/SuggestionList/SuggestionList.classes.d.ts +3 -3
  69. package/src/Autocomplete/SuggestionList/SuggestionList.d.ts +3 -3
  70. package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +2 -2
  71. package/src/Autocomplete/SuggestionList/utils/SuggestionListItem.d.ts +1 -1
  72. package/src/Autocomplete/SuggestionList/utils/useDynamicHeight.d.ts +1 -1
  73. package/src/Autocomplete/SuggestionList/utils/useHighlightScroll.d.ts +1 -1
  74. package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +11 -11
  75. package/src/Autocomplete/SuggestionList/utils/useSuggestionListGroup.d.ts +2 -2
  76. package/src/Autocomplete/useAutocomplete.d.ts +20 -20
  77. package/src/Autocomplete/useAutocompleteTag.d.ts +12 -12
  78. package/src/Avatar/Avatar.classes.d.ts +5 -5
  79. package/src/Avatar/Avatar.type.d.ts +7 -7
  80. package/src/AvatarGroup/AvatarGroup.classes.d.ts +3 -3
  81. package/src/AvatarGroup/AvatarGroup.type.d.ts +6 -6
  82. package/src/Backdrop/Backdrop.classes.d.ts +3 -3
  83. package/src/Backdrop/Backdrop.type.d.ts +1 -1
  84. package/src/Badge/Badge.classes.d.ts +5 -5
  85. package/src/Badge/Badge.type.d.ts +7 -7
  86. package/src/Block/Block.classes.d.ts +3 -3
  87. package/src/Block/Block.type.d.ts +6 -6
  88. package/src/BlockHeader/BlockHeader.classes.d.ts +3 -3
  89. package/src/BlockHeader/BlockHeader.type.d.ts +4 -4
  90. package/src/BottomNavigation/BottomNavigation.classes.d.ts +3 -3
  91. package/src/BottomNavigation/BottomNavigation.type.d.ts +2 -2
  92. package/src/BottomNavigation/BottomNavigationContext.d.ts +1 -1
  93. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.classes.d.ts +3 -3
  94. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.type.d.ts +1 -1
  95. package/src/BottomNavigationItem/BottomNavigationItem.classes.d.ts +3 -3
  96. package/src/BottomNavigationItem/BottomNavigationItem.type.d.ts +1 -1
  97. package/src/Button/Button.classes.d.ts +3 -3
  98. package/src/Button/Button.type.d.ts +8 -8
  99. package/src/CallButton/CallButton.classes.d.ts +3 -3
  100. package/src/CallButton/CallButton.type.d.ts +5 -5
  101. package/src/Checkbox/Checkbox.classes.d.ts +3 -3
  102. package/src/Checkbox/Checkbox.d.ts +2 -2
  103. package/src/Checkbox/Checkbox.type.d.ts +2 -2
  104. package/src/Chip/Chip.classes.d.ts +3 -3
  105. package/src/Chip/Chip.type.d.ts +5 -5
  106. package/src/CircularProgressIndicator/CircularProgressIndicator.classes.d.ts +4 -4
  107. package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +1 -1
  108. package/src/CircularProgressIndicator/CircularProgressIndicator.type.d.ts +4 -4
  109. package/src/ComponentsProps.d.ts +1 -1
  110. package/src/DatePicker/Calendar.d.ts +1 -1
  111. package/src/DatePicker/DatePicker.classes.d.ts +3 -3
  112. package/src/DatePicker/DatePicker.d.ts +1 -1
  113. package/src/DatePicker/DatePicker.type.d.ts +3 -3
  114. package/src/DatePicker/DatePickerHeader.d.ts +3 -2
  115. package/src/DatePicker/Day.d.ts +2 -2
  116. package/src/DatePicker/SlideDirection.d.ts +1 -1
  117. package/src/DatePicker/Year.d.ts +2 -2
  118. package/src/DatePicker/Years.d.ts +1 -1
  119. package/src/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +12 -4
  120. package/src/DatePicker/utils/DatePickerUtils.d.ts +1 -1
  121. package/src/DatePicker/utils/findClosestEnabledDate.d.ts +1 -1
  122. package/src/DateUtilsContext/DateUtilsContext.d.ts +8 -2
  123. package/src/Dialer/DialDelete/DialDelete.d.ts +1 -1
  124. package/src/Dialer/DialPad/DialPad.classes.d.ts +3 -3
  125. package/src/Dialer/DialPad/DialPad.d.ts +2 -2
  126. package/src/Dialer/DialPad/utils/DialPadUtils.d.ts +3 -3
  127. package/src/Dialer/DialPad/utils/types.d.ts +2 -2
  128. package/src/Dialer/DialPad/utils/useDialKeyboard.d.ts +1 -1
  129. package/src/Dialer/DialPad/utils/useKeyAudio.d.ts +1 -1
  130. package/src/Dialer/DialPadButton/DialPadButton.classes.d.ts +3 -3
  131. package/src/Dialer/DialPadButton/DialPadButton.d.ts +1 -1
  132. package/src/Dialer/DialTextField/DialTextField.d.ts +2 -2
  133. package/src/Dialer/Dialer.d.ts +1 -1
  134. package/src/Dialer/utils/DialerContext.d.ts +1 -1
  135. package/src/Dialog/Dialog.classes.d.ts +14 -14
  136. package/src/Dialog/Dialog.d.ts +1 -1
  137. package/src/Dialog/Dialog.type.d.ts +5 -4
  138. package/src/Divider/Divider.classes.d.ts +4 -4
  139. package/src/Divider/Divider.type.d.ts +7 -7
  140. package/src/DragHandle/DragHandle.classes.d.ts +3 -3
  141. package/src/DragHandle/DragHandle.type.d.ts +5 -5
  142. package/src/Drawer/Drawer.classes.d.ts +5 -5
  143. package/src/Drawer/Drawer.d.ts +1 -1
  144. package/src/Drawer/Drawer.type.d.ts +4 -4
  145. package/src/Dropdown/Dropdown.classes.d.ts +3 -3
  146. package/src/Dropdown/Dropdown.type.d.ts +1 -1
  147. package/src/EmptyState/EmptyState.classes.d.ts +3 -3
  148. package/src/EmptyState/EmptyState.d.ts +1 -1
  149. package/src/EmptyState/EmptyState.type.d.ts +1 -1
  150. package/src/FabButton/FabButton.classes.d.ts +3 -3
  151. package/src/FabButton/FabButton.type.d.ts +5 -5
  152. package/src/FocusTrap/FocusTrap.d.ts +2 -2
  153. package/src/FormField/FormField.classes.d.ts +4 -4
  154. package/src/FormField/FormField.type.d.ts +3 -3
  155. package/src/FormLabel/FormLabel.classes.d.ts +4 -4
  156. package/src/FormLabel/FormLabel.d.ts +1 -1
  157. package/src/FormLabel/FormLabel.type.d.ts +2 -2
  158. package/src/FormLabel/FormLabelContext.d.ts +1 -1
  159. package/src/Icon/Icon.classes.d.ts +3 -3
  160. package/src/Icon/Icon.d.ts +1 -1
  161. package/src/Icon/Icon.type.d.ts +2 -2
  162. package/src/IconButton/IconButton.classes.d.ts +3 -3
  163. package/src/IconButton/IconButton.type.d.ts +9 -9
  164. package/src/IconButton/IconButtonLabel.classes.d.ts +3 -3
  165. package/src/IconButton/IconButtonLabel.d.ts +1 -1
  166. package/src/IconButton/IconButtonLabel.type.d.ts +1 -1
  167. package/src/IconButtonGroup/IconButtonGroup.classes.d.ts +3 -3
  168. package/src/IconButtonGroup/IconButtonGroup.type.d.ts +4 -4
  169. package/src/InlineEditable/InlineEditable.classes.d.ts +4 -4
  170. package/src/InlineEditable/InlineEditable.type.d.ts +5 -5
  171. package/src/LinearProgressIndicator/LinearProgressIndicator.classes.d.ts +4 -4
  172. package/src/LinearProgressIndicator/LinearProgressIndicator.type.d.ts +2 -2
  173. package/src/Link/Link.classes.d.ts +4 -4
  174. package/src/Link/Link.type.d.ts +4 -4
  175. package/src/List/List.classes.d.ts +3 -3
  176. package/src/List/List.type.d.ts +1 -1
  177. package/src/ListItem/HoverActions.d.ts +1 -1
  178. package/src/ListItem/ListItem.classes.d.ts +3 -3
  179. package/src/ListItem/ListItem.d.ts +1 -1
  180. package/src/ListItem/ListItem.type.d.ts +1 -1
  181. package/src/ListItemText/ListItemText.classes.d.ts +4 -4
  182. package/src/ListItemText/ListItemText.d.ts +1 -1
  183. package/src/ListItemText/ListItemText.type.d.ts +2 -2
  184. package/src/ListNavigation/ListNavigationContext.d.ts +1 -1
  185. package/src/ListNavigation/useListNavigation.d.ts +6 -6
  186. package/src/Menu/Menu.classes.d.ts +3 -3
  187. package/src/Menu/Menu.d.ts +1 -1
  188. package/src/Menu/Menu.type.d.ts +1 -1
  189. package/src/Menu/MenuContext.d.ts +1 -1
  190. package/src/MenuActions/MenuActions.classes.d.ts +6 -6
  191. package/src/MenuActions/MenuActions.type.d.ts +1 -1
  192. package/src/MenuDivider/MenuDivider.classes.d.ts +3 -3
  193. package/src/MenuDivider/MenuDivider.type.d.ts +1 -1
  194. package/src/MenuFooter/MenuFooter.classes.d.ts +3 -3
  195. package/src/MenuFooter/MenuFooter.type.d.ts +1 -1
  196. package/src/MenuHeader/MenuHeader.classes.d.ts +3 -3
  197. package/src/MenuHeader/MenuHeader.type.d.ts +1 -1
  198. package/src/MenuItem/MenuItem.classes.d.ts +3 -3
  199. package/src/MenuItem/MenuItem.d.ts +1 -1
  200. package/src/MenuItem/MenuItem.type.d.ts +1 -1
  201. package/src/MenuItem/MenuItemSelectContext.d.ts +1 -1
  202. package/src/MenuItem/useMenuItem.d.ts +1 -1
  203. package/src/MenuItem/useMenuItemSelect.d.ts +5 -5
  204. package/src/MenuItem/useVirtualizedMenuItem.d.ts +2 -1
  205. package/src/MenuItemText/MenuItemText.classes.d.ts +3 -3
  206. package/src/MenuItemText/MenuItemText.d.ts +1 -1
  207. package/src/MenuItemText/MenuItemText.type.d.ts +1 -1
  208. package/src/MenuList/MenuList.classes.d.ts +3 -3
  209. package/src/MenuList/MenuList.type.d.ts +1 -1
  210. package/src/MenuList/MenuListContext.d.ts +1 -1
  211. package/src/Modal/InnerModal.d.ts +1 -1
  212. package/src/Modal/InnerModal.type.d.ts +2 -2
  213. package/src/Modal/Modal.classes.d.ts +3 -3
  214. package/src/Modal/Modal.d.ts +1 -1
  215. package/src/Modal/Modal.type.d.ts +1 -1
  216. package/src/Modal/ModalContext.d.ts +1 -1
  217. package/src/NestedMenuContext/MenuOverlayGroupContext.d.ts +15 -0
  218. package/src/NestedMenuContext/NestedMenuContext.d.ts +22 -5
  219. package/src/NestedMenuContext/SubMenuTriggerNestedIdContext.d.ts +2 -0
  220. package/src/NestedMenuContext/pointerGrace.d.ts +8 -0
  221. package/src/NestedMenuContext/useNestedChildMenu.d.ts +4 -2
  222. package/src/NestedMenuContext/useNestedMenuItem.d.ts +8 -3
  223. package/src/NestedMenuContext/useNestedParentMenu.d.ts +8 -1
  224. package/src/Option/Option.d.ts +1 -1
  225. package/src/Option/Option.type.d.ts +1 -1
  226. package/src/Overlap/Overlap.classes.d.ts +3 -3
  227. package/src/Overlap/Overlap.type.d.ts +8 -8
  228. package/src/PageHeader/PageHeader.classes.d.ts +15 -15
  229. package/src/PageHeader/PageHeader.type.d.ts +6 -6
  230. package/src/PickerTextField/PickerTextField.classes.d.ts +3 -3
  231. package/src/PickerTextField/PickerTextField.d.ts +1 -1
  232. package/src/PickerTextField/PickerTextField.type.d.ts +2 -2
  233. package/src/Popover/Popover.classes.d.ts +3 -3
  234. package/src/Popover/Popover.d.ts +1 -1
  235. package/src/Popover/Popover.type.d.ts +2 -2
  236. package/src/Popper/Popper.d.ts +1 -1
  237. package/src/Popper/Popper.type.d.ts +4 -4
  238. package/src/PopperPaper/PopperPaper.classes.d.ts +3 -3
  239. package/src/PopperPaper/PopperPaper.d.ts +1 -1
  240. package/src/PopperPaper/PopperPaper.type.d.ts +1 -1
  241. package/src/Radio/Radio.classes.d.ts +3 -3
  242. package/src/Radio/Radio.d.ts +2 -2
  243. package/src/Radio/Radio.type.d.ts +1 -1
  244. package/src/RadioGroup/RadioGroup.classes.d.ts +3 -3
  245. package/src/RadioGroup/RadioGroup.context.d.ts +1 -1
  246. package/src/RadioGroup/RadioGroup.d.ts +1 -1
  247. package/src/RadioGroup/RadioGroup.type.d.ts +1 -1
  248. package/src/Rating/Rating.classes.d.ts +3 -3
  249. package/src/Rating/Rating.d.ts +1 -1
  250. package/src/Rating/Rating.type.d.ts +2 -2
  251. package/src/Rating/RatingItem.d.ts +1 -1
  252. package/src/Select/Select.classes.d.ts +4 -4
  253. package/src/Select/Select.type.d.ts +5 -5
  254. package/src/Select/useSelect.d.ts +1 -1
  255. package/src/SingleFilter/FilterButton/FilterButton.classes.d.ts +3 -3
  256. package/src/SingleFilter/FilterButton/FilterButton.d.ts +1 -1
  257. package/src/SingleFilter/FilterButton/FilterButton.type.d.ts +2 -2
  258. package/src/SingleFilter/SingleFilter.classes.d.ts +3 -3
  259. package/src/SingleFilter/SingleFilter.d.ts +1 -1
  260. package/src/SingleFilter/SingleFilter.type.d.ts +2 -2
  261. package/src/Skeleton/Skeleton.classes.d.ts +3 -3
  262. package/src/Skeleton/Skeleton.type.d.ts +1 -1
  263. package/src/Skeleton/SkeletonContainer/SkeletonContainer.classes.d.ts +3 -3
  264. package/src/Skeleton/SkeletonContainer/SkeletonContainer.type.d.ts +5 -5
  265. package/src/Slider/Slider.classes.d.ts +4 -4
  266. package/src/Slider/Slider.d.ts +3 -3
  267. package/src/Slider/Slider.type.d.ts +2 -2
  268. package/src/Slider/SliderThumb.d.ts +1 -1
  269. package/src/Snackbar/Snackbar.classes.d.ts +3 -3
  270. package/src/Snackbar/Snackbar.d.ts +1 -1
  271. package/src/Snackbar/Snackbar.type.d.ts +1 -1
  272. package/src/Snackbar/SnackbarContent/SnackbarContent.classes.d.ts +3 -3
  273. package/src/Snackbar/SnackbarContent/SnackbarContent.type.d.ts +1 -1
  274. package/src/SortableList/SortableList.type.d.ts +1 -1
  275. package/src/SortableListDndContext/SortableListDndContext.type.d.ts +2 -2
  276. package/src/SortableListItem/SortableListItem.d.ts +1 -1
  277. package/src/SortableListItem/SortableListItem.type.d.ts +2 -2
  278. package/src/SortableListItem/SortableListItemOverlay.d.ts +1 -1
  279. package/src/SortableListItem/SortableListItemOverlay.type.d.ts +1 -1
  280. package/src/SortableVirtualizedList/SortableVirtualizedList.type.d.ts +1 -1
  281. package/src/SplitButton/SplitButton.classes.d.ts +3 -3
  282. package/src/SplitButton/SplitButton.d.ts +1 -1
  283. package/src/SplitButton/SplitButton.type.d.ts +1 -1
  284. package/src/Squircle/Squircle.type.d.ts +5 -5
  285. package/src/Squircle/squircle.classes.d.ts +3 -3
  286. package/src/StatusIndicator/StatusIndicator.classes.d.ts +3 -3
  287. package/src/StatusIndicator/StatusIndicator.type.d.ts +1 -1
  288. package/src/Step/Step.classes.d.ts +3 -3
  289. package/src/Step/Step.type.d.ts +5 -5
  290. package/src/Step/StepContext.d.ts +1 -1
  291. package/src/StepButton/StepButton.classes.d.ts +3 -3
  292. package/src/StepButton/StepButton.type.d.ts +5 -5
  293. package/src/StepConnector/StepConnector.classes.d.ts +3 -3
  294. package/src/StepConnector/StepConnector.type.d.ts +1 -1
  295. package/src/StepContent/StepContent.classes.d.ts +3 -3
  296. package/src/StepContent/StepContent.d.ts +1 -1
  297. package/src/StepContent/StepContent.type.d.ts +1 -1
  298. package/src/StepIcon/StepIcon.classes.d.ts +3 -3
  299. package/src/StepIcon/StepIcon.type.d.ts +1 -1
  300. package/src/StepLabel/StepLabel.classes.d.ts +4 -4
  301. package/src/StepLabel/StepLabel.d.ts +1 -1
  302. package/src/StepLabel/StepLabel.type.d.ts +1 -1
  303. package/src/Stepper/Stepper.classes.d.ts +3 -3
  304. package/src/Stepper/Stepper.type.d.ts +6 -6
  305. package/src/Stepper/StepperContext.d.ts +1 -1
  306. package/src/SubMenu/PopperMenu.classes.d.ts +3 -3
  307. package/src/SubMenu/PopperMenu.d.ts +1 -1
  308. package/src/SubMenu/PopperMenu.type.d.ts +1 -1
  309. package/src/SubMenu/SubMenu.d.ts +1 -1
  310. package/src/SubMenu/SubMenu.type.d.ts +1 -1
  311. package/src/SubMenu/useSubMenuInteractionState.d.ts +13 -0
  312. package/src/SubMenu/useSubMenuPointerGrace.d.ts +15 -0
  313. package/src/SwipeableDrawer/SwipeableDrawer.classes.d.ts +3 -3
  314. package/src/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  315. package/src/SwipeableDrawer/SwipeableDrawer.types.d.ts +2 -2
  316. package/src/SwipeableDrawer/hooks/useSnapPoints.d.ts +1 -1
  317. package/src/Switch/Switch.classes.d.ts +3 -3
  318. package/src/Switch/Switch.d.ts +4 -2
  319. package/src/Switch/Switch.type.d.ts +4 -1
  320. package/src/Tab/Tab.classes.d.ts +4 -4
  321. package/src/Tab/Tab.d.ts +1 -1
  322. package/src/Tab/Tab.type.d.ts +4 -4
  323. package/src/TabContext/TabContext.type.d.ts +1 -1
  324. package/src/TabPanel/TabPanel.classes.d.ts +3 -3
  325. package/src/TabPanel/TabPanel.d.ts +1 -1
  326. package/src/TabPanel/TabPanel.type.d.ts +1 -1
  327. package/src/Table/Table.classes.d.ts +3 -3
  328. package/src/Table/Table.type.d.ts +5 -5
  329. package/src/Table/TableContext.d.ts +1 -1
  330. package/src/Table/Tablelvl2Context.d.ts +1 -1
  331. package/src/TableBody/TableBody.classes.d.ts +3 -3
  332. package/src/TableBody/TableBody.type.d.ts +5 -5
  333. package/src/TableCell/TableCell.classes.d.ts +3 -3
  334. package/src/TableCell/TableCell.type.d.ts +7 -7
  335. package/src/TableContainer/TableContainer.classes.d.ts +3 -3
  336. package/src/TableContainer/TableContainer.type.d.ts +6 -6
  337. package/src/TableFooter/TableFooter.classes.d.ts +3 -3
  338. package/src/TableFooter/TableFooter.d.ts +1 -1
  339. package/src/TableFooter/TableFooter.type.d.ts +1 -1
  340. package/src/TableHead/TableHead.classes.d.ts +3 -3
  341. package/src/TableHead/TableHead.type.d.ts +5 -5
  342. package/src/TablePagination/TablePagination.classes.d.ts +3 -3
  343. package/src/TablePagination/TablePagination.type.d.ts +8 -6
  344. package/src/TableRow/TableRow.classes.d.ts +3 -3
  345. package/src/TableRow/TableRow.type.d.ts +5 -5
  346. package/src/Tabs/TabMoreMenu.d.ts +2 -2
  347. package/src/Tabs/TabScrollButton.d.ts +2 -2
  348. package/src/Tabs/Tabs.classes.d.ts +9 -9
  349. package/src/Tabs/Tabs.d.ts +1 -1
  350. package/src/Tabs/Tabs.type.d.ts +2 -2
  351. package/src/Tabs/TabsContext.d.ts +1 -1
  352. package/src/Tabs/hooks/useTabsScroller.d.ts +3 -3
  353. package/src/Tag/Tag.classes.d.ts +3 -3
  354. package/src/Tag/Tag.d.ts +1 -1
  355. package/src/Tag/Tag.type.d.ts +2 -2
  356. package/src/Text/Text.classes.d.ts +3 -3
  357. package/src/Text/Text.type.d.ts +5 -5
  358. package/src/TextField/TextField.classes.d.ts +3 -3
  359. package/src/TextField/TextField.d.ts +1 -1
  360. package/src/TextField/TextField.type.d.ts +9 -9
  361. package/src/Textarea/Textarea.classes.d.ts +4 -4
  362. package/src/Textarea/Textarea.d.ts +1 -1
  363. package/src/Textarea/Textarea.type.d.ts +3 -3
  364. package/src/TimePicker/NumberPicker.d.ts +1 -1
  365. package/src/TimePicker/NumberPicker.type.d.ts +3 -3
  366. package/src/TimePicker/PickerView.type.d.ts +3 -3
  367. package/src/TimePicker/SelectionView.d.ts +1 -1
  368. package/src/TimePicker/TimeButton.d.ts +1 -1
  369. package/src/TimePicker/TimePicker.classes.d.ts +3 -3
  370. package/src/TimePicker/TimePicker.type.d.ts +1 -1
  371. package/src/TimePicker/ToggleText.d.ts +1 -1
  372. package/src/TimePicker/ToggleText.type.d.ts +2 -2
  373. package/src/TimePicker/utils/TimeBoundary.d.ts +3 -3
  374. package/src/TimePicker/utils/TimePickerHelper.d.ts +5 -5
  375. package/src/TimePicker/utils/getNumberPickerBoundary.d.ts +1 -1
  376. package/src/TimePicker/utils/runKeyHandler.d.ts +1 -1
  377. package/src/Tooltip/Tooltip.type.d.ts +1 -1
  378. package/src/Tooltip/TooltipTrigger.a11y.d.ts +4 -4
  379. package/src/Tooltip/TooltipTrigger.type.d.ts +1 -1
  380. package/src/Tooltip/TooltipView.classes.d.ts +3 -3
  381. package/src/Tooltip/TooltipView.type.d.ts +2 -2
  382. package/src/Tooltip/withTooltip/withTooltip.d.ts +1 -1
  383. package/src/Tray/Tray.classes.d.ts +6 -6
  384. package/src/Tray/Tray.d.ts +1 -1
  385. package/src/Tray/Tray.type.d.ts +2 -2
  386. package/src/Tray/TrayContext.d.ts +1 -1
  387. package/src/Tray/TrayPanel.d.ts +1 -1
  388. package/src/Tray/hooks/useTray.d.ts +2 -2
  389. package/src/Tray/hooks/useTrayPanel.d.ts +2 -2
  390. package/src/Tray/types.d.ts +2 -2
  391. package/src/TrayMenu/TrayMenu.d.ts +1 -1
  392. package/src/TrayMenu/TrayMenu.type.d.ts +1 -1
  393. package/src/TrayMenu/TrayMenuItem.d.ts +2 -2
  394. package/src/VirtualizedList/VirtualizedItemPropsContext.d.ts +1 -1
  395. package/src/VirtualizedList/VirtualizedList.type.d.ts +2 -2
  396. package/src/VirtualizedList/VirtuosoContextType.d.ts +1 -1
  397. package/src/VirtualizedMenu/VirtualizedMenu.classes.d.ts +3 -3
  398. package/src/VirtualizedMenu/VirtualizedMenu.context.d.ts +1 -1
  399. package/src/VirtualizedMenu/VirtualizedMenu.type.d.ts +1 -1
  400. package/src/VirtualizedMenu/VirtualizedMenuList.d.ts +1 -1
  401. package/src/VisuallyHidden/VisuallyHidden.classes.d.ts +3 -3
  402. package/src/VisuallyHidden/VisuallyHidden.type.d.ts +1 -1
  403. package/src/internal/utils/composeEventHandlers.d.ts +7 -0
  404. package/src/internal/utils/index.d.ts +1 -0
  405. package/src/Animation/hooks/useMotionSafeTransition/useMotionSafeTransition.d.ts +0 -6
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { MenuItemProps } from './MenuItem.type';
3
3
  import menuItemStyle from './styles/MenuItem.css';
4
- declare const MenuItem: import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "aria-hidden" | "dir" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "focused" | "selected" | "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" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "highlighted" | "disableFocusOnHover" | "autoClose"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const MenuItem: import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "focused" | "selected" | "className" | "accessKey" | "dir" | "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" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "highlighted" | "disableFocusOnHover" | "autoClose"> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  export { MenuItem, menuItemStyle };
@@ -1,7 +1,7 @@
1
1
  import { UseMenuItemParameters } from '@mui/base';
2
2
  import { StandardProps } from '@ringcentral/spring-base';
3
3
  import { MenuItemClassesKey } from './MenuItem.classes';
4
- export declare type MenuItemProps = StandardProps<{
4
+ export type MenuItemProps = StandardProps<{
5
5
  selected?: boolean;
6
6
  highlighted?: boolean;
7
7
  focused?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type MenuItemSelectContextValue<T> = {
2
+ export type MenuItemSelectContextValue<T> = {
3
3
  selectMode: 'single' | 'multiple';
4
4
  value: T;
5
5
  handleSelect: (itemValue: T) => void;
@@ -1,5 +1,5 @@
1
1
  import { FocusEventHandler, KeyboardEventHandler, Ref } from 'react';
2
- export declare type UseMenuItemProps = {
2
+ export type UseMenuItemProps = {
3
3
  onFocus?: FocusEventHandler;
4
4
  onBlur?: FocusEventHandler;
5
5
  onKeyDown?: KeyboardEventHandler;
@@ -2,14 +2,14 @@ export declare enum Action {
2
2
  SELECT = "select",
3
3
  DESELECT = "deselect"
4
4
  }
5
- export declare type SelectMode = 'single' | 'multiple';
6
- declare type MultipleModeOnChange<T> = (value: T[], operation: {
5
+ export type SelectMode = 'single' | 'multiple';
6
+ type MultipleModeOnChange<T> = (value: T[], operation: {
7
7
  value: T;
8
8
  action: Action;
9
9
  }) => void;
10
- declare type SingleModeOnChange<T> = (value: T) => void;
11
- export declare type MenuItemSelectProps<T = unknown, M extends SelectMode = 'single'> = UseMenuItemSelectParameters<T, M>;
12
- export declare type UseMenuItemSelectParameters<T = unknown, S extends SelectMode = 'single'> = {
10
+ type SingleModeOnChange<T> = (value: T) => void;
11
+ export type MenuItemSelectProps<T = unknown, M extends SelectMode = 'single'> = UseMenuItemSelectParameters<T, M>;
12
+ export type UseMenuItemSelectParameters<T = unknown, S extends SelectMode = 'single'> = {
13
13
  widget?: 'menu' | 'select';
14
14
  selectMode?: 'single' | 'multiple';
15
15
  value?: S extends 'multiple' ? T[] : T;
@@ -1,11 +1,12 @@
1
1
  import { FocusEventHandler, KeyboardEventHandler, Ref } from 'react';
2
- export declare type UseVirtualizedMenuItemProps = {
2
+ export type UseVirtualizedMenuItemProps = {
3
3
  onFocus?: FocusEventHandler;
4
4
  onBlur?: FocusEventHandler;
5
5
  onKeyDown?: KeyboardEventHandler;
6
6
  onKeyUp?: KeyboardEventHandler;
7
7
  onClick?: (event: any) => void;
8
8
  ref?: Ref<any>;
9
+ disabled?: boolean;
9
10
  autoClose?: boolean;
10
11
  };
11
12
  export declare const useVirtualizedMenuItem: (props: UseVirtualizedMenuItemProps) => {
@@ -1,7 +1,7 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- export declare type BaseMenuItemTextClassesKey = 'root' | 'primary-text' | 'info-text';
3
- export declare type MenuItemTextClassesKey = CamelCase<BaseMenuItemTextClassesKey>;
4
- export declare type MenuItemTextClasses = {
2
+ export type BaseMenuItemTextClassesKey = 'root' | 'primary-text' | 'info-text';
3
+ export type MenuItemTextClassesKey = CamelCase<BaseMenuItemTextClassesKey>;
4
+ export type MenuItemTextClasses = {
5
5
  name: 'menu-item-text';
6
6
  classes: BaseMenuItemTextClassesKey;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { MenuItemTextProps } from './MenuItemText.type';
3
3
  import menuItemTextStyle from './styles/MenuItemText.css';
4
- declare const MenuItemText: import("react").ForwardRefExoticComponent<Pick<MenuItemTextProps, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "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" | "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" | "primary" | `data-${string}` | "info" | "primaryText" | "infoText"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const MenuItemText: import("react").ForwardRefExoticComponent<Pick<MenuItemTextProps, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "className" | "accessKey" | "dir" | "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" | "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" | "primary" | `data-${string}` | "info" | "primaryText" | "infoText"> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  export { MenuItemText, menuItemTextStyle };
@@ -1,7 +1,7 @@
1
1
  import { StandardProps } from '@ringcentral/spring-base';
2
2
  import { ReactNode } from 'react';
3
3
  import { MenuItemTextClassesKey } from './MenuItemText.classes';
4
- export declare type MenuItemTextProps = StandardProps<{
4
+ export type MenuItemTextProps = StandardProps<{
5
5
  primaryText?: ReactNode;
6
6
  primary?: ReactNode;
7
7
  children?: ReactNode;
@@ -1,7 +1,7 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- export declare type BaseMenuListClassesKey = 'root';
3
- export declare type MenuListClassesKey = CamelCase<BaseMenuListClassesKey>;
4
- export declare type MenuListClasses = {
2
+ export type BaseMenuListClassesKey = 'root';
3
+ export type MenuListClassesKey = CamelCase<BaseMenuListClassesKey>;
4
+ export type MenuListClasses = {
5
5
  name: 'menu-list';
6
6
  classes: BaseMenuListClassesKey;
7
7
  };
@@ -3,7 +3,7 @@ import { StandardProps } from '@ringcentral/spring-base';
3
3
  import { MenuItemSelectProps, SelectMode } from '../MenuItem';
4
4
  import { MenuListClassesKey } from './MenuList.classes';
5
5
  import { MenuListContextValue } from './MenuListContext';
6
- export declare type MenuListProps<M extends SelectMode = 'single', V = unknown> = StandardProps<MenuItemSelectProps<V, M> & {
6
+ export type MenuListProps<M extends SelectMode = 'single', V = unknown> = StandardProps<MenuItemSelectProps<V, M> & {
7
7
  autoFocus?: boolean;
8
8
  } & MenuListContextValue, MenuListClassesKey, 'div'>;
9
9
  export interface MenuListComponent {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type MenuListContextValue = {
2
+ export type MenuListContextValue = {
3
3
  nowrap?: boolean;
4
4
  };
5
5
  export declare const MenuListContext: import("react").Context<MenuListContextValue>;
@@ -14,5 +14,5 @@ declare const InnerModal: import("react").ForwardRefExoticComponent<Pick<import(
14
14
  motionProps?: import("framer-motion").MotionProps | null | undefined;
15
15
  } & Pick<import("@mui/base").FocusTrapProps, "isEnabled" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus"> & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
16
16
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
- }, "" | "children" | "style" | "classes" | "isEnabled" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps"> & import("@ringcentral/spring-base").HTMLDataAttribute, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "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" | "isEnabled" | "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" | "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}` | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps"> & import("react").RefAttributes<HTMLDivElement>>;
17
+ }, "" | "children" | "style" | "classes" | "isEnabled" | "onDrag" | "onDragEnd" | "onDragStart" | "onAnimationStart" | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps"> & import("@ringcentral/spring-base").HTMLDataAttribute, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "className" | "accessKey" | "dir" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "placeholder" | "isEnabled" | "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" | "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}` | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps"> & import("react").RefAttributes<HTMLDivElement>>;
18
18
  export { InnerModal };
@@ -3,8 +3,8 @@ import { KeyboardEventHandler, MouseEventHandler, ReactElement, SyntheticEvent }
3
3
  import { FocusTrapProps } from '@mui/base';
4
4
  import { BackdropProps } from '../Backdrop';
5
5
  import { ModalClassesKey } from './Modal.classes';
6
- export declare type ModalCloseReason = 'escapeKeyDown' | 'backdropClick';
7
- export declare type InnerModalProps = StandardProps<{
6
+ export type ModalCloseReason = 'escapeKeyDown' | 'backdropClick';
7
+ export type InnerModalProps = StandardProps<{
8
8
  open: boolean;
9
9
  hideBackdrop?: boolean;
10
10
  children: ReactElement;
@@ -1,7 +1,7 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- export declare type BaseModalClassesKey = 'root' | 'non-blocking';
3
- export declare type ModalClassesKey = CamelCase<BaseModalClassesKey>;
4
- export declare type ModalClasses = {
2
+ export type BaseModalClassesKey = 'root' | 'non-blocking';
3
+ export type ModalClassesKey = CamelCase<BaseModalClassesKey>;
4
+ export type ModalClasses = {
5
5
  name: 'modal';
6
6
  classes: BaseModalClassesKey;
7
7
  };
@@ -20,5 +20,5 @@ declare const Modal: import("react").ForwardRefExoticComponent<Pick<import("@rin
20
20
  onExitComplete?: (() => void) | undefined;
21
21
  disableBackdropAnimation?: boolean | undefined;
22
22
  disableScrollLock?: boolean | undefined;
23
- } & Omit<import("@mui/base/Portal/Portal.types").PortalProps, "children">, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "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" | "container" | "isEnabled" | "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" | "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}` | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps" | "disablePortal" | "onExitComplete" | "disableBackdropAnimation" | "disableScrollLock"> & import("react").RefAttributes<HTMLDivElement>>;
23
+ } & Omit<import("@mui/base/Portal/Portal.types").PortalProps, "children">, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "className" | "accessKey" | "dir" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "placeholder" | "container" | "isEnabled" | "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" | "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}` | "open" | "blocking" | "disableRestoreFocus" | "disableAutoFocus" | "disableEnforceFocus" | "hideBackdrop" | "disableBackdropClick" | "onBackdropClick" | "disableEscapeKeyDown" | "onEscapeKeyDown" | "onClose" | "backdropProps" | "motionProps" | "disablePortal" | "onExitComplete" | "disableBackdropAnimation" | "disableScrollLock"> & import("react").RefAttributes<HTMLDivElement>>;
24
24
  export { Modal, modalStyles };
@@ -1,6 +1,6 @@
1
1
  import { PortalProps } from '../Portal';
2
2
  import { InnerModalProps, ModalCloseReason } from './InnerModal.type';
3
- export declare type ModalProps = InnerModalProps & {
3
+ export type ModalProps = InnerModalProps & {
4
4
  onExitComplete?: () => void;
5
5
  disableBackdropAnimation?: boolean;
6
6
  disableScrollLock?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type ModalContextValue = {
2
+ export type ModalContextValue = {
3
3
  ariaHideEnabled: boolean;
4
4
  };
5
5
  export declare const ModalContext: import("react").Context<ModalContextValue | null>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export type MenuOverlayGroupContextValue = {
3
+ container: HTMLElement | null;
4
+ };
5
+ type MenuOverlayGroupContainerProps = {
6
+ setContainer: (container: HTMLDivElement | null) => void;
7
+ };
8
+ declare const MenuOverlayGroupContext: import("react").Context<MenuOverlayGroupContextValue | null>;
9
+ export declare const useMenuOverlayGroupContext: () => MenuOverlayGroupContextValue | null;
10
+ export declare const useMenuOverlayGroupValue: () => {
11
+ setContainer: import("react").Dispatch<import("react").SetStateAction<HTMLDivElement | null>>;
12
+ value: MenuOverlayGroupContextValue;
13
+ };
14
+ export declare const MenuOverlayGroupContainer: (props: MenuOverlayGroupContainerProps) => JSX.Element;
15
+ export { MenuOverlayGroupContext };
@@ -1,11 +1,28 @@
1
- /// <reference types="react" />
2
- export declare type SubMenuItemSymbol = {
1
+ import { MouseEvent as ReactMouseEvent, PointerEvent as ReactPointerEvent } from 'react';
2
+ export type CloseSubMenuOptions = {
3
+ restoreFocus?: boolean;
4
+ };
5
+ export type SubMenuItemSymbol = {
3
6
  anchorId: string;
4
- closeSubMenu: () => void;
7
+ getAnchorElement?: () => HTMLElement | null;
8
+ closeSubMenu: (options?: CloseSubMenuOptions) => void;
9
+ };
10
+ export type NestedMenuPointerEvent = Pick<MouseEvent | ReactMouseEvent | PointerEvent | ReactPointerEvent, 'clientX' | 'clientY'>;
11
+ export type PointerGraceIntent = {
12
+ area: {
13
+ x: number;
14
+ y: number;
15
+ }[];
16
+ side: 'left' | 'right';
17
+ };
18
+ export type RegisterHoveredItemOptions = {
19
+ closeOpenedSubMenu?: boolean;
5
20
  };
6
- export declare type NestedMenuContextValue = {
7
- registHoveredItem: (menuItemId: string) => void;
21
+ export type NestedMenuContextValue = {
22
+ registHoveredItem: (menuItemId: string, event?: NestedMenuPointerEvent, options?: RegisterHoveredItemOptions) => boolean | void;
8
23
  registOpenedSubMenu: (menuItemSymbol: SubMenuItemSymbol) => () => void;
24
+ isPointerMovingToSubMenu?: (event: NestedMenuPointerEvent, intent?: PointerGraceIntent | null) => boolean;
25
+ onPointerGraceIntentChange?: (intent: PointerGraceIntent | null) => void;
9
26
  } | null;
10
27
  export declare const NestedMenuContext: import("react").Context<NestedMenuContextValue>;
11
28
  export declare const useNestedMenuContext: () => NestedMenuContextValue;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SubMenuTriggerNestedIdContext: import("react").Context<string | null>;
@@ -0,0 +1,8 @@
1
+ import type { NestedMenuPointerEvent, PointerGraceIntent } from './NestedMenuContext';
2
+ type Point = {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ export declare const isPointInPolygon: (point: Point, polygon: Point[]) => boolean;
7
+ export declare const isPointerInGraceArea: (event: NestedMenuPointerEvent, area?: PointerGraceIntent['area']) => boolean;
8
+ export {};
@@ -1,6 +1,8 @@
1
- export declare type UseNestedChildMenuProps = {
1
+ import { CloseSubMenuOptions } from './NestedMenuContext';
2
+ export type UseNestedChildMenuProps = {
2
3
  open: boolean;
3
4
  id: string;
4
- closeMenu: () => void;
5
+ getAnchorElement?: () => HTMLElement | null;
6
+ closeMenu: (options?: CloseSubMenuOptions) => void;
5
7
  };
6
8
  export declare const useNestedChildMenu: (props: UseNestedChildMenuProps) => void;
@@ -1,5 +1,10 @@
1
- export declare type UseNestedMenuChildProps = {
2
- hovered: boolean;
1
+ import { NestedMenuPointerEvent, PointerGraceIntent, RegisterHoveredItemOptions } from './NestedMenuContext';
2
+ export type UseNestedMenuChildProps = {
3
3
  id: string;
4
+ hovered?: boolean;
5
+ };
6
+ export declare const useNestedMenuItem: (props: UseNestedMenuChildProps) => {
7
+ isPointerMovingToSubMenu: (event: NestedMenuPointerEvent, intent?: PointerGraceIntent | null) => boolean;
8
+ onPointerGraceIntentChange: ((intent: PointerGraceIntent | null) => void) | undefined;
9
+ requestItemHover: (event?: NestedMenuPointerEvent, options?: RegisterHoveredItemOptions) => boolean;
4
10
  };
5
- export declare const useNestedMenuItem: (props: UseNestedMenuChildProps) => void;
@@ -1,8 +1,15 @@
1
+ import { MouseEvent as ReactMouseEvent, PointerEvent as ReactPointerEvent } from 'react';
1
2
  import { NestedMenuContextValue } from './NestedMenuContext';
2
- export declare type UseNestedParentMenuProps = {
3
+ export type UseNestedParentMenuProps = {
3
4
  open: boolean;
4
5
  };
5
6
  export declare const useNestedParentMenu: (props: UseNestedParentMenuProps) => {
7
+ contentClickHandlers: {
8
+ onClickCapture: (event: ReactMouseEvent<HTMLElement>) => void;
9
+ };
10
+ contentPointerHandlers: {
11
+ onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
12
+ };
6
13
  contextValue: NestedMenuContextValue;
7
14
  getHaveOpenedSubMenu: () => boolean;
8
15
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { OptionProps } from './Option.type';
3
- declare const Option: import("react").ForwardRefExoticComponent<Pick<OptionProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "aria-hidden" | "dir" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "role" | "classes" | "focused" | "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" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "highlighted" | "disableFocusOnHover" | "autoClose"> & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const Option: import("react").ForwardRefExoticComponent<Pick<OptionProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "focused" | "className" | "accessKey" | "dir" | "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" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "highlighted" | "disableFocusOnHover" | "autoClose"> & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export { Option };
@@ -1,4 +1,4 @@
1
1
  import { MenuItemProps } from '../MenuItem';
2
- export declare type OptionProps = {
2
+ export type OptionProps = {
3
3
  value: any;
4
4
  } & Omit<MenuItemProps, 'value' | 'selected'>;
@@ -1,7 +1,7 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- export declare type BaseOverlapClassesKey = 'root' | 'floater' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'show-floater-on-hover-only';
3
- export declare type OverlapClassesKey = CamelCase<BaseOverlapClassesKey>;
4
- export declare type OverlapClasses = {
2
+ export type BaseOverlapClassesKey = 'root' | 'floater' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'show-floater-on-hover-only';
3
+ export type OverlapClassesKey = CamelCase<BaseOverlapClassesKey>;
4
+ export type OverlapClasses = {
5
5
  name: 'overlap';
6
6
  classes: BaseOverlapClassesKey;
7
7
  };
@@ -1,18 +1,18 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { OverridableComponent, OverridableProps, WithClassesProps } from '@ringcentral/spring-base';
3
3
  import { OverlapClassesKey } from './Overlap.classes';
4
- export declare type OverlapDefaultElementType = 'div';
5
- declare type ExtendElementType = 'a' | 'li' | 'div' | 'span' | 'button';
6
- export declare type KeyPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
7
- declare type RawPosition = Partial<Record<'top' | 'bottom' | 'left' | 'right', string>>;
8
- export declare type OverlapPosition = RawPosition | KeyPosition;
9
- declare type BaseOverlapProps = WithClassesProps<{
4
+ export type OverlapDefaultElementType = 'div';
5
+ type ExtendElementType = 'a' | 'li' | 'div' | 'span' | 'button';
6
+ export type KeyPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
7
+ type RawPosition = Partial<Record<'top' | 'bottom' | 'left' | 'right', string>>;
8
+ export type OverlapPosition = RawPosition | KeyPosition;
9
+ type BaseOverlapProps = WithClassesProps<{
10
10
  position: OverlapPosition;
11
11
  floater?: ReactElement;
12
12
  showFloaterOnHoverOnly?: boolean;
13
13
  }, OverlapClassesKey>;
14
- export declare type OverlapProps<T extends ExtendElementType = OverlapDefaultElementType> = OverridableProps<BaseOverlapProps, T>;
15
- export declare type OverlapComponent = OverridableComponent<{
14
+ export type OverlapProps<T extends ExtendElementType = OverlapDefaultElementType> = OverridableProps<BaseOverlapProps, T>;
15
+ export type OverlapComponent = OverridableComponent<{
16
16
  props: BaseOverlapProps;
17
17
  defaultComponent: OverlapDefaultElementType;
18
18
  }>;
@@ -1,32 +1,32 @@
1
1
  import type { CamelCase } from 'type-fest';
2
2
  import { PageHeaderVariant } from './PageHeader.type';
3
- export declare type BasePageHeaderClassesKey = 'root' | PageHeaderVariant;
4
- export declare type PageHeaderClassesKey = CamelCase<BasePageHeaderClassesKey>;
5
- export declare type PageHeaderClasses = {
3
+ export type BasePageHeaderClassesKey = 'root' | PageHeaderVariant;
4
+ export type PageHeaderClassesKey = CamelCase<BasePageHeaderClassesKey>;
5
+ export type PageHeaderClasses = {
6
6
  name: 'page-header';
7
7
  classes: BasePageHeaderClassesKey;
8
8
  };
9
- export declare type BasePageHeaderLeftClassesKey = 'root';
10
- export declare type PageHeaderLeftClassesKey = CamelCase<BasePageHeaderLeftClassesKey>;
11
- export declare type PageHeaderLeftClasses = {
9
+ export type BasePageHeaderLeftClassesKey = 'root';
10
+ export type PageHeaderLeftClassesKey = CamelCase<BasePageHeaderLeftClassesKey>;
11
+ export type PageHeaderLeftClasses = {
12
12
  name: 'page-header-left';
13
13
  classes: BasePageHeaderClassesKey;
14
14
  };
15
- export declare type BasePageHeaderRightClassesKey = 'root';
16
- export declare type PageHeaderRightClassesKey = CamelCase<BasePageHeaderRightClassesKey>;
17
- export declare type PageHeaderRightClasses = {
15
+ export type BasePageHeaderRightClassesKey = 'root';
16
+ export type PageHeaderRightClassesKey = CamelCase<BasePageHeaderRightClassesKey>;
17
+ export type PageHeaderRightClasses = {
18
18
  name: 'page-header-right';
19
19
  classes: BasePageHeaderClassesKey;
20
20
  };
21
- export declare type BasePageHeaderCenterClassesKey = 'root';
22
- export declare type PageHeaderCenterClassesKey = CamelCase<BasePageHeaderCenterClassesKey>;
23
- export declare type PageHeaderCenterClasses = {
21
+ export type BasePageHeaderCenterClassesKey = 'root';
22
+ export type PageHeaderCenterClassesKey = CamelCase<BasePageHeaderCenterClassesKey>;
23
+ export type PageHeaderCenterClasses = {
24
24
  name: 'page-header-center';
25
25
  classes: BasePageHeaderClassesKey;
26
26
  };
27
- export declare type BasePageHeaderTitleClassesKey = 'root';
28
- export declare type PageHeaderTitleClassesKey = CamelCase<BasePageHeaderTitleClassesKey>;
29
- export declare type PageHeaderTitleClasses = {
27
+ export type BasePageHeaderTitleClassesKey = 'root';
28
+ export type PageHeaderTitleClassesKey = CamelCase<BasePageHeaderTitleClassesKey>;
29
+ export type PageHeaderTitleClasses = {
30
30
  name: 'page-header-title';
31
31
  classes: BasePageHeaderClassesKey;
32
32
  };
@@ -1,10 +1,10 @@
1
1
  import { StandardProps } from '@ringcentral/spring-base';
2
2
  import { PageHeaderCenterClassesKey, PageHeaderClassesKey, PageHeaderLeftClassesKey, PageHeaderRightClassesKey, PageHeaderTitleClassesKey } from './PageHeader.classes';
3
- export declare type PageHeaderVariant = 'integrated' | 'detached';
4
- export declare type PageHeaderProps = StandardProps<{
3
+ export type PageHeaderVariant = 'integrated' | 'detached';
4
+ export type PageHeaderProps = StandardProps<{
5
5
  variant?: PageHeaderVariant;
6
6
  }, PageHeaderClassesKey, 'header'>;
7
- export declare type PageHeaderLeftProps = StandardProps<{}, PageHeaderLeftClassesKey, 'div'>;
8
- export declare type PageHeaderCenterProps = StandardProps<{}, PageHeaderCenterClassesKey, 'div'>;
9
- export declare type PageHeaderRightProps = StandardProps<{}, PageHeaderRightClassesKey, 'div'>;
10
- export declare type PageHeaderTitleProps = StandardProps<{}, PageHeaderTitleClassesKey, 'div'>;
7
+ export type PageHeaderLeftProps = StandardProps<{}, PageHeaderLeftClassesKey, 'div'>;
8
+ export type PageHeaderCenterProps = StandardProps<{}, PageHeaderCenterClassesKey, 'div'>;
9
+ export type PageHeaderRightProps = StandardProps<{}, PageHeaderRightClassesKey, 'div'>;
10
+ export type PageHeaderTitleProps = StandardProps<{}, PageHeaderTitleClassesKey, 'div'>;
@@ -1,7 +1,7 @@
1
1
  import type { CamelCase } from 'type-fest';
2
- export declare type BasePickerTextFieldClassesKey = 'root' | 'input' | 'end-icon' | 'form-field-content' | 'has-value';
3
- export declare type PickerTextFieldClassesKey = CamelCase<BasePickerTextFieldClassesKey>;
4
- export declare type PickerTextFieldClasses = {
2
+ export type BasePickerTextFieldClassesKey = 'root' | 'input' | 'end-icon' | 'form-field-content' | 'has-value';
3
+ export type PickerTextFieldClassesKey = CamelCase<BasePickerTextFieldClassesKey>;
4
+ export type PickerTextFieldClasses = {
5
5
  name: 'picker-text-field';
6
6
  classes: BasePickerTextFieldClassesKey;
7
7
  };