@atlaskit/smart-card 26.35.0 → 26.35.1
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 +6 -0
- package/dist/cjs/extractors/common/context/extractAccessContext.js +2 -2
- package/dist/cjs/messages.js +7 -7
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/extractors/common/context/extractAccessContext.js +2 -2
- package/dist/es2019/messages.js +7 -7
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/extractors/common/context/extractAccessContext.js +2 -2
- package/dist/esm/messages.js +7 -7
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 26.35.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41661](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41661) [`df9a5124fe8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df9a5124fe8) - Improve cross join content (behind feature flag)
|
|
8
|
+
|
|
3
9
|
## 26.35.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -94,7 +94,7 @@ var extractRequestAccessContextImproved = exports.extractRequestAccessContextImp
|
|
|
94
94
|
});
|
|
95
95
|
case 'DENIED_REQUEST_EXISTS':
|
|
96
96
|
return _objectSpread(_objectSpread({}, requestAccess), {}, {
|
|
97
|
-
titleMessageKey: '
|
|
97
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
98
98
|
descriptiveMessageKey: 'request_denied_description_crossjoin'
|
|
99
99
|
});
|
|
100
100
|
case 'ACCESS_EXISTS':
|
|
@@ -105,7 +105,7 @@ var extractRequestAccessContextImproved = exports.extractRequestAccessContextImp
|
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
return _objectSpread(_objectSpread({}, requestAccess), {}, {
|
|
108
|
-
titleMessageKey: '
|
|
108
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
109
109
|
descriptiveMessageKey: 'access_exists_description_crossjoin',
|
|
110
110
|
callToActionMessageKey: 'request_access_crossjoin',
|
|
111
111
|
action: (0, _ForbiddenAction.ForbiddenAction)(function () {
|
package/dist/cjs/messages.js
CHANGED
|
@@ -470,27 +470,27 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
470
470
|
*/
|
|
471
471
|
default_no_access_title_crossjoin: {
|
|
472
472
|
id: 'fabric.linking.no_access_title_crossjoin',
|
|
473
|
-
defaultMessage:
|
|
473
|
+
defaultMessage: 'Join {product} to view this content',
|
|
474
474
|
description: 'Informs the user that they dont have access to certain content'
|
|
475
475
|
},
|
|
476
476
|
direct_access_title_crossjoin: {
|
|
477
477
|
id: 'fabric.linking.direct_access_title_crossjoin',
|
|
478
|
-
defaultMessage: 'Join
|
|
478
|
+
defaultMessage: 'Join {product} to view this content',
|
|
479
479
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
480
480
|
},
|
|
481
481
|
direct_access_description_crossjoin: {
|
|
482
482
|
id: 'fabric.linking.direct_access_description_crossjoin',
|
|
483
|
-
defaultMessage: '
|
|
483
|
+
defaultMessage: 'Your team uses {product} to collaborate and you can start using it right away!',
|
|
484
484
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
485
485
|
},
|
|
486
486
|
direct_access_crossjoin: {
|
|
487
487
|
id: 'fabric.linking.direct_access_crossjoin',
|
|
488
|
-
defaultMessage: '
|
|
488
|
+
defaultMessage: 'Join now',
|
|
489
489
|
description: 'Allows the user join the product or service immediately'
|
|
490
490
|
},
|
|
491
491
|
request_access_description_crossjoin: {
|
|
492
492
|
id: 'fabric.linking.request_access_description_crossjoin',
|
|
493
|
-
defaultMessage: '
|
|
493
|
+
defaultMessage: 'Your team uses {product} to collaborate. Send your admin a request for access.',
|
|
494
494
|
description: 'Informs the user to request access to a product by talking to the website administrator'
|
|
495
495
|
},
|
|
496
496
|
request_access_crossjoin: {
|
|
@@ -520,7 +520,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
520
520
|
},
|
|
521
521
|
access_exists_description_crossjoin: {
|
|
522
522
|
id: 'fabric.linking.access_exists_description',
|
|
523
|
-
defaultMessage: '
|
|
523
|
+
defaultMessage: 'Request access to view this content from {hostname}.',
|
|
524
524
|
description: 'Informs the user to contact the website administrator to request access to a product'
|
|
525
525
|
},
|
|
526
526
|
not_found_description_crossjoin: {
|
|
@@ -540,7 +540,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
540
540
|
},
|
|
541
541
|
forbidden_description_crossjoin: {
|
|
542
542
|
id: 'fabric.linking.forbidden_description_crossjoin',
|
|
543
|
-
defaultMessage: 'Contact your admin to request access.',
|
|
543
|
+
defaultMessage: 'Contact your admin to request access to {hostname}.',
|
|
544
544
|
description: 'Informs the user that they must contact the site administrator for access.'
|
|
545
545
|
}
|
|
546
546
|
});
|
|
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
22
22
|
var context = exports.context = {
|
|
23
23
|
componentName: 'smart-cards',
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "26.35.
|
|
25
|
+
packageVersion: "26.35.1"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -18,7 +18,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
18
18
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
19
19
|
var PACKAGE_DATA = {
|
|
20
20
|
packageName: "@atlaskit/smart-card",
|
|
21
|
-
packageVersion: "26.35.
|
|
21
|
+
packageVersion: "26.35.1",
|
|
22
22
|
componentName: 'linkUrl'
|
|
23
23
|
};
|
|
24
24
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -86,7 +86,7 @@ export const extractRequestAccessContextImproved = ({
|
|
|
86
86
|
case 'DENIED_REQUEST_EXISTS':
|
|
87
87
|
return {
|
|
88
88
|
...requestAccess,
|
|
89
|
-
titleMessageKey: '
|
|
89
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
90
90
|
descriptiveMessageKey: 'request_denied_description_crossjoin'
|
|
91
91
|
};
|
|
92
92
|
case 'ACCESS_EXISTS':
|
|
@@ -99,7 +99,7 @@ export const extractRequestAccessContextImproved = ({
|
|
|
99
99
|
}
|
|
100
100
|
return {
|
|
101
101
|
...requestAccess,
|
|
102
|
-
titleMessageKey: '
|
|
102
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
103
103
|
descriptiveMessageKey: 'access_exists_description_crossjoin',
|
|
104
104
|
callToActionMessageKey: 'request_access_crossjoin',
|
|
105
105
|
action: ForbiddenAction(() => window.open(url), 'access_exists', messages.request_access_crossjoin)
|
package/dist/es2019/messages.js
CHANGED
|
@@ -464,27 +464,27 @@ export const messages = defineMessages({
|
|
|
464
464
|
*/
|
|
465
465
|
default_no_access_title_crossjoin: {
|
|
466
466
|
id: 'fabric.linking.no_access_title_crossjoin',
|
|
467
|
-
defaultMessage:
|
|
467
|
+
defaultMessage: 'Join {product} to view this content',
|
|
468
468
|
description: 'Informs the user that they dont have access to certain content'
|
|
469
469
|
},
|
|
470
470
|
direct_access_title_crossjoin: {
|
|
471
471
|
id: 'fabric.linking.direct_access_title_crossjoin',
|
|
472
|
-
defaultMessage: 'Join
|
|
472
|
+
defaultMessage: 'Join {product} to view this content',
|
|
473
473
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
474
474
|
},
|
|
475
475
|
direct_access_description_crossjoin: {
|
|
476
476
|
id: 'fabric.linking.direct_access_description_crossjoin',
|
|
477
|
-
defaultMessage: '
|
|
477
|
+
defaultMessage: 'Your team uses {product} to collaborate and you can start using it right away!',
|
|
478
478
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
479
479
|
},
|
|
480
480
|
direct_access_crossjoin: {
|
|
481
481
|
id: 'fabric.linking.direct_access_crossjoin',
|
|
482
|
-
defaultMessage: '
|
|
482
|
+
defaultMessage: 'Join now',
|
|
483
483
|
description: 'Allows the user join the product or service immediately'
|
|
484
484
|
},
|
|
485
485
|
request_access_description_crossjoin: {
|
|
486
486
|
id: 'fabric.linking.request_access_description_crossjoin',
|
|
487
|
-
defaultMessage: '
|
|
487
|
+
defaultMessage: 'Your team uses {product} to collaborate. Send your admin a request for access.',
|
|
488
488
|
description: 'Informs the user to request access to a product by talking to the website administrator'
|
|
489
489
|
},
|
|
490
490
|
request_access_crossjoin: {
|
|
@@ -514,7 +514,7 @@ export const messages = defineMessages({
|
|
|
514
514
|
},
|
|
515
515
|
access_exists_description_crossjoin: {
|
|
516
516
|
id: 'fabric.linking.access_exists_description',
|
|
517
|
-
defaultMessage: '
|
|
517
|
+
defaultMessage: 'Request access to view this content from {hostname}.',
|
|
518
518
|
description: 'Informs the user to contact the website administrator to request access to a product'
|
|
519
519
|
},
|
|
520
520
|
not_found_description_crossjoin: {
|
|
@@ -534,7 +534,7 @@ export const messages = defineMessages({
|
|
|
534
534
|
},
|
|
535
535
|
forbidden_description_crossjoin: {
|
|
536
536
|
id: 'fabric.linking.forbidden_description_crossjoin',
|
|
537
|
-
defaultMessage: 'Contact your admin to request access.',
|
|
537
|
+
defaultMessage: 'Contact your admin to request access to {hostname}.',
|
|
538
538
|
description: 'Informs the user that they must contact the site administrator for access.'
|
|
539
539
|
}
|
|
540
540
|
});
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "26.35.
|
|
7
|
+
packageVersion: "26.35.1"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,7 +8,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
8
8
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
9
9
|
const PACKAGE_DATA = {
|
|
10
10
|
packageName: "@atlaskit/smart-card",
|
|
11
|
-
packageVersion: "26.35.
|
|
11
|
+
packageVersion: "26.35.1",
|
|
12
12
|
componentName: 'linkUrl'
|
|
13
13
|
};
|
|
14
14
|
const Link = withLinkClickedEvent('a');
|
|
@@ -87,7 +87,7 @@ export var extractRequestAccessContextImproved = function extractRequestAccessCo
|
|
|
87
87
|
});
|
|
88
88
|
case 'DENIED_REQUEST_EXISTS':
|
|
89
89
|
return _objectSpread(_objectSpread({}, requestAccess), {}, {
|
|
90
|
-
titleMessageKey: '
|
|
90
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
91
91
|
descriptiveMessageKey: 'request_denied_description_crossjoin'
|
|
92
92
|
});
|
|
93
93
|
case 'ACCESS_EXISTS':
|
|
@@ -98,7 +98,7 @@ export var extractRequestAccessContextImproved = function extractRequestAccessCo
|
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
return _objectSpread(_objectSpread({}, requestAccess), {}, {
|
|
101
|
-
titleMessageKey: '
|
|
101
|
+
titleMessageKey: 'forbidden_title_crossjoin',
|
|
102
102
|
descriptiveMessageKey: 'access_exists_description_crossjoin',
|
|
103
103
|
callToActionMessageKey: 'request_access_crossjoin',
|
|
104
104
|
action: ForbiddenAction(function () {
|
package/dist/esm/messages.js
CHANGED
|
@@ -464,27 +464,27 @@ export var messages = defineMessages({
|
|
|
464
464
|
*/
|
|
465
465
|
default_no_access_title_crossjoin: {
|
|
466
466
|
id: 'fabric.linking.no_access_title_crossjoin',
|
|
467
|
-
defaultMessage:
|
|
467
|
+
defaultMessage: 'Join {product} to view this content',
|
|
468
468
|
description: 'Informs the user that they dont have access to certain content'
|
|
469
469
|
},
|
|
470
470
|
direct_access_title_crossjoin: {
|
|
471
471
|
id: 'fabric.linking.direct_access_title_crossjoin',
|
|
472
|
-
defaultMessage: 'Join
|
|
472
|
+
defaultMessage: 'Join {product} to view this content',
|
|
473
473
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
474
474
|
},
|
|
475
475
|
direct_access_description_crossjoin: {
|
|
476
476
|
id: 'fabric.linking.direct_access_description_crossjoin',
|
|
477
|
-
defaultMessage: '
|
|
477
|
+
defaultMessage: 'Your team uses {product} to collaborate and you can start using it right away!',
|
|
478
478
|
description: 'Informs the user that they have access to this product, and can sign up or join right away.'
|
|
479
479
|
},
|
|
480
480
|
direct_access_crossjoin: {
|
|
481
481
|
id: 'fabric.linking.direct_access_crossjoin',
|
|
482
|
-
defaultMessage: '
|
|
482
|
+
defaultMessage: 'Join now',
|
|
483
483
|
description: 'Allows the user join the product or service immediately'
|
|
484
484
|
},
|
|
485
485
|
request_access_description_crossjoin: {
|
|
486
486
|
id: 'fabric.linking.request_access_description_crossjoin',
|
|
487
|
-
defaultMessage: '
|
|
487
|
+
defaultMessage: 'Your team uses {product} to collaborate. Send your admin a request for access.',
|
|
488
488
|
description: 'Informs the user to request access to a product by talking to the website administrator'
|
|
489
489
|
},
|
|
490
490
|
request_access_crossjoin: {
|
|
@@ -514,7 +514,7 @@ export var messages = defineMessages({
|
|
|
514
514
|
},
|
|
515
515
|
access_exists_description_crossjoin: {
|
|
516
516
|
id: 'fabric.linking.access_exists_description',
|
|
517
|
-
defaultMessage: '
|
|
517
|
+
defaultMessage: 'Request access to view this content from {hostname}.',
|
|
518
518
|
description: 'Informs the user to contact the website administrator to request access to a product'
|
|
519
519
|
},
|
|
520
520
|
not_found_description_crossjoin: {
|
|
@@ -534,7 +534,7 @@ export var messages = defineMessages({
|
|
|
534
534
|
},
|
|
535
535
|
forbidden_description_crossjoin: {
|
|
536
536
|
id: 'fabric.linking.forbidden_description_crossjoin',
|
|
537
|
-
defaultMessage: 'Contact your admin to request access.',
|
|
537
|
+
defaultMessage: 'Contact your admin to request access to {hostname}.',
|
|
538
538
|
description: 'Informs the user that they must contact the site administrator for access.'
|
|
539
539
|
}
|
|
540
540
|
});
|
|
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
15
15
|
export var context = {
|
|
16
16
|
componentName: 'smart-cards',
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "26.35.
|
|
18
|
+
packageVersion: "26.35.1"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -11,7 +11,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
11
11
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
var PACKAGE_DATA = {
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "26.35.
|
|
14
|
+
packageVersion: "26.35.1",
|
|
15
15
|
componentName: 'linkUrl'
|
|
16
16
|
};
|
|
17
17
|
var Link = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "26.35.
|
|
3
|
+
"version": "26.35.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@af/visual-regression": "*",
|
|
76
76
|
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
77
|
-
"@atlaskit/css-reset": "^6.
|
|
77
|
+
"@atlaskit/css-reset": "^6.6.0",
|
|
78
78
|
"@atlaskit/link-test-helpers": "^6.1.0",
|
|
79
79
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
80
80
|
"@atlaskit/visual-regression": "*",
|