@atlaskit/teams-avatar 2.3.20 → 2.3.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/teams-avatar
2
2
 
3
+ ## 2.3.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [`407e1dc11eeed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/407e1dc11eeed) -
8
+ Minor changes to border radius values.
9
+
10
+ ## 2.3.21
11
+
12
+ ### Patch Changes
13
+
14
+ - [`0ffad2db5f466`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ffad2db5f466) -
15
+ Rename data-testId to data-testid to fix react error
16
+ - Updated dependencies
17
+
3
18
  ## 2.3.20
4
19
 
5
20
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,13 +1,8 @@
1
1
 
2
2
  ._14mj1qll:after{border-radius:var(--ds-radius-full,50%)}
3
3
  ._19itglyw{border:none}
4
- ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
- ._2rko19bv{border-radius:10px}
6
- ._2rko1mok{border-radius:var(--ds-radius-large,8px)}
7
- ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
8
4
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
9
- ._2rko1tcg{border-radius:24px}
10
- ._2rkozwfg{border-radius:2pc}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
6
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
12
7
  ._qc5o1p41:after{transition:opacity .2s}
13
8
  ._v564ieh6{transition:transform .2s,opacity .2s}._11fnglyw:after{pointer-events:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -44,12 +44,12 @@ var SIZES = {
44
44
  xxlarge: 128
45
45
  };
46
46
  var borderRadiusMap = {
47
- xsmall: "_2rko12b0",
48
- small: "_2rko1qi0",
49
- medium: "_2rko1mok",
50
- large: "_2rko19bv",
51
- xlarge: "_2rko1tcg",
52
- xxlarge: "_2rkozwfg"
47
+ xsmall: "_2rkol0p1",
48
+ small: "_2rkol0p1",
49
+ medium: "_2rkol0p1",
50
+ large: "_2rkol0p1",
51
+ xlarge: "_2rkol0p1",
52
+ xxlarge: "_2rkol0p1"
53
53
  };
54
54
  var widthHeightMap = {
55
55
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -97,7 +97,7 @@ var TeamAvatarImage = exports.TeamAvatarImage = function TeamAvatarImage(_ref) {
97
97
  }, /*#__PURE__*/React.createElement("img", {
98
98
  src: avatarSrc,
99
99
  alt: alt,
100
- "data-testId": testId && "".concat(testId, "--image"),
100
+ "data-testid": testId && "".concat(testId, "--image"),
101
101
  onError: function onError() {
102
102
  return setHasImageErrored(true);
103
103
  },
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,13 +1,8 @@
1
1
 
2
2
  ._14mj1qll:after{border-radius:var(--ds-radius-full,50%)}
3
3
  ._19itglyw{border:none}
4
- ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
- ._2rko19bv{border-radius:10px}
6
- ._2rko1mok{border-radius:var(--ds-radius-large,8px)}
7
- ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
8
4
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
9
- ._2rko1tcg{border-radius:24px}
10
- ._2rkozwfg{border-radius:2pc}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
6
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
12
7
  ._qc5o1p41:after{transition:opacity .2s}
13
8
  ._v564ieh6{transition:transform .2s,opacity .2s}._11fnglyw:after{pointer-events:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -34,12 +34,12 @@ const SIZES = {
34
34
  xxlarge: 128
35
35
  };
36
36
  const borderRadiusMap = {
37
- xsmall: "_2rko12b0",
38
- small: "_2rko1qi0",
39
- medium: "_2rko1mok",
40
- large: "_2rko19bv",
41
- xlarge: "_2rko1tcg",
42
- xxlarge: "_2rkozwfg"
37
+ xsmall: "_2rkol0p1",
38
+ small: "_2rkol0p1",
39
+ medium: "_2rkol0p1",
40
+ large: "_2rkol0p1",
41
+ xlarge: "_2rkol0p1",
42
+ xxlarge: "_2rkol0p1"
43
43
  };
44
44
  const widthHeightMap = {
45
45
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -84,7 +84,7 @@ export const TeamAvatarImage = ({
84
84
  }, /*#__PURE__*/React.createElement("img", {
85
85
  src: avatarSrc,
86
86
  alt: alt,
87
- "data-testId": testId && `${testId}--image`,
87
+ "data-testid": testId && `${testId}--image`,
88
88
  onError: () => setHasImageErrored(true),
89
89
  className: ax([avatarImageStyles.image])
90
90
  }));
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,13 +1,8 @@
1
1
 
2
2
  ._14mj1qll:after{border-radius:var(--ds-radius-full,50%)}
3
3
  ._19itglyw{border:none}
4
- ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
- ._2rko19bv{border-radius:10px}
6
- ._2rko1mok{border-radius:var(--ds-radius-large,8px)}
7
- ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
8
4
  ._2rko1qll{border-radius:var(--ds-radius-full,50%)}
9
- ._2rko1tcg{border-radius:24px}
10
- ._2rkozwfg{border-radius:2pc}
5
+ ._2rkol0p1{border-radius:var(--ds-radius-tile,25%)}
11
6
  ._9v7aze3t:after{inset:var(--ds-space-0,0)}
12
7
  ._qc5o1p41:after{transition:opacity .2s}
13
8
  ._v564ieh6{transition:transform .2s,opacity .2s}._11fnglyw:after{pointer-events:none}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -35,12 +35,12 @@ var SIZES = {
35
35
  xxlarge: 128
36
36
  };
37
37
  var borderRadiusMap = {
38
- xsmall: "_2rko12b0",
39
- small: "_2rko1qi0",
40
- medium: "_2rko1mok",
41
- large: "_2rko19bv",
42
- xlarge: "_2rko1tcg",
43
- xxlarge: "_2rkozwfg"
38
+ xsmall: "_2rkol0p1",
39
+ small: "_2rkol0p1",
40
+ medium: "_2rkol0p1",
41
+ large: "_2rkol0p1",
42
+ xlarge: "_2rkol0p1",
43
+ xxlarge: "_2rkol0p1"
44
44
  };
45
45
  var widthHeightMap = {
46
46
  xsmall: "_1bsb7vkz _4t3i7vkz",
@@ -88,7 +88,7 @@ export var TeamAvatarImage = function TeamAvatarImage(_ref) {
88
88
  }, /*#__PURE__*/React.createElement("img", {
89
89
  src: avatarSrc,
90
90
  alt: alt,
91
- "data-testId": testId && "".concat(testId, "--image"),
91
+ "data-testid": testId && "".concat(testId, "--image"),
92
92
  onError: function onError() {
93
93
  return setHasImageErrored(true);
94
94
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/teams-avatar",
3
- "version": "2.3.20",
3
+ "version": "2.3.22",
4
4
  "description": "A team avatar is a visual representation of a team.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,8 +37,8 @@
37
37
  "dependencies": {
38
38
  "@atlaskit/avatar": "^25.1.0",
39
39
  "@atlaskit/css": "^0.14.0",
40
- "@atlaskit/icon": "^28.1.0",
41
- "@atlaskit/primitives": "^14.14.0",
40
+ "@atlaskit/icon": "^28.2.0",
41
+ "@atlaskit/primitives": "^14.15.0",
42
42
  "@atlaskit/theme": "^21.0.0",
43
43
  "@atlaskit/tokens": "^6.3.0",
44
44
  "@babel/runtime": "^7.0.0",