@megafon/ui-shared 2.0.0-beta.223 → 2.0.0-beta.227
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 +59 -0
- package/dist/es/components/BenefitsIcons/BenefitsIcons.d.ts +2 -0
- package/dist/es/components/BenefitsIcons/BenefitsIcons.js +4 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/es/components/BenefitsIcons/style/BenefitsIconsTile.css +2 -2
- package/dist/es/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/es/components/Breadcrumbs/Breadcrumbs.css +1 -1
- package/dist/es/components/ButtonBanner/ButtonBanner.css +6 -6
- package/dist/es/components/Card/Card.css +16 -12
- package/dist/es/components/Card/Card.d.ts +2 -2
- package/dist/es/components/Card/Card.js +4 -5
- package/dist/es/components/Container/Container.css +26 -18
- package/dist/es/components/Instructions/Instructions.css +42 -32
- package/dist/es/components/Instructions/Instructions.js +9 -23
- package/dist/es/components/PageTitle/PageTitle.css +7 -7
- package/dist/es/components/PageTitle/PageTitle.js +12 -7
- package/dist/es/components/Partners/Partners.css +2 -2
- package/dist/es/components/PictureWithDescription/PictureWithDescription.css +2 -2
- package/dist/es/components/Property/Property.css +12 -12
- package/dist/es/components/Property/PropertyDescription.css +1 -1
- package/dist/es/components/Steps/Steps.css +2 -2
- package/dist/es/components/Steps/StepsItem.css +3 -3
- package/dist/es/components/StoreBanner/StoreBanner.css +51 -8
- package/dist/es/components/StoreBanner/StoreBanner.d.ts +11 -2
- package/dist/es/components/StoreBanner/StoreBanner.js +39 -19
- package/dist/es/components/StoreButton/StoreButton.css +5 -2
- package/dist/es/components/StoreButton/StoreButton.d.ts +2 -1
- package/dist/es/components/StoreButton/StoreButton.js +1 -0
- package/dist/es/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/es/components/Table/Table.css +48 -48
- package/dist/es/components/TextBox/TextBoxPicture.css +23 -0
- package/dist/es/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/es/components/TextBox/TextBoxPicture.js +31 -0
- package/dist/es/components/VideoBanner/VideoBanner.css +8 -9
- package/dist/es/components/VideoBlock/VideoBlock.css +3 -3
- package/dist/es/index.d.ts +1 -0
- package/dist/es/index.js +1 -0
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.d.ts +2 -0
- package/dist/lib/components/BenefitsIcons/BenefitsIcons.js +4 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIcons.css +1 -1
- package/dist/lib/components/BenefitsIcons/style/BenefitsIconsTile.css +2 -2
- package/dist/lib/components/BenefitsPictures/BenfitsPictures.css +1 -1
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.css +1 -1
- package/dist/lib/components/ButtonBanner/ButtonBanner.css +6 -6
- package/dist/lib/components/Card/Card.css +16 -12
- package/dist/lib/components/Card/Card.d.ts +2 -2
- package/dist/lib/components/Card/Card.js +3 -4
- package/dist/lib/components/Container/Container.css +26 -18
- package/dist/lib/components/Instructions/Instructions.css +42 -32
- package/dist/lib/components/Instructions/Instructions.js +8 -25
- package/dist/lib/components/PageTitle/PageTitle.css +7 -7
- package/dist/lib/components/PageTitle/PageTitle.js +12 -7
- package/dist/lib/components/Partners/Partners.css +2 -2
- package/dist/lib/components/PictureWithDescription/PictureWithDescription.css +2 -2
- package/dist/lib/components/Property/Property.css +12 -12
- package/dist/lib/components/Property/PropertyDescription.css +1 -1
- package/dist/lib/components/Steps/Steps.css +2 -2
- package/dist/lib/components/Steps/StepsItem.css +3 -3
- package/dist/lib/components/StoreBanner/StoreBanner.css +51 -8
- package/dist/lib/components/StoreBanner/StoreBanner.d.ts +11 -2
- package/dist/lib/components/StoreBanner/StoreBanner.js +38 -18
- package/dist/lib/components/StoreButton/StoreButton.css +5 -2
- package/dist/lib/components/StoreButton/StoreButton.d.ts +2 -1
- package/dist/lib/components/StoreButton/StoreButton.js +1 -0
- package/dist/lib/components/StoreButton/img/huawei-store.png +0 -0
- package/dist/lib/components/Table/Table.css +48 -48
- package/dist/lib/components/TextBox/TextBoxPicture.css +23 -0
- package/dist/lib/components/TextBox/TextBoxPicture.d.ts +17 -0
- package/dist/lib/components/TextBox/TextBoxPicture.js +48 -0
- package/dist/lib/components/VideoBanner/VideoBanner.css +8 -9
- package/dist/lib/components/VideoBlock/VideoBlock.css +3 -3
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +8 -0
- package/package.json +9 -12
@@ -6,8 +6,8 @@ h5 {
|
|
6
6
|
margin: 0;
|
7
7
|
}
|
8
8
|
.mfui-beta-instructions__title_resolution_mobile {
|
9
|
-
text-align: center;
|
10
9
|
margin-bottom: 32px;
|
10
|
+
text-align: center;
|
11
11
|
}
|
12
12
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
13
13
|
.mfui-beta-instructions__title_resolution_mobile {
|
@@ -67,10 +67,10 @@ h5 {
|
|
67
67
|
}
|
68
68
|
@media screen and (min-width: 1024px) {
|
69
69
|
.mfui-beta-instructions__picture {
|
70
|
-
width: 50%;
|
71
70
|
-webkit-box-ordinal-group: 3;
|
72
71
|
-ms-flex-order: 2;
|
73
72
|
order: 2;
|
73
|
+
width: 50%;
|
74
74
|
}
|
75
75
|
}
|
76
76
|
@media screen and (min-width: 1024px) {
|
@@ -103,15 +103,15 @@ h5 {
|
|
103
103
|
.mfui-beta-instructions__img-wrapper:before {
|
104
104
|
content: '';
|
105
105
|
position: absolute;
|
106
|
-
|
106
|
+
right: 0;
|
107
107
|
bottom: 0;
|
108
108
|
left: 0;
|
109
|
-
|
109
|
+
z-index: 2;
|
110
|
+
display: block;
|
110
111
|
width: 324px;
|
111
112
|
height: 1px;
|
112
113
|
margin: 0 auto;
|
113
114
|
background: #D8D8D8;
|
114
|
-
z-index: 2;
|
115
115
|
}
|
116
116
|
}
|
117
117
|
.mfui-beta-instructions__device-screen {
|
@@ -136,8 +136,8 @@ h5 {
|
|
136
136
|
.mfui-beta-instructions_mask_android .mfui-beta-instructions__swiper {
|
137
137
|
position: absolute;
|
138
138
|
top: 59px;
|
139
|
-
left: 0;
|
140
139
|
right: 0;
|
140
|
+
left: 0;
|
141
141
|
width: 204px;
|
142
142
|
height: 363px;
|
143
143
|
margin: auto;
|
@@ -171,45 +171,50 @@ h5 {
|
|
171
171
|
}
|
172
172
|
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__device-screen {
|
173
173
|
position: relative;
|
174
|
+
z-index: 2;
|
174
175
|
width: 100%;
|
175
176
|
height: 490px;
|
176
177
|
margin: auto;
|
177
178
|
background: url('./img/newIphone.png') 50% no-repeat;
|
178
179
|
background-size: contain;
|
179
|
-
z-index: 2;
|
180
180
|
}
|
181
181
|
.mfui-beta-instructions_mask_new-iphone .mfui-beta-instructions__swiper {
|
182
182
|
position: absolute;
|
183
183
|
top: 14px;
|
184
|
-
left: 0;
|
185
184
|
right: 0;
|
185
|
+
left: 0;
|
186
|
+
z-index: 1;
|
186
187
|
width: 214px;
|
187
188
|
height: 462px;
|
188
189
|
margin: auto;
|
189
|
-
overflow: hidden;
|
190
190
|
border-radius: 20px;
|
191
|
-
|
191
|
+
overflow: hidden;
|
192
|
+
}
|
193
|
+
@media screen and (max-width: 1023px) {
|
194
|
+
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__img-wrapper:before {
|
195
|
+
display: none;
|
196
|
+
}
|
192
197
|
}
|
193
198
|
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__device-screen {
|
194
199
|
position: relative;
|
200
|
+
z-index: 2;
|
195
201
|
width: 100%;
|
196
202
|
height: 490px;
|
197
203
|
margin: auto;
|
198
204
|
background: url('./img/iphone12.png') 50% no-repeat;
|
199
205
|
background-size: contain;
|
200
|
-
z-index: 2;
|
201
206
|
}
|
202
207
|
.mfui-beta-instructions_mask_iphone-12 .mfui-beta-instructions__swiper {
|
203
208
|
position: absolute;
|
204
209
|
top: 14px;
|
205
|
-
left: 0;
|
206
210
|
right: 0;
|
211
|
+
left: 0;
|
212
|
+
z-index: 1;
|
207
213
|
width: 214px;
|
208
214
|
height: 462px;
|
209
215
|
margin: auto;
|
210
|
-
overflow: hidden;
|
211
216
|
border-radius: 20px;
|
212
|
-
|
217
|
+
overflow: hidden;
|
213
218
|
}
|
214
219
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
215
220
|
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__img-wrapper {
|
@@ -273,8 +278,8 @@ h5 {
|
|
273
278
|
.mfui-beta-instructions_mask_laptop .mfui-beta-instructions__swiper {
|
274
279
|
position: absolute;
|
275
280
|
top: 50%;
|
276
|
-
left: 50%;
|
277
281
|
right: 0;
|
282
|
+
left: 50%;
|
278
283
|
width: 78%;
|
279
284
|
margin: auto;
|
280
285
|
overflow: hidden;
|
@@ -306,10 +311,10 @@ h5 {
|
|
306
311
|
}
|
307
312
|
@media screen and (min-width: 1024px) {
|
308
313
|
.mfui-beta-instructions__articles {
|
309
|
-
width: 50%;
|
310
314
|
-webkit-box-ordinal-group: 2;
|
311
315
|
-ms-flex-order: 1;
|
312
316
|
order: 1;
|
317
|
+
width: 50%;
|
313
318
|
}
|
314
319
|
}
|
315
320
|
@media screen and (min-width: 1024px) {
|
@@ -318,16 +323,26 @@ h5 {
|
|
318
323
|
}
|
319
324
|
}
|
320
325
|
.mfui-beta-instructions__articles-list {
|
321
|
-
list-style-type: none;
|
322
|
-
padding: 0;
|
323
326
|
margin: 0;
|
327
|
+
padding: 0;
|
328
|
+
list-style-type: none;
|
324
329
|
}
|
325
330
|
.mfui-beta-instructions__articles-list_text-after {
|
326
331
|
margin-bottom: 48px;
|
327
332
|
}
|
333
|
+
@media screen and (min-width: 1024px) {
|
334
|
+
.mfui-beta-instructions__articles-list_mobile {
|
335
|
+
display: none;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
@media screen and (max-width: 1023px) {
|
339
|
+
.mfui-beta-instructions__articles-list_desktop {
|
340
|
+
display: none;
|
341
|
+
}
|
342
|
+
}
|
328
343
|
.mfui-beta-instructions__articles-item {
|
329
|
-
opacity: 0.5;
|
330
344
|
position: relative;
|
345
|
+
opacity: 0.5;
|
331
346
|
}
|
332
347
|
@media screen and (min-width: 1024px) {
|
333
348
|
.mfui-beta-instructions__articles-item {
|
@@ -345,9 +360,9 @@ h5 {
|
|
345
360
|
.mfui-beta-instructions__articles-item:hover .mfui-beta-instructions__articles-item-dot:before,
|
346
361
|
.mfui-beta-instructions__articles-item_active .mfui-beta-instructions__articles-item-dot:before {
|
347
362
|
top: 0;
|
348
|
-
left: 0;
|
349
363
|
right: 0;
|
350
364
|
bottom: 0;
|
365
|
+
left: 0;
|
351
366
|
background: #00B956;
|
352
367
|
}
|
353
368
|
@media screen and (min-width: 1024px) {
|
@@ -361,16 +376,16 @@ h5 {
|
|
361
376
|
display: inline-block;
|
362
377
|
width: 40px;
|
363
378
|
height: 40px;
|
379
|
+
border-radius: 50%;
|
380
|
+
font-weight: 500;
|
364
381
|
font-size: 15px;
|
365
382
|
line-height: 40px;
|
366
|
-
font-weight: 500;
|
367
383
|
text-align: center;
|
368
|
-
border-radius: 50%;
|
369
384
|
-webkit-box-shadow: inset 0 0 0 1px #B2B2B2;
|
370
385
|
box-shadow: inset 0 0 0 1px #B2B2B2;
|
371
386
|
cursor: pointer;
|
372
387
|
}
|
373
|
-
@media screen and (max-width:
|
388
|
+
@media screen and (max-width: 479px) {
|
374
389
|
.mfui-beta-instructions__articles-item-dot,
|
375
390
|
.mfui-beta-instructions__articles-dot {
|
376
391
|
min-width: 40px;
|
@@ -381,12 +396,12 @@ h5 {
|
|
381
396
|
content: '';
|
382
397
|
position: absolute;
|
383
398
|
top: 50%;
|
384
|
-
left: 50%;
|
385
399
|
right: 50%;
|
386
400
|
bottom: 50%;
|
401
|
+
left: 50%;
|
402
|
+
border-radius: 50%;
|
387
403
|
-webkit-transition: all 0.3s ease;
|
388
404
|
transition: all 0.3s ease;
|
389
|
-
border-radius: 50%;
|
390
405
|
}
|
391
406
|
.mfui-beta-instructions__articles-item-dot-number,
|
392
407
|
.mfui-beta-instructions__articles-dot-number {
|
@@ -412,8 +427,8 @@ h5 {
|
|
412
427
|
-webkit-box-pack: center;
|
413
428
|
-ms-flex-pack: center;
|
414
429
|
justify-content: center;
|
415
|
-
padding: 0;
|
416
430
|
margin: 0;
|
431
|
+
padding: 0;
|
417
432
|
list-style-type: none;
|
418
433
|
}
|
419
434
|
.mfui-beta-instructions__articles-dots_text-after {
|
@@ -432,11 +447,6 @@ h5 {
|
|
432
447
|
margin-right: 40px;
|
433
448
|
}
|
434
449
|
}
|
435
|
-
@media screen and (max-width: 370px) {
|
436
|
-
.mfui-beta-instructions__articles-dot {
|
437
|
-
margin-right: 12px;
|
438
|
-
}
|
439
|
-
}
|
440
450
|
.mfui-beta-instructions__articles-dot:hover,
|
441
451
|
.mfui-beta-instructions__articles-dot_active {
|
442
452
|
color: #FFFFFF;
|
@@ -444,9 +454,9 @@ h5 {
|
|
444
454
|
.mfui-beta-instructions__articles-dot:hover:before,
|
445
455
|
.mfui-beta-instructions__articles-dot_active:before {
|
446
456
|
top: 0;
|
447
|
-
left: 0;
|
448
457
|
right: 0;
|
449
458
|
bottom: 0;
|
459
|
+
left: 0;
|
450
460
|
background: #00B956;
|
451
461
|
}
|
452
462
|
.mfui-beta-instructions__articles-dot:last-child {
|
@@ -15,8 +15,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
16
16
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
17
17
|
|
18
|
-
var _lodash = _interopRequireDefault(require("lodash.throttle"));
|
19
|
-
|
20
18
|
var _htmr = _interopRequireDefault(require("htmr"));
|
21
19
|
|
22
20
|
var _react2 = require("swiper/react");
|
@@ -27,7 +25,6 @@ var _uiHelpers = require("@megafon/ui-helpers");
|
|
27
25
|
|
28
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
29
27
|
|
30
|
-
var THROTTLE_MILLISECONDS = 100;
|
31
28
|
var pictureAlignTypes = {
|
32
29
|
LEFT: 'left',
|
33
30
|
RIGHT: 'right'
|
@@ -75,11 +72,6 @@ var Instructions = function Instructions(_ref) {
|
|
75
72
|
slideIndex = _React$useState4[0],
|
76
73
|
setSlideIndex = _React$useState4[1];
|
77
74
|
|
78
|
-
var _React$useState5 = _react["default"].useState(false),
|
79
|
-
_React$useState6 = (0, _slicedToArray2["default"])(_React$useState5, 2),
|
80
|
-
isMobile = _React$useState6[0],
|
81
|
-
setIsMobile = _React$useState6[1];
|
82
|
-
|
83
75
|
var getSwiperInstance = _react["default"].useCallback(function (swiper) {
|
84
76
|
setSwiperInstance(swiper);
|
85
77
|
getSwiper && getSwiper(swiper);
|
@@ -93,11 +85,6 @@ var Instructions = function Instructions(_ref) {
|
|
93
85
|
return articleIndex === activeIndex ? "".concat(instructionItem, " ").concat(activeInstructionItem) : instructionItem;
|
94
86
|
}, [instructionItem, activeInstructionItem]);
|
95
87
|
|
96
|
-
var handleResize = _react["default"].useCallback(function () {
|
97
|
-
var isMobileScreen = window.innerWidth < _uiHelpers.breakpoints.DESKTOP_SMALL_START;
|
98
|
-
setIsMobile(isMobileScreen);
|
99
|
-
}, []);
|
100
|
-
|
101
88
|
var handleArticleClick = _react["default"].useCallback(function (ind) {
|
102
89
|
return function () {
|
103
90
|
setSlideIndex(ind);
|
@@ -168,7 +155,8 @@ var Instructions = function Instructions(_ref) {
|
|
168
155
|
var renderDesktopArticles = _react["default"].useCallback(function () {
|
169
156
|
return /*#__PURE__*/_react["default"].createElement("ul", {
|
170
157
|
className: cn('articles-list', {
|
171
|
-
'text-after': !!text
|
158
|
+
'text-after': !!text,
|
159
|
+
desktop: true
|
172
160
|
})
|
173
161
|
}, instructionItems.map(function (_ref3, ind) {
|
174
162
|
var itemTitle = _ref3.title;
|
@@ -190,7 +178,11 @@ var Instructions = function Instructions(_ref) {
|
|
190
178
|
}, [instructionItems, slideIndex, handleArticleClick, text]);
|
191
179
|
|
192
180
|
var renderMobileArticles = _react["default"].useCallback(function () {
|
193
|
-
return /*#__PURE__*/_react["default"].createElement(
|
181
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
182
|
+
className: cn('articles-list', {
|
183
|
+
mobile: true
|
184
|
+
})
|
185
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
194
186
|
className: cn('articles-title-block')
|
195
187
|
}, instructionItems.map(function (_ref4, ind) {
|
196
188
|
var itemTitle = _ref4.title;
|
@@ -216,15 +208,6 @@ var Instructions = function Instructions(_ref) {
|
|
216
208
|
})));
|
217
209
|
}, [instructionItems, slideIndex, handleArticleClick, text]);
|
218
210
|
|
219
|
-
_react["default"].useEffect(function () {
|
220
|
-
var handleSetThrottled = (0, _lodash["default"])(handleResize, THROTTLE_MILLISECONDS);
|
221
|
-
handleResize();
|
222
|
-
window.addEventListener('resize', handleSetThrottled);
|
223
|
-
return function () {
|
224
|
-
window.removeEventListener('resize', handleSetThrottled);
|
225
|
-
};
|
226
|
-
}, [handleResize]);
|
227
|
-
|
228
211
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
229
212
|
className: cn({
|
230
213
|
mask: pictureMask
|
@@ -244,7 +227,7 @@ var Instructions = function Instructions(_ref) {
|
|
244
227
|
className: cn('articles', {
|
245
228
|
align: pictureAlign
|
246
229
|
})
|
247
|
-
}, renderTitle('desktop'),
|
230
|
+
}, renderTitle('desktop'), renderMobileArticles(), renderDesktopArticles(), text && renderText())))));
|
248
231
|
};
|
249
232
|
|
250
233
|
Instructions.propTypes = {
|
@@ -41,37 +41,37 @@ h5 {
|
|
41
41
|
display: inline-block;
|
42
42
|
margin-top: 16px;
|
43
43
|
padding: 2px 14px;
|
44
|
+
color: #FFFFFF;
|
44
45
|
font-weight: 500;
|
45
46
|
background-color: #731982;
|
46
|
-
color: #FFFFFF;
|
47
47
|
}
|
48
48
|
@media screen and (min-width: 1280px) {
|
49
|
-
.mfui-beta-page-
|
49
|
+
.mfui-beta-page-title__badge_under-breadcrumbs {
|
50
50
|
margin-top: 32px;
|
51
51
|
}
|
52
52
|
}
|
53
53
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
54
|
-
.mfui-beta-page-
|
54
|
+
.mfui-beta-page-title__badge_under-breadcrumbs {
|
55
55
|
margin-top: 24px;
|
56
56
|
}
|
57
57
|
}
|
58
58
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
59
|
-
.mfui-beta-page-
|
59
|
+
.mfui-beta-page-title__badge_under-breadcrumbs {
|
60
60
|
margin-top: 16px;
|
61
61
|
}
|
62
62
|
}
|
63
63
|
@media screen and (min-width: 1280px) {
|
64
|
-
.mfui-beta-page-
|
64
|
+
.mfui-beta-page-title__title_under-breadcrumbs {
|
65
65
|
margin-top: 60px;
|
66
66
|
}
|
67
67
|
}
|
68
68
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
69
|
-
.mfui-beta-page-
|
69
|
+
.mfui-beta-page-title__title_under-breadcrumbs {
|
70
70
|
margin-top: 50px;
|
71
71
|
}
|
72
72
|
}
|
73
73
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
74
|
-
.mfui-beta-page-
|
74
|
+
.mfui-beta-page-title__title_under-breadcrumbs {
|
75
75
|
margin-top: 45px;
|
76
76
|
}
|
77
77
|
}
|
@@ -35,14 +35,16 @@ var PageTitle = function PageTitle(_ref) {
|
|
35
35
|
_ref$classes = _ref.classes,
|
36
36
|
classes = _ref$classes === void 0 ? {} : _ref$classes,
|
37
37
|
rootRef = _ref.rootRef;
|
38
|
+
var isBreadcrumbs = !!(breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length);
|
38
39
|
var renderPageTitle = React.useCallback(function () {
|
39
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null,
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
className: cn('badge')
|
40
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, badge && /*#__PURE__*/React.createElement("div", {
|
41
|
+
className: cn('badge', {
|
42
|
+
'under-breadcrumbs': isBreadcrumbs
|
43
|
+
})
|
44
44
|
}, badge), /*#__PURE__*/React.createElement(_uiCore.Header, {
|
45
|
-
className: cn('title'
|
45
|
+
className: cn('title', {
|
46
|
+
'under-breadcrumbs': isBreadcrumbs && !badge
|
47
|
+
}),
|
46
48
|
as: "h1"
|
47
49
|
}, title));
|
48
50
|
}, [breadcrumbs, classes, badge, title]);
|
@@ -57,7 +59,10 @@ var PageTitle = function PageTitle(_ref) {
|
|
57
59
|
return /*#__PURE__*/React.createElement("div", {
|
58
60
|
className: cn([className]),
|
59
61
|
ref: rootRef
|
60
|
-
},
|
62
|
+
}, (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) && /*#__PURE__*/React.createElement(_Breadcrumbs["default"], {
|
63
|
+
items: breadcrumbs,
|
64
|
+
className: cn('breadcrumbs', [classes.breadcrumbs])
|
65
|
+
}), isFullWidth ? renderPageTitle() : renderPageTitleWithGrid());
|
61
66
|
};
|
62
67
|
|
63
68
|
PageTitle.propTypes = {
|
@@ -34,10 +34,10 @@ h5 {
|
|
34
34
|
}
|
35
35
|
@media screen and (min-width: 1024px) {
|
36
36
|
.mfui-beta-picture-with-description__picture {
|
37
|
-
width: 50%;
|
38
37
|
-webkit-box-ordinal-group: 3;
|
39
38
|
-ms-flex-order: 2;
|
40
39
|
order: 2;
|
40
|
+
width: 50%;
|
41
41
|
}
|
42
42
|
}
|
43
43
|
@media screen and (min-width: 1024px) {
|
@@ -61,10 +61,10 @@ h5 {
|
|
61
61
|
}
|
62
62
|
@media screen and (min-width: 1024px) {
|
63
63
|
.mfui-beta-picture-with-description__articles {
|
64
|
-
width: 50%;
|
65
64
|
-webkit-box-ordinal-group: 2;
|
66
65
|
-ms-flex-order: 1;
|
67
66
|
order: 1;
|
67
|
+
width: 50%;
|
68
68
|
}
|
69
69
|
}
|
70
70
|
@media screen and (min-width: 1024px) {
|
@@ -35,19 +35,19 @@ h5 {
|
|
35
35
|
display: flex;
|
36
36
|
}
|
37
37
|
.mfui-beta-property__icon {
|
38
|
+
display: inline-block;
|
38
39
|
width: 24px;
|
39
40
|
height: 24px;
|
40
|
-
overflow: hidden;
|
41
41
|
margin-right: 9px;
|
42
42
|
margin-left: 1px;
|
43
|
-
|
43
|
+
overflow: hidden;
|
44
44
|
vertical-align: bottom;
|
45
45
|
}
|
46
46
|
.mfui-beta-property__badge {
|
47
|
-
border-radius: 2px;
|
48
|
-
font-size: 12px;
|
49
47
|
padding: 2px 8px;
|
48
|
+
border-radius: 2px;
|
50
49
|
color: #FFFFFF;
|
50
|
+
font-size: 12px;
|
51
51
|
background: #FFA717;
|
52
52
|
}
|
53
53
|
.mfui-beta-property__inner {
|
@@ -70,18 +70,18 @@ h5 {
|
|
70
70
|
width: 100%;
|
71
71
|
}
|
72
72
|
.mfui-beta-property__value-wrapper {
|
73
|
-
width: 35%;
|
74
73
|
display: -webkit-box;
|
75
74
|
display: -ms-flexbox;
|
76
75
|
display: flex;
|
77
|
-
-
|
78
|
-
|
79
|
-
justify-content: flex-end;
|
76
|
+
-ms-flex-negative: 0;
|
77
|
+
flex-shrink: 0;
|
80
78
|
-webkit-box-align: start;
|
81
79
|
-ms-flex-align: start;
|
82
80
|
align-items: flex-start;
|
83
|
-
-
|
84
|
-
flex-
|
81
|
+
-webkit-box-pack: end;
|
82
|
+
-ms-flex-pack: end;
|
83
|
+
justify-content: flex-end;
|
84
|
+
width: 35%;
|
85
85
|
}
|
86
86
|
@media screen and (max-width: 479px) {
|
87
87
|
.mfui-beta-property__value-wrapper {
|
@@ -90,10 +90,10 @@ h5 {
|
|
90
90
|
}
|
91
91
|
}
|
92
92
|
.mfui-beta-property__value-wrapper_merged {
|
93
|
-
border-left: 1px solid #D8D8D8;
|
94
93
|
-webkit-box-align: center;
|
95
94
|
-ms-flex-align: center;
|
96
95
|
align-items: center;
|
96
|
+
border-left: 1px solid #D8D8D8;
|
97
97
|
}
|
98
98
|
.mfui-beta-property__desc {
|
99
99
|
margin-top: 8px;
|
@@ -105,9 +105,9 @@ h5 {
|
|
105
105
|
max-width: 234px;
|
106
106
|
white-space: pre-line;
|
107
107
|
text-align: right;
|
108
|
+
font-weight: 500;
|
108
109
|
font-size: 18px;
|
109
110
|
line-height: 24px;
|
110
|
-
font-weight: 500;
|
111
111
|
letter-spacing: 0.5px;
|
112
112
|
}
|
113
113
|
@media screen and (min-width: 1280px) {
|
@@ -7,8 +7,8 @@ h5 {
|
|
7
7
|
}
|
8
8
|
.mfui-beta-steps {
|
9
9
|
width: 66%;
|
10
|
-
margin-left: auto;
|
11
10
|
margin-right: auto;
|
11
|
+
margin-left: auto;
|
12
12
|
}
|
13
13
|
@media screen and (min-width: 1280px) {
|
14
14
|
.mfui-beta-steps {
|
@@ -24,9 +24,9 @@ h5 {
|
|
24
24
|
margin-bottom: 40px;
|
25
25
|
}
|
26
26
|
.mfui-beta-steps__list {
|
27
|
-
list-style: none;
|
28
27
|
margin: 0;
|
29
28
|
padding: 0;
|
29
|
+
list-style: none;
|
30
30
|
}
|
31
31
|
.mfui-beta-steps__item {
|
32
32
|
margin-bottom: 48px;
|
@@ -17,19 +17,19 @@ h5 {
|
|
17
17
|
display: -webkit-box;
|
18
18
|
display: -ms-flexbox;
|
19
19
|
display: flex;
|
20
|
+
-ms-flex-negative: 0;
|
21
|
+
flex-shrink: 0;
|
20
22
|
-webkit-box-align: center;
|
21
23
|
-ms-flex-align: center;
|
22
24
|
align-items: center;
|
23
25
|
-webkit-box-pack: center;
|
24
26
|
-ms-flex-pack: center;
|
25
27
|
justify-content: center;
|
26
|
-
-ms-flex-negative: 0;
|
27
|
-
flex-shrink: 0;
|
28
28
|
width: 40px;
|
29
29
|
height: 40px;
|
30
30
|
border-radius: 50%;
|
31
|
-
background-color: #00B956;
|
32
31
|
color: #FFFFFF;
|
32
|
+
background-color: #00B956;
|
33
33
|
}
|
34
34
|
.mfui-beta-steps-item__text-wrapper {
|
35
35
|
padding-top: 8px;
|
@@ -29,8 +29,8 @@ h5 {
|
|
29
29
|
background-image: url('./img/new-iphone.png');
|
30
30
|
}
|
31
31
|
.mfui-beta-store-banner_mask_new-iphone .mfui-beta-store-banner__screen {
|
32
|
-
z-index: 1;
|
33
32
|
top: 13px;
|
33
|
+
z-index: 1;
|
34
34
|
width: 87%;
|
35
35
|
}
|
36
36
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
@@ -110,9 +110,9 @@ h5 {
|
|
110
110
|
}
|
111
111
|
@media screen and (max-width: 767px) {
|
112
112
|
.mfui-beta-store-banner__content {
|
113
|
+
padding-right: 15px;
|
113
114
|
padding-bottom: 32px;
|
114
115
|
padding-left: 15px;
|
115
|
-
padding-right: 15px;
|
116
116
|
text-align: center;
|
117
117
|
}
|
118
118
|
}
|
@@ -122,12 +122,12 @@ h5 {
|
|
122
122
|
background-size: cover;
|
123
123
|
}
|
124
124
|
.mfui-beta-store-banner__device-wrapper {
|
125
|
-
width: 235px;
|
126
125
|
position: relative;
|
127
126
|
bottom: calc(2 * (32px - 1px));
|
127
|
+
width: 235px;
|
128
128
|
height: calc(100% + 2 * 32px + 30px);
|
129
|
-
margin-left: auto;
|
130
129
|
margin-right: auto;
|
130
|
+
margin-left: auto;
|
131
131
|
overflow: hidden;
|
132
132
|
}
|
133
133
|
@media screen and (min-width: 1024px) and (max-width: 1279px) {
|
@@ -187,17 +187,17 @@ h5 {
|
|
187
187
|
height: 35px;
|
188
188
|
}
|
189
189
|
}
|
190
|
-
.mfui-beta-store-banner__store-
|
190
|
+
.mfui-beta-store-banner__store-link:not(:last-child) {
|
191
191
|
margin-right: 16px;
|
192
192
|
margin-bottom: 10px;
|
193
193
|
}
|
194
194
|
.mfui-beta-store-banner__stores {
|
195
|
-
-webkit-box-flex: 1;
|
196
|
-
-ms-flex-positive: 1;
|
197
|
-
flex-grow: 1;
|
198
195
|
display: -webkit-box;
|
199
196
|
display: -ms-flexbox;
|
200
197
|
display: flex;
|
198
|
+
-webkit-box-flex: 1;
|
199
|
+
-ms-flex-positive: 1;
|
200
|
+
flex-grow: 1;
|
201
201
|
-ms-flex-wrap: wrap;
|
202
202
|
flex-wrap: wrap;
|
203
203
|
}
|
@@ -220,3 +220,46 @@ h5 {
|
|
220
220
|
-webkit-transform: translateX(-50%);
|
221
221
|
transform: translateX(-50%);
|
222
222
|
}
|
223
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code {
|
224
|
+
-o-object-fit: contain;
|
225
|
+
object-fit: contain;
|
226
|
+
}
|
227
|
+
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
228
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code {
|
229
|
+
width: 120px;
|
230
|
+
height: 120px;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
@media screen and (min-width: 1280px) {
|
234
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code {
|
235
|
+
max-width: 88px;
|
236
|
+
max-height: 88px;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
@media screen and (min-width: 1024px) {
|
240
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code + .mfui-beta-store-banner__stores {
|
241
|
+
-webkit-box-orient: horizontal;
|
242
|
+
-webkit-box-direction: normal;
|
243
|
+
-ms-flex-direction: row;
|
244
|
+
flex-direction: row;
|
245
|
+
-webkit-box-pack: start;
|
246
|
+
-ms-flex-pack: start;
|
247
|
+
justify-content: flex-start;
|
248
|
+
max-width: 305px;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code + .mfui-beta-store-banner__stores .mfui-beta-store-banner__store-link {
|
252
|
+
margin-right: 16px;
|
253
|
+
}
|
254
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__qr-code + .mfui-beta-store-banner__stores .mfui-beta-store-banner__store-link:not(:first-child) {
|
255
|
+
margin-right: 0;
|
256
|
+
}
|
257
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__store-link {
|
258
|
+
width: 119px;
|
259
|
+
height: 35px;
|
260
|
+
}
|
261
|
+
@media screen and (max-width: 1023px) {
|
262
|
+
.mfui-beta-store-banner__links_three .mfui-beta-store-banner__store-link:not(:first-child) {
|
263
|
+
margin-right: 0;
|
264
|
+
}
|
265
|
+
}
|