@atlaskit/avatar 25.6.3 → 25.7.0
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 +7 -0
- package/dist/cjs/avatar.js +1 -1
- package/dist/cjs/internal/avatar-image.js +3 -5
- package/dist/es2019/avatar.js +1 -1
- package/dist/es2019/internal/avatar-image.js +3 -5
- package/dist/esm/avatar.js +1 -1
- package/dist/esm/internal/avatar-image.js +3 -5
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
package/dist/cjs/avatar.js
CHANGED
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
26
|
var packageName = "@atlaskit/avatar";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "25.7.0";
|
|
28
28
|
var containerStyles = null;
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
@@ -13,7 +13,7 @@ var React = _react;
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
15
|
var _aiAgent = _interopRequireDefault(require("@atlaskit/icon/core/ai-agent"));
|
|
16
|
-
var _person = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
16
|
+
var _person = _interopRequireDefault(require("@atlaskit/icon/core/person"));
|
|
17
17
|
var _release = _interopRequireDefault(require("@atlaskit/icon/core/release"));
|
|
18
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
19
|
var styles = {
|
|
@@ -69,8 +69,7 @@ var AvatarImage = function AvatarImage(_ref) {
|
|
|
69
69
|
label: alt,
|
|
70
70
|
color: "var(--ds-icon-subtle, #505258)",
|
|
71
71
|
testId: testId && "".concat(testId, "--person"),
|
|
72
|
-
spacing: "spacious"
|
|
73
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
72
|
+
spacing: "spacious"
|
|
74
73
|
});
|
|
75
74
|
break;
|
|
76
75
|
case 'hexagon':
|
|
@@ -87,8 +86,7 @@ var AvatarImage = function AvatarImage(_ref) {
|
|
|
87
86
|
label: alt,
|
|
88
87
|
color: "var(--ds-icon-subtle, #505258)",
|
|
89
88
|
testId: testId && "".concat(testId, "--ship"),
|
|
90
|
-
spacing: "spacious"
|
|
91
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
89
|
+
spacing: "spacious"
|
|
92
90
|
});
|
|
93
91
|
break;
|
|
94
92
|
}
|
package/dist/es2019/avatar.js
CHANGED
|
@@ -12,7 +12,7 @@ import { PresenceWrapper } from './presence';
|
|
|
12
12
|
import { StatusWrapper } from './status';
|
|
13
13
|
import { getCustomElement } from './utilities';
|
|
14
14
|
const packageName = "@atlaskit/avatar";
|
|
15
|
-
const packageVersion = "
|
|
15
|
+
const packageVersion = "25.7.0";
|
|
16
16
|
const containerStyles = null;
|
|
17
17
|
|
|
18
18
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect, useState } from 'react';
|
|
6
6
|
import AiAgentIcon from '@atlaskit/icon/core/ai-agent';
|
|
7
|
-
import PersonIcon from '@atlaskit/icon/core/
|
|
7
|
+
import PersonIcon from '@atlaskit/icon/core/person';
|
|
8
8
|
import ReleaseIcon from '@atlaskit/icon/core/release';
|
|
9
9
|
const styles = {
|
|
10
10
|
image: "_16jlkb7n _1o9zkb7n _i0dl1osq _1e0c1txw _1bsb1osq _4t3i1osq",
|
|
@@ -56,8 +56,7 @@ const AvatarImage = ({
|
|
|
56
56
|
label: alt,
|
|
57
57
|
color: "var(--ds-icon-subtle, #505258)",
|
|
58
58
|
testId: testId && `${testId}--person`,
|
|
59
|
-
spacing: "spacious"
|
|
60
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
59
|
+
spacing: "spacious"
|
|
61
60
|
});
|
|
62
61
|
break;
|
|
63
62
|
case 'hexagon':
|
|
@@ -74,8 +73,7 @@ const AvatarImage = ({
|
|
|
74
73
|
label: alt,
|
|
75
74
|
color: "var(--ds-icon-subtle, #505258)",
|
|
76
75
|
testId: testId && `${testId}--ship`,
|
|
77
|
-
spacing: "spacious"
|
|
78
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
76
|
+
spacing: "spacious"
|
|
79
77
|
});
|
|
80
78
|
break;
|
|
81
79
|
}
|
package/dist/esm/avatar.js
CHANGED
|
@@ -15,7 +15,7 @@ import { PresenceWrapper } from './presence';
|
|
|
15
15
|
import { StatusWrapper } from './status';
|
|
16
16
|
import { getCustomElement } from './utilities';
|
|
17
17
|
var packageName = "@atlaskit/avatar";
|
|
18
|
-
var packageVersion = "
|
|
18
|
+
var packageVersion = "25.7.0";
|
|
19
19
|
var containerStyles = null;
|
|
20
20
|
|
|
21
21
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import AiAgentIcon from '@atlaskit/icon/core/ai-agent';
|
|
8
|
-
import PersonIcon from '@atlaskit/icon/core/
|
|
8
|
+
import PersonIcon from '@atlaskit/icon/core/person';
|
|
9
9
|
import ReleaseIcon from '@atlaskit/icon/core/release';
|
|
10
10
|
var styles = {
|
|
11
11
|
image: "_16jlkb7n _1o9zkb7n _i0dl1osq _1e0c1txw _1bsb1osq _4t3i1osq",
|
|
@@ -60,8 +60,7 @@ var AvatarImage = function AvatarImage(_ref) {
|
|
|
60
60
|
label: alt,
|
|
61
61
|
color: "var(--ds-icon-subtle, #505258)",
|
|
62
62
|
testId: testId && "".concat(testId, "--person"),
|
|
63
|
-
spacing: "spacious"
|
|
64
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
63
|
+
spacing: "spacious"
|
|
65
64
|
});
|
|
66
65
|
break;
|
|
67
66
|
case 'hexagon':
|
|
@@ -78,8 +77,7 @@ var AvatarImage = function AvatarImage(_ref) {
|
|
|
78
77
|
label: alt,
|
|
79
78
|
color: "var(--ds-icon-subtle, #505258)",
|
|
80
79
|
testId: testId && "".concat(testId, "--ship"),
|
|
81
|
-
spacing: "spacious"
|
|
82
|
-
LEGACY_secondaryColor: "var(--ds-icon-subtle, #505258)"
|
|
80
|
+
spacing: "spacious"
|
|
83
81
|
});
|
|
84
82
|
break;
|
|
85
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.7.0",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/css": "^0.19.0",
|
|
37
37
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
38
|
-
"@atlaskit/icon": "^29.
|
|
38
|
+
"@atlaskit/icon": "^29.4.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^17.0.0",
|
|
41
41
|
"@atlaskit/theme": "^21.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^9.
|
|
42
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@compiled/react": "^0.18.6"
|
|
45
45
|
},
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@atlaskit/button": "^23.9.0",
|
|
54
54
|
"@atlaskit/code": "^17.4.0",
|
|
55
55
|
"@atlaskit/docs": "^11.2.0",
|
|
56
|
-
"@atlaskit/form": "^15.
|
|
56
|
+
"@atlaskit/form": "^15.3.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
|
-
"@atlaskit/link": "^3.
|
|
58
|
+
"@atlaskit/link": "^3.3.0",
|
|
59
59
|
"@atlaskit/range": "^9.3.0",
|
|
60
|
-
"@atlaskit/section-message": "^8.
|
|
60
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.2.0",
|
|
62
|
-
"@atlaskit/tooltip": "^20.
|
|
62
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
63
63
|
"@atlassian/ssr-tests": "workspace:^",
|
|
64
64
|
"@testing-library/react": "^13.4.0",
|
|
65
65
|
"@testing-library/user-event": "^14.4.3",
|