@atlaskit/smart-card 45.24.4 → 45.24.5

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,14 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 45.24.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`44e88b1074ac7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44e88b1074ac7) -
8
+ Use dedicated Link Provider and Rovo conversation starter entrypoints while preserving existing
9
+ bindings and type imports.
10
+ - Updated dependencies
11
+
3
12
  ## 45.24.4
4
13
 
5
14
  ### 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.3" || ''
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 _context = require("@atlaskit/link-provider/context");
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, _context.useSmartLinkContext)(),
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.3",
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.3" || ''
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.3",
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.3" || ''
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.3",
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.4",
3
+ "version": "45.24.5",
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.7.0",
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",
@@ -94,7 +94,7 @@
94
94
  "@atlaskit/theme": "^28.2.0",
95
95
  "@atlaskit/tile": "^4.1.0",
96
96
  "@atlaskit/tmp-editor-statsig": "^199.0.0",
97
- "@atlaskit/tokens": "^18.1.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",