@atlaskit/avatar 21.4.1 → 21.4.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 +6 -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/Avatar.d.ts +5 -5
- package/dist/types-ts4.5/Avatar.d.ts +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/cjs/Avatar.js
CHANGED
|
@@ -22,7 +22,7 @@ var _templateObject;
|
|
|
22
22
|
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; }
|
|
23
23
|
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; }
|
|
24
24
|
var packageName = "@atlaskit/avatar";
|
|
25
|
-
var packageVersion = "21.4.
|
|
25
|
+
var packageVersion = "21.4.2";
|
|
26
26
|
|
|
27
27
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
28
28
|
|
package/dist/es2019/Avatar.js
CHANGED
|
@@ -10,7 +10,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
10
10
|
import { StatusWrapper } from './Status';
|
|
11
11
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
12
12
|
const packageName = "@atlaskit/avatar";
|
|
13
|
-
const packageVersion = "21.4.
|
|
13
|
+
const packageVersion = "21.4.2";
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
16
16
|
|
package/dist/esm/Avatar.js
CHANGED
|
@@ -15,7 +15,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
15
15
|
import { StatusWrapper } from './Status';
|
|
16
16
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
17
17
|
var packageName = "@atlaskit/avatar";
|
|
18
|
-
var packageVersion = "21.4.
|
|
18
|
+
var packageVersion = "21.4.2";
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
21
21
|
|
package/dist/types/Avatar.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface AvatarPropTypes {
|
|
|
33
33
|
*/
|
|
34
34
|
borderColor?: string;
|
|
35
35
|
/**
|
|
36
|
-
* Supply a custom avatar component instead of the default
|
|
36
|
+
* Supply a custom avatar component instead of the default.
|
|
37
37
|
*/
|
|
38
38
|
children?: (props: CustomAvatarProps) => ReactNode;
|
|
39
39
|
/**
|
|
@@ -50,13 +50,13 @@ export interface AvatarPropTypes {
|
|
|
50
50
|
name?: string;
|
|
51
51
|
/**
|
|
52
52
|
* Indicates a user's online status by showing a small icon on the avatar.
|
|
53
|
-
* Refer to presence values on the
|
|
53
|
+
* Refer to presence values on the presence component.
|
|
54
54
|
* Alternatively accepts any React element. For best results, it is recommended to
|
|
55
55
|
* use square content with height and width of 100%.
|
|
56
56
|
*/
|
|
57
57
|
presence?: Presence | Omit<ReactNode, string> | (string & {}) | null;
|
|
58
58
|
/**
|
|
59
|
-
* Defines the size of the avatar
|
|
59
|
+
* Defines the size of the avatar.
|
|
60
60
|
*/
|
|
61
61
|
size?: SizeType;
|
|
62
62
|
/**
|
|
@@ -85,11 +85,11 @@ export interface AvatarPropTypes {
|
|
|
85
85
|
*/
|
|
86
86
|
onClick?: AvatarClickEventHandler;
|
|
87
87
|
/**
|
|
88
|
-
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests
|
|
88
|
+
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests.
|
|
89
89
|
*/
|
|
90
90
|
testId?: string;
|
|
91
91
|
/**
|
|
92
|
-
* Analytics context meta data
|
|
92
|
+
* Analytics context meta data.
|
|
93
93
|
*/
|
|
94
94
|
analyticsContext?: Record<string, any>;
|
|
95
95
|
/**
|
|
@@ -33,7 +33,7 @@ export interface AvatarPropTypes {
|
|
|
33
33
|
*/
|
|
34
34
|
borderColor?: string;
|
|
35
35
|
/**
|
|
36
|
-
* Supply a custom avatar component instead of the default
|
|
36
|
+
* Supply a custom avatar component instead of the default.
|
|
37
37
|
*/
|
|
38
38
|
children?: (props: CustomAvatarProps) => ReactNode;
|
|
39
39
|
/**
|
|
@@ -50,13 +50,13 @@ export interface AvatarPropTypes {
|
|
|
50
50
|
name?: string;
|
|
51
51
|
/**
|
|
52
52
|
* Indicates a user's online status by showing a small icon on the avatar.
|
|
53
|
-
* Refer to presence values on the
|
|
53
|
+
* Refer to presence values on the presence component.
|
|
54
54
|
* Alternatively accepts any React element. For best results, it is recommended to
|
|
55
55
|
* use square content with height and width of 100%.
|
|
56
56
|
*/
|
|
57
57
|
presence?: Presence | Omit<ReactNode, string> | (string & {}) | null;
|
|
58
58
|
/**
|
|
59
|
-
* Defines the size of the avatar
|
|
59
|
+
* Defines the size of the avatar.
|
|
60
60
|
*/
|
|
61
61
|
size?: SizeType;
|
|
62
62
|
/**
|
|
@@ -85,11 +85,11 @@ export interface AvatarPropTypes {
|
|
|
85
85
|
*/
|
|
86
86
|
onClick?: AvatarClickEventHandler;
|
|
87
87
|
/**
|
|
88
|
-
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests
|
|
88
|
+
* A `testId` prop is provided for specified elements, which is a unique string that appears as a data attribute `data-testid` in the rendered code, serving as a hook for automated tests.
|
|
89
89
|
*/
|
|
90
90
|
testId?: string;
|
|
91
91
|
/**
|
|
92
|
-
* Analytics context meta data
|
|
92
|
+
* Analytics context meta data.
|
|
93
93
|
*/
|
|
94
94
|
analyticsContext?: Record<string, any>;
|
|
95
95
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.2",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
47
|
-
"@atlaskit/icon": "^
|
|
47
|
+
"@atlaskit/icon": "^22.0.0",
|
|
48
48
|
"@atlaskit/theme": "^12.6.0",
|
|
49
49
|
"@atlaskit/tokens": "^1.28.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@af/visual-regression": "*",
|
|
60
60
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
61
61
|
"@atlaskit/ssr": "*",
|
|
62
|
-
"@atlaskit/tooltip": "^
|
|
62
|
+
"@atlaskit/tooltip": "^18.0.0",
|
|
63
63
|
"@atlaskit/visual-regression": "*",
|
|
64
64
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
65
65
|
"@emotion/styled": "^11.0.0",
|