@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.
- package/components/BottomDrawer/styles.js +1 -1
- package/components/CardGridInfinite/Footer/styles.js +1 -1
- package/components/CheckableTag/styles.js +1 -1
- package/components/Checkbox/styles.js +4 -2
- package/components/Chip/styles.js +1 -1
- package/components/CodeField/styles.js +1 -1
- package/components/ComplianceStatus/styles.js +1 -1
- package/components/DashboardLayout/DashboardWrapper/styles.js +1 -1
- package/components/DashboardLayout/Header/styles.js +4 -4
- package/components/DashboardLayoutSkeleton/styles.js +1 -1
- package/components/DashboardSidebar/styles.js +2 -2
- package/components/DashboardSidebarSkeleton/styles.js +1 -1
- package/components/DataGrid/Head/styles.js +1 -1
- package/components/DataGrid/PinnedSections/Section/styles.js +2 -2
- package/components/DataGrid/Row/NestedChildren/styles.js +3 -3
- package/components/DataGrid/Row/styles.js +3 -3
- package/components/DateRangePicker/styles.js +1 -1
- package/components/Description/Name/styles.js +1 -1
- package/components/DescriptionList/styles.js +4 -2
- package/components/ExpansionPanel/styles.js +1 -1
- package/components/InfiniteDataList/styles.js +1 -1
- package/components/InfiniteTreeList/TreeItem/styles.js +1 -1
- package/components/MenuOrganization/styles.js +2 -2
- package/components/NewStepper/Step/Description/styles.js +1 -1
- package/components/NewStepper/Step/styles.js +2 -2
- package/components/PageAside/styles.js +3 -3
- package/components/PageContent/PageContentHeader/styles.js +2 -2
- package/components/PageContent/styles.js +4 -2
- package/components/PageHeader/HeaderContent/styles.js +1 -1
- package/components/PageHeader/styles.js +2 -2
- package/components/PageLayoutLoader/styles.js +1 -1
- package/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +1 -1
- package/components/PageLayoutSection/styles.js +1 -1
- package/components/PagePinnableAside/styles.js +6 -6
- package/components/PdfViewer/PdfPage/styles.js +2 -2
- package/components/Radio/styles.js +4 -2
- package/components/RadioCard/styles.js +13 -5
- package/components/SideDialogActions/styles.js +1 -1
- package/components/SideDialogHeader/styles.js +1 -1
- package/components/SideDialogTitle/styles.js +1 -1
- package/components/Stepper/styles.js +2 -2
- package/components/Tag/styles.js +1 -1
- package/components/Tree/TreeItem/styles.js +3 -3
- package/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/styles.js +1 -1
- package/components/fileUploading/FileUploaderFile/styles.js +1 -1
- package/components/theme/components/MuiButton.js +1 -1
- package/components/theme/components/MuiDivider.d.ts +3 -0
- package/components/theme/components/MuiDivider.js +9 -0
- package/components/theme/components/MuiListItem.d.ts +3 -0
- package/components/theme/components/MuiListItem.js +9 -0
- package/components/theme/components/MuiOutlinedInput.js +2 -2
- package/components/theme/components/MuiPaper.js +1 -1
- package/components/theme/components/MuiStepConnector.js +4 -1
- package/components/theme/components/components.js +4 -0
- package/components/theme/palette/componentsColors/componentsColors.d.ts +3 -0
- package/components/theme/palette/componentsColors/componentsColors.js +3 -0
- package/node/components/BottomDrawer/styles.js +1 -1
- package/node/components/CardGridInfinite/Footer/styles.js +1 -1
- package/node/components/CheckableTag/styles.js +1 -1
- package/node/components/Checkbox/styles.js +4 -2
- package/node/components/Chip/styles.js +1 -1
- package/node/components/CodeField/styles.js +1 -1
- package/node/components/ComplianceStatus/styles.js +1 -1
- package/node/components/DashboardLayout/DashboardWrapper/styles.js +1 -1
- package/node/components/DashboardLayout/Header/styles.js +4 -4
- package/node/components/DashboardLayoutSkeleton/styles.js +1 -1
- package/node/components/DashboardSidebar/styles.js +2 -2
- package/node/components/DashboardSidebarSkeleton/styles.js +1 -1
- package/node/components/DataGrid/Head/styles.js +1 -1
- package/node/components/DataGrid/PinnedSections/Section/styles.js +2 -2
- package/node/components/DataGrid/Row/NestedChildren/styles.js +3 -3
- package/node/components/DataGrid/Row/styles.js +3 -3
- package/node/components/DateRangePicker/styles.js +1 -1
- package/node/components/Description/Name/styles.js +1 -1
- package/node/components/DescriptionList/styles.js +4 -2
- package/node/components/ExpansionPanel/styles.js +1 -1
- package/node/components/InfiniteDataList/styles.js +1 -1
- package/node/components/InfiniteTreeList/TreeItem/styles.js +1 -1
- package/node/components/MenuOrganization/styles.js +2 -2
- package/node/components/NewStepper/Step/Description/styles.js +1 -1
- package/node/components/NewStepper/Step/styles.js +2 -2
- package/node/components/PageAside/styles.js +3 -3
- package/node/components/PageContent/PageContentHeader/styles.js +2 -2
- package/node/components/PageContent/styles.js +4 -2
- package/node/components/PageHeader/HeaderContent/styles.js +1 -1
- package/node/components/PageHeader/styles.js +2 -2
- package/node/components/PageLayoutLoader/styles.js +1 -1
- package/node/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +1 -1
- package/node/components/PageLayoutSection/styles.js +1 -1
- package/node/components/PagePinnableAside/styles.js +6 -6
- package/node/components/PdfViewer/PdfPage/styles.js +2 -2
- package/node/components/Radio/styles.js +4 -2
- package/node/components/RadioCard/styles.js +13 -5
- package/node/components/SideDialogActions/styles.js +1 -1
- package/node/components/SideDialogHeader/styles.js +1 -1
- package/node/components/SideDialogTitle/styles.js +1 -1
- package/node/components/Stepper/styles.js +2 -2
- package/node/components/Tag/styles.js +1 -1
- package/node/components/Tree/TreeItem/styles.js +3 -3
- package/node/components/fileUploading/FileUploaderDropzone/DropzoneWrapper/styles.js +1 -1
- package/node/components/fileUploading/FileUploaderFile/styles.js +1 -1
- package/node/components/theme/components/MuiButton.js +1 -1
- package/node/components/theme/components/MuiDivider.d.ts +3 -0
- package/node/components/theme/components/MuiDivider.js +12 -0
- package/node/components/theme/components/MuiListItem.d.ts +3 -0
- package/node/components/theme/components/MuiListItem.js +12 -0
- package/node/components/theme/components/MuiOutlinedInput.js +2 -2
- package/node/components/theme/components/MuiPaper.js +1 -1
- package/node/components/theme/components/MuiStepConnector.js +4 -1
- package/node/components/theme/components/components.js +4 -0
- package/node/components/theme/palette/componentsColors/componentsColors.d.ts +3 -0
- package/node/components/theme/palette/componentsColors/componentsColors.js +3 -0
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
160
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
161
161
|
|
|
162
162
|
&:hover {
|
|
163
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
54
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
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.
|
|
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.
|
|
48
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
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
|
|
|
@@ -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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
12
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
51
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
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.
|
|
81
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
16
|
-
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
18
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
@@ -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.
|
|
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.
|
|
28
|
+
border-color: ${({ theme }) => theme.palette.components.border.default};
|
|
29
29
|
border-left-width: 2px;
|
|
30
30
|
}
|
|
31
31
|
|
package/components/Tag/styles.js
CHANGED
|
@@ -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.
|
|
233
|
+
? `1px solid ${theme.palette.components.border.default}`
|
|
234
234
|
: 'none'};
|
|
235
235
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
236
236
|
|