@astral/ui 4.55.4 → 4.56.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 (113) hide show
  1. package/components/BottomDrawer/styles.js +1 -1
  2. package/components/CardGridInfinite/Footer/styles.js +1 -1
  3. package/components/CheckableTag/styles.js +1 -1
  4. package/components/Checkbox/styles.js +4 -2
  5. package/components/Chip/styles.js +1 -1
  6. package/components/CodeField/styles.js +1 -1
  7. package/components/ComplianceStatus/styles.js +1 -1
  8. package/components/DashboardLayout/DashboardWrapper/styles.js +1 -1
  9. package/components/DashboardLayout/Header/styles.js +4 -4
  10. package/components/DashboardLayoutSkeleton/styles.js +1 -1
  11. package/components/DashboardSidebar/styles.js +2 -2
  12. package/components/DashboardSidebarSkeleton/styles.js +1 -1
  13. package/components/DataGrid/Head/styles.js +1 -1
  14. package/components/DataGrid/PinnedSections/Section/styles.js +2 -2
  15. package/components/DataGrid/Row/NestedChildren/styles.js +3 -3
  16. package/components/DataGrid/Row/styles.js +3 -3
  17. package/components/DateRangePicker/styles.js +1 -1
  18. package/components/Description/Name/styles.js +1 -1
  19. package/components/DescriptionList/styles.js +4 -2
  20. package/components/ExpansionPanel/styles.js +1 -1
  21. package/components/InfiniteDataList/styles.js +1 -1
  22. package/components/InfiniteTreeList/TreeItem/styles.js +1 -1
  23. package/components/MenuOrganization/styles.js +2 -2
  24. package/components/NewStepper/Step/Description/styles.js +1 -1
  25. package/components/NewStepper/Step/styles.js +2 -2
  26. package/components/PageAside/styles.js +3 -3
  27. package/components/PageContent/PageContentHeader/styles.js +2 -2
  28. package/components/PageContent/styles.js +4 -2
  29. package/components/PageHeader/HeaderContent/styles.js +1 -1
  30. package/components/PageHeader/styles.js +2 -2
  31. package/components/PageLayoutLoader/styles.js +1 -1
  32. package/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +1 -1
  33. package/components/PageLayoutSection/styles.js +1 -1
  34. package/components/PagePinnableAside/styles.js +6 -6
  35. package/components/PdfViewer/PdfPage/styles.js +2 -2
  36. package/components/Radio/styles.js +4 -2
  37. package/components/RadioCard/styles.js +13 -5
  38. package/components/SideDialogActions/styles.js +1 -1
  39. package/components/SideDialogHeader/styles.js +1 -1
  40. package/components/SideDialogTitle/styles.js +1 -1
  41. package/components/Stepper/styles.js +2 -2
  42. package/components/Tag/styles.js +1 -1
  43. package/components/Tree/TreeItem/styles.js +3 -3
  44. package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/styles.js +1 -1
  45. package/components/fileUploading/FileUploaderFile/styles.js +1 -1
  46. package/components/theme/components/MuiButton.js +1 -1
  47. package/components/theme/components/MuiDivider.d.ts +3 -0
  48. package/components/theme/components/MuiDivider.js +9 -0
  49. package/components/theme/components/MuiListItem.d.ts +3 -0
  50. package/components/theme/components/MuiListItem.js +9 -0
  51. package/components/theme/components/MuiOutlinedInput.js +2 -2
  52. package/components/theme/components/MuiPaper.js +1 -1
  53. package/components/theme/components/MuiStepConnector.js +4 -1
  54. package/components/theme/components/components.js +4 -0
  55. package/components/theme/palette/componentsColors/componentsColors.d.ts +3 -0
  56. package/components/theme/palette/componentsColors/componentsColors.js +3 -0
  57. package/node/components/BottomDrawer/styles.js +1 -1
  58. package/node/components/CardGridInfinite/Footer/styles.js +1 -1
  59. package/node/components/CheckableTag/styles.js +1 -1
  60. package/node/components/Checkbox/styles.js +4 -2
  61. package/node/components/Chip/styles.js +1 -1
  62. package/node/components/CodeField/styles.js +1 -1
  63. package/node/components/ComplianceStatus/styles.js +1 -1
  64. package/node/components/DashboardLayout/DashboardWrapper/styles.js +1 -1
  65. package/node/components/DashboardLayout/Header/styles.js +4 -4
  66. package/node/components/DashboardLayoutSkeleton/styles.js +1 -1
  67. package/node/components/DashboardSidebar/styles.js +2 -2
  68. package/node/components/DashboardSidebarSkeleton/styles.js +1 -1
  69. package/node/components/DataGrid/Head/styles.js +1 -1
  70. package/node/components/DataGrid/PinnedSections/Section/styles.js +2 -2
  71. package/node/components/DataGrid/Row/NestedChildren/styles.js +3 -3
  72. package/node/components/DataGrid/Row/styles.js +3 -3
  73. package/node/components/DateRangePicker/styles.js +1 -1
  74. package/node/components/Description/Name/styles.js +1 -1
  75. package/node/components/DescriptionList/styles.js +4 -2
  76. package/node/components/ExpansionPanel/styles.js +1 -1
  77. package/node/components/InfiniteDataList/styles.js +1 -1
  78. package/node/components/InfiniteTreeList/TreeItem/styles.js +1 -1
  79. package/node/components/MenuOrganization/styles.js +2 -2
  80. package/node/components/NewStepper/Step/Description/styles.js +1 -1
  81. package/node/components/NewStepper/Step/styles.js +2 -2
  82. package/node/components/PageAside/styles.js +3 -3
  83. package/node/components/PageContent/PageContentHeader/styles.js +2 -2
  84. package/node/components/PageContent/styles.js +4 -2
  85. package/node/components/PageHeader/HeaderContent/styles.js +1 -1
  86. package/node/components/PageHeader/styles.js +2 -2
  87. package/node/components/PageLayoutLoader/styles.js +1 -1
  88. package/node/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +1 -1
  89. package/node/components/PageLayoutSection/styles.js +1 -1
  90. package/node/components/PagePinnableAside/styles.js +6 -6
  91. package/node/components/PdfViewer/PdfPage/styles.js +2 -2
  92. package/node/components/Radio/styles.js +4 -2
  93. package/node/components/RadioCard/styles.js +13 -5
  94. package/node/components/SideDialogActions/styles.js +1 -1
  95. package/node/components/SideDialogHeader/styles.js +1 -1
  96. package/node/components/SideDialogTitle/styles.js +1 -1
  97. package/node/components/Stepper/styles.js +2 -2
  98. package/node/components/Tag/styles.js +1 -1
  99. package/node/components/Tree/TreeItem/styles.js +3 -3
  100. package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/styles.js +1 -1
  101. package/node/components/fileUploading/FileUploaderFile/styles.js +1 -1
  102. package/node/components/theme/components/MuiButton.js +1 -1
  103. package/node/components/theme/components/MuiDivider.d.ts +3 -0
  104. package/node/components/theme/components/MuiDivider.js +12 -0
  105. package/node/components/theme/components/MuiListItem.d.ts +3 -0
  106. package/node/components/theme/components/MuiListItem.js +12 -0
  107. package/node/components/theme/components/MuiOutlinedInput.js +2 -2
  108. package/node/components/theme/components/MuiPaper.js +1 -1
  109. package/node/components/theme/components/MuiStepConnector.js +4 -1
  110. package/node/components/theme/components/components.js +4 -0
  111. package/node/components/theme/palette/componentsColors/componentsColors.d.ts +3 -0
  112. package/node/components/theme/palette/componentsColors/componentsColors.js +3 -0
  113. package/package.json +20 -1
