@megafon/ui-shared 3.0.0-beta.0 → 3.0.0-beta.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.0...@megafon/ui-shared@3.0.0-beta.1) (2022-01-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **colors:** renabe green and purple to brandGreen and brandPurple to avoid postcss-colormin bug ([563d97c](https://github.com/MegafonWebLab/megafon-ui/commit/563d97c42900099415a6872f57b500b87aeed647))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **colors:** green, green20, green80, purple, purple20 and purple80 colors now have 'brand'
17
+ prefix (e.g. brandGreen)
18
+
19
+
20
+
21
+
22
+
6
23
  # [3.0.0-beta.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.1.5...@megafon/ui-shared@3.0.0-beta.0) (2022-01-19)
7
24
 
8
25
 
@@ -70,7 +70,7 @@ h5 {
70
70
  bottom: 0;
71
71
  left: 0;
72
72
  width: 12px;
73
- background-color: var(--green);
73
+ background-color: var(--brandGreen);
74
74
  border-radius: 0 12px 12px 0;
75
75
  }
76
76
  @media screen and (max-width: 767px) {
@@ -65,10 +65,10 @@ h5 {
65
65
  background-color: var(--spbSky1);
66
66
  }
67
67
  .mfui-container_bg-color_green {
68
- background-color: var(--green);
68
+ background-color: var(--brandGreen);
69
69
  }
70
70
  .mfui-container_bg-color_purple {
71
- background-color: var(--purple);
71
+ background-color: var(--brandPurple);
72
72
  }
73
73
  @media screen and (min-width: 768px) and (max-width: 1023px) {
74
74
  .mfui-container {
@@ -410,7 +410,7 @@ h5 {
410
410
  right: 0;
411
411
  bottom: 0;
412
412
  left: 0;
413
- background: var(--green);
413
+ background: var(--brandGreen);
414
414
  }
415
415
  @media screen and (min-width: 1024px) {
416
416
  .mfui-instructions__articles-item:last-child {
@@ -504,7 +504,7 @@ h5 {
504
504
  right: 0;
505
505
  bottom: 0;
506
506
  left: 0;
507
- background: var(--green);
507
+ background: var(--brandGreen);
508
508
  }
509
509
  .mfui-instructions__articles-dot:last-child {
510
510
  margin-right: 0;
@@ -90,7 +90,7 @@ h5 {
90
90
  padding: 2px 14px;
91
91
  color: var(--stcWhite);
92
92
  font-weight: 500;
93
- background-color: var(--purple);
93
+ background-color: var(--brandPurple);
94
94
  }
95
95
  @media screen and (min-width: 1280px) {
96
96
  .mfui-page-title__badge_under-breadcrumbs {
@@ -76,7 +76,7 @@ h5 {
76
76
  height: 40px;
77
77
  border-radius: 50%;
78
78
  color: var(--stcWhite);
79
- background-color: var(--green);
79
+ background-color: var(--brandGreen);
80
80
  }
81
81
  .mfui-steps-item__text-wrapper {
82
82
  padding-top: 8px;
@@ -61,7 +61,7 @@ h5 {
61
61
  color: var(--content);
62
62
  }
63
63
  .mfui-store-banner_theme_green .mfui-store-banner__grid {
64
- background-color: var(--green);
64
+ background-color: var(--brandGreen);
65
65
  }
66
66
  .mfui-store-banner_theme_green .mfui-store-banner__content {
67
67
  color: var(--stcWhite);
@@ -70,7 +70,7 @@ h5 {
70
70
  bottom: 0;
71
71
  left: 0;
72
72
  width: 12px;
73
- background-color: var(--green);
73
+ background-color: var(--brandGreen);
74
74
  border-radius: 0 12px 12px 0;
75
75
  }
76
76
  @media screen and (max-width: 767px) {
@@ -65,10 +65,10 @@ h5 {
65
65
  background-color: var(--spbSky1);
66
66
  }
67
67
  .mfui-container_bg-color_green {
68
- background-color: var(--green);
68
+ background-color: var(--brandGreen);
69
69
  }
70
70
  .mfui-container_bg-color_purple {
71
- background-color: var(--purple);
71
+ background-color: var(--brandPurple);
72
72
  }
73
73
  @media screen and (min-width: 768px) and (max-width: 1023px) {
74
74
  .mfui-container {
@@ -410,7 +410,7 @@ h5 {
410
410
  right: 0;
411
411
  bottom: 0;
412
412
  left: 0;
413
- background: var(--green);
413
+ background: var(--brandGreen);
414
414
  }
415
415
  @media screen and (min-width: 1024px) {
416
416
  .mfui-instructions__articles-item:last-child {
@@ -504,7 +504,7 @@ h5 {
504
504
  right: 0;
505
505
  bottom: 0;
506
506
  left: 0;
507
- background: var(--green);
507
+ background: var(--brandGreen);
508
508
  }
509
509
  .mfui-instructions__articles-dot:last-child {
510
510
  margin-right: 0;
@@ -90,7 +90,7 @@ h5 {
90
90
  padding: 2px 14px;
91
91
  color: var(--stcWhite);
92
92
  font-weight: 500;
93
- background-color: var(--purple);
93
+ background-color: var(--brandPurple);
94
94
  }
95
95
  @media screen and (min-width: 1280px) {
96
96
  .mfui-page-title__badge_under-breadcrumbs {
@@ -76,7 +76,7 @@ h5 {
76
76
  height: 40px;
77
77
  border-radius: 50%;
78
78
  color: var(--stcWhite);
79
- background-color: var(--green);
79
+ background-color: var(--brandGreen);
80
80
  }
81
81
  .mfui-steps-item__text-wrapper {
82
82
  padding-top: 8px;
@@ -61,7 +61,7 @@ h5 {
61
61
  color: var(--content);
62
62
  }
63
63
  .mfui-store-banner_theme_green .mfui-store-banner__grid {
64
- background-color: var(--green);
64
+ background-color: var(--brandGreen);
65
65
  }
66
66
  .mfui-store-banner_theme_green .mfui-store-banner__content {
67
67
  color: var(--stcWhite);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "3.0.0-beta.0",
3
+ "version": "3.0.0-beta.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -51,7 +51,7 @@
51
51
  "@babel/preset-env": "^7.8.6",
52
52
  "@babel/preset-react": "^7.8.3",
53
53
  "@babel/preset-typescript": "^7.8.3",
54
- "@megafon/ui-icons": "^1.0.0-beta.0",
54
+ "@megafon/ui-icons": "^1.0.0-beta.1",
55
55
  "@svgr/core": "^2.4.1",
56
56
  "@types/enzyme": "^3.10.5",
57
57
  "@types/enzyme-adapter-react-16": "^1.0.6",
@@ -81,13 +81,13 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@babel/runtime": "^7.8.4",
84
- "@megafon/ui-core": "^3.0.0-beta.0",
85
- "@megafon/ui-helpers": "^2.0.0-beta.0",
84
+ "@megafon/ui-core": "^3.0.0-beta.1",
85
+ "@megafon/ui-helpers": "^2.0.0-beta.1",
86
86
  "core-js": "^3.6.4",
87
87
  "htmr": "^0.9.2",
88
88
  "lodash.throttle": "^4.1.1",
89
89
  "prop-types": "^15.7.2",
90
90
  "swiper": "^6.5.6"
91
91
  },
92
- "gitHead": "42f072baa654d12403f32bb734d406595cf8d5ac"
92
+ "gitHead": "173ac72d7b6b8ce7c387e89c91371a0f119dc61d"
93
93
  }