@astral/ui 1.39.3 → 1.40.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 (527) hide show
  1. package/ActionCell/ActionCell.d.ts +6 -6
  2. package/Alert/Alert.d.ts +1 -1
  3. package/Autocomplete/Autocomplete.d.ts +3 -3
  4. package/Autocomplete/Autocomplete.js +1 -1
  5. package/Autocomplete/Autocomplete.test.d.ts +1 -0
  6. package/Autocomplete/Autocomplete.test.js +98 -0
  7. package/Autocomplete/constants.d.ts +0 -4
  8. package/Autocomplete/constants.js +1 -6
  9. package/Autocomplete/enums.d.ts +4 -0
  10. package/Autocomplete/enums.js +8 -0
  11. package/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
  12. package/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
  13. package/Badge/types.d.ts +2 -2
  14. package/Breadcrumbs/index.d.ts +1 -0
  15. package/Breadcrumbs/index.js +5 -0
  16. package/Button/Button.d.ts +1 -1
  17. package/Button/Button.test.d.ts +1 -0
  18. package/Button/Button.test.js +35 -0
  19. package/Button/types.d.ts +1 -1
  20. package/ButtonBase/ButtonBase.d.ts +1 -1
  21. package/ButtonBase/styles.d.ts +2 -2
  22. package/ButtonBase/types.d.ts +5 -5
  23. package/Checkbox/Checkbox.d.ts +1 -1
  24. package/Checkbox/types.d.ts +1 -1
  25. package/Chevron/Chevron.d.ts +1 -1
  26. package/Chevron/styles.d.ts +1 -1
  27. package/CircularProgress/CircularProgress.d.ts +2 -2
  28. package/CircularProgress/CircularProgressStory.d.ts +1 -1
  29. package/Collapse/Collapse.d.ts +1 -1
  30. package/ConfigProvider/ConfigProvider.d.ts +3 -3
  31. package/ContentState/ContentState.d.ts +2 -2
  32. package/ContentState/types.d.ts +1 -1
  33. package/DashboardLayout/DashboardLayout.d.ts +1 -1
  34. package/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
  35. package/DashboardLayout/Header/Header.d.ts +1 -1
  36. package/DashboardLayout/Main/Main.d.ts +1 -1
  37. package/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  38. package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
  39. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
  40. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  41. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
  42. package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  43. package/DataGrid/DataGrid.d.ts +1 -1
  44. package/DataGrid/DataGrid.js +2 -1
  45. package/DataGrid/DataGrid.test.d.ts +1 -0
  46. package/DataGrid/DataGrid.test.js +117 -0
  47. package/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
  48. package/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
  49. package/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
  50. package/DataGrid/DataGridHead/DataGridHead.js +5 -5
  51. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  52. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +3 -3
  53. package/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
  54. package/DataGrid/DataGridLoader/styles.d.ts +1 -1
  55. package/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
  56. package/DataGrid/{constants.d.ts → enums.d.ts} +0 -0
  57. package/DataGrid/{constants.js → enums.js} +0 -0
  58. package/DataGrid/types.d.ts +7 -7
  59. package/DataGridPagination/DataGridPagination.d.ts +1 -1
  60. package/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
  61. package/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
  62. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
  63. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
  64. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
  65. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
  66. package/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
  67. package/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
  68. package/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
  69. package/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
  70. package/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
  71. package/DatePicker/DatePicker.d.ts +1 -1
  72. package/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
  73. package/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
  74. package/DatePicker/DatePickerInput/styles.d.ts +1 -1
  75. package/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
  76. package/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
  77. package/DatePicker/DayPicker/DayPicker.d.ts +3 -3
  78. package/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
  79. package/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
  80. package/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
  81. package/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
  82. package/DatePicker/YearPicker/YearPicker.d.ts +2 -2
  83. package/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
  84. package/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
  85. package/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
  86. package/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
  87. package/DatePicker/types/configTypes.d.ts +3 -3
  88. package/DatePicker/types/gridBuilder.d.ts +4 -4
  89. package/DatePicker/types/minMaxDate.d.ts +1 -1
  90. package/DatePicker/types/pickerProps.d.ts +1 -1
  91. package/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
  92. package/DatePickerProvider/DatePickerProvider.d.ts +1 -1
  93. package/Description/Description.d.ts +1 -1
  94. package/Description/Name/Name.d.ts +1 -1
  95. package/Description/Value/Value.d.ts +1 -1
  96. package/Dialog/types.d.ts +1 -1
  97. package/DialogActions/DialogActions.d.ts +1 -1
  98. package/DialogContent/DialogContent.d.ts +1 -1
  99. package/DialogContentText/DialogContentText.d.ts +1 -1
  100. package/DialogTitle/DialogTitle.d.ts +1 -1
  101. package/Divider/Divider.d.ts +1 -1
  102. package/DropdownButton/DropdownButton.d.ts +2 -2
  103. package/ErrorBoundary/ErrorBoundary.d.ts +3 -3
  104. package/Fab/Fab.d.ts +2 -2
  105. package/Fab/types.d.ts +1 -1
  106. package/Fade/Fade.d.ts +1 -1
  107. package/FormControl/FormControl.d.ts +1 -1
  108. package/FormControlLabel/types.d.ts +1 -1
  109. package/FormHelperText/FormHelperText.d.ts +1 -1
  110. package/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
  111. package/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
  112. package/Grid/types.d.ts +4 -4
  113. package/IconButton/IconButton.d.ts +1 -1
  114. package/IconButton/styles.d.ts +2 -2
  115. package/IconDropdownButton/IconDropdownButton.d.ts +2 -2
  116. package/List/List.d.ts +1 -1
  117. package/ListItem/styles.d.ts +8 -2
  118. package/ListItem/types.d.ts +1 -1
  119. package/ListItemAvatar/ListItemAvatar.d.ts +1 -1
  120. package/ListItemButton/ListItemButton.d.ts +2 -2
  121. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  122. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  123. package/ListItemText/ListItemText.d.ts +1 -1
  124. package/ListSubheader/ListSubheader.d.ts +1 -1
  125. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  126. package/MaskField/MaskField.d.ts +4 -4
  127. package/MaskField/types.d.ts +1 -1
  128. package/Menu/Menu.d.ts +1 -1
  129. package/MenuGroup/types.d.ts +1 -1
  130. package/MenuItem/types.d.ts +1 -1
  131. package/MenuList/types.d.ts +1 -1
  132. package/NavMenu/NavMenu.d.ts +1 -1
  133. package/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
  134. package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
  135. package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
  136. package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
  137. package/Notification/Notification.d.ts +1 -1
  138. package/Notification/NotificationTemplate/styled.d.ts +2 -2
  139. package/Notification/constants/notificationVariant.d.ts +1 -1
  140. package/Notification/styled.d.ts +4 -4
  141. package/Notification/types.d.ts +2 -2
  142. package/OverflowTypography/OverflowTypography.d.ts +5 -5
  143. package/PageAside/PageAside.d.ts +5 -0
  144. package/PageAside/PageAside.js +9 -0
  145. package/PageAside/index.d.ts +1 -0
  146. package/PageAside/index.js +17 -0
  147. package/PageAside/styles.d.ts +5 -0
  148. package/PageAside/styles.js +13 -0
  149. package/PageContent/PageContent.d.ts +17 -0
  150. package/PageContent/PageContent.js +10 -0
  151. package/PageContent/index.d.ts +1 -0
  152. package/PageContent/index.js +17 -0
  153. package/PageContent/styles.d.ts +10 -0
  154. package/PageContent/styles.js +11 -0
  155. package/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
  156. package/PageHeader/ButtonGroup/ButtonGroup.js +33 -0
  157. package/PageHeader/ButtonGroup/index.d.ts +1 -0
  158. package/PageHeader/ButtonGroup/index.js +17 -0
  159. package/PageHeader/ButtonGroup/styles.d.ts +5 -0
  160. package/PageHeader/ButtonGroup/styles.js +9 -0
  161. package/PageHeader/PageHeader.d.ts +55 -0
  162. package/PageHeader/PageHeader.js +12 -0
  163. package/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
  164. package/PageHeader/PageHeaderDashboardStory.js +285 -0
  165. package/PageHeader/index.d.ts +1 -0
  166. package/PageHeader/index.js +17 -0
  167. package/PageHeader/styles.d.ts +32 -0
  168. package/PageHeader/styles.js +38 -0
  169. package/PageLayout/PageLayout.d.ts +30 -0
  170. package/PageLayout/PageLayout.js +14 -0
  171. package/PageLayout/index.d.ts +1 -0
  172. package/PageLayout/index.js +17 -0
  173. package/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
  174. package/PageLayoutContainer/PageLayoutContainer.js +7 -0
  175. package/PageLayoutContainer/index.d.ts +1 -0
  176. package/PageLayoutContainer/index.js +17 -0
  177. package/PageLayoutContainer/styles.d.ts +5 -0
  178. package/PageLayoutContainer/styles.js +16 -0
  179. package/Pagination/types.d.ts +1 -1
  180. package/Placeholder/Placeholder.d.ts +1 -1
  181. package/Product/Product.d.ts +1 -1
  182. package/Product/types.d.ts +1 -1
  183. package/ProductSwitcher/ProductSwitcher.d.ts +1 -1
  184. package/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
  185. package/ProductSwitcher/ProductSwitcher.stories.js +90 -0
  186. package/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
  187. package/ProductSwitcher/types.d.ts +1 -1
  188. package/Profile/styled.d.ts +1 -1
  189. package/Profile/types.d.ts +1 -1
  190. package/Radio/Radio.d.ts +1 -1
  191. package/Radio/types.d.ts +1 -1
  192. package/RadioGroup/RadioGroup.d.ts +1 -1
  193. package/Select/Select.d.ts +3 -3
  194. package/SideDialog/types.d.ts +1 -1
  195. package/SideDialogActions/types.d.ts +1 -1
  196. package/SideDialogContent/types.d.ts +1 -1
  197. package/SideDialogContentText/types.d.ts +1 -1
  198. package/SideDialogTitle/types.d.ts +1 -1
  199. package/Slide/Slide.d.ts +1 -1
  200. package/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
  201. package/Stepper/StepConnector/index.d.ts +1 -1
  202. package/Stepper/StepIcon/styles.d.ts +3 -3
  203. package/Stepper/StepLabel/StepLabel.d.ts +1 -1
  204. package/Stepper/Stepper.d.ts +3 -3
  205. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  206. package/SwipeableDrawer/styles.d.ts +2 -2
  207. package/Tab/Tab.d.ts +1 -1
  208. package/Table/Table.d.ts +1 -1
  209. package/Table/TableBody/TableBody.d.ts +1 -1
  210. package/Table/TableCell/TableCell.d.ts +1 -1
  211. package/Table/TableContainer/TableContainer.d.ts +1 -1
  212. package/Table/TableFooter/TableFooter.d.ts +1 -1
  213. package/Table/TableHead/TableHead.d.ts +1 -1
  214. package/Table/TableRow/TableRow.d.ts +1 -1
  215. package/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
  216. package/Tabs/Tabs.d.ts +1 -1
  217. package/Tag/Tag.d.ts +1 -1
  218. package/Tag/types.d.ts +4 -4
  219. package/TextArea/TextArea.d.ts +1 -1
  220. package/TextArea/types.d.ts +1 -1
  221. package/TextField/TextField.d.ts +1 -1
  222. package/TextField/types.d.ts +1 -1
  223. package/ThemeProvider/ThemeProvider.d.ts +1 -1
  224. package/Tooltip/Tooltip.d.ts +2 -2
  225. package/Tooltip/types.d.ts +1 -1
  226. package/Typography/Typography.d.ts +3 -3
  227. package/Zoom/Zoom.d.ts +1 -1
  228. package/docs/Case/Case.d.ts +9 -0
  229. package/docs/Case/Case.js +18 -0
  230. package/docs/Case/index.d.ts +1 -0
  231. package/docs/Case/index.js +17 -0
  232. package/docs/Case/styles.d.ts +13 -0
  233. package/docs/Case/styles.js +16 -0
  234. package/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
  235. package/docs/ExampleTemplate/ExampleTemplate.js +8 -0
  236. package/docs/ExampleTemplate/index.d.ts +1 -0
  237. package/docs/ExampleTemplate/index.js +17 -0
  238. package/docs/index.d.ts +2 -0
  239. package/docs/index.js +18 -0
  240. package/esm/ActionCell/ActionCell.d.ts +6 -6
  241. package/esm/Alert/Alert.d.ts +1 -1
  242. package/esm/Autocomplete/Autocomplete.d.ts +3 -3
  243. package/esm/Autocomplete/Autocomplete.js +2 -2
  244. package/esm/Autocomplete/Autocomplete.test.d.ts +1 -0
  245. package/esm/Autocomplete/Autocomplete.test.js +96 -0
  246. package/esm/Autocomplete/constants.d.ts +0 -4
  247. package/esm/Autocomplete/constants.js +0 -5
  248. package/esm/Autocomplete/enums.d.ts +4 -0
  249. package/esm/Autocomplete/enums.js +5 -0
  250. package/esm/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
  251. package/esm/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
  252. package/esm/Badge/types.d.ts +2 -2
  253. package/esm/Breadcrumbs/index.d.ts +1 -0
  254. package/esm/Breadcrumbs/index.js +1 -0
  255. package/esm/Button/Button.d.ts +1 -1
  256. package/esm/Button/Button.test.d.ts +1 -0
  257. package/esm/Button/Button.test.js +33 -0
  258. package/esm/Button/types.d.ts +1 -1
  259. package/esm/ButtonBase/ButtonBase.d.ts +1 -1
  260. package/esm/ButtonBase/styles.d.ts +2 -2
  261. package/esm/ButtonBase/types.d.ts +5 -5
  262. package/esm/Checkbox/Checkbox.d.ts +1 -1
  263. package/esm/Checkbox/types.d.ts +1 -1
  264. package/esm/Chevron/Chevron.d.ts +1 -1
  265. package/esm/Chevron/styles.d.ts +1 -1
  266. package/esm/CircularProgress/CircularProgress.d.ts +2 -2
  267. package/esm/CircularProgress/CircularProgressStory.d.ts +1 -1
  268. package/esm/Collapse/Collapse.d.ts +1 -1
  269. package/esm/ConfigProvider/ConfigProvider.d.ts +3 -3
  270. package/esm/ContentState/ContentState.d.ts +2 -2
  271. package/esm/ContentState/types.d.ts +1 -1
  272. package/esm/DashboardLayout/DashboardLayout.d.ts +1 -1
  273. package/esm/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
  274. package/esm/DashboardLayout/Header/Header.d.ts +1 -1
  275. package/esm/DashboardLayout/Main/Main.d.ts +1 -1
  276. package/esm/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  277. package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
  278. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
  279. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  280. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
  281. package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  282. package/esm/DataGrid/DataGrid.d.ts +1 -1
  283. package/esm/DataGrid/DataGrid.js +2 -1
  284. package/esm/DataGrid/DataGrid.test.d.ts +1 -0
  285. package/esm/DataGrid/DataGrid.test.js +115 -0
  286. package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
  287. package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
  288. package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
  289. package/esm/DataGrid/DataGridHead/DataGridHead.js +1 -1
  290. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  291. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +1 -1
  292. package/esm/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
  293. package/esm/DataGrid/DataGridLoader/styles.d.ts +1 -1
  294. package/esm/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
  295. package/esm/DataGrid/{constants.d.ts → enums.d.ts} +0 -0
  296. package/esm/DataGrid/{constants.js → enums.js} +0 -0
  297. package/esm/DataGrid/types.d.ts +7 -7
  298. package/esm/DataGridPagination/DataGridPagination.d.ts +1 -1
  299. package/esm/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
  300. package/esm/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
  301. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
  302. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
  303. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
  304. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
  305. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
  306. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
  307. package/esm/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
  308. package/esm/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
  309. package/esm/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
  310. package/esm/DatePicker/DatePicker.d.ts +1 -1
  311. package/esm/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
  312. package/esm/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
  313. package/esm/DatePicker/DatePickerInput/styles.d.ts +1 -1
  314. package/esm/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
  315. package/esm/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
  316. package/esm/DatePicker/DayPicker/DayPicker.d.ts +3 -3
  317. package/esm/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
  318. package/esm/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
  319. package/esm/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
  320. package/esm/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
  321. package/esm/DatePicker/YearPicker/YearPicker.d.ts +2 -2
  322. package/esm/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
  323. package/esm/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
  324. package/esm/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
  325. package/esm/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
  326. package/esm/DatePicker/types/configTypes.d.ts +3 -3
  327. package/esm/DatePicker/types/gridBuilder.d.ts +4 -4
  328. package/esm/DatePicker/types/minMaxDate.d.ts +1 -1
  329. package/esm/DatePicker/types/pickerProps.d.ts +1 -1
  330. package/esm/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
  331. package/esm/DatePickerProvider/DatePickerProvider.d.ts +1 -1
  332. package/esm/Description/Description.d.ts +1 -1
  333. package/esm/Description/Name/Name.d.ts +1 -1
  334. package/esm/Description/Value/Value.d.ts +1 -1
  335. package/esm/Dialog/types.d.ts +1 -1
  336. package/esm/DialogActions/DialogActions.d.ts +1 -1
  337. package/esm/DialogContent/DialogContent.d.ts +1 -1
  338. package/esm/DialogContentText/DialogContentText.d.ts +1 -1
  339. package/esm/DialogTitle/DialogTitle.d.ts +1 -1
  340. package/esm/Divider/Divider.d.ts +1 -1
  341. package/esm/DropdownButton/DropdownButton.d.ts +2 -2
  342. package/esm/ErrorBoundary/ErrorBoundary.d.ts +3 -3
  343. package/esm/Fab/Fab.d.ts +2 -2
  344. package/esm/Fab/types.d.ts +1 -1
  345. package/esm/Fade/Fade.d.ts +1 -1
  346. package/esm/FormControl/FormControl.d.ts +1 -1
  347. package/esm/FormControlLabel/types.d.ts +1 -1
  348. package/esm/FormHelperText/FormHelperText.d.ts +1 -1
  349. package/esm/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
  350. package/esm/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
  351. package/esm/Grid/types.d.ts +4 -4
  352. package/esm/IconButton/IconButton.d.ts +1 -1
  353. package/esm/IconButton/styles.d.ts +2 -2
  354. package/esm/IconDropdownButton/IconDropdownButton.d.ts +2 -2
  355. package/esm/List/List.d.ts +1 -1
  356. package/esm/ListItem/styles.d.ts +8 -2
  357. package/esm/ListItem/types.d.ts +1 -1
  358. package/esm/ListItemAvatar/ListItemAvatar.d.ts +1 -1
  359. package/esm/ListItemButton/ListItemButton.d.ts +2 -2
  360. package/esm/ListItemIcon/ListItemIcon.d.ts +2 -2
  361. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  362. package/esm/ListItemText/ListItemText.d.ts +1 -1
  363. package/esm/ListSubheader/ListSubheader.d.ts +1 -1
  364. package/esm/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  365. package/esm/MaskField/MaskField.d.ts +4 -4
  366. package/esm/MaskField/types.d.ts +1 -1
  367. package/esm/Menu/Menu.d.ts +1 -1
  368. package/esm/MenuGroup/types.d.ts +1 -1
  369. package/esm/MenuItem/types.d.ts +1 -1
  370. package/esm/MenuList/types.d.ts +1 -1
  371. package/esm/NavMenu/NavMenu.d.ts +1 -1
  372. package/esm/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
  373. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
  374. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
  375. package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
  376. package/esm/Notification/Notification.d.ts +1 -1
  377. package/esm/Notification/NotificationTemplate/styled.d.ts +2 -2
  378. package/esm/Notification/constants/notificationVariant.d.ts +1 -1
  379. package/esm/Notification/styled.d.ts +4 -4
  380. package/esm/Notification/types.d.ts +2 -2
  381. package/esm/OverflowTypography/OverflowTypography.d.ts +5 -5
  382. package/esm/PageAside/PageAside.d.ts +5 -0
  383. package/esm/PageAside/PageAside.js +5 -0
  384. package/esm/PageAside/index.d.ts +1 -0
  385. package/esm/PageAside/index.js +1 -0
  386. package/esm/PageAside/styles.d.ts +5 -0
  387. package/esm/PageAside/styles.js +10 -0
  388. package/esm/PageContent/PageContent.d.ts +17 -0
  389. package/esm/PageContent/PageContent.js +6 -0
  390. package/esm/PageContent/index.d.ts +1 -0
  391. package/esm/PageContent/index.js +1 -0
  392. package/esm/PageContent/styles.d.ts +10 -0
  393. package/esm/PageContent/styles.js +8 -0
  394. package/esm/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
  395. package/esm/PageHeader/ButtonGroup/ButtonGroup.js +29 -0
  396. package/esm/PageHeader/ButtonGroup/index.d.ts +1 -0
  397. package/esm/PageHeader/ButtonGroup/index.js +1 -0
  398. package/esm/PageHeader/ButtonGroup/styles.d.ts +5 -0
  399. package/esm/PageHeader/ButtonGroup/styles.js +6 -0
  400. package/esm/PageHeader/PageHeader.d.ts +55 -0
  401. package/esm/PageHeader/PageHeader.js +8 -0
  402. package/esm/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
  403. package/esm/PageHeader/PageHeaderDashboardStory.js +281 -0
  404. package/esm/PageHeader/index.d.ts +1 -0
  405. package/esm/PageHeader/index.js +1 -0
  406. package/esm/PageHeader/styles.d.ts +32 -0
  407. package/esm/PageHeader/styles.js +35 -0
  408. package/esm/PageLayout/PageLayout.d.ts +30 -0
  409. package/esm/PageLayout/PageLayout.js +10 -0
  410. package/esm/PageLayout/index.d.ts +1 -0
  411. package/esm/PageLayout/index.js +1 -0
  412. package/esm/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
  413. package/esm/PageLayoutContainer/PageLayoutContainer.js +3 -0
  414. package/esm/PageLayoutContainer/index.d.ts +1 -0
  415. package/esm/PageLayoutContainer/index.js +1 -0
  416. package/esm/PageLayoutContainer/styles.d.ts +5 -0
  417. package/esm/PageLayoutContainer/styles.js +13 -0
  418. package/esm/Pagination/types.d.ts +1 -1
  419. package/esm/Placeholder/Placeholder.d.ts +1 -1
  420. package/esm/Product/Product.d.ts +1 -1
  421. package/esm/Product/types.d.ts +1 -1
  422. package/esm/ProductSwitcher/ProductSwitcher.d.ts +1 -1
  423. package/esm/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
  424. package/esm/ProductSwitcher/ProductSwitcher.stories.js +84 -0
  425. package/esm/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
  426. package/esm/ProductSwitcher/types.d.ts +1 -1
  427. package/esm/Profile/styled.d.ts +1 -1
  428. package/esm/Profile/types.d.ts +1 -1
  429. package/esm/Radio/Radio.d.ts +1 -1
  430. package/esm/Radio/types.d.ts +1 -1
  431. package/esm/RadioGroup/RadioGroup.d.ts +1 -1
  432. package/esm/Select/Select.d.ts +3 -3
  433. package/esm/SideDialog/types.d.ts +1 -1
  434. package/esm/SideDialogActions/types.d.ts +1 -1
  435. package/esm/SideDialogContent/types.d.ts +1 -1
  436. package/esm/SideDialogContentText/types.d.ts +1 -1
  437. package/esm/SideDialogTitle/types.d.ts +1 -1
  438. package/esm/Slide/Slide.d.ts +1 -1
  439. package/esm/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
  440. package/esm/Stepper/StepConnector/index.d.ts +1 -1
  441. package/esm/Stepper/StepIcon/styles.d.ts +3 -3
  442. package/esm/Stepper/StepLabel/StepLabel.d.ts +1 -1
  443. package/esm/Stepper/Stepper.d.ts +3 -3
  444. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  445. package/esm/SwipeableDrawer/styles.d.ts +2 -2
  446. package/esm/Tab/Tab.d.ts +1 -1
  447. package/esm/Table/Table.d.ts +1 -1
  448. package/esm/Table/TableBody/TableBody.d.ts +1 -1
  449. package/esm/Table/TableCell/TableCell.d.ts +1 -1
  450. package/esm/Table/TableContainer/TableContainer.d.ts +1 -1
  451. package/esm/Table/TableFooter/TableFooter.d.ts +1 -1
  452. package/esm/Table/TableHead/TableHead.d.ts +1 -1
  453. package/esm/Table/TableRow/TableRow.d.ts +1 -1
  454. package/esm/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
  455. package/esm/Tabs/Tabs.d.ts +1 -1
  456. package/esm/Tag/Tag.d.ts +1 -1
  457. package/esm/Tag/types.d.ts +4 -4
  458. package/esm/TextArea/TextArea.d.ts +1 -1
  459. package/esm/TextArea/types.d.ts +1 -1
  460. package/esm/TextField/TextField.d.ts +1 -1
  461. package/esm/TextField/types.d.ts +1 -1
  462. package/esm/ThemeProvider/ThemeProvider.d.ts +1 -1
  463. package/esm/Tooltip/Tooltip.d.ts +2 -2
  464. package/esm/Tooltip/types.d.ts +1 -1
  465. package/esm/Typography/Typography.d.ts +3 -3
  466. package/esm/Zoom/Zoom.d.ts +1 -1
  467. package/esm/docs/Case/Case.d.ts +9 -0
  468. package/esm/docs/Case/Case.js +14 -0
  469. package/esm/docs/Case/index.d.ts +1 -0
  470. package/esm/docs/Case/index.js +1 -0
  471. package/esm/docs/Case/styles.d.ts +13 -0
  472. package/esm/docs/Case/styles.js +13 -0
  473. package/esm/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
  474. package/esm/docs/ExampleTemplate/ExampleTemplate.js +4 -0
  475. package/esm/docs/ExampleTemplate/index.d.ts +1 -0
  476. package/esm/docs/ExampleTemplate/index.js +1 -0
  477. package/esm/docs/index.d.ts +2 -0
  478. package/esm/docs/index.js +2 -0
  479. package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
  480. package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.test.d.ts +1 -0
  481. package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.test.js +25 -0
  482. package/esm/hooks/useMenu/index.d.ts +1 -0
  483. package/esm/hooks/useMenu/index.js +1 -0
  484. package/esm/hooks/{useMenu.d.ts → useMenu/useMenu.d.ts} +1 -1
  485. package/esm/hooks/{useMenu.js → useMenu/useMenu.js} +0 -0
  486. package/esm/hooks/useToggle/useToggle.d.ts +6 -6
  487. package/esm/index.d.ts +5 -0
  488. package/esm/index.js +5 -0
  489. package/esm/theme/baseTheme/baseTheme.d.ts +3 -3
  490. package/esm/theme/components/MuiAutocomplete.js +1 -1
  491. package/esm/theme/components/MuiTypography.d.ts +1 -1
  492. package/esm/theme/components/components.d.ts +1 -1
  493. package/esm/theme/elevation.d.ts +1 -1
  494. package/esm/theme/palette/brandPalette.d.ts +1 -1
  495. package/esm/theme/palette/palette.d.ts +4 -4
  496. package/esm/theme/shape.d.ts +1 -1
  497. package/esm/theme/typography.d.ts +2 -2
  498. package/esm/types.d.ts +2 -2
  499. package/esm/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
  500. package/esm/utils/date/format/maskDate.d.ts +1 -1
  501. package/esm/utils/date/isDate/isDate.d.ts +1 -1
  502. package/esm/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
  503. package/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
  504. package/hooks/useEscapeClickEffect/useEscapeClickEffect.test.d.ts +1 -0
  505. package/hooks/useEscapeClickEffect/useEscapeClickEffect.test.js +27 -0
  506. package/hooks/useMenu/index.d.ts +1 -0
  507. package/hooks/useMenu/index.js +17 -0
  508. package/hooks/{useMenu.d.ts → useMenu/useMenu.d.ts} +1 -1
  509. package/hooks/{useMenu.js → useMenu/useMenu.js} +0 -0
  510. package/hooks/useToggle/useToggle.d.ts +6 -6
  511. package/index.d.ts +5 -0
  512. package/index.js +5 -0
  513. package/package.json +2 -2
  514. package/theme/baseTheme/baseTheme.d.ts +3 -3
  515. package/theme/components/MuiAutocomplete.js +2 -2
  516. package/theme/components/MuiTypography.d.ts +1 -1
  517. package/theme/components/components.d.ts +1 -1
  518. package/theme/elevation.d.ts +1 -1
  519. package/theme/palette/brandPalette.d.ts +1 -1
  520. package/theme/palette/palette.d.ts +4 -4
  521. package/theme/shape.d.ts +1 -1
  522. package/theme/typography.d.ts +2 -2
  523. package/types.d.ts +2 -2
  524. package/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
  525. package/utils/date/format/maskDate.d.ts +1 -1
  526. package/utils/date/isDate/isDate.d.ts +1 -1
  527. package/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TooltipProps } from '../Tooltip';
