@megafon/ui-shared 2.2.1 → 3.0.0-beta.10

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 (72) hide show
  1. package/CHANGELOG.md +125 -7
  2. package/dist/es/components/AccordionBox/AccordionBox.d.ts +3 -6
  3. package/dist/es/components/AccordionBox/AccordionBox.js +3 -4
  4. package/dist/es/components/Breadcrumbs/Breadcrumbs.css +5 -2
  5. package/dist/es/components/Breadcrumbs/Breadcrumbs.d.ts +3 -1
  6. package/dist/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
  7. package/dist/es/components/ButtonBanner/ButtonBanner.css +3 -3
  8. package/dist/es/components/ButtonBanner/ButtonBanner.d.ts +2 -2
  9. package/dist/es/components/ButtonBanner/ButtonBanner.js +4 -2
  10. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.d.ts +2 -2
  11. package/dist/es/components/ButtonLinkBox/ButtonLinkBox.js +4 -2
  12. package/dist/es/components/Card/Card.css +3 -3
  13. package/dist/es/components/Container/Container.css +5 -165
  14. package/dist/es/components/DownloadLinks/DownloadLink.css +2 -1
  15. package/dist/es/components/Instructions/Instructions.css +7 -7
  16. package/dist/es/components/PageTitle/PageTitle.css +2 -2
  17. package/dist/es/components/Property/Property.css +5 -5
  18. package/dist/es/components/Property/PropertyDescription.css +3 -3
  19. package/dist/es/components/Steps/StepsItem.css +2 -2
  20. package/dist/es/components/StoreBanner/StoreBanner.css +31 -32
  21. package/dist/es/components/StoreBanner/StoreBanner.d.ts +3 -5
  22. package/dist/es/components/StoreBanner/StoreBanner.js +8 -25
  23. package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
  24. package/dist/es/components/Table/Table.css +15 -15
  25. package/dist/es/components/TextBox/TextBoxPicture.css +1 -1
  26. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.css +2 -2
  27. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +2 -2
  28. package/dist/es/components/TitleDescriptionBox/TitleDescriptionBox.js +4 -2
  29. package/dist/es/components/VideoBanner/VideoBanner.css +4 -4
  30. package/dist/es/components/VideoBlock/VideoBlock.d.ts +1 -1
  31. package/dist/es/components/VideoBlock/VideoBlock.js +3 -3
  32. package/dist/es/index.d.ts +0 -1
  33. package/dist/es/index.js +0 -1
  34. package/dist/lib/components/AccordionBox/AccordionBox.d.ts +3 -6
  35. package/dist/lib/components/AccordionBox/AccordionBox.js +3 -4
  36. package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +5 -2
  37. package/dist/lib/components/Breadcrumbs/Breadcrumbs.d.ts +3 -1
  38. package/dist/lib/components/Breadcrumbs/Breadcrumbs.js +5 -3
  39. package/dist/lib/components/ButtonBanner/ButtonBanner.css +3 -3
  40. package/dist/lib/components/ButtonBanner/ButtonBanner.d.ts +2 -2
  41. package/dist/lib/components/ButtonBanner/ButtonBanner.js +4 -2
  42. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.d.ts +2 -2
  43. package/dist/lib/components/ButtonLinkBox/ButtonLinkBox.js +4 -2
  44. package/dist/lib/components/Card/Card.css +3 -3
  45. package/dist/lib/components/Container/Container.css +5 -165
  46. package/dist/lib/components/DownloadLinks/DownloadLink.css +2 -1
  47. package/dist/lib/components/Instructions/Instructions.css +7 -7
  48. package/dist/lib/components/PageTitle/PageTitle.css +2 -2
  49. package/dist/lib/components/Property/Property.css +5 -5
  50. package/dist/lib/components/Property/PropertyDescription.css +3 -3
  51. package/dist/lib/components/Steps/StepsItem.css +2 -2
  52. package/dist/lib/components/StoreBanner/StoreBanner.css +31 -32
  53. package/dist/lib/components/StoreBanner/StoreBanner.d.ts +3 -5
  54. package/dist/lib/components/StoreBanner/StoreBanner.js +8 -28
  55. package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
  56. package/dist/lib/components/Table/Table.css +15 -15
  57. package/dist/lib/components/TextBox/TextBoxPicture.css +1 -1
  58. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.css +2 -2
  59. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.d.ts +2 -2
  60. package/dist/lib/components/TitleDescriptionBox/TitleDescriptionBox.js +4 -2
  61. package/dist/lib/components/VideoBanner/VideoBanner.css +4 -4
  62. package/dist/lib/components/VideoBlock/VideoBlock.d.ts +1 -1
  63. package/dist/lib/components/VideoBlock/VideoBlock.js +3 -3
  64. package/dist/lib/index.d.ts +0 -1
  65. package/dist/lib/index.js +0 -8
  66. package/package.json +6 -5
  67. package/dist/es/components/TextWithIcon/TextWithIcon.css +0 -57
  68. package/dist/es/components/TextWithIcon/TextWithIcon.d.ts +0 -21
  69. package/dist/es/components/TextWithIcon/TextWithIcon.js +0 -53
  70. package/dist/lib/components/TextWithIcon/TextWithIcon.css +0 -57
  71. package/dist/lib/components/TextWithIcon/TextWithIcon.d.ts +0 -21
  72. package/dist/lib/components/TextWithIcon/TextWithIcon.js +0 -74
