@atlaskit/smart-card 26.31.0 → 26.31.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 26.31.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#40941](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40941) [`26046c8fe0a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26046c8fe0a) - Update cross-join not found message for link where user has access to the site (behind feature flag)
8
+
3
9
  ## 26.31.0
4
10
 
5
11
  ### Minor Changes
@@ -98,6 +98,12 @@ var extractRequestAccessContextImproved = function extractRequestAccessContextIm
98
98
  descriptiveMessageKey: 'request_denied_description_crossjoin'
99
99
  });
100
100
  case 'ACCESS_EXISTS':
101
+ if ((jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.visibility) === 'not_found') {
102
+ return _objectSpread(_objectSpread({}, requestAccess), {}, {
103
+ titleMessageKey: 'not_found_title_crossjoin',
104
+ descriptiveMessageKey: 'not_found_description_crossjoin'
105
+ });
106
+ }
101
107
  return _objectSpread(_objectSpread({}, requestAccess), {}, {
102
108
  titleMessageKey: 'default_no_access_title_crossjoin',
103
109
  descriptiveMessageKey: 'access_exists_description_crossjoin',
@@ -23,7 +23,7 @@ exports.ANALYTICS_CHANNEL = ANALYTICS_CHANNEL;
23
23
  var context = {
24
24
  componentName: 'smart-cards',
25
25
  packageName: "@atlaskit/smart-card",
26
- packageVersion: "26.31.0"
26
+ packageVersion: "26.31.1"
27
27
  };
28
28
  exports.context = context;
29
29
  var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
@@ -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.31.0",
21
+ packageVersion: "26.31.1",
22
22
  componentName: 'linkUrl'
23
23
  };
24
24
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -89,6 +89,13 @@ export const extractRequestAccessContextImproved = ({
89
89
  descriptiveMessageKey: 'request_denied_description_crossjoin'
90
90
  };
91
91
  case 'ACCESS_EXISTS':
92
+ if ((jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.visibility) === 'not_found') {
93
+ return {
94
+ ...requestAccess,
95
+ titleMessageKey: 'not_found_title_crossjoin',
96
+ descriptiveMessageKey: 'not_found_description_crossjoin'
97
+ };
98
+ }
92
99
  return {
93
100
  ...requestAccess,
94
101
  titleMessageKey: 'default_no_access_title_crossjoin',
@@ -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.31.0"
7
+ packageVersion: "26.31.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.31.0",
11
+ packageVersion: "26.31.1",
12
12
  componentName: 'linkUrl'
13
13
  };
14
14
  const Link = withLinkClickedEvent('a');
@@ -90,6 +90,12 @@ export var extractRequestAccessContextImproved = function extractRequestAccessCo
90
90
  descriptiveMessageKey: 'request_denied_description_crossjoin'
91
91
  });
92
92
  case 'ACCESS_EXISTS':
93
+ if ((jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.visibility) === 'not_found') {
94
+ return _objectSpread(_objectSpread({}, requestAccess), {}, {
95
+ titleMessageKey: 'not_found_title_crossjoin',
96
+ descriptiveMessageKey: 'not_found_description_crossjoin'
97
+ });
98
+ }
93
99
  return _objectSpread(_objectSpread({}, requestAccess), {}, {
94
100
  titleMessageKey: 'default_no_access_title_crossjoin',
95
101
  descriptiveMessageKey: 'access_exists_description_crossjoin',
@@ -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.31.0"
18
+ packageVersion: "26.31.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.31.0",
14
+ packageVersion: "26.31.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.31.0",
3
+ "version": "26.31.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"