@astral/ui 4.42.1 → 4.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/components/BottomDrawer/BottomDrawer.js +1 -1
  2. package/components/BottomDrawer/constants.d.ts +1 -0
  3. package/components/BottomDrawer/constants.js +1 -0
  4. package/components/CheckableTag/styles.js +4 -3
  5. package/components/ListItem/styles.js +1 -1
  6. package/components/SideDialog/SideDialog.js +6 -1
  7. package/components/SideDialog/styles.d.ts +8 -0
  8. package/components/SideDialog/styles.js +13 -0
  9. package/components/SideDialogActions/styles.js +7 -0
  10. package/components/SideDialogHeader/SideDialogHeader.js +2 -1
  11. package/components/SideDialogHeader/constants.d.ts +3 -0
  12. package/components/SideDialogHeader/constants.js +4 -0
  13. package/components/SideDialogHeader/styles.js +8 -0
  14. package/components/theme/components/MuiListItemButton.js +1 -1
  15. package/components/theme/palette/palette.js +1 -1
  16. package/node/components/BottomDrawer/BottomDrawer.js +1 -1
  17. package/node/components/BottomDrawer/constants.d.ts +1 -0
  18. package/node/components/BottomDrawer/constants.js +1 -0
  19. package/node/components/CheckableTag/styles.js +4 -3
  20. package/node/components/ListItem/styles.js +1 -1
  21. package/node/components/SideDialog/SideDialog.js +5 -0
  22. package/node/components/SideDialog/styles.d.ts +8 -0
  23. package/node/components/SideDialog/styles.js +17 -4
  24. package/node/components/SideDialogActions/styles.js +7 -0
  25. package/node/components/SideDialogHeader/SideDialogHeader.js +2 -1
  26. package/node/components/SideDialogHeader/constants.d.ts +3 -0
  27. package/node/components/SideDialogHeader/constants.js +7 -0
  28. package/node/components/SideDialogHeader/styles.js +8 -0
  29. package/node/components/theme/components/MuiListItemButton.js +1 -1
  30. package/node/components/theme/palette/palette.js +1 -1
  31. package/package.json +1 -1
@@ -9,5 +9,5 @@ export const BottomDrawer = ({ title, drawerHeaderHeight = DEFAULT_HEADER_HEIGHT
9
9
  onClose(event, 'escapeKeyDown');
10
10
  }
11
11
  };
12
- return (_jsxs(StyledDrawer, { ...props, anchor: "bottom", onClose: onClose, children: [_jsxs(Header, { drawerHeaderHeight: drawerHeaderHeight, children: [_jsx(HeaderTitle, { variant: "h6", noWrap: true, children: title }), headerContent, _jsx(IconButton, { variant: "text", onClick: handleClose, size: "medium", children: _jsx(CrossOutlineMd, {}) })] }), _jsx(Body, { className: bottomDrawerClassnames.content, children: children })] }));
12
+ return (_jsxs(StyledDrawer, { ...props, anchor: "bottom", onClose: onClose, children: [_jsxs(Header, { drawerHeaderHeight: drawerHeaderHeight, className: bottomDrawerClassnames.header, children: [_jsx(HeaderTitle, { variant: "h6", noWrap: true, children: title }), headerContent, _jsx(IconButton, { variant: "text", onClick: handleClose, size: "medium", children: _jsx(CrossOutlineMd, {}) })] }), _jsx(Body, { className: bottomDrawerClassnames.content, children: children })] }));
13
13
  };
@@ -1,5 +1,6 @@
1
1
  export declare const OFFSET_TOP_SCREEN = "16px";
2
2
  export declare const DEFAULT_HEADER_HEIGHT = 56;
3
3
  export declare const bottomDrawerClassnames: {
4
+ header: string;
4
5
  content: string;
5
6
  };
@@ -2,5 +2,6 @@ import { createUIKitClassname } from '../utils/createUIKitClassname';
2
2
  export const OFFSET_TOP_SCREEN = '16px';
