@atlaskit/teams-public 0.42.0 → 0.42.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 0.42.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#183882](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/183882)
|
|
8
|
+
[`870803e533f40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/870803e533f40) -
|
|
9
|
+
Update team links disconnect dialog message
|
|
10
|
+
|
|
11
|
+
## 0.42.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.42.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -15,7 +15,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
15
15
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
16
16
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
17
17
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
|
-
var _getContainerProperties = require("../../../common/utils/get-container-properties");
|
|
19
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
19
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
21
20
|
disconnectDialogTitle: {
|
|
@@ -25,12 +24,12 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
25
24
|
},
|
|
26
25
|
disconnectDialogDescription: {
|
|
27
26
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.description',
|
|
28
|
-
defaultMessage:
|
|
27
|
+
defaultMessage: "This team will no longer be connected to the {containerName} {containerType, select,\n\t\t\tJiraProject {Jira project}\n\t\t\tConfluenceSpace {Confluence space}\n\t\t\tLoomSpace {Loom space}\n\t\t\tother {link}\n\t\t}.",
|
|
29
28
|
description: 'Description of the disconnect dialog for team containers'
|
|
30
29
|
},
|
|
31
30
|
disconnectDialogDisclaimer: {
|
|
32
31
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
33
|
-
defaultMessage:
|
|
32
|
+
defaultMessage: "Disconnecting the team from the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t} will not affect any work connected to the team within the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t}.",
|
|
34
33
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
35
34
|
},
|
|
36
35
|
disconnectDialogDisclaimerFallback: {
|
|
@@ -78,11 +77,6 @@ var DisconnectDialog = exports.DisconnectDialog = function DisconnectDialog(_ref
|
|
|
78
77
|
return _ref2.apply(this, arguments);
|
|
79
78
|
};
|
|
80
79
|
}();
|
|
81
|
-
var _getContainerProperti = (0, _getContainerProperties.getContainerProperties)({
|
|
82
|
-
containerType: containerType
|
|
83
|
-
}),
|
|
84
|
-
containerTypeText = _getContainerProperti.containerTypeText,
|
|
85
|
-
description = _getContainerProperti.description;
|
|
86
80
|
return /*#__PURE__*/_react.default.createElement(_modalDialog.default, {
|
|
87
81
|
onClose: onClose,
|
|
88
82
|
width: "small",
|
|
@@ -97,13 +91,13 @@ var DisconnectDialog = exports.DisconnectDialog = function DisconnectDialog(_ref
|
|
|
97
91
|
containerName: /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
98
92
|
weight: "semibold"
|
|
99
93
|
}, containerName),
|
|
100
|
-
containerType:
|
|
94
|
+
containerType: containerType
|
|
101
95
|
}
|
|
102
|
-
}))),
|
|
96
|
+
}))), /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, messages.disconnectDialogDisclaimer, {
|
|
103
97
|
values: {
|
|
104
|
-
containerType:
|
|
98
|
+
containerType: containerType
|
|
105
99
|
}
|
|
106
|
-
}))
|
|
100
|
+
})))), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalFooter, null, /*#__PURE__*/_react.default.createElement(_new.default, {
|
|
107
101
|
appearance: "subtle",
|
|
108
102
|
onClick: onClose
|
|
109
103
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messages.disconnectDialogCancelButton)), /*#__PURE__*/_react.default.createElement(_new.default, {
|
|
@@ -4,7 +4,6 @@ import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
|
4
4
|
import Button from '@atlaskit/button/new';
|
|
5
5
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
6
6
|
import { Box, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
7
|
-
import { getContainerProperties } from '../../../common/utils/get-container-properties';
|
|
8
7
|
export const messages = defineMessages({
|
|
9
8
|
disconnectDialogTitle: {
|
|
10
9
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.title',
|
|
@@ -13,12 +12,27 @@ export const messages = defineMessages({
|
|
|
13
12
|
},
|
|
14
13
|
disconnectDialogDescription: {
|
|
15
14
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.description',
|
|
16
|
-
defaultMessage:
|
|
15
|
+
defaultMessage: `This team will no longer be connected to the {containerName} {containerType, select,
|
|
16
|
+
JiraProject {Jira project}
|
|
17
|
+
ConfluenceSpace {Confluence space}
|
|
18
|
+
LoomSpace {Loom space}
|
|
19
|
+
other {link}
|
|
20
|
+
}.`,
|
|
17
21
|
description: 'Description of the disconnect dialog for team containers'
|
|
18
22
|
},
|
|
19
23
|
disconnectDialogDisclaimer: {
|
|
20
24
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
21
|
-
defaultMessage:
|
|
25
|
+
defaultMessage: `Disconnecting the team from the {containerType, select,
|
|
26
|
+
JiraProject {project}
|
|
27
|
+
ConfluenceSpace {space}
|
|
28
|
+
LoomSpace {space}
|
|
29
|
+
other {link}
|
|
30
|
+
} will not affect any work connected to the team within the {containerType, select,
|
|
31
|
+
JiraProject {project}
|
|
32
|
+
ConfluenceSpace {space}
|
|
33
|
+
LoomSpace {space}
|
|
34
|
+
other {link}
|
|
35
|
+
}.`,
|
|
22
36
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
23
37
|
},
|
|
24
38
|
disconnectDialogDisclaimerFallback: {
|
|
@@ -49,12 +63,6 @@ export const DisconnectDialog = ({
|
|
|
49
63
|
await onDisconnect();
|
|
50
64
|
setIsDisconnecting(false);
|
|
51
65
|
};
|
|
52
|
-
const {
|
|
53
|
-
containerTypeText,
|
|
54
|
-
description
|
|
55
|
-
} = getContainerProperties({
|
|
56
|
-
containerType
|
|
57
|
-
});
|
|
58
66
|
return /*#__PURE__*/React.createElement(ModalDialog, {
|
|
59
67
|
onClose: onClose,
|
|
60
68
|
width: "small",
|
|
@@ -69,13 +77,13 @@ export const DisconnectDialog = ({
|
|
|
69
77
|
containerName: /*#__PURE__*/React.createElement(Text, {
|
|
70
78
|
weight: "semibold"
|
|
71
79
|
}, containerName),
|
|
72
|
-
containerType
|
|
80
|
+
containerType
|
|
73
81
|
}
|
|
74
|
-
}))),
|
|
82
|
+
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.disconnectDialogDisclaimer, {
|
|
75
83
|
values: {
|
|
76
|
-
containerType
|
|
84
|
+
containerType
|
|
77
85
|
}
|
|
78
|
-
}))
|
|
86
|
+
})))), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
79
87
|
appearance: "subtle",
|
|
80
88
|
onClick: onClose
|
|
81
89
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.disconnectDialogCancelButton)), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -7,7 +7,6 @@ import { defineMessages, FormattedMessage } from 'react-intl-next';
|
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
8
|
import ModalDialog, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
9
9
|
import { Box, Stack, Text } from '@atlaskit/primitives/compiled';
|
|
10
|
-
import { getContainerProperties } from '../../../common/utils/get-container-properties';
|
|
11
10
|
export var messages = defineMessages({
|
|
12
11
|
disconnectDialogTitle: {
|
|
13
12
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.title',
|
|
@@ -16,12 +15,12 @@ export var messages = defineMessages({
|
|
|
16
15
|
},
|
|
17
16
|
disconnectDialogDescription: {
|
|
18
17
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.description',
|
|
19
|
-
defaultMessage:
|
|
18
|
+
defaultMessage: "This team will no longer be connected to the {containerName} {containerType, select,\n\t\t\tJiraProject {Jira project}\n\t\t\tConfluenceSpace {Confluence space}\n\t\t\tLoomSpace {Loom space}\n\t\t\tother {link}\n\t\t}.",
|
|
20
19
|
description: 'Description of the disconnect dialog for team containers'
|
|
21
20
|
},
|
|
22
21
|
disconnectDialogDisclaimer: {
|
|
23
22
|
id: 'ptc-directory.team-profile-page.team-containers.disconnect-dialog.disclaimer',
|
|
24
|
-
defaultMessage:
|
|
23
|
+
defaultMessage: "Disconnecting the team from the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t} will not affect any work connected to the team within the {containerType, select,\n\t\t\tJiraProject {project}\n\t\t\tConfluenceSpace {space}\n\t\t\tLoomSpace {space}\n\t\t\tother {link}\n\t\t}.",
|
|
25
24
|
description: 'Disclaimer of the disconnect dialog for team containers'
|
|
26
25
|
},
|
|
27
26
|
disconnectDialogDisclaimerFallback: {
|
|
@@ -69,11 +68,6 @@ export var DisconnectDialog = function DisconnectDialog(_ref) {
|
|
|
69
68
|
return _ref2.apply(this, arguments);
|
|
70
69
|
};
|
|
71
70
|
}();
|
|
72
|
-
var _getContainerProperti = getContainerProperties({
|
|
73
|
-
containerType: containerType
|
|
74
|
-
}),
|
|
75
|
-
containerTypeText = _getContainerProperti.containerTypeText,
|
|
76
|
-
description = _getContainerProperti.description;
|
|
77
71
|
return /*#__PURE__*/React.createElement(ModalDialog, {
|
|
78
72
|
onClose: onClose,
|
|
79
73
|
width: "small",
|
|
@@ -88,13 +82,13 @@ export var DisconnectDialog = function DisconnectDialog(_ref) {
|
|
|
88
82
|
containerName: /*#__PURE__*/React.createElement(Text, {
|
|
89
83
|
weight: "semibold"
|
|
90
84
|
}, containerName),
|
|
91
|
-
containerType:
|
|
85
|
+
containerType: containerType
|
|
92
86
|
}
|
|
93
|
-
}))),
|
|
87
|
+
}))), /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.disconnectDialogDisclaimer, {
|
|
94
88
|
values: {
|
|
95
|
-
containerType:
|
|
89
|
+
containerType: containerType
|
|
96
90
|
}
|
|
97
|
-
}))
|
|
91
|
+
})))), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
98
92
|
appearance: "subtle",
|
|
99
93
|
onClick: onClose
|
|
100
94
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.disconnectDialogCancelButton)), /*#__PURE__*/React.createElement(Button, {
|
package/package.json
CHANGED
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
46
46
|
"@atlaskit/primitives": "^14.10.0",
|
|
47
47
|
"@atlaskit/teams-client": "^4.6.0",
|
|
48
|
-
"@atlaskit/theme": "^
|
|
49
|
-
"@atlaskit/tokens": "^5.
|
|
48
|
+
"@atlaskit/theme": "^19.0.0",
|
|
49
|
+
"@atlaskit/tokens": "^5.5.0",
|
|
50
50
|
"@atlaskit/tooltip": "^20.3.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@compiled/react": "^0.18.3",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"name": "@atlaskit/teams-public",
|
|
116
|
-
"version": "0.42.
|
|
116
|
+
"version": "0.42.2",
|
|
117
117
|
"description": "Public components related to teams",
|
|
118
118
|
"author": "Atlassian Pty Ltd",
|
|
119
119
|
"license": "Apache-2.0",
|