@astral/ui 4.101.0 → 4.102.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 (91) hide show
  1. package/components/Alert/styles.js +12 -2
  2. package/components/Autocomplete/styles.js +5 -2
  3. package/components/Breadcrumbs/styles.js +18 -13
  4. package/components/CheckableTag/styles.js +6 -3
  5. package/components/Checkbox/styles.js +10 -7
  6. package/components/Chip/styles.js +11 -6
  7. package/components/CodeField/styles.js +5 -2
  8. package/components/CopyTypography/styles.js +19 -5
  9. package/components/DashboardLayout/Header/styles.js +5 -2
  10. package/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +5 -2
  11. package/components/DataGrid/Row/styles.js +14 -19
  12. package/components/DataGrid/RowBase/styles.js +10 -17
  13. package/components/DataGridCollapsibleRow/styles.js +5 -2
  14. package/components/Description/Value/styles.js +5 -2
  15. package/components/ExpansionPanel/Summary/styles.js +5 -2
  16. package/components/Fab/styles.js +12 -3
  17. package/components/InfiniteDataList/styles.js +5 -2
  18. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +5 -2
  19. package/components/InputGroup/styles.js +8 -5
  20. package/components/JsonViewer/JsonNode/styles.js +5 -2
  21. package/components/Link/styles.js +11 -6
  22. package/components/ListItem/styles.js +5 -2
  23. package/components/MenuOrganization/OrganizationButton/styles.js +5 -6
  24. package/components/NavMenu/Item/ItemButton/styles.js +14 -7
  25. package/components/NewStepper/Step/styles.js +18 -15
  26. package/components/Notification/NotificationStackContainer/styles.js +5 -2
  27. package/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +5 -6
  28. package/components/PageHeader/MobilePageActions/styles.js +0 -4
  29. package/components/Radio/styles.js +7 -4
  30. package/components/RadioCard/styles.js +5 -2
  31. package/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
  32. package/components/Tabs/Tab/styles.js +5 -2
  33. package/components/ToggleButton/styles.js +25 -10
  34. package/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
  35. package/components/Tree/TreeItem/styles.js +23 -10
  36. package/components/constants/index.d.ts +1 -0
  37. package/components/constants/index.js +1 -0
  38. package/components/constants/media.d.ts +8 -0
  39. package/components/constants/media.js +8 -0
  40. package/components/theme/components/MuiButton.js +46 -23
  41. package/components/theme/components/MuiListItemButton.js +10 -2
  42. package/components/theme/components/MuiMenuItem.js +5 -2
  43. package/components/theme/components/MuiOutlinedInput.js +15 -12
  44. package/components/theme/components/MuiSwitch.js +14 -9
  45. package/components/theme/components/MuiTableRow.js +11 -3
  46. package/node/components/Alert/styles.js +24 -14
  47. package/node/components/Autocomplete/styles.js +8 -5
  48. package/node/components/Breadcrumbs/styles.js +18 -13
  49. package/node/components/CheckableTag/styles.js +6 -3
  50. package/node/components/Checkbox/styles.js +26 -23
  51. package/node/components/Chip/styles.js +36 -31
  52. package/node/components/CodeField/styles.js +5 -2
  53. package/node/components/CopyTypography/styles.js +22 -8
  54. package/node/components/DashboardLayout/Header/styles.js +35 -32
  55. package/node/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +7 -4
  56. package/node/components/DataGrid/Row/styles.js +41 -46
  57. package/node/components/DataGrid/RowBase/styles.js +16 -23
  58. package/node/components/DataGridCollapsibleRow/styles.js +11 -8
  59. package/node/components/Description/Value/styles.js +5 -2
  60. package/node/components/ExpansionPanel/Summary/styles.js +5 -2
  61. package/node/components/Fab/styles.js +12 -3
  62. package/node/components/InfiniteDataList/styles.js +7 -4
  63. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +11 -8
  64. package/node/components/InputGroup/styles.js +8 -5
  65. package/node/components/JsonViewer/JsonNode/styles.js +5 -2
  66. package/node/components/Link/styles.js +13 -8
  67. package/node/components/ListItem/styles.js +10 -7
  68. package/node/components/MenuOrganization/OrganizationButton/styles.js +5 -6
  69. package/node/components/NavMenu/Item/ItemButton/styles.js +16 -9
  70. package/node/components/NewStepper/Step/styles.js +68 -65
  71. package/node/components/Notification/NotificationStackContainer/styles.js +57 -54
  72. package/node/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +12 -13
  73. package/node/components/PageHeader/MobilePageActions/styles.js +0 -4
  74. package/node/components/Radio/styles.js +20 -17
  75. package/node/components/RadioCard/styles.js +7 -4
  76. package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
  77. package/node/components/Tabs/Tab/styles.js +5 -2
  78. package/node/components/ToggleButton/styles.js +27 -12
  79. package/node/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
  80. package/node/components/Tree/TreeItem/styles.js +44 -31
  81. package/node/components/constants/index.d.ts +1 -0
  82. package/node/components/constants/index.js +1 -0
  83. package/node/components/constants/media.d.ts +8 -0
  84. package/node/components/constants/media.js +11 -0
  85. package/node/components/theme/components/MuiButton.js +46 -23
  86. package/node/components/theme/components/MuiListItemButton.js +10 -2
  87. package/node/components/theme/components/MuiMenuItem.js +5 -2
  88. package/node/components/theme/components/MuiOutlinedInput.js +15 -12
  89. package/node/components/theme/components/MuiSwitch.js +14 -9
  90. package/node/components/theme/components/MuiTableRow.js +11 -3
  91. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Item = void 0;
