@megafon/ui-shared 3.1.4 → 3.2.2
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,36 @@
|
|
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.2.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.2.1...@megafon/ui-shared@3.2.2) (2022-04-13)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @megafon/ui-shared
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [3.2.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.2.0...@megafon/ui-shared@3.2.1) (2022-04-11)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* **colors:** fix colors usage in components: Notification, Preloader, Tile and Card ([96d0eef](https://github.com/MegafonWebLab/megafon-ui/commit/96d0eef51458b35c5b69c1677ec6f4a22f7f130d))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
# [3.2.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.1.4...@megafon/ui-shared@3.2.0) (2022-04-05)
|
26
|
+
|
27
|
+
|
28
|
+
### Features
|
29
|
+
|
30
|
+
* **instructions:** added children for Instruction component ([33b5296](https://github.com/MegafonWebLab/megafon-ui/commit/33b5296e7f1ccede197fed5d8887ec871586f0f8))
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
6
36
|
## [3.1.4](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.1.3...@megafon/ui-shared@3.1.4) (2022-03-21)
|
7
37
|
|
8
38
|
|
@@ -48,7 +48,8 @@ var Instructions = function Instructions(_ref) {
|
|
48
48
|
_ref$pictureMask = _ref.pictureMask,
|
49
49
|
pictureMask = _ref$pictureMask === void 0 ? 'none' : _ref$pictureMask,
|
50
50
|
getSwiper = _ref.getSwiper,
|
51
|
-
text = _ref.additionalText
|
51
|
+
text = _ref.additionalText,
|
52
|
+
children = _ref.children;
|
52
53
|
|
53
54
|
var _React$useState = React.useState(),
|
54
55
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
@@ -211,7 +212,7 @@ var Instructions = function Instructions(_ref) {
|
|
211
212
|
className: cn('articles', {
|
212
213
|
align: pictureAlign
|
213
214
|
})
|
214
|
-
}, renderTitle('desktop'), renderMobileArticles(), renderDesktopArticles(), text && renderText())))));
|
215
|
+
}, renderTitle('desktop'), renderMobileArticles(), renderDesktopArticles(), text && renderText(), children)))));
|
215
216
|
};
|
216
217
|
|
217
218
|
Instructions.propTypes = {
|
@@ -66,7 +66,8 @@ var Instructions = function Instructions(_ref) {
|
|
66
66
|
_ref$pictureMask = _ref.pictureMask,
|
67
67
|
pictureMask = _ref$pictureMask === void 0 ? 'none' : _ref$pictureMask,
|
68
68
|
getSwiper = _ref.getSwiper,
|
69
|
-
text = _ref.additionalText
|
69
|
+
text = _ref.additionalText,
|
70
|
+
children = _ref.children;
|
70
71
|
|
71
72
|
var _React$useState = _react["default"].useState(),
|
72
73
|
_React$useState2 = (0, _slicedToArray2["default"])(_React$useState, 2),
|
@@ -239,7 +240,7 @@ var Instructions = function Instructions(_ref) {
|
|
239
240
|
className: cn('articles', {
|
240
241
|
align: pictureAlign
|
241
242
|
})
|
242
|
-
}, renderTitle('desktop'), renderMobileArticles(), renderDesktopArticles(), text && renderText())))));
|
243
|
+
}, renderTitle('desktop'), renderMobileArticles(), renderDesktopArticles(), text && renderText(), children)))));
|
243
244
|
};
|
244
245
|
|
245
246
|
Instructions.propTypes = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@megafon/ui-shared",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.2.2",
|
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.
|
55
|
+
"@megafon/ui-icons": "^1.2.1",
|
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,13 +82,13 @@
|
|
82
82
|
},
|
83
83
|
"dependencies": {
|
84
84
|
"@babel/runtime": "^7.8.4",
|
85
|
-
"@megafon/ui-core": "^3.
|
86
|
-
"@megafon/ui-helpers": "^2.1.
|
85
|
+
"@megafon/ui-core": "^3.5.2",
|
86
|
+
"@megafon/ui-helpers": "^2.1.2",
|
87
87
|
"core-js": "^3.6.4",
|
88
88
|
"htmr": "^0.9.2",
|
89
89
|
"lodash.throttle": "^4.1.1",
|
90
90
|
"prop-types": "^15.7.2",
|
91
91
|
"swiper": "^6.5.6"
|
92
92
|
},
|
93
|
-
"gitHead": "
|
93
|
+
"gitHead": "96b6862cd6294fa5fb9d630b2194a1dd74d969fe"
|
94
94
|
}
|