@megafon/ui-shared 3.4.2 → 4.0.0-beta.10

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.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)
7
+
8
+ **Note:** Version bump only for package @megafon/ui-shared
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+
17
+ ### Features
18
+
19
+ * **header:** add new prop space ([e5bef7c](https://github.com/MegafonWebLab/megafon-ui/commit/e5bef7c8e13c57e477a4c25f07a4a4a6dbb8b6bd))
20
+
21
+
22
+
23
+
24
+
25
+ # [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)
26
+
27
+ **Note:** Version bump only for package @megafon/ui-shared
28
+
29
+
30
+
31
+
32
+
33
+ # [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)
34
+
35
+ **Note:** Version bump only for package @megafon/ui-shared
36
+
37
+
38
+
39
+
40
+
41
+ # [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)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * **breadcrumbs:** change default color prop value from black to default ([5c30998](https://github.com/MegafonWebLab/megafon-ui/commit/5c30998fe192be143add5af873c08cf51deb299e))
47
+
48
+
49
+ ### Features
50
+
51
+ * **paragraph:** remove prop size; add new prop; add 'pale' option to colors ([ffb6bc7](https://github.com/MegafonWebLab/megafon-ui/commit/ffb6bc709a4ef91536e359d5f9edc5501caf0c2c))
52
+ * **tabs:** update by new design ([20ae2cc](https://github.com/MegafonWebLab/megafon-ui/commit/20ae2cc695e1245b9cd06fe37a9e4e3bb0c7eaae))
53
+ * **text-with-icon:** delete centering in mobile resolution ([c68f98f](https://github.com/MegafonWebLab/megafon-ui/commit/c68f98f0b69cbe0e416de4d526c70c009213647e))
54
+
55
+
56
+ ### BREAKING CHANGES
57
+
58
+ * **text-with-icon:** centering in mobile resolution was removed according guides
59
+ * **tabs:** new prop autoWidth added
60
+ size prop small vallue removed
61
+ new sizes
62
+ * **breadcrumbs:** color is now depends on current theme. by default it matches content text color.
63
+ for keep black color on light background use 'black' value for prop 'color'.
64
+ * **paragraph:** prop 'size' is no longer exists.
65
+ use component Caption instead of Paragraph size="small"
66
+
67
+
68
+
69
+
70
+
71
+ ## [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)
72
+
73
+ **Note:** Version bump only for package @megafon/ui-shared
74
+
75
+
76
+
77
+
78
+
6
79
  ## [3.4.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.4.1...@megafon/ui-shared@3.4.2) (2022-06-21)
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.2",
3
+ "version": "4.0.0-beta.10",
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.11.0",
85
+ "@megafon/ui-core": "^4.0.0-beta.9",
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": "c0c35d6f50202e8af91b58ca10cf2b9cbb58a71d"
93
+ "gitHead": "7138f5bb06b0aef2c54bcc04b88afa2964643d05"
94
94
  }