ecomlab-components-next 0.1.257 → 0.1.260

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 (36) hide show
  1. package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.js +12 -39
  2. package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.scss +44 -36
  3. package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +99 -181
  4. package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +24 -33
  5. package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +208 -194
  6. package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +10 -7
  7. package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +114 -145
  8. package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +10 -11
  9. package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +162 -158
  10. package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.js +8 -8
  11. package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.scss +33 -54
  12. package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +22 -35
  13. package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +68 -193
  14. package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +24 -15
  15. package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +145 -110
  16. package/dist/components/ConstructorComponents/FormV2/FormV2.js +12 -7
  17. package/dist/components/ConstructorComponents/FormV2/FormV2.scss +28 -43
  18. package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.js +1 -1
  19. package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.js +9 -9
  20. package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.scss +30 -43
  21. package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +1 -1
  22. package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +15 -11
  23. package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +56 -115
  24. package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +56 -42
  25. package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +12 -12
  26. package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +47 -45
  27. package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.js +5 -3
  28. package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.js +9 -4
  29. package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.scss +35 -57
  30. package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +5 -9
  31. package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +46 -83
  32. package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +25 -27
  33. package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +156 -185
  34. package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +26 -28
  35. package/dist/components/ConstructorComponents/variables.scss +1 -1
  36. package/package.json +1 -1
@@ -1,64 +1,72 @@
1
- @import '../variables.scss';
2
1
  @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
2
+ @import '../variables.scss';
3
3
 
