@gympass/yoga 7.81.1 → 7.81.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/cjs/Icon/Icon.js +2 -3
- package/esm/Icon/Icon.js +3 -3
- package/package.json +3 -3
package/cjs/Icon/Icon.js
CHANGED
|
@@ -59,11 +59,10 @@ var Icon = function Icon(_ref) {
|
|
|
59
59
|
svgChildren = [].concat(svgChildren, [descElement]);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
var defaultProps = {
|
|
63
|
-
viewBox: '0 0 12 12',
|
|
62
|
+
var defaultProps = _extends({}, Component.defaultProps, {
|
|
64
63
|
role: 'img',
|
|
65
64
|
'aria-describedby': ariaDescribedBy
|
|
66
|
-
};
|
|
65
|
+
});
|
|
67
66
|
|
|
68
67
|
var newSvg = /*#__PURE__*/_react["default"].createElement('svg', _extends({}, propsTitle, defaultProps), svgChildren, Component().props.children);
|
|
69
68
|
|
package/esm/Icon/Icon.js
CHANGED
|
@@ -44,11 +44,11 @@ var Icon = function Icon(_ref) {
|
|
|
44
44
|
svgChildren = [].concat(svgChildren, [descElement]);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
var defaultProps = {
|
|
48
|
-
viewBox: '0 0 12 12',
|
|
47
|
+
var defaultProps = _extends({}, Component.defaultProps, {
|
|
49
48
|
role: 'img',
|
|
50
49
|
'aria-describedby': ariaDescribedBy
|
|
51
|
-
};
|
|
50
|
+
});
|
|
51
|
+
|
|
52
52
|
var newSvg = /*#__PURE__*/React.createElement('svg', _extends({}, propsTitle, defaultProps), svgChildren, Component().props.children);
|
|
53
53
|
return newSvg;
|
|
54
54
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gympass/yoga",
|
|
3
|
-
"version": "7.81.
|
|
3
|
+
"version": "7.81.2",
|
|
4
4
|
"description": "Gympass component library",
|
|
5
5
|
"main": "./cjs",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@gympass/yoga-common": "^1.2.0",
|
|
29
29
|
"@gympass/yoga-helpers": "^1.0.3",
|
|
30
|
-
"@gympass/yoga-icons": "^1.
|
|
30
|
+
"@gympass/yoga-icons": "^1.14.0",
|
|
31
31
|
"@gympass/yoga-illustrations": "^0.5.1",
|
|
32
32
|
"@gympass/yoga-system": "^0.11.0",
|
|
33
33
|
"@gympass/yoga-tokens": "^3.2.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-native": "0.72.3",
|
|
56
56
|
"styled-components": "^4.4.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "403d4dc6aa12c4fb1ae417c435694ce4c09c3eb1",
|
|
59
59
|
"module": "./esm",
|
|
60
60
|
"types": "./typings/index.d.ts",
|
|
61
61
|
"private": false,
|