@micromag/element-urbania-author 0.3.618 → 0.3.628

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.
Files changed (2) hide show
  1. package/es/index.js +26 -26
  2. package/package.json +6 -6
package/es/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import classNames from 'classnames';
4
- import PropTypes$1 from 'prop-types';
4
+ import PropTypes from 'prop-types';
5
5
  import React from 'react';
6
6
  import { useIntl } from 'react-intl';
7
- import { PropTypes } from '@micromag/core';
7
+ import { PropTypes as PropTypes$1 } from '@micromag/core';
8
8
  import { getOptimalImageUrl, pascalCase, isTextFilled } from '@micromag/core/utils';
9
9
  import Link from '@micromag/element-link';
10
10
  import Text from '@micromag/element-text';
@@ -12,14 +12,14 @@ import Text from '@micromag/element-text';
12
12
  var styles$1 = {"container":"micromag-element-urbania-author-avatar-container","shapeCircle":"micromag-element-urbania-author-avatar-shapeCircle","shape":"micromag-element-urbania-author-avatar-shape"};
13
13
 
14
14
  var propTypes$1 = {
15
- image: PropTypes.imageElement,
16
- width: PropTypes$1.number,
17
- height: PropTypes$1.number,
18
- resolution: PropTypes$1.number,
19
- isTag: PropTypes$1.bool,
20
- shape: PropTypes$1.oneOf([null, 'tag', 'circle']),
21
- className: PropTypes$1.string,
22
- shouldLoad: PropTypes$1.bool
15
+ image: PropTypes$1.imageElement,
16
+ width: PropTypes.number,
17
+ height: PropTypes.number,
18
+ resolution: PropTypes.number,
19
+ isTag: PropTypes.bool,
20
+ shape: PropTypes.oneOf([null, 'tag', 'circle']),
21
+ className: PropTypes.string,
22
+ shouldLoad: PropTypes.bool
23
23
  };
24
24
  var defaultProps$1 = {
25
25
  image: null,
@@ -60,23 +60,23 @@ var styles = {"container":"micromag-element-urbania-author-container","image":"m
60
60
 
61
61
  var _excluded = ["author", "withImage", "withoutLink", "withoutPrefix", "withoutBackground", "isSmall", "linkUnderlineColor", "className", "backgroundClassName", "collaboratorClassName", "shouldLoad"];
62
62
  var propTypes = {
63
- author: PropTypes$1.shape({
64
- slug: PropTypes$1.string,
65
- name: PropTypes.textElement,
66
- image: PropTypes.imageElement,
67
- url: PropTypes$1.string,
68
- collaborator: PropTypes.textElement
63
+ author: PropTypes.shape({
64
+ slug: PropTypes.string,
65
+ name: PropTypes$1.textElement,
66
+ image: PropTypes$1.imageElement,
67
+ url: PropTypes.string,
68
+ collaborator: PropTypes$1.textElement
69
69
  }),
70
- withImage: PropTypes$1.bool,
71
- withoutLink: PropTypes$1.bool,
72
- withoutPrefix: PropTypes$1.bool,
73
- withoutBackground: PropTypes$1.bool,
74
- isSmall: PropTypes$1.bool,
75
- linkUnderlineColor: PropTypes$1.string,
76
- className: PropTypes$1.string,
77
- backgroundClassName: PropTypes$1.string,
78
- collaboratorClassName: PropTypes$1.string,
79
- shouldLoad: PropTypes$1.bool
70
+ withImage: PropTypes.bool,
71
+ withoutLink: PropTypes.bool,
72
+ withoutPrefix: PropTypes.bool,
73
+ withoutBackground: PropTypes.bool,
74
+ isSmall: PropTypes.bool,
75
+ linkUnderlineColor: PropTypes.string,
76
+ className: PropTypes.string,
77
+ backgroundClassName: PropTypes.string,
78
+ collaboratorClassName: PropTypes.string,
79
+ shouldLoad: PropTypes.bool
80
80
  };
81
81
  var defaultProps = {
82
82
  author: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-urbania-author",
3
- "version": "0.3.618",
3
+ "version": "0.3.628",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -59,10 +59,10 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.13.10",
62
- "@micromag/core": "^0.3.618",
63
- "@micromag/element-button": "^0.3.618",
64
- "@micromag/element-link": "^0.3.618",
65
- "@micromag/element-text": "^0.3.618",
62
+ "@micromag/core": "^0.3.628",
63
+ "@micromag/element-button": "^0.3.628",
64
+ "@micromag/element-link": "^0.3.628",
65
+ "@micromag/element-text": "^0.3.628",
66
66
  "classnames": "^2.2.6",
67
67
  "lodash": "^4.17.21",
68
68
  "prop-types": "^15.7.2",
@@ -73,5 +73,5 @@
73
73
  "access": "public",
74
74
  "registry": "https://registry.npmjs.org/"
75
75
  },
76
- "gitHead": "326f53fe66a702f890b60e4abff3541f508567b8"
76
+ "gitHead": "6f1230244a2966c16e85b7d44583276421a38cca"
77
77
  }