ecomlab-components-next 0.1.23 → 0.1.25

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 (46) hide show
  1. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.js +47 -0
  2. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.scss +81 -0
  3. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.stories.js +16 -0
  4. package/dist/components/ConstructorComponents/Carousel/Carousel.js +135 -0
  5. package/dist/components/ConstructorComponents/Carousel/Carousel.scss +71 -0
  6. package/dist/components/ConstructorComponents/Carousel/Carousel.stories.js +16 -0
  7. package/dist/components/ConstructorComponents/Carousel/CommentItem/CommentItem.js +43 -0
  8. package/dist/components/ConstructorComponents/Carousel/CommentItem/CommentItem.scss +94 -0
  9. package/dist/components/ConstructorComponents/Carousel/CommentItem/img/user.png +0 -0
  10. package/dist/components/ConstructorComponents/Carousel/img/1.png +0 -0
  11. package/dist/components/ConstructorComponents/Carousel/img/2.png +0 -0
  12. package/dist/components/ConstructorComponents/Carousel/img/3.png +0 -0
  13. package/dist/components/ConstructorComponents/Carousel/img/4.png +0 -0
  14. package/dist/components/ConstructorComponents/Carousel/img/5.png +0 -0
  15. package/dist/components/ConstructorComponents/Carousel/img/6.png +0 -0
  16. package/dist/components/ConstructorComponents/Carousel/img/user_1.png +0 -0
  17. package/dist/components/ConstructorComponents/Carousel/img/user_2.png +0 -0
  18. package/dist/components/ConstructorComponents/Carousel/img/user_3.png +0 -0
  19. package/dist/components/ConstructorComponents/Carousel/img/user_4.png +0 -0
  20. package/dist/components/ConstructorComponents/Carousel/img/user_5.png +0 -0
  21. package/dist/components/ConstructorComponents/Carousel/img/user_6.png +0 -0
  22. package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +17 -0
  23. package/dist/components/ConstructorComponents/MainContainer/MainContainer.scss +23 -0
  24. package/dist/components/ConstructorComponents/MainContainer/MainContainer.stories.js +18 -0
  25. package/dist/components/ConstructorComponents/MarqueImgs/MarqueImgs.js +42 -0
  26. package/dist/components/ConstructorComponents/MarqueImgs/MarqueImgs.scss +54 -0
  27. package/dist/components/ConstructorComponents/MarqueImgs/MarqueImgs.stories.js +16 -0
  28. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_1.svg +4 -0
  29. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_10.svg +9 -0
  30. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_11.svg +10 -0
  31. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_12.svg +11 -0
  32. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_13.svg +9 -0
  33. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_2.svg +10 -0
  34. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_3.svg +10 -0
  35. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_4.svg +28 -0
  36. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_5.svg +9 -0
  37. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_6.svg +26 -0
  38. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_7.svg +17 -0
  39. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_8.svg +9 -0
  40. package/dist/components/ConstructorComponents/MarqueImgs/img/brand_9.svg +9 -0
  41. package/dist/components/ConstructorComponents/PointsList/PointsList.js +38 -0
  42. package/dist/components/ConstructorComponents/PointsList/PointsList.scss +160 -0
  43. package/dist/components/ConstructorComponents/PointsList/PointsList.stories.js +43 -0
  44. package/dist/components/ConstructorComponents/PointsList/img/bx-right-arrow-alt.svg +5 -0
  45. package/dist/index.js +35 -0
  46. package/package.json +4 -2