@@ -27,7 +27,7 @@ export const Header = styled.header `
27
27
  height: ${({ drawerHeaderHeight }) => `${drawerHeaderHeight}px`};
28
28
  padding: ${({ theme }) => theme.spacing(1, 2, 1, 4)};
29
29
 
30
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
30
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
31
31
  `;
32
32
  export const HeaderTitle = styled(Typography) `
33
33
  margin-right: ${({ theme }) => theme.spacing(2)};
@@ -9,7 +9,7 @@ export const Wrapper = styled.footer `
9
9
  max-height: 76px;
10
10
  margin-top: ${({ theme }) => theme.spacing(4)};
11
11
 
12
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
12
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
13
13
  `;
14
14
  export const FooterDummy = styled.div `
15
15
  min-height: 20px;
@@ -86,7 +86,7 @@ const getBorder = ({ isChecked, variant, color, theme, disabled, tagState = 'def
86
86
  if (tagState === 'default') {
87
87
  `1px solid ${theme.palette.grey[600]}`;
88
88
  }
89
- return `1px solid ${theme.palette.grey[400]}`;
89
+ return `1px solid ${theme.palette.components.border.default}`;
90
90
  };
91
91
  export const Wrapper = styled.label `
92
92
  width: fit-content;
@@ -3,7 +3,7 @@ import { easeOutBackTransition } from '../styled/mixins';
3
3
  import { CHECKBOX_SIZE, checkboxClassnames, MOBILE_CHECKBOX_SIZE, } from './constants';
4
4
  const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, isIndeterminate, }) => {
5
5
  if (isDisabled) {
6
- return theme.palette.grey[300];
6
+ return theme.palette.components.border.default;
7
7
  }
8
8
  if (isError) {
9
9
  return isHover ? theme.palette.error[700] : theme.palette.error[800];
@@ -11,7 +11,9 @@ const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, isInd
11
11
  if (isChecked || isIndeterminate) {
12
12
  return isHover ? theme.palette.primary[700] : theme.palette.primary[800];
13
13
  }
14
- return isHover ? theme.palette.grey[900] : theme.palette.grey[300];
14
+ return isHover
15
+ ? theme.palette.grey[900]
16
+ : theme.palette.components.border.default;
15
17
  };
16
18
  export const Wrapper = styled('span', {
17
19
  shouldForwardProp: (prop) => !['$isDisabled', '$isError', '$isChecked', '$isIndeterminate'].includes(prop),
@@ -14,7 +14,7 @@ export const Wrapper = styled.div `
14
14
  padding: ${({ theme }) => theme.spacing(0, 2)};
15
15
 
16
16
  background-color: ${({ theme }) => theme.palette.background.default};
17
- border: 1px solid ${({ theme }) => theme.palette.grey[400]};
17
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
18
18
  border-radius: ${({ theme }) => theme.shape.medium};
19
19
 
20
20
  transition: ${({ theme }) => theme.transitions.create(['border-color', 'background-color'], {
@@ -7,7 +7,7 @@ const getBorder = (theme, isDisabled, isError) => {
7
7
  }
8
8
  return isError
9
9
  ? `1px solid ${theme.palette.error[800]}`
10
- : `1px solid ${theme.palette.grey[300]};`;
10
+ : `1px solid ${theme.palette.components.border.default};`;
11
11
  };
12
12
  export const Wrapper = styled.div `
13
13
  display: flex;
@@ -37,7 +37,7 @@ export const Wrapper = styled.article `
37
37
  &.${complianceStatusClassnames.outlined} {
38
38
  padding: ${({ theme }) => theme.spacing(3)};
39
39
 
40
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
40
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
41
41
  }
42
42
  `;
43
43
  export const Inner = styled('ul') `
@@ -19,7 +19,7 @@ export const DecorativeHeaderBackground = styled.div `
19
19
  height: ${({ $isFocusedMode }) => ($isFocusedMode ? 0 : HEADER_HEIGHT_DESKTOP)};
20
20
 
21
21
  background-color: ${({ theme }) => theme.palette.background.default};
22
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
22
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
23
23
 
24
24
  transition: ${({ theme }) => {
25
25
  return theme.transitions.create(['height'], {
@@ -42,7 +42,7 @@ export const HeaderRoot = styled('header', {
42
42
  padding: ${({ theme }) => theme.spacing(0, 2, 0, 1)};
43
43
 
44
44
  background-color: ${({ theme }) => theme.palette.background.default};
45
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
45
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
46
46
 
47
47
  transition: unset;
48
48
  }
@@ -157,14 +157,14 @@ export const PriorityFeatureWrapper = styled.div `
157
157
  height: ${MOBILE_BUTTON_HEIGHT};
158
158
  padding: ${({ theme }) => theme.spacing(3, 4)};
159
159
 
160
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
160
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
161
161
 
162
162
  &:hover {
163
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
163
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
164
164
  }
165
165
 
166
166
  &:active {
167
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
167
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
168
168
  }
169
169
  }
170
170
 
@@ -6,7 +6,7 @@ export const Content = styled.div `
6
6
  min-height: 0;
7
7
 
8
8
  background-color: ${({ theme }) => theme.palette.common.white};
9
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
9
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
10
10
  border-radius: ${({ theme }) => theme.shape.medium};
11
11
 
12
12
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -85,7 +85,7 @@ export const SidebarHeader = styled.header `
85
85
  ${({ theme }) => theme.breakpoints.down('sm')} {
86
86
  padding: ${({ theme }) => theme.spacing(4)};
87
87
 
88
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
88
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
89
89
 
90
90
  /* Причина игнора: Не критично для отображения */
91
91
  /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
@@ -148,7 +148,7 @@ export const Footer = styled.footer `
148
148
  margin-top: auto;
149
149
 
150
150
  background-color: ${({ theme }) => theme.palette.background.default};
151
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
151
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
152
152
  border-bottom-right-radius: ${({ theme }) => theme.shape.medium};
153
153
  border-bottom-left-radius: ${({ theme }) => theme.shape.medium};
154
154
 
@@ -12,7 +12,7 @@ export const Wrapper = styled('div', {
12
12
  padding: ${({ theme, $isPinned }) => $isPinned ? theme.spacing(4, 3) : theme.spacing(4, 2)};
13
13
 
14
14
  background-color: ${({ theme }) => theme.palette.background.default};
15
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
15
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
16
16
  border-radius: ${({ theme }) => theme.shape.medium};
17
17
 
18
18
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -9,7 +9,7 @@ export const Wrapper = styled('header', {
9
9
  width: fit-content;
10
10
  min-width: 100%;
11
11
 
12
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
12
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
13
13
  `;
14
14
  export const CheckboxCell = styled.div `
15
15
  display: flex;
@@ -40,7 +40,7 @@ export const DataGridSection = styled.div `
40
40
 
41
41
  height: 100%;
42
42
 
43
- border-right: 1px solid ${({ theme }) => theme.palette.grey[300]};
43
+ border-right: 1px solid ${({ theme }) => theme.palette.components.border.default};
44
44
  }
45
45
 
46
46
  & .${dataGridClassnames.header} {
@@ -79,7 +79,7 @@ export const DataGridSection = styled.div `
79
79
 
80
80
  height: 100%;
81
81
 
82
- border-left: 1px solid ${({ theme }) => theme.palette.grey[300]};
82
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
83
83
  }
84
84
 
85
85
  & .${dataGridClassnames.header} {
@@ -24,7 +24,7 @@ export const NestedRows = styled('ul', {
24
24
  width: 0;
25
25
  height: 100%;
26
26
 
27
- border-left: 1px solid ${({ theme }) => theme.palette.grey[400]};
27
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
28
28
  }
29
29
  `;
30
30
  export const MoreButtonRow = styled('li', {
@@ -50,8 +50,8 @@ export const MoreButtonRow = styled('li', {
50
50
  width: ${TREE_LINE_WIDTH}px;
51
51
  height: 50%;
52
52
 
53
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[400]};
54
- border-left: 1px solid ${({ theme }) => theme.palette.grey[400]};
53
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
54
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
55
55
  border-radius: 0 0 0 ${({ theme }) => theme.shape.small};
56
56
  }
57
57
  `;
@@ -21,7 +21,7 @@ export const Wrapper = styled.li `
21
21
  width: 0;
22
22
  height: 100%;
23
23
 
24
- border-left: 1px solid ${({ theme }) => theme.palette.grey[400]};
24
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
25
25
  }
26
26
  `;
27
27
  export const ContentWrapper = styled.div `
@@ -44,8 +44,8 @@ export const ContentWrapper = styled.div `
44
44
  width: ${TREE_LINE_WIDTH}px;
45
45
  height: 50%;
46
46
 
47
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[400]};
48
- border-left: 1px solid ${({ theme }) => theme.palette.grey[400]};
47
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
48
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
49
49
  border-radius: 0 0 0 ${({ theme }) => theme.shape.small};
50
50
  }
51
51
 
@@ -29,5 +29,5 @@ export const PickerSplitter = styled.div `
29
29
  margin: ${({ theme }) => theme.spacing(-3, 4)};
30
30
 
31
31
  border-left: 1px solid
32
- ${({ theme }) => theme.palette.grey[300]};
32
+ ${({ theme }) => theme.palette.components.border.default};
33
33
  `;
@@ -15,7 +15,7 @@ export const DashedSeparator = styled.div `
15
15
  height: 4px;
16
16
  margin-right: ${({ theme }) => theme.spacing(2)};
17
17
 
18
- border-bottom: 1px dashed ${({ theme }) => theme.palette.grey[400]};
18
+ border-bottom: 1px dashed ${({ theme }) => theme.palette.components.border.default};
19
19
 
20
20
  ${({ theme }) => theme.breakpoints.down('sm')} {
21
21
  display: none;
@@ -21,7 +21,7 @@ export const Wrapper = styled.article `
21
21
  padding: ${({ theme }) => theme.spacing(4)};
22
22
 
23
23
  background-color: ${({ theme }) => theme.palette.background.default};
24
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
24
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
25
25
  }
26
26
  `;
27
27
  export const ListWrapper = styled('dl', {
@@ -33,7 +33,9 @@ export const ListWrapper = styled('dl', {
33
33
  margin: 0;
34
34
  padding: ${({ theme, $variant }) => $variant === 'contained' ? theme.spacing(4, 0) : theme.spacing(3, 0)};
35
35
 
36
- border-top: ${({ $hasDivider, theme }) => $hasDivider ? `1px solid ${theme.palette.grey[300]}` : 'none'};
36
+ border-top: ${({ $hasDivider, theme }) => $hasDivider
37
+ ? `1px solid ${theme.palette.components.border.default}`
38
+ : 'none'};
37
39
 
38
40
  &:first-of-type {
39
41
  padding-top: 0;
@@ -6,7 +6,7 @@ export const Wrapper = styled('details') `
6
6
 
7
7
  width: 100%;
8
8
 
9
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
9
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
10
10
  border-radius: ${({ theme }) => theme.shape.medium};
11
11
 
12
12
  /* Причина игнора: Не критично для отображения */
@@ -22,7 +22,7 @@ export const Item = styled.li `
22
22
  ${({ theme }) => theme.breakpoints.down('sm')} {
23
23
  padding: ${({ theme }) => theme.spacing(5, 4)};
24
24
 
25
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
25
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
26
26
  }
27
27
  }
28
28
  `;
@@ -41,7 +41,7 @@ export const Wrapper = styled.div `
41
41
  margin-top: ${({ theme }) => theme.spacing(1)};
42
42
  margin-left: ${({ $level }) => `calc(${$level} * 20px)`};
43
43
 
44
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
44
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
45
45
  border-radius: ${({ theme }) => theme.shape.medium};
46
46
 
47
47
  &.${infiniteTreeListClassnames.addAnimation} {
@@ -10,7 +10,7 @@ import { menuOrganizationClassnames, PLACEHOLDER_HEIGHT } from './constants';
10
10
  export const ActionWrapper = styled.div `
11
11
  padding: ${({ theme }) => theme.spacing(2)};
12
12
 
13
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
13
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
14
14
 
15
15
  ${({ theme }) => theme.breakpoints.down('sm')} {
16
16
  padding: ${({ theme }) => theme.spacing(4)};
@@ -20,7 +20,7 @@ export const SearchWrapper = styled.div `
20
20
  max-width: 300px;
21
21
  padding: ${({ theme }) => theme.spacing(2, 3)};
22
22
 
23
- border-bottom: ${({ theme }) => `1px solid ${theme.palette.grey['300']}`};
23
+ border-bottom: ${({ theme }) => `1px solid ${theme.palette.components.border.default}`};
24
24
 
25
25
  ${({ theme }) => theme.breakpoints.down('sm')} {
26
26
  max-width: unset;
@@ -8,7 +8,7 @@ export const StyledTypography = styled(Typography) `
8
8
 
9
9
  text-align: start;
10
10
 
11
- border-left: 2px solid ${({ theme }) => theme.palette.grey[300]};
11
+ border-left: 2px solid ${({ theme }) => theme.palette.components.border.default};
12
12
 
13
13
  ${({ theme }) => theme.breakpoints.down('sm')} {
14
14
  margin-bottom: 0;
@@ -189,7 +189,7 @@ export const LineConnector = styled.div `
189
189
 
190
190
  height: 2px;
191
191
 
192
- border-top: 2px solid ${({ theme }) => theme.palette.grey[300]};
192
+ border-top: 2px solid ${({ theme }) => theme.palette.components.border.default};
193
193
 
194
194
  &.${stepClassnames.alternativeLabel} {
195
195
  position: absolute;
@@ -205,7 +205,7 @@ export const LineConnector = styled.div `
205
205
  margin-left: 9px;
206
206
 
207
207
  border-top: unset;
208
- border-left: 2px solid ${({ theme }) => theme.palette.grey[300]};
208
+ border-left: 2px solid ${({ theme }) => theme.palette.components.border.default};
209
209
 
210
210
  ${({ theme }) => theme.breakpoints.down('sm')} {
211
211
  margin-left: 11px;
@@ -8,8 +8,8 @@ export const Wrapper = styled.aside `
8
8
  width: ${PAGE_ASIDE_WIDTH};
9
9
  padding: ${({ theme }) => theme.spacing(4, 6)};
10
10
 
11
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
12
- border-left: 1px solid ${({ theme }) => theme.palette.grey[300]};
11
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
12
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
13
13
 
14
14
  ${({ theme }) => theme.breakpoints.down('laptop')} {
15
15
  padding: ${({ theme }) => theme.spacing(4)};
@@ -23,7 +23,7 @@ export const Wrapper = styled.aside `
23
23
  margin: ${({ theme }) => theme.spacing(0, 4, 4)};
24
24
 
25
25
  background-color: ${({ theme }) => theme.palette.background.default};
26
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
26
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
27
27
  border-radius: ${({ theme }) => theme.shape.medium};
28
28
  }
29
29
  `;
@@ -7,13 +7,13 @@ export const Wrapper = styled.header `
7
7
 
8
8
  padding: ${({ theme }) => theme.spacing(4, 6)};
9
9
 
10
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
10
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
11
11
 
12
12
  ${({ theme }) => theme.breakpoints.down('sm')} {
13
13
  margin: ${({ theme }) => theme.spacing(0, 4)};
14
14
 
15
15
  background-color: ${({ theme }) => theme.palette.background.default};
16
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
16
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
17
17
  border-bottom: none;
18
18
  border-top-left-radius: ${({ theme }) => theme.shape.medium};
19
19
  border-top-right-radius: ${({ theme }) => theme.shape.medium};
@@ -17,7 +17,9 @@ export const Wrapper = styled('article', {
17
17
  grid-row: 2;
18
18
  flex-direction: column;
19
19
 
20
- border-top: ${({ $isSeparatorShown, theme }) => $isSeparatorShown ? `1px solid ${theme.palette.grey[300]}` : 'none'};
20
+ border-top: ${({ $isSeparatorShown, theme }) => $isSeparatorShown
21
+ ? `1px solid ${theme.palette.components.border.default}`
22
+ : 'none'};
21
23
 
22
24
  ${({ theme }) => theme.breakpoints.down('sm')} {
23
25
  overflow: unset;
@@ -75,7 +77,7 @@ export const Content = styled.div `
75
77
  padding: ${({ theme }) => theme.spacing(4, 4, 3)};
76
78
 
77
79
  background-color: ${({ theme }) => theme.palette.background.default};
78
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
80
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
79
81
  border-radius: ${({ theme }) => theme.shape.medium};
80
82
 
81
83
  /* Причина игнора: Не критично для отображения */
@@ -18,7 +18,7 @@ export const PageSubheader = styled.div `
18
18
  ${({ theme }) => theme.breakpoints.down('sm')} {
19
19
  padding: ${({ theme }) => theme.spacing(0, 4, 4, 4)};
20
20
 
21
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
21
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
22
22
  }
23
23
  `;
24
24
  export const DesktopTitleWrapper = styled.div `
@@ -41,7 +41,7 @@ export const Wrapper = styled.header `
41
41
  }
42
42
 
43
43
  ${({ theme }) => theme.breakpoints.down('sm')} {
44
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
44
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
45
45
  }
46
46
  }
47
47
 
@@ -79,7 +79,7 @@ export const MobileTitleWrapper = styled.div `
79
79
  .${pageHeaderClassnames.filters},
80
80
  .${pageHeaderClassnames.subheader}
81
81
  ))) {
82
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
82
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
83
83
  }
84
84
  /* stylelint-enable plugin/no-unsupported-browser-features */
85
85
 
@@ -3,7 +3,7 @@ export const Wrapper = styled.div `
3
3
  height: 100%;
4
4
 
5
5
  background-color: ${({ theme }) => theme.palette.common.white};
6
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
6
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
7
7
  border-radius: ${({ theme }) => theme.shape.medium};
8
8
 
9
9
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -14,7 +14,7 @@ export const SectionContainer = styled.div `
14
14
  &.${pageLayoutSectionContainerClassnames.withAside} {
15
15
  padding-top: ${({ theme }) => theme.spacing(4)};
16
16
 
17
- border-top: ${({ theme }) => `1px solid ${theme.palette.grey[300]}`};
17
+ border-top: ${({ theme }) => `1px solid ${theme.palette.components.border.default}`};
18
18
  }
19
19
 
20
20
  ${({ theme }) => theme.breakpoints.down('laptop')} {
@@ -4,7 +4,7 @@ export const Section = styled.section `
4
4
  margin: ${({ theme }) => theme.spacing(0, 4)};
5
5
 
6
6
  background-color: ${({ theme }) => theme.palette.background.default};
7
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
7
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
8
8
  border-radius: ${({ theme }) => theme.shape.medium};
9
9
  }
10
10
  `;
@@ -31,7 +31,7 @@ export const Aside = styled('aside', {
31
31
  margin: ${({ theme }) => theme.spacing(0, 4, 4)};
32
32
 
33
33
  background-color: ${({ theme }) => theme.palette.background.default};
34
- border: 1px solid ${({ theme }) => theme.palette.grey[300]};
34
+ border: 1px solid ${({ theme }) => theme.palette.components.border.default};
35
35
  border-radius: ${({ theme }) => theme.shape.medium};
36
36
  }
37
37
  `;
@@ -47,8 +47,8 @@ export const Dummy = styled('div', {
47
47
  width: 40px;
48
48
  height: 100%;
49
49
 
50
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
51
- border-left: 1px solid ${({ theme }) => theme.palette.grey[300]};
50
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
51
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
52
52
 
53
53
  ${({ $isPinned }) => $isPinned && 'display: none;'}
54
54
  `;
@@ -77,8 +77,8 @@ export const Content = styled('div', {
77
77
  height: 100%;
78
78
 
79
79
  background-color: ${({ theme }) => theme.palette.background.default};
80
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
81
- border-left: 1px solid ${({ theme }) => theme.palette.grey[300]};
80
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
81
+ border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
82
82
 
83
83
  transition: ${({ theme }) => {
84
84
  return theme.transitions.create(['transform'], {
@@ -126,7 +126,7 @@ export const Footer = styled.footer `
126
126
  margin-top: auto;
127
127
 
128
128
  background-color: ${({ theme }) => theme.palette.background.default};
129
- border-top: 1px solid ${({ theme }) => theme.palette.grey[300]};
129
+ border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
130
130
 
131
131
  ${({ theme }) => theme.breakpoints.down('sm')} {
132
132
  display: none;
@@ -23,12 +23,12 @@ export const Wrapper = styled.div `
23
23
  }
24
24
 
25
25
  ${({ theme }) => theme.breakpoints.down('sm')} {
26
- border-top: ${({ $isViewerLite, theme }) => ($isViewerLite ? 'unset' : `1px solid ${theme.palette.grey[300]}`)};
26
+ border-top: ${({ $isViewerLite, theme }) => ($isViewerLite ? 'unset' : `1px solid ${theme.palette.components.border.default}`)};
27
27
  border-radius: ${({ $isViewerLite }) => !$isViewerLite && 0};
28
28
  box-shadow: ${({ $isViewerLite }) => !$isViewerLite && 'none'};
29
29
 
30
30
  &:last-child {
31
- border-bottom: ${({ $isViewerLite, theme }) => ($isViewerLite ? 'unset' : `1px solid ${theme.palette.grey[300]}`)};
31
+ border-bottom: ${({ $isViewerLite, theme }) => ($isViewerLite ? 'unset' : `1px solid ${theme.palette.components.border.default}`)};
32
32
  }
33
33
  }
34
34
  `;
@@ -5,7 +5,7 @@ const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, }) =>
5
5
  if (isDisabled) {
6
6
  return isChecked
7
7
  ? theme.palette.components.disabled
8
- : theme.palette.grey[300];
8
+ : theme.palette.components.border.default;
9
9
  }
10
10
  if (isError) {
11
11
  return isHover ? theme.palette.error[700] : theme.palette.error[800];
@@ -13,7 +13,9 @@ const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, }) =>
13
13
  if (isChecked) {
14
14
  return isHover ? theme.palette.primary[700] : theme.palette.primary[800];
15
15
  }
16
- return isHover ? theme.palette.grey[900] : theme.palette.grey[300];
16
+ return isHover
17
+ ? theme.palette.grey[900]
18
+ : theme.palette.components.border.default;
17
19
  };
18
20
  const getFillColor = ({ theme, isHover, isDisabled, isError, isChecked, }) => {
19
21
  if (isDisabled) {
@@ -12,10 +12,14 @@ export const Wrapper = styled.label `
12
12
 
13
13
  background-color: ${({ theme }) => theme.palette.background.default};
14
14
  border-right: 1px solid
15
- ${({ $isError, theme }) => $isError ? theme.palette.error[700] : theme.palette.grey[300]};
16
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
15
+ ${({ $isError, theme }) => $isError
16
+ ? theme.palette.error[700]
17
+ : theme.palette.components.border.default};
18
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
17
19
  border-left: 1px solid
18
- ${({ $isError, theme }) => $isError ? theme.palette.error[700] : theme.palette.grey[300]};
20
+ ${({ $isError, theme }) => $isError
21
+ ? theme.palette.error[700]
22
+ : theme.palette.components.border.default};
19
23
 
20
24
  ${({ $isDisabled, theme }) => $isDisabled &&
21
25
  `
@@ -26,14 +30,18 @@ export const Wrapper = styled.label `
26
30
 
27
31
  &:first-of-type {
28
32
  border-top: 1px solid
29
- ${({ $isError, theme }) => $isError ? theme.palette.error[700] : theme.palette.grey[300]};
33
+ ${({ $isError, theme }) => $isError
34
+ ? theme.palette.error[700]
35
+ : theme.palette.components.border.default};
30
36
  border-top-left-radius: ${({ theme }) => theme.shape.medium};
31
37
  border-top-right-radius: ${({ theme }) => theme.shape.medium};
32
38
  }
33
39
 
34
40
  &:last-of-type {
35
41
  border-bottom: 1px solid
36
- ${({ $isError, theme }) => $isError ? theme.palette.error[700] : theme.palette.grey[300]};
42
+ ${({ $isError, theme }) => $isError
43
+ ? theme.palette.error[700]
44
+ : theme.palette.components.border.default};
37
45
  border-bottom-right-radius: ${({ theme }) => theme.shape.medium};
38
46
  border-bottom-left-radius: ${({ theme }) => theme.shape.medium};
39
47
  }
@@ -15,7 +15,7 @@ export const StyledDialogActions = styled(DialogActions) `
15
15
 
16
16
  width: 100%;
17
17
 
18
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
18
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
19
19
  }
20
20
 
21
21
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -15,7 +15,7 @@ export const StyledDialogHeader = styled(DialogHeader) `
15
15
 
16
16
  width: 100%;
17
17
 
18
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
18
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
19
19
  }
20
20
 
21
21
  ${({ theme }) => theme.breakpoints.down('sm')} {
@@ -15,6 +15,6 @@ export const StyledDialogTitle = styled(DialogTitle) `
15
15
 
16
16
  width: 100%;
17
17
 
18
- border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
18
+ border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
19
19
  }
20
20
  `;
@@ -18,14 +18,14 @@ export const StyledStepper = styled(Stepper) `
18
18
  min-height: 22px;
19
19
  margin-left: 9px;
20
20
 
21
- border-color: ${({ theme }) => theme.palette.grey[300]};
21
+ border-color: ${({ theme }) => theme.palette.components.border.default};
22
22
  border-left-width: 2px;
23
23
  }
24
24
 
25
25
  .${stepConnectorClasses.lineVertical} {
26
26
  min-height: 14px;
27
27
 
28
- border-color: ${({ theme }) => theme.palette.grey[300]};
28
+ border-color: ${({ theme }) => theme.palette.components.border.default};
29
29
  border-left-width: 2px;
30
30
  }
31
31
 
@@ -230,7 +230,7 @@ export const Wrapper = styled.div `
230
230
  variant: $variant,
231
231
  })};
232
232
  border: ${({ theme, $variant, $color }) => $variant !== 'text' && $color === 'default'
233
- ? `1px solid ${theme.palette.grey[400]}`
233
+ ? `1px solid ${theme.palette.components.border.default}`
234
234
  : 'none'};
235
235
  border-radius: ${({ theme }) => theme.shape.medium};
236
236