@micromag/element-author 0.3.480 → 0.3.485

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 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.480",
3
+ "version": "0.3.485",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -46,7 +46,9 @@
46
46
  "assets"
47
47
  ],
48
48
  "scripts": {
49
- "prepare": "../../scripts/prepare-package.sh"
49
+ "clean": "rm -rf es && rm -rf lib && rm -rf assets",
50
+ "prepublishOnly": "npm run build",
51
+ "build": "../../scripts/prepare-package.sh"
50
52
  },
51
53
  "devDependencies": {
52
54
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -58,10 +60,10 @@
58
60
  },
59
61
  "dependencies": {
60
62
  "@babel/runtime": "^7.13.10",
61
- "@micromag/core": "^0.3.480",
62
- "@micromag/element-button": "^0.3.480",
63
- "@micromag/element-link": "^0.3.480",
64
- "@micromag/element-text": "^0.3.480",
63
+ "@micromag/core": "^0.3.485",
64
+ "@micromag/element-button": "^0.3.485",
65
+ "@micromag/element-link": "^0.3.485",
66
+ "@micromag/element-text": "^0.3.485",
65
67
  "classnames": "^2.2.6",
66
68
  "lodash": "^4.17.21",
67
69
  "prop-types": "^15.7.2",
@@ -72,5 +74,5 @@
72
74
  "access": "public",
73
75
  "registry": "https://registry.npmjs.org/"
74
76
  },
75
- "gitHead": "4a69863ce7f8aa2e254242a2fd368763611cf096"
77
+ "gitHead": "7af4c126bdc155c5ea821e894957023b201c2b79"
76
78
  }