@astral/ui 1.39.4 → 1.40.1

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 (483) hide show
  1. package/ActionCell/ActionCell.d.ts +6 -6
  2. package/Alert/Alert.d.ts +1 -1
  3. package/Autocomplete/Autocomplete.d.ts +2 -2
  4. package/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
  5. package/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
  6. package/Badge/types.d.ts +2 -2
  7. package/Breadcrumbs/index.d.ts +1 -0
  8. package/Breadcrumbs/index.js +5 -0
  9. package/Button/Button.d.ts +1 -1
  10. package/Button/types.d.ts +1 -1
  11. package/ButtonBase/ButtonBase.d.ts +1 -1
  12. package/ButtonBase/styles.d.ts +2 -2
  13. package/ButtonBase/types.d.ts +5 -5
  14. package/Checkbox/Checkbox.d.ts +1 -1
  15. package/Checkbox/types.d.ts +1 -1
  16. package/Chevron/Chevron.d.ts +1 -1
  17. package/Chevron/styles.d.ts +1 -1
  18. package/CircularProgress/CircularProgress.d.ts +2 -2
  19. package/CircularProgress/CircularProgressStory.d.ts +1 -1
  20. package/Collapse/Collapse.d.ts +1 -1
  21. package/ConfigProvider/ConfigProvider.d.ts +3 -3
  22. package/ContentState/ContentState.d.ts +2 -2
  23. package/ContentState/types.d.ts +1 -1
  24. package/DashboardLayout/DashboardLayout.d.ts +1 -1
  25. package/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
  26. package/DashboardLayout/Header/Header.d.ts +1 -1
  27. package/DashboardLayout/Main/Main.d.ts +1 -1
  28. package/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  29. package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
  30. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
  31. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  32. package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
  33. package/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  34. package/DataGrid/DataGrid.d.ts +1 -1
  35. package/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
  36. package/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
  37. package/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
  38. package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  39. package/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
  40. package/DataGrid/DataGridLoader/styles.d.ts +1 -1
  41. package/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
  42. package/DataGrid/types.d.ts +6 -6
  43. package/DataGridPagination/DataGridPagination.d.ts +1 -1
  44. package/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
  45. package/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
  46. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
  47. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
  48. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
  49. package/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
  50. package/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
  51. package/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
  52. package/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
  53. package/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
  54. package/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
  55. package/DatePicker/DatePicker.d.ts +1 -1
  56. package/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
  57. package/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
  58. package/DatePicker/DatePickerInput/styles.d.ts +1 -1
  59. package/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
  60. package/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
  61. package/DatePicker/DayPicker/DayPicker.d.ts +3 -3
  62. package/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
  63. package/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
  64. package/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
  65. package/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
  66. package/DatePicker/YearPicker/YearPicker.d.ts +2 -2
  67. package/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
  68. package/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
  69. package/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
  70. package/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
  71. package/DatePicker/types/configTypes.d.ts +3 -3
  72. package/DatePicker/types/gridBuilder.d.ts +4 -4
  73. package/DatePicker/types/minMaxDate.d.ts +1 -1
  74. package/DatePicker/types/pickerProps.d.ts +1 -1
  75. package/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
  76. package/DatePickerProvider/DatePickerProvider.d.ts +1 -1
  77. package/Description/Description.d.ts +1 -1
  78. package/Description/Name/Name.d.ts +1 -1
  79. package/Description/Value/Value.d.ts +1 -1
  80. package/Dialog/types.d.ts +1 -1
  81. package/DialogActions/DialogActions.d.ts +1 -1
  82. package/DialogContent/DialogContent.d.ts +1 -1
  83. package/DialogContentText/DialogContentText.d.ts +1 -1
  84. package/DialogTitle/DialogTitle.d.ts +1 -1
  85. package/Divider/Divider.d.ts +1 -1
  86. package/DropdownButton/DropdownButton.d.ts +2 -2
  87. package/ErrorBoundary/ErrorBoundary.d.ts +3 -3
  88. package/Fab/Fab.d.ts +2 -2
  89. package/Fab/types.d.ts +1 -1
  90. package/Fade/Fade.d.ts +1 -1
  91. package/FormControl/FormControl.d.ts +1 -1
  92. package/FormControlLabel/types.d.ts +1 -1
  93. package/FormHelperText/FormHelperText.d.ts +1 -1
  94. package/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
  95. package/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
  96. package/Grid/types.d.ts +4 -4
  97. package/IconButton/IconButton.d.ts +1 -1
  98. package/IconButton/styles.d.ts +2 -2
  99. package/IconDropdownButton/IconDropdownButton.d.ts +2 -2
  100. package/List/List.d.ts +1 -1
  101. package/ListItem/styles.d.ts +8 -2
  102. package/ListItem/types.d.ts +1 -1
  103. package/ListItemAvatar/ListItemAvatar.d.ts +1 -1
  104. package/ListItemButton/ListItemButton.d.ts +2 -2
  105. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  106. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  107. package/ListItemText/ListItemText.d.ts +1 -1
  108. package/ListSubheader/ListSubheader.d.ts +1 -1
  109. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  110. package/MaskField/MaskField.d.ts +4 -4
  111. package/MaskField/types.d.ts +1 -1
  112. package/Menu/Menu.d.ts +1 -1
  113. package/MenuGroup/types.d.ts +1 -1
  114. package/MenuItem/types.d.ts +1 -1
  115. package/MenuList/types.d.ts +1 -1
  116. package/NavMenu/NavMenu.d.ts +1 -1
  117. package/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
  118. package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
  119. package/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
  120. package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
  121. package/Notification/Notification.d.ts +1 -1
  122. package/Notification/NotificationTemplate/styled.d.ts +2 -2
  123. package/Notification/constants/notificationVariant.d.ts +1 -1
  124. package/Notification/styled.d.ts +4 -4
  125. package/Notification/types.d.ts +2 -2
  126. package/OverflowTypography/OverflowTypography.d.ts +5 -5
  127. package/PageAside/PageAside.d.ts +5 -0
  128. package/PageAside/PageAside.js +9 -0
  129. package/PageAside/index.d.ts +1 -0
  130. package/PageAside/index.js +17 -0
  131. package/PageAside/styles.d.ts +5 -0
  132. package/PageAside/styles.js +13 -0
  133. package/PageContent/PageContent.d.ts +17 -0
  134. package/PageContent/PageContent.js +10 -0
  135. package/PageContent/index.d.ts +1 -0
  136. package/PageContent/index.js +17 -0
  137. package/PageContent/styles.d.ts +10 -0
  138. package/PageContent/styles.js +11 -0
  139. package/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
  140. package/PageHeader/ButtonGroup/ButtonGroup.js +33 -0
  141. package/PageHeader/ButtonGroup/index.d.ts +1 -0
  142. package/PageHeader/ButtonGroup/index.js +17 -0
  143. package/PageHeader/ButtonGroup/styles.d.ts +5 -0
  144. package/PageHeader/ButtonGroup/styles.js +9 -0
  145. package/PageHeader/PageHeader.d.ts +55 -0
  146. package/PageHeader/PageHeader.js +12 -0
  147. package/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
  148. package/PageHeader/PageHeaderDashboardStory.js +285 -0
  149. package/PageHeader/index.d.ts +1 -0
  150. package/PageHeader/index.js +17 -0
  151. package/PageHeader/styles.d.ts +32 -0
  152. package/PageHeader/styles.js +38 -0
  153. package/PageLayout/PageLayout.d.ts +30 -0
  154. package/PageLayout/PageLayout.js +14 -0
  155. package/PageLayout/index.d.ts +1 -0
  156. package/PageLayout/index.js +17 -0
  157. package/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
  158. package/PageLayoutContainer/PageLayoutContainer.js +7 -0
  159. package/PageLayoutContainer/index.d.ts +1 -0
  160. package/PageLayoutContainer/index.js +17 -0
  161. package/PageLayoutContainer/styles.d.ts +5 -0
  162. package/PageLayoutContainer/styles.js +16 -0
  163. package/Pagination/types.d.ts +1 -1
  164. package/Placeholder/Placeholder.d.ts +1 -1
  165. package/Product/Product.d.ts +1 -1
  166. package/Product/types.d.ts +1 -1
  167. package/ProductSwitcher/ProductSwitcher.d.ts +1 -1
  168. package/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
  169. package/ProductSwitcher/ProductSwitcher.stories.js +90 -0
  170. package/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
  171. package/ProductSwitcher/types.d.ts +1 -1
  172. package/Profile/styled.d.ts +1 -1
  173. package/Profile/types.d.ts +1 -1
  174. package/Radio/Radio.d.ts +1 -1
  175. package/Radio/types.d.ts +1 -1
  176. package/RadioGroup/RadioGroup.d.ts +1 -1
  177. package/Select/Select.d.ts +1 -1
  178. package/SideDialog/types.d.ts +1 -1
  179. package/SideDialogActions/types.d.ts +1 -1
  180. package/SideDialogContent/types.d.ts +1 -1
  181. package/SideDialogContentText/types.d.ts +1 -1
  182. package/SideDialogTitle/types.d.ts +1 -1
  183. package/Slide/Slide.d.ts +1 -1
  184. package/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
  185. package/Stepper/StepConnector/index.d.ts +1 -1
  186. package/Stepper/StepIcon/styles.d.ts +3 -3
  187. package/Stepper/StepLabel/StepLabel.d.ts +1 -1
  188. package/Stepper/Stepper.d.ts +3 -3
  189. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  190. package/SwipeableDrawer/styles.d.ts +2 -2
  191. package/Tab/Tab.d.ts +1 -1
  192. package/Table/Table.d.ts +1 -1
  193. package/Table/TableBody/TableBody.d.ts +1 -1
  194. package/Table/TableCell/TableCell.d.ts +1 -1
  195. package/Table/TableContainer/TableContainer.d.ts +1 -1
  196. package/Table/TableFooter/TableFooter.d.ts +1 -1
  197. package/Table/TableHead/TableHead.d.ts +1 -1
  198. package/Table/TableRow/TableRow.d.ts +1 -1
  199. package/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
  200. package/Tabs/Tabs.d.ts +1 -1
  201. package/Tag/Tag.d.ts +1 -1
  202. package/Tag/types.d.ts +4 -4
  203. package/TextArea/TextArea.d.ts +1 -1
  204. package/TextArea/types.d.ts +1 -1
  205. package/TextField/TextField.d.ts +1 -1
  206. package/TextField/types.d.ts +1 -1
  207. package/ThemeProvider/ThemeProvider.d.ts +1 -1
  208. package/Tooltip/Tooltip.d.ts +2 -2
  209. package/Tooltip/types.d.ts +1 -1
  210. package/Typography/Typography.d.ts +3 -3
  211. package/Zoom/Zoom.d.ts +1 -1
  212. package/docs/Case/Case.d.ts +9 -0
  213. package/docs/Case/Case.js +18 -0
  214. package/docs/Case/index.d.ts +1 -0
  215. package/docs/Case/index.js +17 -0
  216. package/docs/Case/styles.d.ts +13 -0
  217. package/docs/Case/styles.js +16 -0
  218. package/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
  219. package/docs/ExampleTemplate/ExampleTemplate.js +8 -0
  220. package/docs/ExampleTemplate/index.d.ts +1 -0
  221. package/docs/ExampleTemplate/index.js +17 -0
  222. package/docs/index.d.ts +2 -0
  223. package/docs/index.js +18 -0
  224. package/esm/ActionCell/ActionCell.d.ts +6 -6
  225. package/esm/Alert/Alert.d.ts +1 -1
  226. package/esm/Autocomplete/Autocomplete.d.ts +2 -2
  227. package/esm/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.d.ts +3 -3
  228. package/esm/BackdropStack/services/BackdropStackManager/BackdropStackManager.d.ts +1 -1
  229. package/esm/Badge/types.d.ts +2 -2
  230. package/esm/Breadcrumbs/index.d.ts +1 -0
  231. package/esm/Breadcrumbs/index.js +1 -0
  232. package/esm/Button/Button.d.ts +1 -1
  233. package/esm/Button/types.d.ts +1 -1
  234. package/esm/ButtonBase/ButtonBase.d.ts +1 -1
  235. package/esm/ButtonBase/styles.d.ts +2 -2
  236. package/esm/ButtonBase/types.d.ts +5 -5
  237. package/esm/Checkbox/Checkbox.d.ts +1 -1
  238. package/esm/Checkbox/types.d.ts +1 -1
  239. package/esm/Chevron/Chevron.d.ts +1 -1
  240. package/esm/Chevron/styles.d.ts +1 -1
  241. package/esm/CircularProgress/CircularProgress.d.ts +2 -2
  242. package/esm/CircularProgress/CircularProgressStory.d.ts +1 -1
  243. package/esm/Collapse/Collapse.d.ts +1 -1
  244. package/esm/ConfigProvider/ConfigProvider.d.ts +3 -3
  245. package/esm/ContentState/ContentState.d.ts +2 -2
  246. package/esm/ContentState/types.d.ts +1 -1
  247. package/esm/DashboardLayout/DashboardLayout.d.ts +1 -1
  248. package/esm/DashboardLayout/DashboardLayoutStory.d.ts +1 -1
  249. package/esm/DashboardLayout/Header/Header.d.ts +1 -1
  250. package/esm/DashboardLayout/Main/Main.d.ts +1 -1
  251. package/esm/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  252. package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.d.ts +1 -1
  253. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.d.ts +2 -2
  254. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.d.ts +1 -1
  255. package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.d.ts +1 -1
  256. package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.d.ts +1 -1
  257. package/esm/DataGrid/DataGrid.d.ts +1 -1
  258. package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +1 -1
  259. package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +1 -1
  260. package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +1 -1
  261. package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.d.ts +1 -1
  262. package/esm/DataGrid/DataGridLoader/DataGridLoader.d.ts +1 -1
  263. package/esm/DataGrid/DataGridLoader/styles.d.ts +1 -1
  264. package/esm/DataGrid/DataGridNoData/DataGridNoData.d.ts +1 -1
  265. package/esm/DataGrid/types.d.ts +6 -6
  266. package/esm/DataGridPagination/DataGridPagination.d.ts +1 -1
  267. package/esm/DatePicker/DateCalendar/DateCalendarBtn/DateCalendarBtn.d.ts +2 -2
  268. package/esm/DatePicker/DateCalendar/DateCalendarBtn/styles.d.ts +1 -1
  269. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/DateCalendarNextBtn.d.ts +1 -1
  270. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarNextBtn/styles.d.ts +1 -1
  271. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/DateCalendarPrevBtn.d.ts +1 -1
  272. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/DateCalendarPrevBtn/styles.d.ts +1 -1
  273. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/styles.d.ts +1 -1
  274. package/esm/DatePicker/DateCalendar/DateCalendarChevronBtn/types.d.ts +1 -1
  275. package/esm/DatePicker/DateCalendar/DateCalendarGridBtn/styles.d.ts +3 -3
  276. package/esm/DatePicker/DateCalendar/DateCalendarHead/DateCalendarHead.d.ts +2 -2
  277. package/esm/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -1
  278. package/esm/DatePicker/DatePicker.d.ts +1 -1
  279. package/esm/DatePicker/DatePickerClickAwayListener/DatePickerClickAwayListener.d.ts +1 -1
  280. package/esm/DatePicker/DatePickerInput/DatePickerInput.d.ts +2 -2
  281. package/esm/DatePicker/DatePickerInput/styles.d.ts +1 -1
  282. package/esm/DatePicker/DatePickerPopper/DatePickerPopper.d.ts +1 -1
  283. package/esm/DatePicker/DayPicker/DateDayPickerGridHead/DateDayPickerGridHead.d.ts +1 -1
  284. package/esm/DatePicker/DayPicker/DayPicker.d.ts +3 -3
  285. package/esm/DatePicker/DayPicker/hooks/useDaysGrid/useDaysGrid.d.ts +2 -2
  286. package/esm/DatePicker/MonthPicker/MonthPicker.d.ts +2 -2
  287. package/esm/DatePicker/MonthPicker/hooks/useMonthsGrid/useMonthsGrid.d.ts +1 -1
  288. package/esm/DatePicker/YearMonthDayPicker/YearMonthDayPicker.d.ts +2 -2
  289. package/esm/DatePicker/YearPicker/YearPicker.d.ts +2 -2
  290. package/esm/DatePicker/YearPicker/hooks/useYearsGrid/useYearsGrid.d.ts +1 -1
  291. package/esm/DatePicker/hooks/useBaseDateInRange/useBaseDateInRange.d.ts +1 -1
  292. package/esm/DatePicker/hooks/useCalendarNavigate/useCalendarNavigate.d.ts +1 -1
  293. package/esm/DatePicker/hooks/useLocaleDateTimeFormat/useLocaleDateTimeFormat.d.ts +1 -1
  294. package/esm/DatePicker/types/configTypes.d.ts +3 -3
  295. package/esm/DatePicker/types/gridBuilder.d.ts +4 -4
  296. package/esm/DatePicker/types/minMaxDate.d.ts +1 -1
  297. package/esm/DatePicker/types/pickerProps.d.ts +1 -1
  298. package/esm/DatePicker/utils/buildGridItem/buildGridResult.d.ts +1 -1
  299. package/esm/DatePickerProvider/DatePickerProvider.d.ts +1 -1
  300. package/esm/Description/Description.d.ts +1 -1
  301. package/esm/Description/Name/Name.d.ts +1 -1
  302. package/esm/Description/Value/Value.d.ts +1 -1
  303. package/esm/Dialog/types.d.ts +1 -1
  304. package/esm/DialogActions/DialogActions.d.ts +1 -1
  305. package/esm/DialogContent/DialogContent.d.ts +1 -1
  306. package/esm/DialogContentText/DialogContentText.d.ts +1 -1
  307. package/esm/DialogTitle/DialogTitle.d.ts +1 -1
  308. package/esm/Divider/Divider.d.ts +1 -1
  309. package/esm/DropdownButton/DropdownButton.d.ts +2 -2
  310. package/esm/ErrorBoundary/ErrorBoundary.d.ts +3 -3
  311. package/esm/Fab/Fab.d.ts +2 -2
  312. package/esm/Fab/types.d.ts +1 -1
  313. package/esm/Fade/Fade.d.ts +1 -1
  314. package/esm/FormControl/FormControl.d.ts +1 -1
  315. package/esm/FormControlLabel/types.d.ts +1 -1
  316. package/esm/FormHelperText/FormHelperText.d.ts +1 -1
  317. package/esm/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +1 -1
  318. package/esm/FormHelperText/FormHelperTextContent/styles.d.ts +3 -3
  319. package/esm/Grid/types.d.ts +4 -4
  320. package/esm/IconButton/IconButton.d.ts +1 -1
  321. package/esm/IconButton/styles.d.ts +2 -2
  322. package/esm/IconDropdownButton/IconDropdownButton.d.ts +2 -2
  323. package/esm/List/List.d.ts +1 -1
  324. package/esm/ListItem/styles.d.ts +8 -2
  325. package/esm/ListItem/types.d.ts +1 -1
  326. package/esm/ListItemAvatar/ListItemAvatar.d.ts +1 -1
  327. package/esm/ListItemButton/ListItemButton.d.ts +2 -2
  328. package/esm/ListItemIcon/ListItemIcon.d.ts +2 -2
  329. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  330. package/esm/ListItemText/ListItemText.d.ts +1 -1
  331. package/esm/ListSubheader/ListSubheader.d.ts +1 -1
  332. package/esm/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  333. package/esm/MaskField/MaskField.d.ts +4 -4
  334. package/esm/MaskField/types.d.ts +1 -1
  335. package/esm/Menu/Menu.d.ts +1 -1
  336. package/esm/MenuGroup/types.d.ts +1 -1
  337. package/esm/MenuItem/types.d.ts +1 -1
  338. package/esm/MenuList/types.d.ts +1 -1
  339. package/esm/NavMenu/NavMenu.d.ts +1 -1
  340. package/esm/NavMenu/NavMenuItem/NavMenuItem.d.ts +1 -1
  341. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.d.ts +1 -1
  342. package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.d.ts +8 -5
  343. package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.d.ts +1 -1
  344. package/esm/Notification/Notification.d.ts +1 -1
  345. package/esm/Notification/NotificationTemplate/styled.d.ts +2 -2
  346. package/esm/Notification/constants/notificationVariant.d.ts +1 -1
  347. package/esm/Notification/styled.d.ts +4 -4
  348. package/esm/Notification/types.d.ts +2 -2
  349. package/esm/OverflowTypography/OverflowTypography.d.ts +5 -5
  350. package/esm/PageAside/PageAside.d.ts +5 -0
  351. package/esm/PageAside/PageAside.js +5 -0
  352. package/esm/PageAside/index.d.ts +1 -0
  353. package/esm/PageAside/index.js +1 -0
  354. package/esm/PageAside/styles.d.ts +5 -0
  355. package/esm/PageAside/styles.js +10 -0
  356. package/esm/PageContent/PageContent.d.ts +17 -0
  357. package/esm/PageContent/PageContent.js +6 -0
  358. package/esm/PageContent/index.d.ts +1 -0
  359. package/esm/PageContent/index.js +1 -0
  360. package/esm/PageContent/styles.d.ts +10 -0
  361. package/esm/PageContent/styles.js +8 -0
  362. package/esm/PageHeader/ButtonGroup/ButtonGroup.d.ts +12 -0
  363. package/esm/PageHeader/ButtonGroup/ButtonGroup.js +29 -0
  364. package/esm/PageHeader/ButtonGroup/index.d.ts +1 -0
  365. package/esm/PageHeader/ButtonGroup/index.js +1 -0
  366. package/esm/PageHeader/ButtonGroup/styles.d.ts +5 -0
  367. package/esm/PageHeader/ButtonGroup/styles.js +6 -0
  368. package/esm/PageHeader/PageHeader.d.ts +55 -0
  369. package/esm/PageHeader/PageHeader.js +8 -0
  370. package/esm/PageHeader/PageHeaderDashboardStory.d.ts +2 -0
  371. package/esm/PageHeader/PageHeaderDashboardStory.js +281 -0
  372. package/esm/PageHeader/index.d.ts +1 -0
  373. package/esm/PageHeader/index.js +1 -0
  374. package/esm/PageHeader/styles.d.ts +32 -0
  375. package/esm/PageHeader/styles.js +35 -0
  376. package/esm/PageLayout/PageLayout.d.ts +30 -0
  377. package/esm/PageLayout/PageLayout.js +10 -0
  378. package/esm/PageLayout/index.d.ts +1 -0
  379. package/esm/PageLayout/index.js +1 -0
  380. package/esm/PageLayoutContainer/PageLayoutContainer.d.ts +5 -0
  381. package/esm/PageLayoutContainer/PageLayoutContainer.js +3 -0
  382. package/esm/PageLayoutContainer/index.d.ts +1 -0
  383. package/esm/PageLayoutContainer/index.js +1 -0
  384. package/esm/PageLayoutContainer/styles.d.ts +5 -0
  385. package/esm/PageLayoutContainer/styles.js +13 -0
  386. package/esm/Pagination/types.d.ts +1 -1
  387. package/esm/Placeholder/Placeholder.d.ts +1 -1
  388. package/esm/Product/Product.d.ts +1 -1
  389. package/esm/Product/types.d.ts +1 -1
  390. package/esm/ProductSwitcher/ProductSwitcher.d.ts +1 -1
  391. package/esm/ProductSwitcher/ProductSwitcher.stories.d.ts +8 -0
  392. package/esm/ProductSwitcher/ProductSwitcher.stories.js +84 -0
  393. package/esm/ProductSwitcher/ProductSwitcherContent/ProductSwitcherContent.d.ts +1 -1
  394. package/esm/ProductSwitcher/types.d.ts +1 -1
  395. package/esm/Profile/styled.d.ts +1 -1
  396. package/esm/Profile/types.d.ts +1 -1
  397. package/esm/Radio/Radio.d.ts +1 -1
  398. package/esm/Radio/types.d.ts +1 -1
  399. package/esm/RadioGroup/RadioGroup.d.ts +1 -1
  400. package/esm/Select/Select.d.ts +1 -1
  401. package/esm/SideDialog/types.d.ts +1 -1
  402. package/esm/SideDialogActions/types.d.ts +1 -1
  403. package/esm/SideDialogContent/types.d.ts +1 -1
  404. package/esm/SideDialogContentText/types.d.ts +1 -1
  405. package/esm/SideDialogTitle/types.d.ts +1 -1
  406. package/esm/Slide/Slide.d.ts +1 -1
  407. package/esm/Stepper/ArrowConnector/ArrowConnector.d.ts +1 -1
  408. package/esm/Stepper/StepConnector/index.d.ts +1 -1
  409. package/esm/Stepper/StepIcon/styles.d.ts +3 -3
  410. package/esm/Stepper/StepLabel/StepLabel.d.ts +1 -1
  411. package/esm/Stepper/Stepper.d.ts +3 -3
  412. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  413. package/esm/SwipeableDrawer/styles.d.ts +2 -2
  414. package/esm/Tab/Tab.d.ts +1 -1
  415. package/esm/Table/Table.d.ts +1 -1
  416. package/esm/Table/TableBody/TableBody.d.ts +1 -1
  417. package/esm/Table/TableCell/TableCell.d.ts +1 -1
  418. package/esm/Table/TableContainer/TableContainer.d.ts +1 -1
  419. package/esm/Table/TableFooter/TableFooter.d.ts +1 -1
  420. package/esm/Table/TableHead/TableHead.d.ts +1 -1
  421. package/esm/Table/TableRow/TableRow.d.ts +1 -1
  422. package/esm/Table/TableSortLabel/TableSortLabel.d.ts +1 -1
  423. package/esm/Tabs/Tabs.d.ts +1 -1
  424. package/esm/Tag/Tag.d.ts +1 -1
  425. package/esm/Tag/types.d.ts +4 -4
  426. package/esm/TextArea/TextArea.d.ts +1 -1
  427. package/esm/TextArea/types.d.ts +1 -1
  428. package/esm/TextField/TextField.d.ts +1 -1
  429. package/esm/TextField/types.d.ts +1 -1
  430. package/esm/ThemeProvider/ThemeProvider.d.ts +1 -1
  431. package/esm/Tooltip/Tooltip.d.ts +2 -2
  432. package/esm/Tooltip/types.d.ts +1 -1
  433. package/esm/Typography/Typography.d.ts +3 -3
  434. package/esm/Zoom/Zoom.d.ts +1 -1
  435. package/esm/docs/Case/Case.d.ts +9 -0
  436. package/esm/docs/Case/Case.js +14 -0
  437. package/esm/docs/Case/index.d.ts +1 -0
  438. package/esm/docs/Case/index.js +1 -0
  439. package/esm/docs/Case/styles.d.ts +13 -0
  440. package/esm/docs/Case/styles.js +13 -0
  441. package/esm/docs/ExampleTemplate/ExampleTemplate.d.ts +14 -0
  442. package/esm/docs/ExampleTemplate/ExampleTemplate.js +4 -0
  443. package/esm/docs/ExampleTemplate/index.d.ts +1 -0
  444. package/esm/docs/ExampleTemplate/index.js +1 -0
  445. package/esm/docs/index.d.ts +2 -0
  446. package/esm/docs/index.js +2 -0
  447. package/esm/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
  448. package/esm/hooks/useMenu/useMenu.d.ts +1 -1
  449. package/esm/hooks/useToggle/useToggle.d.ts +6 -6
  450. package/esm/index.d.ts +5 -0
  451. package/esm/index.js +5 -0
  452. package/esm/theme/baseTheme/baseTheme.d.ts +3 -3
  453. package/esm/theme/components/MuiTypography.d.ts +1 -1
  454. package/esm/theme/components/components.d.ts +1 -1
  455. package/esm/theme/elevation.d.ts +1 -1
  456. package/esm/theme/palette/brandPalette.d.ts +1 -1
  457. package/esm/theme/palette/palette.d.ts +4 -4
  458. package/esm/theme/shape.d.ts +1 -1
  459. package/esm/theme/typography.d.ts +2 -2
  460. package/esm/types.d.ts +2 -2
  461. package/esm/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
  462. package/esm/utils/date/format/maskDate.d.ts +1 -1
  463. package/esm/utils/date/isDate/isDate.d.ts +1 -1
  464. package/esm/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
  465. package/hooks/useEscapeClickEffect/useEscapeClickEffect.d.ts +1 -1
  466. package/hooks/useMenu/useMenu.d.ts +1 -1
  467. package/hooks/useToggle/useToggle.d.ts +6 -6
  468. package/index.d.ts +5 -0
  469. package/index.js +5 -0
  470. package/package.json +2 -2
  471. package/theme/baseTheme/baseTheme.d.ts +3 -3
  472. package/theme/components/MuiTypography.d.ts +1 -1
  473. package/theme/components/components.d.ts +1 -1
  474. package/theme/elevation.d.ts +1 -1
  475. package/theme/palette/brandPalette.d.ts +1 -1
  476. package/theme/palette/palette.d.ts +4 -4
  477. package/theme/shape.d.ts +1 -1
  478. package/theme/typography.d.ts +2 -2
  479. package/types.d.ts +2 -2
  480. package/utils/date/buildIsoDate/buildIsoDateString.d.ts +1 -1
  481. package/utils/date/format/maskDate.d.ts +1 -1
  482. package/utils/date/isDate/isDate.d.ts +1 -1
  483. package/utils/date/isDateOutOfRange/isDateOutOfRange.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ToastOptions } from 'react-toastify/dist/types';