@@ -0,0 +1,160 @@
1
+ .points-list {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 32px;
5
+
6
+ &__title {
7
+ font-family: "Golos Text";
8
+ font-size: 42px;
9
+ font-style: normal;
10
+ font-weight: 500;
11
+ line-height: 51px;
12
+ }
13
+
14
+ &__content {
15
+ display: flex;
16
+ flex-wrap: wrap;
17
+ gap: 24px,
18
+ }
19
+
20
+ &__item {
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 6px;
24
+ width: 100%;
25
+ max-width: calc(33% - 13px);
26
+ }
27
+
28
+ &__item-title {
29
+ display: flex;
30
+ align-items: center;
31
+ gap: 6px;
32
+ color: #000;
33
+ font-family: "Golos Text";
34
+ font-size: 18px;
35
+ font-style: normal;
36
+ font-weight: 400;
37
+ line-height: 24px;
38
+ }
39
+
40
+ &__item-text {
41
+ color: #797979;
42
+ font-family: "Golos Text";
43
+ font-size: 12px;
44
+ font-style: normal;
45
+ font-weight: 400;
46
+ line-height: 18px;
47
+ }
48
+
49
+ &__btn {
50
+ display: flex;
51
+ justify-content: space-between;
52
+ align-items: flex-start;
53
+ width: 100%;
54
+ align-self: stretch;
55
+ padding: 12px 24px;
56
+ border-radius: 10px;
57
+ background: #F0F3FE;
58
+ border: none;
59
+ cursor: pointer;
60
+ }
61
+
62
+ &__btn-text {
63
+ color: #2D42FF;
64
+ font-family: "Golos Text";
65
+ font-size: 18px;
66
+ font-style: normal;
67
+ font-weight: 400;
68
+ line-height: 24px;
69
+ }
70
+
71
+ &__btn-text-min {
72
+ color: #2D42FF;
73
+ font-family: "Golos Text";
74
+ font-size: 12px;
75
+ font-style: normal;
76
+ font-weight: 400;
77
+ line-height: 18px;
78
+ }
79
+
80
+ &__btn-info {
81
+ display: flex;
82
+ align-items: flex-start;
83
+ flex-direction: column;
84
+ }
85
+
86
+ .max-points-2 {
87
+ max-width: calc(50% - 16px);
88
+ }
89
+
90
+ .max-points-3 {
91
+ max-width: calc(33.33% - 12px);
92
+ }
93
+
94
+ .max-points-4 {
95
+ max-width: calc(25% - 18px);
96
+ }
97
+
98
+ .max-points-5 {
99
+ max-width: calc(20% - 14px);
100
+ }
101
+ }
102
+
103
+ @media (max-width: 1100px) {
104
+ .points-list {
105
+ &__title {
106
+ font-size: 28px;
107
+ line-height: 32px;
108
+ }
109
+
110
+ &__item {
111
+ max-width: calc(50% - 12px);
112
+ }
113
+
114
+ .max-points-2 {
115
+ max-width: calc(50% - 12px);
116
+ }
117
+
118
+ .max-points-3 {
119
+ max-width: calc(50% - 12px);
120
+ }
121
+
122
+ .max-points-4 {
123
+ max-width: calc(50% - 12px);
124
+ }
125
+
126
+ .max-points-5 {
127
+ max-width: calc(50% - 12px);
128
+ }
129
+ }
130
+ }
131
+
132
+ @media (max-width: 430px) {
133
+ .points-list {
134
+
135
+ &__title {
136
+ font-size: 24px;
137
+ line-height: 32px;
138
+ }
139
+
140
+ &__item {
141
+ max-width: calc(100%);
142
+ }
143
+
144
+ .max-points-2 {
145
+ max-width: 100%;
146
+ }
147
+
148
+ .max-points-3 {
149
+ max-width: 100%;
150
+ }
151
+
152
+ .max-points-4 {
153
+ max-width: 100%;
154
+ }
155
+
156
+ .max-points-5 {
157
+ max-width: 100%;
158
+ }
159
+ }
160
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.PointsListTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _PointsList = _interopRequireDefault(require("./PointsList"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var point_list = [{
11
+ title: 'Загружай свои файлы и документы',
12
+ description: "\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0439 \u0441\u0432\u043E\u0438 \u0444\u0430\u0439\u043B\u044B \u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0443 \u0432 \n \u0444\u043E\u0440\u043C\u0430\u0442\u0435 PDF, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440: \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438, \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438, \n \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u043E\u0432 \u0438 \u0443\u0441\u043B\u0443\u0433, \u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \n (FAQ), \u043F\u0440\u0435\u0437\u0435\u043D\u0442\u0430\u0446\u0438\u0438 \u0438 \u043F\u0440\u043E\u0447\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0435."
13
+ }, {
14
+ title: 'Обработка до 90% запросов',
15
+ description: "\u041D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0430 \n \u0441\u043E\u0437\u0434\u0430\u0441\u0442 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u0443\u044E \u0431\u0430\u0437\u0443 \u0434\u0430\u043D\u043D\u044B\u0445, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043F\u043E\u043C\u043E\u0436\u0435\u0442 \n \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0442\u0432\u043E\u0435\u0433\u043E \u043B\u0438\u0447\u043D\u043E\u0433\u043E \u0431\u043E\u0442\u0430, \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0433\u043E \n \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0434\u043E 90% \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439."
16
+ }, {
17
+ title: 'Повышаем известность магазина',
18
+ description: "\u041F\u043E\u0441\u043B\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0447\u0430\u0442\u0435, \u0441\u0438\u0441\u0442\u0435\u043C\u0430 RAG \n \u043D\u0430\u0445\u043E\u0434\u0438\u0442 \u043D\u0443\u0436\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445, \u0430 \u0431\u043E\u0442 \n \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0435\u0433\u043E \u0432 \u0447\u0438\u0442\u0430\u0431\u0435\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E."
19
+ }, {
20
+ title: 'Создай свою базу внутри чат бота',
21
+ description: "\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0431\u0430\u0437\u0443 \u0437\u043D\u0430\u043D\u0438\u0439 \u0432\u043D\u0443\u0442\u0440\u0438 \u0447\u0430\u0442 \u0431\u043E\u0442\u0430, \n \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0432 \u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0443 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432 PDF. \u041F\u043E\u0441\u043B\u0435 \n \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441 \u0438 \n \u0432\u044B\u0434\u0430\u0441\u0442 \u043E\u0442\u0432\u0435\u0442 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438."
22
+ }, {
23
+ title: 'Время ответа от 3 до 10 секунд',
24
+ description: "\u0412\u0440\u0435\u043C\u044F \u043E\u0442\u0432\u0435\u0442\u0430 \u0431\u043E\u0442\u0430 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u043E\u0442 3 \u0434\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434, \n \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u0441\u043F\u0435\u0446\u0438\u0444\u0438\u043A\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0438 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445."
25
+ }
26
+ // {
27
+ // title: 'Улучшаем ранжирование товаров',
28
+ // description: `Сформируем дополнительные рекламные
29
+ // ставки, за счёт которых твои товары окажутся
30
+ // выше в поисковой выдаче и попадут на специальные рекламные позиции.`,
31
+ // },
32
+ ];
33
+ var _default = exports["default"] = {
34
+ title: 'PointsList',
35
+ component: _PointsList["default"]
36
+ };
37
+ var PointsListTest = exports.PointsListTest = function PointsListTest() {
38
+ return /*#__PURE__*/_react["default"].createElement(_PointsList["default"], {
39
+ list: point_list,
40
+ title: 'Возможности нашего сервиса',
41
+ className: 'max-items-3'
42
+ });
43
+ };
@@ -0,0 +1,5 @@
1
+ <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="bx-right-arrow-alt.svg">
3
+ <path id="Vector" d="M15.0573 23.9561L16.9427 25.8414L25.8853 16.8987L16.9427 7.95605L15.0573 9.84139L20.7813 15.5654H8V18.2321H20.7813L15.0573 23.9561Z" fill="#2D42FF"/>
4
+ </g>
5
+ </svg>
package/dist/index.js CHANGED
@@ -33,12 +33,24 @@ Object.defineProperty(exports, "ButtonBasic", {
33
33
  return _ButtonBasic["default"];
34
34
  }
35
35
  });
36
+ Object.defineProperty(exports, "CardsGrey", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _CardsGrey["default"];
40
+ }
41
+ });
36
42
  Object.defineProperty(exports, "CardsInfo", {
37
43
  enumerable: true,
38
44
  get: function get() {
39
45
  return _CardsInfo["default"];
40
46
  }
41
47
  });