3
- export declare type NestedAction<T> = {
3
+ export type NestedAction<T> = {
4
4
  /**
5
5
  * Обработчик действия
6
6
  */
@@ -10,7 +10,7 @@ export declare type NestedAction<T> = {
10
10
  */
11
11
  name: string;
12
12
  };
13
- export declare type SingleAction<T> = {
13
+ export type SingleAction<T> = {
14
14
  /**
15
15
  * Иконка действия
16
16
  */
@@ -28,7 +28,7 @@ export declare type SingleAction<T> = {
28
28
  */
29
29
  nested?: false;
30
30
  };
31
- export declare type MultipleAction<T> = {
31
+ export type MultipleAction<T> = {
32
32
  /**
33
33
  * Иконка действия
34
34
  */
@@ -46,8 +46,8 @@ export declare type MultipleAction<T> = {
46
46
  */
47
47
  name: string;
48
48
  };
49
- export declare type MainAction<T> = SingleAction<T> | MultipleAction<T>;
50
- export declare type Actions<T> = {
49
+ export type MainAction<T> = SingleAction<T> | MultipleAction<T>;
50
+ export type Actions<T> = {
51
51
  /**
52
52
  * Основные действия
53
53
  */
@@ -57,7 +57,7 @@ export declare type Actions<T> = {
57
57
  */
58
58
  secondary?: SingleAction<T>[];
59
59
  };
60
- export declare type ActionsCellProps<T> = {
60
+ export type ActionsCellProps<T> = {
61
61
  /**
62
62
  * Действия
63
63
  */
package/Alert/Alert.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AlertProps as MuiAlertProps } from '@mui/material';
2
2
  import { ReactNode } from 'react';
3
3
  import { WithoutEmotionSpecific } from '../types';
4
- export declare type AlertProps = Omit<WithoutEmotionSpecific<MuiAlertProps>, 'variant' | 'action' | 'color' | 'iconMapping'> & {
4
+ export type AlertProps = Omit<WithoutEmotionSpecific<MuiAlertProps>, 'variant' | 'action' | 'color' | 'iconMapping'> & {
5
5
  /**
6
6
  * @example <Alert title="Заголовок">Сообщение</Alert>
7
7
  * Заголовок
@@ -3,9 +3,9 @@ import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
3
3
  import { TextFieldProps } from '../TextField';
4
4
  import { OverflowedElementProps } from '../OverflowTypography';
5
5
  import { WithoutEmotionSpecific } from '../types';
6
- import { AutocompleteSizes } from './constants';
7
- export declare type AutocompleteSize = `${AutocompleteSizes}`;
8
- export declare type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<WithoutEmotionSpecific<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo>>, 'size' | 'renderInput'> & Pick<TextFieldProps, 'error' | 'success' | 'helperText' | 'label'> & {
6
+ import { AutocompleteSizes } from './enums';
7
+ export type AutocompleteSize = `${AutocompleteSizes}`;
8
+ export type AutocompleteProps<AutocompleteValueProps, Multiple extends boolean, DisableClearable extends boolean, FreeSolo extends boolean> = Omit<WithoutEmotionSpecific<MuiAutocompleteProps<AutocompleteValueProps, Multiple, DisableClearable, FreeSolo>>, 'size' | 'renderInput'> & Pick<TextFieldProps, 'error' | 'success' | 'helperText' | 'label'> & {
9
9
  size?: AutocompleteSize;
10
10
  overflowOption?: OverflowedElementProps;
11
11
  };
@@ -41,7 +41,7 @@ const Autocomplete = (props) => {
41
41
  }
42
42
  const selected = Boolean(optionProps['aria-selected']);
43
43
  return ((0, react_1.createElement)(MenuItem_1.MenuItem, Object.assign({}, optionProps, { key: optionProps.id }),
44
- multiple && ((0, jsx_runtime_1.jsx)(material_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { checked: selected }) })),
44
+ multiple && ((0, jsx_runtime_1.jsx)(material_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { role: "menuitemcheckbox", checked: selected }) })),
45
45
  (0, jsx_runtime_1.jsx)(OverflowTypography_1.OverflowTypography, Object.assign({ rowsCount: constants_1.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT }, overflowOption, { children: optionProps.key }))));
46
46
  }, [multiple, externalRenderOption]);
47
47
  return ((0, jsx_runtime_1.jsx)(material_1.Autocomplete, Object.assign({}, restProps, { size: size, multiple: multiple, getOptionLabel: getOptionLabel, disableCloseOnSelect: multiple, renderTags: renderTags, renderInput: renderInput, renderOption: renderOption, popupIcon: (0, jsx_runtime_1.jsx)(icons_1.ChevronDOutlineMd, {}), clearIcon: (0, jsx_runtime_1.jsx)(icons_1.CrossSmOutlineSm, {}), isOptionEqualToValue: isOptionEqualToValue, componentsProps: { clearIndicator: { disableRipple: true } }, noOptionsText: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" })));
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const jsx_runtime_1 = require("react/jsx-runtime");
13
+ const tests_1 = require("@astral/tests");
14
+ const Autocomplete_1 = require("./Autocomplete");
15
+ describe('Autocomplete', () => {
16
+ it('Prop:options: при пустом массиве отображается плейсхолдер', () => __awaiter(void 0, void 0, void 0, function* () {
17
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { options: [] }));
18
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
19
+ const noDataPlaceholder = tests_1.screen.getByText('Нет данных');
20
+ expect(noDataPlaceholder).toBeVisible();
21
+ }));
22
+ it('Focus: не отображается popover', () => __awaiter(void 0, void 0, void 0, function* () {
23
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { options: [] }));
24
+ tests_1.fireEvent.focus(tests_1.screen.getByRole('combobox'));
25
+ const noDataPlaceholder = tests_1.screen.queryByText('Нет данных');
26
+ expect(noDataPlaceholder).toBeNull();
27
+ }));
28
+ it('Prop:getOptionLabel: позволяет отображать в popover label', () => __awaiter(void 0, void 0, void 0, function* () {
29
+ const options = [
30
+ { name: 'Vasya', surname: 'Pupkin' },
31
+ { name: 'Kolya', surname: 'Kolin' },
32
+ ];
33
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { options: options, getOptionLabel: (option) => option.surname }));
34
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
35
+ const vasya = tests_1.screen.getByText('Pupkin');
36
+ const kolya = tests_1.screen.getByText('Kolin');
37
+ expect(vasya).toBeVisible();
38
+ expect(kolya).toBeVisible();
39
+ }));
40
+ it('Закрывается popover после выбора значения', () => __awaiter(void 0, void 0, void 0, function* () {
41
+ const options = [
42
+ { name: 'Vasya', surname: 'Pupkin' },
43
+ { name: 'Kolya', surname: 'Kolin' },
44
+ ];
45
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { options: options, getOptionLabel: (option) => option.surname }));
46
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
47
+ const selectedOption = tests_1.screen.getByRole('option', { name: 'Pupkin' });
48
+ yield tests_1.userEvents.click(selectedOption);
49
+ expect(tests_1.screen.queryByRole('option')).toBeNull();
50
+ }));
51
+ it('Props:multiple=false: в инпут сетится label после выбора option', () => __awaiter(void 0, void 0, void 0, function* () {
52
+ const options = [
53
+ { name: 'Vasya', surname: 'Pupkin' },
54
+ { name: 'Kolya', surname: 'Kolin' },
55
+ ];
56
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { options: options, getOptionLabel: (option) => option.surname }));
57
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
58
+ const option = tests_1.screen.getByRole('option', { name: 'Pupkin' });
59
+ yield tests_1.userEvents.click(option);
60
+ const input = tests_1.screen.getByRole('combobox');
61
+ expect(input).toHaveAttribute('value', 'Pupkin');
62
+ }));
63
+ it('Prop:multiple: в options отображаются чекбоксы', () => __awaiter(void 0, void 0, void 0, function* () {
64
+ const options = [{ name: 'Vasya', surname: 'Pupkin' }];
65
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { multiple: true, options: options, getOptionLabel: (option) => option.surname }));
66
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
67
+ const checkbox = tests_1.screen.getByRole('menuitemcheckbox');
68
+ expect(checkbox).toBeVisible();
69
+ }));
70
+ it('Prop:multiple: после выбора option в инпуте появляется tag', () => __awaiter(void 0, void 0, void 0, function* () {
71
+ const options = [{ name: 'Vasya', surname: 'Pupkin' }];
72
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { multiple: true, options: options, getOptionLabel: (option) => option.surname }));
73
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
74
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('menuitemcheckbox'));
75
+ const checkbox = tests_1.screen
76
+ .getByRole('menuitemcheckbox')
77
+ .getElementsByTagName('input')[0];
78
+ expect(checkbox).toBeChecked();
79
+ const tag = tests_1.screen.getByRole('button', { name: 'Pupkin' });
80
+ expect(tag).toBeVisible();
81
+ }));
82
+ it('Prop:multiple: tag из инпута можно удалить', () => __awaiter(void 0, void 0, void 0, function* () {
83
+ const options = [{ name: 'Vasya', surname: 'Pupkin' }];
84
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { multiple: true, options: options, getOptionLabel: (option) => option.surname }));
85
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('combobox'));
86
+ yield tests_1.userEvents.click(tests_1.screen.getByRole('menuitemcheckbox'));
87
+ const tagDeleteIcon = tests_1.screen
88
+ .getByRole('button', { name: 'Pupkin' })
89
+ .getElementsByTagName('svg')[0];
90
+ yield tests_1.userEvents.click(tagDeleteIcon);
91
+ const checkbox = tests_1.screen
92
+ .getByRole('menuitemcheckbox')
93
+ .getElementsByTagName('input')[0];
94
+ expect(checkbox).not.toBeChecked();
95
+ const tag = tests_1.screen.queryByRole('button', { name: 'Pupkin' });
96
+ expect(tag).toBeNull();
97
+ }));
98
+ });
@@ -1,5 +1 @@
1
- export declare enum AutocompleteSizes {
2
- medium = "medium",
3
- small = "small"
4
- }
5
1
  export declare const DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT = 2;
@@ -1,9 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT = exports.AutocompleteSizes = void 0;
4
- var AutocompleteSizes;
5
- (function (AutocompleteSizes) {
6
- AutocompleteSizes["medium"] = "medium";
7
- AutocompleteSizes["small"] = "small";
8
- })(AutocompleteSizes = exports.AutocompleteSizes || (exports.AutocompleteSizes = {}));
3
+ exports.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT = void 0;
9
4
  exports.DEFAULT_AUTOCOMPLETE_ELEMENT_ROWS_COUNT = 2;
@@ -0,0 +1,4 @@
1
+ export declare enum AutocompleteSizes {
2
+ medium = "medium",
3
+ small = "small"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutocompleteSizes = void 0;
4
+ var AutocompleteSizes;
5
+ (function (AutocompleteSizes) {
6
+ AutocompleteSizes["medium"] = "medium";
7
+ AutocompleteSizes["small"] = "small";
8
+ })(AutocompleteSizes = exports.AutocompleteSizes || (exports.AutocompleteSizes = {}));
@@ -3,14 +3,14 @@ import { Reason } from '../../../types';
3
3
  /**
4
4
  * @description необязательные настройки для использоввания хука
5
5
  */
6
- declare type Options = {
6
+ type Options = {
7
7
  /**
8
8
  * @default undefined
9
9
  * @description айдишка, которая записывается в стек при открытии, если не передана, будет сгенерирована автоматически
10
10
  */
11
11
  id?: string;
12
12
  };
13
- declare type ReturnElements = {
13
+ type ReturnElements = {
14
14
  /**
15
15
  * @initial false
16
16
  * @description стейт для контроля состояния открытости элемента, следует использовать, если у элемента могут быть свои дочерние всплываемые элементы
@@ -25,7 +25,7 @@ declare type ReturnElements = {
25
25
  */
26
26
  handleClose: (event?: SyntheticEvent<Element, Event> | Event | {}, reason?: Reason) => void;
27
27
  };
28
- declare type UseBackdropStackToggleFunc = (options?: Options) => ReturnElements;
28
+ type UseBackdropStackToggleFunc = (options?: Options) => ReturnElements;
29
29
  /**
30
30
  * @description хук предназначен для быстрого использования backdropStackManager в реакт компонентах, хранит неуправляемый стейт, если вам нужно управлять этим стейтом, воспользуйтесь backdropStackManager в своем компоненте напрямую.
31
31
  */
@@ -1,5 +1,5 @@
1
1
  import { Reason } from '../../../types';
2
- declare type PopId = string;
2
+ type PopId = string;
3
3
  declare class BackdropStackManager {
4
4
  private stack;
5
5
  private previousPopInfo;
package/Badge/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BadgeProps as MuiBadgeProps } from '@mui/material/Badge/Badge';
2
2
  import { WithoutEmotionSpecific } from '../types';
3
- export declare type BadgeColor = 'primary' | 'grey' | 'white' | 'errorLight' | 'error' | 'success';
4
- export declare type BadgeProps = Omit<WithoutEmotionSpecific<MuiBadgeProps>, 'color'> & {
3
+ export type BadgeColor = 'primary' | 'grey' | 'white' | 'errorLight' | 'error' | 'success';
4
+ export type BadgeProps = Omit<WithoutEmotionSpecific<MuiBadgeProps>, 'color'> & {
5
5
  color: BadgeColor;
6
6
  };
@@ -0,0 +1 @@
1
+ export { Breadcrumbs, type BreadcrumbsProps } from '@mui/material';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Breadcrumbs = void 0;
4
+ var material_1 = require("@mui/material");
5
+ Object.defineProperty(exports, "Breadcrumbs", { enumerable: true, get: function () { return material_1.Breadcrumbs; } });
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ButtonProps } from './types';
3
- export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export declare const Button: import("react").ForwardRefExoticComponent<Pick<ButtonProps, "disabled" | "action" | "color" | "translate" | "href" | "onFocusVisible" | "tabIndex" | "type" | "children" | "form" | "slot" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "component" | "variant" | "size" | "selected" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement>>;
4
4
  export default Button;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jsx_runtime_1 = require("react/jsx-runtime");
4
+ const tests_1 = require("@astral/tests");
5
+ const react_1 = require("react");
6
+ const Button_1 = require("./Button");
7
+ describe('Button', () => {
8
+ it('Prop:ref: is present', () => {
9
+ const resultRef = { current: null };
10
+ const ButtonWithRef = () => {
11
+ const ref = (0, react_1.useRef)(null);
12
+ (0, react_1.useEffect)(() => {
13
+ resultRef.current = ref.current;
14
+ }, []);
15
+ return (0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ ref: ref }, { children: "Btn" }));
16
+ };
17
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(ButtonWithRef, {}));
18
+ expect(resultRef === null || resultRef === void 0 ? void 0 : resultRef.current).not.toBeNull();
19
+ });
20
+ it('Prop:disabled: блокирует кнопку', () => {
21
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ disabled: true }, { children: "Btn" })));
22
+ const button = tests_1.screen.getByRole('button');
23
+ expect(button).toBeDisabled();
24
+ });
25
+ it('Prop:loading: блокирует кнопку', () => {
26
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ loading: true }, { children: "Btn" })));
27
+ const button = tests_1.screen.getByRole('button');
28
+ expect(button).toBeDisabled();
29
+ });
30
+ it('Prop:loading: отображается лоадер', () => {
31
+ (0, tests_1.renderWithTheme)((0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ loading: true }, { children: "Btn" })));
32
+ const loader = tests_1.screen.getByRole('progressbar');
33
+ expect(loader).toBeVisible();
34
+ });
35
+ });
package/Button/types.d.ts CHANGED
@@ -15,7 +15,7 @@ declare module '@mui/material/Button' {
15
15
  error: true;
16
16
  }
