@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
|
@@ -32,7 +32,7 @@ export const Item = styled('li', {
|
|
|
32
32
|
width: 0;
|
|
33
33
|
height: 100%;
|
|
34
34
|
|
|
35
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
35
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
36
36
|
}
|
|
37
37
|
`;
|
|
38
38
|
export const ItemContent = styled('div', {
|
|
@@ -130,8 +130,8 @@ export const LabelWrapper = styled('div', {
|
|
|
130
130
|
/* Добавляем к высоте половину нижнего отступа, который не входит в высоту текущего элемента */
|
|
131
131
|
height: ${({ theme }) => `calc(50% + ${theme.spacing(1)}/2)`};
|
|
132
132
|
|
|
133
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
134
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
133
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
134
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
135
135
|
border-radius: 0 0 0 ${({ theme }) => theme.shape.small};
|
|
136
136
|
}
|
|
137
137
|
`;
|
|
@@ -6,7 +6,7 @@ const getBorderColor = (theme, isLoading, isError) => {
|
|
|
6
6
|
if (isError) {
|
|
7
7
|
return theme.palette.error[400];
|
|
8
8
|
}
|
|
9
|
-
return theme.palette.
|
|
9
|
+
return theme.palette.components.border.default;
|
|
10
10
|
};
|
|
11
11
|
export const Wrapper = styled('div', {
|
|
12
12
|
shouldForwardProp: (prop) => !['$isLoading', '$isError'].includes(prop),
|
|
@@ -77,7 +77,7 @@ const getBorder = ({ theme, variant, color, buttonState, selected, disabled, })
|
|
|
77
77
|
return `1px solid ${theme.palette[color]['900']};`;
|
|
78
78
|
}
|
|
79
79
|
if (buttonState === 'default') {
|
|
80
|
-
return `1px solid ${theme.palette[color]['300']};`;
|
|
80
|
+
return `1px solid ${color === 'grey' ? theme.palette.components.border.default : theme.palette[color]['300']};`;
|
|
81
81
|
}
|
|
82
82
|
if (buttonState === 'hover') {
|
|
83
83
|
return `1px solid ${theme.palette[color]['700']};`;
|
|
@@ -51,7 +51,7 @@ export const MuiOutlinedInput = {
|
|
|
51
51
|
},
|
|
52
52
|
'&::placeholder': {
|
|
53
53
|
opacity: 1,
|
|
54
|
-
color: theme.palette.grey[
|
|
54
|
+
color: theme.palette.grey[500],
|
|
55
55
|
},
|
|
56
56
|
};
|
|
57
57
|
},
|
|
@@ -64,7 +64,7 @@ export const MuiOutlinedInput = {
|
|
|
64
64
|
notchedOutline({ theme }) {
|
|
65
65
|
return {
|
|
66
66
|
borderWidth: 1,
|
|
67
|
-
borderColor: theme.palette.
|
|
67
|
+
borderColor: theme.palette.components.border.default,
|
|
68
68
|
top: 0,
|
|
69
69
|
transition: theme.transitions.create(['border-color'], {
|
|
70
70
|
easing: theme.transitions.easing.easeInOut,
|
|
@@ -4,7 +4,10 @@ export const MuiStepConnector = {
|
|
|
4
4
|
return { top: theme.microSpacing(5) };
|
|
5
5
|
},
|
|
6
6
|
lineHorizontal({ theme }) {
|
|
7
|
-
return {
|
|
7
|
+
return {
|
|
8
|
+
borderTopWidth: 2,
|
|
9
|
+
borderColor: theme.palette.components.border.default,
|
|
10
|
+
};
|
|
8
11
|
},
|
|
9
12
|
},
|
|
10
13
|
};
|
|
@@ -7,12 +7,14 @@ import { MuiDialog } from './MuiDialog';
|
|
|
7
7
|
import { MuiDialogActions } from './MuiDialogActions';
|
|
8
8
|
import { MuiDialogContent } from './MuiDialogContent';
|
|
9
9
|
import { MuiDialogTitle } from './MuiDialogTitle';
|
|
10
|
+
import { MuiDivider } from './MuiDivider';
|
|
10
11
|
import { MuiDrawer } from './MuiDrawer';
|
|
11
12
|
import { MuiFormControlLabel } from './MuiFormControlLabel';
|
|
12
13
|
import { MuiFormHelperText } from './MuiFormHelperText';
|
|
13
14
|
import { MuiFormLabel } from './MuiFormLabel';
|
|
14
15
|
import { MuiInputLabel } from './MuiInputLabel';
|
|
15
16
|
import { MuiLinearProgress } from './MuiLinearProgress';
|
|
17
|
+
import { MuiListItem } from './MuiListItem';
|
|
16
18
|
import { MuiListItemButton } from './MuiListItemButton';
|
|
17
19
|
import { MuiListItemText } from './MuiListItemText';
|
|
18
20
|
import { MuiListSubheader } from './MuiListSubheader';
|
|
@@ -49,6 +51,7 @@ export const getComponents = () => {
|
|
|
49
51
|
MuiAlert,
|
|
50
52
|
MuiButton,
|
|
51
53
|
MuiButtonBase,
|
|
54
|
+
MuiDivider,
|
|
52
55
|
MuiTypography,
|
|
53
56
|
MuiInputLabel,
|
|
54
57
|
MuiOutlinedInput,
|
|
@@ -72,6 +75,7 @@ export const getComponents = () => {
|
|
|
72
75
|
MuiPaginationItem,
|
|
73
76
|
MuiPaper,
|
|
74
77
|
MuiCircularProgress,
|
|
78
|
+
MuiListItem,
|
|
75
79
|
MuiListItemButton,
|
|
76
80
|
MuiListItemText,
|
|
77
81
|
MuiLinearProgress,
|
|
@@ -33,7 +33,7 @@ exports.Header = styled_1.styled.header `
|
|
|
33
33
|
height: ${({ drawerHeaderHeight }) => `${drawerHeaderHeight}px`};
|
|
34
34
|
padding: ${({ theme }) => theme.spacing(1, 2, 1, 4)};
|
|
35
35
|
|
|
36
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
36
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
37
37
|
`;
|
|
38
38
|
exports.HeaderTitle = (0, styled_1.styled)(Typography_1.default) `
|
|
39
39
|
margin-right: ${({ theme }) => theme.spacing(2)};
|
|
@@ -12,7 +12,7 @@ exports.Wrapper = styled_1.styled.footer `
|
|
|
12
12
|
max-height: 76px;
|
|
13
13
|
margin-top: ${({ theme }) => theme.spacing(4)};
|
|
14
14
|
|
|
15
|
-
border-top: 1px solid ${({ theme }) => theme.palette.
|
|
15
|
+
border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
16
16
|
`;
|
|
17
17
|
exports.FooterDummy = styled_1.styled.div `
|
|
18
18
|
min-height: 20px;
|
|
@@ -89,7 +89,7 @@ const getBorder = ({ isChecked, variant, color, theme, disabled, tagState = 'def
|
|
|
89
89
|
if (tagState === 'default') {
|
|
90
90
|
`1px solid ${theme.palette.grey[600]}`;
|
|
91
91
|
}
|
|
92
|
-
return `1px solid ${theme.palette.
|
|
92
|
+
return `1px solid ${theme.palette.components.border.default}`;
|
|
93
93
|
};
|
|
94
94
|
exports.Wrapper = styled_1.styled.label `
|
|
95
95
|
width: fit-content;
|
|
@@ -6,7 +6,7 @@ const mixins_1 = require("../styled/mixins");
|
|
|
6
6
|
const constants_1 = require("./constants");
|
|
7
7
|
const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, isIndeterminate, }) => {
|
|
8
8
|
if (isDisabled) {
|
|
9
|
-
return theme.palette.
|
|
9
|
+
return theme.palette.components.border.default;
|
|
10
10
|
}
|
|
11
11
|
if (isError) {
|
|
12
12
|
return isHover ? theme.palette.error[700] : theme.palette.error[800];
|
|
@@ -14,7 +14,9 @@ const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, isInd
|
|
|
14
14
|
if (isChecked || isIndeterminate) {
|
|
15
15
|
return isHover ? theme.palette.primary[700] : theme.palette.primary[800];
|
|
16
16
|
}
|
|
17
|
-
return isHover
|
|
17
|
+
return isHover
|
|
18
|
+
? theme.palette.grey[900]
|
|
19
|
+
: theme.palette.components.border.default;
|
|
18
20
|
};
|
|
19
21
|
exports.Wrapper = (0, styled_1.styled)('span', {
|
|
20
22
|
shouldForwardProp: (prop) => !['$isDisabled', '$isError', '$isChecked', '$isIndeterminate'].includes(prop),
|
|
@@ -17,7 +17,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
17
17
|
padding: ${({ theme }) => theme.spacing(0, 2)};
|
|
18
18
|
|
|
19
19
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
20
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
20
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
21
21
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
22
22
|
|
|
23
23
|
transition: ${({ theme }) => theme.transitions.create(['border-color', 'background-color'], {
|
|
@@ -10,7 +10,7 @@ const getBorder = (theme, isDisabled, isError) => {
|
|
|
10
10
|
}
|
|
11
11
|
return isError
|
|
12
12
|
? `1px solid ${theme.palette.error[800]}`
|
|
13
|
-
: `1px solid ${theme.palette.
|
|
13
|
+
: `1px solid ${theme.palette.components.border.default};`;
|
|
14
14
|
};
|
|
15
15
|
exports.Wrapper = styled_1.styled.div `
|
|
16
16
|
display: flex;
|
|
@@ -40,7 +40,7 @@ exports.Wrapper = styled_1.styled.article `
|
|
|
40
40
|
&.${constants_1.complianceStatusClassnames.outlined} {
|
|
41
41
|
padding: ${({ theme }) => theme.spacing(3)};
|
|
42
42
|
|
|
43
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
43
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
44
44
|
}
|
|
45
45
|
`;
|
|
46
46
|
exports.Inner = (0, styled_1.styled)('ul') `
|
|
@@ -22,7 +22,7 @@ exports.DecorativeHeaderBackground = styled_1.styled.div `
|
|
|
22
22
|
height: ${({ $isFocusedMode }) => ($isFocusedMode ? 0 : constants_1.HEADER_HEIGHT_DESKTOP)};
|
|
23
23
|
|
|
24
24
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
25
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
25
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
26
26
|
|
|
27
27
|
transition: ${({ theme }) => {
|
|
28
28
|
return theme.transitions.create(['height'], {
|
|
@@ -45,7 +45,7 @@ exports.HeaderRoot = (0, styled_1.styled)('header', {
|
|
|
45
45
|
padding: ${({ theme }) => theme.spacing(0, 2, 0, 1)};
|
|
46
46
|
|
|
47
47
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
48
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
48
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
49
49
|
|
|
50
50
|
transition: unset;
|
|
51
51
|
}
|
|
@@ -160,14 +160,14 @@ exports.PriorityFeatureWrapper = styled_1.styled.div `
|
|
|
160
160
|
height: ${constants_3.MOBILE_BUTTON_HEIGHT};
|
|
161
161
|
padding: ${({ theme }) => theme.spacing(3, 4)};
|
|
162
162
|
|
|
163
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
163
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
164
164
|
|
|
165
165
|
&:hover {
|
|
166
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
166
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
&:active {
|
|
170
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
170
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -9,7 +9,7 @@ exports.Content = styled_1.styled.div `
|
|
|
9
9
|
min-height: 0;
|
|
10
10
|
|
|
11
11
|
background-color: ${({ theme }) => theme.palette.common.white};
|
|
12
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
12
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
13
13
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
14
14
|
|
|
15
15
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
@@ -88,7 +88,7 @@ exports.SidebarHeader = styled_1.styled.header `
|
|
|
88
88
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
89
89
|
padding: ${({ theme }) => theme.spacing(4)};
|
|
90
90
|
|
|
91
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
91
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
92
92
|
|
|
93
93
|
/* Причина игнора: Не критично для отображения */
|
|
94
94
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
@@ -151,7 +151,7 @@ exports.Footer = styled_1.styled.footer `
|
|
|
151
151
|
margin-top: auto;
|
|
152
152
|
|
|
153
153
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
154
|
-
border-top: 1px solid ${({ theme }) => theme.palette.
|
|
154
|
+
border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
155
155
|
border-bottom-right-radius: ${({ theme }) => theme.shape.medium};
|
|
156
156
|
border-bottom-left-radius: ${({ theme }) => theme.shape.medium};
|
|
157
157
|
|
|
@@ -15,7 +15,7 @@ exports.Wrapper = (0, styled_1.styled)('div', {
|
|
|
15
15
|
padding: ${({ theme, $isPinned }) => $isPinned ? theme.spacing(4, 3) : theme.spacing(4, 2)};
|
|
16
16
|
|
|
17
17
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
18
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
18
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
19
19
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
20
20
|
|
|
21
21
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
@@ -12,7 +12,7 @@ exports.Wrapper = (0, styled_1.styled)('header', {
|
|
|
12
12
|
width: fit-content;
|
|
13
13
|
min-width: 100%;
|
|
14
14
|
|
|
15
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
15
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
16
16
|
`;
|
|
17
17
|
exports.CheckboxCell = styled_1.styled.div `
|
|
18
18
|
display: flex;
|
|
@@ -43,7 +43,7 @@ exports.DataGridSection = styled_1.styled.div `
|
|
|
43
43
|
|
|
44
44
|
height: 100%;
|
|
45
45
|
|
|
46
|
-
border-right: 1px solid ${({ theme }) => theme.palette.
|
|
46
|
+
border-right: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
& .${constants_1.dataGridClassnames.header} {
|
|
@@ -82,7 +82,7 @@ exports.DataGridSection = styled_1.styled.div `
|
|
|
82
82
|
|
|
83
83
|
height: 100%;
|
|
84
84
|
|
|
85
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
85
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
& .${constants_1.dataGridClassnames.header} {
|
|
@@ -27,7 +27,7 @@ exports.NestedRows = (0, styled_1.styled)('ul', {
|
|
|
27
27
|
width: 0;
|
|
28
28
|
height: 100%;
|
|
29
29
|
|
|
30
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
30
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
31
31
|
}
|
|
32
32
|
`;
|
|
33
33
|
exports.MoreButtonRow = (0, styled_1.styled)('li', {
|
|
@@ -53,8 +53,8 @@ exports.MoreButtonRow = (0, styled_1.styled)('li', {
|
|
|
53
53
|
width: ${constants_1.TREE_LINE_WIDTH}px;
|
|
54
54
|
height: 50%;
|
|
55
55
|
|
|
56
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
57
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
56
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
57
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
58
58
|
border-radius: 0 0 0 ${({ theme }) => theme.shape.small};
|
|
59
59
|
}
|
|
60
60
|
`;
|
|
@@ -24,7 +24,7 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
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
|
exports.ContentWrapper = styled_1.styled.div `
|
|
@@ -47,8 +47,8 @@ exports.ContentWrapper = styled_1.styled.div `
|
|
|
47
47
|
width: ${constants_1.TREE_LINE_WIDTH}px;
|
|
48
48
|
height: 50%;
|
|
49
49
|
|
|
50
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
51
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
50
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
51
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
52
52
|
border-radius: 0 0 0 ${({ theme }) => theme.shape.small};
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -18,7 +18,7 @@ exports.DashedSeparator = styled_1.styled.div `
|
|
|
18
18
|
height: 4px;
|
|
19
19
|
margin-right: ${({ theme }) => theme.spacing(2)};
|
|
20
20
|
|
|
21
|
-
border-bottom: 1px dashed ${({ theme }) => theme.palette.
|
|
21
|
+
border-bottom: 1px dashed ${({ theme }) => theme.palette.components.border.default};
|
|
22
22
|
|
|
23
23
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
24
24
|
display: none;
|
|
@@ -24,7 +24,7 @@ exports.Wrapper = styled_1.styled.article `
|
|
|
24
24
|
padding: ${({ theme }) => theme.spacing(4)};
|
|
25
25
|
|
|
26
26
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
27
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
27
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
28
28
|
}
|
|
29
29
|
`;
|
|
30
30
|
exports.ListWrapper = (0, styled_1.styled)('dl', {
|
|
@@ -36,7 +36,9 @@ exports.ListWrapper = (0, styled_1.styled)('dl', {
|
|
|
36
36
|
margin: 0;
|
|
37
37
|
padding: ${({ theme, $variant }) => $variant === 'contained' ? theme.spacing(4, 0) : theme.spacing(3, 0)};
|
|
38
38
|
|
|
39
|
-
border-top: ${({ $hasDivider, theme }) => $hasDivider
|
|
39
|
+
border-top: ${({ $hasDivider, theme }) => $hasDivider
|
|
40
|
+
? `1px solid ${theme.palette.components.border.default}`
|
|
41
|
+
: 'none'};
|
|
40
42
|
|
|
41
43
|
&:first-of-type {
|
|
42
44
|
padding-top: 0;
|
|
@@ -9,7 +9,7 @@ exports.Wrapper = (0, styled_1.styled)('details') `
|
|
|
9
9
|
|
|
10
10
|
width: 100%;
|
|
11
11
|
|
|
12
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
12
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
13
13
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
14
14
|
|
|
15
15
|
/* Причина игнора: Не критично для отображения */
|
|
@@ -25,7 +25,7 @@ exports.Item = styled_1.styled.li `
|
|
|
25
25
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
26
26
|
padding: ${({ theme }) => theme.spacing(5, 4)};
|
|
27
27
|
|
|
28
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
28
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
`;
|
|
@@ -44,7 +44,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
44
44
|
margin-top: ${({ theme }) => theme.spacing(1)};
|
|
45
45
|
margin-left: ${({ $level }) => `calc(${$level} * 20px)`};
|
|
46
46
|
|
|
47
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
47
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
48
48
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
49
49
|
|
|
50
50
|
&.${constants_1.infiniteTreeListClassnames.addAnimation} {
|
|
@@ -13,7 +13,7 @@ const constants_2 = require("./constants");
|
|
|
13
13
|
exports.ActionWrapper = styled_1.styled.div `
|
|
14
14
|
padding: ${({ theme }) => theme.spacing(2)};
|
|
15
15
|
|
|
16
|
-
border-top: 1px solid ${({ theme }) => theme.palette.
|
|
16
|
+
border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
17
17
|
|
|
18
18
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
19
19
|
padding: ${({ theme }) => theme.spacing(4)};
|
|
@@ -23,7 +23,7 @@ exports.SearchWrapper = styled_1.styled.div `
|
|
|
23
23
|
max-width: 300px;
|
|
24
24
|
padding: ${({ theme }) => theme.spacing(2, 3)};
|
|
25
25
|
|
|
26
|
-
border-bottom: ${({ theme }) => `1px solid ${theme.palette.
|
|
26
|
+
border-bottom: ${({ theme }) => `1px solid ${theme.palette.components.border.default}`};
|
|
27
27
|
|
|
28
28
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
29
29
|
max-width: unset;
|
|
@@ -11,7 +11,7 @@ exports.StyledTypography = (0, styled_1.styled)(Typography_1.Typography) `
|
|
|
11
11
|
|
|
12
12
|
text-align: start;
|
|
13
13
|
|
|
14
|
-
border-left: 2px solid ${({ theme }) => theme.palette.
|
|
14
|
+
border-left: 2px solid ${({ theme }) => theme.palette.components.border.default};
|
|
15
15
|
|
|
16
16
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
17
17
|
margin-bottom: 0;
|
|
@@ -192,7 +192,7 @@ exports.LineConnector = styled_1.styled.div `
|
|
|
192
192
|
|
|
193
193
|
height: 2px;
|
|
194
194
|
|
|
195
|
-
border-top: 2px solid ${({ theme }) => theme.palette.
|
|
195
|
+
border-top: 2px solid ${({ theme }) => theme.palette.components.border.default};
|
|
196
196
|
|
|
197
197
|
&.${constants_4.stepClassnames.alternativeLabel} {
|
|
198
198
|
position: absolute;
|
|
@@ -208,7 +208,7 @@ exports.LineConnector = styled_1.styled.div `
|
|
|
208
208
|
margin-left: 9px;
|
|
209
209
|
|
|
210
210
|
border-top: unset;
|
|
211
|
-
border-left: 2px solid ${({ theme }) => theme.palette.
|
|
211
|
+
border-left: 2px solid ${({ theme }) => theme.palette.components.border.default};
|
|
212
212
|
|
|
213
213
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
214
214
|
margin-left: 11px;
|
|
@@ -11,8 +11,8 @@ exports.Wrapper = styled_1.styled.aside `
|
|
|
11
11
|
width: ${constants_1.PAGE_ASIDE_WIDTH};
|
|
12
12
|
padding: ${({ theme }) => theme.spacing(4, 6)};
|
|
13
13
|
|
|
14
|
-
border-top: 1px solid ${({ theme }) => theme.palette.
|
|
15
|
-
border-left: 1px solid ${({ theme }) => theme.palette.
|
|
14
|
+
border-top: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
15
|
+
border-left: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
16
16
|
|
|
17
17
|
${({ theme }) => theme.breakpoints.down('laptop')} {
|
|
18
18
|
padding: ${({ theme }) => theme.spacing(4)};
|
|
@@ -26,7 +26,7 @@ exports.Wrapper = styled_1.styled.aside `
|
|
|
26
26
|
margin: ${({ theme }) => theme.spacing(0, 4, 4)};
|
|
27
27
|
|
|
28
28
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
29
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
29
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
30
30
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
31
31
|
}
|
|
32
32
|
`;
|
|
@@ -10,13 +10,13 @@ exports.Wrapper = styled_1.styled.header `
|
|
|
10
10
|
|
|
11
11
|
padding: ${({ theme }) => theme.spacing(4, 6)};
|
|
12
12
|
|
|
13
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
13
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
14
14
|
|
|
15
15
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
16
16
|
margin: ${({ theme }) => theme.spacing(0, 4)};
|
|
17
17
|
|
|
18
18
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
19
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
19
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
20
20
|
border-bottom: none;
|
|
21
21
|
border-top-left-radius: ${({ theme }) => theme.shape.medium};
|
|
22
22
|
border-top-right-radius: ${({ theme }) => theme.shape.medium};
|
|
@@ -20,7 +20,9 @@ exports.Wrapper = (0, styled_1.styled)('article', {
|
|
|
20
20
|
grid-row: 2;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
|
|
23
|
-
border-top: ${({ $isSeparatorShown, theme }) => $isSeparatorShown
|
|
23
|
+
border-top: ${({ $isSeparatorShown, theme }) => $isSeparatorShown
|
|
24
|
+
? `1px solid ${theme.palette.components.border.default}`
|
|
25
|
+
: 'none'};
|
|
24
26
|
|
|
25
27
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
26
28
|
overflow: unset;
|
|
@@ -78,7 +80,7 @@ exports.Content = styled_1.styled.div `
|
|
|
78
80
|
padding: ${({ theme }) => theme.spacing(4, 4, 3)};
|
|
79
81
|
|
|
80
82
|
background-color: ${({ theme }) => theme.palette.background.default};
|
|
81
|
-
border: 1px solid ${({ theme }) => theme.palette.
|
|
83
|
+
border: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
82
84
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
83
85
|
|
|
84
86
|
/* Причина игнора: Не критично для отображения */
|
|
@@ -21,7 +21,7 @@ exports.PageSubheader = styled_1.styled.div `
|
|
|
21
21
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
22
22
|
padding: ${({ theme }) => theme.spacing(0, 4, 4, 4)};
|
|
23
23
|
|
|
24
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
24
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
25
25
|
}
|
|
26
26
|
`;
|
|
27
27
|
exports.DesktopTitleWrapper = styled_1.styled.div `
|
|
@@ -44,7 +44,7 @@ exports.Wrapper = styled_1.styled.header `
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
47
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
47
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -82,7 +82,7 @@ exports.MobileTitleWrapper = styled_1.styled.div `
|
|
|
82
82
|
.${constants_1.pageHeaderClassnames.filters},
|
|
83
83
|
.${constants_1.pageHeaderClassnames.subheader}
|
|
84
84
|
))) {
|
|
85
|
-
border-bottom: 1px solid ${({ theme }) => theme.palette.
|
|
85
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
86
86
|
}
|
|
87
87
|
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
88
88
|
|
|
@@ -6,7 +6,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
6
6
|
height: 100%;
|
|
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')} {
|
|
@@ -17,7 +17,7 @@ exports.SectionContainer = styled_1.styled.div `
|
|
|
17
17
|
&.${constants_1.pageLayoutSectionContainerClassnames.withAside} {
|
|
18
18
|
padding-top: ${({ theme }) => theme.spacing(4)};
|
|
19
19
|
|
|
20
|
-
border-top: ${({ theme }) => `1px solid ${theme.palette.
|
|
20
|
+
border-top: ${({ theme }) => `1px solid ${theme.palette.components.border.default}`};
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
${({ theme }) => theme.breakpoints.down('laptop')} {
|