package/CHANGELOG.md CHANGED
@@ -3,26 +3,144 @@
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
- ## [2.2.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.2.0...@megafon/ui-shared@2.2.1) (2022-01-31)
6
+ # [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)
7
+
8
+ **Note:** Version bump only for package @megafon/ui-shared
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+ **Note:** Version bump only for package @megafon/ui-shared
17
+
18
+
19
+
20
+
21
+
22
+ # [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)
23
+
24
+
25
+ ### Features
26
+
27
+ * **accordionbox:** remove prop hasVerticalPaddings ([82218ad](https://github.com/MegafonWebLab/megafon-ui/commit/82218ad0307c3f566cf9f582a824733e3523be3d))
28
+
29
+
30
+ ### BREAKING CHANGES
31
+
32
+ * **accordionbox:** remove prop hasVerticalPaddings
33
+
34
+
35
+
36
+
37
+
38
+ # [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)
7
39
 
8
40
 
9
41
  ### Bug Fixes
10
42
 
11
- * **storebanner:** update qr code image for storebanner examples and fix qr code container styles ([1845222](https://github.com/MegafonWebLab/megafon-ui/commit/1845222e5211e70a8f5aa36ab4a710ecd46e8a14))
43
+ * **components:** change tests for dataAttrs prop ([2a8f306](https://github.com/MegafonWebLab/megafon-ui/commit/2a8f3061a4e89f6877894e5947db7bae2827f86a))
44
+
45
+
46
+
12
47
 
13
48
 
49
+ # [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)
14
50
 
15
51
 
52
+ ### Bug Fixes
53
+
54
+ * color props values changes ([b279f2b](https://github.com/MegafonWebLab/megafon-ui/commit/b279f2b5af0edae92fe9825bbfa90a207cb8009a))
55
+ * remove deprecated props values ([add76f3](https://github.com/MegafonWebLab/megafon-ui/commit/add76f38a9ebad8b5b6504dfe6aae862746f0dfc))
56
+ * **core:** fix build ui-core ([458c824](https://github.com/MegafonWebLab/megafon-ui/commit/458c824aab639e4802db261d0416b3cee58ac274))
57
+
58
+
59
+ ### BREAKING CHANGES
60
+
61
+ * ContentArea: prop color change values from 'base' to 'white' and from 'content' to 'default';
62
+ remove depreacted value 'freshAsphalt'
63
+ Paragraph: prop color change values from 'base' to 'white' and from 'contend' to 'default';
64
+ remove deprecared values 'freshAsphalt' and 'clearWhite'
65
+ StoreBanner: prop theme change value from 'black' to 'default'; remove deprecated value 'clearWhite'
66
+ * ContentArea, Paragraph, StoreBanner and Breadcrumbs components from no don't have
67
+ freshAsphalt and clearWhite as values for colorize props
16
68
 
17
- # [2.2.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.1.5...@megafon/ui-shared@2.2.0) (2022-01-24)
69
+
70
+
71
+
72
+
73
+ # [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)
18
74
 
19
75
 
20
76
  ### Features
21
77
 
22
- * **accordionbox:** props hasVerticalPaddings marked as deprecated ([7dbb43b](https://github.com/MegafonWebLab/megafon-ui/commit/7dbb43b1178f4055ecd0f4eed5614024da638091))
23
- * **container:** add rules for TextWithIcon component ([4c692ab](https://github.com/MegafonWebLab/megafon-ui/commit/4c692ab43db115dc7c5aeba39713d6f2ae2daaff))
24
- * **textwithicon:** add component TextWithIcon ([b772728](https://github.com/MegafonWebLab/megafon-ui/commit/b772728b8739dbbfa550eef1c8eedb56cda620c9))
25
- * **videoblock:** made button optional ([eef7c17](https://github.com/MegafonWebLab/megafon-ui/commit/eef7c174415b28fe3512d8c28fcd9bb73774dd2e))
78
+ * **header:** made header as a functional component ([81701ad](https://github.com/MegafonWebLab/megafon-ui/commit/81701ad87b6e9df2fe630bf4e183383264c0bb01))
79
+
80
+
81
+
82
+
83
+
84
+ # [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)
85
+
86
+ **Note:** Version bump only for package @megafon/ui-shared
87
+
88
+
89
+
90
+
91
+
92
+ # [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)
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * **accordion-box:** change type of onClickAccordion prop ([5d5cef5](https://github.com/MegafonWebLab/megafon-ui/commit/5d5cef5e2dd70efa808a6146e29daf1c882af304))
98
+
99
+
100
+ ### BREAKING CHANGES
101
+
102
+ * **accordion-box:** remove parameter 'title' in onClickAccordion prop
103
+
104
+
105
+
106
+
107
+
108
+ # [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)
109
+
110
+ **Note:** Version bump only for package @megafon/ui-shared
111
+
112
+
113
+
114
+
115
+
116
+ # [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)
117
+
118
+
119
+ ### Bug Fixes
120
+
121
+ * **colors:** renabe green and purple to brandGreen and brandPurple to avoid postcss-colormin bug ([563d97c](https://github.com/MegafonWebLab/megafon-ui/commit/563d97c42900099415a6872f57b500b87aeed647))
122
+
123
+
124
+ ### BREAKING CHANGES
125
+
126
+ * **colors:** green, green20, green80, purple, purple20 and purple80 colors now have 'brand'
127
+ prefix (e.g. brandGreen)
128
+
129
+
130
+
131
+
132
+
133
+ # [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)
134
+
135
+
136
+ ### Features
137
+
138
+ * **colors:** css custom properties and color themes support ([b19a9a5](https://github.com/MegafonWebLab/megafon-ui/commit/b19a9a5112ebc7427d60f6514d606dd9d71ca444))
139
+
140
+
141
+ ### BREAKING CHANGES
142
+
143
+ * **colors:** read commit description
26
144
 
27
145
 
28
146
 
@@ -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
- [key: string]: string;
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, title: string) => void;
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.objectOf(PropTypes.string.isRequired),
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: #333333;
19
+ color: var(--stcBlack);
17
20
  }
18
21
  .mfui-breadcrumbs_color_white .mfui-breadcrumbs__item:before {
19
- color: #FFFFFF;
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
- title: string;
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 title = _ref2.title,
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 #D8D8D8;
11
- background-color: #FFFFFF;
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: #00B956;
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
- [key: string]: string;
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.objectOf(PropTypes.string.isRequired),
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
- [key: string]: string;
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.objectOf(PropTypes.string.isRequired),
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: #FFFFFF;
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: #333333;
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: #34AAF2;
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: #FFFFFF;
12
+ background-color: var(--base);
13
13
  }
14
14
  .mfui-container_bg-color_light-gray {
15
- background-color: #F6F6F6;
15
+ background-color: var(--spbSky0);
16
16
  }
17
17
  .mfui-container_bg-color_gray {
18
- background-color: #EDEDED;
18
+ background-color: var(--spbSky1);
19
19
  }
20
20
  .mfui-container_bg-color_green {
21
- background-color: #00B956;
21
+ background-color: var(--brandGreen);
22
22
  }
23
23
  .mfui-container_bg-color_purple {
24
- background-color: #731982;
24
+ background-color: var(--brandPurple);
25
25
  }
26
26
  @media screen and (min-width: 768px) and (max-width: 1023px) {
27
27
  .mfui-container {
@@ -2230,9 +2230,6 @@ h5 {
2230
2230
  .mfui-container .mfui-text-box + .mfui-download-links {
2231
2231
  margin-top: 32px;
2232
2232
  }
2233
- .mfui-container .mfui-text-box + extract(.mfui-video-banner, .mfui-title-description-box, .mfui-benefits-icons, .mfui-benefits-pictures, .mfui-cards-box, .mfui-carousel-box, .mfui-video-block, .mfui-tabs-box, .mfui-partners, .mfui-instructions, .mfui-property, .mfui-table, .mfui-accordion-box, .mfui-button-link-box, .mfui-download-links, .mfui-text-box, .mfui-picture-with-description, .mfui-store-banner, .mfui-button-banner, .mfui-steps, .mfui-page-title, .mfui-text-with-icon, 23) {
2234
- margin-top: 24px;
2235
- }
2236
2233
  @media screen and (min-width: 768px) and (max-width: 1023px) {
2237
2234
  .mfui-container .mfui-text-box + .mfui-benefits-icons {
2238
2235
  margin-top: 48px;
@@ -2872,163 +2869,6 @@ h5 {
2872
2869
  .mfui-container .mfui-page-title + .mfui-button-link-box {
2873
2870
  margin-top: 0 !important;
2874
2871
  }
2875
- .mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
2876
- margin-top: 40px;
2877
- }
2878
- .mfui-container .mfui-text-with-icon + .mfui-cards-box {
2879
- margin-top: 40px;
2880
- }
2881
- .mfui-container .mfui-text-with-icon + .mfui-carousel-box {
2882
- margin-top: 40px;
2883
- }
2884
- .mfui-container .mfui-text-with-icon + .mfui-video-block {
2885
- margin-top: 40px;
2886
- }
2887
- .mfui-container .mfui-text-with-icon + .mfui-tabs-box {
2888
- margin-top: 40px;
2889
- }
2890
- .mfui-container .mfui-text-with-icon + .mfui-partners {
2891
- margin-top: 40px;
2892
- }
2893
- .mfui-container .mfui-text-with-icon + .mfui-instructions {
2894
- margin-top: 40px;
2895
- }
2896
- .mfui-container .mfui-text-with-icon + .mfui-property {
2897
- margin-top: 40px;
2898
- }
2899
- .mfui-container .mfui-text-with-icon + .mfui-table {
2900
- margin-top: 40px;
2901
- }
2902
- .mfui-container .mfui-text-with-icon + .mfui-accordion-box {
2903
- margin-top: 40px;
2904
- }
2905
- .mfui-container .mfui-text-with-icon + .mfui-button-link-box {
2906
- margin-top: 40px;
2907
- }
2908
- .mfui-container .mfui-text-with-icon + .mfui-download-links {
2909
- margin-top: 40px;
2910
- }
2911
- .mfui-container .mfui-text-with-icon + .mfui-text-box {
2912
- margin-top: 24px;
2913
- }
2914
- .mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
2915
- margin-top: 40px;
2916
- }
2917
- .mfui-container .mfui-text-with-icon + .mfui-store-banner {
2918
- margin-top: 40px;
2919
- }
2920
- .mfui-container .mfui-text-with-icon + .mfui-button-banner {
2921
- margin-top: 40px;
2922
- }
2923
- .mfui-container .mfui-text-with-icon + .mfui-steps {
2924
- margin-top: 40px;
2925
- }
2926
- @media screen and (min-width: 768px) and (max-width: 1023px) {
2927
- .mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
2928
- margin-top: 48px;
2929
- }
2930
- .mfui-container .mfui-text-with-icon + .mfui-cards-box {
2931
- margin-top: 48px;
2932
- }
2933
- .mfui-container .mfui-text-with-icon + .mfui-carousel-box {
2934
- margin-top: 48px;
2935
- }
2936
- .mfui-container .mfui-text-with-icon + .mfui-video-block {
2937
- margin-top: 48px;
2938
- }
2939
- .mfui-container .mfui-text-with-icon + .mfui-tabs-box {
2940
- margin-top: 48px;
2941
- }
2942
- .mfui-container .mfui-text-with-icon + .mfui-partners {
2943
- margin-top: 48px;
2944
- }
2945
- .mfui-container .mfui-text-with-icon + .mfui-instructions {
2946
- margin-top: 48px;
2947
- }
2948
- .mfui-container .mfui-text-with-icon + .mfui-property {
2949
- margin-top: 48px;
2950
- }
2951
- .mfui-container .mfui-text-with-icon + .mfui-table {
2952
- margin-top: 48px;
2953
- }
2954
- .mfui-container .mfui-text-with-icon + .mfui-accordion-box {
2955
- margin-top: 48px;
2956
- }
2957
- .mfui-container .mfui-text-with-icon + .mfui-button-link-box {
2958
- margin-top: 48px;
2959
- }
2960
- .mfui-container .mfui-text-with-icon + .mfui-download-links {
2961
- margin-top: 48px;
2962
- }
2963
- .mfui-container .mfui-text-with-icon + .mfui-text-box {
2964
- margin-top: 24px;
2965
- }
2966
- .mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
2967
- margin-top: 48px;
2968
- }
2969
- .mfui-container .mfui-text-with-icon + .mfui-store-banner {
2970
- margin-top: 48px;
2971
- }
2972
- .mfui-container .mfui-text-with-icon + .mfui-button-banner {
2973
- margin-top: 48px;
2974
- }
2975
- .mfui-container .mfui-text-with-icon + .mfui-steps {
2976
- margin-top: 48px;
2977
- }
2978
- }
2979
- @media screen and (min-width: 1024px) {
2980
- .mfui-container .mfui-text-with-icon + .mfui-benefits-pictures {
2981
- margin-top: 56px;
2982
- }
2983
- .mfui-container .mfui-text-with-icon + .mfui-cards-box {
2984
- margin-top: 56px;
2985
- }
2986
- .mfui-container .mfui-text-with-icon + .mfui-carousel-box {
2987
- margin-top: 56px;
2988
- }
2989
- .mfui-container .mfui-text-with-icon + .mfui-video-block {
2990
- margin-top: 56px;
2991
- }
2992
- .mfui-container .mfui-text-with-icon + .mfui-tabs-box {
2993
- margin-top: 56px;
2994
- }
2995
- .mfui-container .mfui-text-with-icon + .mfui-partners {
2996
- margin-top: 56px;
2997
- }
2998
- .mfui-container .mfui-text-with-icon + .mfui-instructions {
2999
- margin-top: 56px;
3000
- }
3001
- .mfui-container .mfui-text-with-icon + .mfui-property {
3002
- margin-top: 56px;
3003
- }
3004
- .mfui-container .mfui-text-with-icon + .mfui-table {
3005
- margin-top: 56px;
3006
- }
3007
- .mfui-container .mfui-text-with-icon + .mfui-accordion-box {
3008
- margin-top: 56px;
3009
- }
3010
- .mfui-container .mfui-text-with-icon + .mfui-button-link-box {
3011
- margin-top: 48px;
3012
- }
3013
- .mfui-container .mfui-text-with-icon + .mfui-download-links {
3014
- margin-top: 48px;
3015
- }
3016
- .mfui-container .mfui-text-with-icon + .mfui-text-box {
3017
- margin-top: 24px;
3018
- }
3019
- .mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
3020
- margin-top: 56px;
3021
- }
3022
- .mfui-container .mfui-text-with-icon + .mfui-store-banner {
3023
- margin-top: 56px;
3024
- }
3025
- .mfui-container .mfui-text-with-icon + .mfui-button-banner {
3026
- margin-top: 56px;
3027
- }
3028
- .mfui-container .mfui-text-with-icon + .mfui-steps {
3029
- margin-top: 56px;
3030
- }
3031
- }
3032
2872
  .mfui-container_disable-padding-top {
3033
2873
  padding-top: 0 !important;
3034
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: #33333380;
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: #D8D8D8;
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: #FFFFFF;
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: #00B956;
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 #B2B2B2;
385
- box-shadow: inset 0 0 0 1px #B2B2B2;
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: #FFFFFF;
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: #00B956;
460
+ background: var(--brandGreen);
461
461
  }
462
462
  .mfui-instructions__articles-dot:last-child {
463
463
  margin-right: 0;
@@ -41,9 +41,9 @@ h5 {
41
41
  display: inline-block;
42
42
  margin-top: 16px;
43
43
  padding: 2px 14px;
44
- color: #FFFFFF;
44
+ color: var(--stcWhite);
45
45
  font-weight: 500;
46
- background-color: #731982;
46
+ background-color: var(--brandPurple);
47
47
  }
48
48
  @media screen and (min-width: 1280px) {
49
49
  .mfui-page-title__badge_under-breadcrumbs {