@atlaskit/avatar 21.17.8 → 21.18.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 +20 -0
- package/dist/cjs/avatar.js +1 -1
- package/dist/es2019/avatar.js +1 -1
- package/dist/esm/avatar.js +1 -1
- package/dist/types/presence.d.ts +1 -1
- package/dist/types-ts4.5/presence.d.ts +1 -1
- package/package.json +20 -13
- package/__perf__/default.tsx +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 21.17.9
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#104075](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104075)
|
|
20
|
+
[`534b86dda4d5c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/534b86dda4d5c) -
|
|
21
|
+
Remove unused internal exports and update dependencies.
|
|
22
|
+
|
|
3
23
|
## 21.17.8
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/cjs/avatar.js
CHANGED
|
@@ -28,7 +28,7 @@ var _templateObject;
|
|
|
28
28
|
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; }
|
|
29
29
|
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; }
|
|
30
30
|
var packageName = "@atlaskit/avatar";
|
|
31
|
-
var packageVersion = "21.
|
|
31
|
+
var packageVersion = "21.18.0";
|
|
32
32
|
var getTestId = function getTestId(testId, children) {
|
|
33
33
|
return !children ? {
|
|
34
34
|
'data-testid': "".concat(testId, "--inner")
|
package/dist/es2019/avatar.js
CHANGED
|
@@ -16,7 +16,7 @@ import { PresenceWrapper } from './presence';
|
|
|
16
16
|
import { StatusWrapper } from './status';
|
|
17
17
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
18
18
|
const packageName = "@atlaskit/avatar";
|
|
19
|
-
const packageVersion = "21.
|
|
19
|
+
const packageVersion = "21.18.0";
|
|
20
20
|
const getTestId = (testId, children) => !children ? {
|
|
21
21
|
'data-testid': `${testId}--inner`
|
|
22
22
|
} : {
|
package/dist/esm/avatar.js
CHANGED
|
@@ -21,7 +21,7 @@ import { PresenceWrapper } from './presence';
|
|
|
21
21
|
import { StatusWrapper } from './status';
|
|
22
22
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
23
23
|
var packageName = "@atlaskit/avatar";
|
|
24
|
-
var packageVersion = "21.
|
|
24
|
+
var packageVersion = "21.18.0";
|
|
25
25
|
var getTestId = function getTestId(testId, children) {
|
|
26
26
|
return !children ? {
|
|
27
27
|
'data-testid': "".concat(testId, "--inner")
|
package/dist/types/presence.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface PresenceProps {
|
|
|
27
27
|
*/
|
|
28
28
|
declare const AvatarPresence: FC<PresenceProps>;
|
|
29
29
|
export default AvatarPresence;
|
|
30
|
-
|
|
30
|
+
interface PresenceWrapperProps extends PresenceProps {
|
|
31
31
|
appearance: AppearanceType;
|
|
32
32
|
size: IndicatorSizeType;
|
|
33
33
|
testId?: string;
|
|
@@ -27,7 +27,7 @@ export interface PresenceProps {
|
|
|
27
27
|
*/
|
|
28
28
|
declare const AvatarPresence: FC<PresenceProps>;
|
|
29
29
|
export default AvatarPresence;
|
|
30
|
-
|
|
30
|
+
interface PresenceWrapperProps extends PresenceProps {
|
|
31
31
|
appearance: AppearanceType;
|
|
32
32
|
size: IndicatorSizeType;
|
|
33
33
|
testId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.18.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/"
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
".": "./src/index.tsx"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@atlaskit/analytics-next": "^10.
|
|
46
|
-
"@atlaskit/ds-lib": "^3.
|
|
47
|
-
"@atlaskit/focus-ring": "^2.
|
|
48
|
-
"@atlaskit/icon": "^23.
|
|
45
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
46
|
+
"@atlaskit/ds-lib": "^3.5.0",
|
|
47
|
+
"@atlaskit/focus-ring": "^2.1.0",
|
|
48
|
+
"@atlaskit/icon": "^23.5.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
50
|
-
"@atlaskit/primitives": "^13.
|
|
51
|
-
"@atlaskit/theme": "^14.
|
|
52
|
-
"@atlaskit/tokens": "^3.
|
|
50
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
51
|
+
"@atlaskit/theme": "^14.1.0",
|
|
52
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"@emotion/serialize": "^1.1.0"
|
|
@@ -61,18 +61,25 @@
|
|
|
61
61
|
"@af/accessibility-testing": "*",
|
|
62
62
|
"@af/integration-testing": "*",
|
|
63
63
|
"@af/visual-regression": "*",
|
|
64
|
+
"@atlaskit/button": "^20.4.0",
|
|
65
|
+
"@atlaskit/code": "^15.7.0",
|
|
66
|
+
"@atlaskit/docs": "*",
|
|
67
|
+
"@atlaskit/form": "^11.1.0",
|
|
68
|
+
"@atlaskit/heading": "^4.1.0",
|
|
69
|
+
"@atlaskit/link": "*",
|
|
70
|
+
"@atlaskit/range": "^8.1.0",
|
|
71
|
+
"@atlaskit/section-message": "*",
|
|
64
72
|
"@atlaskit/ssr": "*",
|
|
65
|
-
"@atlaskit/textfield": "^6.
|
|
66
|
-
"@atlaskit/tooltip": "^19.
|
|
67
|
-
"@atlaskit/visual-regression": "*",
|
|
73
|
+
"@atlaskit/textfield": "^6.8.0",
|
|
74
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
68
75
|
"@atlassian/feature-flags-test-utils": "*",
|
|
69
76
|
"@emotion/styled": "^11.0.0",
|
|
70
|
-
"@testing-library/react": "^
|
|
77
|
+
"@testing-library/react": "^13.4.0",
|
|
71
78
|
"@testing-library/user-event": "^14.4.3",
|
|
72
79
|
"@types/jscodeshift": "^0.11.0",
|
|
73
80
|
"jest-in-case": "^1.0.2",
|
|
74
81
|
"jscodeshift": "^0.13.0",
|
|
75
|
-
"react-dom": "^
|
|
82
|
+
"react-dom": "^18.2.0",
|
|
76
83
|
"typescript": "~5.4.2"
|
|
77
84
|
},
|
|
78
85
|
"keywords": [
|