3
3
  export const DEFAULT_HEADER_HEIGHT = 56;
4
4
  export const bottomDrawerClassnames = {
5
+ header: createUIKitClassname('bottom-drawer__header'),
5
6
  content: createUIKitClassname('bottom-drawer__content'),
6
7
  };
@@ -51,7 +51,7 @@ const getActiveBgColor = ({ theme, color, isChecked, variant, disabled, }) => {
51
51
  success: theme.palette.green[700],
52
52
  warning: theme.palette.yellow[700],
53
53
  grey: theme.palette.grey[400],
54
- default: theme.palette.grey[100],
54
+ default: theme.palette.grey[200],
55
55
  },
56
56
  light: {
57
57
  primary: theme.palette.primary[300],
@@ -59,7 +59,7 @@ const getActiveBgColor = ({ theme, color, isChecked, variant, disabled, }) => {
59
59
  success: theme.palette.green[300],
60
60
  warning: theme.palette.yellow[300],
61
61
  grey: theme.palette.grey[300],
62
- default: theme.palette.grey[100],
62
+ default: theme.palette.grey[200],
63
63
  },
64
64
  };
65
65
  if (variant && color) {
@@ -100,9 +100,10 @@ export const StyledTag = styled(Tag, {
100
100
  cursor: ${({ disabled }) => (disabled ? 'initial' : 'pointer')};
101
101
  user-select: none;
102
102
 
103
+ background-color: ${({ theme, color, variant }) => (variant === 'light' && color === 'grey') && theme.palette.grey[200]};
103
104
  ${({ $isChecked, disabled, theme }) => $isChecked &&
104
105
  `
105
- background-color: ${disabled ? theme.palette.grey[100] : theme.palette.grey[900]};
106
+ background-color: ${disabled ? theme.palette.grey[200] : theme.palette.grey[900]};
106
107
  `}
107
108
  border: ${({ theme, variant, $isChecked, color, disabled }) => getBorder({ theme, variant, isChecked: $isChecked, color, disabled })};
108
109
 
@@ -3,7 +3,7 @@ import { styled } from '../styled';
3
3
  import { ListItemStates } from './constants';
4
4
  export const getBgColor = ({ selected, theme, }) => {
5
5
  if (selected) {
6
- return theme.palette.grey[100];
6
+ return theme.palette.grey[200];
7
7
  }
8
8
  return 'transparent';
9
9
  };
@@ -1,6 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { SideDialogTitle } from '../SideDialogTitle';
3
- import { StyledDrawer } from './styles';
3
+ import { useViewportType } from '../useViewportType';
4
+ import { StyledBottomDrawer, StyledDrawer } from './styles';
4
5
  export const SideDialog = ({ children, title, onClose, open, size = 'sm', ...props }) => {
6
+ const { isMobile } = useViewportType();
7
+ if (isMobile) {
8
+ return (_jsx(StyledBottomDrawer, { onClose: onClose, title: title, open: open, ...props, children: children }));
9
+ }
5
10
  return (_jsxs(StyledDrawer, { "$size": size, anchor: "right", open: open, onClose: onClose, ...props, children: [title && _jsx(SideDialogTitle, { onClose: onClose, children: title }), children] }));
6
11
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from '@mui/material/Drawer';
2
3
  import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
3
4
  type SideDialogSize = 'xs' | 'sm' | 'md' | 'lg';
@@ -6,4 +7,11 @@ export declare const StyledDrawer: import("../styled").StyledComponent<DrawerPro
6
7
  } & {
7
8
  $size: SideDialogSize;
8
9
  } & WithoutEmotionSpecific<DrawerProps>, {}, {}>;
10
+ export declare const StyledBottomDrawer: import("../styled").StyledComponent<{
11
+ title?: string | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>[] | undefined;
12
+ drawerHeaderHeight?: number | undefined;
13
+ headerContent?: import("react").ReactNode;
14
+ } & WithoutEmotionSpecific<Omit<DrawerProps, "title" | "anchor" | "variant">> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
9
17
  export {};
@@ -1,6 +1,8 @@
1
1
  import { dialogContentClasses } from '@mui/material/DialogContent';
2
2
  import { dialogTitleClasses } from '@mui/material/DialogTitle';
3
3
  import Drawer, { drawerClasses } from '@mui/material/Drawer';
4
+ import { BottomDrawer, bottomDrawerClassnames } from '../BottomDrawer';
5
+ import { sideDialogHeaderClassnames } from '../SideDialogHeader/constants';
4
6
  import { styled } from '../styled';
5
7
  import { SIDE_DIALOG_SCREEN_OFFSET, SIZES } from './constants';
6
8
  const getSize = (size) => {
@@ -31,3 +33,14 @@ export const StyledDrawer = styled(Drawer, {
31
33
  padding-top: ${({ theme }) => theme.spacing(4)};
32
34
  }
33
35
  `;
36
+ export const StyledBottomDrawer = styled(BottomDrawer) `
37
+ ${({ theme }) => theme.breakpoints.down('sm')} {
38
+ /* Причина игнора: Не критично для отображения */
39
+ /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
40
+ &:has(.${sideDialogHeaderClassnames.root}) {
41
+ & .${bottomDrawerClassnames.header} {
42
+ display: none;
43
+ }
44
+ }
45
+ }
46
+ `;
@@ -17,4 +17,11 @@ export const StyledDialogActions = styled(DialogActions) `
17
17
 
18
18
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
19
19
  }
20
+
21
+ ${({ theme }) => theme.breakpoints.down('sm')} {
22
+ position: sticky;
23
+ bottom: 0;
24
+
25
+ background-color: ${({ theme }) => theme.palette.background.paper};
26
+ }
20
27
  `;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { sideDialogHeaderClassnames } from './constants';
2
3
  import { StyledDialogHeader } from './styles';
3
4
  export const SideDialogHeader = (props) => {
4
- return _jsx(StyledDialogHeader, { ...props });
5
+ return (_jsx(StyledDialogHeader, { className: sideDialogHeaderClassnames.root, ...props }));
5
6
  };
@@ -0,0 +1,3 @@
1
+ export declare const sideDialogHeaderClassnames: {
2
+ root: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ import { createUIKitClassname } from '../utils/createUIKitClassname';
2
+ export const sideDialogHeaderClassnames = {
3
+ root: createUIKitClassname('side-dialog__header'),
4
+ };
@@ -17,4 +17,12 @@ export const StyledDialogHeader = styled(DialogHeader) `
17
17
 
18
18
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
19
19
  }
20
+
21
+ ${({ theme }) => theme.breakpoints.down('sm')} {
22
+ position: sticky;
23
+ z-index: +1;
24
+ top: 0;
25
+
26
+ background-color: ${({ theme }) => theme.palette.background.paper};
27
+ }
20
28
  `;
@@ -5,7 +5,7 @@ export const MuiListItemButton = {
5
5
  padding: theme.spacing(2, 3),
6
6
  '&.Mui-selected': {
7
7
  color: theme.palette.primary[800],
8
- backgroundColor: theme.palette.grey[100],
8
+ backgroundColor: theme.palette.grey[200],
9
9
  },
10
10
  '&:hover': {
11
11
  backgroundColor: theme.palette.background.elementHover,
@@ -46,7 +46,7 @@ export const getPalette = (palette) => {
46
46
  400: '#C7C7C7',
47
47
  300: '#D9D9D9',
48
48
  200: '#E2E2E2',
49
- 100: '#E9E9E9',
49
+ 100: '#F5F5F5',
50
50
  // Необходимо mui при добавлении новых цветов компонентам
51
51
  main: '#1F1F1F',
52
52
  dark: '#0F0F0F',
@@ -12,6 +12,6 @@ const BottomDrawer = ({ title, drawerHeaderHeight = constants_1.DEFAULT_HEADER_H
12
12
  onClose(event, 'escapeKeyDown');
13
13
  }
14
14
  };
15
- return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDrawer, { ...props, anchor: "bottom", onClose: onClose, children: [(0, jsx_runtime_1.jsxs)(styles_1.Header, { drawerHeaderHeight: drawerHeaderHeight, children: [(0, jsx_runtime_1.jsx)(styles_1.HeaderTitle, { variant: "h6", noWrap: true, children: title }), headerContent, (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleClose, size: "medium", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) })] }), (0, jsx_runtime_1.jsx)(styles_1.Body, { className: constants_1.bottomDrawerClassnames.content, children: children })] }));
15
+ return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDrawer, { ...props, anchor: "bottom", onClose: onClose, children: [(0, jsx_runtime_1.jsxs)(styles_1.Header, { drawerHeaderHeight: drawerHeaderHeight, className: constants_1.bottomDrawerClassnames.header, children: [(0, jsx_runtime_1.jsx)(styles_1.HeaderTitle, { variant: "h6", noWrap: true, children: title }), headerContent, (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { variant: "text", onClick: handleClose, size: "medium", children: (0, jsx_runtime_1.jsx)(CrossOutlineMd_1.CrossOutlineMd, {}) })] }), (0, jsx_runtime_1.jsx)(styles_1.Body, { className: constants_1.bottomDrawerClassnames.content, children: children })] }));
16
16
  };
17
17
  exports.BottomDrawer = BottomDrawer;
@@ -1,5 +1,6 @@
1
1
  export declare const OFFSET_TOP_SCREEN = "16px";
2
2
  export declare const DEFAULT_HEADER_HEIGHT = 56;
3
3
  export declare const bottomDrawerClassnames: {
4
+ header: string;
4
5
  content: string;
5
6
  };
@@ -5,5 +5,6 @@ const createUIKitClassname_1 = require("../utils/createUIKitClassname");
5
5
  exports.OFFSET_TOP_SCREEN = '16px';
6
6
  exports.DEFAULT_HEADER_HEIGHT = 56;
7
7
  exports.bottomDrawerClassnames = {
8
+ header: (0, createUIKitClassname_1.createUIKitClassname)('bottom-drawer__header'),
8
9
  content: (0, createUIKitClassname_1.createUIKitClassname)('bottom-drawer__content'),
9
10
  };
@@ -54,7 +54,7 @@ const getActiveBgColor = ({ theme, color, isChecked, variant, disabled, }) => {
54
54
  success: theme.palette.green[700],
55
55
  warning: theme.palette.yellow[700],
56
56
  grey: theme.palette.grey[400],
57
- default: theme.palette.grey[100],
57
+ default: theme.palette.grey[200],
58
58
  },
59
59
  light: {
60
60
  primary: theme.palette.primary[300],
@@ -62,7 +62,7 @@ const getActiveBgColor = ({ theme, color, isChecked, variant, disabled, }) => {
62
62
  success: theme.palette.green[300],
63
63
  warning: theme.palette.yellow[300],
64
64
  grey: theme.palette.grey[300],
65
- default: theme.palette.grey[100],
65
+ default: theme.palette.grey[200],
66
66
  },
67
67
  };
68
68
  if (variant && color) {
@@ -103,9 +103,10 @@ exports.StyledTag = (0, styled_1.styled)(Tag_1.Tag, {
103
103
  cursor: ${({ disabled }) => (disabled ? 'initial' : 'pointer')};
104
104
  user-select: none;
105
105
 
106
+ background-color: ${({ theme, color, variant }) => (variant === 'light' && color === 'grey') && theme.palette.grey[200]};
106
107
  ${({ $isChecked, disabled, theme }) => $isChecked &&
107
108
  `
108
- background-color: ${disabled ? theme.palette.grey[100] : theme.palette.grey[900]};
109
+ background-color: ${disabled ? theme.palette.grey[200] : theme.palette.grey[900]};
109
110
  `}
110
111
  border: ${({ theme, variant, $isChecked, color, disabled }) => getBorder({ theme, variant, isChecked: $isChecked, color, disabled })};
111
112
 
@@ -9,7 +9,7 @@ const styled_1 = require("../styled");
9
9
  const constants_1 = require("./constants");
10
10
  const getBgColor = ({ selected, theme, }) => {
11
11
  if (selected) {
12
- return theme.palette.grey[100];
12
+ return theme.palette.grey[200];
13
13
  }
14
14
  return 'transparent';
15
15
  };
@@ -3,8 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SideDialog = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const SideDialogTitle_1 = require("../SideDialogTitle");
6
+ const useViewportType_1 = require("../useViewportType");
6
7
  const styles_1 = require("./styles");
7
8
  const SideDialog = ({ children, title, onClose, open, size = 'sm', ...props }) => {
9
+ const { isMobile } = (0, useViewportType_1.useViewportType)();
10
+ if (isMobile) {
11
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledBottomDrawer, { onClose: onClose, title: title, open: open, ...props, children: children }));
12
+ }
8
13
  return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDrawer, { "$size": size, anchor: "right", open: open, onClose: onClose, ...props, children: [title && (0, jsx_runtime_1.jsx)(SideDialogTitle_1.SideDialogTitle, { onClose: onClose, children: title }), children] }));
9
14
  };
10
15
  exports.SideDialog = SideDialog;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DrawerProps } from '@mui/material/Drawer';
2
3
  import { type WithoutEmotionSpecific } from '../types/WithoutEmotionSpecific';
3
4
  type SideDialogSize = 'xs' | 'sm' | 'md' | 'lg';
@@ -6,4 +7,11 @@ export declare const StyledDrawer: import("@emotion/styled/dist/declarations/src
6
7
  } & {
7
8
  $size: SideDialogSize;
8
9
  } & WithoutEmotionSpecific<DrawerProps>, {}, {}>;
10
+ export declare const StyledBottomDrawer: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
11
+ title?: string | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>[] | undefined;
12
+ drawerHeaderHeight?: number | undefined;
13
+ headerContent?: import("react").ReactNode;
14
+ } & WithoutEmotionSpecific<Omit<DrawerProps, "title" | "anchor" | "variant">> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
9
17
  export {};
@@ -23,14 +23,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.StyledDrawer = void 0;
26
+ exports.StyledBottomDrawer = exports.StyledDrawer = void 0;
27
27
  const DialogContent_1 = require("@mui/material/DialogContent");
28
28
  const DialogTitle_1 = require("@mui/material/DialogTitle");
29
29
  const Drawer_1 = __importStar(require("@mui/material/Drawer"));
30
+ const BottomDrawer_1 = require("../BottomDrawer");
31
+ const constants_1 = require("../SideDialogHeader/constants");
30
32
  const styled_1 = require("../styled");
31
- const constants_1 = require("./constants");
33
+ const constants_2 = require("./constants");
32
34
  const getSize = (size) => {
33
- return constants_1.SIZES[size] || constants_1.SIZES.sm;
35
+ return constants_2.SIZES[size] || constants_2.SIZES.sm;
34
36
  };
35
37
  exports.StyledDrawer = (0, styled_1.styled)(Drawer_1.default, {
36
38
  shouldForwardProp: (prop) => !['$size'].includes(prop),
@@ -46,7 +48,7 @@ exports.StyledDrawer = (0, styled_1.styled)(Drawer_1.default, {
46
48
 
47
49
  .${Drawer_1.drawerClasses.paper} {
48
50
  width: ${({ $size }) => getSize($size)};
49
- height: calc(100% - ${constants_1.SIDE_DIALOG_SCREEN_OFFSET});
51
+ height: calc(100% - ${constants_2.SIDE_DIALOG_SCREEN_OFFSET});
50
52
  margin: ${({ theme }) => theme.spacing(4)};
51
53
 
52
54
  border-radius: calc(${({ theme }) => theme.shape.medium} * 2);
@@ -57,3 +59,14 @@ exports.StyledDrawer = (0, styled_1.styled)(Drawer_1.default, {
57
59
  padding-top: ${({ theme }) => theme.spacing(4)};
58
60
  }
59
61
  `;
62
+ exports.StyledBottomDrawer = (0, styled_1.styled)(BottomDrawer_1.BottomDrawer) `
63
+ ${({ theme }) => theme.breakpoints.down('sm')} {
64
+ /* Причина игнора: Не критично для отображения */
65
+ /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
66
+ &:has(.${constants_1.sideDialogHeaderClassnames.root}) {
67
+ & .${BottomDrawer_1.bottomDrawerClassnames.header} {
68
+ display: none;
69
+ }
70
+ }
71
+ }
72
+ `;
@@ -20,4 +20,11 @@ exports.StyledDialogActions = (0, styled_1.styled)(DialogActions_1.DialogActions
20
20
 
21
21
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
22
22
  }
23
+
24
+ ${({ theme }) => theme.breakpoints.down('sm')} {
25
+ position: sticky;
26
+ bottom: 0;
27
+
28
+ background-color: ${({ theme }) => theme.palette.background.paper};
29
+ }
23
30
  `;
@@ -2,8 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SideDialogHeader = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const constants_1 = require("./constants");
5
6
  const styles_1 = require("./styles");
6
7
  const SideDialogHeader = (props) => {
7
- return (0, jsx_runtime_1.jsx)(styles_1.StyledDialogHeader, { ...props });
8
+ return ((0, jsx_runtime_1.jsx)(styles_1.StyledDialogHeader, { className: constants_1.sideDialogHeaderClassnames.root, ...props }));
8
9
  };
9
10
  exports.SideDialogHeader = SideDialogHeader;
@@ -0,0 +1,3 @@
1
+ export declare const sideDialogHeaderClassnames: {
2
+ root: string;
3
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sideDialogHeaderClassnames = void 0;
4
+ const createUIKitClassname_1 = require("../utils/createUIKitClassname");
5
+ exports.sideDialogHeaderClassnames = {
6
+ root: (0, createUIKitClassname_1.createUIKitClassname)('side-dialog__header'),
7
+ };
@@ -20,4 +20,12 @@ exports.StyledDialogHeader = (0, styled_1.styled)(DialogHeader_1.DialogHeader) `
20
20
 
21
21
  border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
22
22
  }
23
+
24
+ ${({ theme }) => theme.breakpoints.down('sm')} {
25
+ position: sticky;
26
+ z-index: +1;
27
+ top: 0;
28
+
29
+ background-color: ${({ theme }) => theme.palette.background.paper};
30
+ }
23
31
  `;
@@ -8,7 +8,7 @@ exports.MuiListItemButton = {
8
8
  padding: theme.spacing(2, 3),
9
9
  '&.Mui-selected': {
10
10
  color: theme.palette.primary[800],
11
- backgroundColor: theme.palette.grey[100],
11
+ backgroundColor: theme.palette.grey[200],
12
12
  },
13
13
  '&:hover': {
14
14
  backgroundColor: theme.palette.background.elementHover,
@@ -49,7 +49,7 @@ const getPalette = (palette) => {
49
49
  400: '#C7C7C7',
50
50
  300: '#D9D9D9',
51
51
  200: '#E2E2E2',
52
- 100: '#E9E9E9',
52
+ 100: '#F5F5F5',
53
53
  // Необходимо mui при добавлении новых цветов компонентам
54
54
  main: '#1F1F1F',
55
55
  dark: '#0F0F0F',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.42.1",
3
+ "version": "4.44.0",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {