ecomlab-components-next 0.1.257 → 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,226 +1,226 @@
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
- .steps-section {
4
+ .steps-v2 {
5
5
  font-family: 'Manrope', 'Golos Text', sans-serif !important;
6
6
  display: flex;
7
7
  width: 100%;
8
8
  flex-direction: column;
9
- gap: 30px;
9
+ gap: 48px;
10
10
  align-items: flex-start;
11
11
  border-radius: 20px;
12
- padding: 96px 48px;
13
- background: #ffffff;
12
+ padding: 96px 40px;
13
+ background: $white;
14
14
  box-sizing: border-box;
15
15
 
16
16
  * {
17
17
  font-family: 'Manrope', 'Golos Text', sans-serif !important;
18
18
  }
19
- }
20
-
21
- .steps__title {
22
- width: 100%;
23
- text-align: center;
24
- color: #1A1A2E;
25
- font-family: inherit;
26
- font-size: 30px;
27
- font-style: normal;
28
- font-weight: 800;
29
- letter-spacing: -1px;
30
- margin: 0;
31
- }
32
-
33
- /* Connector line between steps */
34
- .steps__items {
35
- display: flex;
36
- gap: 0;
37
- width: 100%;
38
- position: relative;
39
- }
40
-
41
- .steps__items::before {
42
- content: '';
43
- position: absolute;
44
- top: 28px;
45
- left: 10%;
46
- right: 10%;
47
- height: 2px;
48
- background: linear-gradient(90deg, #EEF0FF, $green, #EEF0FF);
49
- z-index: 0;
50
- }
51
-
52
- .steps__item {
53
- display: flex;
54
- flex-direction: column;
55
- width: 100%;
56
- gap: 12px;
57
- max-width: calc(25% - 12px);
58
- flex: 1;
59
- align-items: center;
60
- text-align: center;
61
- padding: 0 16px;
62
- position: relative;
63
- z-index: 1;
64
- box-sizing: border-box;
65
- }
66
-
67
- /* Step counter circles */
68
- .steps__count {
69
- display: flex;
70
- justify-content: center;
71
- align-items: center;
72
- border-radius: 50%;
73
- width: 56px;
74
- height: 56px;
75
- background: #ffffff;
76
- border: 2px solid $green;
77
- color: $green;
78
- font-family: inherit;
79
- font-size: 20px;
80
- font-style: normal;
81
- font-weight: 800;
82
- box-shadow: 0 0 0 6px #ffffff;
83
- flex-shrink: 0;
84
- }
85
-
86
- /* First step is "active" */
87
- .steps__item:nth-child(1) .steps__count {
88
- background: $green;
89
- color: #ffffff;
90
- }
91
-
92
- .steps__title_step {
93
- color: #1A1A2E;
94
- font-family: inherit;
95
- font-size: 15px;
96
- font-style: normal;
97
- font-weight: 700;
98
- margin: 0;
99
- }
100
-
101
- .steps__description {
102
- color: #6B7280;
103
- font-family: inherit;
104
- font-size: 13px;
105
- font-style: normal;
106
- font-weight: 400;
107
- line-height: 1.6;
108
- margin: 0;
109
- }
110
-
111
- /* CTA Button */
112
- .steps__btn {
113
- display: flex;
114
- align-items: center;
115
- justify-content: center;
116
- gap: 8px;
117
- background: $green;
118
- color: #ffffff;
119
- border: none;
120
- border-radius: 10px;
121
- padding: 16px 32px;
122
- font-family: inherit;
123
- font-size: 15px;
124
- font-weight: 700;
125
- cursor: pointer;
126
- width: 100%;
127
- max-width: 430px;
128
- height: 56px;
129
- margin: 0 auto;
130
- transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
131
- box-shadow: 0 4px 16px rgba(107, 92, 231, 0.35);
132
- box-sizing: border-box;
133
- }
134
-
135
- .steps__btn:hover {
136
- background: $green;
137
- transform: translateY(-2px);
138
- box-shadow: 0 8px 24px rgba(107, 92, 231, 0.4);
139
- }
140
-
141
- /* ── TABLET (≤ 1100px) ── */
142
- @media (max-width: 1100px) {
143
- .steps-section {
144
- padding: 64px 24px;
145
- }
146
19
 
147
- .steps__title {
148
- font-size: 28px;
20
+ &__title {
21
+ width: 100%;
22
+ text-align: center;
23
+ color: $text;
24
+ font-size: 30px;
25
+ font-weight: 800;
26
+ letter-spacing: -0.5px;
27
+ margin: 0;
149
28
  }
150
29
 
151
- .steps__items {
152
- flex-direction: column;
30
+ &__items {
31
+ display: flex;
153
32
  gap: 0;
33
+ width: 100%;
34
+ position: relative;
154
35
  }
155
36
 
156
- .steps__items::before {
157
- display: none;
37
+ &__items::before {
38
+ content: '';
39
+ position: absolute;
40
+ top: 28px;
41
+ left: 10%;
42
+ right: 10%;
43
+ height: 2px;
44
+ background: linear-gradient(90deg, $bg, $green, $bg);
45
+ z-index: 0;
158
46
  }
159
47
 
160
- .steps__item {
161
- max-width: 100%;
48
+ &__item {
49
+ display: flex;
50
+ flex-direction: column;
162
51
  width: 100%;
163
- flex-direction: row;
164
- text-align: left;
165
- align-items: flex-start;
166
- padding: 20px 0;
167
- gap: 20px;
168
- border-bottom: 1px solid #E5E7EB;
52
+ gap: 12px;
53
+ max-width: calc(25% - 12px);
54
+ flex: 1;
55
+ align-items: center;
56
+ text-align: center;
57
+ padding: 0 16px;
58
+ position: relative;
59
+ z-index: 1;
60
+ box-sizing: border-box;
61
+ }
62
+
63
+ &__count {
64
+ display: flex;
65
+ justify-content: center;
66
+ align-items: center;
67
+ border-radius: 50%;
68
+ width: 56px;
69
+ height: 56px;
70
+ background: $white;
71
+ border: 2px solid $green;
72
+ color: $green;
73
+ font-size: 20px;
74
+ font-weight: 800;
75
+ box-shadow: 0 0 0 6px $white;
76
+ flex-shrink: 0;
169
77
  }
170
78
 
171
- .steps__item:last-child {
172
- border-bottom: none;
79
+ &__item:first-child &__count {
80
+ background: $green;
81
+ color: $white;
173
82
  }
174
83
 
175
- .steps__count {
176
- flex-shrink: 0;
177
- width: 48px;
178
- height: 48px;
179
- font-size: 18px;
84
+ &__step-title {
85
+ color: $text;
86
+ font-size: 15px;
87
+ font-weight: 700;
88
+ margin: 0;
180
89
  }
181
90
 
182
- .steps__item-text {
91
+ &__description {
92
+ color: $muted;
93
+ font-size: 13px;
94
+ font-weight: 400;
95
+ line-height: 1.6;
96
+ margin: 0;
97
+ }
98
+
99
+ &__item-text {
183
100
  display: flex;
184
101
  flex-direction: column;
185
102
  gap: 6px;
186
103
  }
187
- }
188
104
 
189
- /* ── MOBILE (≤ 430px) ── */
190
- @media (max-width: 430px) {
191
- .steps-section {
192
- padding: 48px 16px;
193
- gap: 24px;
194
- }
195
-
196
- .steps__title {
197
- font-size: 22px;
198
- letter-spacing: -0.5px;
199
- }
200
-
201
- .steps__title_step {
105
+ &__button {
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ gap: 8px;
110
+ background: $green;
111
+ color: $white;
112
+ border: none;
113
+ border-radius: 10px;
114
+ padding: 16px 32px;
202
115
  font-size: 15px;
116
+ font-weight: 700;
117
+ cursor: pointer;
118
+ width: 100%;
119
+ max-width: 430px;
120
+ height: 56px;
121
+ margin: 0 auto;
122
+ transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
123
+ box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
124
+ box-sizing: border-box;
125
+
126
+ &:hover {
127
+ background: $green-dark;
128
+ transform: translateY(-2px);
129
+ box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
130
+ }
131
+ }
132
+
133
+ @keyframes fadeUp {
134
+ from {
135
+ opacity: 0;
136
+ transform: translateY(24px);
137
+ }
138
+ to {
139
+ opacity: 1;
140
+ transform: translateY(0);
141
+ }
203
142
  }
143
+ }
204
144
 
205
- .steps__description {
206
- font-size: 13px;
207
- }
208
-
209
- .steps__count {
210
- width: 42px;
211
- height: 42px;
212
- font-size: 16px;
213
- box-shadow: 0 0 0 4px #ffffff;
145
+ // Планшет (до 1100px)
146
+ @media (max-width: 1100px) {
147
+ .steps-v2 {
148
+ padding: 72px 24px;
149
+ gap: 40px;
150
+
151
+ &__title {
152
+ font-size: 26px;
153
+ }
154
+
155
+ &__items {
156
+ flex-direction: column;
157
+ gap: 0;
158
+ }
159
+
160
+ &__items::before {
161
+ display: none;
162
+ }
163
+
164
+ &__item {
165
+ max-width: 100%;
166
+ width: 100%;
167
+ flex-direction: row;
168
+ text-align: left;
169
+ align-items: flex-start;
170
+ padding: 20px 0;
171
+ gap: 20px;
172
+ border-bottom: 1px solid $border;
173
+ }
174
+
175
+ &__item:last-child {
176
+ border-bottom: none;
177
+ }
178
+
179
+ &__count {
180
+ width: 48px;
181
+ height: 48px;
182
+ font-size: 18px;
183
+ box-shadow: 0 0 0 4px $white;
184
+ }
214
185
  }
186
+ }
215
187
 
216
- .steps__item {
217
- gap: 14px;
218
- padding: 16px 0;
219
- }
220
188
 
221
- .steps__btn {
222
- font-size: 14px;
223
- height: 52px;
224
- max-width: 100%;
189
+ // Мобильная версия (до 430px)
190
+ @media (max-width: 430px) {
191
+ .steps-v2 {
192
+ padding: 40px 20px;
193
+ gap: 32px;
194
+
195
+ &__title {
196
+ font-size: 22px;
197
+ letter-spacing: -0.5px;
198
+ }
199
+
200
+ &__step-title {
201
+ font-size: 15px;
202
+ }
203
+
204
+ &__description {
205
+ font-size: 13px;
206
+ }
207
+
208
+ &__count {
209
+ width: 42px;
210
+ height: 42px;
211
+ font-size: 16px;
212
+ box-shadow: 0 0 0 4px $white;
213
+ }
214
+
215
+ &__item {
216
+ gap: 14px;
217
+ padding: 16px 0;
218
+ }
219
+
220
+ &__button {
221
+ font-size: 14px;
222
+ height: 52px;
223
+ max-width: 100%;
224
+ }
225
225
  }
226
226
  }
@@ -1,15 +1,11 @@
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
- $text: #1A1A2E;
5
- $white: #FFFFFF;
6
- $border: #E5E7EB;
7
-
8
4
  .video-block-v2 {
9
5
  font-family: 'Manrope', sans-serif;
10
6
  background: $white;
11
7
  width: 100%;
12
- padding: 96px 48px;
8
+ padding: 96px 40px;
13
9
 
14
10
  * {
15
11
  font-family: 'Manrope', 'Golos Text', sans-serif !important;
@@ -40,12 +36,28 @@ $border: #E5E7EB;
40
36
  border-radius: 20px;
41
37
  }
42
38
 
43
- // Адаптация как в референсе
44
- @media (max-width: 1024px) {
45
- padding: 72px 32px;
39
+ @keyframes fadeUp {
40
+ from {
41
+ opacity: 0;
42
+ transform: translateY(24px);
43
+ }
44
+ to {
45
+ opacity: 1;
46
+ transform: translateY(0);
47
+ }
48
+ }
49
+ }
50
+
51
+ // Планшет (до 1100px)
52
+ @media (max-width: 1100px) {
53
+ .video-block-v2 {
54
+ padding: 72px 24px;
46
55
  }
56
+ }
47
57
 
48
- @media (max-width: 900px) {
58
+ // Мобильная версия (до 900px)
59
+ @media (max-width: 900px) {
60
+ .video-block-v2 {
49
61
  padding: 60px 24px;
50
62
 
51
63
  &__title {
@@ -53,30 +65,16 @@ $border: #E5E7EB;
53
65
  margin-bottom: 40px;
54
66
  }
55
67
  }
68
+ }
56
69
 
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;
70
+ // Мобильная версия (до 430px)
71
+ @media (max-width: 430px) {
72
+ .video-block-v2 {
73
+ padding: 40px 20px;
67
74
 
68
75
  &__title {
69
76
  font-size: 22px;
70
77
  margin-bottom: 32px;
71
78
  }
72
79
  }
73
-
74
- @media (max-width: 375px) {
75
- padding: 32px 12px;
76
-
77
- &__title {
78
- font-size: 20px;
79
- margin-bottom: 24px;
80
- }
81
- }
82
80
  }
@@ -13,4 +13,4 @@ $white: #FFFFFF;
13
13
 
14
14
  // Брейкпоинты
15
15
  $tablet: 1100px;
16
- $mobile: 4030px;
16
+ $mobile: 430px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecomlab-components-next",
3
- "version": "0.1.257",
3
+ "version": "0.1.259",
4
4
  "description": "A set of common and reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "files": [