@micromag/element-button 0.3.61 → 0.3.66
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/es/index.js +1 -2
- package/lib/index.js +1 -2
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -80,7 +80,7 @@ var Button = function Button(_ref) {
|
|
|
80
80
|
borderRadius: borderRadius
|
|
81
81
|
});
|
|
82
82
|
borderStyles = {
|
|
83
|
-
borderRadius: borderRadius,
|
|
83
|
+
borderRadius: borderRadius + borderWidth,
|
|
84
84
|
borderWidth: borderWidth,
|
|
85
85
|
borderColor: borderColor,
|
|
86
86
|
borderStyle: borderStyle // width: `calc(100% - ${borderWidth || 0}px)`,
|
|
@@ -88,7 +88,6 @@ var Button = function Button(_ref) {
|
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
console.log('yo');
|
|
92
91
|
var button = /*#__PURE__*/React.createElement(Button$1, Object.assign({
|
|
93
92
|
className: classNames([styles.container, _defineProperty({}, className, className !== null)]),
|
|
94
93
|
disabled: disabled,
|
package/lib/index.js
CHANGED
|
@@ -91,7 +91,7 @@ var Button = function Button(_ref) {
|
|
|
91
91
|
borderRadius: borderRadius
|
|
92
92
|
});
|
|
93
93
|
borderStyles = {
|
|
94
|
-
borderRadius: borderRadius,
|
|
94
|
+
borderRadius: borderRadius + borderWidth,
|
|
95
95
|
borderWidth: borderWidth,
|
|
96
96
|
borderColor: borderColor,
|
|
97
97
|
borderStyle: borderStyle // width: `calc(100% - ${borderWidth || 0}px)`,
|
|
@@ -99,7 +99,6 @@ var Button = function Button(_ref) {
|
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
console.log('yo');
|
|
103
102
|
var button = /*#__PURE__*/React__default["default"].createElement(components.Button, Object.assign({
|
|
104
103
|
className: classNames__default["default"]([styles.container, _defineProperty__default["default"]({}, className, className !== null)]),
|
|
105
104
|
disabled: disabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-button",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.66",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.66",
|
|
53
53
|
"classnames": "^2.2.6",
|
|
54
54
|
"prop-types": "^15.7.2",
|
|
55
55
|
"react-intl": "^5.12.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "264bfc8506d254073e1d55ffb9d8dd97e5b78c0b"
|
|
62
62
|
}
|