@micromag/element-button 0.3.572 → 0.3.578
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 +3 -4
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
import PropTypes$1 from 'prop-types';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { PropTypes } from '@micromag/core';
|
|
8
|
-
import { Button as Button$
|
|
8
|
+
import { Button as Button$1 } from '@micromag/core/components';
|
|
9
9
|
import { getStyleFromText, getStyleFromBox } from '@micromag/core/utils';
|
|
10
10
|
|
|
11
11
|
var styles = {"container":"micromag-element-button-container","disabled":"micromag-element-button-disabled","border":"micromag-element-button-border"};
|
|
@@ -77,7 +77,7 @@ var Button = function Button(_ref) {
|
|
|
77
77
|
margin: margin
|
|
78
78
|
} : null);
|
|
79
79
|
}
|
|
80
|
-
return /*#__PURE__*/React.createElement(Button$
|
|
80
|
+
return /*#__PURE__*/React.createElement(Button$1, Object.assign({
|
|
81
81
|
className: classNames([styles.container, _defineProperty({}, className, className !== null)]),
|
|
82
82
|
disabled: disabled,
|
|
83
83
|
style: finalStyles,
|
|
@@ -90,6 +90,5 @@ var Button = function Button(_ref) {
|
|
|
90
90
|
};
|
|
91
91
|
Button.propTypes = propTypes;
|
|
92
92
|
Button.defaultProps = defaultProps;
|
|
93
|
-
var Button$1 = Button;
|
|
94
93
|
|
|
95
|
-
export { Button
|
|
94
|
+
export { Button as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-button",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.578",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@babel/runtime": "^7.13.10",
|
|
62
|
-
"@micromag/core": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.578",
|
|
63
63
|
"classnames": "^2.2.6",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
65
65
|
"react-intl": "^6.6.4",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"access": "public",
|
|
70
70
|
"registry": "https://registry.npmjs.org/"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "924e621e3cf56f4d46abed790ef7f1f13ec29fb1"
|
|
73
73
|
}
|