@atlaskit/teams-avatar 2.0.1 → 2.0.2
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 +8 -0
- package/dist/cjs/ui/teams-avatar/teams-avatar-image/fallback/index.compiled.css +5 -0
- package/dist/cjs/ui/teams-avatar/teams-avatar-image/fallback/index.js +11 -2
- package/dist/es2019/ui/teams-avatar/teams-avatar-image/fallback/index.compiled.css +5 -0
- package/dist/es2019/ui/teams-avatar/teams-avatar-image/fallback/index.js +11 -2
- package/dist/esm/ui/teams-avatar/teams-avatar-image/fallback/index.compiled.css +5 -0
- package/dist/esm/ui/teams-avatar/teams-avatar-image/fallback/index.js +11 -2
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/teams-avatar
|
|
2
2
|
|
|
3
|
+
## 2.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#118053](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118053)
|
|
8
|
+
[`536325e780241`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/536325e780241) -
|
|
9
|
+
Fix to align with the regular avatar styles
|
|
10
|
+
|
|
3
11
|
## 2.0.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -5,10 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.FallbackAvatar = FallbackAvatar;
|
|
9
|
+
require("./index.compiled.css");
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
8
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
14
|
+
var styles = {
|
|
15
|
+
wrapper: "_1e0c1txw _19pkv77o _2hwxv77o _otyrv77o _18u0v77o"
|
|
16
|
+
};
|
|
10
17
|
function FallbackAvatar(props) {
|
|
11
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
19
|
+
xcss: styles.wrapper
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
|
|
12
21
|
width: "32",
|
|
13
22
|
height: "32",
|
|
14
23
|
viewBox: "0 0 32 32",
|
|
@@ -44,5 +53,5 @@ function FallbackAvatar(props) {
|
|
|
44
53
|
height: "32",
|
|
45
54
|
rx: "4",
|
|
46
55
|
fill: "white"
|
|
47
|
-
}))));
|
|
56
|
+
})))));
|
|
48
57
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./index.compiled.css";
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
2
5
|
import React from 'react';
|
|
6
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
+
const styles = {
|
|
8
|
+
wrapper: "_1e0c1txw _19pkv77o _2hwxv77o _otyrv77o _18u0v77o"
|
|
9
|
+
};
|
|
3
10
|
export function FallbackAvatar(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement(
|
|
11
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
12
|
+
xcss: styles.wrapper
|
|
13
|
+
}, /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
14
|
width: "32",
|
|
6
15
|
height: "32",
|
|
7
16
|
viewBox: "0 0 32 32",
|
|
@@ -37,5 +46,5 @@ export function FallbackAvatar(props) {
|
|
|
37
46
|
height: "32",
|
|
38
47
|
rx: "4",
|
|
39
48
|
fill: "white"
|
|
40
|
-
}))));
|
|
49
|
+
})))));
|
|
41
50
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./index.compiled.css";
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
2
5
|
import React from 'react';
|
|
6
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
+
var styles = {
|
|
8
|
+
wrapper: "_1e0c1txw _19pkv77o _2hwxv77o _otyrv77o _18u0v77o"
|
|
9
|
+
};
|
|
3
10
|
export function FallbackAvatar(props) {
|
|
4
|
-
return /*#__PURE__*/React.createElement(
|
|
11
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
12
|
+
xcss: styles.wrapper
|
|
13
|
+
}, /*#__PURE__*/React.createElement("svg", _extends({
|
|
5
14
|
width: "32",
|
|
6
15
|
height: "32",
|
|
7
16
|
viewBox: "0 0 32 32",
|
|
@@ -37,5 +46,5 @@ export function FallbackAvatar(props) {
|
|
|
37
46
|
height: "32",
|
|
38
47
|
rx: "4",
|
|
39
48
|
fill: "white"
|
|
40
|
-
}))));
|
|
49
|
+
})))));
|
|
41
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-avatar",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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",
|
|
@@ -36,10 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/avatar": "^23.0.0",
|
|
39
|
-
"@atlaskit/
|
|
39
|
+
"@atlaskit/css": "^0.10.0",
|
|
40
|
+
"@atlaskit/icon": "^24.1.0",
|
|
40
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
+
"@atlaskit/primitives": "^14.1.0",
|
|
41
43
|
"@atlaskit/theme": "^17.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^4.
|
|
44
|
+
"@atlaskit/tokens": "^4.2.0",
|
|
43
45
|
"@babel/runtime": "^7.0.0",
|
|
44
46
|
"@emotion/react": "^11.7.1"
|
|
45
47
|
},
|