3
- export declare type Variant = 'success' | 'warning' | 'info' | 'error';
4
- export declare type ActionsDirection = 'right' | 'left';
3
+ export type Variant = 'success' | 'warning' | 'info' | 'error';
4
+ export type ActionsDirection = 'right' | 'left';
5
5
  export interface NotificationProps extends Omit<ToastOptions, 'className' | 'style' | 'isLoading' | 'bodyClassName' | 'bodyStyle' | 'onOpen' | 'onClose' | 'type' | 'toastId' | 'updateId' | 'data' | 'progressClassName' | 'closeButton' | 'transition' | 'draggableDirection' | 'role' | 'containerId' | 'rtl' | 'icon' | 'theme'> {
6
6
  /**
7
7
  * @example notify.success('title')
@@ -1,8 +1,8 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { TypographyProps } from '../Typography';
3
3
  import { TooltipProps as BasicTooltipProps } from '../Tooltip';
4
- declare type TooltipProps = Omit<BasicTooltipProps, 'ref'>;
5
- export declare type OverflowedProps = {
4
+ type TooltipProps = Omit<BasicTooltipProps, 'ref'>;
5
+ export type OverflowedProps = {
6
6
  /**
7
7
  * @example <OverflowTypography rowsCount={2} />
8
8
  * @default 1
@@ -10,15 +10,15 @@ export declare type OverflowedProps = {
10
10
  */
11
11
  rowsCount?: number;
12
12
  };
