ecomlab-components-next 0.1.140 → 0.1.141

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.
@@ -1,4 +1,4 @@
1
- .tariffs-plan {
1
+ .tariffs-plan-2 {
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 24px;
@@ -6,6 +6,7 @@
6
6
  margin-right: auto;
7
7
  width: 100%;
8
8
  height: 100%;
9
+ min-width: 1110px;
9
10
 
10
11
  &__title {
11
12
  color: black;
@@ -16,6 +17,10 @@
16
17
  line-height: 1.2;
17
18
  }
18
19
 
20
+ &__content {
21
+ width: 100%;
22
+ }
23
+
19
24
  &__my-plan {
20
25
  display: flex;
21
26
  width: auto;
@@ -23,8 +28,9 @@
23
28
  align-items: center;
24
29
  gap: 9px;
25
30
  border-radius: 8px;
26
- border: 1px solid #D7D7D7;
27
31
  background: #FFF;
32
+ border: 1px solid #EDEFED;
33
+ flex-wrap: wrap;
28
34
  color: #000;
29
35
  text-align: right;
30
36
  font-family: "Open Sans";
@@ -35,10 +41,14 @@
35
41
 
36
42
  span {
37
43
  color: #FF7A00;
38
- font-size: 24px;
44
+ font-size: 20px;
39
45
  font-weight: 500;
40
46
  line-height: 32px;
41
47
  }
48
+
49
+ &__content {
50
+ width: 100%;
51
+ }
42
52
  }
43
53
 
44
54
  &__header {
@@ -50,9 +60,9 @@
50
60
  &__cards {
51
61
  display: flex;
52
62
  justify-content: flex-end;
53
-
54
- gap: 16px;
55
- max-width: 100%;
63
+ gap: 8px;
64
+ max-width: calc(100% - 240px);
65
+ margin-left: auto;
56
66
  }
57
67
 
58
68
  &__item {
@@ -84,7 +94,7 @@
84
94
  transition: 0.5s;
85
95
  }
86
96
 
87
- .tariffs-plan__item-min {
97
+ .tariffs-plan-2__item-min {
88
98
  padding-top: 2px;
89
99
  padding-bottom: 2px;
90
100
  min-height: 36px;
@@ -100,6 +110,7 @@
100
110
  font-style: normal;
101
111
  font-weight: 500;
102
112
  line-height: 1.4;
113
+ max-width: 240px;
103
114
  }
104
115
 
105
116
  &__item-section,
@@ -107,9 +118,10 @@
107
118
  display: flex;
108
119
  align-items: center;
109
120
  justify-content: center;
110
- min-width: 240px;
111
- max-width: 240px;
112
- margin-left: 16px;
121
+ min-width: calc(100%/6 - 48px/6 - 240px/6);
122
+ max-width: calc(100%/6 - 48px/6 - 240px/6);
123
+ margin-left: 0px;
124
+ margin-right: 8px;
113
125
  }
114
126
 
115
127
  &__item-section-label {
@@ -117,6 +129,8 @@
117
129
  width: 100%;
118
130
  max-width: 100%;
119
131
  margin-left: 0;
132
+ min-width: 240px;
133
+ max-width: 240px;
120
134
  }
121
135
 
122
136
  &__label {
@@ -136,7 +150,6 @@
136
150
  border: none;
137
151
  cursor: pointer;
138
152
  background-color: inherit;
139
- margin-left: auto;
140
153
 
141
154
  &_hide {
142
155
  transform: rotate(-90deg);
@@ -276,11 +289,10 @@
276
289
  background-color: white;
277
290
  max-width: 100%;
278
291
  width: 100%;
279
- border-radius: 10px;
280
292
  background: #FFF;
281
293
  margin-left: auto;
282
294
  margin-right: auto;
283
- min-width: 800px;
295
+ min-width: 1300px;
284
296
 
285
297
  .title_tariffs {
286
298
  color: #0C2037;
@@ -336,8 +348,8 @@
336
348
 
337
349
 
338
350
 
339
- .tariff-cards-min,
340
- .tariff-cards-min_active {
351
+ .tariff-cards-2-min,
352
+ .tariff-cards-2-min_active {
341
353
  display: flex;
342
354
  width: 100%;
343
355
  min-height: 28px;
@@ -378,8 +390,8 @@
378
390
  }
379
391
  }
380
392
 
381
- .tariff-cards-min_active,
382
- .tariff-cards-min:hover {
393
+ .tariff-cards-2-min_active,
394
+ .tariff-cards-2-min:hover {
383
395
  transition: 0.3s;
384
396
  background-color: #ffffff;
385
397
 
@@ -400,17 +412,16 @@
400
412
  }
401
413
  }
402
414
 
403
- .tariff-cards-group {
415
+ .tariff-cards-2-group {
404
416
  display: flex;
405
417
  gap: 28px;
406
418
  flex-wrap: wrap;
407
419
  margin-left: auto;
408
- margin-right: auto;
409
420
  }
410
421
 
411
422
  .tariff-card {
412
423
  display: flex;
413
- padding: 10px 14px;
424
+ padding: 8px;
414
425
  flex-direction: column;
415
426
  align-items: flex-start;
416
427
  gap: 6px;
@@ -418,31 +429,32 @@
418
429
  border-radius: 6px;
419
430
  border: 1px solid #D7D7D7;
420
431
  background: #FFF;
421
- min-height: 190px;
422
- min-width: 240px;
423
- max-width: 240px;
432
+ min-height: 100px;
433
+ min-width: calc(100%/6 - 48px/6);
434
+ max-width: calc(100%/6 - 48px/6);
424
435
  position: relative;
425
436
 
426
437
  &__name {
427
438
  color: #FF7A00;
428
439
  font-family: "Golos Text";
429
- font-size: 20px;
440
+ font-size: 16px;
430
441
  font-style: normal;
431
- font-weight: 400;
442
+ font-weight: 600;
432
443
  line-height: 1.4;
433
444
  }
434
445
 
435
446
  &__sum-box {
436
447
  color: #000;
437
448
  white-space: nowrap;
438
- font-size: 28px;
449
+ font-size: 18px;
439
450
  font-style: normal;
440
- font-weight: 500;
451
+ font-weight: 600;
441
452
  line-height: 1.4;
442
453
 
443
454
  span {
444
455
  font-family: "Golos Text" !important;
445
456
  font-weight: 400;
457
+ font-size: 14px;
446
458
  }
447
459
  }
448
460
 
@@ -450,11 +462,9 @@
450
462
  text-align: left;
451
463
  color: #606060;
452
464
  font-family: "Golos Text";
453
- font-size: 16px;
465
+ font-size: 13px;
454
466
  font-style: normal;
455
467
  font-weight: 400;
456
- line-height: 24px;
457
- margin-top: 7px;
458
468
  }
459
469
 
460
470
  &__sticker {
@@ -475,11 +485,9 @@
475
485
  top: -13px;
476
486
  right: calc(50% - 133px/2);
477
487
  }
478
- }
479
- }
480
488
 
481
- @media (max-width: 1439px) {
482
- .tariffs-plan {
483
- display: none;
489
+ .btn-basic {
490
+ margin-top: auto;
491
+ }
484
492
  }
485
493
  }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TitlePage = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ require("./TitlePage.scss");
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ var TitlePage = exports.TitlePage = function TitlePage(_ref) {
12
+ var title = _ref.title,
13
+ _ref$medium = _ref.medium,
14
+ medium = _ref$medium === void 0 ? false : _ref$medium,
15
+ _ref$style = _ref.style,
16
+ style = _ref$style === void 0 ? {} : _ref$style;
17
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, medium ? /*#__PURE__*/_react["default"].createElement("h2", {
18
+ className: "title-page_medium",
19
+ style: style
20
+ }, title) : /*#__PURE__*/_react["default"].createElement("h1", {
21
+ className: "title-page",
22
+ style: style
23
+ }, title));
24
+ };
@@ -0,0 +1,13 @@
1
+ .title-page {
2
+ color: #020617;
3
+ font-family: 'Open Sans';
4
+ font-size: 26px;
5
+ font-style: normal;
6
+ font-weight: 500;
7
+ line-height: 1.4;
8
+
9
+ &_medium {
10
+ @extend .title-page;
11
+ font-size: 18px;
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecomlab-components-next",
3
- "version": "0.1.140",
3
+ "version": "0.1.141",
4
4
  "description": "A set of common and reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "files": [