ecomlab-components-next 0.1.256 → 0.1.259

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 (31) hide show
  1. package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +99 -181
  2. package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +24 -33
  3. package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +208 -194
  4. package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +1 -3
  5. package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +103 -127
  6. package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +10 -11
  7. package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +162 -158
  8. package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.js +8 -8
  9. package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.scss +33 -54
  10. package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +11 -11
  11. package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +86 -168
  12. package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +13 -13
  13. package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +140 -110
  14. package/dist/components/ConstructorComponents/FormV2/FormV2.js +4 -4
  15. package/dist/components/ConstructorComponents/FormV2/FormV2.scss +28 -43
  16. package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.js +9 -9
  17. package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.scss +30 -43
  18. package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +1 -1
  19. package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +8 -8
  20. package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +53 -77
  21. package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +56 -42
  22. package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +12 -12
  23. package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +47 -45
  24. package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.scss +35 -57
  25. package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +5 -9
  26. package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +46 -83
  27. package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +13 -13
  28. package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +184 -184
  29. package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +26 -28
  30. package/dist/components/ConstructorComponents/variables.scss +1 -1
  31. package/package.json +1 -1
@@ -1,237 +1,251 @@
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
- .lbi2-root {
5
- --purple: #6B5CE7;
6
- --purple-light: #EEF0FF;
7
- --purple-dark: #5448D0;
8
- --green: #22C55E;
9
- --text: #1A1A2E;
10
- --muted: #6B7280;
11
- --border: #E5E7EB;
12
- --bg: #F7F8FC;
13
- --white: #FFFFFF;
14
-
4
+ .blocks-info-v2 {
15
5
  font-family: 'Manrope', sans-serif;
16
- background: var(--bg);
6
+ background: $bg;
17
7
  width: 100%;
18
- box-sizing: border-box;
19
- padding: 96px 48px;
8
+ padding: 96px 40px;
20
9
 
21
10
  * {
22
11
  font-family: 'Manrope', 'Golos Text', sans-serif !important;
23
12
  }
24
- }
25
-
26
- .lbi2-inner {
27
- max-width: 1280px;
28
- margin: 0 auto;
29
- display: flex;
30
- flex-direction: column;
31
- gap: 48px;
32
- }
33
-
34
- /* ── Section heading ── */
35
- .lbi2-section-title {
36
- text-align: center;
37
- width: 100%;
38
- font-size: 30px;
39
- font-weight: 800;
40
- letter-spacing: -0.5px;
41
- color: var(--text);
42
- margin: 0 0 8px;
43
- }
44
-
45
- .lbi2-section-sub {
46
- color: var(--muted);
47
- font-size: 15px;
48
- margin: 0;
49
- }
50
-
51
- /* ── Items list ── */
52
- .lbi2-items {
53
- display: flex;
54
- flex-direction: column;
55
- gap: 24px;
56
- }
57
-
58
- /* ── Single item card ── */
59
- .lbi2-item {
60
- display: flex;
61
- align-items: stretch;
62
- background: var(--white);
63
- border-radius: 20px;
64
- border: 1px solid var(--border);
65
- overflow: hidden;
66
- transition: transform .2s, box-shadow .2s;
67
- min-height: 340px;
68
- animation: fadeUp 0.6s ease both;
69
- }
70
-
71
- .lbi2-item:hover {
72
- transform: translateY(-4px);
73
- box-shadow: 0 16px 48px rgba(0, 0, 0, .09);
74
- }
75
-
76
- /* ── Image side ── */
77
- .lbi2-img-box {
78
- flex: 1 1 50%;
79
- position: relative;
80
- background: var(--bg);
81
- display: flex;
82
- align-items: center;
83
- justify-content: center;
84
- overflow: hidden;
85
- }
86
-
87
- .lbi2-item--normal .lbi2-img-box {
88
- border-right: 1px solid var(--border);
89
- }
90
13
 
91
- .lbi2-item--reverse .lbi2-img-box {
92
- border-left: 1px solid var(--border);
93
- }
14
+ &__inner {
15
+ max-width: 1280px;
16
+ margin: 0 auto;
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 48px;
20
+ }
94
21
 
95
- .lbi2-img {
96
- width: 100%;
97
- height: 100%;
98
- object-fit: cover;
99
- display: block;
100
- }
22
+ &__header {
23
+ text-align: center;
24
+ }
101
25
 
102
- .lbi2-img-dev {
103
- position: absolute;
104
- bottom: 12px;
105
- right: 12px;
106
- width: 72px;
107
- height: auto;
108
- opacity: .8;
109
- }
26
+ &__title {
27
+ text-align: center;
28
+ width: 100%;
29
+ font-size: 30px;
30
+ font-weight: 800;
31
+ letter-spacing: -0.5px;
32
+ color: $text;
33
+ margin: 0 0 8px;
34
+ }
110
35
 
111
- /* ── Info side ── */
112
- .lbi2-info-box {
113
- flex: 1 1 50%;
114
- padding: 52px;
115
- display: flex;
116
- flex-direction: column;
117
- gap: 20px;
118
- box-sizing: border-box;
119
- justify-content: center;
120
- }
36
+ &__subtitle {
37
+ color: $muted;
38
+ font-size: 15px;
39
+ margin: 0;
40
+ }
121
41
 
122
- .lbi2-badge {
123
- display: inline-flex;
124
- align-items: center;
125
- gap: 6px;
126
- background: $green-light-bg;
127
- color: $green;
128
- padding: 5px 14px;
129
- border-radius: 20px;
130
- font-size: 12px;
131
- font-weight: 700;
132
- width: fit-content;
133
- letter-spacing: 0.3px;
134
- }
42
+ &__items {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: 48px;
46
+ }
135
47
 
136
- .lbi2-title-card {
137
- color: var(--text);
138
- font-size: 24px;
139
- font-weight: 800;
140
- letter-spacing: -0.5px;
141
- line-height: 1.25;
142
- margin: 0;
143
- }
48
+ &__item {
49
+ display: flex;
50
+ align-items: stretch;
51
+ background: $white;
52
+ border-radius: 20px;
53
+ border: 1px solid $border;
54
+ overflow: hidden;
55
+ transition: transform 0.2s, box-shadow 0.2s;
56
+ min-height: 340px;
57
+ animation: fadeUp 0.6s ease both;
144
58
 
145
- .lbi2-description {
146
- color: var(--muted);
147
- font-size: 14px;
148
- font-weight: 400;
149
- line-height: 1.7;
150
- margin: 0;
151
- }
59
+ &:hover {
60
+ transform: translateY(-4px);
61
+ box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09);
62
+ }
152
63
 
153
- /* ── TABLET (≤ 1024px) ── */
154
- @media (max-width: 1024px) {
155
- .lbi2-root {
156
- padding: 72px 32px;
157
- }
64
+ &_reverse {
65
+ flex-direction: row-reverse;
66
+ }
158
67
 
159
- .lbi2-info-box {
160
- padding: 40px 36px;
68
+ &_normal {
69
+ flex-direction: row;
70
+ }
161
71
  }
162
72
 
163
- .lbi2-title-card {
164
- font-size: 20px;
73
+ &__image-box {
74
+ flex: 1 1 50%;
75
+ position: relative;
76
+ background: $green-light-bg;
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: center;
80
+ overflow: hidden;
81
+ padding: 8px;
82
+ border-radius: 20px;
165
83
  }
166
84
 
167
- .lbi2-section-title {
168
- font-size: 26px;
85
+ &__item_normal &__image-box {
86
+ border-right: 1px solid $border;
169
87
  }
170
88
 
171
- .lbi2-item {
172
- min-height: 280px;
89
+ &__item_reverse &__image-box {
90
+ border-left: 1px solid $border;
173
91
  }
174
- }
175
92
 
176
- /* ── MOBILE (≤ 768px) ── */
93
+ &__image {
94
+ width: 100%;
95
+ height: 100%;
96
+ object-fit: cover;
97
+ display: block;
98
+ border-radius: 16px;
99
+ border: 1px solid $border;
100
+ background: $white;
101
+ }
102
+
103
+ &__image-dev {
104
+ position: absolute;
105
+ bottom: 12px;
106
+ right: 12px;
107
+ width: 72px;
108
+ height: auto;
109
+ opacity: 0.8;
110
+ }
111
+
112
+ &__info {
113
+ flex: 1 1 50%;
114
+ padding: 52px;
115
+ display: flex;
116
+ flex-direction: column;
117
+ gap: 20px;
118
+ box-sizing: border-box;
119
+ justify-content: center;
120
+ }
121
+
122
+ &__badge {
123
+ display: inline-flex;
124
+ align-items: center;
125
+ gap: 6px;
126
+ background: $green-light-bg;
127
+ color: $green;
128
+ padding: 5px 14px;
129
+ border-radius: 20px;
130
+ font-size: 12px;
131
+ font-weight: 700;
132
+ width: fit-content;
133
+ letter-spacing: 0.3px;
134
+ }
135
+
136
+ &__card-title {
137
+ color: $text;
138
+ font-size: 24px;
139
+ font-weight: 800;
140
+ letter-spacing: -0.5px;
141
+ line-height: 1.25;
142
+ margin: 0;
143
+ }
144
+
145
+ &__description {
146
+ color: $muted;
147
+ font-size: 14px;
148
+ font-weight: 400;
149
+ line-height: 1.7;
150
+ margin: 0;
151
+ }
152
+
153
+ @keyframes fadeUp {
154
+ from {
155
+ opacity: 0;
156
+ transform: translateY(24px);
157
+ }
158
+ to {
159
+ opacity: 1;
160
+ transform: translateY(0);
161
+ }
162
+ }
163
+ }
164
+
165
+ // Планшет (до 1100px)
166
+ @media (max-width: 1100px) {
167
+ .blocks-info-v2 {
168
+ padding: 72px 24px;
169
+
170
+ &__items {
171
+ gap: 40px;
172
+ }
173
+
174
+ &__info {
175
+ padding: 40px 36px;
176
+ }
177
+
178
+ &__card-title {
179
+ font-size: 20px;
180
+ }
181
+
182
+ &__title {
183
+ font-size: 26px;
184
+ }
185
+
186
+ &__item {
187
+ min-height: 280px;
188
+ }
189
+ }
190
+ }
191
+
192
+ // Мобильная версия (до 768px)
177
193
  @media (max-width: 768px) {
178
- .lbi2-root {
194
+ .blocks-info-v2 {
179
195
  padding: 56px 24px;
180
- }
181
196
 
182
- .lbi2-item,
183
- .lbi2-item.lbi2-item--reverse {
184
- flex-direction: column !important;
185
- min-height: unset;
186
- }
197
+ &__items {
198
+ gap: 32px;
199
+ }
187
200
 
188
- .lbi2-img-box {
189
- flex: none;
190
- width: 100%;
191
- min-height: 220px;
192
- border-right: none !important;
193
- border-left: none !important;
194
- border-bottom: 1px solid var(--border);
195
- }
201
+ &__item,
202
+ &__item_reverse {
203
+ flex-direction: column !important;
204
+ min-height: unset;
205
+ }
196
206
 
197
- .lbi2-info-box {
198
- flex: none;
199
- width: 100%;
200
- padding: 32px 28px;
201
- gap: 16px;
202
- }
207
+ &__image-box {
208
+ flex: none;
209
+ width: 100%;
210
+ min-height: 220px;
211
+ border-right: none !important;
212
+ border-left: none !important;
213
+ border-bottom: 1px solid $border;
214
+ }
203
215
 
204
- .green-btn2 {
205
- max-width: 100%;
206
- width: 100% !important;
216
+ &__info {
217
+ flex: none;
218
+ width: 100%;
219
+ padding: 32px 28px;
220
+ gap: 16px;
221
+ }
207
222
  }
208
223
  }
209
224
 
210
- /* ── SMALL MOBILE ( 430px) ── */
225
+ // Мобильная версия (до 430px)
211
226
  @media (max-width: 430px) {
212
- .lbi2-root {
213
- padding: 40px 16px;
214
- }
227
+ .blocks-info-v2 {
228
+ padding: 40px 20px;
215
229
 
216
- .lbi2-section-title {
217
- font-size: 22px;
218
- }
230
+ &__items {
231
+ gap: 24px;
232
+ }
219
233
 
220
- .lbi2-title-card {
221
- font-size: 18px;
222
- }
234
+ &__title {
235
+ font-size: 22px;
236
+ }
223
237
 
224
- .lbi2-info-box {
225
- padding: 24px 20px;
226
- gap: 14px;
227
- }
238
+ &__card-title {
239
+ font-size: 18px;
240
+ }
228
241
 
229
- .lbi2-img-box {
230
- min-height: 180px;
231
- }
242
+ &__info {
243
+ padding: 24px 20px;
244
+ gap: 14px;
245
+ }
232
246
 
233
- .green-btn2 {
234
- height: 48px;
235
- font-size: 13px;
247
+ &__image-box {
248
+ min-height: 180px;
249
+ }
236
250
  }
237
251
  }
@@ -35,7 +35,6 @@ var list_default = [{
35
35
  label: "\u041C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433",
36
36
  description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0440\u0435\u043A\u043B\u0430\u043C\u043E\u0439 \u0438 \u0430\u043A\u0446\u0438\u044F\u043C\u0438 \u043D\u0430 3-\u0445 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445 \u0432 \u043E\u0434\u043D\u043E\u043C \u043E\u043A\u043D\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u0439 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0438",
37
37
  img: "https://dl.ecomru.ru:9001/dev-images/marketing_1.png",
38
- // link: '/marketing'
39
38
  link: ''
40
39
  }, {
41
40
  label: "\u041A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430",
@@ -106,8 +105,7 @@ var CardsServicesV2 = function CardsServicesV2(_ref) {
106
105
  var _useState = (0, _react.useState)(4),
107
106
  _useState2 = _slicedToArray(_useState, 2),
108
107
  isShow = _useState2[0],
109
- setIsShow = _useState2[1]; // Показываем 8 карточек (2 ряда по 4)
110
-
108
+ setIsShow = _useState2[1];
111
109
  var getFirstLetter = function getFirstLetter(label) {
112
110
  return (label === null || label === void 0 ? void 0 : label.charAt(0)) || '?';
113
111
  };