@micromag/element-author 0.3.478 → 0.3.482
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 +4 -2
- package/lib/index.js +4 -2
- package/package.json +7 -6
package/es/index.js
CHANGED
|
@@ -54,6 +54,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
54
54
|
};
|
|
55
55
|
Avatar.propTypes = propTypes$1;
|
|
56
56
|
Avatar.defaultProps = defaultProps$1;
|
|
57
|
+
var Avatar$1 = Avatar;
|
|
57
58
|
|
|
58
59
|
var styles = {"container":"micromag-element-author-container","image":"micromag-element-author-image","link":"micromag-element-author-link","right":"micromag-element-author-right","name":"micromag-element-author-name","collaborator":"micromag-element-author-collaborator","collaboratorText":"micromag-element-author-collaboratorText"};
|
|
59
60
|
|
|
@@ -114,7 +115,7 @@ var Author = function Author(_ref) {
|
|
|
114
115
|
})) : null;
|
|
115
116
|
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
116
117
|
className: classNames([styles.container, _defineProperty({}, className, className !== null)])
|
|
117
|
-
}, otherProps), withAvatar ? /*#__PURE__*/React.createElement(Avatar, {
|
|
118
|
+
}, otherProps), withAvatar ? /*#__PURE__*/React.createElement(Avatar$1, {
|
|
118
119
|
className: styles.image,
|
|
119
120
|
image: image,
|
|
120
121
|
shouldLoad: shouldLoad
|
|
@@ -133,5 +134,6 @@ var Author = function Author(_ref) {
|
|
|
133
134
|
};
|
|
134
135
|
Author.propTypes = propTypes;
|
|
135
136
|
Author.defaultProps = defaultProps;
|
|
137
|
+
var Author$1 = Author;
|
|
136
138
|
|
|
137
|
-
export { Author as default };
|
|
139
|
+
export { Author$1 as default };
|
package/lib/index.js
CHANGED
|
@@ -56,6 +56,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
56
56
|
};
|
|
57
57
|
Avatar.propTypes = propTypes$1;
|
|
58
58
|
Avatar.defaultProps = defaultProps$1;
|
|
59
|
+
var Avatar$1 = Avatar;
|
|
59
60
|
|
|
60
61
|
var styles = {"container":"micromag-element-author-container","image":"micromag-element-author-image","link":"micromag-element-author-link","right":"micromag-element-author-right","name":"micromag-element-author-name","collaborator":"micromag-element-author-collaborator","collaboratorText":"micromag-element-author-collaboratorText"};
|
|
61
62
|
|
|
@@ -116,7 +117,7 @@ var Author = function Author(_ref) {
|
|
|
116
117
|
})) : null;
|
|
117
118
|
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
118
119
|
className: classNames([styles.container, _defineProperty({}, className, className !== null)])
|
|
119
|
-
}, otherProps), withAvatar ? /*#__PURE__*/React.createElement(Avatar, {
|
|
120
|
+
}, otherProps), withAvatar ? /*#__PURE__*/React.createElement(Avatar$1, {
|
|
120
121
|
className: styles.image,
|
|
121
122
|
image: image,
|
|
122
123
|
shouldLoad: shouldLoad
|
|
@@ -135,5 +136,6 @@ var Author = function Author(_ref) {
|
|
|
135
136
|
};
|
|
136
137
|
Author.propTypes = propTypes;
|
|
137
138
|
Author.defaultProps = defaultProps;
|
|
139
|
+
var Author$1 = Author;
|
|
138
140
|
|
|
139
|
-
module.exports = Author;
|
|
141
|
+
module.exports = Author$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-author",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.482",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"assets"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
+
"clean": "rm -rf es && rm -rf lib && rm -rf assets",
|
|
49
50
|
"prepare": "../../scripts/prepare-package.sh"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
@@ -58,10 +59,10 @@
|
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
61
|
"@babel/runtime": "^7.13.10",
|
|
61
|
-
"@micromag/core": "^0.3.
|
|
62
|
-
"@micromag/element-button": "^0.3.
|
|
63
|
-
"@micromag/element-link": "^0.3.
|
|
64
|
-
"@micromag/element-text": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.482",
|
|
63
|
+
"@micromag/element-button": "^0.3.482",
|
|
64
|
+
"@micromag/element-link": "^0.3.482",
|
|
65
|
+
"@micromag/element-text": "^0.3.482",
|
|
65
66
|
"classnames": "^2.2.6",
|
|
66
67
|
"lodash": "^4.17.21",
|
|
67
68
|
"prop-types": "^15.7.2",
|
|
@@ -72,5 +73,5 @@
|
|
|
72
73
|
"access": "public",
|
|
73
74
|
"registry": "https://registry.npmjs.org/"
|
|
74
75
|
},
|
|
75
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "931f86bb7dd77a05d196cadda88c8a170e665c3d"
|
|
76
77
|
}
|