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,158 +1,162 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
2
- @import '../variables.scss';
3
-
4
- .cards2-grey {
5
- --purple: #6B5CE7;
6
- --purple-light: #EEF0FF;
7
- --purple-dark: #5448D0;
8
- --text: #1A1A2E;
9
- --muted: #6B7280;
10
- --border: #E5E7EB;
11
- --bg: #F7F8FC;
12
- --white: #FFFFFF;
13
-
14
- font-family: 'Manrope', sans-serif;
15
- background: var(--white);
16
- width: 100%;
17
- box-sizing: border-box;
18
- padding: 96px 48px;
19
-
20
- * {
21
- font-family: 'Manrope', 'Golos Text', sans-serif !important;
22
- }
23
- }
24
-
25
- .cards2-grey__inner {
26
- max-width: 1280px;
27
- margin: 0 auto;
28
- display: flex;
29
- flex-direction: column;
30
- gap: 48px;
31
- }
32
-
33
- /* ── Title ── */
34
- .cards2-grey__title {
35
- font-size: 30px;
36
- font-weight: 800;
37
- letter-spacing: -0.5px;
38
- color: var(--text);
39
- margin: 0;
40
- text-align: center;
41
- }
42
-
43
- /* ── Grid ── */
44
- .cards2-grey__items {
45
- display: grid;
46
- grid-template-columns: repeat(4, 1fr);
47
- gap: 16px;
48
- }
49
-
50
- /* ── Card ── */
51
- .cards2-grey__item {
52
- background: var(--bg);
53
- border: 1px solid var(--border);
54
- border-radius: 16px;
55
- padding: 32px 28px;
56
- display: flex;
57
- flex-direction: column;
58
- gap: 14px;
59
- transition: transform .2s, box-shadow .2s;
60
- box-sizing: border-box;
61
- }
62
-
63
- .cards2-grey__item:hover {
64
- transform: translateY(-4px);
65
- box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
66
- }
67
-
68
- /* accent top bar */
69
- .cards2-grey__item::before {
70
- content: '';
71
- display: block;
72
- width: 32px;
73
- height: 3px;
74
- border-radius: 99px;
75
- background: $green;
76
- margin-bottom: 4px;
77
- }
78
-
79
- .cards2-grey__title-card {
80
- font-size: 40px;
81
- font-weight: 800;
82
- letter-spacing: -1.5px;
83
- color: var(--text);
84
- margin: 0;
85
- line-height: 1;
86
- background: linear-gradient(135deg, $green 0%, $green 100%);
87
- -webkit-background-clip: text;
88
- -webkit-text-fill-color: transparent;
89
- background-clip: text;
90
- }
91
-
92
- .cards2-grey__description-card {
93
- font-size: 13px;
94
- font-weight: 500;
95
- color: var(--muted);
96
- line-height: 1.65;
97
- margin: 0;
98
- }
99
-
100
- /* ── TABLET (≤ 900px) ── */
101
- @media (max-width: 900px) {
102
- .cards2-grey {
103
- padding: 72px 32px;
104
- }
105
-
106
- .cards2-grey__items {
107
- grid-template-columns: repeat(2, 1fr);
108
- }
109
-
110
- .cards2-grey__title {
111
- font-size: 26px;
112
- }
113
- }
114
-
115
- /* ── MOBILE (≤ 600px) ── */
116
- @media (max-width: 600px) {
117
- .cards2-grey {
118
- padding: 56px 24px;
119
- }
120
-
121
- .cards2-grey__items {
122
- grid-template-columns: repeat(2, 1fr);
123
- gap: 12px;
124
- }
125
-
126
- .cards2-grey__title-card {
127
- font-size: 32px;
128
- }
129
- }
130
-
131
- /* ── SMALL MOBILE (≤ 430px) ── */
132
- @media (max-width: 430px) {
133
- .cards2-grey {
134
- padding: 40px 16px;
135
- }
136
-
137
- .cards2-grey__title {
138
- font-size: 22px;
139
- }
140
-
141
- .cards2-grey__items {
142
- grid-template-columns: 1fr 1fr;
143
- gap: 10px;
144
- }
145
-
146
- .cards2-grey__item {
147
- padding: 24px 18px;
148
- gap: 10px;
149
- }
150
-
151
- .cards2-grey__title-card {
152
- font-size: 28px;
153
- }
154
-
155
- .cards2-grey__description-card {
156
- font-size: 12px;
157
- }
158
- }
1
+ @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
2
+ @import '../variables.scss';
3
+
4
+ .cards-v2 {
5
+ font-family: 'Manrope', sans-serif;
6
+ background: $white;
7
+ width: 100%;
8
+ padding: 96px 40px;
9
+
10
+ * {
11
+ font-family: 'Manrope', 'Golos Text', sans-serif !important;
12
+ }
13
+
14
+ &__inner {
15
+ max-width: 1280px;
16
+ margin: 0 auto;
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 48px;
20
+ }
21
+
22
+ &__title {
23
+ font-size: 30px;
24
+ font-weight: 800;
25
+ letter-spacing: -0.5px;
26
+ color: $text;
27
+ margin: 0;
28
+ text-align: center;
29
+ }
30
+
31
+ &__items {
32
+ display: grid;
33
+ grid-template-columns: repeat(4, 1fr);
34
+ gap: 24px;
35
+ }
36
+
37
+ &__item {
38
+ background: $bg;
39
+ border: 1px solid $border;
40
+ border-radius: 20px;
41
+ padding: 32px 28px;
42
+ display: flex;
43
+ flex-direction: column;
44
+ gap: 14px;
45
+ transition: transform 0.2s, box-shadow 0.2s;
46
+ position: relative;
47
+ overflow: hidden;
48
+
49
+ &:hover {
50
+ transform: translateY(-4px);
51
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
52
+ }
53
+
54
+ &::before {
55
+ content: '';
56
+ display: block;
57
+ width: 40px;
58
+ height: 4px;
59
+ border-radius: 99px;
60
+ background: $green;
61
+ margin-bottom: 4px;
62
+ }
63
+ }
64
+
65
+ &__card-title {
66
+ font-size: 40px;
67
+ font-weight: 800;
68
+ letter-spacing: -1.5px;
69
+ color: $text;
70
+ margin: 0;
71
+ line-height: 1;
72
+ background: linear-gradient(135deg, $green 0%, $green 100%);
73
+ -webkit-background-clip: text;
74
+ -webkit-text-fill-color: transparent;
75
+ background-clip: text;
76
+ }
77
+
78
+ &__description {
79
+ font-size: 14px;
80
+ font-weight: 500;
81
+ color: $muted;
82
+ line-height: 1.65;
83
+ margin: 0;
84
+ }
85
+
86
+ @keyframes fadeUp {
87
+ from {
88
+ opacity: 0;
89
+ transform: translateY(24px);
90
+ }
91
+ to {
92
+ opacity: 1;
93
+ transform: translateY(0);
94
+ }
95
+ }
96
+ }
97
+
98
+ // Планшет (до 1100px)
99
+ @media (max-width: 1100px) {
100
+ .cards-v2 {
101
+ padding: 72px 24px;
102
+
103
+ &__items {
104
+ gap: 20px;
105
+ }
106
+
107
+ &__title {
108
+ font-size: 26px;
109
+ }
110
+ }
111
+ }
112
+
113
+ // Мобильная версия (до 768px)
114
+ @media (max-width: 768px) {
115
+ .cards-v2 {
116
+
117
+ &__items {
118
+ grid-template-columns: repeat(2, 1fr);
119
+ gap: 16px;
120
+ }
121
+
122
+ &__card-title {
123
+ font-size: 32px;
124
+ }
125
+
126
+ &__description {
127
+ font-size: 13px;
128
+ }
129
+ }
130
+ }
131
+
132
+ // Мобильная версия (до 430px)
133
+ @media (max-width: 430px) {
134
+ .cards-v2 {
135
+ padding: 40px 20px;
136
+
137
+ &__inner {
138
+ gap: 32px;
139
+ }
140
+
141
+ &__title {
142
+ font-size: 22px;
143
+ }
144
+
145
+ &__items {
146
+ gap: 12px;
147
+ }
148
+
149
+ &__item {
150
+ padding: 20px 16px;
151
+ gap: 10px;
152
+ }
153
+
154
+ &__card-title {
155
+ font-size: 24px;
156
+ }
157
+
158
+ &__description {
159
+ font-size: 11px;
160
+ }
161
+ }
162
+ }
@@ -15,25 +15,25 @@ var CardsWithButton = function CardsWithButton(_ref) {
15
15
  btnText = _ref$btnText === void 0 ? 'Подключиться' : _ref$btnText,
16
16
  onBtnClick = _ref.onBtnClick;
17
17
  return /*#__PURE__*/_react["default"].createElement("section", {
18
- className: "cards-with-btn cards-with-btn--no-icons"
18
+ className: "cards-with-btn-v2"
19
19
  }, /*#__PURE__*/_react["default"].createElement("div", {
20
- className: "cards-with-btn__inner"
20
+ className: "cards-with-btn-v2__inner"
21
21
  }, title && /*#__PURE__*/_react["default"].createElement("h2", {
22
- className: "cards-with-btn__title"
22
+ className: "cards-with-btn-v2__title"
23
23
  }, title), /*#__PURE__*/_react["default"].createElement("div", {
24
- className: "cards-with-btn__content"
24
+ className: "cards-with-btn-v2__content"
25
25
  }, items === null || items === void 0 ? void 0 : items.map(function (_ref2, index) {
26
26
  var title = _ref2.title,
27
27
  description = _ref2.description;
28
28
  return /*#__PURE__*/_react["default"].createElement("div", {
29
- className: "cards-with-btn__card",
29
+ className: "cards-with-btn-v2__card",
30
30
  key: index
31
31
  }, /*#__PURE__*/_react["default"].createElement("h3", {
32
- className: "cards-with-btn__card-title"
32
+ className: "cards-with-btn-v2__card-title"
33
33
  }, title), /*#__PURE__*/_react["default"].createElement("p", {
34
- className: "cards-with-btn__card-description"
34
+ className: "cards-with-btn-v2__card-description"
35
35
  }, description), /*#__PURE__*/_react["default"].createElement("button", {
36
- className: "cards-with-btn__card-btn",
36
+ className: "cards-with-btn-v2__card-btn",
37
37
  onClick: function onClick() {
38
38
  return onBtnClick === null || onBtnClick === void 0 ? void 0 : onBtnClick();
39
39
  }
@@ -1,17 +1,15 @@
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
- $muted: #6B7280;
6
- $border: #E5E7EB;
7
- $bg: #F7F8FC;
8
- $white: #FFFFFF;
9
-
10
- .cards-with-btn {
4
+ .cards-with-btn-v2 {
11
5
  font-family: 'Manrope', sans-serif;
12
6
  background: $bg;
13
7
  width: 100%;
14
- padding: 96px 48px;
8
+ padding: 96px 40px;
9
+
10
+ * {
11
+ font-family: 'Manrope', 'Golos Text', sans-serif !important;
12
+ }
15
13
 
16
14
  &__inner {
17
15
  max-width: 1280px;
@@ -63,7 +61,7 @@ $white: #FFFFFF;
63
61
  width: 6px;
64
62
  }
65
63
 
66
- .cards-with-btn__card-btn {
64
+ .cards-with-btn-v2__card-btn {
67
65
  gap: 8px;
68
66
  color: $green-dark;
69
67
  }
@@ -119,57 +117,39 @@ $white: #FFFFFF;
119
117
  width: fit-content;
120
118
  }
121
119
 
122
- // ========== МОБИЛЬНАЯ АДАПТАЦИЯ ==========
123
-
124
- @media (max-width: 1024px) {
125
- padding: 72px 32px;
120
+ @keyframes fadeUp {
121
+ from {
122
+ opacity: 0;
123
+ transform: translateY(24px);
124
+ }
125
+ to {
126
+ opacity: 1;
127
+ transform: translateY(0);
128
+ }
126
129
  }
130
+ }
131
+
132
+ // Планшет (до 1100px)
133
+ @media (max-width: 1100px) {
134
+ .cards-with-btn-v2 {
135
+ padding: 72px 24px;
127
136
 
128
- @media (max-width: 900px) {
129
137
  &__content {
130
138
  grid-template-columns: repeat(2, 1fr);
131
139
  gap: 20px;
132
140
  }
133
- }
134
-
135
- @media (max-width: 768px) {
136
- padding: 60px 24px;
137
-
141
+
138
142
  &__title {
139
143
  font-size: 26px;
140
144
  margin-bottom: 40px;
141
145
  }
142
-
143
- &__card {
144
- padding: 24px 20px;
145
- }
146
-
147
- &__card-icon {
148
- width: 48px;
149
- height: 48px;
150
-
151
- svg {
152
- width: 24px;
153
- height: 24px;
154
- }
155
- }
156
-
157
- &__card-title {
158
- font-size: 16px;
159
- }
160
- }
161
-
162
- @media (max-width: 600px) {
163
- padding: 48px 20px;
164
146
  }
147
+ }
165
148
 
166
- @media (max-width: 500px) {
167
- padding: 48px 16px;
168
-
169
- &__title {
170
- font-size: 24px;
171
- }
172
-
149
+ // Мобильная версия (до 500px) - 1 колонка
150
+ @media (max-width: 500px) {
151
+ .cards-with-btn-v2 {
152
+
173
153
  &__content {
174
154
  grid-template-columns: 1fr;
175
155
  gap: 16px;
@@ -179,17 +159,16 @@ $white: #FFFFFF;
179
159
  padding: 20px 16px;
180
160
  }
181
161
  }
162
+ }
182
163
 
183
- @media (max-width: 375px) {
184
- padding: 36px 12px;
164
+ // Мобильная версия (до 430px)
165
+ @media (max-width: 430px) {
166
+ .cards-with-btn-v2 {
167
+ padding: 40px 20px;
185
168
 
186
169
  &__title {
187
170
  font-size: 22px;
188
171
  margin-bottom: 32px;
189
172
  }
190
-
191
- &__card-description {
192
- font-size: 13px;
193
- }
194
173
  }
195
174
  }
@@ -42,17 +42,17 @@ var ClientsAboutUsV2 = function ClientsAboutUsV2(_ref) {
42
42
  setRefPage("?ref_page=".concat(currentUrl));
43
43
  }, []);
44
44
  return /*#__PURE__*/_react["default"].createElement("section", {
45
- className: "clients-about-us-v2"
45
+ className: "clients-about-v2"
46
46
  }, title && /*#__PURE__*/_react["default"].createElement("h2", {
47
- className: "clients-about-us-v2__title"
47
+ className: "clients-about-v2__title"
48
48
  }, title), (blockquote || cite) && /*#__PURE__*/_react["default"].createElement("div", {
49
- className: "clients-about-us-v2__header"
49
+ className: "clients-about-v2__header"
50
50
  }, blockquote && /*#__PURE__*/_react["default"].createElement("blockquote", {
51
- className: "clients-about-us-v2__blockquote"
51
+ className: "clients-about-v2__blockquote"
52
52
  }, blockquote), cite && /*#__PURE__*/_react["default"].createElement("cite", {
53
- className: "clients-about-us-v2__cite"
53
+ className: "clients-about-v2__cite"
54
54
  }, cite)), /*#__PURE__*/_react["default"].createElement("div", {
55
- className: "clients-about-us-v2__cards"
55
+ className: "clients-about-v2__cards"
56
56
  }, list_about_us.map(function (_ref2, ind) {
57
57
  var title = _ref2.title,
58
58
  description = _ref2.description,
@@ -60,19 +60,19 @@ var ClientsAboutUsV2 = function ClientsAboutUsV2(_ref) {
60
60
  var isRightCard = ind === 1;
61
61
  return /*#__PURE__*/_react["default"].createElement("div", {
62
62
  key: title + description,
63
- className: isRightCard ? 'clients-about-us-v2__card clients-about-us-v2__card--dark' : 'clients-about-us-v2__card'
63
+ className: "clients-about-v2__card ".concat(isRightCard ? 'clients-about-v2__card_dark' : '')
64
64
  }, /*#__PURE__*/_react["default"].createElement("h3", {
65
- className: "clients-about-us-v2__card-title"
65
+ className: "clients-about-v2__card-title"
66
66
  }, title), /*#__PURE__*/_react["default"].createElement("div", {
67
- className: "clients-about-us-v2__card-description"
67
+ className: "clients-about-v2__description"
68
68
  }, description), isRightCard ? /*#__PURE__*/_react["default"].createElement("button", {
69
- className: "clients-about-us-v2__card-btn clients-about-us-v2__card-btn--green",
69
+ className: "clients-about-v2__button clients-about-v2__button_green",
70
70
  onClick: function onClick() {
71
71
  var _window2;
72
72
  return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(refPage), '_blank');
73
73
  }
74
74
  }, btnName ? btnName : 'Подключиться', " \u2192") : /*#__PURE__*/_react["default"].createElement("button", {
75
- className: "clients-about-us-v2__card-btn clients-about-us-v2__card-btn--outline",
75
+ className: "clients-about-v2__button clients-about-v2__button_outline",
76
76
  onClick: function onClick() {
77
77
  var _window3;
78
78
  return (_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.open("".concat(linkMain, "/auth").concat(refPage), '_blank');