@atlaskit/teams-avatar 2.6.0 → 2.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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/teams-avatar
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`fb2784c333519`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fb2784c333519) -
|
|
8
|
+
Autofix: add explicit package exports (barrel removal)
|
|
9
|
+
|
|
10
|
+
## 2.6.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`7fb5bfbafb83e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7fb5bfbafb83e) -
|
|
15
|
+
Enrol people-and-teams packages into the React Compiler with platform gating via
|
|
16
|
+
isReactCompilerActivePlatform
|
|
17
|
+
|
|
3
18
|
## 2.6.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -4,6 +4,6 @@ export type TeamAvatarProps = Omit<AvatarPropTypes, 'appearance'> & {
|
|
|
4
4
|
teamId?: string;
|
|
5
5
|
compact?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const ICON_BACKGROUND:
|
|
8
|
-
export declare const ICON_COLOR:
|
|
7
|
+
export declare const ICON_BACKGROUND: 'var(--ds-icon-inverse)';
|
|
8
|
+
export declare const ICON_COLOR: 'var(--ds-icon-subtle)';
|
|
9
9
|
export default function TeamAvatar({ testId, src, size, teamId, compact, ...props }: TeamAvatarProps): React.JSX.Element;
|
|
@@ -4,6 +4,6 @@ export type TeamAvatarProps = Omit<AvatarPropTypes, 'appearance'> & {
|
|
|
4
4
|
teamId?: string;
|
|
5
5
|
compact?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const ICON_BACKGROUND:
|
|
8
|
-
export declare const ICON_COLOR:
|
|
7
|
+
export declare const ICON_BACKGROUND: 'var(--ds-icon-inverse)';
|
|
8
|
+
export declare const ICON_COLOR: 'var(--ds-icon-subtle)';
|
|
9
9
|
export default function TeamAvatar({ testId, src, size, teamId, compact, ...props }: TeamAvatarProps): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-avatar",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
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",
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
9
9
|
},
|
|
10
10
|
"atlassian": {
|
|
11
|
+
"react-compiler": {
|
|
12
|
+
"enabled": true,
|
|
13
|
+
"gating": {
|
|
14
|
+
"source": "@atlassian/react-compiler-gating",
|
|
15
|
+
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"team": "People and Teams Collective",
|
|
12
19
|
"website": {
|
|
13
20
|
"name": "TeamsAvatar",
|
|
@@ -35,7 +42,7 @@
|
|
|
35
42
|
"test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/teams-avatar/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/teams-avatar/src/**\", \"!packages/people-and-teams/teams-avatar/src/**/**/types.ts\", \"!packages/people-and-teams/teams-avatar/src/ui/**/styled.tsx\"]')"
|
|
36
43
|
},
|
|
37
44
|
"dependencies": {
|
|
38
|
-
"@atlaskit/avatar": "^25.
|
|
45
|
+
"@atlaskit/avatar": "^25.14.0",
|
|
39
46
|
"@atlaskit/css": "^0.19.0",
|
|
40
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
48
|
"@atlaskit/primitives": "^19.0.0",
|
|
@@ -50,7 +57,8 @@
|
|
|
50
57
|
"@af/integration-testing": "workspace:^",
|
|
51
58
|
"@af/visual-regression": "workspace:^",
|
|
52
59
|
"@atlaskit/ssr": "workspace:^",
|
|
53
|
-
"@atlassian/
|
|
60
|
+
"@atlassian/react-compiler-gating": "workspace:^",
|
|
61
|
+
"@atlassian/teams-app-internal-playground": "^2.6.0",
|
|
54
62
|
"@testing-library/react": "^16.3.0",
|
|
55
63
|
"react-dom": "^18.2.0",
|
|
56
64
|
"wait-for-expect": "^1.2.0"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/teams-avatar/teams-avatar",
|
|
3
|
+
"main": "../dist/cjs/ui/teams-avatar/index.js",
|
|
4
|
+
"module": "../dist/esm/ui/teams-avatar/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ui/teams-avatar/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ui/teams-avatar/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ui/teams-avatar/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/teams-avatar/utils",
|
|
3
|
+
"main": "../dist/cjs/ui/teams-avatar/utils.js",
|
|
4
|
+
"module": "../dist/esm/ui/teams-avatar/utils.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ui/teams-avatar/utils.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ui/teams-avatar/utils.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ui/teams-avatar/utils.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|