4
+ const constants_1 = require("../constants");
4
5
  const styled_1 = require("../styled");
5
- const constants_1 = require("./constants");
6
+ const constants_2 = require("./constants");
6
7
  exports.Item = styled_1.styled.li `
7
8
  list-style-type: none;
8
9
 
9
- ${`.${constants_1.infiniteDataListClassnames.item}`} {
10
+ ${`.${constants_2.infiniteDataListClassnames.item}`} {
10
11
  cursor: pointer;
11
12
 
12
13
  padding: ${({ theme }) => theme.spacing(3, 4)};
@@ -18,8 +19,10 @@ exports.Item = styled_1.styled.li `
18
19
  duration: theme.transitions.duration.shortest,
19
20
  })};
20
21
 
21
- &:hover {
22
- background-color: ${({ theme }) => theme.palette.background.element};
22
+ ${constants_1.HOVER_MEDIA} {
23
+ &:hover {
24
+ background-color: ${({ theme }) => theme.palette.background.element};
25
+ }
23
26
  }
24
27
 
25
28
  ${({ theme }) => theme.breakpoints.down('mobile')} {
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LoaderWrapper = exports.ActionsWrapper = exports.Wrapper = void 0;
4
+ const constants_1 = require("../../constants");
4
5
  const styled_1 = require("../../styled");
5
- const constants_1 = require("./constants");
6
+ const constants_2 = require("./constants");
6
7
  exports.Wrapper = styled_1.styled.div `
7
8
  cursor: default;
8
9
 
@@ -21,26 +22,28 @@ exports.Wrapper = styled_1.styled.div `
21
22
  duration: theme.transitions.duration.shortest,
22
23
  })};
23
24
 