48
+ Object.defineProperty(exports, "Carousel", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _Carousel["default"];
52
+ }
53
+ });
42
54
  Object.defineProperty(exports, "ClientsAboutUs", {
43
55
  enumerable: true,
44
56
  get: function get() {
@@ -57,12 +69,30 @@ Object.defineProperty(exports, "Header", {
57
69
  return _Header["default"];
58
70
  }
59
71
  });
72
+ Object.defineProperty(exports, "MainContainer", {
73
+ enumerable: true,
74
+ get: function get() {
75
+ return _MainContainer["default"];
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "MarqueImgs", {
79
+ enumerable: true,
80
+ get: function get() {
81
+ return _MarqueImgs["default"];
82
+ }
83
+ });
60
84
  Object.defineProperty(exports, "PhoneBlock", {
61
85
  enumerable: true,
62
86
  get: function get() {
63
87
  return _PhoneBlock["default"];
64
88
  }
65
89
  });
90
+ Object.defineProperty(exports, "PointsList", {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _PointsList["default"];
94
+ }
95
+ });
66
96
  Object.defineProperty(exports, "Questions", {
67
97
  enumerable: true,
68
98
  get: function get() {
@@ -107,5 +137,10 @@ var _FormWithBtn = _interopRequireDefault(require("./components/ConstructorCompo
107
137
  var _BlocksInfo = _interopRequireDefault(require("./components/ConstructorComponents/BlocksInfo/BlocksInfo"));
108
138
  var _StepItems = _interopRequireDefault(require("./components/ConstructorComponents/StepItems/StepItems"));
109
139
  var _StatisticCard = _interopRequireDefault(require("./components/ConstructorComponents/StatisticCard/StatisticCard"));
140
+ var _MainContainer = _interopRequireDefault(require("./components/ConstructorComponents/MainContainer/MainContainer"));
141
+ var _CardsGrey = _interopRequireDefault(require("./components/ConstructorComponents/CardsGrey/CardsGrey"));
142
+ var _MarqueImgs = _interopRequireDefault(require("./components/ConstructorComponents/MarqueImgs/MarqueImgs"));
143
+ var _Carousel = _interopRequireDefault(require("./components/ConstructorComponents/Carousel/Carousel"));
144
+ var _PointsList = _interopRequireDefault(require("./components/ConstructorComponents/PointsList/PointsList"));
110
145
  var _ButtonBasic = _interopRequireDefault(require("./components/Buttons/ButtonBasic/ButtonBasic"));
111
146
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecomlab-components-next",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
4
4
  "description": "A set of common and reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -49,7 +49,9 @@
49
49
  "react-select": "^5.8.0",
50
50
  "imask": "^7.6.1",
51
51
  "@emotion/react": "11.11.1",
52
- "@emotion/styled": "11.11.0"
52
+ "@emotion/styled": "11.11.0",
53
+ "react-fast-marquee": "^1.6.5",
54
+ "react-multi-carousel": "^2.8.5"
53
55
  },
54
56
  "eslintConfig": {
55
57
  "extends": [