@atlaskit/smart-card 32.8.3 → 33.0.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 33.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#98245](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98245)
8
+ [`82ebe932fc86a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/82ebe932fc86a) -
9
+ Removing the deprecated exports `ResolveResponse`, `Provider`, `SmartCardContext`,
10
+ `ProviderProps`, `CardType`, CardAdf, `InlineCardAdf`, `BlockCardAdf`, `EmbedCardAdf`,
11
+ `DatasourceAdf`, `DatasourceAdfView`, `Client`, `Context`, `CardContext`, and `APIError` from
12
+ smart-card package
13
+
3
14
  ## 32.8.3
4
15
 
5
16
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -3,12 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "APIError", {
7
- enumerable: true,
8
- get: function get() {
9
- return _linkingCommon.APIError;
10
- }
11
- });
12
6
  Object.defineProperty(exports, "ActionName", {
13
7
  enumerable: true,
14
8
  get: function get() {
@@ -27,18 +21,6 @@ Object.defineProperty(exports, "CardAction", {
27
21
  return _types.CardAction;
28
22
  }
29
23
  });
30
- Object.defineProperty(exports, "Client", {
31
- enumerable: true,
32
- get: function get() {
33
- return _linkProvider.CardClient;
34
- }
35
- });
36
- Object.defineProperty(exports, "Context", {
37
- enumerable: true,
38
- get: function get() {
39
- return _linkProvider.SmartCardContext;
40
- }
41
- });
42
24
  Object.defineProperty(exports, "CustomBlock", {
43
25
  enumerable: true,
44
26
  get: function get() {
@@ -93,18 +75,6 @@ Object.defineProperty(exports, "PreviewBlock", {
93
75
  return _blocks.PreviewBlock;
94
76
  }
95
77
  });
96
- Object.defineProperty(exports, "Provider", {
97
- enumerable: true,
98
- get: function get() {
99
- return _state.SmartCardProvider;
100
- }
101
- });
102
- Object.defineProperty(exports, "SmartCardContext", {
103
- enumerable: true,
104
- get: function get() {
105
- return _state.SmartCardContext;
106
- }
107
- });
108
78
  Object.defineProperty(exports, "SmartLinkDirection", {
109
79
  enumerable: true,
110
80
  get: function get() {
@@ -249,9 +219,6 @@ Object.defineProperty(exports, "useSmartLinkEvents", {
249
219
  return _useSmartLinkEvents.useSmartLinkEvents;
250
220
  }
251
221
  });
252
- var _state = require("./state");
253
- var _linkingCommon = require("@atlaskit/linking-common");
254
- var _linkProvider = require("@atlaskit/link-provider");
255
222
  var _Card = require("./view/Card");
256
223
  var _types = require("./view/Card/types");
257
224
  var _EmbedResizeMessageListener = require("./view/EmbedCard/EmbedResizeMessageListener");
@@ -262,4 +229,5 @@ var _useSmartLinkEvents = require("./view/SmartLinkEvents/useSmartLinkEvents");
262
229
  var _classNames = require("./classNames");
263
230
  var _LazyFallback = require("./view/CardWithUrl/component-lazy/LazyFallback");
264
231
  var _constants = require("./constants");
265
- var _blocks = require("./view/FlexibleCard/components/blocks");
232
+ var _blocks = require("./view/FlexibleCard/components/blocks");
233
+ var _linkProvider = require("@atlaskit/link-provider");
@@ -15,7 +15,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
15
15
  var context = exports.context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "32.8.3"
18
+ packageVersion: "33.0.0"
19
19
  };
20
20
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "32.8.3",
23
+ packageVersion: "33.0.0",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -1,25 +1,5 @@
1
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
2
-
3
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
4
- export { SmartCardProvider as Provider, SmartCardContext } from './state';
5
-
6
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
7
-
8
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
9
-
10
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
11
- export { APIError } from '@atlaskit/linking-common';
12
-
13
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
14
- export { CardClient as Client } from '@atlaskit/link-provider';
15
1
  export { Card } from './view/Card';
16
2
  export { CardAction } from './view/Card/types';
17
-
18
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
19
- export { SmartCardContext as Context } from '@atlaskit/link-provider';
20
-
21
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
22
-
23
3
  export { EmbedResizeMessageListener } from './view/EmbedCard/EmbedResizeMessageListener';
24
4
  export { ExpandedFrame } from './view/EmbedCard/components/ExpandedFrame';
25
5
  export { embedHeaderHeight } from './view/EmbedCard/components/styled';
@@ -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: "32.8.3"
6
+ packageVersion: "33.0.0"
7
7
  };
8
8
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
9
9
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "32.8.3",
13
+ packageVersion: "33.0.0",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
package/dist/esm/index.js CHANGED
@@ -1,25 +1,5 @@
1
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
2
-
3
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
4
- export { SmartCardProvider as Provider, SmartCardContext } from './state';
5
-
6
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
7
-
8
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
9
-
10
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
11
- export { APIError } from '@atlaskit/linking-common';
12
-
13
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
14
- export { CardClient as Client } from '@atlaskit/link-provider';
15
1
  export { Card } from './view/Card';
16
2
  export { CardAction } from './view/Card/types';
17
-
18
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
19
- export { SmartCardContext as Context } from '@atlaskit/link-provider';
20
-
21
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
22
-
23
3
  export { EmbedResizeMessageListener } from './view/EmbedCard/EmbedResizeMessageListener';
24
4
  export { ExpandedFrame } from './view/EmbedCard/components/ExpandedFrame';
25
5
  export { embedHeaderHeight } from './view/EmbedCard/components/styled';
@@ -8,7 +8,7 @@ export var ANALYTICS_CHANNEL = 'media';
8
8
  export var context = {
9
9
  componentName: 'smart-cards',
10
10
  packageName: "@atlaskit/smart-card",
11
- packageVersion: "32.8.3"
11
+ packageVersion: "33.0.0"
12
12
  };
13
13
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
14
14
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -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: "32.8.3",
16
+ packageVersion: "33.0.0",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
@@ -1,23 +1,6 @@
1
- import { type JsonLd } from 'json-ld-types';
2
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
3
- export type ResolveResponse = JsonLd.Response;
4
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
5
- export { SmartCardProvider as Provider, SmartCardContext } from './state';
6
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
7
- export type { ProviderProps, CardType } from './state';
8
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
9
- export type { CardAdf, InlineCardAdf, BlockCardAdf, EmbedCardAdf, DatasourceAdf, DatasourceAdfView, } from '@atlaskit/linking-common';
10
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
11
- export { APIError } from '@atlaskit/linking-common';
12
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
13
- export { CardClient as Client } from '@atlaskit/link-provider';
14
1
  export { Card } from './view/Card';
15
2
  export type { CardProps, CardAppearance, CardPlatform } from './view/Card';
16
3
  export { CardAction } from './view/Card/types';
17
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
18
- export { SmartCardContext as Context } from '@atlaskit/link-provider';
19
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
20
- export type { CardContext } from '@atlaskit/link-provider';
21
4
  export { EmbedResizeMessageListener } from './view/EmbedCard/EmbedResizeMessageListener';
22
5
  export { ExpandedFrame } from './view/EmbedCard/components/ExpandedFrame';
23
6
  export { embedHeaderHeight } from './view/EmbedCard/components/styled';
@@ -1,23 +1,6 @@
1
- import { type JsonLd } from 'json-ld-types';
2
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
3
- export type ResolveResponse = JsonLd.Response;
4
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
5
- export { SmartCardProvider as Provider, SmartCardContext } from './state';
6
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
7
- export type { ProviderProps, CardType } from './state';
8
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
9
- export type { CardAdf, InlineCardAdf, BlockCardAdf, EmbedCardAdf, DatasourceAdf, DatasourceAdfView, } from '@atlaskit/linking-common';
10
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
11
- export { APIError } from '@atlaskit/linking-common';
12
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
13
- export { CardClient as Client } from '@atlaskit/link-provider';
14
1
  export { Card } from './view/Card';
15
2
  export type { CardProps, CardAppearance, CardPlatform } from './view/Card';
16
3
  export { CardAction } from './view/Card/types';
17
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
18
- export { SmartCardContext as Context } from '@atlaskit/link-provider';
19
- /** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-15961 Internal documentation for deprecation (no external access)} */
20
- export type { CardContext } from '@atlaskit/link-provider';
21
4
  export { EmbedResizeMessageListener } from './view/EmbedCard/EmbedResizeMessageListener';
22
5
  export { ExpandedFrame } from './view/EmbedCard/components/ExpandedFrame';
23
6
  export { embedHeaderHeight } from './view/EmbedCard/components/styled';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "32.8.3",
3
+ "version": "33.0.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"