@atlaskit/teams-public 2.9.1 → 2.9.3
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 +15 -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-web-links/actions.js +7 -7
- package/dist/cjs/controllers/hooks/use-team-web-links/multi-team.js +7 -7
- package/dist/cjs/ui/team-containers/add-container-card/getAddContainerCards.js +2 -5
- package/dist/cjs/ui/team-containers/main.js +9 -13
- 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-web-links/actions.js +1 -1
- package/dist/es2019/controllers/hooks/use-team-web-links/multi-team.js +1 -1
- package/dist/es2019/ui/team-containers/add-container-card/getAddContainerCards.js +2 -5
- package/dist/es2019/ui/team-containers/main.js +9 -13
- 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-web-links/actions.js +1 -1
- package/dist/esm/controllers/hooks/use-team-web-links/multi-team.js +1 -1
- package/dist/esm/ui/team-containers/add-container-card/getAddContainerCards.js +2 -5
- package/dist/esm/ui/team-containers/main.js +9 -13
- 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.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/dist/types/ui/team-containers/add-container-card/getAddContainerCards.d.ts +1 -2
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 2.9.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9a59eac015bf9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9a59eac015bf9) -
|
|
8
|
+
Cleanup feature gate `teams-a11y-34974-34752-34709`. Semantic description list (`dl`/`dt`/`dd`)
|
|
9
|
+
markup for team details fields and list semantics (`role="list"`/`role="listitem"`) for team
|
|
10
|
+
containers are now permanently enabled.
|
|
11
|
+
|
|
12
|
+
## 2.9.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 2.9.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -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) {
|
|
@@ -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);
|
|
@@ -12,15 +12,12 @@ var getAddContainerCards = exports.getAddContainerCards = function getAddContain
|
|
|
12
12
|
var containers = _ref.containers,
|
|
13
13
|
_onAddAContainerClick = _ref.onAddAContainerClick,
|
|
14
14
|
CustomAddContainerCard = _ref.CustomAddContainerCard,
|
|
15
|
-
canCreateContainers = _ref.canCreateContainers
|
|
16
|
-
isTeamsA11yGateEnabled = _ref.isTeamsA11yGateEnabled;
|
|
15
|
+
canCreateContainers = _ref.canCreateContainers;
|
|
17
16
|
var AddContainerCardComponent = CustomAddContainerCard !== null && CustomAddContainerCard !== void 0 ? CustomAddContainerCard : _AddContainerCard.AddContainerCard;
|
|
18
17
|
var renderCard = function renderCard(key, card) {
|
|
19
|
-
return
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
20
19
|
key: key,
|
|
21
20
|
role: "listitem"
|
|
22
|
-
}, card) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
23
|
-
key: key
|
|
24
21
|
}, card);
|
|
25
22
|
};
|
|
26
23
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, containers.Jira.canAdd && renderCard('jira-add-container', /*#__PURE__*/_react.default.createElement(AddContainerCardComponent, {
|
|
@@ -10,7 +10,6 @@ exports.TeamContainers = exports.MAX_NUMBER_OF_CONTAINERS_TO_SHOW = exports.ICON
|
|
|
10
10
|
require("./main.compiled.css");
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
12
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
13
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
13
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
15
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -302,13 +301,11 @@ var TeamContainers = exports.TeamContainers = function TeamContainers(_ref) {
|
|
|
302
301
|
space: "space.200"
|
|
303
302
|
}, function () {
|
|
304
303
|
var GridComponent = (components === null || components === void 0 ? void 0 : components.Grid) || _compiled.Grid;
|
|
305
|
-
|
|
306
|
-
return /*#__PURE__*/_react.default.createElement(GridComponent, (0, _extends2.default)({
|
|
304
|
+
return /*#__PURE__*/_react.default.createElement(GridComponent, {
|
|
307
305
|
xcss: gridStyles.templateColumns,
|
|
308
|
-
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100'
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}), elemBeforeCards && function () {
|
|
306
|
+
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100',
|
|
307
|
+
role: "list"
|
|
308
|
+
}, elemBeforeCards && function () {
|
|
312
309
|
var ElemBeforeCards = elemBeforeCards;
|
|
313
310
|
return /*#__PURE__*/_react.default.createElement(ElemBeforeCards, null);
|
|
314
311
|
}(), filteredTeamLinks.slice(0, maxNumberOfContainersToShow).map(function (container) {
|
|
@@ -333,16 +330,15 @@ var TeamContainers = exports.TeamContainers = function TeamContainers(_ref) {
|
|
|
333
330
|
return handleEditContainerClick(container);
|
|
334
331
|
}
|
|
335
332
|
});
|
|
336
|
-
return
|
|
333
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
337
334
|
key: container.id,
|
|
338
335
|
role: "listitem"
|
|
339
|
-
}, card)
|
|
336
|
+
}, card);
|
|
340
337
|
}), (0, _getAddContainerCards.getAddContainerCards)({
|
|
341
338
|
containers: availableContainers,
|
|
342
339
|
onAddAContainerClick: onAddAContainerClick,
|
|
343
340
|
CustomAddContainerCard: components === null || components === void 0 ? void 0 : components.AddContainerCard,
|
|
344
|
-
canCreateContainers: hasPermissionToCreateContainer
|
|
345
|
-
isTeamsA11yGateEnabled: isTeamsA11yGateEnabled
|
|
341
|
+
canCreateContainers: hasPermissionToCreateContainer
|
|
346
342
|
}), showMore && filteredTeamLinks.slice(maxNumberOfContainersToShow).map(function (container) {
|
|
347
343
|
var card = /*#__PURE__*/_react.default.createElement(LinkedContainerCardComponent, {
|
|
348
344
|
key: container.id,
|
|
@@ -365,10 +361,10 @@ var TeamContainers = exports.TeamContainers = function TeamContainers(_ref) {
|
|
|
365
361
|
return handleEditContainerClick(container);
|
|
366
362
|
}
|
|
367
363
|
});
|
|
368
|
-
return
|
|
364
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
369
365
|
key: container.id,
|
|
370
366
|
role: "listitem"
|
|
371
|
-
}, card)
|
|
367
|
+
}, card);
|
|
372
368
|
}));
|
|
373
369
|
}(), filteredTeamLinks.length > maxNumberOfContainersToShow && /*#__PURE__*/_react.default.createElement(_compiled.Inline, null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
374
370
|
appearance: "subtle",
|
|
@@ -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 = {
|
|
@@ -5,16 +5,13 @@ export const getAddContainerCards = ({
|
|
|
5
5
|
containers,
|
|
6
6
|
onAddAContainerClick,
|
|
7
7
|
CustomAddContainerCard,
|
|
8
|
-
canCreateContainers
|
|
9
|
-
isTeamsA11yGateEnabled
|
|
8
|
+
canCreateContainers
|
|
10
9
|
}) => {
|
|
11
10
|
const AddContainerCardComponent = CustomAddContainerCard !== null && CustomAddContainerCard !== void 0 ? CustomAddContainerCard : AddContainerCard;
|
|
12
11
|
const renderCard = (key, card) => {
|
|
13
|
-
return
|
|
12
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
14
13
|
key: key,
|
|
15
14
|
role: "listitem"
|
|
16
|
-
}, card) : /*#__PURE__*/React.createElement(React.Fragment, {
|
|
17
|
-
key: key
|
|
18
15
|
}, card);
|
|
19
16
|
};
|
|
20
17
|
return /*#__PURE__*/React.createElement(React.Fragment, null, containers.Jira.canAdd && renderCard('jira-add-container', /*#__PURE__*/React.createElement(AddContainerCardComponent, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* main.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import "./main.compiled.css";
|
|
4
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
@@ -245,13 +244,11 @@ export const TeamContainers = ({
|
|
|
245
244
|
space: "space.200"
|
|
246
245
|
}, (() => {
|
|
247
246
|
const GridComponent = (components === null || components === void 0 ? void 0 : components.Grid) || Grid;
|
|
248
|
-
|
|
249
|
-
return /*#__PURE__*/React.createElement(GridComponent, _extends({
|
|
247
|
+
return /*#__PURE__*/React.createElement(GridComponent, {
|
|
250
248
|
xcss: gridStyles.templateColumns,
|
|
251
|
-
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100'
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}), elemBeforeCards && (() => {
|
|
249
|
+
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100',
|
|
250
|
+
role: "list"
|
|
251
|
+
}, elemBeforeCards && (() => {
|
|
255
252
|
const ElemBeforeCards = elemBeforeCards;
|
|
256
253
|
return /*#__PURE__*/React.createElement(ElemBeforeCards, null);
|
|
257
254
|
})(), filteredTeamLinks.slice(0, maxNumberOfContainersToShow).map(container => {
|
|
@@ -272,16 +269,15 @@ export const TeamContainers = ({
|
|
|
272
269
|
}),
|
|
273
270
|
onEditLinkClick: () => handleEditContainerClick(container)
|
|
274
271
|
});
|
|
275
|
-
return
|
|
272
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
276
273
|
key: container.id,
|
|
277
274
|
role: "listitem"
|
|
278
|
-
}, card)
|
|
275
|
+
}, card);
|
|
279
276
|
}), getAddContainerCards({
|
|
280
277
|
containers: availableContainers,
|
|
281
278
|
onAddAContainerClick: onAddAContainerClick,
|
|
282
279
|
CustomAddContainerCard: components === null || components === void 0 ? void 0 : components.AddContainerCard,
|
|
283
|
-
canCreateContainers: hasPermissionToCreateContainer
|
|
284
|
-
isTeamsA11yGateEnabled
|
|
280
|
+
canCreateContainers: hasPermissionToCreateContainer
|
|
285
281
|
}), showMore && filteredTeamLinks.slice(maxNumberOfContainersToShow).map(container => {
|
|
286
282
|
const card = /*#__PURE__*/React.createElement(LinkedContainerCardComponent, {
|
|
287
283
|
key: container.id,
|
|
@@ -300,10 +296,10 @@ export const TeamContainers = ({
|
|
|
300
296
|
}),
|
|
301
297
|
onEditLinkClick: () => handleEditContainerClick(container)
|
|
302
298
|
});
|
|
303
|
-
return
|
|
299
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
304
300
|
key: container.id,
|
|
305
301
|
role: "listitem"
|
|
306
|
-
}, card)
|
|
302
|
+
}, card);
|
|
307
303
|
}));
|
|
308
304
|
})(), filteredTeamLinks.length > maxNumberOfContainersToShow && /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement(Button, {
|
|
309
305
|
appearance: "subtle",
|
|
@@ -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 = {
|
|
@@ -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,
|
|
@@ -5,15 +5,12 @@ export var getAddContainerCards = function getAddContainerCards(_ref) {
|
|
|
5
5
|
var containers = _ref.containers,
|
|
6
6
|
_onAddAContainerClick = _ref.onAddAContainerClick,
|
|
7
7
|
CustomAddContainerCard = _ref.CustomAddContainerCard,
|
|
8
|
-
canCreateContainers = _ref.canCreateContainers
|
|
9
|
-
isTeamsA11yGateEnabled = _ref.isTeamsA11yGateEnabled;
|
|
8
|
+
canCreateContainers = _ref.canCreateContainers;
|
|
10
9
|
var AddContainerCardComponent = CustomAddContainerCard !== null && CustomAddContainerCard !== void 0 ? CustomAddContainerCard : AddContainerCard;
|
|
11
10
|
var renderCard = function renderCard(key, card) {
|
|
12
|
-
return
|
|
11
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
13
12
|
key: key,
|
|
14
13
|
role: "listitem"
|
|
15
|
-
}, card) : /*#__PURE__*/React.createElement(React.Fragment, {
|
|
16
|
-
key: key
|
|
17
14
|
}, card);
|
|
18
15
|
};
|
|
19
16
|
return /*#__PURE__*/React.createElement(React.Fragment, null, containers.Jira.canAdd && renderCard('jira-add-container', /*#__PURE__*/React.createElement(AddContainerCardComponent, {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* main.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
4
|
import "./main.compiled.css";
|
|
@@ -293,13 +292,11 @@ export var TeamContainers = function TeamContainers(_ref) {
|
|
|
293
292
|
space: "space.200"
|
|
294
293
|
}, function () {
|
|
295
294
|
var GridComponent = (components === null || components === void 0 ? void 0 : components.Grid) || Grid;
|
|
296
|
-
|
|
297
|
-
return /*#__PURE__*/React.createElement(GridComponent, _extends({
|
|
295
|
+
return /*#__PURE__*/React.createElement(GridComponent, {
|
|
298
296
|
xcss: gridStyles.templateColumns,
|
|
299
|
-
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100'
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}), elemBeforeCards && function () {
|
|
297
|
+
gap: isDisplayedOnProfileCard ? 'space.0' : 'space.100',
|
|
298
|
+
role: "list"
|
|
299
|
+
}, elemBeforeCards && function () {
|
|
303
300
|
var ElemBeforeCards = elemBeforeCards;
|
|
304
301
|
return /*#__PURE__*/React.createElement(ElemBeforeCards, null);
|
|
305
302
|
}(), filteredTeamLinks.slice(0, maxNumberOfContainersToShow).map(function (container) {
|
|
@@ -324,16 +321,15 @@ export var TeamContainers = function TeamContainers(_ref) {
|
|
|
324
321
|
return handleEditContainerClick(container);
|
|
325
322
|
}
|
|
326
323
|
});
|
|
327
|
-
return
|
|
324
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
328
325
|
key: container.id,
|
|
329
326
|
role: "listitem"
|
|
330
|
-
}, card)
|
|
327
|
+
}, card);
|
|
331
328
|
}), getAddContainerCards({
|
|
332
329
|
containers: availableContainers,
|
|
333
330
|
onAddAContainerClick: onAddAContainerClick,
|
|
334
331
|
CustomAddContainerCard: components === null || components === void 0 ? void 0 : components.AddContainerCard,
|
|
335
|
-
canCreateContainers: hasPermissionToCreateContainer
|
|
336
|
-
isTeamsA11yGateEnabled: isTeamsA11yGateEnabled
|
|
332
|
+
canCreateContainers: hasPermissionToCreateContainer
|
|
337
333
|
}), showMore && filteredTeamLinks.slice(maxNumberOfContainersToShow).map(function (container) {
|
|
338
334
|
var card = /*#__PURE__*/React.createElement(LinkedContainerCardComponent, {
|
|
339
335
|
key: container.id,
|
|
@@ -356,10 +352,10 @@ export var TeamContainers = function TeamContainers(_ref) {
|
|
|
356
352
|
return handleEditContainerClick(container);
|
|
357
353
|
}
|
|
358
354
|
});
|
|
359
|
-
return
|
|
355
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
360
356
|
key: container.id,
|
|
361
357
|
role: "listitem"
|
|
362
|
-
}, card)
|
|
358
|
+
}, card);
|
|
363
359
|
}));
|
|
364
360
|
}(), filteredTeamLinks.length > maxNumberOfContainersToShow && /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement(Button, {
|
|
365
361
|
appearance: "subtle",
|
|
@@ -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,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, {
|
|
@@ -14,7 +14,6 @@ type GetAddContainerCardsProps = {
|
|
|
14
14
|
onAddAContainerClick: (e: React.MouseEvent<HTMLButtonElement>, containerType: 'Confluence' | 'Jira' | 'Loom' | 'WebLink') => void;
|
|
15
15
|
CustomAddContainerCard?: React.ComponentType<AddContainerCardProps>;
|
|
16
16
|
canCreateContainers?: boolean;
|
|
17
|
-
isTeamsA11yGateEnabled?: boolean;
|
|
18
17
|
};
|
|
19
|
-
export declare const getAddContainerCards: ({ containers, onAddAContainerClick, CustomAddContainerCard, canCreateContainers,
|
|
18
|
+
export declare const getAddContainerCards: ({ containers, onAddAContainerClick, CustomAddContainerCard, canCreateContainers, }: GetAddContainerCardsProps) => React.JSX.Element;
|
|
20
19
|
export {};
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/afm-i18n-platform-people-and-teams-teams-public": "2.225.0",
|
|
27
27
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
28
|
-
"@atlaskit/avatar": "^
|
|
28
|
+
"@atlaskit/avatar": "^28.0.0",
|
|
29
29
|
"@atlaskit/button": "^25.3.0",
|
|
30
30
|
"@atlaskit/css": "^1.1.0",
|
|
31
31
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react-intl": "^7.0.0"
|
|
78
78
|
},
|
|
79
79
|
"name": "@atlaskit/teams-public",
|
|
80
|
-
"version": "2.9.
|
|
80
|
+
"version": "2.9.3",
|
|
81
81
|
"description": "Public components related to teams",
|
|
82
82
|
"author": "Atlassian Pty Ltd",
|
|
83
83
|
"license": "Apache-2.0",
|
|
@@ -109,9 +109,6 @@
|
|
|
109
109
|
},
|
|
110
110
|
"enable_teams_t26_design_drop_core_experiences": {
|
|
111
111
|
"type": "boolean"
|
|
112
|
-
},
|
|
113
|
-
"teams-a11y-34974-34752-34709": {
|
|
114
|
-
"type": "boolean"
|
|
115
112
|
}
|
|
116
113
|
}
|
|
117
114
|
}
|