17
17
  }
18
- export declare type ButtonProps = Omit<WithoutEmotionSpecific<LoadingButtonProps>, 'variant' | 'color'> & {
18
+ export type ButtonProps = Omit<WithoutEmotionSpecific<LoadingButtonProps>, 'variant' | 'color'> & {
19
19
  variant?: 'contained' | 'light' | 'text' | 'link';
20
20
  color?: 'primary' | 'success' | 'warning' | 'error';
21
21
  component?: ElementType;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { BaseButtonProps } from './types';
3
- export declare const ButtonBase: import("react").ForwardRefExoticComponent<Pick<BaseButtonProps, "color" | "translate" | keyof import("@mui/base").ButtonUnstyledOwnProps | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "component" | "variant" | "size" | "selected"> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export declare const ButtonBase: import("react").ForwardRefExoticComponent<Pick<BaseButtonProps, "color" | "translate" | keyof import("@mui/base").ButtonUnstyledOwnProps | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "component" | "variant" | "size" | "selected"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { Theme } from '../theme';
3
3
  import { BaseButtonProps, ButtonColor, ButtonSize, ButtonState, ButtonVariant } from './types';
4
- export declare type ButtonBaseWrapperProps = Omit<BaseButtonProps, 'color' | 'variant'> & {
4
+ export type ButtonBaseWrapperProps = Omit<BaseButtonProps, 'color' | 'variant'> & {
5
5
  customColor?: ButtonColor;
6
6
  customVariant?: ButtonVariant;
7
7
  };
8
- export declare type ButtonBaseWrapperThemeProps = {
8
+ export type ButtonBaseWrapperThemeProps = {
9
9
  variant?: ButtonVariant;
10
10
  customColor?: ButtonColor;
11
11
  customVariant?: ButtonVariant;
@@ -1,11 +1,11 @@
1
1
  import { ButtonUnstyledProps } from '@mui/base/ButtonUnstyled';
2
2
  import { WithoutEmotionSpecific } from '../types';
3
3
  import { ButtonColors, ButtonSizes, ButtonStates, ButtonVariants } from './enums';
4
- export declare type ButtonColor = `${ButtonColors}`;
5
- export declare type ButtonVariant = `${ButtonVariants}`;
6
- export declare type ButtonSize = `${ButtonSizes}`;
7
- export declare type ButtonState = `${ButtonStates}`;
8
- export declare type BaseButtonProps = Omit<WithoutEmotionSpecific<ButtonUnstyledProps>, 'color' | 'variant' | 'size'> & {
4
+ export type ButtonColor = `${ButtonColors}`;
5
+ export type ButtonVariant = `${ButtonVariants}`;
6
+ export type ButtonSize = `${ButtonSizes}`;
7
+ export type ButtonState = `${ButtonStates}`;
8
+ export type BaseButtonProps = Omit<WithoutEmotionSpecific<ButtonUnstyledProps>, 'color' | 'variant' | 'size'> & {
9
9
  color?: ButtonColor;
10
10
  variant?: ButtonVariant;
11
11
  size?: ButtonSize;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { CheckboxProps } from './types';
3
- export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<CheckboxProps, "disabled" | "icon" | "action" | "translate" | "onFocusVisible" | "tabIndex" | "className" | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "required" | "inputProps" | "inputRef" | "readOnly" | "indeterminate" | "checkedIcon" | "checked" | "edge" | "indeterminateIcon"> & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<CheckboxProps, "disabled" | "icon" | "action" | "translate" | "onFocusVisible" | "tabIndex" | "className" | "form" | "slot" | "style" | "title" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "required" | "inputProps" | "inputRef" | "readOnly" | "indeterminate" | "checkedIcon" | "checked" | "edge" | "indeterminateIcon"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,3 @@
1
1
  import { CheckboxProps as MuiCheckboxProps } from '@mui/material';
2
2
  import { WithoutEmotionSpecific } from '../types';
3
- export declare type CheckboxProps = Omit<WithoutEmotionSpecific<MuiCheckboxProps>, 'size' | 'color'>;
3
+ export type CheckboxProps = Omit<WithoutEmotionSpecific<MuiCheckboxProps>, 'size' | 'color'>;
@@ -2,7 +2,7 @@
2
2
  import { SvgIconProps } from '@mui/material';
3
3
  import { WithoutEmotionSpecific } from '../types';
4
4
  export declare const Chevron: (props: ChevronProps) => JSX.Element;
5
- export declare type ChevronProps = {
5
+ export type ChevronProps = {
6
6
  isActive?: boolean;
7
7
  className?: string;
8
8
  } & Omit<WithoutEmotionSpecific<SvgIconProps>, 'children' | 'classes' | 'ref'>;
@@ -11,7 +11,7 @@ export declare const ChevronWrapper: import("@emotion/styled").StyledComponent<{
11
11
  sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
12
12
  titleAccess?: string | undefined;
13
13
  viewBox?: string | undefined;
14
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "css" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "path" | "key" | "name" | "id" | "lang" | "role" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "values" | "local" | "in" | "end" | "max" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
14
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "css" | "href" | "tabIndex" | "to" | "type" | "children" | "className" | "style" | "path" | "key" | "name" | "id" | "lang" | "role" | "aria-activedescendant" | "aria-atomic" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "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" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "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" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "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" | "values" | "local" | "in" | "end" | "max" | "orientation" | "media" | "target" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
15
15
  ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
16
16
  }, "fontSize" | "color" | "shapeRendering" | "sx" | "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
17
17
  theme?: import("@emotion/react").Theme | undefined;