4
4
  .cards-services-v2 {
5
- padding: 80px 48px;
6
- background: #F7F8FC;
7
-
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ justify-content: center;
9
+ font-family: 'Manrope', sans-serif;
10
+ background: $bg;
11
+ width: 100%;
12
+ padding: 96px 40px;
13
+
8
14
  * {
9
15
  font-family: 'Manrope', 'Golos Text', sans-serif !important;
10
16
  }
11
-
17
+
12
18
  &__header {
13
19
  text-align: center;
14
20
  margin-bottom: 48px;
15
21
  }
16
-
22
+
17
23
  &__title {
24
+ text-align: center;
25
+ width: 100%;
18
26
  font-size: 30px;
19
27
  font-weight: 800;
20
28
  letter-spacing: -0.5px;
21
- margin-bottom: 8px;
22
- color: #1A1A2E;
29
+ color: $text;
30
+ margin: 0 0 8px;
23
31
  }
24
-
32
+
25
33
  &__subtitle {
34
+ color: $muted;
26
35
  font-size: 15px;
27
- color: #6B7280;
28
- line-height: 1.5;
36
+ margin: 0;
29
37
  }
30
-
38
+
31
39
  &__grid {
32
40
  max-width: 1280px;
33
41
  margin: 0 auto;
34
42
  display: grid;
35
43
  grid-template-columns: repeat(4, 1fr);
36
- gap: 20px;
44
+ gap: 24px;
37
45
  }
38
-
46
+
39
47
  &__card-link {
40
48
  text-decoration: none;
41
49
  display: block;
42
50
  }
43
-
51
+
44
52
  &__card {
45
- background: #FFFFFF;
46
- border-radius: 14px;
47
- padding: 24px 20px 20px;
48
- border: 1px solid #E5E7EB;
53
+ background: $white;
54
+ border-radius: 20px;
55
+ padding: 24px;
56
+ border: 1px solid $border;
49
57
  text-align: left;
50
58
  transition: transform 0.2s ease, box-shadow 0.2s ease;
51
59
  cursor: pointer;
52
60
  height: 100%;
53
61
  display: flex;
54
62
  flex-direction: column;
55
-
63
+
56
64
  &:hover {
57
65
  transform: translateY(-4px);
58
66
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
59
67
  }
60
68
  }
61
-
69
+
62
70
  &__img {
63
71
  width: 100%;
64
72
  height: auto;
@@ -68,266 +76,227 @@
68
76
  object-fit: cover;
69
77
  aspect-ratio: 1 / 0.8;
70
78
  }
71
-
79
+
72
80
  &__placeholder {
73
81
  width: 100%;
74
82
  aspect-ratio: 1 / 0.8;
75
- background: #D1FAE5;
83
+ background: $green-light-bg;
76
84
  border-radius: 12px;
77
85
  display: flex;
78
86
  align-items: center;
79
87
  justify-content: center;
80
88
  margin-bottom: 16px;
81
89
  }
82
-
90
+
83
91
  &__placeholder-text {
84
92
  font-size: 32px;
85
93
  font-weight: 600;
86
- color: #059669;
94
+ color: $green;
87
95
  }
88
-
96
+
89
97
  &__card-title {
90
- font-size: 16px;
98
+ font-size: 18px;
91
99
  font-weight: 700;
92
100
  margin-bottom: 8px;
93
- color: #1A1A2E;
101
+ color: $text;
94
102
  }
95
-
103
+
96
104
  &__card-description {
97
- font-size: 13px;
98
- color: #6B7280;
105
+ font-size: 14px;
106
+ color: $muted;
99
107
  line-height: 1.5;
100
108
  margin-bottom: 16px;
101
109
  flex: 1;
102
110
  }
103
-
111
+
104
112
  &__card-link-text {
105
- color: #059669;
106
- font-size: 13px;
113
+ color: $green;
114
+ font-size: 14px;
107
115
  font-weight: 600;
108
116
  display: inline-flex;
109
117
  align-items: center;
110
118
  gap: 4px;
111
119
  transition: gap 0.2s ease;
112
-
120
+
113
121
  &:hover {
114
- gap: 6px;
122
+ gap: 8px;
115
123
  }
116
124
  }
117
-
125
+
118
126
  &__button {
119
- background: #059669;
120
- color: #FFFFFF;
121
- border: none;
122
- border-radius: 10px;
123
- padding: 14px 28px;
124
- font-size: 15px;
125
- font-weight: 700;
126
- font-family: 'Manrope', sans-serif;
127
- cursor: pointer;
128
- transition: all 0.2s ease;
129
- display: flex;
130
- align-items: center;
131
- justify-content: center;
132
- gap: 8px;
133
127
  margin: 48px auto 0;
134
- max-width: 280px;
135
- width: 100%;
136
-
128
+ margin-left: auto;
129
+ margin-right: auto;
130
+
137
131
  &:hover {
138
- background: #047857;
132
+ background: $green-dark;
139
133
  transform: translateY(-2px);
140
134
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
141
135
  }
142
-
136
+
143
137
  &:active {
144
138
  transform: translateY(0);
145
139
  }
146
140
  }
147
- }
148
141
 
149
- // ========== МОБИЛЬНАЯ АДАПТАЦИЯ ==========
142
+ @keyframes fadeUp {
143
+ from {
144
+ opacity: 0;
145
+ transform: translateY(24px);
146
+ }
147
+
148
+ to {
149
+ opacity: 1;
150
+ transform: translateY(0);
151
+ }
152
+ }
153
+ }
150
154
 