24
- &:hover {
25
- background-color: ${({ theme }) => theme.palette.background.elementHover};
25
+ ${constants_1.HOVER_MEDIA} {
26
+ &:hover {
27
+ background-color: ${({ theme }) => theme.palette.background.elementHover};
28
+ }
26
29
  }
27
30
 
28
- &.${constants_1.infiniteTreeListItemClassnames.hasNested} {
31
+ &.${constants_2.infiniteTreeListItemClassnames.hasNested} {
29
32
  cursor: pointer;
30
33
  }
31
34
 
32
- &.${constants_1.infiniteTreeListItemClassnames.loading} {
35
+ &.${constants_2.infiniteTreeListItemClassnames.loading} {
33
36
  cursor: default;
34
37
  }
35
38
 
36
- &.${constants_1.infiniteTreeListItemClassnames.disabled} {
39
+ &.${constants_2.infiniteTreeListItemClassnames.disabled} {
37
40
  cursor: default;
38
41
 
39
42
  opacity: 0.5;
40
43
  }
41
44
 
42
- &.${constants_1.infiniteTreeListItemClassnames.loading}:hover,
43
- &.${constants_1.infiniteTreeListItemClassnames.disabled}:hover {
45
+ &.${constants_2.infiniteTreeListItemClassnames.loading}:hover,
46
+ &.${constants_2.infiniteTreeListItemClassnames.disabled}:hover {
44
47
  background-color: ${({ theme }) => theme.palette.background.default};
45
48
  }
46
49
  `;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InputsWrapper = void 0;
4
4
  const FormControl_1 = require("@mui/material/FormControl");
5
5
  const InputBase_1 = require("@mui/material/InputBase");
6
+ const constants_1 = require("../constants");
6
7
  const styled_1 = require("../styled");
7
8
  exports.InputsWrapper = styled_1.styled.fieldset `
8
9
  display: grid;
@@ -79,11 +80,13 @@ exports.InputsWrapper = styled_1.styled.fieldset `
79
80
  width: auto;
80
81
  margin-right: -2px;
81
82
 
82
- &:hover {
83
- z-index: 3;
84
-
85
- &.${InputBase_1.inputBaseClasses.disabled} {
86
- z-index: 1;
83
+ ${constants_1.HOVER_MEDIA} {
84
+ &:hover {
85
+ z-index: 3;
86
+
87
+ &.${InputBase_1.inputBaseClasses.disabled} {
88
+ z-index: 1;
89
+ }
87
90
  }
88
91
  }
89
92
  }
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Chevron = exports.IconWrapper = exports.NodeContainer = void 0;
4
4
  const ChevronROutlineMd_1 = require("../../../icons/ChevronROutlineMd");
5
+ const constants_1 = require("../../constants");
5
6
  const styled_1 = require("../../styled");
6
7
  exports.NodeContainer = (0, styled_1.styled)('dl', {
7
8
  shouldForwardProp: (prop) => prop !== 'level' && prop !== 'isExpandable',
@@ -24,8 +25,10 @@ exports.NodeContainer = (0, styled_1.styled)('dl', {
24
25
  duration: theme.transitions.duration.shortest,
25
26
  })};
26
27
 
27
- &:hover {
28
- background-color: ${({ theme, isExpandable }) => isExpandable ? theme.palette.background.elementHover : 'transparent'};
28
+ ${constants_1.HOVER_MEDIA} {
29
+ &:hover {
30
+ background-color: ${({ theme, isExpandable }) => isExpandable ? theme.palette.background.elementHover : 'transparent'};
31
+ }
29
32
  }
30
33
  `;
31
34
  exports.IconWrapper = (0, styled_1.styled)('div', {
@@ -5,9 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.StyledLink = void 0;
7
7
  const Link_1 = __importDefault(require("@mui/material/Link"));
8
+ const constants_1 = require("../constants");
8
9
  const SvgIcon_1 = require("../SvgIcon");
9
10
  const styled_1 = require("../styled");
10
- const constants_1 = require("./constants");
11
+ const constants_2 = require("./constants");
11
12
  exports.StyledLink = (0, styled_1.styled)(Link_1.default) `
12
13
  display: inline-flex;
13
14
  gap: ${({ theme }) => theme.spacing(1)};
@@ -22,26 +23,30 @@ exports.StyledLink = (0, styled_1.styled)(Link_1.default) `
22
23
  color: ${({ theme }) => theme.palette.components.link.visited};
23
24
  }
24
25
 
25
- &:hover {
26
- color: ${({ theme }) => theme.palette.components.link.hover};
27
- text-decoration: underline;
26
+ ${constants_1.HOVER_MEDIA} {
27
+ &:hover {
28
+ color: ${({ theme }) => theme.palette.components.link.hover};
29
+ text-decoration: underline;
30
+ }
28
31
  }
29
32
 
30
33
  &:active {
31
34
  color: ${({ theme }) => theme.palette.components.link.active};
32
35
  }
33
36
 
34
- &.${constants_1.linkClassnames.isContrast} {
37
+ &.${constants_2.linkClassnames.isContrast} {
35
38
  color: ${({ theme }) => theme.palette.components.link.contrast.main};
36
39
 
37
40
  &:visited {
38
41
  color: ${({ theme }) => theme.palette.components.link.contrast.visited};
39
42
  }
40
43
 
41
- &:hover {
42
- color: ${({ theme }) => theme.palette.components.link.contrast.hover};
44
+ ${constants_1.HOVER_MEDIA} {
45
+ &:hover {
46
+ color: ${({ theme }) => theme.palette.components.link.contrast.hover};
47
+ }
43
48
  }
44
-
49
+
45
50
  &:active {
46
51
  color: ${({ theme }) => theme.palette.components.link.contrast.active};
47
52
  }
@@ -5,8 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.StyledListItem = exports.getColor = exports.getBgColor = void 0;
7
7
  const ListItem_1 = __importDefault(require("@mui/material/ListItem"));
8
+ const constants_1 = require("../constants");
8
9
  const styled_1 = require("../styled");
9
- const constants_1 = require("./constants");
10
+ const constants_2 = require("./constants");
10
11
  const getBgColor = ({ selected, theme, }) => {
11
12
  if (selected) {
12
13
  return theme.palette.grey[200];
@@ -18,10 +19,10 @@ const getColor = ({ theme, selected, listItemState, }) => {
18
19
  if (selected) {
19
20
  return theme.palette.primary[800];
20
21
  }
21
- if (listItemState === constants_1.ListItemStates.Default) {
22
+ if (listItemState === constants_2.ListItemStates.Default) {
22
23
  return theme.palette.grey[900];
23
24
  }
24
- if (listItemState === constants_1.ListItemStates.Hover) {
25
+ if (listItemState === constants_2.ListItemStates.Hover) {
25
26
  return theme.palette.primary[800];
26
27
  }
27
28
  return theme.palette.grey[900];
@@ -35,15 +36,17 @@ exports.StyledListItem = (0, styled_1.styled)(ListItem_1.default, {
35
36
 
36
37
  padding-left: ${({ theme }) => theme.spacing(3)};
37
38
 
38
- color: ${(props) => (0, exports.getColor)({ ...props, listItemState: constants_1.ListItemStates.Default })};
39
+ color: ${(props) => (0, exports.getColor)({ ...props, listItemState: constants_2.ListItemStates.Default })};
39
40
 
40
41
  background-color: ${(props) => (0, exports.getBgColor)({ ...props })};
41
42
  border-radius: ${({ theme }) => theme.shape.small};
42
43
 
43
- :hover {
44
- color: ${(props) => (0, exports.getColor)({
44
+ ${constants_1.HOVER_MEDIA} {
45
+ :hover {
46
+ color: ${(props) => (0, exports.getColor)({
45
47
  ...props,
46
- listItemState: constants_1.ListItemStates.Hover,
48
+ listItemState: constants_2.ListItemStates.Hover,
47
49
  })};
50
+ }
48
51
  }
49
52
  `;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StyledTypography = exports.Container = exports.StyledChevron = exports.StyledButton = void 0;
4
4
  const Button_1 = require("../../Button");
5
5
  const Chevron_1 = require("../../Chevron");
6
+ const constants_1 = require("../../constants");
6
7
  const styled_1 = require("../../styled/styled");
7
8
  const Typography_1 = require("../../Typography");
8
9
  exports.StyledButton = (0, styled_1.styled)(Button_1.Button) `
@@ -16,8 +17,10 @@ exports.StyledButton = (0, styled_1.styled)(Button_1.Button) `
16
17
 
17
18
  text-align: left;
18
19
 
19
- &:hover {
20
- background-color: ${({ theme }) => theme.palette.background.elementHover};
20
+ ${constants_1.HOVER_MEDIA} {
21
+ &:hover {
22
+ background-color: ${({ theme }) => theme.palette.background.elementHover};
23
+ }
21
24
  }
22
25
 
23
26
  &:active {
@@ -35,10 +38,6 @@ exports.StyledButton = (0, styled_1.styled)(Button_1.Button) `
35
38
 
36
39
  border-radius: 0;
37
40
 
38
- &:hover {
39
- background-color: initial;
40
- }
41
-
42
41
  &:active {
43
42
  background-color: ${({ theme }) => theme.palette.primary[100]};
44
43
  }
@@ -4,13 +4,14 @@ exports.StyledPageDotOutlineMd = exports.EndAdornmentWrapper = exports.NavMenuIt
4
4
  const ListItemButton_1 = require("@mui/material/ListItemButton");
5
5
  const ChevronDOutlineMd_1 = require("../../../../icons/ChevronDOutlineMd");
6
6
  const PageDotOutlineMd_1 = require("../../../../icons/PageDotOutlineMd");
7
+ const constants_1 = require("../../../constants");
7
8
  const ListItemButton_2 = require("../../../ListItemButton");
8
9
  const ListItemIcon_1 = require("../../../ListItemIcon");
9
10
  const OverflowTypography_1 = require("../../../OverflowTypography");
10
11
  const SvgIcon_1 = require("../../../SvgIcon");
11
12
  const styled_1 = require("../../../styled");
12
13
  const mixins_1 = require("../../../styled/mixins");
13
- const constants_1 = require("./constants");
14
+ const constants_2 = require("./constants");
14
15
  exports.StyledListItemButton = (0, styled_1.styled)(ListItemButton_2.ListItemButton) `
15
16
  overflow: hidden;
16
17
 
@@ -36,23 +37,29 @@ exports.StyledListItemButton = (0, styled_1.styled)(ListItemButton_2.ListItemBut
36
37
  border-left: 3px solid ${({ theme }) => theme.palette.primary[800]};
37
38
  }
38
39
 
39
- &:hover {
40
- background-color: ${({ theme }) => theme.palette.primary[100]};
40
+ ${constants_1.HOVER_MEDIA} {
41
+ &:hover {
42
+ background-color: ${({ theme }) => theme.palette.primary[100]};
43
+ }
41
44
  }
42
45
 
43
- &.${constants_1.navMenuItemButtonClassnames.hasGroup} {
46
+ &.${constants_2.navMenuItemButtonClassnames.hasGroup} {
44
47
  background-color: inherit;
45
48
 
46
- &:hover {
47
- background-color: inherit;
49
+ ${constants_1.HOVER_MEDIA} {
50
+ &:hover {
51
+ background-color: inherit;
52
+ }
48
53
  }
49
54
  }
50
55
  }
51
56
 
52
- &:hover {
53
- color: ${({ theme }) => theme.palette.primary['800']};
57
+ ${constants_1.HOVER_MEDIA} {
58
+ &:hover {
59
+ color: ${({ theme }) => theme.palette.primary['800']};
54
60
 
55
- background-color: inherit;
61
+ background-color: inherit;
62
+ }
56
63
  }
57
64
 
58
65
  &:active {
@@ -3,87 +3,88 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StyledButton = exports.StepContentWrapper = exports.LabelWrapper = exports.LineConnector = exports.ArrowConnector = exports.IconWrapper = exports.Wrapper = void 0;
4
4
  const NextOutlineMd_1 = require("../../../icons/NextOutlineMd");
5
5
  const Button_1 = require("../../Button");
6
+ const constants_1 = require("../../constants");
6
7
  const styled_1 = require("../../styled");
7
- const constants_1 = require("../../Typography/constants");
8
- const constants_2 = require("../constants");
9
- const constants_3 = require("../StepIcon/constants");
10
- const constants_4 = require("./constants");
8
+ const constants_2 = require("../../Typography/constants");
9
+ const constants_3 = require("../constants");
10
+ const constants_4 = require("../StepIcon/constants");
11
+ const constants_5 = require("./constants");
11
12
  exports.Wrapper = styled_1.styled.div `
12
- counter-increment: ${constants_2.STEPPER_ORDER_COUNTER_NAME};
13
+ counter-increment: ${constants_3.STEPPER_ORDER_COUNTER_NAME};
13
14
 
14
15
  display: flex;
15
16
  gap: ${({ theme }) => theme.microSpacing(5)};
16
17
  align-items: center;
17
18
 
18
- &.${constants_4.stepClassnames.alternativeLabel} {
19
+ &.${constants_5.stepClassnames.alternativeLabel} {
19
20
  position: relative;
20
21
 
21
22
  flex: 1;
22
23
  flex-direction: column;
23
24
 
24
- & .${constants_4.stepClassnames.labelContainer} {
25
+ & .${constants_5.stepClassnames.labelContainer} {
25
26
  flex-direction: column;
26
27
 
27
28
  text-align: center;
28
29
  }
29
30
 
30
31
  &:first-of-type {
31
- & .${constants_4.stepClassnames.connector} {
32
+ & .${constants_5.stepClassnames.connector} {
32
33
  display: none;
33
34
  }
34
35
  }
35
36
  }
36
37
 
37
- &.${constants_4.stepClassnames.connectorArrow} {
38
- & .${constants_4.stepClassnames.content} {
38
+ &.${constants_5.stepClassnames.connectorArrow} {
39
+ & .${constants_5.stepClassnames.content} {
39
40
  padding: ${({ theme }) => theme.microSpacing(5, 0)};
40
41
  }
41
42
 
42
- &:not(:first-of-type) .${constants_4.stepClassnames.content} {
43
+ &:not(:first-of-type) .${constants_5.stepClassnames.content} {
43
44
  margin-left: ${({ theme }) => theme.spacing(2)};
44
45
  }
45
46
 
46
- &:last-of-type .${constants_4.stepClassnames.connector} {
47
+ &:last-of-type .${constants_5.stepClassnames.connector} {
47
48
  display: none;
48
49
  }
49
50
  }
50
51
 
51
- &.${constants_4.stepClassnames.connectorLine} {
52
- &.${constants_4.stepClassnames.orientationHorizontal} {
53
- & .${constants_4.stepClassnames.content} {
52
+ &.${constants_5.stepClassnames.connectorLine} {
53
+ &.${constants_5.stepClassnames.orientationHorizontal} {
54
+ & .${constants_5.stepClassnames.content} {
54
55
  align-items: center;
55
56
 
56
57
  padding: ${({ theme }) => theme.spacing(0, 1)};
57
58
  }
58
59
 
59
60
 
60
- &.${constants_4.stepClassnames.alternativeLabel} {
61
- & .${constants_4.stepClassnames.content} {
61
+ &.${constants_5.stepClassnames.alternativeLabel} {
62
+ & .${constants_5.stepClassnames.content} {
62
63
  padding: ${({ theme }) => theme.microSpacing(3, 0)};
63
64
  }
64
65
  }
65
66
  }
66
67
 
67
- &.${constants_4.stepClassnames.orientationVertical} {
68
- & .${constants_4.stepClassnames.labelContainer} {
68
+ &.${constants_5.stepClassnames.orientationVertical} {
69
+ & .${constants_5.stepClassnames.labelContainer} {
69
70
  color: ${({ theme }) => theme.palette.grey[900]};
70
71
  }
71
72
 
72
- & .${constants_4.stepClassnames.label} {
73
+ & .${constants_5.stepClassnames.label} {
73
74
  font-size: ${({ theme }) => theme.typography.body1.fontSize};
74
75
  line-height: ${({ theme }) => theme.typography.body1.lineHeight};
75
76
  }
76
77
 
77
- & .${constants_4.stepClassnames.content} {
78
+ & .${constants_5.stepClassnames.content} {
78
79
  padding: ${({ theme }) => theme.spacing(1, 0, 0)};
79
80
  }
80
81
 
81
- & .${constants_4.stepClassnames.connector}:not(.${constants_4.stepClassnames.hasDescription}) {
82
+ & .${constants_5.stepClassnames.connector}:not(.${constants_5.stepClassnames.hasDescription}) {
82
83
  margin-bottom: ${({ theme }) => theme.microSpacing(1)};
83
84
  }
84
85
 
85
86
  &:last-of-type {
86
- & .${constants_4.stepClassnames.description} {
87
+ & .${constants_5.stepClassnames.description} {
87
88
  min-height: 0;
88
89
  margin: 0;
89
90
  padding-left: ${({ theme }) => theme.spacing(6)};
@@ -95,49 +96,49 @@ exports.Wrapper = styled_1.styled.div `
95
96
  }
96
97
  }
97
98
 
98
- & .${constants_4.stepClassnames.connector} {
99
+ & .${constants_5.stepClassnames.connector} {
99
100
  display: none;
100
101
  }
101
102
  }
102
103
 
103
104
  &:last-of-type {
104
- & .${constants_4.stepClassnames.content} {
105
+ & .${constants_5.stepClassnames.content} {
105
106
  padding: ${({ theme }) => theme.spacing(1, 0)};
106
107
 
107
- & .${constants_4.stepClassnames.description} {
108
+ & .${constants_5.stepClassnames.description} {
108
109
  margin-bottom: 0;
109
110
  }
110
111
  }
111
112
  }
112
113
 
113
- & .${constants_4.stepClassnames.labelMobile} {
114
+ & .${constants_5.stepClassnames.labelMobile} {
114
115
  display: none;
115
116
  }
116
117
 
117
- & .${constants_4.stepClassnames.label} {
118
+ & .${constants_5.stepClassnames.label} {
118
119
  display: block;
119
120
  }
120
121
  }
121
122
  }
122
123
 
123
- & .${constants_4.stepClassnames.content} {
124
- &.${constants_4.stepClassnames.active} {
125
- & .${constants_4.stepClassnames.label} {
124
+ & .${constants_5.stepClassnames.content} {
125
+ &.${constants_5.stepClassnames.active} {
126
+ & .${constants_5.stepClassnames.label} {
126
127
  color: ${({ theme }) => theme.palette.grey[900]};
127
128
  }
128
129
 
129
- & .${constants_3.stepIconClassnames.root} {
130
+ & .${constants_4.stepIconClassnames.root} {
130
131
  color: ${({ theme }) => theme.palette.primary[800]};
131
132
 
132
- &.${constants_3.stepIconClassnames.success} {
133
+ &.${constants_4.stepIconClassnames.success} {
133
134
  color: ${({ theme }) => theme.palette.success[800]};
134
135
  }
135
136
 
136
- &.${constants_3.stepIconClassnames.error} {
137
+ &.${constants_4.stepIconClassnames.error} {
137
138
  color: ${({ theme }) => theme.palette.error[800]};
138
139
  }
139
140
 
140
- &.${constants_3.stepIconClassnames.warning} {
141
+ &.${constants_4.stepIconClassnames.warning} {
141
142
  color: ${({ theme }) => theme.palette.warning[800]};
142
143
  }
143
144
  }
@@ -145,8 +146,8 @@ exports.Wrapper = styled_1.styled.div `
145
146
  }
146
147
 
147
148
  ${({ theme }) => theme.breakpoints.down('mobile')} {
148
- &.${constants_4.stepClassnames.connectorArrow} {
149
- & .${constants_4.stepClassnames.content} {
149
+ &.${constants_5.stepClassnames.connectorArrow} {
150
+ & .${constants_5.stepClassnames.content} {
150
151
  padding: ${({ theme }) => theme.spacing(2, 0)};
151
152
  }
152
153
  }
@@ -155,7 +156,7 @@ exports.Wrapper = styled_1.styled.div `
155
156
  exports.IconWrapper = styled_1.styled.div `
156
157
  display: flex;
157
158
 
158
- & .${constants_3.stepIconClassnames.root} {
159
+ & .${constants_4.stepIconClassnames.root} {
159
160
  width: 20px;
160
161
  height: 20px;
161
162
 
@@ -165,19 +166,19 @@ exports.IconWrapper = styled_1.styled.div `
165
166
  duration: theme.transitions.duration.shorter,
166
167
  })};
167
168
 
168
- &.${constants_3.stepIconClassnames.active} {
169
+ &.${constants_4.stepIconClassnames.active} {
169
170
  color: ${({ theme }) => theme.palette.primary[800]};
170
171
  }
171
172
 
172
- &.${constants_3.stepIconClassnames.success} {
173
+ &.${constants_4.stepIconClassnames.success} {
173
174
  color: ${({ theme }) => theme.palette.success[800]};
174
175
  }
175
176
 
176
- &.${constants_3.stepIconClassnames.error} {
177
+ &.${constants_4.stepIconClassnames.error} {
177
178
  color: ${({ theme }) => theme.palette.error[800]};
178
179
  }
179
180
 
180
- &.${constants_3.stepIconClassnames.warning} {
181
+ &.${constants_4.stepIconClassnames.warning} {
181
182
  color: ${({ theme }) => theme.palette.warning[800]};
182
183
  }
183
184
 
@@ -205,14 +206,14 @@ exports.LineConnector = styled_1.styled.div `
205
206
 
206
207
  border-top: 2px solid ${({ theme }) => theme.palette.components.border.default};
207
208
 
208
- &.${constants_4.stepClassnames.alternativeLabel} {
209
+ &.${constants_5.stepClassnames.alternativeLabel} {
209
210
  position: absolute;
210
211
  top: 15px;
211
212
  right: calc(50% + 14px);
212
213
  left: calc(-50% + 14px);
213
214
  }
214
215
 
215
- &.${constants_4.stepClassnames.orientationVertical} {
216
+ &.${constants_5.stepClassnames.orientationVertical} {
216
217
  min-height: 16px;
217
218
 
218
219
  /* Смещение необходимо для центрирования линии относительно иконки, т.к. линия шириной 2px, то для выравнивания необходимо число не кратное 2ум */
@@ -233,7 +234,7 @@ exports.LabelWrapper = styled_1.styled.div `
233
234
 
234
235
  color: ${({ theme }) => theme.palette.grey[700]};
235
236
 
236
- & .${constants_1.typographyClassnames.root} {
237
+ & .${constants_2.typographyClassnames.root} {
237
238
  transition: ${({ theme }) => theme.transitions.create(['color'], {
238
239
  duration: theme.transitions.duration.shorter,
239
240
  })};
@@ -274,48 +275,50 @@ exports.StyledButton = (0, styled_1.styled)(Button_1.Button) `
274
275
  height: auto;
275
276
  }
276
277
 
277
- &:hover {
278
- background: transparent;
278
+ ${constants_1.HOVER_MEDIA} {
279
+ &:hover {
280
+ background: transparent;
279
281
 
280
- & .${constants_4.stepClassnames.label} {
281
- color: ${({ theme }) => theme.palette.grey[700]};
282
- }
282
+ & .${constants_5.stepClassnames.label} {
283
+ color: ${({ theme }) => theme.palette.grey[700]};
284
+ }
283
285
 
284
- & .${constants_3.stepIconClassnames.root} {
285
- color: ${({ theme }) => theme.palette.primary[700]};
286
+ & .${constants_4.stepIconClassnames.root} {
287
+ color: ${({ theme }) => theme.palette.primary[700]};
286
288
 
287
- &.${constants_3.stepIconClassnames.success} {
288
- color: ${({ theme }) => theme.palette.success[700]};
289
- }
289
+ &.${constants_4.stepIconClassnames.success} {
290
+ color: ${({ theme }) => theme.palette.success[700]};
291
+ }
290
292
 
291
- &.${constants_3.stepIconClassnames.error} {
292
- color: ${({ theme }) => theme.palette.error[700]};
293
- }
293
+ &.${constants_4.stepIconClassnames.error} {
294
+ color: ${({ theme }) => theme.palette.error[700]};
295
+ }
294
296
 
295
- &.${constants_3.stepIconClassnames.warning} {
296
- color: ${({ theme }) => theme.palette.warning[700]};
297
+ &.${constants_4.stepIconClassnames.warning} {
298
+ color: ${({ theme }) => theme.palette.warning[700]};
299
+ }
297
300
  }
298
301
  }
299
302
  }
300
303
 
301
304
  &:active {
302
305
  background: transparent;
303
- & .${constants_4.stepClassnames.label} {
306
+ & .${constants_5.stepClassnames.label} {
304
307
  color: ${({ theme }) => theme.palette.grey[900]};
305
308
  }
306
309
 
307
- & .${constants_3.stepIconClassnames.root} {
310
+ & .${constants_4.stepIconClassnames.root} {
308
311
  color: ${({ theme }) => theme.palette.primary[800]};
309
312
 
310
- &.${constants_3.stepIconClassnames.success} {
313
+ &.${constants_4.stepIconClassnames.success} {
311
314
  color: ${({ theme }) => theme.palette.success[800]};
312
315
  }
313
316
 
314
- &.${constants_3.stepIconClassnames.error} {
317
+ &.${constants_4.stepIconClassnames.error} {
315
318
  color: ${({ theme }) => theme.palette.error[800]};
316
319
  }
317
320
 
318
- &.${constants_3.stepIconClassnames.warning} {
321
+ &.${constants_4.stepIconClassnames.warning} {
319
322
  color: ${({ theme }) => theme.palette.warning[700]};
320
323
  }
321
324
  }