ecomlab-components-next 0.1.243 → 0.1.245
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/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +2 -2
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +4 -4
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +4 -4
- package/dist/components/ConstructorComponents/MainContainer/MainContainerV2.stories.js +3 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +2 -2
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.js +29 -0
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +82 -0
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.stories.js +18 -0
- package/dist/index.js +14 -0
- package/package.json +1 -1
|
@@ -124,13 +124,13 @@ var FormV2 = function FormV2(_ref) {
|
|
|
124
124
|
setIsModal: setIsModal,
|
|
125
125
|
formTitle: 'Желаемый способ связи'
|
|
126
126
|
}, currentProps())), /*#__PURE__*/_react["default"].createElement("section", {
|
|
127
|
-
className: "form-with-
|
|
127
|
+
className: "form-with-btn2"
|
|
128
128
|
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
129
|
-
className: "form-with-
|
|
129
|
+
className: "form-with-btn2__title"
|
|
130
130
|
}, title), /*#__PURE__*/_react["default"].createElement("p", {
|
|
131
|
-
className: "form-with-
|
|
131
|
+
className: "form-with-btn2__description"
|
|
132
132
|
}, description), /*#__PURE__*/_react["default"].createElement("button", {
|
|
133
|
-
className: "form-with-
|
|
133
|
+
className: "form-with-btn2__button",
|
|
134
134
|
onClick: function onClick() {
|
|
135
135
|
return setIsModal(true);
|
|
136
136
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
.form-with-
|
|
4
|
+
.form-with-btn2 {
|
|
5
5
|
background: linear-gradient(135deg, $green-forest 0%, $green-light 100%);
|
|
6
6
|
padding: 48px 40px;
|
|
7
7
|
text-align: center;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
// Мобильная адаптация
|
|
100
100
|
@media (max-width: 768px) {
|
|
101
|
-
.form-with-
|
|
101
|
+
.form-with-btn2 {
|
|
102
102
|
padding: 36px 24px;
|
|
103
103
|
border-radius: 20px;
|
|
104
104
|
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@media (max-width: 480px) {
|
|
126
|
-
.form-with-
|
|
126
|
+
.form-with-btn2 {
|
|
127
127
|
padding: 28px 20px;
|
|
128
128
|
|
|
129
129
|
&__title {
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
@media (min-width: 769px) and (max-width: 1024px) {
|
|
146
|
-
.form-with-
|
|
146
|
+
.form-with-btn2 {
|
|
147
147
|
padding: 42px 32px;
|
|
148
148
|
|
|
149
149
|
&__title {
|
|
@@ -23,6 +23,7 @@ var _ArticlesBlockV = _interopRequireDefault(require("../ArticlesBlockV2/Article
|
|
|
23
23
|
var _MainContainer = _interopRequireDefault(require("./MainContainer"));
|
|
24
24
|
var _CardsServicesV = _interopRequireDefault(require("../CardsServicesV2/CardsServicesV2"));
|
|
25
25
|
var _PointsListV = _interopRequireDefault(require("../PointsListV2/PointsListV2"));
|
|
26
|
+
var _VideoBlockV = _interopRequireDefault(require("../VideoBlockV2/VideoBlockV2"));
|
|
26
27
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
27
28
|
var cards_list = [{
|
|
28
29
|
sum: 'Аналитика повышает продажи',
|
|
@@ -195,5 +196,7 @@ var MainContainerTest = exports.MainContainerTest = function MainContainerTest()
|
|
|
195
196
|
list: point_list,
|
|
196
197
|
title: 'Возможности нашего сервиса',
|
|
197
198
|
className: 'max-items-3'
|
|
199
|
+
}), /*#__PURE__*/_react["default"].createElement(_VideoBlockV["default"], {
|
|
200
|
+
src: "https://dl.ecomru.ru:9001/redactor-videos/ecomru_1.mp4"
|
|
198
201
|
}));
|
|
199
202
|
};
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@media (max-width: 1000px) {
|
|
37
|
-
.section-
|
|
37
|
+
.section-marquee2 {
|
|
38
38
|
gap: 24px;
|
|
39
39
|
|
|
40
40
|
&__title {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@media (max-width: 430px) {
|
|
53
|
-
.section-
|
|
53
|
+
.section-marquee2 {
|
|
54
54
|
gap: 16px;
|
|
55
55
|
|
|
56
56
|
&__title {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
require("./VideoBlockV2.scss");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
var VideoBlockV2 = function VideoBlockV2(_ref) {
|
|
12
|
+
var src = _ref.src,
|
|
13
|
+
hideTitle = _ref.hideTitle;
|
|
14
|
+
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
15
|
+
className: "video-block-v2"
|
|
16
|
+
}, !hideTitle && /*#__PURE__*/_react["default"].createElement("h2", {
|
|
17
|
+
className: "video-block-v2__title"
|
|
18
|
+
}, "\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0432\u0438\u0434\u0435\u043E \u043E \u043D\u0430\u0441"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
+
className: "video-block-v2__video-box"
|
|
20
|
+
}, /*#__PURE__*/_react["default"].createElement("video", {
|
|
21
|
+
className: "video-block-v2__video",
|
|
22
|
+
src: src,
|
|
23
|
+
controls: true
|
|
24
|
+
}, /*#__PURE__*/_react["default"].createElement("source", {
|
|
25
|
+
src: src,
|
|
26
|
+
type: "video/mp4"
|
|
27
|
+
}))));
|
|
28
|
+
};
|
|
29
|
+
var _default = exports["default"] = VideoBlockV2;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
$text: #1A1A2E;
|
|
5
|
+
$white: #FFFFFF;
|
|
6
|
+
$border: #E5E7EB;
|
|
7
|
+
|
|
8
|
+
.video-block-v2 {
|
|
9
|
+
font-family: 'Manrope', sans-serif;
|
|
10
|
+
background: $white;
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 96px 48px;
|
|
13
|
+
|
|
14
|
+
* {
|
|
15
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__title {
|
|
19
|
+
text-align: center;
|
|
20
|
+
font-size: 30px;
|
|
21
|
+
font-weight: 800;
|
|
22
|
+
letter-spacing: -0.5px;
|
|
23
|
+
color: $text;
|
|
24
|
+
margin: 0 0 48px 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__video-box {
|
|
28
|
+
width: 100%;
|
|
29
|
+
max-width: 1280px;
|
|
30
|
+
margin: 0 auto;
|
|
31
|
+
border-radius: 20px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__video {
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: auto;
|
|
39
|
+
display: block;
|
|
40
|
+
border-radius: 20px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Адаптация как в референсе
|
|
44
|
+
@media (max-width: 1024px) {
|
|
45
|
+
padding: 72px 32px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (max-width: 900px) {
|
|
49
|
+
padding: 60px 24px;
|
|
50
|
+
|
|
51
|
+
&__title {
|
|
52
|
+
font-size: 26px;
|
|
53
|
+
margin-bottom: 40px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (max-width: 768px) {
|
|
58
|
+
padding: 48px 24px;
|
|
59
|
+
|
|
60
|
+
&__title {
|
|
61
|
+
font-size: 24px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (max-width: 500px) {
|
|
66
|
+
padding: 40px 16px;
|
|
67
|
+
|
|
68
|
+
&__title {
|
|
69
|
+
font-size: 22px;
|
|
70
|
+
margin-bottom: 32px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (max-width: 375px) {
|
|
75
|
+
padding: 32px 12px;
|
|
76
|
+
|
|
77
|
+
&__title {
|
|
78
|
+
font-size: 20px;
|
|
79
|
+
margin-bottom: 24px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.VideoBlockV2Test = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _VideoBlockV = _interopRequireDefault(require("./VideoBlockV2"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
var _default = exports["default"] = {
|
|
11
|
+
title: 'VideoBlockV2',
|
|
12
|
+
component: _VideoBlockV["default"]
|
|
13
|
+
};
|
|
14
|
+
var VideoBlockV2Test = exports.VideoBlockV2Test = function VideoBlockV2Test() {
|
|
15
|
+
return /*#__PURE__*/_react["default"].createElement(_VideoBlockV["default"], {
|
|
16
|
+
src: "https://dl.ecomru.ru:9001/redactor-videos/ecomru_1.mp4"
|
|
17
|
+
});
|
|
18
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -153,6 +153,12 @@ Object.defineProperty(exports, "Header", {
|
|
|
153
153
|
return _Header["default"];
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
+
Object.defineProperty(exports, "HeaderV2", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _HeaderV["default"];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
156
162
|
Object.defineProperty(exports, "InputDinamycPlaceholder", {
|
|
157
163
|
enumerable: true,
|
|
158
164
|
get: function get() {
|
|
@@ -357,6 +363,12 @@ Object.defineProperty(exports, "VideoBlock", {
|
|
|
357
363
|
return _VideoBlock["default"];
|
|
358
364
|
}
|
|
359
365
|
});
|
|
366
|
+
Object.defineProperty(exports, "VideoBlockV2", {
|
|
367
|
+
enumerable: true,
|
|
368
|
+
get: function get() {
|
|
369
|
+
return _VideoBlockV["default"];
|
|
370
|
+
}
|
|
371
|
+
});
|
|
360
372
|
Object.defineProperty(exports, "ViewSwitch", {
|
|
361
373
|
enumerable: true,
|
|
362
374
|
get: function get() {
|
|
@@ -376,12 +388,14 @@ var _AdvantagesBlock = _interopRequireDefault(require("./components/ConstructorC
|
|
|
376
388
|
var _FeaturesGridV = _interopRequireDefault(require("./components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2"));
|
|
377
389
|
var _CardsInfo = _interopRequireDefault(require("./components/ConstructorComponents/CardsInfo/CardsInfo"));
|
|
378
390
|
var _Header = _interopRequireDefault(require("./components/ConstructorComponents/Header/Header"));
|
|
391
|
+
var _HeaderV = _interopRequireDefault(require("./components/ConstructorComponents/HeaderV2/HeaderV2"));
|
|
379
392
|
var _PhoneBlock = _interopRequireDefault(require("./components/ConstructorComponents/PhoneBlock/PhoneBlock"));
|
|
380
393
|
var _PhoneBlockV = _interopRequireDefault(require("./components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2"));
|
|
381
394
|
var _Questions = _interopRequireDefault(require("./components/ConstructorComponents/Questions/Questions"));
|
|
382
395
|
var _QuestionsV = _interopRequireDefault(require("./components/ConstructorComponents/QuestionsV2/QuestionsV2"));
|
|
383
396
|
var _TariffPlan = _interopRequireDefault(require("./components/ConstructorComponents/Tariff/TariffPlan"));
|
|
384
397
|
var _VideoBlock = _interopRequireDefault(require("./components/ConstructorComponents/VideoBlock/VideoBlock"));
|
|
398
|
+
var _VideoBlockV = _interopRequireDefault(require("./components/ConstructorComponents/VideoBlockV2/VideoBlockV2"));
|
|
385
399
|
var _ArticlesBlock = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlock/ArticlesBlock"));
|
|
386
400
|
var _ArticlesBlock2 = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlock2/ArticlesBlock2"));
|
|
387
401
|
var _ArticlesBlockV = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2"));
|