@atlaskit/teams-public 2.9.0 → 2.9.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 +13 -0
- package/confluence-icon/package.json +5 -4
- package/dist/cjs/common/assets/confluence-icon.js +9 -0
- package/dist/cjs/common/assets/jira-icon.js +9 -0
- package/dist/cjs/common/assets/loom-icon.js +9 -0
- package/dist/cjs/controllers/hooks/use-team-containers/actions-2.js +6 -6
- package/dist/cjs/controllers/hooks/use-team-containers/actions.js +6 -6
- package/dist/cjs/controllers/hooks/use-team-containers/use-connected-teams-2.js +4 -4
- package/dist/cjs/controllers/hooks/use-team-containers/use-connected-teams.js +4 -4
- package/dist/cjs/controllers/hooks/use-team-containers/use-team-containers-2.js +4 -4
- package/dist/cjs/controllers/hooks/use-team-containers/use-team-containers.js +4 -4
- package/dist/cjs/controllers/hooks/use-team-web-links/actions.js +7 -7
- package/dist/cjs/controllers/hooks/use-team-web-links/multi-team.js +7 -7
- package/dist/cjs/controllers/hooks/use-team-web-links/use-team-web-links-actions.js +2 -2
- package/dist/cjs/controllers/hooks/use-team-web-links/use-team-web-links.js +2 -2
- package/dist/cjs/next/ui/team-containers/add-container-card/index.compiled.css +2 -1
- package/dist/cjs/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/cjs/next/ui/team-containers/team-link-card/index.js +2 -2
- package/dist/es2019/common/assets/confluence-icon.js +2 -0
- package/dist/es2019/common/assets/jira-icon.js +2 -0
- package/dist/es2019/common/assets/loom-icon.js +2 -0
- package/dist/es2019/controllers/hooks/use-team-containers/actions-2.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-containers/actions.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-containers/use-connected-teams-2.js +2 -2
- package/dist/es2019/controllers/hooks/use-team-containers/use-connected-teams.js +2 -2
- package/dist/es2019/controllers/hooks/use-team-containers/use-team-containers-2.js +2 -2
- package/dist/es2019/controllers/hooks/use-team-containers/use-team-containers.js +2 -2
- package/dist/es2019/controllers/hooks/use-team-web-links/actions.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-web-links/multi-team.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-web-links/use-team-web-links-actions.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-web-links/use-team-web-links.js +1 -1
- package/dist/es2019/next/ui/team-containers/add-container-card/index.compiled.css +2 -1
- package/dist/es2019/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/es2019/next/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/esm/common/assets/confluence-icon.js +2 -0
- package/dist/esm/common/assets/jira-icon.js +2 -0
- package/dist/esm/common/assets/loom-icon.js +2 -0
- package/dist/esm/controllers/hooks/use-team-containers/actions-2.js +1 -1
- package/dist/esm/controllers/hooks/use-team-containers/actions.js +1 -1
- package/dist/esm/controllers/hooks/use-team-containers/use-connected-teams-2.js +2 -2
- package/dist/esm/controllers/hooks/use-team-containers/use-connected-teams.js +2 -2
- package/dist/esm/controllers/hooks/use-team-containers/use-team-containers-2.js +2 -2
- package/dist/esm/controllers/hooks/use-team-containers/use-team-containers.js +2 -2
- package/dist/esm/controllers/hooks/use-team-web-links/actions.js +1 -1
- package/dist/esm/controllers/hooks/use-team-web-links/multi-team.js +1 -1
- package/dist/esm/controllers/hooks/use-team-web-links/use-team-web-links-actions.js +1 -1
- package/dist/esm/controllers/hooks/use-team-web-links/use-team-web-links.js +1 -1
- package/dist/esm/next/ui/team-containers/add-container-card/index.compiled.css +2 -1
- package/dist/esm/next/ui/team-containers/add-container-card/index.js +1 -1
- package/dist/esm/next/ui/team-containers/team-link-card/index.js +1 -1
- package/dist/types/common/assets/confluence-icon.d.ts +2 -0
- package/dist/types/common/assets/jira-icon.d.ts +2 -0
- package/dist/types/common/assets/loom-icon.d.ts +2 -0
- package/dist/types/controllers/hooks/use-team-containers/actions-2.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/actions.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/connected-teams.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/state.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/team-containers-state.d.ts +2 -1
- package/dist/types/controllers/hooks/use-team-containers/team-state.d.ts +2 -1
- package/dist/types/controllers/hooks/use-team-containers/use-connected-teams-2.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/use-connected-teams.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/use-team-containers-2.d.ts +2 -1
- package/dist/types/controllers/hooks/use-team-containers/use-team-containers-hook.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-containers/use-team-containers.d.ts +3 -1
- package/dist/types/controllers/hooks/use-team-web-links/actions.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-web-links/multi-team.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-web-links/use-team-web-links-actions.d.ts +1 -1
- package/dist/types/controllers/hooks/use-team-web-links/use-team-web-links.d.ts +1 -1
- package/jira-icon/package.json +5 -4
- package/loom-icon/package.json +5 -4
- package/package.json +19 -53
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 2.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`bcfe498b206d5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bcfe498b206d5) -
|
|
14
|
+
Adopt button and list-item motion tokens behind the use-pressable-motion rollout.
|
|
15
|
+
|
|
3
16
|
## 2.9.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-public/confluence-icon",
|
|
3
|
-
"main": "../dist/cjs/common/assets/
|
|
4
|
-
"module": "../dist/esm/common/assets/
|
|
5
|
-
"module:es2019": "../dist/es2019/common/assets/
|
|
3
|
+
"main": "../dist/cjs/common/assets/confluence-icon.js",
|
|
4
|
+
"module": "../dist/esm/common/assets/confluence-icon.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/common/assets/confluence-icon.js",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
|
-
]
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/common/assets/confluence-icon.d.ts"
|
|
9
10
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _ConfluenceIcon = _interopRequireDefault(require("./ConfluenceIcon.svg"));
|
|
9
|
+
var _default = exports.default = _ConfluenceIcon.default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _JiraIcon = _interopRequireDefault(require("./JiraIcon.svg"));
|
|
9
|
+
var _default = exports.default = _JiraIcon.default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _LoomIcon = _interopRequireDefault(require("./LoomIcon.svg"));
|
|
9
|
+
var _default = exports.default = _LoomIcon.default;
|
|
@@ -9,7 +9,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
|
-
var
|
|
12
|
+
var _client = require("@atlaskit/teams-client/client");
|
|
13
13
|
var _containersEqual = require("./containers-equal");
|
|
14
14
|
var _getErrorDetails = require("./get-error-details");
|
|
15
15
|
var _getInitialTeamState = require("./get-initial-team-state");
|
|
@@ -50,7 +50,7 @@ var actions = exports.actions = {
|
|
|
50
50
|
});
|
|
51
51
|
_context.prev = 3;
|
|
52
52
|
_context.next = 4;
|
|
53
|
-
return
|
|
53
|
+
return _client.teamsClient.getTeamContainers(teamId);
|
|
54
54
|
case 4:
|
|
55
55
|
containers = _context.sent;
|
|
56
56
|
fireAnalyticsNext('operational.fetchTeamContainers.succeeded', {
|
|
@@ -134,7 +134,7 @@ var actions = exports.actions = {
|
|
|
134
134
|
case 1:
|
|
135
135
|
_context2.prev = 1;
|
|
136
136
|
_context2.next = 2;
|
|
137
|
-
return
|
|
137
|
+
return _client.teamsClient.getTeamContainers(teamId);
|
|
138
138
|
case 2:
|
|
139
139
|
containers = _context2.sent;
|
|
140
140
|
fireAnalyticsNext('operational.refetchTeamContainers.succeeded', {
|
|
@@ -212,7 +212,7 @@ var actions = exports.actions = {
|
|
|
212
212
|
});
|
|
213
213
|
_context3.prev = 3;
|
|
214
214
|
_context3.next = 4;
|
|
215
|
-
return
|
|
215
|
+
return _client.teamsClient.getNumberOfConnectedTeams(containerId);
|
|
216
216
|
case 4:
|
|
217
217
|
numberOfTeams = _context3.sent;
|
|
218
218
|
fireAnalyticsNext('operational.fetchNumberOfConnectedTeams.succeeded', {
|
|
@@ -302,7 +302,7 @@ var actions = exports.actions = {
|
|
|
302
302
|
});
|
|
303
303
|
_context4.prev = 3;
|
|
304
304
|
_context4.next = 4;
|
|
305
|
-
return
|
|
305
|
+
return _client.teamsClient.getConnectedTeams(containerId);
|
|
306
306
|
case 4:
|
|
307
307
|
teamsResult = _context4.sent;
|
|
308
308
|
fireAnalyticsNext('operational.fetchConnectedTeams.succeeded', {
|
|
@@ -381,7 +381,7 @@ var actions = exports.actions = {
|
|
|
381
381
|
}
|
|
382
382
|
_context5.prev = 1;
|
|
383
383
|
_context5.next = 2;
|
|
384
|
-
return
|
|
384
|
+
return _client.teamsClient.unlinkTeamContainer(teamId, containerId);
|
|
385
385
|
case 2:
|
|
386
386
|
mutationResult = _context5.sent;
|
|
387
387
|
currentState = getState();
|
|
@@ -9,7 +9,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
|
-
var
|
|
12
|
+
var _client = require("@atlaskit/teams-client/client");
|
|
13
13
|
var _containersDeepEqual = require("./containers-deep-equal");
|
|
14
14
|
var _initialConnectedTeamsState = require("./initial-connected-teams-state");
|
|
15
15
|
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; }
|
|
@@ -39,7 +39,7 @@ var actions = exports.actions = {
|
|
|
39
39
|
});
|
|
40
40
|
_context.prev = 2;
|
|
41
41
|
_context.next = 3;
|
|
42
|
-
return
|
|
42
|
+
return _client.teamsClient.getTeamContainers(teamId);
|
|
43
43
|
case 3:
|
|
44
44
|
containers = _context.sent;
|
|
45
45
|
fireAnalytics('operational.fetchTeamContainers.succeeded', {
|
|
@@ -97,7 +97,7 @@ var actions = exports.actions = {
|
|
|
97
97
|
case 1:
|
|
98
98
|
_context2.prev = 1;
|
|
99
99
|
_context2.next = 2;
|
|
100
|
-
return
|
|
100
|
+
return _client.teamsClient.getTeamContainers(teamId);
|
|
101
101
|
case 2:
|
|
102
102
|
containers = _context2.sent;
|
|
103
103
|
fireAnalytics('operational.refetchTeamContainers.succeeded', {
|
|
@@ -164,7 +164,7 @@ var actions = exports.actions = {
|
|
|
164
164
|
});
|
|
165
165
|
_context3.prev = 2;
|
|
166
166
|
_context3.next = 3;
|
|
167
|
-
return
|
|
167
|
+
return _client.teamsClient.getNumberOfConnectedTeams(containerId);
|
|
168
168
|
case 3:
|
|
169
169
|
numberOfTeams = _context3.sent;
|
|
170
170
|
fireAnalytics('operational.fetchNumberOfConnectedTeams.succeeded', {
|
|
@@ -234,7 +234,7 @@ var actions = exports.actions = {
|
|
|
234
234
|
});
|
|
235
235
|
_context4.prev = 2;
|
|
236
236
|
_context4.next = 3;
|
|
237
|
-
return
|
|
237
|
+
return _client.teamsClient.getConnectedTeams(containerId);
|
|
238
238
|
case 3:
|
|
239
239
|
teams = _context4.sent;
|
|
240
240
|
fireAnalytics('operational.fetchConnectedTeams.succeeded', {
|
|
@@ -298,7 +298,7 @@ var actions = exports.actions = {
|
|
|
298
298
|
});
|
|
299
299
|
_context5.prev = 1;
|
|
300
300
|
_context5.next = 2;
|
|
301
|
-
return
|
|
301
|
+
return _client.teamsClient.unlinkTeamContainer(teamId, containerId);
|
|
302
302
|
case 2:
|
|
303
303
|
mutationResult = _context5.sent;
|
|
304
304
|
if (mutationResult.deleteTeamConnectedToContainer.errors.length) {
|
|
@@ -8,8 +8,8 @@ exports.useConnectedTeams = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = require("react");
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
|
|
12
|
+
var _useAnalyticsEvents3 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
13
13
|
var _analytics = require("../../../common/utils/analytics");
|
|
14
14
|
var _getErrorDetails = require("./get-error-details");
|
|
15
15
|
var _getInitialTeamState = require("./get-initial-team-state");
|
|
@@ -23,9 +23,9 @@ var useConnectedTeams = exports.useConnectedTeams = function useConnectedTeams(t
|
|
|
23
23
|
actions = _useTeamContainersHoo2[1];
|
|
24
24
|
var _usePeopleAndTeamAnal = (0, _analytics.usePeopleAndTeamAnalytics)(),
|
|
25
25
|
fireOperationalEvent = _usePeopleAndTeamAnal.fireOperationalEvent;
|
|
26
|
-
var _useAnalyticsEvents = (0,
|
|
26
|
+
var _useAnalyticsEvents = (0, _useAnalyticsEvents2.useAnalyticsEvents)(),
|
|
27
27
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
28
|
-
var _useAnalyticsEventsNe = (0,
|
|
28
|
+
var _useAnalyticsEventsNe = (0, _useAnalyticsEvents3.useAnalyticsEvents)(),
|
|
29
29
|
fireEvent = _useAnalyticsEventsNe.fireEvent;
|
|
30
30
|
var fireOperationalAnalytics = (0, _react.useCallback)(function (_ref) {
|
|
31
31
|
var action = _ref.action,
|
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.useConnectedTeams = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
11
|
+
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
12
12
|
var _useConnectedTeams = require("./use-connected-teams-2");
|
|
13
13
|
var _useTeamContainersHook = require("./use-team-containers-hook");
|
|
14
14
|
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; }
|
|
@@ -18,9 +18,9 @@ var useConnectedTeams = exports.useConnectedTeams = function useConnectedTeams(t
|
|
|
18
18
|
_useTeamContainersHoo2 = (0, _slicedToArray2.default)(_useTeamContainersHoo, 2),
|
|
19
19
|
state = _useTeamContainersHoo2[0],
|
|
20
20
|
actions = _useTeamContainersHoo2[1];
|
|
21
|
-
var useMultiTeam = (0,
|
|
21
|
+
var useMultiTeam = (0, _fg.fg)('enable_multi_team_containers_state');
|
|
22
22
|
var multiTeamResult = (0, _useConnectedTeams.useConnectedTeams)(useMultiTeam ? teamId || '' : '');
|
|
23
|
-
var _useAnalyticsEvents = (0,
|
|
23
|
+
var _useAnalyticsEvents = (0, _useAnalyticsEvents2.useAnalyticsEvents)(),
|
|
24
24
|
fireEvent = _useAnalyticsEvents.fireEvent;
|
|
25
25
|
if (useMultiTeam) {
|
|
26
26
|
return multiTeamResult;
|
|
@@ -10,8 +10,8 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
12
|
var _react = require("react");
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
|
|
14
|
+
var _useAnalyticsEvents3 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
15
15
|
var _analytics = require("../../../common/utils/analytics");
|
|
16
16
|
var _getErrorDetails = require("./get-error-details");
|
|
17
17
|
var _getInitialTeamState = require("./get-initial-team-state");
|
|
@@ -26,9 +26,9 @@ var useTeamContainers = exports.useTeamContainers = function useTeamContainers(t
|
|
|
26
26
|
actions = _useTeamContainersHoo2[1];
|
|
27
27
|
var _usePeopleAndTeamAnal = (0, _analytics.usePeopleAndTeamAnalytics)(),
|
|
28
28
|
fireOperationalEvent = _usePeopleAndTeamAnal.fireOperationalEvent;
|
|
29
|
-
var _useAnalyticsEvents = (0,
|
|
29
|
+
var _useAnalyticsEvents = (0, _useAnalyticsEvents2.useAnalyticsEvents)(),
|
|
30
30
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
31
|
-
var _useAnalyticsEventsNe = (0,
|
|
31
|
+
var _useAnalyticsEventsNe = (0, _useAnalyticsEvents3.useAnalyticsEvents)(),
|
|
32
32
|
fireEvent = _useAnalyticsEventsNe.fireEvent;
|
|
33
33
|
var fireOperationalAnalytics = (0, _react.useCallback)(function (action, actionSubject, error) {
|
|
34
34
|
fireOperationalEvent(createAnalyticsEvent, {
|
|
@@ -10,8 +10,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
12
|
var _react = require("react");
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
|
+
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
15
15
|
var _useTeamContainers = require("./use-team-containers-2");
|
|
16
16
|
var _useTeamContainersHook = require("./use-team-containers-hook");
|
|
17
17
|
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; }
|
|
@@ -22,9 +22,9 @@ var useTeamContainers = exports.useTeamContainers = function useTeamContainers(t
|
|
|
22
22
|
_useTeamContainersHoo2 = (0, _slicedToArray2.default)(_useTeamContainersHoo, 2),
|
|
23
23
|
state = _useTeamContainersHoo2[0],
|
|
24
24
|
actions = _useTeamContainersHoo2[1];
|
|
25
|
-
var useMultiTeam = (0,
|
|
25
|
+
var useMultiTeam = (0, _fg.fg)('enable_multi_team_containers_state');
|
|
26
26
|
var multiTeamResult = (0, _useTeamContainers.useTeamContainers)(teamId, useMultiTeam ? enable : false);
|
|
27
|
-
var _useAnalyticsEvents = (0,
|
|
27
|
+
var _useAnalyticsEvents = (0, _useAnalyticsEvents2.useAnalyticsEvents)(),
|
|
28
28
|
fireEvent = _useAnalyticsEvents.fireEvent;
|
|
29
29
|
(0, _react.useEffect)(function () {
|
|
30
30
|
if (enable && !useMultiTeam) {
|
|
@@ -9,7 +9,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
|
-
var
|
|
12
|
+
var _client = require("@atlaskit/teams-client/client");
|
|
13
13
|
var _initialState2 = require("./initial-state");
|
|
14
14
|
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; }
|
|
15
15
|
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; }
|
|
@@ -40,7 +40,7 @@ var actions = exports.actions = {
|
|
|
40
40
|
});
|
|
41
41
|
_context.prev = 2;
|
|
42
42
|
_context.next = 3;
|
|
43
|
-
return
|
|
43
|
+
return _client.teamsClient.getTeamLinksByTeamId(teamId);
|
|
44
44
|
case 3:
|
|
45
45
|
_yield$teamsClient$ge = _context.sent;
|
|
46
46
|
entities = _yield$teamsClient$ge.entities;
|
|
@@ -123,7 +123,7 @@ var actions = exports.actions = {
|
|
|
123
123
|
iconsError: false
|
|
124
124
|
});
|
|
125
125
|
_context2.next = 3;
|
|
126
|
-
return
|
|
126
|
+
return _client.teamsClient.getTeamLinkIcons(uncachedUrls);
|
|
127
127
|
case 3:
|
|
128
128
|
newIconData = _context2.sent;
|
|
129
129
|
if (getState().teamId === teamId) {
|
|
@@ -175,7 +175,7 @@ var actions = exports.actions = {
|
|
|
175
175
|
case 0:
|
|
176
176
|
getState = _ref5.getState, setState = _ref5.setState, dispatch = _ref5.dispatch;
|
|
177
177
|
_context3.next = 1;
|
|
178
|
-
return
|
|
178
|
+
return _client.teamsClient.createTeamLink(teamId, newLink);
|
|
179
179
|
case 1:
|
|
180
180
|
result = _context3.sent;
|
|
181
181
|
currentState = getState();
|
|
@@ -210,7 +210,7 @@ var actions = exports.actions = {
|
|
|
210
210
|
case 0:
|
|
211
211
|
getState = _ref7.getState, setState = _ref7.setState, dispatch = _ref7.dispatch;
|
|
212
212
|
_context4.next = 1;
|
|
213
|
-
return
|
|
213
|
+
return _client.teamsClient.updateTeamLink(teamId, linkId, newLink);
|
|
214
214
|
case 1:
|
|
215
215
|
result = _context4.sent;
|
|
216
216
|
currentState = getState();
|
|
@@ -266,7 +266,7 @@ var actions = exports.actions = {
|
|
|
266
266
|
return _context5.abrupt("return");
|
|
267
267
|
case 1:
|
|
268
268
|
_context5.next = 2;
|
|
269
|
-
return
|
|
269
|
+
return _client.teamsClient.deleteTeamLink(teamId, linkId);
|
|
270
270
|
case 2:
|
|
271
271
|
setState({
|
|
272
272
|
links: currentState.links.filter(function (link) {
|
|
@@ -300,7 +300,7 @@ var actions = exports.actions = {
|
|
|
300
300
|
case 1:
|
|
301
301
|
_context6.prev = 1;
|
|
302
302
|
_context6.next = 2;
|
|
303
|
-
return
|
|
303
|
+
return _client.teamsClient.getWebLinkTitle(url);
|
|
304
304
|
case 2:
|
|
305
305
|
title = _context6.sent;
|
|
306
306
|
return _context6.abrupt("return", title);
|
|
@@ -11,7 +11,7 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
12
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
13
|
var _reactSweetState = require("react-sweet-state");
|
|
14
|
-
var
|
|
14
|
+
var _client = require("@atlaskit/teams-client/client");
|
|
15
15
|
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; }
|
|
16
16
|
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; }
|
|
17
17
|
var getInitialTeamState = function getInitialTeamState() {
|
|
@@ -65,7 +65,7 @@ var actions = exports.actions = {
|
|
|
65
65
|
});
|
|
66
66
|
_context.prev = 3;
|
|
67
67
|
_context.next = 4;
|
|
68
|
-
return
|
|
68
|
+
return _client.teamsClient.getTeamLinksByTeamId(teamId);
|
|
69
69
|
case 4:
|
|
70
70
|
_yield$teamsClient$ge = _context.sent;
|
|
71
71
|
entities = _yield$teamsClient$ge.entities;
|
|
@@ -172,7 +172,7 @@ var actions = exports.actions = {
|
|
|
172
172
|
})))
|
|
173
173
|
});
|
|
174
174
|
_context2.next = 4;
|
|
175
|
-
return
|
|
175
|
+
return _client.teamsClient.getTeamLinkIcons(uncachedUrls);
|
|
176
176
|
case 4:
|
|
177
177
|
newIconData = _context2.sent;
|
|
178
178
|
currentState = getState();
|
|
@@ -236,7 +236,7 @@ var actions = exports.actions = {
|
|
|
236
236
|
case 0:
|
|
237
237
|
getState = _ref5.getState, setState = _ref5.setState, dispatch = _ref5.dispatch;
|
|
238
238
|
_context3.next = 1;
|
|
239
|
-
return
|
|
239
|
+
return _client.teamsClient.createTeamLink(teamId, newLink);
|
|
240
240
|
case 1:
|
|
241
241
|
result = _context3.sent;
|
|
242
242
|
currentState = getState();
|
|
@@ -274,7 +274,7 @@ var actions = exports.actions = {
|
|
|
274
274
|
case 0:
|
|
275
275
|
getState = _ref7.getState, setState = _ref7.setState, dispatch = _ref7.dispatch;
|
|
276
276
|
_context4.next = 1;
|
|
277
|
-
return
|
|
277
|
+
return _client.teamsClient.updateTeamLink(teamId, linkId, newLink);
|
|
278
278
|
case 1:
|
|
279
279
|
result = _context4.sent;
|
|
280
280
|
_getState3 = getState(), teams = _getState3.teams;
|
|
@@ -340,7 +340,7 @@ var actions = exports.actions = {
|
|
|
340
340
|
case 0:
|
|
341
341
|
getState = _ref9.getState, setState = _ref9.setState;
|
|
342
342
|
_context5.next = 1;
|
|
343
|
-
return
|
|
343
|
+
return _client.teamsClient.deleteTeamLink(teamId, linkId);
|
|
344
344
|
case 1:
|
|
345
345
|
// Get fresh state after async operation
|
|
346
346
|
currentState = getState();
|
|
@@ -385,7 +385,7 @@ var actions = exports.actions = {
|
|
|
385
385
|
case 1:
|
|
386
386
|
_context6.prev = 1;
|
|
387
387
|
_context6.next = 2;
|
|
388
|
-
return
|
|
388
|
+
return _client.teamsClient.getWebLinkTitle(url);
|
|
389
389
|
case 2:
|
|
390
390
|
title = _context6.sent;
|
|
391
391
|
return _context6.abrupt("return", title);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useTeamWebLinksActions = void 0;
|
|
7
7
|
var _reactSweetState = require("react-sweet-state");
|
|
8
|
-
var
|
|
8
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
9
|
var _multiTeam = require("./multi-team");
|
|
10
10
|
var _store = require("./store");
|
|
11
11
|
var useTeamWebLinksActionsOriginal = (0, _reactSweetState.createHook)(_store.TeamWebLinksStore, {
|
|
@@ -14,7 +14,7 @@ var useTeamWebLinksActionsOriginal = (0, _reactSweetState.createHook)(_store.Tea
|
|
|
14
14
|
var useTeamWebLinksActions = exports.useTeamWebLinksActions = function useTeamWebLinksActions() {
|
|
15
15
|
var originalResult = useTeamWebLinksActionsOriginal();
|
|
16
16
|
var multiResult = (0, _multiTeam.useTeamWebLinksActions)();
|
|
17
|
-
if ((0,
|
|
17
|
+
if ((0, _fg.fg)('enable_multi_team_containers_state')) {
|
|
18
18
|
return multiResult;
|
|
19
19
|
}
|
|
20
20
|
return originalResult;
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useTeamWebLinks = void 0;
|
|
7
7
|
var _reactSweetState = require("react-sweet-state");
|
|
8
|
-
var
|
|
8
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
9
|
var _multiTeam = require("./multi-team");
|
|
10
10
|
var _store = require("./store");
|
|
11
11
|
var useTeamWebLinksOriginal = (0, _reactSweetState.createHook)(_store.TeamWebLinksStore);
|
|
12
12
|
var useTeamWebLinks = exports.useTeamWebLinks = function useTeamWebLinks(teamId) {
|
|
13
13
|
var originalResult = useTeamWebLinksOriginal();
|
|
14
14
|
var multiResult = (0, _multiTeam.useTeamWebLinks)(teamId || '');
|
|
15
|
-
if ((0,
|
|
15
|
+
if ((0, _fg.fg)('enable_multi_team_containers_state')) {
|
|
16
16
|
return multiResult;
|
|
17
17
|
}
|
|
18
18
|
return originalResult;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
-
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
2
|
+
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
3
|
+
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
3
4
|
._1bsb1osq{width:100%}
|
|
4
5
|
._4cvr1h6o{align-items:center}
|
|
5
6
|
._4t3i14no{height:36px}
|
|
@@ -14,7 +14,7 @@ var _getContainerProperties = require("../../../../common/utils/get-container-pr
|
|
|
14
14
|
var _teamContainerSkeleton = require("../../../common/ui/team-container-skeleton");
|
|
15
15
|
var styles = {
|
|
16
16
|
card: "_4cvr1h6o _1bsb1osq _4t3i14no",
|
|
17
|
-
container: "_2rkoy0do _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
17
|
+
container: "_2rkoy0do _v564k6bl _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
18
18
|
iconWrapper: "_2rko12b0 _syaz1rpy"
|
|
19
19
|
};
|
|
20
20
|
var AddContainerCardWrapper = function AddContainerCardWrapper(_ref) {
|
|
@@ -14,7 +14,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var _useAnalyticsEvents2 = require("@atlaskit/teams-app-internal-analytics/use-analytics-events");
|
|
17
|
-
var
|
|
17
|
+
var _teamsAnchor = require("@atlaskit/teams-app-internal-navigation/teams-anchor");
|
|
18
18
|
var _containerIcon = require("../../../../common/ui/container-icon");
|
|
19
19
|
var _separator = require("../../../../common/ui/separator");
|
|
20
20
|
var _teamLinkCardActions = require("../../../../common/ui/team-link-card-actions");
|
|
@@ -119,7 +119,7 @@ var TeamLinkCard = exports.TeamLinkCard = function TeamLinkCard(_ref) {
|
|
|
119
119
|
title: title,
|
|
120
120
|
containerIcon: containerIcon,
|
|
121
121
|
size: "small"
|
|
122
|
-
}), /*#__PURE__*/_react.default.createElement(
|
|
122
|
+
}), /*#__PURE__*/_react.default.createElement(_teamsAnchor.TeamsAnchor, {
|
|
123
123
|
xcss: styles.anchor,
|
|
124
124
|
href: link || '#',
|
|
125
125
|
onClick: handleLinkClick,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
1
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
2
2
|
import { containersEqual } from './containers-equal';
|
|
3
3
|
import { getErrorDetails } from './get-error-details';
|
|
4
4
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
1
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
2
2
|
import { containersDeepEqual } from './containers-deep-equal';
|
|
3
3
|
import { initialConnectedTeamsState } from './initial-connected-teams-state';
|
|
4
4
|
export const actions = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
3
|
-
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
|
|
2
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
3
|
+
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
4
4
|
import { usePeopleAndTeamAnalytics } from '../../../common/utils/analytics';
|
|
5
5
|
import { getErrorDetails } from './get-error-details';
|
|
6
6
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
-
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
2
|
+
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
3
3
|
import { useConnectedTeams as useConnectedTeamsMulti } from './use-connected-teams-2';
|
|
4
4
|
import { useTeamContainersHook } from './use-team-containers-hook';
|
|
5
5
|
export const useConnectedTeams = teamId => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect } from 'react';
|
|
2
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
3
|
-
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
|
|
2
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
3
|
+
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
4
4
|
import { usePeopleAndTeamAnalytics } from '../../../common/utils/analytics';
|
|
5
5
|
import { getErrorDetails } from './get-error-details';
|
|
6
6
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect } from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
|
-
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
|
+
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
4
4
|
import { useTeamContainers as useTeamContainersMulti } from './use-team-containers-2';
|
|
5
5
|
import { useTeamContainersHook } from './use-team-containers-hook';
|
|
6
6
|
export const useTeamContainers = (teamId, enable = true) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHook } from 'react-sweet-state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { useTeamWebLinksActions as useTeamWebLinksActionsMulti } from './multi-team';
|
|
4
4
|
import { TeamWebLinksStore } from './store';
|
|
5
5
|
const useTeamWebLinksActionsOriginal = createHook(TeamWebLinksStore, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHook } from 'react-sweet-state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { useTeamWebLinks as useTeamWebLinksMulti } from './multi-team';
|
|
4
4
|
import { TeamWebLinksStore } from './store';
|
|
5
5
|
const useTeamWebLinksOriginal = createHook(TeamWebLinksStore);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
-
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
2
|
+
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
3
|
+
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
3
4
|
._1bsb1osq{width:100%}
|
|
4
5
|
._4cvr1h6o{align-items:center}
|
|
5
6
|
._4t3i14no{height:36px}
|
|
@@ -7,7 +7,7 @@ import { getContainerProperties } from '../../../../common/utils/get-container-p
|
|
|
7
7
|
import { TeamContainerSkeleton } from '../../../common/ui/team-container-skeleton';
|
|
8
8
|
const styles = {
|
|
9
9
|
card: "_4cvr1h6o _1bsb1osq _4t3i14no",
|
|
10
|
-
container: "_2rkoy0do _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
10
|
+
container: "_2rkoy0do _v564k6bl _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
11
11
|
iconWrapper: "_2rko12b0 _syaz1rpy"
|
|
12
12
|
};
|
|
13
13
|
const AddContainerCardWrapper = ({
|
|
@@ -4,7 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React, { useState } from 'react';
|
|
5
5
|
import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
7
|
-
import { TeamsAnchor } from '@atlaskit/teams-app-internal-navigation';
|
|
7
|
+
import { TeamsAnchor } from '@atlaskit/teams-app-internal-navigation/teams-anchor';
|
|
8
8
|
import { ContainerIcon } from '../../../../common/ui/container-icon';
|
|
9
9
|
import { Separator } from '../../../../common/ui/separator';
|
|
10
10
|
import { TeamLinkCardActions } from '../../../../common/ui/team-link-card-actions';
|
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
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; }
|
|
6
6
|
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; }
|
|
7
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
7
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
8
8
|
import { containersEqual } from './containers-equal';
|
|
9
9
|
import { getErrorDetails } from './get-error-details';
|
|
10
10
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
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; }
|
|
5
5
|
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; }
|
|
6
6
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
7
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
7
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
8
8
|
import { containersDeepEqual } from './containers-deep-equal';
|
|
9
9
|
import { initialConnectedTeamsState } from './initial-connected-teams-state';
|
|
10
10
|
export var actions = {
|
|
@@ -3,8 +3,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
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; }
|
|
4
4
|
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; }
|
|
5
5
|
import { useCallback } from 'react';
|
|
6
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
7
|
-
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
|
|
6
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
7
|
+
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
8
8
|
import { usePeopleAndTeamAnalytics } from '../../../common/utils/analytics';
|
|
9
9
|
import { getErrorDetails } from './get-error-details';
|
|
10
10
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -2,8 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
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; }
|
|
4
4
|
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; }
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
-
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
+
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
7
7
|
import { useConnectedTeams as useConnectedTeamsMulti } from './use-connected-teams-2';
|
|
8
8
|
import { useTeamContainersHook } from './use-team-containers-hook';
|
|
9
9
|
export var useConnectedTeams = function useConnectedTeams(teamId) {
|
|
@@ -5,8 +5,8 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
5
5
|
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; }
|
|
6
6
|
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; }
|
|
7
7
|
import { useCallback, useEffect } from 'react';
|
|
8
|
-
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
9
|
-
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics';
|
|
8
|
+
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
9
|
+
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
10
10
|
import { usePeopleAndTeamAnalytics } from '../../../common/utils/analytics';
|
|
11
11
|
import { getErrorDetails } from './get-error-details';
|
|
12
12
|
import { getInitialTeamState } from './get-initial-team-state';
|
|
@@ -5,8 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
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; }
|
|
6
6
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
7
7
|
import { useCallback, useEffect } from 'react';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
|
+
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
10
10
|
import { useTeamContainers as useTeamContainersMulti } from './use-team-containers-2';
|
|
11
11
|
import { useTeamContainersHook } from './use-team-containers-hook';
|
|
12
12
|
export var useTeamContainers = function useTeamContainers(teamId) {
|
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
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; }
|
|
5
5
|
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; }
|
|
6
6
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
7
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
7
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
8
8
|
import { initialState as _initialState } from './initial-state';
|
|
9
9
|
export var actions = {
|
|
10
10
|
getTeamWebLinks: function getTeamWebLinks(teamId) {
|
|
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
6
6
|
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; }
|
|
7
7
|
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; }
|
|
8
8
|
import { createHook, createStore } from 'react-sweet-state';
|
|
9
|
-
import { teamsClient } from '@atlaskit/teams-client';
|
|
9
|
+
import { teamsClient } from '@atlaskit/teams-client/client';
|
|
10
10
|
var getInitialTeamState = function getInitialTeamState() {
|
|
11
11
|
return {
|
|
12
12
|
isLoading: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHook } from 'react-sweet-state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { useTeamWebLinksActions as useTeamWebLinksActionsMulti } from './multi-team';
|
|
4
4
|
import { TeamWebLinksStore } from './store';
|
|
5
5
|
var useTeamWebLinksActionsOriginal = createHook(TeamWebLinksStore, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createHook } from 'react-sweet-state';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { useTeamWebLinks as useTeamWebLinksMulti } from './multi-team';
|
|
4
4
|
import { TeamWebLinksStore } from './store';
|
|
5
5
|
var useTeamWebLinksOriginal = createHook(TeamWebLinksStore);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
-
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
2
|
+
._2rkoy0do{border-radius:var(--ds-radius-small,8px)}
|
|
3
|
+
._v564k6bl{transition:var(--ds-button-hovered,background-color border-color .15s cubic-bezier(.4,1,.6,1))}._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
3
4
|
._1bsb1osq{width:100%}
|
|
4
5
|
._4cvr1h6o{align-items:center}
|
|
5
6
|
._4t3i14no{height:36px}
|
|
@@ -7,7 +7,7 @@ import { getContainerProperties } from '../../../../common/utils/get-container-p
|
|
|
7
7
|
import { TeamContainerSkeleton } from '../../../common/ui/team-container-skeleton';
|
|
8
8
|
var styles = {
|
|
9
9
|
card: "_4cvr1h6o _1bsb1osq _4t3i14no",
|
|
10
|
-
container: "_2rkoy0do _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
10
|
+
container: "_2rkoy0do _v564k6bl _ca0q1b66 _u5f312x7 _n3td1b66 _19bv12x7 _bfhkvuon _irr319i6",
|
|
11
11
|
iconWrapper: "_2rko12b0 _syaz1rpy"
|
|
12
12
|
};
|
|
13
13
|
var AddContainerCardWrapper = function AddContainerCardWrapper(_ref) {
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import { Box, Flex, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
10
10
|
import { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
11
|
-
import { TeamsAnchor } from '@atlaskit/teams-app-internal-navigation';
|
|
11
|
+
import { TeamsAnchor } from '@atlaskit/teams-app-internal-navigation/teams-anchor';
|
|
12
12
|
import { ContainerIcon } from '../../../../common/ui/container-icon';
|
|
13
13
|
import { Separator } from '../../../../common/ui/separator';
|
|
14
14
|
import { TeamLinkCardActions } from '../../../../common/ui/team-link-card-actions';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Action } from 'react-sweet-state';
|
|
2
|
-
import {
|
|
2
|
+
import type { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
3
3
|
import { type TeamContainer } from '../../../common/types';
|
|
4
4
|
import type { FireAnalyticsProps } from './fire-analytics-props';
|
|
5
5
|
import type { State } from './state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Action } from 'react-sweet-state';
|
|
2
|
-
import {
|
|
2
|
+
import type { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
3
3
|
import { type TeamContainer } from '../../../common/types';
|
|
4
4
|
import type { TeamContainersState } from './team-containers-state';
|
|
5
5
|
export declare const actions: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/
|
|
1
|
+
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/unlink-container-mutation';
|
|
2
2
|
import type { TeamState } from './team-state';
|
|
3
3
|
export type State = {
|
|
4
4
|
teams: Record<string, TeamState>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { TeamContainers
|
|
1
|
+
import type { TeamContainers } from '@atlaskit/teams-client/team-containers';
|
|
2
|
+
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/unlink-container-mutation';
|
|
2
3
|
import type { ConnectedTeams } from './connected-teams';
|
|
3
4
|
/**
|
|
4
5
|
* State shape for the single-team `teamContainersStore`.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { TeamContainers
|
|
1
|
+
import type { TeamContainers } from '@atlaskit/teams-client/team-containers';
|
|
2
|
+
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/unlink-container-mutation';
|
|
2
3
|
import type { ConnectedTeams } from './connected-teams';
|
|
3
4
|
export type TeamState = {
|
|
4
5
|
teamContainers: TeamContainers;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TeamWithMemberships } from '@atlaskit/teams-client/
|
|
1
|
+
import type { TeamWithMemberships } from '@atlaskit/teams-client/membership';
|
|
2
2
|
export declare const useConnectedTeams: (teamId: string) => {
|
|
3
3
|
fetchNumberOfConnectedTeams: (containerId: string) => void | Promise<void>;
|
|
4
4
|
fetchConnectedTeams: (containerId: string) => void | Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TeamWithMemberships } from '@atlaskit/teams-client/
|
|
1
|
+
import type { TeamWithMemberships } from '@atlaskit/teams-client/membership';
|
|
2
2
|
export declare const useConnectedTeams: (teamId?: string) => {
|
|
3
3
|
fetchNumberOfConnectedTeams: (containerId: string) => void | Promise<void>;
|
|
4
4
|
fetchConnectedTeams: (containerId: string) => void | Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { TeamContainers
|
|
1
|
+
import type { TeamContainers } from '@atlaskit/teams-client/team-containers';
|
|
2
|
+
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/unlink-container-mutation';
|
|
2
3
|
import { type TeamContainer } from '../../../common/types';
|
|
3
4
|
import type { ConnectedTeams } from './connected-teams';
|
|
4
5
|
export declare const useTeamContainers: (teamId: string, enable?: boolean) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Action, type BoundActions, type HookFunction } from 'react-sweet-state';
|
|
2
|
-
import {
|
|
2
|
+
import type { useAnalyticsEvents } from '@atlaskit/teams-app-internal-analytics/use-analytics-events';
|
|
3
3
|
import { type TeamContainer } from '../../../common/types';
|
|
4
4
|
import type { TeamContainersState } from './team-containers-state';
|
|
5
5
|
export declare const useTeamContainersHook: HookFunction<TeamContainersState, BoundActions<TeamContainersState, {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { TeamContainers
|
|
1
|
+
import type { TeamContainers } from '@atlaskit/teams-client/team-containers';
|
|
2
|
+
import type { TeamWithMemberships } from '@atlaskit/teams-client/membership';
|
|
3
|
+
import type { UnlinkContainerMutationError } from '@atlaskit/teams-client/unlink-container-mutation';
|
|
2
4
|
import { type TeamContainer } from '../../../common/types';
|
|
3
5
|
export declare const useTeamContainers: (teamId: string, enable?: boolean) => {
|
|
4
6
|
teamContainers: TeamContainers;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TeamLink } from '@atlaskit/teams-client/
|
|
1
|
+
import type { TeamLink } from '@atlaskit/teams-client/links';
|
|
2
2
|
import { type NewTeamWebLink } from '../../../common/types';
|
|
3
3
|
import { type StoreApi, type TeamWebLinksState } from './types';
|
|
4
4
|
export declare const actions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BoundActions, type HookFunction } from 'react-sweet-state';
|
|
2
|
-
import type { TeamLink } from '@atlaskit/teams-client/
|
|
2
|
+
import type { TeamLink } from '@atlaskit/teams-client/links';
|
|
3
3
|
import { type NewTeamWebLink, type TeamWebLink } from '../../../common/types';
|
|
4
4
|
import { type StoreApi, type TeamLinkIconData, type TeamWebLinksState as TeamWebLinksStateType } from './types';
|
|
5
5
|
type TeamWebLinksTeamState = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BoundActions, type HookReturnValue } from 'react-sweet-state';
|
|
2
|
-
import type { TeamLink } from '@atlaskit/teams-client/
|
|
2
|
+
import type { TeamLink } from '@atlaskit/teams-client/links';
|
|
3
3
|
import { type NewTeamWebLink, type TeamWebLink } from '../../../common/types';
|
|
4
4
|
import { type StoreApi, type TeamLinkIconData, type TeamWebLinksState } from './types';
|
|
5
5
|
export declare const useTeamWebLinksActions: () => HookReturnValue<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BoundActions, type HookReturnValue } from 'react-sweet-state';
|
|
2
|
-
import type { TeamLink } from '@atlaskit/teams-client/
|
|
2
|
+
import type { TeamLink } from '@atlaskit/teams-client/links';
|
|
3
3
|
import { type NewTeamWebLink } from '../../../common/types';
|
|
4
4
|
import { type StoreApi, type TeamWebLinksState } from './types';
|
|
5
5
|
export declare const useTeamWebLinks: (teamId?: string) => HookReturnValue<TeamWebLinksState, BoundActions<TeamWebLinksState, {
|
package/jira-icon/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-public/jira-icon",
|
|
3
|
-
"main": "../dist/cjs/common/assets/
|
|
4
|
-
"module": "../dist/esm/common/assets/
|
|
5
|
-
"module:es2019": "../dist/es2019/common/assets/
|
|
3
|
+
"main": "../dist/cjs/common/assets/jira-icon.js",
|
|
4
|
+
"module": "../dist/esm/common/assets/jira-icon.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/common/assets/jira-icon.js",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
|
-
]
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/common/assets/jira-icon.d.ts"
|
|
9
10
|
}
|
package/loom-icon/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-public/loom-icon",
|
|
3
|
-
"main": "../dist/cjs/common/assets/
|
|
4
|
-
"module": "../dist/esm/common/assets/
|
|
5
|
-
"module:es2019": "../dist/es2019/common/assets/
|
|
3
|
+
"main": "../dist/cjs/common/assets/loom-icon.js",
|
|
4
|
+
"module": "../dist/esm/common/assets/loom-icon.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/common/assets/loom-icon.js",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
|
-
]
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/common/assets/loom-icon.d.ts"
|
|
9
10
|
}
|
package/package.json
CHANGED
|
@@ -24,29 +24,29 @@
|
|
|
24
24
|
"atlaskit:src": "src/index.ts",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/afm-i18n-platform-people-and-teams-teams-public": "2.225.0",
|
|
27
|
-
"@atlaskit/analytics-next": "^12.
|
|
28
|
-
"@atlaskit/avatar": "^
|
|
29
|
-
"@atlaskit/button": "^25.
|
|
30
|
-
"@atlaskit/css": "^1.
|
|
31
|
-
"@atlaskit/dropdown-menu": "^18.
|
|
27
|
+
"@atlaskit/analytics-next": "^12.5.0",
|
|
28
|
+
"@atlaskit/avatar": "^28.0.0",
|
|
29
|
+
"@atlaskit/button": "^25.3.0",
|
|
30
|
+
"@atlaskit/css": "^1.1.0",
|
|
31
|
+
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
32
32
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
33
|
-
"@atlaskit/heading": "^7.
|
|
34
|
-
"@atlaskit/icon": "^37.
|
|
35
|
-
"@atlaskit/image": "^5.
|
|
33
|
+
"@atlaskit/heading": "^7.2.0",
|
|
34
|
+
"@atlaskit/icon": "^37.6.0",
|
|
35
|
+
"@atlaskit/image": "^5.2.0",
|
|
36
36
|
"@atlaskit/link": "^5.1.0",
|
|
37
|
-
"@atlaskit/modal-dialog": "^16.
|
|
37
|
+
"@atlaskit/modal-dialog": "^16.6.0",
|
|
38
38
|
"@atlaskit/people-teams-ui-public": "^5.2.0",
|
|
39
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
40
|
-
"@atlaskit/primitives": "^22.
|
|
39
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
40
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
41
41
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
42
|
-
"@atlaskit/skeleton": "^4.
|
|
42
|
+
"@atlaskit/skeleton": "^4.4.0",
|
|
43
43
|
"@atlaskit/teams-app-internal-analytics": "^2.4.0",
|
|
44
44
|
"@atlaskit/teams-app-internal-navigation": "^2.3.0",
|
|
45
45
|
"@atlaskit/teams-app-internal-product-permissions": "^2.2.0",
|
|
46
|
-
"@atlaskit/teams-client": "^5.
|
|
46
|
+
"@atlaskit/teams-client": "^5.4.0",
|
|
47
47
|
"@atlaskit/tile": "^4.1.0",
|
|
48
|
-
"@atlaskit/tokens": "^16.
|
|
49
|
-
"@atlaskit/tooltip": "^24.
|
|
48
|
+
"@atlaskit/tokens": "^16.11.0",
|
|
49
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@compiled/react": "^1.0.2",
|
|
52
52
|
"@types/string-hash": "^1.1.3",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@af/visual-regression": "workspace:^",
|
|
67
67
|
"@atlaskit/ssr": "workspace:^",
|
|
68
68
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
69
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
70
|
-
"@atlassian/ptc-test-utils": "^0.
|
|
71
|
-
"@atlassian/teams-app-internal-playground": "^2.
|
|
69
|
+
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
70
|
+
"@atlassian/ptc-test-utils": "^0.15.0",
|
|
71
|
+
"@atlassian/teams-app-internal-playground": "^2.10.0",
|
|
72
72
|
"@atlassian/testing-library": "^0.11.0",
|
|
73
73
|
"@testing-library/react": "^16.3.0",
|
|
74
74
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -76,42 +76,8 @@
|
|
|
76
76
|
"react-dom": "^19.2.0",
|
|
77
77
|
"react-intl": "^7.0.0"
|
|
78
78
|
},
|
|
79
|
-
"techstack": {
|
|
80
|
-
"@atlassian/frontend": {
|
|
81
|
-
"import-structure": [
|
|
82
|
-
"atlassian-conventions"
|
|
83
|
-
],
|
|
84
|
-
"circular-dependencies": [
|
|
85
|
-
"file-and-folder-level"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"@repo/internal": {
|
|
89
|
-
"analytics": [
|
|
90
|
-
"analytics-next"
|
|
91
|
-
],
|
|
92
|
-
"design-tokens": [
|
|
93
|
-
"color"
|
|
94
|
-
],
|
|
95
|
-
"theming": [
|
|
96
|
-
"react-context"
|
|
97
|
-
],
|
|
98
|
-
"ui-components": [
|
|
99
|
-
"lite-mode"
|
|
100
|
-
],
|
|
101
|
-
"deprecation": [
|
|
102
|
-
"no-deprecated-imports"
|
|
103
|
-
],
|
|
104
|
-
"styling": [
|
|
105
|
-
"static",
|
|
106
|
-
"compiled"
|
|
107
|
-
],
|
|
108
|
-
"imports": [
|
|
109
|
-
"import-no-extraneous-disable-for-examples-and-docs"
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
79
|
"name": "@atlaskit/teams-public",
|
|
114
|
-
"version": "2.9.
|
|
80
|
+
"version": "2.9.2",
|
|
115
81
|
"description": "Public components related to teams",
|
|
116
82
|
"author": "Atlassian Pty Ltd",
|
|
117
83
|
"license": "Apache-2.0",
|