@atlaskit/smart-card 44.15.0 → 44.16.0
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 +13 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +2 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +2 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +2 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1dc73be916b1f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1dc73be916b1f) -
|
|
8
|
+
Track middle- and right-clicks on resolved third-party Smart Links rendered by FlexCard. Fires
|
|
9
|
+
fire3PClickEvent({isAuxClick}) / fire3PClickEvent({isContextMenu}). Gated by
|
|
10
|
+
linking_platform_track_non_primary_3p_clicks experiment.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 44.15.0
|
|
4
17
|
|
|
5
18
|
### 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: "44.
|
|
14
|
+
packageVersion: "44.15.0" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -311,6 +311,8 @@ function Component(_ref) {
|
|
|
311
311
|
placeholderData: placeholderData,
|
|
312
312
|
onAuthorize: services.length && handleAuthorize || undefined,
|
|
313
313
|
onClick: handleClickWrapper,
|
|
314
|
+
onAuxClick: handleFrameAuxClick,
|
|
315
|
+
onContextMenu: handleFrameContextMenu,
|
|
314
316
|
origin: "smartLinkCard",
|
|
315
317
|
renderers: renderers,
|
|
316
318
|
ui: ui,
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "44.
|
|
22
|
+
packageVersion: "44.15.0",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -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: "44.
|
|
5
|
+
packageVersion: "44.15.0" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -300,6 +300,8 @@ function Component({
|
|
|
300
300
|
placeholderData: placeholderData,
|
|
301
301
|
onAuthorize: services.length && handleAuthorize || undefined,
|
|
302
302
|
onClick: handleClickWrapper,
|
|
303
|
+
onAuxClick: handleFrameAuxClick,
|
|
304
|
+
onContextMenu: handleFrameContextMenu,
|
|
303
305
|
origin: "smartLinkCard",
|
|
304
306
|
renderers: renderers,
|
|
305
307
|
ui: ui,
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "44.
|
|
12
|
+
packageVersion: "44.15.0",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -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: "44.
|
|
7
|
+
packageVersion: "44.15.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -302,6 +302,8 @@ function Component(_ref) {
|
|
|
302
302
|
placeholderData: placeholderData,
|
|
303
303
|
onAuthorize: services.length && handleAuthorize || undefined,
|
|
304
304
|
onClick: handleClickWrapper,
|
|
305
|
+
onAuxClick: handleFrameAuxClick,
|
|
306
|
+
onContextMenu: handleFrameContextMenu,
|
|
305
307
|
origin: "smartLinkCard",
|
|
306
308
|
renderers: renderers,
|
|
307
309
|
ui: ui,
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "44.
|
|
15
|
+
packageVersion: "44.15.0",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "44.
|
|
3
|
+
"version": "44.16.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
122
122
|
"@atlassian/analytics-tooling": "workspace:^",
|
|
123
123
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
124
|
-
"@atlassian/gemini": "^1.
|
|
124
|
+
"@atlassian/gemini": "^1.46.0",
|
|
125
125
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
126
126
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
127
127
|
"@atlassian/testing-library": "^0.6.0",
|