@megafon/ui-shared 2.2.1 → 2.3.0
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,18 @@
|
|
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
|
+
# [2.3.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.2.1...@megafon/ui-shared@2.3.0) (2022-02-07)
|
7
|
+
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* **container:** fix margin rules for component TextWithIcon ([3c2de9d](https://github.com/MegafonWebLab/megafon-ui/commit/3c2de9db5a01bdd246daee22dd5545e21dce55ba))
|
12
|
+
* **textbox:** add styles for use TextWithIcon inside component ([c993657](https://github.com/MegafonWebLab/megafon-ui/commit/c993657a2f143f87607a7d1474d44c4596d73558))
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
6
18
|
## [2.2.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.2.0...@megafon/ui-shared@2.2.1) (2022-01-31)
|
7
19
|
|
8
20
|
|
@@ -344,6 +344,9 @@ h5 {
|
|
344
344
|
.mfui-container .mfui-title-description-box + .mfui-download-links {
|
345
345
|
margin-top: 32px;
|
346
346
|
}
|
347
|
+
.mfui-container .mfui-title-description-box + .mfui-text-with-icon {
|
348
|
+
margin-top: 24px;
|
349
|
+
}
|
347
350
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
348
351
|
.mfui-container .mfui-title-description-box + .mfui-benefits-icons {
|
349
352
|
margin-top: 48px;
|
@@ -2230,8 +2233,8 @@ h5 {
|
|
2230
2233
|
.mfui-container .mfui-text-box + .mfui-download-links {
|
2231
2234
|
margin-top: 32px;
|
2232
2235
|
}
|
2233
|
-
.mfui-container .mfui-text-box +
|
2234
|
-
margin-top:
|
2236
|
+
.mfui-container .mfui-text-box + .mfui-text-with-icon {
|
2237
|
+
margin-top: 32px;
|
2235
2238
|
}
|
2236
2239
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
2237
2240
|
.mfui-container .mfui-text-box + .mfui-benefits-icons {
|
@@ -2909,7 +2912,7 @@ h5 {
|
|
2909
2912
|
margin-top: 40px;
|
2910
2913
|
}
|
2911
2914
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2912
|
-
margin-top:
|
2915
|
+
margin-top: 32px;
|
2913
2916
|
}
|
2914
2917
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2915
2918
|
margin-top: 40px;
|
@@ -2961,7 +2964,7 @@ h5 {
|
|
2961
2964
|
margin-top: 48px;
|
2962
2965
|
}
|
2963
2966
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2964
|
-
margin-top:
|
2967
|
+
margin-top: 32px;
|
2965
2968
|
}
|
2966
2969
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2967
2970
|
margin-top: 48px;
|
@@ -3014,7 +3017,7 @@ h5 {
|
|
3014
3017
|
margin-top: 48px;
|
3015
3018
|
}
|
3016
3019
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
3017
|
-
margin-top:
|
3020
|
+
margin-top: 32px;
|
3018
3021
|
}
|
3019
3022
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
3020
3023
|
margin-top: 56px;
|
@@ -14,3 +14,12 @@ h5 {
|
|
14
14
|
.mfui-text-box_text-center {
|
15
15
|
text-align: center;
|
16
16
|
}
|
17
|
+
.mfui-text-box .mfui-text-with-icon {
|
18
|
+
margin: 24px 0;
|
19
|
+
}
|
20
|
+
.mfui-text-box .mfui-text-with-icon + .mfui-header {
|
21
|
+
margin-top: 32px;
|
22
|
+
}
|
23
|
+
.mfui-text-box .mfui-text-box-picture + .mfui-text-with-icon {
|
24
|
+
margin: 32px 0 24px;
|
25
|
+
}
|
@@ -344,6 +344,9 @@ h5 {
|
|
344
344
|
.mfui-container .mfui-title-description-box + .mfui-download-links {
|
345
345
|
margin-top: 32px;
|
346
346
|
}
|
347
|
+
.mfui-container .mfui-title-description-box + .mfui-text-with-icon {
|
348
|
+
margin-top: 24px;
|
349
|
+
}
|
347
350
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
348
351
|
.mfui-container .mfui-title-description-box + .mfui-benefits-icons {
|
349
352
|
margin-top: 48px;
|
@@ -2230,8 +2233,8 @@ h5 {
|
|
2230
2233
|
.mfui-container .mfui-text-box + .mfui-download-links {
|
2231
2234
|
margin-top: 32px;
|
2232
2235
|
}
|
2233
|
-
.mfui-container .mfui-text-box +
|
2234
|
-
margin-top:
|
2236
|
+
.mfui-container .mfui-text-box + .mfui-text-with-icon {
|
2237
|
+
margin-top: 32px;
|
2235
2238
|
}
|
2236
2239
|
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
2237
2240
|
.mfui-container .mfui-text-box + .mfui-benefits-icons {
|
@@ -2909,7 +2912,7 @@ h5 {
|
|
2909
2912
|
margin-top: 40px;
|
2910
2913
|
}
|
2911
2914
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2912
|
-
margin-top:
|
2915
|
+
margin-top: 32px;
|
2913
2916
|
}
|
2914
2917
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2915
2918
|
margin-top: 40px;
|
@@ -2961,7 +2964,7 @@ h5 {
|
|
2961
2964
|
margin-top: 48px;
|
2962
2965
|
}
|
2963
2966
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
2964
|
-
margin-top:
|
2967
|
+
margin-top: 32px;
|
2965
2968
|
}
|
2966
2969
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
2967
2970
|
margin-top: 48px;
|
@@ -3014,7 +3017,7 @@ h5 {
|
|
3014
3017
|
margin-top: 48px;
|
3015
3018
|
}
|
3016
3019
|
.mfui-container .mfui-text-with-icon + .mfui-text-box {
|
3017
|
-
margin-top:
|
3020
|
+
margin-top: 32px;
|
3018
3021
|
}
|
3019
3022
|
.mfui-container .mfui-text-with-icon + .mfui-picture-with-description {
|
3020
3023
|
margin-top: 56px;
|
@@ -14,3 +14,12 @@ h5 {
|
|
14
14
|
.mfui-text-box_text-center {
|
15
15
|
text-align: center;
|
16
16
|
}
|
17
|
+
.mfui-text-box .mfui-text-with-icon {
|
18
|
+
margin: 24px 0;
|
19
|
+
}
|
20
|
+
.mfui-text-box .mfui-text-with-icon + .mfui-header {
|
21
|
+
margin-top: 32px;
|
22
|
+
}
|
23
|
+
.mfui-text-box .mfui-text-box-picture + .mfui-text-with-icon {
|
24
|
+
margin: 32px 0 24px;
|
25
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@megafon/ui-shared",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.3.0",
|
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": "^0.
|
54
|
+
"@megafon/ui-icons": "^0.2.0",
|
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,7 +81,7 @@
|
|
81
81
|
},
|
82
82
|
"dependencies": {
|
83
83
|
"@babel/runtime": "^7.8.4",
|
84
|
-
"@megafon/ui-core": "^2.
|
84
|
+
"@megafon/ui-core": "^2.5.0",
|
85
85
|
"@megafon/ui-helpers": "^1.0.0",
|
86
86
|
"core-js": "^3.6.4",
|
87
87
|
"htmr": "^0.9.2",
|
@@ -89,5 +89,5 @@
|
|
89
89
|
"prop-types": "^15.7.2",
|
90
90
|
"swiper": "^6.5.6"
|
91
91
|
},
|
92
|
-
"gitHead": "
|
92
|
+
"gitHead": "28c22a646a8c5c18ef4a4060c1b1232aa45db14c"
|
93
93
|
}
|