@vkontakte/icons 2.1.0 → 2.1.1
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/dist/SvgIcon.js +2 -2
- package/dist/es6/SvgIcon.js +2 -2
- package/package.json +1 -1
- package/ts/SvgIcon.tsx +1 -1
package/dist/SvgIcon.js
CHANGED
|
@@ -117,12 +117,12 @@ var SvgIcon = function(_param) {
|
|
|
117
117
|
"Icon--".concat(id)
|
|
118
118
|
], iconSettings);
|
|
119
119
|
var style = _objectSpread({
|
|
120
|
-
display: "block",
|
|
121
120
|
width: width,
|
|
122
121
|
height: height
|
|
123
122
|
}, propsStyle);
|
|
124
123
|
return /*#__PURE__*/ _react.default.createElement("svg", _extends({
|
|
125
|
-
"aria-hidden": "true"
|
|
124
|
+
"aria-hidden": "true",
|
|
125
|
+
display: "block"
|
|
126
126
|
}, restProps, {
|
|
127
127
|
className: "".concat(ownClass, " ").concat(className),
|
|
128
128
|
viewBox: viewBox,
|
package/dist/es6/SvgIcon.js
CHANGED
|
@@ -108,12 +108,12 @@ var SvgIcon = function(_param) {
|
|
|
108
108
|
"Icon--".concat(id)
|
|
109
109
|
], iconSettings);
|
|
110
110
|
var style = _objectSpread({
|
|
111
|
-
display: "block",
|
|
112
111
|
width: width,
|
|
113
112
|
height: height
|
|
114
113
|
}, propsStyle);
|
|
115
114
|
return /*#__PURE__*/ React.createElement("svg", _extends({
|
|
116
|
-
"aria-hidden": "true"
|
|
115
|
+
"aria-hidden": "true",
|
|
116
|
+
display: "block"
|
|
117
117
|
}, restProps, {
|
|
118
118
|
className: "".concat(ownClass, " ").concat(className),
|
|
119
119
|
viewBox: viewBox,
|
package/package.json
CHANGED
package/ts/SvgIcon.tsx
CHANGED
|
@@ -46,7 +46,6 @@ const SvgIcon = ({
|
|
|
46
46
|
);
|
|
47
47
|
|
|
48
48
|
const style = {
|
|
49
|
-
display: 'block',
|
|
50
49
|
width,
|
|
51
50
|
height,
|
|
52
51
|
...propsStyle,
|
|
@@ -55,6 +54,7 @@ const SvgIcon = ({
|
|
|
55
54
|
return (
|
|
56
55
|
<svg
|
|
57
56
|
aria-hidden="true"
|
|
57
|
+
display="block"
|
|
58
58
|
{...restProps}
|
|
59
59
|
className={`${ownClass} ${className}`}
|
|
60
60
|
viewBox={viewBox}
|