@astral/ui 1.16.2 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ActionCell/ActionCell.js +19 -39
- package/ActionCell/styles.js +5 -7
- package/Alert/Alert.js +11 -22
- package/Alert/styles.js +17 -20
- package/Autocomplete/Autocomplete.js +23 -34
- package/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.js +11 -12
- package/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +17 -19
- package/Badge/Badge.js +5 -16
- package/Badge/styled.d.ts +2 -16
- package/Badge/styled.js +26 -31
- package/Button/Button.js +10 -21
- package/Button/styles.js +16 -22
- package/ButtonBase/ButtonBase.js +7 -18
- package/ButtonBase/styles.d.ts +3 -3
- package/ButtonBase/styles.js +68 -73
- package/Checkbox/Checkbox.js +6 -17
- package/Checkbox/icons.js +8 -19
- package/Checkbox/styled.js +47 -32
- package/Chevron/Chevron.js +3 -14
- package/Chevron/styles.js +11 -18
- package/CircularProgress/CircularProgress.js +7 -18
- package/CircularProgress/CircularProgressStory.js +4 -4
- package/CircularProgress/CircularProgressStoryTemplate.js +4 -15
- package/Collapse/Collapse.js +1 -1
- package/ConfigProvider/ConfigProvider.js +7 -19
- package/ContentState/ContentState.d.ts +1 -1
- package/ContentState/ContentState.js +12 -24
- package/ContentState/styles.js +8 -7
- package/DashboardLayout/DashboardLayout.js +7 -7
- package/DashboardLayout/DashboardLayoutStory.js +5 -16
- package/DashboardLayout/DashboardLayoutStoryTemplate.js +4 -15
- package/DashboardLayout/Header/Header.js +9 -20
- package/DashboardLayout/Header/styles.js +17 -20
- package/DashboardLayout/Main/Main.js +5 -17
- package/DashboardLayout/Main/styled.js +7 -7
- package/DashboardLayout/Sidebar/Sidebar.js +13 -24
- package/DashboardLayout/Sidebar/SidebarNav/SidebarNav.js +5 -16
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.js +7 -18
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.js +13 -11
- package/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.js +8 -19
- package/DashboardLayout/Sidebar/SidebarToggler/styled.js +11 -12
- package/DashboardLayout/Sidebar/styles.js +16 -24
- package/DashboardLayout/styles.js +11 -9
- package/DataGrid/DataGrid.js +25 -50
- package/DataGrid/DataGridBody/DataGridBody.d.ts +2 -2
- package/DataGrid/DataGridBody/DataGridBody.js +19 -31
- package/DataGrid/DataGridBody/styles.js +9 -13
- package/DataGrid/DataGridCell/DataGridCell.d.ts +2 -2
- package/DataGrid/DataGridCell/DataGridCell.js +7 -19
- package/DataGrid/DataGridHead/DataGridHead.d.ts +2 -2
- package/DataGrid/DataGridHead/DataGridHead.js +15 -28
- package/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +9 -21
- package/DataGrid/DataGridHeadColumn/styles.js +23 -23
- package/DataGrid/DataGridLoader/DataGridLoader.js +3 -4
- package/DataGrid/DataGridLoader/styles.js +22 -15
- package/DataGrid/DataGridNoData/DataGridNoData.js +5 -17
- package/DataGrid/DataGridNoData/styles.js +29 -17
- package/DataGrid/styles.js +12 -13
- package/DataGrid/types.d.ts +1 -1
- package/DataGridPagination/DataGridPagination.js +11 -22
- package/DataGridPagination/styles.js +11 -15
- package/DatePicker/DatePicker.js +22 -33
- package/DatePicker/DatePickerDay/DatePickerDay.js +4 -15
- package/DatePicker/DatePickerDay/styled.js +6 -8
- package/DatePicker/DatePickerHeader/DatePickerHeader.js +12 -23
- package/DatePicker/DatePickerHeader/styled.js +10 -9
- package/DatePicker/styled.js +94 -70
- package/DatePickerProvider/DatePickerProvider.js +4 -4
- package/Description/Description.js +5 -6
- package/Description/Name/Name.js +5 -16
- package/Description/Value/Value.js +6 -17
- package/Description/styles.js +14 -13
- package/Dialog/Dialog.js +8 -19
- package/DialogActions/DialogActions.js +6 -17
- package/DialogTitle/DialogTitle.js +8 -19
- package/Divider/Divider.js +1 -1
- package/DropdownButton/DropdownButton.js +11 -22
- package/ErrorBoundary/ErrorBoundary.js +19 -48
- package/Fab/Fab.js +7 -18
- package/Fab/styles.js +33 -37
- package/Fade/Fade.js +1 -1
- package/FormControlLabel/FormControlLabel.js +4 -15
- package/FormControlLabel/styled.js +10 -11
- package/FormHelperText/FormHelperText.js +6 -6
- package/FormHelperText/styled.js +16 -18
- package/GlobalStyles/GlobalStyles.js +12 -25
- package/Grid/Grid.js +5 -16
- package/Grid/styled.js +5 -11
- package/Grow/Grow.js +1 -1
- package/IconButton/IconButton.js +6 -17
- package/IconButton/styles.js +15 -21
- package/IconDropdownButton/IconDropdownButton.js +10 -21
- package/List/List.js +4 -15
- package/ListItem/ListItem.js +4 -15
- package/ListItem/styles.js +19 -32
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemButton/ListItemButton.js +5 -16
- package/ListItemIcon/ListItemIcon.js +5 -16
- package/ListItemIcon/styled.js +5 -11
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.js +4 -15
- package/ListSubheader/ListSubheader.js +1 -1
- package/LocalizationProvider/LocalizationProvider.js +6 -18
- package/MaskField/MaskField.js +12 -23
- package/Menu/Menu.js +1 -1
- package/MenuGroup/MenuGroup.js +7 -18
- package/MenuGroup/stories/Icons.js +8 -19
- package/MenuGroup/stories/styled.js +12 -17
- package/MenuGroup/styled.js +14 -21
- package/MenuItem/MenuItem.js +5 -16
- package/MenuItem/styled.js +5 -11
- package/MenuList/MenuList.js +5 -16
- package/MenuList/styled.js +10 -17
- package/NavMenu/NavMenu.js +7 -18
- package/NavMenu/NavMenuItem/NavMenuItem.js +13 -25
- package/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.js +8 -19
- package/NavMenu/NavMenuItem/NavMenuItemButton/styles.js +29 -30
- package/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.js +8 -19
- package/Notification/Notification.js +6 -37
- package/Notification/NotificationContainer/NotificationContainer.js +7 -18
- package/Notification/NotificationContainer/styled.js +16 -7
- package/Notification/NotificationTemplate/NotificationTemplate.js +10 -22
- package/Notification/NotificationTemplate/styled.js +51 -51
- package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +2 -2
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +3 -3
- package/Notification/constants/notificationVariant.js +7 -18
- package/Notification/constants/positions.js +1 -1
- package/Notification/styled.js +18 -27
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +5 -6
- package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +2 -13
- package/OverflowTypography/OverflowTypography.js +13 -22
- package/OverflowTypography/hooks/useOverflowed/useOverflowed.js +13 -16
- package/OverflowTypography/styles.js +14 -12
- package/Pagination/Pagination.js +4 -15
- package/Placeholder/Placeholder.d.ts +9 -1
- package/Placeholder/Placeholder.js +4 -16
- package/Placeholder/styles.js +70 -76
- package/Product/Product.js +6 -17
- package/Profile/Profile.js +10 -21
- package/Profile/styled.js +32 -36
- package/Radio/Icon.js +6 -17
- package/Radio/Radio.d.ts +1 -1
- package/Radio/Radio.js +7 -18
- package/Radio/styled.js +43 -32
- package/Select/Select.js +16 -26
- package/Select/styled.js +36 -31
- package/SideDialog/SideDialog.js +6 -17
- package/SideDialog/styled.js +8 -8
- package/Slide/Slide.js +1 -1
- package/SwipeableDrawer/SwipeableDrawer.js +5 -16
- package/SwipeableDrawer/styles.js +73 -78
- package/Tab/Tab.js +1 -1
- package/Table/Table.js +5 -16
- package/Table/TableBody/TableBody.js +1 -1
- package/Table/TableCell/TableCell.js +1 -1
- package/Table/TableContainer/TableContainer.js +1 -1
- package/Table/TableFooter/TableFooter.js +1 -1
- package/Table/TableHead/TableHead.js +1 -1
- package/Table/TableRow/TableRow.js +1 -1
- package/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/Tabs/Tabs.js +1 -1
- package/Tag/Tag.js +7 -18
- package/Tag/styled.js +84 -60
- package/TextArea/TextArea.js +6 -17
- package/TextField/TextField.js +11 -22
- package/ThemeProvider/ThemeProvider.js +7 -18
- package/Tooltip/Tooltip.js +7 -18
- package/Tooltip/styled.js +43 -58
- package/Typography/Typography.js +8 -19
- package/Zoom/Zoom.js +1 -1
- package/esm/ActionCell/ActionCell.js +11 -31
- package/esm/ActionCell/styles.js +4 -6
- package/esm/Alert/Alert.js +4 -15
- package/esm/Alert/styles.js +15 -18
- package/esm/Autocomplete/Autocomplete.js +12 -23
- package/esm/Autocomplete/constants.js +1 -1
- package/esm/BackdropStack/hooks/useBackdropStackToggle/useBackdropStackToggle.js +8 -9
- package/esm/BackdropStack/services/BackdropStackManager/BackdropStackManager.js +17 -19
- package/esm/Badge/Badge.js +3 -14
- package/esm/Badge/styled.d.ts +2 -16
- package/esm/Badge/styled.js +25 -30
- package/esm/Button/Button.js +4 -15
- package/esm/Button/styles.js +13 -19
- package/esm/ButtonBase/ButtonBase.js +3 -14
- package/esm/ButtonBase/styles.d.ts +3 -3
- package/esm/ButtonBase/styles.js +66 -71
- package/esm/Checkbox/Checkbox.js +3 -14
- package/esm/Checkbox/icons.js +6 -17
- package/esm/Checkbox/styled.js +45 -30
- package/esm/Chevron/Chevron.js +1 -12
- package/esm/Chevron/styles.js +10 -17
- package/esm/CircularProgress/CircularProgress.js +4 -15
- package/esm/CircularProgress/CircularProgressStory.js +2 -2
- package/esm/CircularProgress/CircularProgressStoryTemplate.js +2 -13
- package/esm/ConfigProvider/ConfigProvider.js +5 -17
- package/esm/ContentState/ContentState.d.ts +1 -1
- package/esm/ContentState/ContentState.js +6 -18
- package/esm/ContentState/styles.js +7 -6
- package/esm/DashboardLayout/DashboardLayout.js +2 -2
- package/esm/DashboardLayout/DashboardLayoutStory.js +3 -14
- package/esm/DashboardLayout/DashboardLayoutStoryTemplate.js +2 -13
- package/esm/DashboardLayout/Header/Header.js +4 -15
- package/esm/DashboardLayout/Header/styles.js +16 -19
- package/esm/DashboardLayout/Main/Main.js +2 -14
- package/esm/DashboardLayout/Main/styled.js +6 -6
- package/esm/DashboardLayout/Sidebar/Sidebar.js +6 -17
- package/esm/DashboardLayout/Sidebar/SidebarNav/SidebarNav.js +3 -14
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/SidebarToggleButton.js +3 -14
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggleButton/styles.js +11 -9
- package/esm/DashboardLayout/Sidebar/SidebarToggler/SidebarToggler.js +4 -15
- package/esm/DashboardLayout/Sidebar/SidebarToggler/styled.js +9 -10
- package/esm/DashboardLayout/Sidebar/styles.js +15 -23
- package/esm/DashboardLayout/styles.js +10 -8
- package/esm/DataGrid/DataGrid.js +17 -42
- package/esm/DataGrid/DataGridBody/DataGridBody.d.ts +2 -2
- package/esm/DataGrid/DataGridBody/DataGridBody.js +13 -25
- package/esm/DataGrid/DataGridBody/styles.js +8 -12
- package/esm/DataGrid/DataGridCell/DataGridCell.d.ts +2 -2
- package/esm/DataGrid/DataGridCell/DataGridCell.js +3 -15
- package/esm/DataGrid/DataGridHead/DataGridHead.d.ts +2 -2
- package/esm/DataGrid/DataGridHead/DataGridHead.js +8 -21
- package/esm/DataGrid/DataGridHeadColumn/DataGridHeadColumn.js +4 -16
- package/esm/DataGrid/DataGridHeadColumn/styles.js +21 -21
- package/esm/DataGrid/DataGridLoader/DataGridLoader.js +1 -2
- package/esm/DataGrid/DataGridLoader/styles.js +19 -12
- package/esm/DataGrid/DataGridNoData/DataGridNoData.js +3 -15
- package/esm/DataGrid/DataGridNoData/styles.js +27 -15
- package/esm/DataGrid/styles.js +11 -12
- package/esm/DataGrid/types.d.ts +1 -1
- package/esm/DataGridPagination/DataGridPagination.js +7 -18
- package/esm/DataGridPagination/styles.js +9 -13
- package/esm/DatePicker/DatePicker.js +11 -22
- package/esm/DatePicker/DatePickerDay/DatePickerDay.js +2 -13
- package/esm/DatePicker/DatePickerDay/styled.js +4 -6
- package/esm/DatePicker/DatePickerHeader/DatePickerHeader.js +5 -16
- package/esm/DatePicker/DatePickerHeader/styled.js +8 -7
- package/esm/DatePicker/styled.js +93 -69
- package/esm/DatePickerProvider/DatePickerProvider.js +2 -2
- package/esm/Description/Description.js +1 -2
- package/esm/Description/Name/Name.js +3 -14
- package/esm/Description/Value/Value.js +4 -15
- package/esm/Description/styles.js +13 -12
- package/esm/Dialog/Dialog.js +5 -16
- package/esm/DialogActions/DialogActions.js +3 -14
- package/esm/DialogTitle/DialogTitle.js +4 -15
- package/esm/DropdownButton/DropdownButton.js +4 -15
- package/esm/ErrorBoundary/ErrorBoundary.js +14 -43
- package/esm/Fab/Fab.js +3 -14
- package/esm/Fab/styles.js +31 -35
- package/esm/FormControlLabel/FormControlLabel.js +2 -13
- package/esm/FormControlLabel/styled.js +8 -9
- package/esm/FormHelperText/FormHelperText.js +3 -3
- package/esm/FormHelperText/styled.js +14 -16
- package/esm/GlobalStyles/GlobalStyles.js +8 -21
- package/esm/Grid/Grid.js +3 -14
- package/esm/Grid/styled.js +3 -9
- package/esm/IconButton/IconButton.js +3 -14
- package/esm/IconButton/styles.js +14 -20
- package/esm/IconDropdownButton/IconDropdownButton.js +4 -15
- package/esm/List/List.js +2 -13
- package/esm/ListItem/ListItem.js +2 -13
- package/esm/ListItem/styles.js +17 -30
- package/esm/ListItemButton/ListItemButton.js +2 -13
- package/esm/ListItemIcon/ListItemIcon.js +2 -13
- package/esm/ListItemIcon/styled.js +3 -9
- package/esm/ListItemText/ListItemText.js +2 -13
- package/esm/LocalizationProvider/LocalizationProvider.js +2 -14
- package/esm/MaskField/MaskField.js +9 -20
- package/esm/MenuGroup/MenuGroup.js +4 -15
- package/esm/MenuGroup/stories/Icons.js +7 -18
- package/esm/MenuGroup/stories/styled.js +9 -14
- package/esm/MenuGroup/styled.js +12 -19
- package/esm/MenuItem/MenuItem.js +3 -14
- package/esm/MenuItem/styled.js +3 -9
- package/esm/MenuList/MenuList.js +3 -14
- package/esm/MenuList/styled.js +8 -15
- package/esm/NavMenu/NavMenu.js +3 -14
- package/esm/NavMenu/NavMenuItem/NavMenuItem.js +8 -20
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/NavMenuItemButton.js +3 -14
- package/esm/NavMenu/NavMenuItem/NavMenuItemButton/styles.js +25 -26
- package/esm/NavMenu/NavMenuItem/NavMenuItemList/NavMenuItemList.js +4 -15
- package/esm/Notification/Notification.js +5 -36
- package/esm/Notification/NotificationContainer/NotificationContainer.js +2 -13
- package/esm/Notification/NotificationContainer/styled.js +15 -6
- package/esm/Notification/NotificationTemplate/NotificationTemplate.js +6 -18
- package/esm/Notification/NotificationTemplate/styled.js +48 -48
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +2 -2
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +3 -3
- package/esm/Notification/constants/defaultNotificationProps.js +1 -1
- package/esm/Notification/constants/notificationVariant.js +5 -16
- package/esm/Notification/constants/positions.js +1 -1
- package/esm/Notification/styled.js +20 -29
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +2 -3
- package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +2 -13
- package/esm/OverflowTypography/OverflowTypography.js +9 -18
- package/esm/OverflowTypography/hooks/useOverflowed/useOverflowed.js +11 -14
- package/esm/OverflowTypography/styles.js +13 -11
- package/esm/Pagination/Pagination.js +2 -13
- package/esm/Placeholder/Placeholder.d.ts +9 -1
- package/esm/Placeholder/Placeholder.js +2 -14
- package/esm/Placeholder/styles.js +68 -74
- package/esm/Product/Product.js +3 -14
- package/esm/Profile/Profile.js +4 -15
- package/esm/Profile/styled.js +30 -34
- package/esm/Radio/Icon.js +4 -15
- package/esm/Radio/Radio.d.ts +1 -1
- package/esm/Radio/Radio.js +3 -14
- package/esm/Radio/styled.js +41 -30
- package/esm/Select/Select.js +8 -18
- package/esm/Select/styled.js +34 -29
- package/esm/SideDialog/SideDialog.js +3 -14
- package/esm/SideDialog/styled.js +6 -6
- package/esm/SwipeableDrawer/SwipeableDrawer.js +3 -14
- package/esm/SwipeableDrawer/styles.js +71 -76
- package/esm/Table/Table.js +3 -14
- package/esm/Tag/Tag.js +3 -14
- package/esm/Tag/styled.js +82 -58
- package/esm/TextArea/TextArea.js +3 -14
- package/esm/TextField/TextField.js +7 -18
- package/esm/ThemeProvider/ThemeProvider.js +3 -14
- package/esm/Tooltip/Tooltip.js +3 -14
- package/esm/Tooltip/styled.js +39 -54
- package/esm/Typography/Typography.js +4 -15
- package/esm/hooks/useMenu.js +7 -8
- package/esm/theme/baseTheme/baseTheme.js +7 -7
- package/esm/theme/baseTheme/baseTheme.test.js +12 -12
- package/esm/theme/breakpoints.js +1 -1
- package/esm/theme/components/MuiAlert.js +7 -12
- package/esm/theme/components/MuiAutocomplete.js +13 -20
- package/esm/theme/components/MuiButton.js +42 -43
- package/esm/theme/components/MuiButtonBase.js +1 -1
- package/esm/theme/components/MuiCircularProgress.js +3 -4
- package/esm/theme/components/MuiDialog.js +3 -5
- package/esm/theme/components/MuiDialogActions.js +2 -3
- package/esm/theme/components/MuiDialogContent.js +2 -3
- package/esm/theme/components/MuiDialogTitle.js +2 -3
- package/esm/theme/components/MuiFormHelperText.js +2 -3
- package/esm/theme/components/MuiFormLabel.js +2 -2
- package/esm/theme/components/MuiInputBase.js +2 -3
- package/esm/theme/components/MuiInputLabel.js +2 -3
- package/esm/theme/components/MuiListItemButton.js +2 -3
- package/esm/theme/components/MuiListItemText.js +2 -2
- package/esm/theme/components/MuiLoadingButton.js +10 -12
- package/esm/theme/components/MuiMenu.js +3 -5
- package/esm/theme/components/MuiMenuItem.js +2 -3
- package/esm/theme/components/MuiOutlinedInput.js +7 -12
- package/esm/theme/components/MuiPaginationItem.js +5 -7
- package/esm/theme/components/MuiTab.js +2 -3
- package/esm/theme/components/MuiTableCell.js +2 -2
- package/esm/theme/components/MuiTableHead.js +3 -4
- package/esm/theme/components/MuiTableRow.js +2 -3
- package/esm/theme/components/MuiTabs.js +3 -4
- package/esm/theme/components/MuiTypography.js +1 -1
- package/esm/theme/components/components.js +64 -35
- package/esm/theme/constants.js +1 -1
- package/esm/theme/elevation.js +1 -1
- package/esm/theme/hooks/useTheme/index.js +1 -1
- package/esm/theme/palette/brandPalette.js +16 -17
- package/esm/theme/palette/palette.js +3 -15
- package/esm/theme/shape.js +1 -1
- package/esm/theme/typography.js +4 -5
- package/hooks/useMenu.js +8 -9
- package/package.json +14 -14
- package/theme/baseTheme/baseTheme.js +14 -14
- package/theme/baseTheme/baseTheme.test.js +14 -14
- package/theme/components/MuiAlert.js +6 -11
- package/theme/components/MuiAutocomplete.js +13 -20
- package/theme/components/MuiButton.js +43 -44
- package/theme/components/MuiCircularProgress.js +2 -3
- package/theme/components/MuiDialog.js +2 -4
- package/theme/components/MuiDialogActions.js +1 -2
- package/theme/components/MuiDialogContent.js +1 -2
- package/theme/components/MuiDialogTitle.js +1 -2
- package/theme/components/MuiFormHelperText.js +1 -2
- package/theme/components/MuiFormLabel.js +1 -1
- package/theme/components/MuiInputBase.js +1 -2
- package/theme/components/MuiInputLabel.js +1 -2
- package/theme/components/MuiListItemButton.js +1 -2
- package/theme/components/MuiListItemText.js +1 -1
- package/theme/components/MuiLoadingButton.js +12 -14
- package/theme/components/MuiMenu.js +2 -4
- package/theme/components/MuiMenuItem.js +1 -2
- package/theme/components/MuiOutlinedInput.js +6 -11
- package/theme/components/MuiPaginationItem.js +4 -6
- package/theme/components/MuiTab.js +1 -2
- package/theme/components/MuiTableCell.js +1 -1
- package/theme/components/MuiTableHead.js +2 -3
- package/theme/components/MuiTableRow.js +1 -2
- package/theme/components/MuiTabs.js +2 -3
- package/theme/components/components.js +64 -35
- package/theme/hooks/useTheme/index.js +2 -2
- package/theme/palette/brandPalette.js +17 -18
- package/theme/palette/palette.js +5 -17
- package/theme/typography.js +3 -4
- package/docs/Case/Case.d.ts +0 -8
- package/docs/Case/Case.js +0 -31
- package/docs/Case/index.d.ts +0 -1
- package/docs/Case/index.js +0 -17
- package/docs/Case/styles.d.ts +0 -5
- package/docs/Case/styles.js +0 -16
- package/docs/ExampleTemplate/ExampleTemplate.d.ts +0 -13
- package/docs/ExampleTemplate/ExampleTemplate.js +0 -26
- package/docs/ExampleTemplate/index.d.ts +0 -1
- package/docs/ExampleTemplate/index.js +0 -17
- package/docs/ExampleTemplate/styles.d.ts +0 -9
- package/docs/ExampleTemplate/styles.js +0 -13
- package/docs/index.d.ts +0 -2
- package/docs/index.js +0 -18
- package/esm/docs/Case/Case.d.ts +0 -8
- package/esm/docs/Case/Case.js +0 -27
- package/esm/docs/Case/index.d.ts +0 -1
- package/esm/docs/Case/index.js +0 -1
- package/esm/docs/Case/styles.d.ts +0 -5
- package/esm/docs/Case/styles.js +0 -13
- package/esm/docs/ExampleTemplate/ExampleTemplate.d.ts +0 -13
- package/esm/docs/ExampleTemplate/ExampleTemplate.js +0 -22
- package/esm/docs/ExampleTemplate/index.d.ts +0 -1
- package/esm/docs/ExampleTemplate/index.js +0 -1
- package/esm/docs/ExampleTemplate/styles.d.ts +0 -9
- package/esm/docs/ExampleTemplate/styles.js +0 -10
- package/esm/docs/index.d.ts +0 -2
- package/esm/docs/index.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
describe('createTheme',
|
|
6
|
-
|
|
3
|
+
const constants_1 = require("../constants");
|
|
4
|
+
const baseTheme_1 = require("./baseTheme");
|
|
5
|
+
describe('createTheme', () => {
|
|
6
|
+
const fontsUrls = {
|
|
7
7
|
bold: {
|
|
8
8
|
woff: '',
|
|
9
9
|
woff2: '',
|
|
@@ -21,19 +21,19 @@ describe('createTheme', function () {
|
|
|
21
21
|
woff2: '',
|
|
22
22
|
},
|
|
23
23
|
};
|
|
24
|
-
it('Theme merge done correctly',
|
|
25
|
-
|
|
24
|
+
it('Theme merge done correctly', () => {
|
|
25
|
+
const extendedTheme = (0, baseTheme_1.createTheme)({
|
|
26
26
|
brand: constants_1.Brand.DEFAULT,
|
|
27
|
-
fontsUrls
|
|
27
|
+
fontsUrls,
|
|
28
28
|
options: {
|
|
29
29
|
typography: { h1: { lineHeight: 12 } },
|
|
30
30
|
},
|
|
31
31
|
});
|
|
32
32
|
expect(extendedTheme.typography.h1.lineHeight).toBe(12);
|
|
33
33
|
});
|
|
34
|
-
it('Color should be taken depending on the brand',
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
it('Color should be taken depending on the brand', () => {
|
|
35
|
+
const theme = (0, baseTheme_1.createTheme)({ brand: constants_1.Brand.SIGN, fontsUrls });
|
|
36
|
+
const expected = {
|
|
37
37
|
primary: {
|
|
38
38
|
main: '#376798',
|
|
39
39
|
dark: '#325D89',
|
|
@@ -45,12 +45,12 @@ describe('createTheme', function () {
|
|
|
45
45
|
};
|
|
46
46
|
expect(theme.palette).toMatchObject(expected);
|
|
47
47
|
});
|
|
48
|
-
it('Spacing are calculated correctly',
|
|
49
|
-
|
|
48
|
+
it('Spacing are calculated correctly', () => {
|
|
49
|
+
const theme = (0, baseTheme_1.createTheme)({ brand: constants_1.Brand.SIGN, fontsUrls });
|
|
50
50
|
expect(theme.spacing(2)).toBe('8px');
|
|
51
51
|
});
|
|
52
|
-
it('Theme has elevation params',
|
|
53
|
-
|
|
52
|
+
it('Theme has elevation params', () => {
|
|
53
|
+
const theme = (0, baseTheme_1.createTheme)({ brand: constants_1.Brand.SIGN, fontsUrls });
|
|
54
54
|
expect(theme.elevation[100]).toBe('0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;');
|
|
55
55
|
});
|
|
56
56
|
});
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiAlert = void 0;
|
|
4
4
|
exports.MuiAlert = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
filledSuccess
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
filledSuccess({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
backgroundColor: theme.palette.success.light,
|
|
10
9
|
color: theme.palette.text.primary,
|
|
@@ -13,8 +12,7 @@ exports.MuiAlert = {
|
|
|
13
12
|
},
|
|
14
13
|
};
|
|
15
14
|
},
|
|
16
|
-
filledError
|
|
17
|
-
var theme = _a.theme;
|
|
15
|
+
filledError({ theme }) {
|
|
18
16
|
return {
|
|
19
17
|
backgroundColor: theme.palette.error.light,
|
|
20
18
|
color: theme.palette.text.primary,
|
|
@@ -23,8 +21,7 @@ exports.MuiAlert = {
|
|
|
23
21
|
},
|
|
24
22
|
};
|
|
25
23
|
},
|
|
26
|
-
filledWarning
|
|
27
|
-
var theme = _a.theme;
|
|
24
|
+
filledWarning({ theme }) {
|
|
28
25
|
return {
|
|
29
26
|
backgroundColor: theme.palette.warning.light,
|
|
30
27
|
color: theme.palette.text.primary,
|
|
@@ -33,8 +30,7 @@ exports.MuiAlert = {
|
|
|
33
30
|
},
|
|
34
31
|
};
|
|
35
32
|
},
|
|
36
|
-
filledInfo
|
|
37
|
-
var theme = _a.theme;
|
|
33
|
+
filledInfo({ theme }) {
|
|
38
34
|
return {
|
|
39
35
|
backgroundColor: theme.palette.primary['100'],
|
|
40
36
|
color: theme.palette.text.primary,
|
|
@@ -45,11 +41,10 @@ exports.MuiAlert = {
|
|
|
45
41
|
},
|
|
46
42
|
};
|
|
47
43
|
},
|
|
48
|
-
action
|
|
49
|
-
var theme = _a.theme;
|
|
44
|
+
action({ theme }) {
|
|
50
45
|
return {
|
|
51
46
|
svg: {
|
|
52
|
-
color:
|
|
47
|
+
color: `${theme.palette.text.primary} !important`,
|
|
53
48
|
},
|
|
54
49
|
};
|
|
55
50
|
},
|
|
@@ -1,58 +1,51 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MuiAutocomplete = void 0;
|
|
4
|
-
|
|
4
|
+
const constants_1 = require("../../Autocomplete/constants");
|
|
5
5
|
exports.MuiAutocomplete = {
|
|
6
6
|
styleOverrides: {
|
|
7
|
-
root
|
|
8
|
-
var theme = _a.theme;
|
|
7
|
+
root({ theme }) {
|
|
9
8
|
return {
|
|
10
9
|
padding: theme.spacing(1),
|
|
11
10
|
};
|
|
12
11
|
},
|
|
13
|
-
inputRoot:
|
|
14
|
-
var theme = _a.theme, size = _a.ownerState.size;
|
|
12
|
+
inputRoot({ theme, ownerState: { size } }) {
|
|
15
13
|
return {
|
|
16
|
-
paddingTop:
|
|
17
|
-
paddingBottom:
|
|
18
|
-
paddingLeft:
|
|
14
|
+
paddingTop: `${theme.spacing(1)} !important`,
|
|
15
|
+
paddingBottom: `${theme.spacing(1)} !important`,
|
|
16
|
+
paddingLeft: `${theme.spacing(1)} !important`,
|
|
19
17
|
minHeight: size === constants_1.AutocompleteSizes.small ? '32px' : '40px',
|
|
20
18
|
};
|
|
21
19
|
},
|
|
22
|
-
input
|
|
23
|
-
var theme = _a.theme;
|
|
20
|
+
input({ theme }) {
|
|
24
21
|
return {
|
|
25
22
|
padding: '0 !important',
|
|
26
|
-
paddingLeft:
|
|
23
|
+
paddingLeft: `${theme.spacing(1)} !important`,
|
|
27
24
|
};
|
|
28
25
|
},
|
|
29
|
-
popupIndicator
|
|
30
|
-
var theme = _a.theme;
|
|
26
|
+
popupIndicator({ theme }) {
|
|
31
27
|
return {
|
|
32
28
|
borderRadius: theme.shape.small,
|
|
33
29
|
width: 20,
|
|
34
30
|
height: 20,
|
|
35
31
|
};
|
|
36
32
|
},
|
|
37
|
-
endAdornment
|
|
33
|
+
endAdornment() {
|
|
38
34
|
return {
|
|
39
35
|
top: 'calc(50% - 11px)',
|
|
40
36
|
};
|
|
41
37
|
},
|
|
42
|
-
paper
|
|
43
|
-
var theme = _a.theme;
|
|
38
|
+
paper({ theme }) {
|
|
44
39
|
return {
|
|
45
40
|
marginTop: theme.spacing(2),
|
|
46
41
|
};
|
|
47
42
|
},
|
|
48
|
-
noOptions
|
|
49
|
-
var theme = _a.theme;
|
|
43
|
+
noOptions({ theme }) {
|
|
50
44
|
return {
|
|
51
45
|
color: theme.palette.grey['500'],
|
|
52
46
|
};
|
|
53
47
|
},
|
|
54
|
-
clearIndicator
|
|
55
|
-
var theme = _a.theme;
|
|
48
|
+
clearIndicator({ theme }) {
|
|
56
49
|
return {
|
|
57
50
|
padding: 0,
|
|
58
51
|
borderRadius: '50%',
|
|
@@ -1,41 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MuiButton = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const ButtonBase_1 = require("../../ButtonBase");
|
|
5
|
+
const styles_1 = require("../../ButtonBase/styles");
|
|
6
6
|
exports.MuiButton = {
|
|
7
7
|
defaultProps: {
|
|
8
8
|
disableRipple: true,
|
|
9
9
|
},
|
|
10
10
|
styleOverrides: {
|
|
11
|
-
root
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var selected = ownerState.selected;
|
|
11
|
+
root({ ownerState, theme }) {
|
|
12
|
+
const customVariant = ownerState.variant;
|
|
13
|
+
const customColor = ownerState.color;
|
|
14
|
+
const selected = ownerState.selected;
|
|
16
15
|
return {
|
|
17
16
|
display: 'inline-flex',
|
|
18
17
|
gap: theme.spacing(1),
|
|
19
18
|
color: (0, styles_1.getColor)({
|
|
20
|
-
selected
|
|
21
|
-
theme
|
|
22
|
-
customVariant
|
|
23
|
-
customColor
|
|
19
|
+
selected,
|
|
20
|
+
theme,
|
|
21
|
+
customVariant,
|
|
22
|
+
customColor,
|
|
24
23
|
buttonState: ButtonBase_1.ButtonStates.Default,
|
|
25
24
|
}),
|
|
26
25
|
backgroundColor: (0, styles_1.getBgColor)({
|
|
27
|
-
selected
|
|
28
|
-
customColor
|
|
29
|
-
customVariant
|
|
26
|
+
selected,
|
|
27
|
+
customColor,
|
|
28
|
+
customVariant,
|
|
30
29
|
buttonState: ButtonBase_1.ButtonStates.Default,
|
|
31
|
-
theme
|
|
30
|
+
theme,
|
|
32
31
|
}),
|
|
33
32
|
height: (0, styles_1.getButtonHeight)({
|
|
34
|
-
theme
|
|
33
|
+
theme,
|
|
35
34
|
size: ownerState.size,
|
|
36
35
|
}),
|
|
37
36
|
padding: (0, styles_1.getButtonPadding)({
|
|
38
|
-
theme
|
|
37
|
+
theme,
|
|
39
38
|
size: ownerState.size,
|
|
40
39
|
}),
|
|
41
40
|
fontWeight: theme.typography.button.fontWeight,
|
|
@@ -46,34 +45,34 @@ exports.MuiButton = {
|
|
|
46
45
|
boxShadow: 'none',
|
|
47
46
|
'&:hover': {
|
|
48
47
|
color: (0, styles_1.getColor)({
|
|
49
|
-
selected
|
|
50
|
-
theme
|
|
51
|
-
customVariant
|
|
52
|
-
customColor
|
|
48
|
+
selected,
|
|
49
|
+
theme,
|
|
50
|
+
customVariant,
|
|
51
|
+
customColor,
|
|
53
52
|
buttonState: ButtonBase_1.ButtonStates.Hover,
|
|
54
53
|
}),
|
|
55
54
|
backgroundColor: (0, styles_1.getBgColor)({
|
|
56
|
-
selected
|
|
57
|
-
customColor
|
|
58
|
-
customVariant
|
|
59
|
-
theme
|
|
55
|
+
selected,
|
|
56
|
+
customColor,
|
|
57
|
+
customVariant,
|
|
58
|
+
theme,
|
|
60
59
|
buttonState: ButtonBase_1.ButtonStates.Hover,
|
|
61
60
|
}),
|
|
62
61
|
boxShadow: 'none',
|
|
63
62
|
},
|
|
64
63
|
'&:active': {
|
|
65
64
|
color: (0, styles_1.getColor)({
|
|
66
|
-
selected
|
|
67
|
-
customColor
|
|
68
|
-
customVariant
|
|
69
|
-
theme
|
|
65
|
+
selected,
|
|
66
|
+
customColor,
|
|
67
|
+
customVariant,
|
|
68
|
+
theme,
|
|
70
69
|
buttonState: ButtonBase_1.ButtonStates.Active,
|
|
71
70
|
}),
|
|
72
71
|
backgroundColor: (0, styles_1.getBgColor)({
|
|
73
|
-
selected
|
|
74
|
-
customColor
|
|
75
|
-
customVariant
|
|
76
|
-
theme
|
|
72
|
+
selected,
|
|
73
|
+
customColor,
|
|
74
|
+
customVariant,
|
|
75
|
+
theme,
|
|
77
76
|
buttonState: ButtonBase_1.ButtonStates.Active,
|
|
78
77
|
}),
|
|
79
78
|
outline: 'none',
|
|
@@ -81,26 +80,26 @@ exports.MuiButton = {
|
|
|
81
80
|
'&.Mui-disabled': {
|
|
82
81
|
color: theme.palette.grey['500'],
|
|
83
82
|
backgroundColor: (0, styles_1.getDisabledBgColor)({
|
|
84
|
-
theme
|
|
85
|
-
customVariant
|
|
83
|
+
theme,
|
|
84
|
+
customVariant,
|
|
86
85
|
}),
|
|
87
86
|
},
|
|
88
87
|
'&.Mui-focusVisible': {
|
|
89
88
|
color: (0, styles_1.getColor)({
|
|
90
|
-
selected
|
|
91
|
-
theme
|
|
92
|
-
customVariant
|
|
93
|
-
customColor
|
|
89
|
+
selected,
|
|
90
|
+
theme,
|
|
91
|
+
customVariant,
|
|
92
|
+
customColor,
|
|
94
93
|
buttonState: ButtonBase_1.ButtonStates.Focus,
|
|
95
94
|
}),
|
|
96
95
|
backgroundColor: (0, styles_1.getBgColor)({
|
|
97
|
-
selected
|
|
98
|
-
customColor
|
|
99
|
-
customVariant
|
|
100
|
-
theme
|
|
96
|
+
selected,
|
|
97
|
+
customColor,
|
|
98
|
+
customVariant,
|
|
99
|
+
theme,
|
|
101
100
|
buttonState: ButtonBase_1.ButtonStates.Focus,
|
|
102
101
|
}),
|
|
103
|
-
outline:
|
|
102
|
+
outline: `2px solid ${theme.palette.primary['400']}`,
|
|
104
103
|
boxShadow: 'none',
|
|
105
104
|
},
|
|
106
105
|
'&.MuiButton-root .MuiButton-startIcon': {
|
|
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiCircularProgress = void 0;
|
|
4
4
|
exports.MuiCircularProgress = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var ownerState = _a.ownerState, theme = _a.theme;
|
|
6
|
+
root({ ownerState, theme }) {
|
|
8
7
|
// В данном случае появилась необходимость использования data- атрибута
|
|
9
8
|
// Подробнее: https://github.com/kaluga-astral/frontend/pull/199/files/5b42598b80e5b199e1b1a1298844a51b489e9c5a#r857514116
|
|
10
|
-
|
|
9
|
+
const { 'data-color': color } = ownerState;
|
|
11
10
|
return {
|
|
12
11
|
color: color === 'primary'
|
|
13
12
|
? theme.palette.grey[900]
|
|
@@ -3,14 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiDialog = void 0;
|
|
4
4
|
exports.MuiDialog = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
background: theme.palette.background.modalShadow,
|
|
10
9
|
};
|
|
11
10
|
},
|
|
12
|
-
paper
|
|
13
|
-
var theme = _a.theme;
|
|
11
|
+
paper({ theme }) {
|
|
14
12
|
return {
|
|
15
13
|
borderRadius: theme.shape.small,
|
|
16
14
|
};
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiDialogActions = void 0;
|
|
4
4
|
exports.MuiDialogActions = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root:
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root: ({ theme }) => {
|
|
8
7
|
return {
|
|
9
8
|
padding: theme.spacing(4, 6, 6, 6),
|
|
10
9
|
'>div': {
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiDialogContent = void 0;
|
|
4
4
|
exports.MuiDialogContent = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
padding: theme.spacing(0, 6),
|
|
10
9
|
};
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiDialogTitle = void 0;
|
|
4
4
|
exports.MuiDialogTitle = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
padding: theme.spacing(6),
|
|
10
9
|
fontSize: theme.typography.h4.fontSize,
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiFormHelperText = void 0;
|
|
4
4
|
exports.MuiFormHelperText = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
display: 'flex',
|
|
10
9
|
minHeight: theme.typography.small.lineHeight,
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiInputBase = void 0;
|
|
4
4
|
exports.MuiInputBase = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
'&.MuiInputBase-colorSuccess + .MuiFormHelperText-root': {
|
|
10
9
|
color: theme.palette.green[800],
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiListItemButton = void 0;
|
|
4
4
|
exports.MuiListItemButton = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
'&.Mui-selected': {
|
|
10
9
|
color: theme.palette.primary[800],
|
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MuiLoadingButton = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const lab_1 = require("@mui/lab");
|
|
5
|
+
const ButtonBase_1 = require("../../ButtonBase");
|
|
6
|
+
const styles_1 = require("../../ButtonBase/styles");
|
|
7
7
|
exports.MuiLoadingButton = {
|
|
8
8
|
defaultProps: {
|
|
9
9
|
disableRipple: true,
|
|
10
10
|
},
|
|
11
11
|
styleOverrides: {
|
|
12
|
-
root
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return _b = {},
|
|
18
|
-
_b["&.".concat(lab_1.loadingButtonClasses.loading)] = {
|
|
12
|
+
root({ ownerState, theme }) {
|
|
13
|
+
const customVariant = ownerState.variant;
|
|
14
|
+
const customColor = ownerState.color;
|
|
15
|
+
return {
|
|
16
|
+
[`&.${lab_1.loadingButtonClasses.loading}`]: {
|
|
19
17
|
backgroundColor: (0, styles_1.getBgColor)({
|
|
20
|
-
customColor
|
|
21
|
-
customVariant
|
|
22
|
-
theme
|
|
18
|
+
customColor,
|
|
19
|
+
customVariant,
|
|
20
|
+
theme,
|
|
23
21
|
buttonState: ButtonBase_1.ButtonStates.Default,
|
|
24
22
|
}),
|
|
25
23
|
},
|
|
26
|
-
|
|
24
|
+
};
|
|
27
25
|
},
|
|
28
26
|
},
|
|
29
27
|
};
|
|
@@ -6,8 +6,7 @@ exports.MuiMenu = {
|
|
|
6
6
|
autoFocus: false,
|
|
7
7
|
},
|
|
8
8
|
styleOverrides: {
|
|
9
|
-
paper
|
|
10
|
-
var theme = _a.theme;
|
|
9
|
+
paper({ theme }) {
|
|
11
10
|
return {
|
|
12
11
|
marginTop: theme.spacing(2),
|
|
13
12
|
'&.MuiPaper-root': {
|
|
@@ -16,8 +15,7 @@ exports.MuiMenu = {
|
|
|
16
15
|
},
|
|
17
16
|
};
|
|
18
17
|
},
|
|
19
|
-
list
|
|
20
|
-
var theme = _a.theme;
|
|
18
|
+
list({ theme }) {
|
|
21
19
|
return {
|
|
22
20
|
padding: theme.spacing(1, 0),
|
|
23
21
|
};
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiMenuItem = void 0;
|
|
4
4
|
exports.MuiMenuItem = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
'&:hover': {
|
|
10
9
|
backgroundColor: theme.palette.background.elementHover,
|
|
@@ -6,8 +6,7 @@ exports.MuiOutlinedInput = {
|
|
|
6
6
|
notched: false,
|
|
7
7
|
},
|
|
8
8
|
styleOverrides: {
|
|
9
|
-
root
|
|
10
|
-
var theme = _a.theme;
|
|
9
|
+
root({ theme }) {
|
|
11
10
|
return {
|
|
12
11
|
fontSize: theme.typography.pxToRem(14),
|
|
13
12
|
borderRadius: theme.shape.small,
|
|
@@ -33,8 +32,7 @@ exports.MuiOutlinedInput = {
|
|
|
33
32
|
},
|
|
34
33
|
};
|
|
35
34
|
},
|
|
36
|
-
input
|
|
37
|
-
var theme = _a.theme;
|
|
35
|
+
input({ theme }) {
|
|
38
36
|
return {
|
|
39
37
|
height: 20,
|
|
40
38
|
padding: theme.spacing(2.5, 2),
|
|
@@ -48,27 +46,24 @@ exports.MuiOutlinedInput = {
|
|
|
48
46
|
},
|
|
49
47
|
};
|
|
50
48
|
},
|
|
51
|
-
inputSizeSmall
|
|
52
|
-
var theme = _a.theme;
|
|
49
|
+
inputSizeSmall({ theme }) {
|
|
53
50
|
return {
|
|
54
51
|
paddingBlock: theme.spacing(1.5),
|
|
55
52
|
paddingInline: theme.spacing(2),
|
|
56
53
|
};
|
|
57
54
|
},
|
|
58
|
-
notchedOutline
|
|
59
|
-
var theme = _a.theme;
|
|
55
|
+
notchedOutline({ theme }) {
|
|
60
56
|
return {
|
|
61
57
|
borderWidth: 2,
|
|
62
58
|
borderColor: theme.palette.grey[300],
|
|
63
59
|
};
|
|
64
60
|
},
|
|
65
|
-
multiline
|
|
61
|
+
multiline() {
|
|
66
62
|
return {
|
|
67
63
|
padding: 0,
|
|
68
64
|
};
|
|
69
65
|
},
|
|
70
|
-
inputMultiline
|
|
71
|
-
var theme = _a.theme;
|
|
66
|
+
inputMultiline({ theme }) {
|
|
72
67
|
return {
|
|
73
68
|
padding: theme.spacing(2),
|
|
74
69
|
};
|
|
@@ -3,15 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiPaginationItem = void 0;
|
|
4
4
|
exports.MuiPaginationItem = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _b = {},
|
|
10
|
-
_b['&.Mui-selected'] = {
|
|
6
|
+
root({ theme }) {
|
|
7
|
+
return {
|
|
8
|
+
['&.Mui-selected']: {
|
|
11
9
|
backgroundColor: theme.palette.grey['900'],
|
|
12
10
|
color: theme.palette.primary.contrastText,
|
|
13
11
|
},
|
|
14
|
-
|
|
12
|
+
};
|
|
15
13
|
},
|
|
16
14
|
},
|
|
17
15
|
};
|
|
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiTableHead = void 0;
|
|
4
4
|
exports.MuiTableHead = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
th: {
|
|
10
|
-
borderBottom:
|
|
9
|
+
borderBottom: `2px solid ${theme.palette.grey['300']}`,
|
|
11
10
|
},
|
|
12
11
|
};
|
|
13
12
|
},
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiTableRow = void 0;
|
|
4
4
|
exports.MuiTableRow = {
|
|
5
5
|
styleOverrides: {
|
|
6
|
-
root
|
|
7
|
-
var theme = _a.theme;
|
|
6
|
+
root({ theme }) {
|
|
8
7
|
return {
|
|
9
8
|
'&.MuiTableRow-hover:hover': {
|
|
10
9
|
backgroundColor: theme.palette.background.elementHover,
|