colibri-ui 0.7.73 → 0.7.75

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/Avatar/index.js CHANGED
@@ -9,7 +9,6 @@ var orgCircle = require('./assets/org-circle.svg.js');
9
9
  var styles = require('./Avatar.module.css');
10
10
  var classNames = require('classnames/bind');
11
11
  var index_props = require('./index.props.js');
12
- var index = require('../Image/index.js');
13
12
 
14
13
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
15
14
 
@@ -30,7 +29,7 @@ var Avatar = /*#__PURE__*/React.memo(function (props) {
30
29
  accountType = _c === void 0 ? index_props.AccountType.Organization : _c;
31
30
  var isOrg = accountType === index_props.AccountType.Organization;
32
31
  var stubImageURL = isOrg ? orgCircle.default : maleCircle.default;
33
- return /*#__PURE__*/React__default.default.createElement(index.default, {
32
+ return /*#__PURE__*/React__default.default.createElement("img", {
34
33
  alt: title,
35
34
  src: avatarURL || stubImageURL,
36
35
  width: size,
@@ -1,8 +1,5 @@
1
1
  .root {
2
2
  height: 100%;
3
- left: 0;
4
- position: absolute;
5
- top: 0;
6
3
  width: 100%;
7
4
  }
8
5
  .root img {
@@ -5,7 +5,6 @@ import orgCircleUrl from './assets/org-circle.svg.js';
5
5
  import styles from './Avatar.module.css';
6
6
  import classNames from 'classnames/bind';
7
7
  import { AccountType } from './index.props.js';
8
- import Image from '../Image/index.js';
9
8
 
10
9
  var clx = classNames.bind(styles);
11
10
  var Avatar = /*#__PURE__*/memo(function (props) {
@@ -20,7 +19,7 @@ var Avatar = /*#__PURE__*/memo(function (props) {
20
19
  accountType = _c === void 0 ? AccountType.Organization : _c;
21
20
  var isOrg = accountType === AccountType.Organization;
22
21
  var stubImageURL = isOrg ? orgCircleUrl : maleCircleUrl;
23
- return /*#__PURE__*/React__default.createElement(Image, {
22
+ return /*#__PURE__*/React__default.createElement("img", {
24
23
  alt: title,
25
24
  src: avatarURL || stubImageURL,
26
25
  width: size,
@@ -1,8 +1,5 @@
1
1
  .root {
2
2
  height: 100%;
3
- left: 0;
4
- position: absolute;
5
- top: 0;
6
3
  width: 100%;
7
4
  }
8
5
  .root img {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colibri-ui",
3
- "version": "0.7.73",
3
+ "version": "0.7.75",
4
4
  "description": "React UI components library",
5
5
  "main": "index.js",
6
6
  "scripts": {},