@megafon/ui-shared 2.3.0 → 3.0.0-beta.11
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/CHANGELOG.md +124 -10
- package/dist/es/components/AccordionBox/AccordionBox.d.ts +3 -6
- package/dist/es/components/AccordionBox/AccordionBox.js +3 -4
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +5 -2
- package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +3 -1
- package/dist/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/dist/es/components/ButtonBanner/ButtonBanner.css +3 -3
- package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +2 -2
- package/dist/es/components/ButtonBanner/ButtonBanner.js +4 -2
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +2 -2
- package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +4 -2
- package/dist/es/components/Card/Card.css +3 -3
- package/dist/es/components/Container/Container.css +5 -168
- package/dist/es/components/DownloadLinks/DownloadLink.css +2 -1
- package/dist/es/components/Instructions/Instructions.css +7 -7
- package/dist/es/components/PageTitle/PageTitle.css +2 -2
- package/dist/es/components/Property/Property.css +5 -5
- package/dist/es/components/Property/PropertyDescription.css +3 -3
- package/dist/es/components/Steps/StepsItem.css +2 -2
- package/dist/es/components/StoreBanner/StoreBanner.css +31 -32
- package/dist/es/components/StoreBanner/StoreBanner.d.ts +3 -5
- package/dist/es/components/StoreBanner/StoreBanner.js +8 -25
- package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/dist/es/components/Table/Table.css +15 -15
- package/dist/es/components/TextBox/TextBox.css +0 -9
- package/dist/es/components/TextBox/TextBoxPicture.css +1 -1
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +2 -2
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +2 -2
- package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +4 -2
- package/dist/es/components/VideoBanner/VideoBanner.css +4 -4
- package/dist/es/components/VideoBlock/VideoBlock.d.ts +1 -1
- package/dist/es/components/VideoBlock/VideoBlock.js +3 -3
- package/dist/es/index.d.ts +0 -1
- package/dist/es/index.js +0 -1
- package/dist/lib/components/AccordionBox/AccordionBox.d.ts +3 -6
- package/dist/lib/components/AccordionBox/AccordionBox.js +3 -4
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +5 -2
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +3 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +5 -3
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +3 -3
- package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +2 -2
- package/dist/lib/components/ButtonBanner/ButtonBanner.js +4 -2
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +2 -2
- package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +4 -2
- package/dist/lib/components/Card/Card.css +3 -3
- package/dist/lib/components/Container/Container.css +5 -168
- package/dist/lib/components/DownloadLinks/DownloadLink.css +2 -1
- package/dist/lib/components/Instructions/Instructions.css +7 -7
- package/dist/lib/components/PageTitle/PageTitle.css +2 -2
- package/dist/lib/components/Property/Property.css +5 -5
- package/dist/lib/components/Property/PropertyDescription.css +3 -3
- package/dist/lib/components/Steps/StepsItem.css +2 -2
- package/dist/lib/components/StoreBanner/StoreBanner.css +31 -32
- package/dist/lib/components/StoreBanner/StoreBanner.d.ts +3 -5
- package/dist/lib/components/StoreBanner/StoreBanner.js +8 -28
- package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/dist/lib/components/Table/Table.css +15 -15
- package/dist/lib/components/TextBox/TextBox.css +0 -9
- package/dist/lib/components/TextBox/TextBoxPicture.css +1 -1
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +2 -2
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +2 -2
- package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +4 -2
- package/dist/lib/components/VideoBanner/VideoBanner.css +4 -4
- package/dist/lib/components/VideoBlock/VideoBlock.d.ts +1 -1
- package/dist/lib/components/VideoBlock/VideoBlock.js +3 -3
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/index.js +0 -8
- package/package.json +6 -5
- package/dist/es/components/TextWithIcon/TextWithIcon.css +0 -57
- package/dist/es/components/TextWithIcon/TextWithIcon.d.ts +0 -21
- package/dist/es/components/TextWithIcon/TextWithIcon.js +0 -53
- package/dist/lib/components/TextWithIcon/TextWithIcon.css +0 -57
- package/dist/lib/components/TextWithIcon/TextWithIcon.d.ts +0 -21
- package/dist/lib/components/TextWithIcon/TextWithIcon.js +0 -74
package/CHANGELOG.md
CHANGED
@@ -3,38 +3,152 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
# [
|
6
|
+
# [3.0.0-beta.11](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.10...@megafon/ui-shared@3.0.0-beta.11) (2022-02-09)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [3.0.0-beta.10](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.9...@megafon/ui-shared@3.0.0-beta.10) (2022-02-08)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# [3.0.0-beta.9](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.8...@megafon/ui-shared@3.0.0-beta.9) (2022-02-08)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
# [3.0.0-beta.8](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.7...@megafon/ui-shared@3.0.0-beta.8) (2022-02-08)
|
7
31
|
|
8
32
|
|
9
33
|
### Features
|
10
34
|
|
11
|
-
* **
|
12
|
-
|
35
|
+
* **accordionbox:** remove prop hasVerticalPaddings ([82218ad](https://github.com/MegafonWebLab/megafon-ui/commit/82218ad0307c3f566cf9f582a824733e3523be3d))
|
36
|
+
|
37
|
+
|
38
|
+
### BREAKING CHANGES
|
39
|
+
|
40
|
+
* **accordionbox:** remove prop hasVerticalPaddings
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
13
45
|
|
46
|
+
# [3.0.0-beta.7](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.6...@megafon/ui-shared@3.0.0-beta.7) (2022-02-04)
|
14
47
|
|
15
48
|
|
49
|
+
### Bug Fixes
|
50
|
+
|
51
|
+
* **components:** change tests for dataAttrs prop ([2a8f306](https://github.com/MegafonWebLab/megafon-ui/commit/2a8f3061a4e89f6877894e5947db7bae2827f86a))
|
52
|
+
|
16
53
|
|
17
54
|
|
18
|
-
|
55
|
+
|
56
|
+
|
57
|
+
# [3.0.0-beta.6](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.5...@megafon/ui-shared@3.0.0-beta.6) (2022-02-02)
|
19
58
|
|
20
59
|
|
21
60
|
### Bug Fixes
|
22
61
|
|
23
|
-
*
|
62
|
+
* color props values changes ([b279f2b](https://github.com/MegafonWebLab/megafon-ui/commit/b279f2b5af0edae92fe9825bbfa90a207cb8009a))
|
63
|
+
* remove deprecated props values ([add76f3](https://github.com/MegafonWebLab/megafon-ui/commit/add76f38a9ebad8b5b6504dfe6aae862746f0dfc))
|
64
|
+
* **core:** fix build ui-core ([458c824](https://github.com/MegafonWebLab/megafon-ui/commit/458c824aab639e4802db261d0416b3cee58ac274))
|
24
65
|
|
25
66
|
|
67
|
+
### BREAKING CHANGES
|
26
68
|
|
69
|
+
* ContentArea: prop color change values from 'base' to 'white' and from 'content' to 'default';
|
70
|
+
remove depreacted value 'freshAsphalt'
|
71
|
+
Paragraph: prop color change values from 'base' to 'white' and from 'contend' to 'default';
|
72
|
+
remove deprecared values 'freshAsphalt' and 'clearWhite'
|
73
|
+
StoreBanner: prop theme change value from 'black' to 'default'; remove deprecated value 'clearWhite'
|
74
|
+
* ContentArea, Paragraph, StoreBanner and Breadcrumbs components from no don't have
|
75
|
+
freshAsphalt and clearWhite as values for colorize props
|
27
76
|
|
28
77
|
|
29
|
-
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# [3.0.0-beta.5](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.4...@megafon/ui-shared@3.0.0-beta.5) (2022-01-28)
|
30
82
|
|
31
83
|
|
32
84
|
### Features
|
33
85
|
|
34
|
-
* **
|
35
|
-
|
36
|
-
|
37
|
-
|
86
|
+
* **header:** made header as a functional component ([81701ad](https://github.com/MegafonWebLab/megafon-ui/commit/81701ad87b6e9df2fe630bf4e183383264c0bb01))
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
# [3.0.0-beta.4](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.3...@megafon/ui-shared@3.0.0-beta.4) (2022-01-27)
|
93
|
+
|
94
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
# [3.0.0-beta.3](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.2...@megafon/ui-shared@3.0.0-beta.3) (2022-01-24)
|
101
|
+
|
102
|
+
|
103
|
+
### Bug Fixes
|
104
|
+
|
105
|
+
* **accordion-box:** change type of onClickAccordion prop ([5d5cef5](https://github.com/MegafonWebLab/megafon-ui/commit/5d5cef5e2dd70efa808a6146e29daf1c882af304))
|
106
|
+
|
107
|
+
|
108
|
+
### BREAKING CHANGES
|
109
|
+
|
110
|
+
* **accordion-box:** remove parameter 'title' in onClickAccordion prop
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
# [3.0.0-beta.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.1...@megafon/ui-shared@3.0.0-beta.2) (2022-01-21)
|
117
|
+
|
118
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
# [3.0.0-beta.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.0...@megafon/ui-shared@3.0.0-beta.1) (2022-01-20)
|
125
|
+
|
126
|
+
|
127
|
+
### Bug Fixes
|
128
|
+
|
129
|
+
* **colors:** renabe green and purple to brandGreen and brandPurple to avoid postcss-colormin bug ([563d97c](https://github.com/MegafonWebLab/megafon-ui/commit/563d97c42900099415a6872f57b500b87aeed647))
|
130
|
+
|
131
|
+
|
132
|
+
### BREAKING CHANGES
|
133
|
+
|
134
|
+
* **colors:** green, green20, green80, purple, purple20 and purple80 colors now have 'brand'
|
135
|
+
prefix (e.g. brandGreen)
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
# [3.0.0-beta.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.1.5...@megafon/ui-shared@3.0.0-beta.0) (2022-01-19)
|
142
|
+
|
143
|
+
|
144
|
+
### Features
|
145
|
+
|
146
|
+
* **colors:** css custom properties and color themes support ([b19a9a5](https://github.com/MegafonWebLab/megafon-ui/commit/b19a9a5112ebc7427d60f6514d606dd9d71ca444))
|
147
|
+
|
148
|
+
|
149
|
+
### BREAKING CHANGES
|
150
|
+
|
151
|
+
* **colors:** read commit description
|
38
152
|
|
39
153
|
|
40
154
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import './AccordionBox.less';
|
3
3
|
export interface IAccordionBox {
|
4
|
-
/**
|
4
|
+
/** Дополнительные data атрибуты к внутренним элементам */
|
5
5
|
dataAttrs?: {
|
6
|
-
|
6
|
+
root?: Record<string, string>;
|
7
7
|
};
|
8
8
|
/** Ссылка на корневой элемент */
|
9
9
|
rootRef?: React.Ref<HTMLDivElement>;
|
@@ -15,9 +15,6 @@ export interface IAccordionBox {
|
|
15
15
|
isFullWidth?: boolean;
|
16
16
|
/** Центрирование по горизонтали для расширения 1280+ */
|
17
17
|
hCenterAlignWide?: boolean;
|
18
|
-
/** Вертикальные отступы */
|
19
|
-
/** @deprecated */
|
20
|
-
hasVerticalPaddings?: boolean;
|
21
18
|
/** Дополнительный класс для корнеовго элемента */
|
22
19
|
className?: string;
|
23
20
|
/** Дополнительные классы для корневого и внутренних элементов */
|
@@ -28,7 +25,7 @@ export interface IAccordionBox {
|
|
28
25
|
titleWrap?: string;
|
29
26
|
};
|
30
27
|
/** Обработчик клика */
|
31
|
-
onClickAccordion?: (isOpened: boolean
|
28
|
+
onClickAccordion?: (isOpened: boolean) => void;
|
32
29
|
}
|
33
30
|
declare const AccordionBox: React.FC<IAccordionBox>;
|
34
31
|
export default AccordionBox;
|
@@ -41,7 +41,9 @@ var AccordionBox = function AccordionBox(_a) {
|
|
41
41
|
};
|
42
42
|
|
43
43
|
AccordionBox.propTypes = {
|
44
|
-
dataAttrs: PropTypes.
|
44
|
+
dataAttrs: PropTypes.shape({
|
45
|
+
root: PropTypes.objectOf(PropTypes.string.isRequired)
|
46
|
+
}),
|
45
47
|
rootRef: PropTypes.oneOfType([PropTypes.func, PropTypes.oneOfType([PropTypes.shape({
|
46
48
|
current: PropTypes.elementType
|
47
49
|
}), PropTypes.any])]),
|
@@ -49,9 +51,6 @@ AccordionBox.propTypes = {
|
|
49
51
|
isFullWidth: PropTypes.bool,
|
50
52
|
isOpened: PropTypes.bool,
|
51
53
|
hCenterAlignWide: PropTypes.bool,
|
52
|
-
hasVerticalPaddings: function hasVerticalPaddings(props, propName) {
|
53
|
-
return props[propName] && new Error('Failed prop type: Prop "hasVerticalPaddings" is deprecated');
|
54
|
-
},
|
55
54
|
className: PropTypes.string,
|
56
55
|
classes: PropTypes.shape({
|
57
56
|
openedClass: PropTypes.string,
|
@@ -12,11 +12,14 @@ h5 {
|
|
12
12
|
-ms-flex-wrap: wrap;
|
13
13
|
flex-wrap: wrap;
|
14
14
|
}
|
15
|
+
.mfui-breadcrumbs_color_default .mfui-breadcrumbs__item:before {
|
16
|
+
color: var(--content);
|
17
|
+
}
|
15
18
|
.mfui-breadcrumbs_color_black .mfui-breadcrumbs__item:before {
|
16
|
-
color:
|
19
|
+
color: var(--stcBlack);
|
17
20
|
}
|
18
21
|
.mfui-breadcrumbs_color_white .mfui-breadcrumbs__item:before {
|
19
|
-
color:
|
22
|
+
color: var(--stcWhite);
|
20
23
|
}
|
21
24
|
.mfui-breadcrumbs__icon {
|
22
25
|
position: relative;
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import './Breadcrumbs.less';
|
3
3
|
declare type ItemType = {
|
4
|
-
|
4
|
+
component?: React.ReactElement;
|
5
|
+
title?: string;
|
5
6
|
href?: string;
|
6
7
|
};
|
7
8
|
export declare const TextColor: {
|
9
|
+
readonly DEFAULT: "default";
|
8
10
|
readonly BLACK: "black";
|
9
11
|
readonly WHITE: "white";
|
10
12
|
};
|
@@ -6,6 +6,7 @@ import { cnCreate } from '@megafon/ui-helpers';
|
|
6
6
|
import PropTypes from 'prop-types';
|
7
7
|
import "./Breadcrumbs.css";
|
8
8
|
export var TextColor = {
|
9
|
+
DEFAULT: 'default',
|
9
10
|
BLACK: 'black',
|
10
11
|
WHITE: 'white'
|
11
12
|
};
|
@@ -23,15 +24,16 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
23
24
|
color: color
|
24
25
|
}, className)
|
25
26
|
}, items.map(function (_ref2) {
|
26
|
-
var
|
27
|
+
var component = _ref2.component,
|
28
|
+
title = _ref2.title,
|
27
29
|
href = _ref2.href;
|
28
30
|
return /*#__PURE__*/React.createElement("div", {
|
29
31
|
className: cn('item', classes.item),
|
30
32
|
key: title
|
31
|
-
}, /*#__PURE__*/React.createElement(TextLink, {
|
33
|
+
}, component, !component && /*#__PURE__*/React.createElement(TextLink, {
|
32
34
|
href: href,
|
33
35
|
color: color
|
34
|
-
}, title));
|
36
|
+
}, component || title));
|
35
37
|
}));
|
36
38
|
};
|
37
39
|
|
@@ -7,8 +7,8 @@ h5 {
|
|
7
7
|
}
|
8
8
|
.mfui-button-banner {
|
9
9
|
position: relative;
|
10
|
-
border: 1px solid
|
11
|
-
background-color:
|
10
|
+
border: 1px solid var(--spbSky2);
|
11
|
+
background-color: var(--base);
|
12
12
|
border-radius: 0 8px 8px 0;
|
13
13
|
}
|
14
14
|
@media screen and (max-width: 767px) {
|
@@ -23,7 +23,7 @@ h5 {
|
|
23
23
|
bottom: 0;
|
24
24
|
left: 0;
|
25
25
|
width: 12px;
|
26
|
-
background-color:
|
26
|
+
background-color: var(--brandGreen);
|
27
27
|
border-radius: 0 12px 12px 0;
|
28
28
|
}
|
29
29
|
@media screen and (max-width: 767px) {
|
@@ -16,9 +16,9 @@ export declare const ImageScaling: {
|
|
16
16
|
};
|
17
17
|
declare type ImageScalingType = typeof ImageScaling[keyof typeof ImageScaling];
|
18
18
|
export interface IButtonBannerProps {
|
19
|
-
/**
|
19
|
+
/** Дополнительные data атрибуты к внутренним элементам */
|
20
20
|
dataAttrs?: {
|
21
|
-
|
21
|
+
root?: Record<string, string>;
|
22
22
|
};
|
23
23
|
/** Дополнительный css класс для корневого элемента */
|
24
24
|
className?: string;
|
@@ -54,7 +54,7 @@ var ButtonBanner = function ButtonBanner(_ref) {
|
|
54
54
|
onClick: onButtonClick,
|
55
55
|
download: buttonDownload
|
56
56
|
}, buttonText);
|
57
|
-
return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs), {
|
57
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
58
58
|
className: cn({
|
59
59
|
image: !!imageUrl,
|
60
60
|
scaling: imageScaling
|
@@ -85,7 +85,9 @@ var ButtonBanner = function ButtonBanner(_ref) {
|
|
85
85
|
};
|
86
86
|
|
87
87
|
ButtonBanner.propTypes = {
|
88
|
-
dataAttrs: PropTypes.
|
88
|
+
dataAttrs: PropTypes.shape({
|
89
|
+
root: PropTypes.objectOf(PropTypes.string.isRequired)
|
90
|
+
}),
|
89
91
|
className: PropTypes.string,
|
90
92
|
classes: PropTypes.shape({
|
91
93
|
root: PropTypes.string,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React, { Ref } from 'react';
|
2
2
|
import './ButtonLinkBox.less';
|
3
3
|
export interface IButtonLinkBoxProps {
|
4
|
-
/**
|
4
|
+
/** Дополнительные data атрибуты к внутренним элементам */
|
5
5
|
dataAttrs?: {
|
6
|
-
|
6
|
+
root?: Record<string, string>;
|
7
7
|
};
|
8
8
|
/** Дополнительный класс корневого элемента */
|
9
9
|
className?: string;
|
@@ -26,7 +26,7 @@ var ButtonLinkBox = function ButtonLinkBox(_ref) {
|
|
26
26
|
classes = _ref$classes === void 0 ? {} : _ref$classes,
|
27
27
|
onButtonClick = _ref.onButtonClick,
|
28
28
|
onLinkClick = _ref.onLinkClick;
|
29
|
-
return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs), {
|
29
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, filterDataAttrs(dataAttrs === null || dataAttrs === void 0 ? void 0 : dataAttrs.root), {
|
30
30
|
className: cn({
|
31
31
|
'h-align': hAlign
|
32
32
|
}, [className, classes.root]),
|
@@ -53,7 +53,9 @@ var ButtonLinkBox = function ButtonLinkBox(_ref) {
|
|
53
53
|
};
|
54
54
|
|
55
55
|
ButtonLinkBox.propTypes = {
|
56
|
-
dataAttrs: PropTypes.
|
56
|
+
dataAttrs: PropTypes.shape({
|
57
|
+
root: PropTypes.objectOf(PropTypes.string.isRequired)
|
58
|
+
}),
|
57
59
|
className: PropTypes.string,
|
58
60
|
classes: PropTypes.shape({
|
59
61
|
root: PropTypes.string,
|
@@ -11,7 +11,7 @@ h5 {
|
|
11
11
|
display: flex;
|
12
12
|
border-radius: 8px;
|
13
13
|
overflow: hidden;
|
14
|
-
background-color:
|
14
|
+
background-color: var(--background);
|
15
15
|
-webkit-box-shadow: 0 0.25px 3px rgba(0, 0, 0, 0.25);
|
16
16
|
box-shadow: 0 0.25px 3px rgba(0, 0, 0, 0.25);
|
17
17
|
}
|
@@ -43,7 +43,7 @@ h5 {
|
|
43
43
|
line-height: 24px;
|
44
44
|
font-weight: 400;
|
45
45
|
margin-top: 12px;
|
46
|
-
color:
|
46
|
+
color: var(--content);
|
47
47
|
}
|
48
48
|
.mfui-card__btns-wrapper {
|
49
49
|
display: -webkit-box;
|
@@ -66,7 +66,7 @@ h5 {
|
|
66
66
|
justify-content: flex-start;
|
67
67
|
}
|
68
68
|
.mfui-card__fake-link {
|
69
|
-
color:
|
69
|
+
color: var(--systemBlue);
|
70
70
|
}
|
71
71
|
.mfui-card__button,
|
72
72
|
.mfui-card__link,
|
@@ -9,19 +9,19 @@ h5 {
|
|
9
9
|
padding-bottom: 96px;
|
10
10
|
}
|
11
11
|
.mfui-container_bg-color_default {
|
12
|
-
background-color:
|
12
|
+
background-color: var(--base);
|
13
13
|
}
|
14
14
|
.mfui-container_bg-color_light-gray {
|
15
|
-
background-color:
|
15
|
+
background-color: var(--spbSky0);
|
16
16
|
}
|
17
17
|
.mfui-container_bg-color_gray {
|
18
|
-
background-color:
|
18
|
+
background-color: var(--spbSky1);
|
19
19
|
}
|
20
20
|
.mfui-container_bg-color_green {
|
21
|
-
background-color:
|
21
|
+
background-color: var(--brandGreen);
|
22
22
|
}
|
23
23
|
.mfui-container_bg-color_purple {
|
24
|
-
background-color:
|
24
|
+
background-color: var(--brandPurple);
|
25
25
|
}
|
26
26
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
27
27
|
.mfui-container {
|
@@ -344,9 +344,6 @@ h5 {
|
|
344
344
|
.mfui-container .mfui-title-description-box + .mfui-download-links {
|
345
345
|
margin-top: 32px;
|
346
346
|
}
|
347
|
-
.mfui-container .mfui-title-description-box + .mfui-text-with-icon {
|
348
|
-
margin-top: 24px;
|
349
|
-
}
|
350
347
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
351
348
|
.mfui-container .mfui-title-description-box + .mfui-benefits-icons {
|
352
349
|
margin-top: 48px;
|
@@ -2233,9 +2230,6 @@ h5 {
|
|
2233
2230
|
.mfui-container .mfui-text-box + .mfui-download-links {
|
2234
2231
|
margin-top: 32px;
|
2235
2232
|
}
|
2236
|
-
.mfui-container .mfui-text-box + .mfui-text-with-icon {
|
2237
|
-
margin-top: 32px;
|
2238
|
-
}
|
2239
2233
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
2240
2234
|
.mfui-container .mfui-text-box + .mfui-benefits-icons {
|
2241
2235
|
margin-top: 48px;
|
@@ -2875,163 +2869,6 @@ h5 {
|
|
2875
2869
|
.mfui-container .mfui-page-title + .mfui-button-link-box {
|
2876
2870
|
margin-top: 0 !important;
|
2877
2871
|
}
|
2878
|
-
.mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
|
2879
|
-
margin-top: 40px;
|
2880
|
-
}
|
2881
|
-
.mfui-container .mfui-text-with-icon + .mfui-cards-box {
|
2882
|
-
margin-top: 40px;
|
2883
|
-
}
|
2884
|
-
.mfui-container .mfui-text-with-icon + .mfui-carousel-box {
|
2885
|
-
margin-top: 40px;
|
2886
|
-
}
|
2887
|
-
.mfui-container .mfui-text-with-icon + .mfui-video-block {
|
2888
|
-
margin-top: 40px;
|
2889
|
-
}
|
2890
|
-
.mfui-container .mfui-text-with-icon + .mfui-tabs-box {
|
2891
|
-
margin-top: 40px;
|
2892
|
-
}
|
2893
|
-
.mfui-container .mfui-text-with-icon + .mfui-partners {
|
2894
|
-
margin-top: 40px;
|
2895
|
-
}
|
2896
|
-
.mfui-container .mfui-text-with-icon + .mfui-instructions {
|
2897
|
-
margin-top: 40px;
|
2898
|
-
}
|
2899
|
-
.mfui-container .mfui-text-with-icon + .mfui-property {
|
2900
|
-
margin-top: 40px;
|
2901
|
-
}
|
2902
|
-
.mfui-container .mfui-text-with-icon + .mfui-table {
|
2903
|
-
margin-top: 40px;
|
2904
|
-
}
|
2905
|
-
.mfui-container .mfui-text-with-icon + .mfui-accordion-box {
|
2906
|
-
margin-top: 40px;
|
2907
|
-
}
|
2908
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-link-box {
|
2909
|
-
margin-top: 40px;
|
2910
|
-
}
|
2911
|
-
.mfui-container .mfui-text-with-icon + .mfui-download-links {
|
2912
|
-
margin-top: 40px;
|
2913
|
-
}
|
2914
|
-
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2915
|
-
margin-top: 32px;
|
2916
|
-
}
|
2917
|
-
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2918
|
-
margin-top: 40px;
|
2919
|
-
}
|
2920
|
-
.mfui-container .mfui-text-with-icon + .mfui-store-banner {
|
2921
|
-
margin-top: 40px;
|
2922
|
-
}
|
2923
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-banner {
|
2924
|
-
margin-top: 40px;
|
2925
|
-
}
|
2926
|
-
.mfui-container .mfui-text-with-icon + .mfui-steps {
|
2927
|
-
margin-top: 40px;
|
2928
|
-
}
|
2929
|
-
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
2930
|
-
.mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
|
2931
|
-
margin-top: 48px;
|
2932
|
-
}
|
2933
|
-
.mfui-container .mfui-text-with-icon + .mfui-cards-box {
|
2934
|
-
margin-top: 48px;
|
2935
|
-
}
|
2936
|
-
.mfui-container .mfui-text-with-icon + .mfui-carousel-box {
|
2937
|
-
margin-top: 48px;
|
2938
|
-
}
|
2939
|
-
.mfui-container .mfui-text-with-icon + .mfui-video-block {
|
2940
|
-
margin-top: 48px;
|
2941
|
-
}
|
2942
|
-
.mfui-container .mfui-text-with-icon + .mfui-tabs-box {
|
2943
|
-
margin-top: 48px;
|
2944
|
-
}
|
2945
|
-
.mfui-container .mfui-text-with-icon + .mfui-partners {
|
2946
|
-
margin-top: 48px;
|
2947
|
-
}
|
2948
|
-
.mfui-container .mfui-text-with-icon + .mfui-instructions {
|
2949
|
-
margin-top: 48px;
|
2950
|
-
}
|
2951
|
-
.mfui-container .mfui-text-with-icon + .mfui-property {
|
2952
|
-
margin-top: 48px;
|
2953
|
-
}
|
2954
|
-
.mfui-container .mfui-text-with-icon + .mfui-table {
|
2955
|
-
margin-top: 48px;
|
2956
|
-
}
|
2957
|
-
.mfui-container .mfui-text-with-icon + .mfui-accordion-box {
|
2958
|
-
margin-top: 48px;
|
2959
|
-
}
|
2960
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-link-box {
|
2961
|
-
margin-top: 48px;
|
2962
|
-
}
|
2963
|
-
.mfui-container .mfui-text-with-icon + .mfui-download-links {
|
2964
|
-
margin-top: 48px;
|
2965
|
-
}
|
2966
|
-
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2967
|
-
margin-top: 32px;
|
2968
|
-
}
|
2969
|
-
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2970
|
-
margin-top: 48px;
|
2971
|
-
}
|
2972
|
-
.mfui-container .mfui-text-with-icon + .mfui-store-banner {
|
2973
|
-
margin-top: 48px;
|
2974
|
-
}
|
2975
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-banner {
|
2976
|
-
margin-top: 48px;
|
2977
|
-
}
|
2978
|
-
.mfui-container .mfui-text-with-icon + .mfui-steps {
|
2979
|
-
margin-top: 48px;
|
2980
|
-
}
|
2981
|
-
}
|
2982
|
-
@media screen and (min-width: 1024px) {
|
2983
|
-
.mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
|
2984
|
-
margin-top: 56px;
|
2985
|
-
}
|
2986
|
-
.mfui-container .mfui-text-with-icon + .mfui-cards-box {
|
2987
|
-
margin-top: 56px;
|
2988
|
-
}
|
2989
|
-
.mfui-container .mfui-text-with-icon + .mfui-carousel-box {
|
2990
|
-
margin-top: 56px;
|
2991
|
-
}
|
2992
|
-
.mfui-container .mfui-text-with-icon + .mfui-video-block {
|
2993
|
-
margin-top: 56px;
|
2994
|
-
}
|
2995
|
-
.mfui-container .mfui-text-with-icon + .mfui-tabs-box {
|
2996
|
-
margin-top: 56px;
|
2997
|
-
}
|
2998
|
-
.mfui-container .mfui-text-with-icon + .mfui-partners {
|
2999
|
-
margin-top: 56px;
|
3000
|
-
}
|
3001
|
-
.mfui-container .mfui-text-with-icon + .mfui-instructions {
|
3002
|
-
margin-top: 56px;
|
3003
|
-
}
|
3004
|
-
.mfui-container .mfui-text-with-icon + .mfui-property {
|
3005
|
-
margin-top: 56px;
|
3006
|
-
}
|
3007
|
-
.mfui-container .mfui-text-with-icon + .mfui-table {
|
3008
|
-
margin-top: 56px;
|
3009
|
-
}
|
3010
|
-
.mfui-container .mfui-text-with-icon + .mfui-accordion-box {
|
3011
|
-
margin-top: 56px;
|
3012
|
-
}
|
3013
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-link-box {
|
3014
|
-
margin-top: 48px;
|
3015
|
-
}
|
3016
|
-
.mfui-container .mfui-text-with-icon + .mfui-download-links {
|
3017
|
-
margin-top: 48px;
|
3018
|
-
}
|
3019
|
-
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
3020
|
-
margin-top: 32px;
|
3021
|
-
}
|
3022
|
-
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
3023
|
-
margin-top: 56px;
|
3024
|
-
}
|
3025
|
-
.mfui-container .mfui-text-with-icon + .mfui-store-banner {
|
3026
|
-
margin-top: 56px;
|
3027
|
-
}
|
3028
|
-
.mfui-container .mfui-text-with-icon + .mfui-button-banner {
|
3029
|
-
margin-top: 56px;
|
3030
|
-
}
|
3031
|
-
.mfui-container .mfui-text-with-icon + .mfui-steps {
|
3032
|
-
margin-top: 56px;
|
3033
|
-
}
|
3034
|
-
}
|
3035
2872
|
.mfui-container_disable-padding-top {
|
3036
2873
|
padding-top: 0 !important;
|
3037
2874
|
}
|
@@ -16,6 +16,7 @@ h5 {
|
|
16
16
|
width: 40px;
|
17
17
|
height: 40px;
|
18
18
|
margin-right: 22px;
|
19
|
+
fill: var(--content);
|
19
20
|
}
|
20
21
|
@media screen and (max-width: 1023px) {
|
21
22
|
.mfui-download-link__icon {
|
@@ -31,6 +32,6 @@ h5 {
|
|
31
32
|
margin: 0;
|
32
33
|
font-size: 12px;
|
33
34
|
line-height: 16px;
|
34
|
-
color:
|
35
|
+
color: var(--stcBlack5);
|
35
36
|
text-transform: uppercase;
|
36
37
|
}
|
@@ -111,7 +111,7 @@ h5 {
|
|
111
111
|
width: 324px;
|
112
112
|
height: 1px;
|
113
113
|
margin: 0 auto;
|
114
|
-
background:
|
114
|
+
background: var(--spbSky2);
|
115
115
|
}
|
116
116
|
}
|
117
117
|
.mfui-instructions__device-screen {
|
@@ -355,7 +355,7 @@ h5 {
|
|
355
355
|
}
|
356
356
|
.mfui-instructions__articles-item:hover .mfui-instructions__articles-item-dot,
|
357
357
|
.mfui-instructions__articles-item_active .mfui-instructions__articles-item-dot {
|
358
|
-
color:
|
358
|
+
color: var(--stcWhite);
|
359
359
|
}
|
360
360
|
.mfui-instructions__articles-item:hover .mfui-instructions__articles-item-dot:before,
|
361
361
|
.mfui-instructions__articles-item_active .mfui-instructions__articles-item-dot:before {
|
@@ -363,7 +363,7 @@ h5 {
|
|
363
363
|
right: 0;
|
364
364
|
bottom: 0;
|
365
365
|
left: 0;
|
366
|
-
background:
|
366
|
+
background: var(--brandGreen);
|
367
367
|
}
|
368
368
|
@media screen and (min-width: 1024px) {
|
369
369
|
.mfui-instructions__articles-item:last-child {
|
@@ -381,8 +381,8 @@ h5 {
|
|
381
381
|
font-size: 15px;
|
382
382
|
line-height: 40px;
|
383
383
|
text-align: center;
|
384
|
-
-webkit-box-shadow: inset 0 0 0 1px
|
385
|
-
box-shadow: inset 0 0 0 1px
|
384
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--spbSky3);
|
385
|
+
box-shadow: inset 0 0 0 1px var(--spbSky3);
|
386
386
|
cursor: pointer;
|
387
387
|
}
|
388
388
|
@media screen and (max-width: 479px) {
|
@@ -449,7 +449,7 @@ h5 {
|
|
449
449
|
}
|
450
450
|
.mfui-instructions__articles-dot:hover,
|
451
451
|
.mfui-instructions__articles-dot_active {
|
452
|
-
color:
|
452
|
+
color: var(--stcWhite);
|
453
453
|
}
|
454
454
|
.mfui-instructions__articles-dot:hover:before,
|
455
455
|
.mfui-instructions__articles-dot_active:before {
|
@@ -457,7 +457,7 @@ h5 {
|
|
457
457
|
right: 0;
|
458
458
|
bottom: 0;
|
459
459
|
left: 0;
|
460
|
-
background:
|
460
|
+
background: var(--brandGreen);
|
461
461
|
}
|
462
462
|
.mfui-instructions__articles-dot:last-child {
|
463
463
|
margin-right: 0;
|