@atlaskit/teams-public 0.74.4 → 1.1.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 +31 -0
- package/dist/cjs/common/ui/container-icon/index.js +41 -3
- package/dist/cjs/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/cjs/common/ui/loom-avatar/main.js +26 -0
- package/dist/cjs/common/ui/team-link-card-actions/index.js +3 -3
- package/dist/cjs/common/utils/get-container-properties.js +72 -35
- package/dist/cjs/ui/team-containers/add-container-card/add-container-card-button/index.js +9 -9
- package/dist/cjs/ui/team-containers/disconnect-dialog/index.js +7 -7
- package/dist/cjs/ui/team-containers/linked-container-card/index.js +4 -4
- package/dist/cjs/ui/team-containers/main.js +3 -3
- package/dist/cjs/ui/team-containers/no-product-access-empty-state/index.js +3 -3
- package/dist/cjs/ui/team-containers/team-link-card/index.js +3 -3
- package/dist/es2019/common/ui/container-icon/index.js +35 -3
- package/dist/es2019/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/es2019/common/ui/loom-avatar/main.js +25 -0
- package/dist/es2019/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/es2019/common/utils/get-container-properties.js +45 -7
- package/dist/es2019/ui/team-containers/add-container-card/add-container-card-button/index.js +1 -1
- package/dist/es2019/ui/team-containers/disconnect-dialog/index.js +1 -1
- package/dist/es2019/ui/team-containers/linked-container-card/index.js +2 -2
- package/dist/es2019/ui/team-containers/main.js +1 -1
- package/dist/es2019/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/es2019/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/esm/common/ui/container-icon/index.js +39 -3
- package/dist/esm/common/ui/loom-avatar/main.compiled.css +5 -1
- package/dist/esm/common/ui/loom-avatar/main.js +25 -0
- package/dist/esm/common/ui/team-link-card-actions/index.js +1 -1
- package/dist/esm/common/utils/get-container-properties.js +60 -23
- package/dist/esm/ui/team-containers/add-container-card/add-container-card-button/index.js +1 -1
- package/dist/esm/ui/team-containers/disconnect-dialog/index.js +1 -1
- package/dist/esm/ui/team-containers/linked-container-card/index.js +2 -2
- package/dist/esm/ui/team-containers/main.js +1 -1
- package/dist/esm/ui/team-containers/no-product-access-empty-state/index.js +1 -1
- package/dist/esm/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/types/common/ui/loom-avatar/main.d.ts +1 -1
- package/dist/types/common/utils/get-container-properties.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/loom-avatar/main.d.ts +1 -1
- package/dist/types-ts4.5/common/utils/get-container-properties.d.ts +1 -1
- package/package.json +12 -6
|
@@ -4,7 +4,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
4
4
|
import "./index.compiled.css";
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
7
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
8
8
|
import Avatar from '@atlaskit/avatar';
|
|
9
9
|
import { IconButton } from '@atlaskit/button/new';
|
|
10
10
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
@@ -73,7 +73,7 @@ var getContainerIcon = function getContainerIcon(containerType, title, container
|
|
|
73
73
|
if (containerType === 'LoomSpace') {
|
|
74
74
|
return /*#__PURE__*/React.createElement(LoomSpaceAvatar, {
|
|
75
75
|
spaceName: title,
|
|
76
|
-
size: '
|
|
76
|
+
size: 'medium',
|
|
77
77
|
testId: "linked-container-icon"
|
|
78
78
|
});
|
|
79
79
|
}
|
|
@@ -2,7 +2,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
5
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
5
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
6
6
|
import Button from '@atlaskit/button/new';
|
|
7
7
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { defineMessages, FormattedMessage } from 'react-intl
|
|
5
|
+
import { defineMessages, FormattedMessage } from 'react-intl';
|
|
6
6
|
import Heading from '@atlaskit/heading';
|
|
7
7
|
import { Box, Inline, Stack } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { NoProductAccessIcon } from './no-product-access-icon';
|
|
@@ -9,7 +9,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
9
9
|
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; }
|
|
10
10
|
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) { _defineProperty(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; }
|
|
11
11
|
import React, { useState } from 'react';
|
|
12
|
-
import { defineMessages, useIntl } from 'react-intl
|
|
12
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
13
13
|
import { IconButton } from '@atlaskit/button/new';
|
|
14
14
|
import { cx } from '@atlaskit/css';
|
|
15
15
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -7,7 +7,7 @@ interface ContainerProperties {
|
|
|
7
7
|
containerTypeText: ReactNode;
|
|
8
8
|
isEmptyContainer?: boolean;
|
|
9
9
|
}
|
|
10
|
-
type IconSize = 'small' | 'medium';
|
|
10
|
+
type IconSize = 'xxsmall' | 'xsmall' | 'small' | 'medium';
|
|
11
11
|
export declare const messages: {
|
|
12
12
|
addConfluenceContainerTitle: {
|
|
13
13
|
id: string;
|
|
@@ -7,7 +7,7 @@ interface ContainerProperties {
|
|
|
7
7
|
containerTypeText: ReactNode;
|
|
8
8
|
isEmptyContainer?: boolean;
|
|
9
9
|
}
|
|
10
|
-
type IconSize = 'small' | 'medium';
|
|
10
|
+
type IconSize = 'xxsmall' | 'xsmall' | 'small' | 'medium';
|
|
11
11
|
export declare const messages: {
|
|
12
12
|
addConfluenceContainerTitle: {
|
|
13
13
|
id: string;
|
package/package.json
CHANGED
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
33
33
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
34
34
|
"@atlaskit/heading": "^5.4.0",
|
|
35
|
-
"@atlaskit/icon": "^34.
|
|
35
|
+
"@atlaskit/icon": "^34.2.0",
|
|
36
36
|
"@atlaskit/image": "^3.0.0",
|
|
37
37
|
"@atlaskit/link": "^3.4.0",
|
|
38
38
|
"@atlaskit/modal-dialog": "^14.15.0",
|
|
39
|
-
"@atlaskit/people-teams-ui-public": "^
|
|
39
|
+
"@atlaskit/people-teams-ui-public": "^4.0.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/primitives": "^19.0.0",
|
|
42
42
|
"@atlaskit/skeleton": "^2.1.0",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@atlaskit/teams-app-internal-navigation": "^1.8.0",
|
|
45
45
|
"@atlaskit/teams-app-internal-product-permissions": "^1.3.0",
|
|
46
46
|
"@atlaskit/teams-client": "^4.32.0",
|
|
47
|
+
"@atlaskit/tile": "^1.0.0",
|
|
47
48
|
"@atlaskit/tokens": "^13.0.0",
|
|
48
49
|
"@atlaskit/tooltip": "^21.1.0",
|
|
49
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -51,14 +52,14 @@
|
|
|
51
52
|
"@types/string-hash": "^1.1.3",
|
|
52
53
|
"graphql": "^15.8.0",
|
|
53
54
|
"graphql-tag": "^2.10.1",
|
|
54
|
-
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
55
55
|
"react-loosely-lazy": "^1.0.0",
|
|
56
56
|
"react-router-dom": "^6.28.0",
|
|
57
57
|
"react-sweet-state": "^2.6.5",
|
|
58
58
|
"string-hash": "1.1.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"react": "^18.2.0"
|
|
61
|
+
"react": "^18.2.0",
|
|
62
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
65
|
"@af/integration-testing": "workspace:^",
|
|
@@ -67,10 +68,12 @@
|
|
|
67
68
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
68
69
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
69
70
|
"@atlassian/ptc-test-utils": "^0.12.0",
|
|
71
|
+
"@atlassian/teams-app-internal-playground": "^2.1.0",
|
|
70
72
|
"@atlassian/testing-library": "^0.5.0",
|
|
71
73
|
"@testing-library/react": "^16.3.0",
|
|
72
74
|
"@testing-library/user-event": "^14.4.3",
|
|
73
|
-
"react-dom": "^18.2.0"
|
|
75
|
+
"react-dom": "^18.2.0",
|
|
76
|
+
"react-intl": "^6.6.2"
|
|
74
77
|
},
|
|
75
78
|
"techstack": {
|
|
76
79
|
"@atlassian/frontend": {
|
|
@@ -107,7 +110,7 @@
|
|
|
107
110
|
}
|
|
108
111
|
},
|
|
109
112
|
"name": "@atlaskit/teams-public",
|
|
110
|
-
"version": "
|
|
113
|
+
"version": "1.1.0",
|
|
111
114
|
"description": "Public components related to teams",
|
|
112
115
|
"author": "Atlassian Pty Ltd",
|
|
113
116
|
"license": "Apache-2.0",
|
|
@@ -142,6 +145,9 @@
|
|
|
142
145
|
},
|
|
143
146
|
"ptc-links-migrate-atlaskit-anchor-to-teams-anchor": {
|
|
144
147
|
"type": "boolean"
|
|
148
|
+
},
|
|
149
|
+
"enable_teams_t26_design_drop_core_experiences": {
|
|
150
|
+
"type": "boolean"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
153
|
}
|