151
- // Планшеты (3 колонки)
152
- @media (max-width: 1024px) {
155
+ // Планшет (до 1100px)
156
+ @media (max-width: 1100px) {
153
157
  .cards-services-v2 {
154
- padding: 60px 32px;
155
-
158
+ padding: 72px 24px;
159
+
156
160
  &__grid {
157
161
  grid-template-columns: repeat(3, 1fr);
158
- gap: 16px;
162
+ gap: 20px;
159
163
  }
160
-
164
+
161
165
  &__title {
162
- font-size: 28px;
166
+ font-size: 26px;
163
167
  }
164
168
  }
165
169
  }
166
170
 
167
- // Маленькие планшеты (2 колонки)
171
+ // Мобильная версия (до 768px)
168
172
  @media (max-width: 768px) {
169
173
  .cards-services-v2 {
170
- padding: 50px 24px;
171
-
174
+
172
175
  &__grid {
173
176
  grid-template-columns: repeat(2, 1fr);
174
177
  gap: 16px;
175
178
  }
176
-
177
- &__title {
178
- font-size: 26px;
179
- }
180
-
179
+
181
180
  &__subtitle {
182
181
  font-size: 14px;
183
182
  }
184
-
183
+
185
184
  &__card {
186
- padding: 20px 16px 16px;
185
+ padding: 20px;
187
186
  }
188
-
187
+
189
188
  &__card-title {
190
- font-size: 15px;
189
+ font-size: 16px;
191
190
  }
192
-
191
+
193
192
  &__card-description {
194
- font-size: 12px;
193
+ font-size: 13px;
195
194
  }
196
-
195
+
197
196
  &__button {
198
197
  padding: 12px 24px;
199
198
  font-size: 14px;
200
199
  margin-top: 40px;
201
200
  max-width: 240px;
202
201
  }
203
-
202
+
204
203
  &__placeholder-text {
205
204
  font-size: 28px;
206
205
  }
207
206
  }
208
207
  }
209
208
 
210
- // Крупные телефоны
211
- @media (max-width: 600px) {
209
+ // Мобильная версия (до 480px)
210
+ @media (max-width: 480px) {
212
211
  .cards-services-v2 {
213
- padding: 40px 20px;
214
-
212
+
215
213
  &__header {
216
214
  margin-bottom: 32px;
217
215
  }
218
-
219
- &__title {
220
- font-size: 24px;
221
- }
222
-
223
- &__subtitle {
224
- font-size: 13px;
225
- }
226
-
227
- &__grid {
228
- gap: 14px;
229
- }
230
- }
231
- }
232
216
 
233
- // Телефоны (1 колонка)
234
- @media (max-width: 480px) {
235
- .cards-services-v2 {
236
- padding: 32px 16px;
237
-
238
217
  &__grid {
239
218
  grid-template-columns: 1fr;
240
- gap: 16px;
241
- max-width: 100%;
242
- }
243
-
244
- &__title {
245
- font-size: 22px;
219
+ gap: 20px;
246
220
  }
247
-
221
+
248
222
  &__subtitle {
249
223
  font-size: 13px;
250
224
  }
251
-
225
+
252
226
  &__card {
253
- padding: 24px 20px;
227
+ padding: 24px;
254
228
  text-align: center;
255
229
  align-items: center;
256
230
  }
257
-
231
+
258
232
  &__img {
259
233
  max-width: 280px;
260
234
  margin-left: auto;
261
235
  margin-right: auto;
262
236
  }
263
-
237
+
264
238
  &__placeholder {
265
239
  max-width: 280px;
266
240
  margin-left: auto;
267
241
  margin-right: auto;
268
242
  }
269
-
243
+
270
244
  &__card-title {
271
- font-size: 16px;
245
+ font-size: 18px;
272
246
  text-align: center;
273
- margin-bottom: 8px;
274
247
  }
275
-
248
+
276
249
  &__card-description {
277
250
  font-size: 13px;
278
251
  text-align: center;
279
252
  margin-bottom: 20px;
280
253
  }
281
-
254
+
282
255
  &__card-link-text {
283
256
  justify-content: center;
284
257
  font-size: 14px;
285
258
  }
286
-
287
- &__button {
288
- padding: 12px 24px;
289
- font-size: 14px;
290
- margin-top: 32px;
291
- max-width: 100%;
292
- }
293
-
259
+
260
+
294
261
  &__placeholder-text {
295
262
  font-size: 28px;
296
263
  }
297
264
  }
298
265
  }
299
266
 
300
- // Маленькие телефоны
301
- @media (max-width: 375px) {
267
+ // Мобильная версия (до 430px)
268
+ @media (max-width: 430px) {
302
269
  .cards-services-v2 {
303
- padding: 28px 12px;
304
-
270
+ padding: 40px 20px;
271
+
305
272
  &__title {
306
- font-size: 20px;
273
+ font-size: 22px;
307
274
  }
308
-
275
+
309
276
  &__subtitle {
310
- font-size: 12px;
277
+ font-size: 13px;
311
278
  }
312
-
279
+
313
280
  &__card {
314
- padding: 20px 16px;
281
+ padding: 20px;
315
282
  }
316
-
283
+
317
284
  &__card-title {
318
- font-size: 15px;
285
+ font-size: 16px;
319
286
  }
320
-
287
+
321
288
  &__card-description {
322
289
  font-size: 12px;
323
290
  }
324
-
325
- &__card-link-text {
326
- font-size: 13px;
327
- }
328
-
291
+
329
292
  &__placeholder-text {
330
293
  font-size: 24px;
331
294
  }
295
+
296
+ &__button {
297
+ margin-top: 32px;
298
+ width: 100% !important;
299
+ max-width: 100% !important;
300
+ }
332
301
  }
333
302
  }
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _image = _interopRequireDefault(require("next/image"));
10
9
  require("./CardsV2.scss");
11
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
11
  var DEFAULT_LIST = [{
@@ -20,32 +19,32 @@ var DEFAULT_LIST = [{
20
19
  description: "\u0410\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0442 \u0432 5 \u0440\u0430\u0437 \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u043E\u0442\u0437\u044B\u0432\u044B \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u0430\u043C\u0438."
21
20
  }, {
22
21
  title: "GPT-4o",
23
- description: "\u0412\u043D\u0443\u0442\u0440\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u044C GPT-4o. \u041E\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u0430 \u0442\u0435\u0441\u0442 \u0422\u044C\u044E\u0440\u0438\u043D\u0433\u0430 \u0438 \u0435\u0451 \u043E\u0442\u0432\u0435\u0442\u044B \u0442\u0430\u043A\u0438\u0435 \u0436\u0435, \u043A\u0430\u043A \u0443 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430.\xA0"
22
+ description: "\u0412\u043D\u0443\u0442\u0440\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u044C GPT-4o. \u041E\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u0430 \u0442\u0435\u0441\u0442 \u0422\u044C\u044E\u0440\u0438\u043D\u0433\u0430 \u0438 \u0435\u0451 \u043E\u0442\u0432\u0435\u0442\u044B \u0442\u0430\u043A\u0438\u0435 \u0436\u0435, \u043A\u0430\u043A \u0443 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. "
24
23
  }];
25
24
  var CardsV2 = function CardsV2(_ref) {
26
25
  var title = _ref.title,
27
26
  _ref$list = _ref.list,
28
27
  list = _ref$list === void 0 ? DEFAULT_LIST : _ref$list,
29
28
  child = _ref.child;
30
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("section", {
31
- className: "cards2-grey"
29
+ return /*#__PURE__*/_react["default"].createElement("section", {
30
+ className: "cards-v2"
32
31
  }, /*#__PURE__*/_react["default"].createElement("div", {
33
- className: "cards2-grey__inner"
32
+ className: "cards-v2__inner"
34
33
  }, title && /*#__PURE__*/_react["default"].createElement("h2", {
35
- className: "cards2-grey__title"
34
+ className: "cards-v2__title"
36
35
  }, title), /*#__PURE__*/_react["default"].createElement("div", {
37
- className: "cards2-grey__items"
36
+ className: "cards-v2__items"
38
37
  }, list.map(function (_ref2) {
39
38
  var cardTitle = _ref2.title,
40
39
  description = _ref2.description;
41
40
  return /*#__PURE__*/_react["default"].createElement("div", {
42
- className: "cards2-grey__item",
41
+ className: "cards-v2__item",
43
42
  key: cardTitle + description
44
43
  }, /*#__PURE__*/_react["default"].createElement("p", {
45
- className: "cards2-grey__title-card"
44
+ className: "cards-v2__card-title"
46
45
  }, cardTitle), /*#__PURE__*/_react["default"].createElement("p", {
47
- className: "cards2-grey__description-card"
46
+ className: "cards-v2__description"
48
47
  }, description));
49
- })), child)));
48
+ })), child));
50
49
  };
51
50
  var _default = exports["default"] = CardsV2;