@atlaskit/smart-card 45.24.4 → 45.24.6
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 +15 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 45.24.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 45.24.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`44e88b1074ac7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44e88b1074ac7) -
|
|
14
|
+
Use dedicated Link Provider and Rovo conversation starter entrypoints while preserving existing
|
|
15
|
+
bindings and type imports.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 45.24.4
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -24,7 +24,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
24
24
|
var context = exports.context = {
|
|
25
25
|
componentName: 'smart-cards',
|
|
26
26
|
packageName: "@atlaskit/smart-card" || '',
|
|
27
|
-
packageVersion: "45.24.
|
|
27
|
+
packageVersion: "45.24.5" || ''
|
|
28
28
|
};
|
|
29
29
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
30
30
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.CardWithUrlContent = exports.CardWithUrl = void 0;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _useSmartLinkContext2 = require("@atlaskit/link-provider/use-smart-link-context");
|
|
12
12
|
var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
|
|
13
13
|
var _extractSmartLinkEmbed = require("@atlaskit/link-extractors/extract-smart-link-embed");
|
|
14
14
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
@@ -103,7 +103,7 @@ function Component(_ref) {
|
|
|
103
103
|
error = _useSmartLink.error,
|
|
104
104
|
isPreviewPanelAvailable = _useSmartLink.isPreviewPanelAvailable,
|
|
105
105
|
openPreviewPanel = _useSmartLink.openPreviewPanel;
|
|
106
|
-
var _useSmartLinkContext = (0,
|
|
106
|
+
var _useSmartLinkContext = (0, _useSmartLinkContext2.useSmartLinkContext)(),
|
|
107
107
|
linkNavigation = _useSmartLinkContext.linkNavigation;
|
|
108
108
|
var resolveNavigation = (0, _fg.fg)('confluence_ep_shim_macro_links_v2') && isFlexibleUi ? linkNavigation : undefined;
|
|
109
109
|
var ari = (0, _getObjectAri.getObjectAri)(state.details);
|
|
@@ -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: "45.24.
|
|
22
|
+
packageVersion: "45.24.5",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -3,7 +3,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
3
3
|
export const context = {
|
|
4
4
|
componentName: 'smart-cards',
|
|
5
5
|
packageName: "@atlaskit/smart-card" || '',
|
|
6
|
-
packageVersion: "45.24.
|
|
6
|
+
packageVersion: "45.24.5" || ''
|
|
7
7
|
};
|
|
8
8
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
9
9
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
2
|
-
import { useSmartLinkContext } from '@atlaskit/link-provider/context';
|
|
2
|
+
import { useSmartLinkContext } from '@atlaskit/link-provider/use-smart-link-context';
|
|
3
3
|
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
4
4
|
import { extractSmartLinkEmbed } from '@atlaskit/link-extractors/extract-smart-link-embed';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -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: "45.24.
|
|
12
|
+
packageVersion: "45.24.5",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -3,7 +3,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
3
3
|
export var context = {
|
|
4
4
|
componentName: 'smart-cards',
|
|
5
5
|
packageName: "@atlaskit/smart-card" || '',
|
|
6
|
-
packageVersion: "45.24.
|
|
6
|
+
packageVersion: "45.24.5" || ''
|
|
7
7
|
};
|
|
8
8
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
9
9
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
5
|
-
import { useSmartLinkContext } from '@atlaskit/link-provider/context';
|
|
5
|
+
import { useSmartLinkContext } from '@atlaskit/link-provider/use-smart-link-context';
|
|
6
6
|
import { useAnalyticsEvents as useAnalyticsEventsNext } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
7
7
|
import { extractSmartLinkEmbed } from '@atlaskit/link-extractors/extract-smart-link-embed';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -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: "45.24.
|
|
15
|
+
packageVersion: "45.24.5",
|
|
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": "45.24.
|
|
3
|
+
"version": "45.24.6",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@atlaskit/lozenge": "^15.4.0",
|
|
74
74
|
"@atlaskit/menu": "^11.0.0",
|
|
75
75
|
"@atlaskit/modal-dialog": "^16.6.0",
|
|
76
|
-
"@atlaskit/motion": "^8.
|
|
76
|
+
"@atlaskit/motion": "^8.8.0",
|
|
77
77
|
"@atlaskit/object": "^2.3.0",
|
|
78
78
|
"@atlaskit/outbound-auth-flow-client": "^4.2.0",
|
|
79
79
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@atlaskit/popup": "^6.3.0",
|
|
83
83
|
"@atlaskit/primitives": "^22.5.0",
|
|
84
84
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
85
|
-
"@atlaskit/react-ufo": "^7.
|
|
86
|
-
"@atlaskit/rovo-triggers": "^11.
|
|
85
|
+
"@atlaskit/react-ufo": "^7.13.0",
|
|
86
|
+
"@atlaskit/rovo-triggers": "^11.2.0",
|
|
87
87
|
"@atlaskit/section-message": "^10.2.0",
|
|
88
88
|
"@atlaskit/select": "^22.11.0",
|
|
89
89
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"@atlaskit/textfield": "^10.2.0",
|
|
94
94
|
"@atlaskit/theme": "^28.2.0",
|
|
95
95
|
"@atlaskit/tile": "^4.1.0",
|
|
96
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
97
|
-
"@atlaskit/tokens": "^18.
|
|
96
|
+
"@atlaskit/tmp-editor-statsig": "^200.0.0",
|
|
97
|
+
"@atlaskit/tokens": "^18.2.0",
|
|
98
98
|
"@atlaskit/tooltip": "^24.3.0",
|
|
99
99
|
"@atlaskit/ufo": "^1.2.0",
|
|
100
100
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@af/integration-testing": "workspace:^",
|
|
123
123
|
"@af/visual-regression": "workspace:^",
|
|
124
|
-
"@atlaskit/analytics-listeners": "^11.
|
|
124
|
+
"@atlaskit/analytics-listeners": "^11.4.0",
|
|
125
125
|
"@atlaskit/code": "^19.2.0",
|
|
126
126
|
"@atlaskit/css-reset": "^8.4.0",
|
|
127
127
|
"@atlaskit/datetime-picker": "^18.7.0",
|