ecomlab-components-next 0.1.237 → 0.1.239
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/Buttons/ButtonBasicV2/ButtonBasicV2.js +85 -0
- package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.scss +55 -0
- package/dist/components/Buttons/{SignUpButton/ButtonSignUp.stories.js → ButtonBasicV2/ButtonBasicV2stories.js} +42 -29
- package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.js +153 -0
- package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +214 -0
- package/dist/components/ConstructorComponents/BlocksInfo/BlocksInfo.scss +0 -1
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +210 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +236 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.stories.js +57 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/img/develop.png +0 -0
- package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.js +15 -29
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +164 -0
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +333 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +51 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +158 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.stories.js +16 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +83 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +312 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.stories.js +25 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +102 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +145 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.stories.js +36 -0
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +139 -0
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +153 -0
- package/dist/components/ConstructorComponents/FormV2/FormWithBtn.stories.js +16 -0
- package/dist/components/ConstructorComponents/Header/Header.js +1 -1
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.js +127 -0
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.scss +227 -0
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.stories.js +24 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/Ozon.svg +20 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/WB.svg +15 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/Yandex Market.svg +14 -0
- package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +4 -2
- package/dist/components/ConstructorComponents/MainContainer/MainContainer.scss +24 -0
- package/dist/components/ConstructorComponents/MainContainer/MainContainerV2.stories.js +199 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.js +48 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +66 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.stories.js +16 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_1.svg +4 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_10.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_11.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_12.svg +11 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_13.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_2.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_3.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_4.svg +28 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_5.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_6.svg +26 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_7.png +0 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_7.svg +17 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_8.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_9.svg +9 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +40 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +302 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.stories.js +19 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/img/phone.png +0 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.js +45 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +151 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.stories.js +43 -0
- package/dist/components/ConstructorComponents/PointsListV2/img/bx-right-arrow-alt.svg +5 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +72 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +179 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.stories.js +57 -0
- package/dist/components/ConstructorComponents/QuestionsV2/img/ar_down.svg +5 -0
- package/dist/components/ConstructorComponents/QuestionsV2/img/ar_up.svg +5 -0
- package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.js +161 -0
- package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.scss +245 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +44 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +156 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.stories.js +32 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +86 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +226 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.stories.js +30 -0
- package/dist/components/ConstructorComponents/variables.scss +50 -0
- package/dist/components/Slider/SliderCarousel/SliderCarousel.js +4 -6
- package/dist/index.js +84 -0
- package/dist/stories/LongTileArticleBox/LongTileArticleBox.js +1 -1
- package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.js +1 -1
- package/package.json +1 -1
- package/dist/components/Buttons/SignUpButton/ButtonSignUp.js +0 -75
- package/dist/components/Buttons/SignUpButton/ButtonSignUp.module.scss +0 -92
- package/dist/components/Buttons/SignUpButton/calendar.svg +0 -14
- package/dist/components/Checkbox/Checkbox/Checkbox.js +0 -83
- package/dist/components/Checkbox/Checkbox/Checkbox.scss +0 -136
- package/dist/components/Checkbox/Checkbox/Checkbox.stories.js +0 -46
- package/dist/components/Checkbox/Checkbox/img/check.svg +0 -3
- package/dist/main.js +0 -14
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.js +0 -85
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.scss +0 -98
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.stories.js +0 -32
- package/dist/stories/InputDynamicWidth/img/close_icon.svg +0 -3
- package/dist/stories/InputDynamicWidth/img/search_icon.svg +0 -6
- package/dist/stories/NoArticles/NoArticles.js +0 -29
- package/dist/stories/NoArticles/NoArticles.scss +0 -26
- package/dist/stories/NoArticles/NoArticles.stories.js +0 -20
- package/dist/stories/NoArticles/img/banner.svg +0 -266
- package/dist/stories/ViewSwitch/ViewSwitch.js +0 -48
- package/dist/stories/ViewSwitch/ViewSwitch.scss +0 -135
- package/dist/stories/ViewSwitch/ViewSwitch.stories.js +0 -48
- package/dist/stories/ViewSwitch/img/Chat.js +0 -24
- package/dist/stories/ViewSwitch/img/Table.js +0 -21
- package/dist/stories/ViewSwitch/img/Tile.js +0 -20
- package/dist/stories/ViewSwitch/img/TileLong.js +0 -20
- package/dist/storybook-static/167.1ab9d45b.iframe.bundle.js +0 -1
- package/dist/storybook-static/294.029a22c7.iframe.bundle.js +0 -1
- package/dist/storybook-static/364.41fcb7af.iframe.bundle.js +0 -1
- package/dist/storybook-static/54.0740a2d0.iframe.bundle.js +0 -2
- package/dist/storybook-static/54.0740a2d0.iframe.bundle.js.LICENSE.txt +0 -1
- package/dist/storybook-static/735.329871ea.iframe.bundle.js +0 -2
- package/dist/storybook-static/735.329871ea.iframe.bundle.js.LICENSE.txt +0 -9
- package/dist/storybook-static/844.4c57ff93.iframe.bundle.js +0 -94
- package/dist/storybook-static/844.4c57ff93.iframe.bundle.js.map +0 -1
- package/dist/storybook-static/869.a718104a.iframe.bundle.js +0 -1
- package/dist/storybook-static/908.c53199b4.iframe.bundle.js +0 -1
- package/dist/storybook-static/939.72503e72.iframe.bundle.js +0 -405
- package/dist/storybook-static/939.72503e72.iframe.bundle.js.LICENSE.txt +0 -54
- package/dist/storybook-static/939.72503e72.iframe.bundle.js.map +0 -1
- package/dist/storybook-static/components-Button-stories.6b7204e5.iframe.bundle.js +0 -1
- package/dist/storybook-static/favicon.svg +0 -1
- package/dist/storybook-static/file.svg +0 -1
- package/dist/storybook-static/globe.svg +0 -1
- package/dist/storybook-static/iframe.html +0 -511
- package/dist/storybook-static/index.html +0 -185
- package/dist/storybook-static/index.json +0 -1
- package/dist/storybook-static/main.456a86f5.iframe.bundle.js +0 -1
- package/dist/storybook-static/next.svg +0 -1
- package/dist/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/project.json +0 -1
- package/dist/storybook-static/runtime~main.8e4a98c9.iframe.bundle.js +0 -1
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
- package/dist/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/dist/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -391
- package/dist/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -230
- package/dist/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/interactions-11/manager-bundle.js +0 -210
- package/dist/storybook-static/sb-addons/interactions-11/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/onboarding-1/manager-bundle.js +0 -127
- package/dist/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/sb-manager/globals-module-info.js +0 -1037
- package/dist/storybook-static/sb-manager/globals-runtime.js +0 -41107
- package/dist/storybook-static/sb-manager/globals.js +0 -48
- package/dist/storybook-static/sb-manager/runtime.js +0 -11960
- package/dist/storybook-static/sb-preview/globals.js +0 -33
- package/dist/storybook-static/sb-preview/runtime.js +0 -7247
- package/dist/storybook-static/static/media/accessibility.b812909c.png +0 -0
- package/dist/storybook-static/static/media/addon-library.7d60eaf1.png +0 -0
- package/dist/storybook-static/static/media/assets.74434bfb.png +0 -0
- package/dist/storybook-static/static/media/context.0aaeed46.png +0 -0
- package/dist/storybook-static/static/media/discord.c13ab8cc.svg +0 -1
- package/dist/storybook-static/static/media/docs.78ff2c00.png +0 -0
- package/dist/storybook-static/static/media/figma-plugin.92feae99.png +0 -0
- package/dist/storybook-static/static/media/github.bf1215e7.svg +0 -1
- package/dist/storybook-static/static/media/share.b661f220.png +0 -0
- package/dist/storybook-static/static/media/styling.6ea0e96c.png +0 -0
- package/dist/storybook-static/static/media/testing.6f11ce8b.png +0 -0
- package/dist/storybook-static/static/media/theming.3ca117fd.png +0 -0
- package/dist/storybook-static/static/media/tutorials.f9b22f92.svg +0 -1
- package/dist/storybook-static/static/media/youtube.0220385a.svg +0 -1
- package/dist/storybook-static/stories-Button-stories.a157a598.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Configure-mdx.ad43dce3.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Header-stories.813bf6ef.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Page-stories.9918ddc0.iframe.bundle.js +0 -1
- package/dist/storybook-static/vercel.svg +0 -1
- package/dist/storybook-static/window.svg +0 -1
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
.steps-section {
|
|
5
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
6
|
+
display: flex;
|
|
7
|
+
width: 100%;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 30px;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
border-radius: 20px;
|
|
12
|
+
padding: 96px 48px;
|
|
13
|
+
background: #ffffff;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
|
|
16
|
+
* {
|
|
17
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
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
|
+
|
|
147
|
+
.steps__title {
|
|
148
|
+
font-size: 28px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.steps__items {
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
gap: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.steps__items::before {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.steps__item {
|
|
161
|
+
max-width: 100%;
|
|
162
|
+
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;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.steps__item:last-child {
|
|
172
|
+
border-bottom: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.steps__count {
|
|
176
|
+
flex-shrink: 0;
|
|
177
|
+
width: 48px;
|
|
178
|
+
height: 48px;
|
|
179
|
+
font-size: 18px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.steps__item-text {
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
gap: 6px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
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 {
|
|
202
|
+
font-size: 15px;
|
|
203
|
+
}
|
|
204
|
+
|
|
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;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.steps__item {
|
|
217
|
+
gap: 14px;
|
|
218
|
+
padding: 16px 0;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.steps__btn {
|
|
222
|
+
font-size: 14px;
|
|
223
|
+
height: 52px;
|
|
224
|
+
max-width: 100%;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.StepsV2Test = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _StepsV = _interopRequireDefault(require("./StepsV2"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
var steps = [{
|
|
11
|
+
title: 'Зарегистрируй личный кабинет на платформе ECOMRU'
|
|
12
|
+
}, {
|
|
13
|
+
title: "\u0414\u043E\u0431\u0430\u0432\u044C \u0441\u0432\u043E\u0438\u0445 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u043E\u0432 \u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B"
|
|
14
|
+
}, {
|
|
15
|
+
title: "\u0414\u043B\u044F \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044E \u043F\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044E \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u201C\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430\u201D"
|
|
16
|
+
}, {
|
|
17
|
+
title: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0446\u0435\u043D\u044B, \u0437\u0430\u043A\u0430\u0437\u044B \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0433\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430"
|
|
18
|
+
}, {
|
|
19
|
+
title: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0446\u0435\u043D\u044B, \u0437\u0430\u043A\u0430\u0437\u044B \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0433\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430"
|
|
20
|
+
}];
|
|
21
|
+
var _default = exports["default"] = {
|
|
22
|
+
title: 'StepsV2',
|
|
23
|
+
component: _StepsV["default"]
|
|
24
|
+
};
|
|
25
|
+
var StepsV2Test = exports.StepsV2Test = function StepsV2Test() {
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement(_StepsV["default"], {
|
|
27
|
+
title: 'Как начать пользоваться сервисом',
|
|
28
|
+
list: steps
|
|
29
|
+
});
|
|
30
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// styles/variables.scss
|
|
2
|
+
|
|
3
|
+
// ========== ЦВЕТА ==========
|
|
4
|
+
* {
|
|
5
|
+
// Фиолетовые акценты
|
|
6
|
+
--purple: #6B5CE7;
|
|
7
|
+
--purple-light: #EEF0FF;
|
|
8
|
+
--purple-dark: #5448D0;
|
|
9
|
+
|
|
10
|
+
// Зеленые цвета
|
|
11
|
+
--green: #059669;
|
|
12
|
+
--green-light: #10B981;
|
|
13
|
+
--green-dark: #047857;
|
|
14
|
+
--green-forest: #064E3B;
|
|
15
|
+
--green-light-bg: #D1FAE5;
|
|
16
|
+
--green-mint-bg: #A7F3D0;
|
|
17
|
+
|
|
18
|
+
// Нейтральные цвета
|
|
19
|
+
--text: #1A1A2E;
|
|
20
|
+
--muted: #6B7280;
|
|
21
|
+
--border: #E5E7EB;
|
|
22
|
+
--bg: #F7F8FC;
|
|
23
|
+
--white: #FFFFFF;
|
|
24
|
+
|
|
25
|
+
// Градиенты
|
|
26
|
+
--gradient-green: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
|
|
27
|
+
--gradient-bg: linear-gradient(160deg, #F0F1FF 0%, var(--bg) 50%, var(--white) 100%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// SCSS переменные (для использования в миксинах и внутри стилей)
|
|
31
|
+
$purple: #6B5CE7;
|
|
32
|
+
$purple-light: #EEF0FF;
|
|
33
|
+
$purple-dark: #5448D0;
|
|
34
|
+
|
|
35
|
+
$green: #059669;
|
|
36
|
+
$green-light: #10B981;
|
|
37
|
+
$green-dark: #047857;
|
|
38
|
+
$green-forest: #064E3B;
|
|
39
|
+
$green-light-bg: #D1FAE5;
|
|
40
|
+
$green-mint-bg: #A7F3D0;
|
|
41
|
+
|
|
42
|
+
$text: #1A1A2E;
|
|
43
|
+
$muted: #6B7280;
|
|
44
|
+
$border: #E5E7EB;
|
|
45
|
+
$bg: #F7F8FC;
|
|
46
|
+
$white: #FFFFFF;
|
|
47
|
+
|
|
48
|
+
// Брейкпоинты
|
|
49
|
+
$tablet: 900px;
|
|
50
|
+
$mobile: 640px;
|
|
@@ -80,10 +80,9 @@ var SliderCarousel = function SliderCarousel(_ref) {
|
|
|
80
80
|
decoding: "async",
|
|
81
81
|
loading: "lazy",
|
|
82
82
|
className: "slider-carousel__img",
|
|
83
|
-
src: value
|
|
84
|
-
onError
|
|
85
|
-
|
|
86
|
-
},
|
|
83
|
+
src: value
|
|
84
|
+
// onError={e => e.target.src = notPhoto}
|
|
85
|
+
,
|
|
87
86
|
alt: alt
|
|
88
87
|
})) : /*#__PURE__*/_react["default"].createElement(_image["default"], {
|
|
89
88
|
decoding: "async",
|
|
@@ -91,8 +90,7 @@ var SliderCarousel = function SliderCarousel(_ref) {
|
|
|
91
90
|
className: "slider-carousel__img",
|
|
92
91
|
src: _no_image["default"],
|
|
93
92
|
onError: function onError(e) {
|
|
94
|
-
e.
|
|
95
|
-
e.currentTarget.onerror = null;
|
|
93
|
+
return e.target.src = _no_image["default"];
|
|
96
94
|
},
|
|
97
95
|
alt: alt
|
|
98
96
|
}));
|
package/dist/index.js
CHANGED
|
@@ -27,12 +27,24 @@ Object.defineProperty(exports, "ArticlesBlock2", {
|
|
|
27
27
|
return _ArticlesBlock2["default"];
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "ArticlesBlockV2", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _ArticlesBlockV["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
Object.defineProperty(exports, "BlocksInfo", {
|
|
31
37
|
enumerable: true,
|
|
32
38
|
get: function get() {
|
|
33
39
|
return _BlocksInfo["default"];
|
|
34
40
|
}
|
|
35
41
|
});
|
|
42
|
+
Object.defineProperty(exports, "BlocksInfoV2", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _BlocksInfoV["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
36
48
|
Object.defineProperty(exports, "Breadcrumb", {
|
|
37
49
|
enumerable: true,
|
|
38
50
|
get: function get() {
|
|
@@ -69,6 +81,12 @@ Object.defineProperty(exports, "CardsInfo", {
|
|
|
69
81
|
return _CardsInfo["default"];
|
|
70
82
|
}
|
|
71
83
|
});
|
|
84
|
+
Object.defineProperty(exports, "CardsV2", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _CardsV["default"];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
72
90
|
Object.defineProperty(exports, "Carousel", {
|
|
73
91
|
enumerable: true,
|
|
74
92
|
get: function get() {
|
|
@@ -87,6 +105,12 @@ Object.defineProperty(exports, "ClientsAboutUs", {
|
|
|
87
105
|
return _ClientsAboutUs["default"];
|
|
88
106
|
}
|
|
89
107
|
});
|
|
108
|
+
Object.defineProperty(exports, "ClientsAboutUsV2", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _ClientsAboutUsV["default"];
|
|
112
|
+
}
|
|
113
|
+
});
|
|
90
114
|
Object.defineProperty(exports, "Cookie", {
|
|
91
115
|
enumerable: true,
|
|
92
116
|
get: function get() {
|
|
@@ -99,12 +123,24 @@ Object.defineProperty(exports, "DropDownSelector", {
|
|
|
99
123
|
return _DownSelector["default"];
|
|
100
124
|
}
|
|
101
125
|
});
|
|
126
|
+
Object.defineProperty(exports, "FeaturesGridV2", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function get() {
|
|
129
|
+
return _FeaturesGridV["default"];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
102
132
|
Object.defineProperty(exports, "Footer", {
|
|
103
133
|
enumerable: true,
|
|
104
134
|
get: function get() {
|
|
105
135
|
return _Footer["default"];
|
|
106
136
|
}
|
|
107
137
|
});
|
|
138
|
+
Object.defineProperty(exports, "FormV2", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function get() {
|
|
141
|
+
return _FormV["default"];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
108
144
|
Object.defineProperty(exports, "FormWithBtn", {
|
|
109
145
|
enumerable: true,
|
|
110
146
|
get: function get() {
|
|
@@ -171,6 +207,12 @@ Object.defineProperty(exports, "MarqueImgs", {
|
|
|
171
207
|
return _MarqueImgs["default"];
|
|
172
208
|
}
|
|
173
209
|
});
|
|
210
|
+
Object.defineProperty(exports, "MarqueImgsV2", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function get() {
|
|
213
|
+
return _MarqueImgsV["default"];
|
|
214
|
+
}
|
|
215
|
+
});
|
|
174
216
|
Object.defineProperty(exports, "ModalBitrixForm", {
|
|
175
217
|
enumerable: true,
|
|
176
218
|
get: function get() {
|
|
@@ -219,18 +261,36 @@ Object.defineProperty(exports, "PhoneBlock", {
|
|
|
219
261
|
return _PhoneBlock["default"];
|
|
220
262
|
}
|
|
221
263
|
});
|
|
264
|
+
Object.defineProperty(exports, "PhoneBlockV2", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function get() {
|
|
267
|
+
return _PhoneBlockV["default"];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
222
270
|
Object.defineProperty(exports, "PointsList", {
|
|
223
271
|
enumerable: true,
|
|
224
272
|
get: function get() {
|
|
225
273
|
return _PointsList["default"];
|
|
226
274
|
}
|
|
227
275
|
});
|
|
276
|
+
Object.defineProperty(exports, "PointsListV2", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: function get() {
|
|
279
|
+
return _PointsListV["default"];
|
|
280
|
+
}
|
|
281
|
+
});
|
|
228
282
|
Object.defineProperty(exports, "Questions", {
|
|
229
283
|
enumerable: true,
|
|
230
284
|
get: function get() {
|
|
231
285
|
return _Questions["default"];
|
|
232
286
|
}
|
|
233
287
|
});
|
|
288
|
+
Object.defineProperty(exports, "QuestionsV2", {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: function get() {
|
|
291
|
+
return _QuestionsV["default"];
|
|
292
|
+
}
|
|
293
|
+
});
|
|
234
294
|
Object.defineProperty(exports, "SelectExecutor", {
|
|
235
295
|
enumerable: true,
|
|
236
296
|
get: function get() {
|
|
@@ -255,12 +315,24 @@ Object.defineProperty(exports, "StatisticCard", {
|
|
|
255
315
|
return _StatisticCard["default"];
|
|
256
316
|
}
|
|
257
317
|
});
|
|
318
|
+
Object.defineProperty(exports, "StatisticCardV2", {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function get() {
|
|
321
|
+
return _StatisticCardV["default"];
|
|
322
|
+
}
|
|
323
|
+
});
|
|
258
324
|
Object.defineProperty(exports, "StepItems", {
|
|
259
325
|
enumerable: true,
|
|
260
326
|
get: function get() {
|
|
261
327
|
return _StepItems["default"];
|
|
262
328
|
}
|
|
263
329
|
});
|
|
330
|
+
Object.defineProperty(exports, "StepsV2", {
|
|
331
|
+
enumerable: true,
|
|
332
|
+
get: function get() {
|
|
333
|
+
return _StepsV["default"];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
264
336
|
Object.defineProperty(exports, "TableBox", {
|
|
265
337
|
enumerable: true,
|
|
266
338
|
get: function get() {
|
|
@@ -299,24 +371,36 @@ Object.defineProperty(exports, "usePagination", {
|
|
|
299
371
|
});
|
|
300
372
|
var _Button = _interopRequireDefault(require("./components/Button"));
|
|
301
373
|
var _ClientsAboutUs = _interopRequireDefault(require("./components/ConstructorComponents/ClientsAboutUs/ClientsAboutUs"));
|
|
374
|
+
var _ClientsAboutUsV = _interopRequireDefault(require("./components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2"));
|
|
302
375
|
var _AdvantagesBlock = _interopRequireDefault(require("./components/ConstructorComponents/AdvantagesBlock/AdvantagesBlock"));
|
|
376
|
+
var _FeaturesGridV = _interopRequireDefault(require("./components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2"));
|
|
303
377
|
var _CardsInfo = _interopRequireDefault(require("./components/ConstructorComponents/CardsInfo/CardsInfo"));
|
|
304
378
|
var _Header = _interopRequireDefault(require("./components/ConstructorComponents/Header/Header"));
|
|
305
379
|
var _PhoneBlock = _interopRequireDefault(require("./components/ConstructorComponents/PhoneBlock/PhoneBlock"));
|
|
380
|
+
var _PhoneBlockV = _interopRequireDefault(require("./components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2"));
|
|
306
381
|
var _Questions = _interopRequireDefault(require("./components/ConstructorComponents/Questions/Questions"));
|
|
382
|
+
var _QuestionsV = _interopRequireDefault(require("./components/ConstructorComponents/QuestionsV2/QuestionsV2"));
|
|
307
383
|
var _TariffPlan = _interopRequireDefault(require("./components/ConstructorComponents/Tariff/TariffPlan"));
|
|
308
384
|
var _VideoBlock = _interopRequireDefault(require("./components/ConstructorComponents/VideoBlock/VideoBlock"));
|
|
309
385
|
var _ArticlesBlock = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlock/ArticlesBlock"));
|
|
310
386
|
var _ArticlesBlock2 = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlock2/ArticlesBlock2"));
|
|
387
|
+
var _ArticlesBlockV = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2"));
|
|
311
388
|
var _FormWithBtn = _interopRequireDefault(require("./components/ConstructorComponents/FormWithBtn/FormWithBtn"));
|
|
389
|
+
var _FormV = _interopRequireDefault(require("./components/ConstructorComponents/FormV2/FormV2"));
|
|
312
390
|
var _BlocksInfo = _interopRequireDefault(require("./components/ConstructorComponents/BlocksInfo/BlocksInfo"));
|
|
391
|
+
var _BlocksInfoV = _interopRequireDefault(require("./components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2"));
|
|
313
392
|
var _StepItems = _interopRequireDefault(require("./components/ConstructorComponents/StepItems/StepItems"));
|
|
393
|
+
var _StepsV = _interopRequireDefault(require("./components/ConstructorComponents/StepsV2/StepsV2"));
|
|
314
394
|
var _StatisticCard = _interopRequireDefault(require("./components/ConstructorComponents/StatisticCard/StatisticCard"));
|
|
395
|
+
var _StatisticCardV = _interopRequireDefault(require("./components/ConstructorComponents/StatisticCardV2/StatisticCardV2"));
|
|
315
396
|
var _MainContainer = _interopRequireDefault(require("./components/ConstructorComponents/MainContainer/MainContainer"));
|
|
316
397
|
var _CardsGrey = _interopRequireDefault(require("./components/ConstructorComponents/CardsGrey/CardsGrey"));
|
|
398
|
+
var _CardsV = _interopRequireDefault(require("./components/ConstructorComponents/CardsV2/CardsV2"));
|
|
317
399
|
var _MarqueImgs = _interopRequireDefault(require("./components/ConstructorComponents/MarqueImgs/MarqueImgs"));
|
|
400
|
+
var _MarqueImgsV = _interopRequireDefault(require("./components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2"));
|
|
318
401
|
var _Carousel = _interopRequireDefault(require("./components/ConstructorComponents/Carousel/Carousel"));
|
|
319
402
|
var _PointsList = _interopRequireDefault(require("./components/ConstructorComponents/PointsList/PointsList"));
|
|
403
|
+
var _PointsListV = _interopRequireDefault(require("./components/ConstructorComponents/PointsListV2/PointsListV2"));
|
|
320
404
|
var _Footer = _interopRequireDefault(require("./components/ConstructorComponents/Footer/Footer"));
|
|
321
405
|
var _PagePreviews = _interopRequireDefault(require("./components/ConstructorComponents/PagePreviews/PagePreviews"));
|
|
322
406
|
var _ButtonBasic = _interopRequireDefault(require("./components/Buttons/ButtonBasic/ButtonBasic"));
|
|
@@ -120,7 +120,7 @@ var LongTileArticleBox = function LongTileArticleBox(_ref) {
|
|
|
120
120
|
className: "title"
|
|
121
121
|
}, search ? (0, _highlightWord.hightlightWord)(search, articleName) : articleName), /*#__PURE__*/React.createElement("div", {
|
|
122
122
|
className: "description-content"
|
|
123
|
-
}, /*#__PURE__*/React.createElement("
|
|
123
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
124
124
|
className: "text_description"
|
|
125
125
|
}, Array.isArray(annotation) ? annotation !== null && annotation !== void 0 && annotation[0] ? (0, _htmlReactParser["default"])(annotation === null || annotation === void 0 ? void 0 : annotation[0]) : '' : annotation ? (0, _htmlReactParser["default"])(annotation) : '')), /*#__PURE__*/React.createElement("div", {
|
|
126
126
|
className: "text-and-info-box"
|
|
@@ -112,7 +112,7 @@ var ShortTileArticleBox = function ShortTileArticleBox(_ref) {
|
|
|
112
112
|
className: "title"
|
|
113
113
|
}, search ? (0, _highlightWord.hightlightWord)(search, articleName) : articleName), /*#__PURE__*/React.createElement("div", {
|
|
114
114
|
className: "description-content"
|
|
115
|
-
}, /*#__PURE__*/React.createElement("
|
|
115
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
116
116
|
className: "text_description"
|
|
117
117
|
}, Array.isArray(annotation) ? annotation !== null && annotation !== void 0 && annotation[0] ? (0, _htmlReactParser["default"])(annotation === null || annotation === void 0 ? void 0 : annotation[0]) : '' : annotation ? (0, _htmlReactParser["default"])(annotation) : '')), /*#__PURE__*/React.createElement("div", {
|
|
118
118
|
className: "text-and-info-box"
|
package/package.json
CHANGED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
|
|
4
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _image = _interopRequireDefault(require("next/image"));
|
|
11
|
-
var _ButtonSignUpModule = _interopRequireDefault(require("./ButtonSignUp.module.scss"));
|
|
12
|
-
var _calendar = _interopRequireDefault(require("./calendar.svg"));
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
-
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
21
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
|
-
var ButtonSignUp = function ButtonSignUp(_ref) {
|
|
23
|
-
var onClick = _ref.onClick,
|
|
24
|
-
_ref$media = _ref.media,
|
|
25
|
-
media = _ref$media === void 0 ? '1000px' : _ref$media,
|
|
26
|
-
_ref$isMobile = _ref.isMobile,
|
|
27
|
-
isMobile = _ref$isMobile === void 0 ? false : _ref$isMobile;
|
|
28
|
-
var _useState = (0, _react.useState)(getMatches),
|
|
29
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
30
|
-
screenWidth = _useState2[0],
|
|
31
|
-
setScreenWidth = _useState2[1];
|
|
32
|
-
var getMatches = function getMatches() {
|
|
33
|
-
return typeof window !== 'undefined' ? window.matchMedia("(max-width:".concat(media, ")")).matches : false;
|
|
34
|
-
};
|
|
35
|
-
(0, _react.useEffect)(function () {
|
|
36
|
-
var mediaQuery = window.matchMedia("(max-width: ".concat(media, ")"));
|
|
37
|
-
var onResize = function onResize(e) {
|
|
38
|
-
return setScreenWidth(e.matches);
|
|
39
|
-
};
|
|
40
|
-
mediaQuery.addEventListener('change', onResize);
|
|
41
|
-
return function () {
|
|
42
|
-
return mediaQuery.removeEventListener('change', onResize);
|
|
43
|
-
};
|
|
44
|
-
}, [media]);
|
|
45
|
-
var collapsed = !isMobile && screenWidth;
|
|
46
|
-
var buttonClassName = [_ButtonSignUpModule["default"].buttonSignUp, isMobile ? _ButtonSignUpModule["default"].small : '', collapsed ? _ButtonSignUpModule["default"].collapsed : ''].join(' ').trim();
|
|
47
|
-
var buttonStyles = {
|
|
48
|
-
maxWidth: collapsed && '56px',
|
|
49
|
-
padding: collapsed ? '0' : '0 16px',
|
|
50
|
-
justifyContent: collapsed && 'center'
|
|
51
|
-
};
|
|
52
|
-
var imageWrapperStyles = {
|
|
53
|
-
'--after-left': collapsed ? '-11px' : 'calc(100% - 6px)',
|
|
54
|
-
'--after-top': collapsed ? '-11px' : '-2px'
|
|
55
|
-
};
|
|
56
|
-
return /*#__PURE__*/_react["default"].createElement("button", {
|
|
57
|
-
className: buttonClassName,
|
|
58
|
-
style: buttonStyles,
|
|
59
|
-
type: "button",
|
|
60
|
-
onClick: onClick
|
|
61
|
-
}, isMobile ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
62
|
-
className: _ButtonSignUpModule["default"].secondaryText
|
|
63
|
-
}, "\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0441\u044F") : !collapsed ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
64
|
-
className: _ButtonSignUpModule["default"].primaryText
|
|
65
|
-
}, "\u041E\u043D\u043B\u0430\u0439\u043D \u0437\u0430\u043F\u0438\u0441\u044C"), /*#__PURE__*/_react["default"].createElement("span", {
|
|
66
|
-
className: _ButtonSignUpModule["default"].secondaryText
|
|
67
|
-
}, "\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0441\u044F")) : null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
-
className: _ButtonSignUpModule["default"].imageWrapper,
|
|
69
|
-
style: imageWrapperStyles
|
|
70
|
-
}, /*#__PURE__*/_react["default"].createElement(_image["default"], {
|
|
71
|
-
src: _calendar["default"],
|
|
72
|
-
alt: "icon-calendar"
|
|
73
|
-
})));
|
|
74
|
-
};
|
|
75
|
-
var _default = exports["default"] = ButtonSignUp;
|