@megafon/ui-shared 3.4.3 → 4.0.0-beta.11

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,79 @@
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
+ # [4.0.0-beta.11](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.0.0-beta.10...@megafon/ui-shared@4.0.0-beta.11) (2022-07-15)
7
+
8
+ **Note:** Version bump only for package @megafon/ui-shared
9
+
10
+
11
+
12
+
13
+
14
+ # [4.0.0-beta.10](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.0.0-beta.9...@megafon/ui-shared@4.0.0-beta.10) (2022-07-15)
15
+
16
+ **Note:** Version bump only for package @megafon/ui-shared
17
+
18
+
19
+
20
+
21
+
22
+ # [4.0.0-beta.9](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.0.0-beta.8...@megafon/ui-shared@4.0.0-beta.9) (2022-07-14)
23
+
24
+
25
+ ### Features
26
+
27
+ * **header:** add new prop space ([e5bef7c](https://github.com/MegafonWebLab/megafon-ui/commit/e5bef7c8e13c57e477a4c25f07a4a4a6dbb8b6bd))
28
+
29
+
30
+
31
+
32
+
33
+ # [4.0.0-beta.8](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.0.0-beta.7...@megafon/ui-shared@4.0.0-beta.8) (2022-07-13)
34
+
35
+ **Note:** Version bump only for package @megafon/ui-shared
36
+
37
+
38
+
39
+
40
+
41
+ # [4.0.0-beta.7](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.0.0-beta.6...@megafon/ui-shared@4.0.0-beta.7) (2022-07-05)
42
+
43
+ **Note:** Version bump only for package @megafon/ui-shared
44
+
45
+
46
+
47
+
48
+
49
+ # [4.0.0-beta.6](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.4.3...@megafon/ui-shared@4.0.0-beta.6) (2022-06-29)
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * **breadcrumbs:** change default color prop value from black to default ([5c30998](https://github.com/MegafonWebLab/megafon-ui/commit/5c30998fe192be143add5af873c08cf51deb299e))
55
+
56
+
57
+ ### Features
58
+
59
+ * **paragraph:** remove prop size; add new prop; add 'pale' option to colors ([ffb6bc7](https://github.com/MegafonWebLab/megafon-ui/commit/ffb6bc709a4ef91536e359d5f9edc5501caf0c2c))
60
+ * **tabs:** update by new design ([20ae2cc](https://github.com/MegafonWebLab/megafon-ui/commit/20ae2cc695e1245b9cd06fe37a9e4e3bb0c7eaae))
61
+ * **text-with-icon:** delete centering in mobile resolution ([c68f98f](https://github.com/MegafonWebLab/megafon-ui/commit/c68f98f0b69cbe0e416de4d526c70c009213647e))
62
+
63
+
64
+ ### BREAKING CHANGES
65
+
66
+ * **text-with-icon:** centering in mobile resolution was removed according guides
67
+ * **tabs:** new prop autoWidth added
68
+ size prop small vallue removed
69
+ new sizes
70
+ * **breadcrumbs:** color is now depends on current theme. by default it matches content text color.
71
+ for keep black color on light background use 'black' value for prop 'color'.
72
+ * **paragraph:** prop 'size' is no longer exists.
73
+ use component Caption instead of Paragraph size="small"
74
+
75
+
76
+
77
+
78
+
6
79
  ## [3.4.3](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.4.2...@megafon/ui-shared@3.4.3) (2022-06-28)
7
80
 
8
81
  **Note:** Version bump only for package @megafon/ui-shared
@@ -26,7 +26,7 @@ var cn = cnCreate('mfui-breadcrumbs');
26
26
  var Breadcrumbs = function Breadcrumbs(_ref) {
27
27
  var items = _ref.items,
28
28
  _ref$color = _ref.color,
29
- color = _ref$color === void 0 ? 'black' : _ref$color,
29
+ color = _ref$color === void 0 ? 'default' : _ref$color,
30
30
  className = _ref.className,
31
31
  _ref$classes = _ref.classes,
32
32
  classes = _ref$classes === void 0 ? {} : _ref$classes,
@@ -31,7 +31,7 @@ h5 {
31
31
  .mfui-download-link__info {
32
32
  margin: 0;
33
33
  font-size: 12px;
34
- line-height: 16px;
34
+ line-height: 18px;
35
35
  color: var(--spbSky3);
36
36
  text-transform: uppercase;
37
37
  }
@@ -37,7 +37,7 @@ h5 {
37
37
  }
38
38
  .mfui-page-title__badge {
39
39
  font-size: 12px;
40
- line-height: 16px;
40
+ line-height: 18px;
41
41
  display: inline-block;
42
42
  margin-top: 16px;
43
43
  padding: 2px 14px;
@@ -121,7 +121,7 @@ h5 {
121
121
  }
122
122
  .mfui-table__row_head .mfui-table__cell {
123
123
  font-size: 12px;
124
- line-height: 16px;
124
+ line-height: 18px;
125
125
  height: 72px;
126
126
  padding-bottom: 12px;
127
127
  color: var(--spbSky3);
@@ -8,8 +8,3 @@ h5 {
8
8
  .mfui-text-with-icon__header {
9
9
  margin-bottom: 24px;
10
10
  }
11
- @media screen and (max-width: 767px) {
12
- .mfui-text-with-icon_centering-on-mobile .mfui-text-with-icon__header {
13
- text-align: center;
14
- }
15
- }
@@ -29,22 +29,3 @@ h5 {
29
29
  margin-right: 16px;
30
30
  overflow: hidden;
31
31
  }
32
- @media screen and (max-width: 767px) {
33
- .mfui-text-with-icon-item_centering-on-mobile {
34
- -webkit-box-orient: vertical;
35
- -webkit-box-direction: normal;
36
- -ms-flex-direction: column;
37
- flex-direction: column;
38
- }
39
- }
40
- @media screen and (max-width: 767px) {
41
- .mfui-text-with-icon-item_centering-on-mobile .mfui-text-with-icon-item__text {
42
- margin-top: 12px;
43
- text-align: center;
44
- }
45
- }
46
- @media screen and (max-width: 767px) {
47
- .mfui-text-with-icon-item_centering-on-mobile .mfui-text-with-icon-item__svg-icon {
48
- margin-right: 0;
49
- }
50
- }
@@ -190,7 +190,7 @@ h5 {
190
190
  }
191
191
  .mfui-video-banner__cost {
192
192
  font-size: 12px;
193
- line-height: 16px;
193
+ line-height: 18px;
194
194
  margin-bottom: 18px;
195
195
  }
196
196
  .mfui-video-banner__value {
@@ -43,7 +43,7 @@ var cn = (0, _uiHelpers.cnCreate)('mfui-breadcrumbs');
43
43
  var Breadcrumbs = function Breadcrumbs(_ref) {
44
44
  var items = _ref.items,
45
45
  _ref$color = _ref.color,
46
- color = _ref$color === void 0 ? 'black' : _ref$color,
46
+ color = _ref$color === void 0 ? 'default' : _ref$color,
47
47
  className = _ref.className,
48
48
  _ref$classes = _ref.classes,
49
49
  classes = _ref$classes === void 0 ? {} : _ref$classes,
@@ -31,7 +31,7 @@ h5 {
31
31
  .mfui-download-link__info {
32
32
  margin: 0;
33
33
  font-size: 12px;
34
- line-height: 16px;
34
+ line-height: 18px;
35
35
  color: var(--spbSky3);
36
36
  text-transform: uppercase;
37
37
  }
@@ -37,7 +37,7 @@ h5 {
37
37
  }
38
38
  .mfui-page-title__badge {
39
39
  font-size: 12px;
40
- line-height: 16px;
40
+ line-height: 18px;
41
41
  display: inline-block;
42
42
  margin-top: 16px;
43
43
  padding: 2px 14px;
@@ -121,7 +121,7 @@ h5 {
121
121
  }
122
122
  .mfui-table__row_head .mfui-table__cell {
123
123
  font-size: 12px;
124
- line-height: 16px;
124
+ line-height: 18px;
125
125
  height: 72px;
126
126
  padding-bottom: 12px;
127
127
  color: var(--spbSky3);
@@ -8,8 +8,3 @@ h5 {
8
8
  .mfui-text-with-icon__header {
9
9
  margin-bottom: 24px;
10
10
  }
11
- @media screen and (max-width: 767px) {
12
- .mfui-text-with-icon_centering-on-mobile .mfui-text-with-icon__header {
13
- text-align: center;
14
- }
15
- }
@@ -29,22 +29,3 @@ h5 {
29
29
  margin-right: 16px;
30
30
  overflow: hidden;
31
31
  }
32
- @media screen and (max-width: 767px) {
33
- .mfui-text-with-icon-item_centering-on-mobile {
34
- -webkit-box-orient: vertical;
35
- -webkit-box-direction: normal;
36
- -ms-flex-direction: column;
37
- flex-direction: column;
38
- }
39
- }
40
- @media screen and (max-width: 767px) {
41
- .mfui-text-with-icon-item_centering-on-mobile .mfui-text-with-icon-item__text {
42
- margin-top: 12px;
43
- text-align: center;
44
- }
45
- }
46
- @media screen and (max-width: 767px) {
47
- .mfui-text-with-icon-item_centering-on-mobile .mfui-text-with-icon-item__svg-icon {
48
- margin-right: 0;
49
- }
50
- }
@@ -190,7 +190,7 @@ h5 {
190
190
  }
191
191
  .mfui-video-banner__cost {
192
192
  font-size: 12px;
193
- line-height: 16px;
193
+ line-height: 18px;
194
194
  margin-bottom: 18px;
195
195
  }
196
196
  .mfui-video-banner__value {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "3.4.3",
3
+ "version": "4.0.0-beta.11",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -52,7 +52,7 @@
52
52
  "@babel/preset-env": "^7.8.6",
53
53
  "@babel/preset-react": "^7.8.3",
54
54
  "@babel/preset-typescript": "^7.8.3",
55
- "@megafon/ui-icons": "^1.2.2",
55
+ "@megafon/ui-icons": "^2.0.0-beta.2",
56
56
  "@svgr/core": "^2.4.1",
57
57
  "@types/enzyme": "^3.10.5",
58
58
  "@types/enzyme-adapter-react-16": "^1.0.6",
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@babel/runtime": "^7.8.4",
85
- "@megafon/ui-core": "^3.12.0",
85
+ "@megafon/ui-core": "^4.0.0-beta.10",
86
86
  "@megafon/ui-helpers": "^2.1.2",
87
87
  "core-js": "^3.6.4",
88
88
  "htmr": "^0.9.2",
@@ -90,5 +90,5 @@
90
90
  "prop-types": "^15.7.2",
91
91
  "swiper": "^6.5.6"
92
92
  },
93
- "gitHead": "937a89d31be941889706301984fdbf6c1e1852b2"
93
+ "gitHead": "75acee9cdcd3587e1456557bea652554d134c30d"
94
94
  }