@micromag/element-urbania-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
|
@@ -55,6 +55,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
55
55
|
};
|
|
56
56
|
Avatar.propTypes = propTypes$1;
|
|
57
57
|
Avatar.defaultProps = defaultProps$1;
|
|
58
|
+
var Avatar$1 = Avatar;
|
|
58
59
|
|
|
59
60
|
var styles = {"container":"micromag-element-urbania-author-container","image":"micromag-element-urbania-author-image","link":"micromag-element-urbania-author-link","right":"micromag-element-urbania-author-right","name":"micromag-element-urbania-author-name","prefix":"micromag-element-urbania-author-prefix","collaborator":"micromag-element-urbania-author-collaborator","collaboratorText":"micromag-element-urbania-author-collaboratorText","isSmall":"micromag-element-urbania-author-isSmall","withoutImage":"micromag-element-urbania-author-withoutImage","withoutBackground":"micromag-element-urbania-author-withoutBackground"};
|
|
60
61
|
|
|
@@ -135,7 +136,7 @@ var UrbaniaAuthor = function UrbaniaAuthor(_ref) {
|
|
|
135
136
|
}, otherProps), !withoutPrefix ? /*#__PURE__*/React.createElement(Text, Object.assign({}, name, {
|
|
136
137
|
className: classNames([styles.prefix, _defineProperty({}, backgroundClassName, backgroundClassName)]),
|
|
137
138
|
body: "<span>".concat(prefix, "<span>")
|
|
138
|
-
})) : null, withAvatar ? /*#__PURE__*/React.createElement(Avatar, {
|
|
139
|
+
})) : null, withAvatar ? /*#__PURE__*/React.createElement(Avatar$1, {
|
|
139
140
|
className: styles.image,
|
|
140
141
|
image: image,
|
|
141
142
|
shouldLoad: shouldLoad
|
|
@@ -154,5 +155,6 @@ var UrbaniaAuthor = function UrbaniaAuthor(_ref) {
|
|
|
154
155
|
};
|
|
155
156
|
UrbaniaAuthor.propTypes = propTypes;
|
|
156
157
|
UrbaniaAuthor.defaultProps = defaultProps;
|
|
158
|
+
var UrbaniaAuthor$1 = UrbaniaAuthor;
|
|
157
159
|
|
|
158
|
-
export { UrbaniaAuthor as default };
|
|
160
|
+
export { UrbaniaAuthor$1 as default };
|
package/lib/index.js
CHANGED
|
@@ -57,6 +57,7 @@ var Avatar = function Avatar(_ref) {
|
|
|
57
57
|
};
|
|
58
58
|
Avatar.propTypes = propTypes$1;
|
|
59
59
|
Avatar.defaultProps = defaultProps$1;
|
|
60
|
+
var Avatar$1 = Avatar;
|
|
60
61
|
|
|
61
62
|
var styles = {"container":"micromag-element-urbania-author-container","image":"micromag-element-urbania-author-image","link":"micromag-element-urbania-author-link","right":"micromag-element-urbania-author-right","name":"micromag-element-urbania-author-name","prefix":"micromag-element-urbania-author-prefix","collaborator":"micromag-element-urbania-author-collaborator","collaboratorText":"micromag-element-urbania-author-collaboratorText","isSmall":"micromag-element-urbania-author-isSmall","withoutImage":"micromag-element-urbania-author-withoutImage","withoutBackground":"micromag-element-urbania-author-withoutBackground"};
|
|
62
63
|
|
|
@@ -137,7 +138,7 @@ var UrbaniaAuthor = function UrbaniaAuthor(_ref) {
|
|
|
137
138
|
}, otherProps), !withoutPrefix ? /*#__PURE__*/React.createElement(Text, Object.assign({}, name, {
|
|
138
139
|
className: classNames([styles.prefix, _defineProperty({}, backgroundClassName, backgroundClassName)]),
|
|
139
140
|
body: "<span>".concat(prefix, "<span>")
|
|
140
|
-
})) : null, withAvatar ? /*#__PURE__*/React.createElement(Avatar, {
|
|
141
|
+
})) : null, withAvatar ? /*#__PURE__*/React.createElement(Avatar$1, {
|
|
141
142
|
className: styles.image,
|
|
142
143
|
image: image,
|
|
143
144
|
shouldLoad: shouldLoad
|
|
@@ -156,5 +157,6 @@ var UrbaniaAuthor = function UrbaniaAuthor(_ref) {
|
|
|
156
157
|
};
|
|
157
158
|
UrbaniaAuthor.propTypes = propTypes;
|
|
158
159
|
UrbaniaAuthor.defaultProps = defaultProps;
|
|
160
|
+
var UrbaniaAuthor$1 = UrbaniaAuthor;
|
|
159
161
|
|
|
160
|
-
module.exports = UrbaniaAuthor;
|
|
162
|
+
module.exports = UrbaniaAuthor$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-urbania-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
|
}
|