@atlaskit/smart-card 38.16.0 → 38.16.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 +17 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/utils/index.js +1 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/utils/index.js +1 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/utils/index.js +1 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 38.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 38.16.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#176250](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176250)
|
|
14
|
+
[`6ad5979076014`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ad5979076014) -
|
|
15
|
+
clean plan smartlinks feature gate
|
|
16
|
+
- [#176864](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176864)
|
|
17
|
+
[`96f166a864047`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/96f166a864047) -
|
|
18
|
+
EDM-11898 removing all false snapshots for platform-linking-visual-refresh-v1 and renaming files
|
|
19
|
+
|
|
3
20
|
## 38.16.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
11
11
|
var context = exports.context = {
|
|
12
12
|
componentName: 'smart-cards',
|
|
13
13
|
packageName: "@atlaskit/smart-card",
|
|
14
|
-
packageVersion: "38.
|
|
14
|
+
packageVersion: "38.16.1"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.titleBlockOptions = exports.getSimulatedBetterMetadata = exports.PreviewBlockOptions = exports.FlexibleCardUiOptionsOld = exports.FlexibleCardUiOptions = void 0;
|
|
7
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
8
7
|
var _constants = require("../../../../constants");
|
|
9
8
|
var _utils = require("../../../../extractors/flexible/utils");
|
|
10
9
|
var _helpers = require("../../../../state/helpers");
|
|
@@ -102,7 +101,7 @@ var getSimulatedBetterMetadata = exports.getSimulatedBetterMetadata = function g
|
|
|
102
101
|
}, {
|
|
103
102
|
name: _constants.ElementName.ModifiedOn
|
|
104
103
|
}];
|
|
105
|
-
} else if (isJiraPlan
|
|
104
|
+
} else if (isJiraPlan) {
|
|
106
105
|
topMetadata = [{
|
|
107
106
|
name: _constants.ElementName.OwnedByGroup
|
|
108
107
|
}, {
|
|
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
20
20
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
21
21
|
var PACKAGE_DATA = {
|
|
22
22
|
packageName: "@atlaskit/smart-card",
|
|
23
|
-
packageVersion: "38.
|
|
23
|
+
packageVersion: "38.16.1",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
2
2
|
export const context = {
|
|
3
3
|
componentName: 'smart-cards',
|
|
4
4
|
packageName: "@atlaskit/smart-card",
|
|
5
|
-
packageVersion: "38.
|
|
5
|
+
packageVersion: "38.16.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
1
|
import { ElementName, MediaPlacement, SmartLinkPosition, SmartLinkSize } from '../../../../constants';
|
|
3
2
|
import { extractOwnedBy } from '../../../../extractors/flexible/utils';
|
|
4
3
|
import { getExtensionKey } from '../../../../state/helpers';
|
|
@@ -96,7 +95,7 @@ export const getSimulatedBetterMetadata = cardDetails => {
|
|
|
96
95
|
}, {
|
|
97
96
|
name: ElementName.ModifiedOn
|
|
98
97
|
}];
|
|
99
|
-
} else if (isJiraPlan
|
|
98
|
+
} else if (isJiraPlan) {
|
|
100
99
|
topMetadata = [{
|
|
101
100
|
name: ElementName.OwnedByGroup
|
|
102
101
|
}, {
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "38.
|
|
13
|
+
packageVersion: "38.16.1",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "38.
|
|
7
|
+
packageVersion: "38.16.1"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
1
|
import { ElementName, MediaPlacement, SmartLinkPosition, SmartLinkSize } from '../../../../constants';
|
|
3
2
|
import { extractOwnedBy } from '../../../../extractors/flexible/utils';
|
|
4
3
|
import { getExtensionKey } from '../../../../state/helpers';
|
|
@@ -96,7 +95,7 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
|
|
|
96
95
|
}, {
|
|
97
96
|
name: ElementName.ModifiedOn
|
|
98
97
|
}];
|
|
99
|
-
} else if (isJiraPlan
|
|
98
|
+
} else if (isJiraPlan) {
|
|
100
99
|
topMetadata = [{
|
|
101
100
|
name: ElementName.OwnedByGroup
|
|
102
101
|
}, {
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "38.
|
|
16
|
+
packageVersion: "38.16.1",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
package/dist/types/view/FlexibleCard/components/elements/custom-by-access-type-element/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Prettify } from '@atlaskit/linking-common';
|
|
2
|
+
import type { Prettify } from '@atlaskit/linking-common';
|
|
3
3
|
import type { ElementProps } from '../index';
|
|
4
4
|
type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS';
|
|
5
5
|
export type CustomElementByAccessTypeProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & Partial<Record<AccessType | 'fallback', string>>>;
|
package/dist/types/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Prettify } from '@atlaskit/linking-common';
|
|
2
|
+
import type { Prettify } from '@atlaskit/linking-common';
|
|
3
3
|
import type { SmartLinkStatus } from '../../../../../constants';
|
|
4
4
|
import type { ElementProps } from '../index';
|
|
5
5
|
export type CustomElementProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Prettify } from '@atlaskit/linking-common';
|
|
2
|
+
import type { Prettify } from '@atlaskit/linking-common';
|
|
3
3
|
import type { ElementProps } from '../index';
|
|
4
4
|
type AccessType = 'DIRECT_ACCESS' | 'REQUEST_ACCESS' | 'PENDING_REQUEST_EXISTS' | 'FORBIDDEN' | 'DENIED_REQUEST_EXISTS';
|
|
5
5
|
export type CustomElementByAccessTypeProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & Partial<Record<AccessType | 'fallback', string>>>;
|
package/dist/types-ts4.5/view/FlexibleCard/components/elements/custom-by-status-element/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Prettify } from '@atlaskit/linking-common';
|
|
2
|
+
import type { Prettify } from '@atlaskit/linking-common';
|
|
3
3
|
import type { SmartLinkStatus } from '../../../../../constants';
|
|
4
4
|
import type { ElementProps } from '../index';
|
|
5
5
|
export type CustomElementProps = Prettify<Pick<ElementProps, 'className' | 'testId'> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "38.16.
|
|
3
|
+
"version": "38.16.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"@atlaskit/badge": "^18.1.0",
|
|
35
35
|
"@atlaskit/button": "^23.2.0",
|
|
36
36
|
"@atlaskit/checkbox": "^17.1.0",
|
|
37
|
-
"@atlaskit/css": "^0.
|
|
37
|
+
"@atlaskit/css": "^0.12.0",
|
|
38
38
|
"@atlaskit/dropdown-menu": "^16.1.0",
|
|
39
39
|
"@atlaskit/form": "^12.0.0",
|
|
40
40
|
"@atlaskit/frontend-utilities": "^3.0.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
42
|
"@atlaskit/icon": "^27.2.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
|
-
"@atlaskit/icon-lab": "^5.
|
|
44
|
+
"@atlaskit/icon-lab": "^5.1.0",
|
|
45
45
|
"@atlaskit/icon-object": "^7.1.0",
|
|
46
46
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
47
47
|
"@atlaskit/image": "^3.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
63
63
|
"@atlaskit/popup": "^4.3.0",
|
|
64
|
-
"@atlaskit/primitives": "^14.
|
|
64
|
+
"@atlaskit/primitives": "^14.10.0",
|
|
65
65
|
"@atlaskit/section-message": "^8.2.0",
|
|
66
66
|
"@atlaskit/select": "^21.0.0",
|
|
67
67
|
"@atlaskit/spinner": "^18.0.0",
|
|
@@ -181,9 +181,6 @@
|
|
|
181
181
|
"type": "boolean",
|
|
182
182
|
"showOnWebsiteForTransitiveDependencies": true
|
|
183
183
|
},
|
|
184
|
-
"smart_links_for_plans_platform": {
|
|
185
|
-
"type": "boolean"
|
|
186
|
-
},
|
|
187
184
|
"bandicoots-smart-card-teamwork-context": {
|
|
188
185
|
"type": "boolean"
|
|
189
186
|
},
|