13
- declare type TooltipCustomizable = {
13
+ type TooltipCustomizable = {
14
14
  /**
15
15
  * @example <OverflowTypography tooltipProps={{placement: 'top-start'}} />
16
16
  * @description способ кастомизировать тултип при необходимости
17
17
  */
18
18
  tooltipProps?: Omit<TooltipProps, 'children'>;
19
19
  };
20
- export declare type OverflowedElementProps = OverflowedProps & TooltipCustomizable & TypographyProps;
21
- export declare type OverflowedTypographyProps = PropsWithChildren<OverflowedElementProps>;
20
+ export type OverflowedElementProps = OverflowedProps & TooltipCustomizable & TypographyProps;
21
+ export type OverflowedTypographyProps = PropsWithChildren<OverflowedElementProps>;
22
22
  export declare const DEFAULT_ROWS_COUNT = 1;
23
23
  export declare const OverflowTypography: import("react").ForwardRefExoticComponent<Pick<OverflowedTypographyProps, string | number | symbol> & import("react").RefAttributes<HTMLElement>>;
24
24
  export {};
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ export type PageAsideProps = {
3
+ children: ReactNode;
4
+ };
5
+ export declare const PageAside: ({ children }: PageAsideProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PageAsideWrapper } from './styles';
3
+ export const PageAside = ({ children }) => {
4
+ return _jsx(PageAsideWrapper, { children: children });
5
+ };
@@ -0,0 +1 @@
1
+ export * from './PageAside';
@@ -0,0 +1 @@
1
+ export * from './PageAside';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const PageAsideWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -0,0 +1,10 @@
1
+ import { styled } from '../styles';
2
+ export const PageAsideWrapper = styled.aside `
3
+ grid-area: aside;
4
+ width: 320px;
5
+ padding: ${({ theme }) => theme.spacing(6)};
6
+ overflow: auto;
7
+
8
+ border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
9
+ border-left: 1px solid ${({ theme }) => theme.palette.grey[300]};
10
+ `;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ export type PageContentProps = {
3
+ children: ReactNode;
4
+ /**
5
+ * @example <PageContent isSeparatorShown />
6
+ * @default false
7
+ * Флаг, отображающий границу шапки
8
+ */
9
+ isSeparatorShown?: boolean;
10
+ /**
11
+ * @example <PageContent isPaddingDisabled>Контент</PageContent>
12
+ * @default true
13
+ * Флаг, добавляющий стандартные отсупы (требуются не всегда)
14
+ */
15
+ isPaddingDisabled?: boolean;
16
+ };
17
+ export declare const PageContent: (props: PageContentProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PageContentWrapper } from './styles';
3
+ export const PageContent = (props) => {
4
+ const { children, isPaddingDisabled = true, isSeparatorShown = false, } = props;
5
+ return (_jsx(PageContentWrapper, Object.assign({ isPaddingDisabled: isPaddingDisabled, isSeparatorShown: isSeparatorShown }, { children: children })));
6
+ };
@@ -0,0 +1 @@
1
+ export * from './PageContent';
@@ -0,0 +1 @@
1
+ export * from './PageContent';
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ type PageContentWrapperProps = {
3
+ isPaddingDisabled?: boolean;
4
+ isSeparatorShown?: boolean;
5
+ };
6
+ export declare const PageContentWrapper: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ } & PageContentWrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ import { styled } from '../styles';
2
+ export const PageContentWrapper = styled.article `
3
+ grid-area: content;
4
+ padding: ${({ isPaddingDisabled, theme }) => isPaddingDisabled ? 0 : theme.spacing(0, 6)};
5
+ overflow: auto;
6
+
7
+ border-top: ${({ isSeparatorShown, theme }) => isSeparatorShown ? `1px solid ${theme.palette.grey[300]}` : 'none'};
8
+ `;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps } from '../../Button';
3
+ import { ListItemButtonProps } from '../../ListItemButton';
4
+ export type ButtonGroupProps = {
5
+ main?: (Omit<ButtonProps, 'children'> & {
6
+ text: string;
7
+ })[];
8
+ secondary?: (Omit<ListItemButtonProps, 'children'> & {
9
+ text: string;
10
+ })[];
11
+ };
12
+ export declare const ButtonGroup: (props: ButtonGroupProps) => JSX.Element;
@@ -0,0 +1,29 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { DotsOutlineMd } from '@astral/icons';
14
+ import { Button } from '../../Button';
15
+ import { ListItemButton } from '../../ListItemButton';
16
+ import { ListItemText } from '../../ListItemText';
17
+ import { IconDropdownButton } from '../../IconDropdownButton';
18
+ import { ButtonGroupWrapper } from './styles';
19
+ export const ButtonGroup = (props) => {
20
+ const { main, secondary } = props;
21
+ return (_jsxs(ButtonGroupWrapper, { children: [secondary && (_jsx(IconDropdownButton, Object.assign({ icon: _jsx(DotsOutlineMd, {}), variant: "light" }, { children: secondary.map((_a) => {
22
+ var { text } = _a, secondaryProps = __rest(_a, ["text"]);
23
+ return (_jsx(ListItemButton, Object.assign({}, secondaryProps, { children: _jsx(ListItemText, { primary: text }) }), text));
24
+ }) }))), main &&
25
+ main.map((_a) => {
26
+ var { text } = _a, mainProps = __rest(_a, ["text"]);
27
+ return (_jsx(Button, Object.assign({}, mainProps, { children: text }), text));
28
+ })] }));
29
+ };
@@ -0,0 +1 @@
1
+ export * from './ButtonGroup';
@@ -0,0 +1 @@
1
+ export * from './ButtonGroup';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const ButtonGroupWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,6 @@
1
+ import { styled } from '../../styles';
2
+ export const ButtonGroupWrapper = styled.div `
3
+ display: flex;
4
+ grid-area: actions;
5
+ gap: ${({ theme }) => theme.spacing(1)};
6
+ `;
@@ -0,0 +1,55 @@
1
+ import { ReactNode } from 'react';
2
+ import { BaseButtonProps } from '../ButtonBase';
3
+ import { ButtonGroupProps } from './ButtonGroup';
4
+ export type PageHeaderProps = {
5
+ /**
6
+ * @example <PageHeader title="Заголовок страницы" />
7
+ * Заголовок страницы
8
+ */
9
+ title: ReactNode;
10
+ /**
11
+ * @example <PageHeader description="Описание страницы" />
12
+ * Описание страницы
13
+ */
14
+ description?: ReactNode;
15
+ /**
16
+ * @example <PageHeader subheader={<TextField placeholder="Поиск на странице..." size="small" />} />
17
+ * Набор компонент, отображаемый в нижней части блока
18
+ */
19
+ subheader?: ReactNode;
20
+ /**
21
+ * @example <PageHeader breadcrumbs={
22
+ * [
23
+ * <Link>Первая ссылка</Link>,
24
+ * <Link>Вторая ссылка</Link>,
25
+ * <>Текст</>,
26
+ * ]
27
+ * } />
28
+ * Хлебные крошки
29
+ */
30
+ breadcrumbs?: ReactNode[];
31
+ /**
32
+ * @example <PageHeader actions={{
33
+ * main: [
34
+ * {
35
+ * text: 'Основное действие',
36
+ * },
37
+ * ],
38
+ * secondary: [
39
+ * {
40
+ * text: 'Вспомогательное действие',
41
+ * },
42
+ * ]
43
+ * }} />
44
+ * Набор кнопок, видимые кофигурируются через объект main, скрытые в меню - через secondary
45
+ */
46
+ actions?: ButtonGroupProps;
47
+ /**
48
+ * @example <PageHeader backButton={{
49
+ * onClick: () => {},
50
+ * }} />
51
+ * Кнопка назад
52
+ */
53
+ backButton?: Omit<BaseButtonProps, 'children' | 'variant'>;
54
+ };
55
+ export declare const PageHeader: (props: PageHeaderProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ArrowLOutlineMd } from '@astral/icons';
3
+ import { ButtonGroup } from './ButtonGroup';
4
+ import { PageHeaderBackButton, PageHeaderBreadcrumbs, PageHeaderDescription, PageHeaderTitle, PageHeaderWrapper, PageSubheader, } from './styles';
5
+ export const PageHeader = (props) => {
6
+ const { title, description, subheader, breadcrumbs, actions, backButton } = props;
7
+ return (_jsxs(PageHeaderWrapper, { children: [breadcrumbs && (_jsx(PageHeaderBreadcrumbs, { children: breadcrumbs })), backButton && (_jsx(PageHeaderBackButton, Object.assign({}, backButton, { variant: "light" }, { children: _jsx(ArrowLOutlineMd, {}) }))), _jsx(PageHeaderTitle, Object.assign({ variant: "h3" }, { children: title })), description && (_jsx(PageHeaderDescription, { children: description })), actions && _jsx(ButtonGroup, Object.assign({}, actions)), subheader && _jsx(PageSubheader, { children: subheader })] }));
8
+ };
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const PageHeaderDashboardStory: () => JSX.Element;
@@ -0,0 +1,281 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { AddOutlineMd, CompanyOutlineMd, EyeFillMd, ProfileOutlineMd, QuitOutlineMd, SearchOutlineMd, SendOutlineMd, SettingsFillMd, } from '@astral/icons';
3
+ import { Box, Stack } from '@mui/material';
4
+ import { Fragment, useState } from 'react';
5
+ import { ActionCell } from '../ActionCell';
6
+ import { DashboardLayout } from '../DashboardLayout';
7
+ import { DataGrid } from '../DataGrid';
8
+ import { DataGridPagination } from '../DataGridPagination';
9
+ import { Divider } from '../Divider';
10
+ import { ListItemIcon } from '../ListItemIcon';
11
+ import { ListItemText } from '../ListItemText';
12
+ import { Menu } from '../Menu';
13
+ import { MenuItem } from '../MenuItem';
14
+ import { PageLayout } from '../PageLayout';
15
+ import { ProductSwitcher } from '../ProductSwitcher';
16
+ import { handleGetProducts } from '../ProductSwitcher/ProductSwitcher.stories';
17
+ import { Select } from '../Select';
18
+ import { TextField } from '../TextField';
19
+ const ACTIONS = {
20
+ main: [
21
+ {
22
+ icon: _jsx(EyeFillMd, {}),
23
+ name: 'Просмотреть',
24
+ onClick: () => console.log('main'),
25
+ },
26
+ {
27
+ icon: _jsx(SendOutlineMd, {}),
28
+ nested: true,
29
+ name: 'Отправить',
30
+ actions: [
31
+ { name: 'Туда', onClick: () => console.log('nested 1') },
32
+ { name: 'Сюда', onClick: () => console.log('nested 2') },
33
+ ],
34
+ },
35
+ ],
36
+ secondary: [
37
+ { name: 'Редактировать', onClick: () => console.log('secondary 1') },
38
+ { name: 'Удалить', onClick: () => console.log('secondary 2') },
39
+ ],
40
+ };
41
+ const data = [
42
+ {
43
+ id: '1',
44
+ documentName: 'Документ 1',
45
+ direction: 'ФНС',
46
+ createDate: '2022-03-24T17:50:40.206Z',
47
+ },
48
+ {
49
+ id: '2',
50
+ documentName: 'Документ 2',
51
+ direction: 'ФСС',
52
+ createDate: '2022-03-24T17:50:40.206Z',
53
+ },
54
+ {
55
+ id: '3',
56
+ documentName: 'Документ 3',
57
+ direction: 'ПФР',
58
+ createDate: '2022-03-24T17:50:40.206Z',
59
+ },
60
+ {
61
+ id: '4',
62
+ documentName: 'Документ 4',
63
+ direction: 'РПН',
64
+ createDate: '2022-03-24T17:50:40.206Z',
65
+ },
66
+ {
67
+ id: '5',
68
+ documentName: 'Документ 5',
69
+ direction: 'ФНС',
70
+ createDate: '2022-03-24T17:50:40.206Z',
71
+ },
72
+ {
73
+ id: '6',
74
+ documentName: 'Документ 6',
75
+ direction: 'РПН',
76
+ createDate: '2022-03-24T17:50:40.206Z',
77
+ },
78
+ {
79
+ id: '7',
80
+ documentName: 'Документ 7',
81
+ direction: 'ПФР',
82
+ createDate: '2022-03-24T17:50:40.206Z',
83
+ },
84
+ {
85
+ id: '8',
86
+ documentName: 'Документ 8',
87
+ direction: 'ФНС',
88
+ createDate: '2022-03-24T17:50:40.206Z',
89
+ },
90
+ {
91
+ id: '9',
92
+ documentName: 'Документ 9',
93
+ direction: 'ФНС',
94
+ createDate: '2022-03-24T17:50:40.206Z',
95
+ },
96
+ {
97
+ id: '10',
98
+ documentName: 'Документ 10',
99
+ direction: 'ФСС',
100
+ createDate: '2022-03-24T17:50:40.206Z',
101
+ },
102
+ {
103
+ id: '11',
104
+ documentName: 'Документ 11',
105
+ direction: 'ФНС',
106
+ createDate: '2022-03-24T17:50:40.206Z',
107
+ },
108
+ {
109
+ id: '12',
110
+ documentName: 'Документ 12',
111
+ direction: 'РПН',
112
+ createDate: '2022-03-24T17:50:40.206Z',
113
+ },
114
+ {
115
+ id: '13',
116
+ documentName: 'Документ 13',
117
+ direction: 'ФНС',
118
+ createDate: '2022-03-24T17:50:40.206Z',
119
+ },
120
+ {
121
+ id: '15',
122
+ documentName: 'Документ 14',
123
+ direction: 'ФСС',
124
+ createDate: '2022-03-24T17:50:40.206Z',
125
+ },
126
+ {
127
+ id: '14',
128
+ documentName: 'Документ 15',
129
+ direction: 'ФНС',
130
+ createDate: '2022-03-24T17:50:40.206Z',
131
+ },
132
+ {
133
+ id: '16',
134
+ documentName: 'Документ 12',
135
+ direction: 'РПН',
136
+ createDate: '2022-03-24T17:50:40.206Z',
137
+ },
138
+ ];
139
+ const columns = [
140
+ {
141
+ field: 'documentName',
142
+ label: 'Наименование документа',
143
+ sortable: true,
144
+ },
145
+ {
146
+ field: 'direction',
147
+ label: 'Направление',
148
+ sortable: true,
149
+ },
150
+ {
151
+ field: 'createDate',
152
+ label: 'Дата создания',
153
+ sortable: true,
154
+ format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
155
+ },
156
+ {
157
+ label: 'Действия',
158
+ sortable: false,
159
+ align: 'center',
160
+ width: '1%',
161
+ renderCell: (row) => _jsx(ActionCell, { actions: ACTIONS, row: row }),
162
+ },
163
+ ];
164
+ export const PageHeaderDashboardStory = () => {
165
+ const [selected, setSelected] = useState([]);
166
+ const [loading, setLoading] = useState(false);
167
+ const [slicedData, setSlicedData] = useState(data.slice(0, 10));
168
+ const [page, setPage] = useState(1);
169
+ const header = {
170
+ productSwitcher() {
171
+ return (_jsx(Box, { children: _jsx(ProductSwitcher, { getProducts: handleGetProducts }) }));
172
+ },
173
+ product: {
174
+ name: 'Астрал.ЭДО',
175
+ logo() {
176
+ return (_jsxs("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M6.5 6.10352e-05C5.1195 6.10352e-05 4 1.11956 4 2.50006V3.00006H13.75C15.545 3.00006 17 4.45506 17 6.25006V11.2501C17 12.2166 16.2165 13.0001 15.25 13.0001H8.75C7.7835 13.0001 7 12.2166 7 11.2501V8.00006H5C4.4475 8.00006 4 8.44756 4 9.00006V13.5001C4 14.8806 5.1195 16.0001 6.5 16.0001H17.5C18.8805 16.0001 20 14.8806 20 13.5001V2.50006C20 1.11956 18.8805 6.10352e-05 17.5 6.10352e-05H6.5Z", fill: "#8566FF" }), _jsx("path", { d: "M2.5 4.00006C1.1195 4.00006 0 5.11956 0 6.50006V17.5001C0 18.8806 1.1195 20.0001 2.5 20.0001H13.5C14.8805 20.0001 16 18.8806 16 17.5001V17.0001H6.25C4.455 17.0001 3 15.5451 3 13.7501V8.75006C3 7.78356 3.7835 7.00006 4.75 7.00006H11.25C12.2165 7.00006 13 7.78356 13 8.75006V12.0001H15C15.5525 12.0001 16 11.5526 16 11.0001V6.50006C16 5.11956 14.8805 4.00006 13.5 4.00006H2.5Z", fill: "#5D3FD4" })] })));
177
+ },
178
+ },
179
+ profile: {
180
+ displayName: 'Григорьев Виталий',
181
+ annotation: 'vitatiy_grig@mail.ru',
182
+ avatar: {
183
+ alt: 'Григорьев Виталий',
184
+ children: 'ГВ',
185
+ },
186
+ menu(props) {
187
+ return (_jsxs(Menu, Object.assign({}, props, { children: [_jsxs(MenuItem, { children: [_jsx(ListItemIcon, { children: _jsx(ProfileOutlineMd, {}) }), _jsx(ListItemText, { children: "\u041C\u043E\u0439 \u043F\u0440\u043E\u0444\u0438\u043B\u044C" })] }), _jsxs(MenuItem, { children: [_jsx(ListItemIcon, { children: _jsx(CompanyOutlineMd, {}) }), _jsx(ListItemText, { children: "\u041C\u043E\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438" })] }), _jsxs(MenuItem, { children: [_jsx(ListItemIcon, { children: _jsx(SettingsFillMd, {}) }), _jsx(ListItemText, { children: "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438" })] }), _jsx(Divider, {}), _jsxs(MenuItem, { children: [_jsx(ListItemIcon, { children: _jsx(QuitOutlineMd, {}) }), _jsx(ListItemText, { children: "\u0412\u044B\u0439\u0442\u0438" })] })] })));
188
+ },
189
+ },
190
+ };
191
+ const sidebar = {
192
+ menu: {
193
+ items: [
194
+ [
195
+ 'documents',
196
+ {
197
+ icon: _jsx(ProfileOutlineMd, {}),
198
+ text: 'Документы',
199
+ items: [
200
+ [
201
+ 'incoming-documents',
202
+ {
203
+ text: 'Входящие документы',
204
+ active: true,
205
+ },
206
+ ],
207
+ [
208
+ 'outgoing-documents',
209
+ {
210
+ text: 'Исходящие документы',
211
+ active: false,
212
+ },
213
+ ],
214
+ ],
215
+ },
216
+ ],
217
+ [
218
+ 'counterparties',
219
+ {
220
+ icon: _jsx(ProfileOutlineMd, {}),
221
+ text: 'Контрагенты',
222
+ items: [
223
+ [
224
+ 'invitations',
225
+ {
226
+ text: 'Приглашения',
227
+ active: false,
228
+ },
229
+ ],
230
+ ],
231
+ },
232
+ ],
233
+ [
234
+ 'organizations',
235
+ {
236
+ icon: _jsx(CompanyOutlineMd, {}),
237
+ text: 'Мои организации',
238
+ active: true,
239
+ },
240
+ ],
241
+ ],
242
+ },
243
+ };
244
+ const handleChangePage = (_event, newPage) => {
245
+ setLoading(true);
246
+ setPage(newPage);
247
+ setTimeout(() => {
248
+ setLoading(false);
249
+ setSlicedData(data.slice((newPage - 1) * 10, newPage * 10));
250
+ }, 1500);
251
+ };
252
+ const handleSelect = (rows) => setSelected(rows);
253
+ const handleRowClick = (row) => console.log('row clicked', row);
254
+ return (_jsxs(DashboardLayout, { children: [_jsx(DashboardLayout.Header, Object.assign({}, header)), _jsx(DashboardLayout.Sidebar, Object.assign({}, sidebar)), _jsx(DashboardLayout.Main, { children: _jsx(PageLayout, { header: {
255
+ title: 'Черновики',
256
+ breadcrumbs: [
257
+ _jsx(Fragment, { children: "\u041F\u0435\u0440\u0432\u044B\u0439 \u0442\u0435\u043A\u0441\u0442" }, "1"),
258
+ _jsx(Fragment, { children: "\u0422\u0435\u043A\u0441\u0442 \u0441 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u0435\u043C" }, "2"),
259
+ _jsx(Fragment, { children: "\u0422\u0435\u043A\u0441\u0442 \u0441 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u0435\u043C" }, "3"),
260
+ ],
261
+ actions: {
262
+ main: [
263
+ {
264
+ text: 'Основное действие',
265
+ startIcon: _jsx(AddOutlineMd, {}),
266
+ },
267
+ ],
268
+ secondary: [
269
+ {
270
+ text: 'Кнопка',
271
+ },
272
+ ],
273
+ },
274
+ subheader: (_jsxs(Stack, Object.assign({ flexDirection: "row", flexWrap: "wrap", gap: 2 }, { children: [_jsx(TextField, { placeholder: "\u041F\u043E\u0438\u0441\u043A \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435...", size: "small", InputProps: {
275
+ startAdornment: _jsx(SearchOutlineMd, {}),
276
+ } }), _jsx(Select, { value: "", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442", size: "small" }), _jsx(Select, { value: "", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442", size: "small" })] }))),
277
+ }, content: {
278
+ children: (_jsx(DataGrid, { keyId: "id", rows: slicedData, columns: columns, selectedRows: selected, onSelectRow: handleSelect, onRowClick: handleRowClick, minDisplayRows: 10, loading: loading, Footer: _jsx(DataGridPagination, { totalCount: data.length, onChange: handleChangePage, page: page }) })),
279
+ isPaddingDisabled: false,
280
+ } }) })] }));
281
+ };
@@ -0,0 +1 @@
1
+ export * from './PageHeader';
@@ -0,0 +1 @@
1
+ export * from './PageHeader';
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ export declare const PageHeaderWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
+ export declare const PageHeaderBreadcrumbs: import("@emotion/styled").StyledComponent<{
7
+ children?: import("react").ReactNode;
8
+ classes?: Partial<import("@mui/material").BreadcrumbsClasses> | undefined;
9
+ expandText?: string | undefined;
10
+ itemsAfterCollapse?: number | undefined;
11
+ itemsBeforeCollapse?: number | undefined;
12
+ maxItems?: number | undefined;
13
+ separator?: import("react").ReactNode;
14
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
15
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "css" | "key" | keyof import("react").HTMLAttributes<HTMLElement>> & {
16
+ ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
17
+ }, "sx" | "children" | "separator" | keyof import("@mui/material/OverridableComponent").CommonProps | "expandText" | "itemsAfterCollapse" | "itemsBeforeCollapse" | "maxItems"> & {
18
+ theme?: import("@emotion/react").Theme | undefined;
19
+ }, {}, {}>;
20
+ export declare const PageHeaderBackButton: import("@emotion/styled").StyledComponent<Pick<import("..").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> & {
21
+ theme?: import("@emotion/react").Theme | undefined;
22
+ }, {}, {}>;
23
+ export declare const PageSubheader: import("@emotion/styled").StyledComponent<{
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
27
+ export declare const PageHeaderDescription: import("@emotion/styled").StyledComponent<Pick<import("react").PropsWithChildren<import("../Typography").TypographyProps>, string | number | symbol> & import("react").RefAttributes<HTMLElement> & {
28
+ theme?: import("@emotion/react").Theme | undefined;
29
+ }, {}, {}>;
30
+ export declare const PageHeaderTitle: import("@emotion/styled").StyledComponent<Pick<import("react").PropsWithChildren<import("../Typography").TypographyProps>, string | number | symbol> & import("react").RefAttributes<HTMLElement> & {
31
+ theme?: import("@emotion/react").Theme | undefined;
32
+ }, {}, {}>;
@@ -0,0 +1,35 @@
1
+ import { styled } from '../styles';
2
+ import { IconButton } from '../IconButton';
3
+ import { Typography } from '../Typography';
4
+ import { Breadcrumbs } from '../Breadcrumbs';
5
+ export const PageHeaderWrapper = styled.header `
6
+ display: grid;
7
+ grid-area: header;
8
+ grid-template:
9
+ 'breadcrumbs breadcrumbs breadcrumbs'
10
+ 'back-btn title actions'
11
+ 'back-btn description description'
12
+ 'sub-header sub-header sub-header' / min-content 1fr auto;
13
+ padding: ${({ theme }) => theme.spacing(0, 6)};
14
+ `;
15
+ export const PageHeaderBreadcrumbs = styled(Breadcrumbs) `
16
+ grid-area: breadcrumbs;
17
+ margin-bottom: ${({ theme }) => theme.spacing(1)};
18
+ `;
19
+ export const PageHeaderBackButton = styled(IconButton) `
20
+ grid-area: back-btn;
21
+ margin-right: ${({ theme }) => theme.spacing(2.5)};
22
+ `;
23
+ export const PageSubheader = styled.div `
24
+ grid-area: sub-header;
25
+ padding-top: ${({ theme }) => theme.spacing(6)};
26
+ `;
27
+ export const PageHeaderDescription = styled(Typography) `
28
+ grid-area: description;
29
+ padding-top: ${({ theme }) => theme.spacing(2)};
30
+ `;
31
+ export const PageHeaderTitle = styled(Typography) `
32
+ display: flex;
33
+ grid-area: title;
34
+ align-items: center;
35
+ `;