@atlaskit/smart-card 16.1.1 → 16.2.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/client/utils/environments.js +1 -1
  3. package/dist/cjs/providers/editor/transformer.js +1 -1
  4. package/dist/cjs/state/actions/index.js +13 -6
  5. package/dist/cjs/state/analytics/index.js +32 -84
  6. package/dist/cjs/state/analytics/ufoExperiences.js +60 -0
  7. package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +106 -0
  8. package/dist/cjs/state/hooks/useSmartLink.js +6 -6
  9. package/dist/cjs/version.json +1 -1
  10. package/dist/cjs/view/CardWithUrl/component-lazy/index.js +1 -1
  11. package/dist/cjs/view/CardWithUrl/component.js +8 -3
  12. package/dist/cjs/view/CardWithUrl/loader.js +110 -133
  13. package/dist/es2019/client/utils/environments.js +1 -1
  14. package/dist/es2019/providers/editor/transformer.js +1 -1
  15. package/dist/es2019/state/actions/index.js +9 -4
  16. package/dist/es2019/state/analytics/index.js +2 -40
  17. package/dist/es2019/state/analytics/ufoExperiences.js +40 -0
  18. package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +62 -0
  19. package/dist/es2019/state/hooks/useSmartLink.js +4 -5
  20. package/dist/es2019/version.json +1 -1
  21. package/dist/es2019/view/CardWithUrl/component-lazy/index.js +1 -1
  22. package/dist/es2019/view/CardWithUrl/component.js +8 -3
  23. package/dist/es2019/view/CardWithUrl/loader.js +86 -88
  24. package/dist/esm/client/utils/environments.js +1 -1
  25. package/dist/esm/providers/editor/transformer.js +1 -1
  26. package/dist/esm/state/actions/index.js +12 -6
  27. package/dist/esm/state/analytics/index.js +2 -80
  28. package/dist/esm/state/analytics/ufoExperiences.js +40 -0
  29. package/dist/esm/state/analytics/useSmartLinkAnalytics.js +94 -0
  30. package/dist/esm/state/hooks/useSmartLink.js +6 -6
  31. package/dist/esm/version.json +1 -1
  32. package/dist/esm/view/CardWithUrl/component-lazy/index.js +1 -1
  33. package/dist/esm/view/CardWithUrl/component.js +8 -3
  34. package/dist/esm/view/CardWithUrl/loader.js +103 -127
  35. package/dist/types/state/analytics/index.d.ts +3 -32
  36. package/dist/types/state/analytics/ufoExperiences.d.ts +7 -0
  37. package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +30 -0
  38. package/dist/types/state/hooks/useSmartLink.d.ts +4 -5
  39. package/dist/types/view/CardWithUrl/component-lazy/index.d.ts +1 -1
  40. package/dist/types/view/CardWithUrl/loader.d.ts +1 -15
  41. package/package.json +6 -3
@@ -1,141 +1,117 @@
1
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
- import _createClass from "@babel/runtime/helpers/createClass";
3
- import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
4
- import _inherits from "@babel/runtime/helpers/inherits";
5
- import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
- import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
-
9
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
-
11
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
-
13
- import React from 'react';
1
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
+ import React, { lazy, useEffect, useState, Suspense } from 'react';
14
3
  import uuid from 'uuid';
15
4
  import { CardLinkView } from '@atlaskit/media-ui';
16
5
  import { uiRenderFailedEvent, fireSmartLinkEvent } from '../../utils/analytics';
17
6
  import { clearMarks, clearMeasures } from '../../utils/performance';
18
- export var CardWithURLRenderer = /*#__PURE__*/function (_React$PureComponent) {
19
- _inherits(CardWithURLRenderer, _React$PureComponent);
20
-
21
- var _super = _createSuper(CardWithURLRenderer);
22
-
23
- function CardWithURLRenderer(props) {
24
- var _this;
25
-
26
- _classCallCheck(this, CardWithURLRenderer);
27
-
28
- _this = _super.call(this, props);
29
-
30
- _defineProperty(_assertThisInitialized(_this), "dispatchAnalytics", function (analyticsPayload) {
31
- var _this$props = _this.props,
32
- appearance = _this$props.appearance,
33
- createAnalyticsEvent = _this$props.createAnalyticsEvent;
34
-
35
- if (analyticsPayload && analyticsPayload.attributes) {
36
- // Update if we haven't already set the display - possible
37
- // in the case of `preview` which is rendered differently.
38
- if (!analyticsPayload.attributes.display) {
39
- analyticsPayload.attributes.display = appearance;
40
- }
41
- }
42
-
43
- fireSmartLinkEvent(analyticsPayload, createAnalyticsEvent);
44
- });
45
-
46
- _this.state = {
47
- id: uuid()
48
- };
49
- return _this;
50
- }
51
-
52
- _createClass(CardWithURLRenderer, [{
53
- key: "componentDidMount",
54
- value: function componentDidMount() {
55
- if (CardWithURLRenderer.CardContent === null) {
56
- (this.props.importer || CardWithURLRenderer.moduleImporter)(this);
57
- }
58
- }
59
- }, {
60
- key: "componentWillUnmount",
61
- value: function componentWillUnmount() {
62
- var id = this.state.id;
7
+ import { ErrorBoundary } from 'react-error-boundary';
8
+ import { failUfoExperience, startUfoExperience } from '../../state/analytics/ufoExperiences';
9
+ var LazyCardWithUrlContent = /*#__PURE__*/lazy(function () {
10
+ return import(
11
+ /* webpackChunkName: "@atlaskit-internal_smartcard-urlcardcontent" */
12
+ './component-lazy/index');
13
+ });
14
+ export function CardWithURLRenderer(props) {
15
+ var _useState = useState(function () {
16
+ return uuid();
17
+ }),
18
+ _useState2 = _slicedToArray(_useState, 1),
19
+ id = _useState2[0]; // Equivalent to ComponentWillMount
20
+
21
+
22
+ useState(function () {
23
+ // We want to start timing of render event only once and right at the start
24
+ startUfoExperience('smart-link-rendered', id);
25
+ });
26
+ useEffect(function () {
27
+ // ComponentWillUnmount
28
+ return function () {
63
29
  clearMarks(id);
64
30
  clearMeasures(id);
31
+ };
32
+ }, [id]);
33
+
34
+ var logError = function logError(error, info) {
35
+ var componentStack = info.componentStack; // NB: APIErrors are thrown in response to Object Resolver Service.
36
+ // In these cases, control is handed back to the Editor. We do not
37
+ // fire an event for these, as they do not cover failed UI render events.
38
+
39
+ if (error.name === 'APIError') {
40
+ throw error;
41
+ } // NB: the rest of the errors caught here are unexpected, and correlate
42
+ // to the reliability of the smart-card front-end components. We instrument
43
+ // these in order to measure our front-end reliability.
44
+ else {
45
+ var errorInfo = {
46
+ componentStack: componentStack
47
+ };
48
+ failUfoExperience('smart-link-rendered', id);
49
+ failUfoExperience('smart-link-authenticated', id);
50
+ dispatchAnalytics(uiRenderFailedEvent(appearance, error, errorInfo));
65
51
  }
66
- }, {
67
- key: "componentDidCatch",
68
- value: function componentDidCatch(error, errorInfo) {
69
- var appearance = this.props.appearance; // NB: APIErrors are thrown in response to Object Resolver Service.
70
- // In these cases, control is handed back to the Editor. We do not
71
- // fire an event for these, as they do not cover failed UI render events.
52
+ }; // Wrapper around analytics.
72
53
 
73
- if (error.name === 'APIError') {
74
- throw error;
75
- } // NB: the rest of the errors caught here are unexpected, and correlate
76
- // to the reliability of the smart-card front-end components. We instrument
77
- // these in order to measure our front-end reliability.
78
- else {
79
- this.dispatchAnalytics(uiRenderFailedEvent(appearance, error, errorInfo));
80
- }
81
- } // Wrapper around analytics.
82
54
 
83
- }, {
84
- key: "render",
85
- value: function render() {
86
- var _this$props2 = this.props,
87
- url = _this$props2.url,
88
- appearance = _this$props2.appearance,
89
- isSelected = _this$props2.isSelected,
90
- isFrameVisible = _this$props2.isFrameVisible,
91
- onClick = _this$props2.onClick,
92
- container = _this$props2.container,
93
- onResolve = _this$props2.onResolve,
94
- testId = _this$props2.testId,
95
- showActions = _this$props2.showActions,
96
- inheritDimensions = _this$props2.inheritDimensions,
97
- platform = _this$props2.platform,
98
- embedIframeRef = _this$props2.embedIframeRef,
99
- inlinePreloaderStyle = _this$props2.inlinePreloaderStyle;
55
+ var dispatchAnalytics = function dispatchAnalytics(analyticsPayload) {
56
+ var appearance = props.appearance,
57
+ createAnalyticsEvent = props.createAnalyticsEvent;
100
58
 
101
- if (!url) {
102
- throw new Error('@atlaskit/smart-card: url property is missing.');
59
+ if (analyticsPayload && analyticsPayload.attributes) {
60
+ // Update if we haven't already set the display - possible
61
+ // in the case of `preview` which is rendered differently.
62
+ if (!analyticsPayload.attributes.display) {
63
+ analyticsPayload.attributes.display = appearance;
103
64
  }
104
-
105
- return CardWithURLRenderer.CardContent !== null ? /*#__PURE__*/React.createElement(CardWithURLRenderer.CardContent, {
106
- id: this.state.id,
107
- url: url,
108
- appearance: appearance,
109
- onClick: onClick,
110
- isSelected: isSelected,
111
- isFrameVisible: isFrameVisible,
112
- dispatchAnalytics: this.dispatchAnalytics,
113
- container: container,
114
- onResolve: onResolve,
115
- testId: testId,
116
- showActions: showActions,
117
- inheritDimensions: inheritDimensions,
118
- platform: platform,
119
- embedIframeRef: embedIframeRef,
120
- inlinePreloaderStyle: inlinePreloaderStyle
121
- }) : /*#__PURE__*/React.createElement(CardLinkView, {
122
- key: 'chunk-placeholder',
123
- link: url
124
- });
125
65
  }
126
- }], [{
127
- key: "moduleImporter",
128
- value: function moduleImporter(target) {
129
- import(
130
- /* webpackChunkName: "@atlaskit-internal_smartcard-urlcardcontent" */
131
- './component-lazy/index').then(function (module) {
132
- CardWithURLRenderer.CardContent = module.LazyCardWithUrlContent;
133
- target.forceUpdate();
134
- });
135
- }
136
- }]);
137
66
 
138
- return CardWithURLRenderer;
139
- }(React.PureComponent);
67
+ fireSmartLinkEvent(analyticsPayload, createAnalyticsEvent);
68
+ };
69
+
70
+ var url = props.url,
71
+ appearance = props.appearance,
72
+ isSelected = props.isSelected,
73
+ isFrameVisible = props.isFrameVisible,
74
+ onClick = props.onClick,
75
+ container = props.container,
76
+ onResolve = props.onResolve,
77
+ testId = props.testId,
78
+ showActions = props.showActions,
79
+ inheritDimensions = props.inheritDimensions,
80
+ platform = props.platform,
81
+ embedIframeRef = props.embedIframeRef,
82
+ inlinePreloaderStyle = props.inlinePreloaderStyle;
83
+
84
+ if (!url) {
85
+ throw new Error('@atlaskit/smart-card: url property is missing.');
86
+ }
140
87
 
141
- _defineProperty(CardWithURLRenderer, "CardContent", null);
88
+ return /*#__PURE__*/React.createElement(ErrorBoundary, {
89
+ FallbackComponent: ErrorFallback,
90
+ onError: logError
91
+ }, /*#__PURE__*/React.createElement(Suspense, {
92
+ fallback: /*#__PURE__*/React.createElement(CardLinkView, {
93
+ key: 'chunk-placeholder',
94
+ link: url
95
+ })
96
+ }, /*#__PURE__*/React.createElement(LazyCardWithUrlContent, {
97
+ id: id,
98
+ url: url,
99
+ appearance: appearance,
100
+ onClick: onClick,
101
+ isSelected: isSelected,
102
+ isFrameVisible: isFrameVisible,
103
+ dispatchAnalytics: dispatchAnalytics,
104
+ container: container,
105
+ onResolve: onResolve,
106
+ testId: testId,
107
+ showActions: showActions,
108
+ inheritDimensions: inheritDimensions,
109
+ platform: platform,
110
+ embedIframeRef: embedIframeRef,
111
+ inlinePreloaderStyle: inlinePreloaderStyle
112
+ })));
113
+ }
114
+
115
+ var ErrorFallback = function ErrorFallback() {
116
+ return /*#__PURE__*/React.createElement("span", null);
117
+ };
@@ -1,32 +1,3 @@
1
- import { AnalyticsHandler } from '../../utils/types';
2
- import { CardInnerAppearance } from '../../view/Card/types';
3
- import { ErrorInfo } from 'react';
4
- import { CardType } from '../store/types';
5
- import { APIError } from '../../client/errors';
6
- export declare const useSmartLinkAnalytics: (dispatchAnalytics: AnalyticsHandler) => {
7
- ui: {
8
- authEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
9
- authAlternateAccountEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
10
- cardClickedEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
11
- actionClickedEvent: (providerKey: string, actionType: string, display?: "inline" | "block" | "embed" | "preview" | undefined) => void;
12
- closedAuthEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
13
- renderSuccessEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
14
- renderFailedEvent: (display: CardInnerAppearance, error: Error, errorInfo: ErrorInfo) => void;
15
- };
16
- operational: {
17
- resolvedEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
18
- unresolvedEvent: (id: string, status: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
19
- invokeSucceededEvent: (id: string, providerKey: string, actionType: string, display: CardInnerAppearance) => void;
20
- invokeFailedEvent: (id: string, providerKey: string, actionType: string, display: CardInnerAppearance, reason: string) => void;
21
- connectSucceededEvent: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
22
- connectFailedEvent: (definitionId?: string | undefined, extensionKey?: string | undefined, reason?: string | undefined) => void;
23
- instrument: (id: string, status: CardType, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined, error?: APIError | undefined) => void;
24
- };
25
- track: {
26
- appAccountConnected: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
27
- };
28
- screen: {
29
- authPopupEvent: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
30
- };
31
- };
32
- export declare type AnalyticsFacade = ReturnType<typeof useSmartLinkAnalytics>;
1
+ export { startUfoExperience, succeedUfoExperience, failUfoExperience, addMetadataToExperience, } from './ufoExperiences';
2
+ export { useSmartLinkAnalytics } from './useSmartLinkAnalytics';
3
+ export type { AnalyticsFacade } from './useSmartLinkAnalytics';
@@ -0,0 +1,7 @@
1
+ import { CustomData } from '@atlaskit/ufo';
2
+ declare type UfoExperienceName = 'smart-link-rendered' | 'smart-link-authenticated';
3
+ export declare const startUfoExperience: (experienceName: UfoExperienceName, id: string, properties?: CustomData | undefined) => void;
4
+ export declare const succeedUfoExperience: (experienceName: UfoExperienceName, id: string, properties?: CustomData | undefined) => void;
5
+ export declare const failUfoExperience: (experienceName: UfoExperienceName, id: string, properties?: CustomData | undefined) => void;
6
+ export declare const addMetadataToExperience: (experienceName: UfoExperienceName, id: string, properties: CustomData) => void;
7
+ export {};
@@ -0,0 +1,30 @@
1
+ import { AnalyticsHandler } from '../../utils/types';
2
+ import { CardInnerAppearance } from '../../view/Card/types';
3
+ import { CardType } from '../store/types';
4
+ import { APIError } from '../../client/errors';
5
+ export declare const useSmartLinkAnalytics: (dispatchAnalytics: AnalyticsHandler) => {
6
+ ui: {
7
+ authEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
8
+ authAlternateAccountEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
9
+ cardClickedEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
10
+ actionClickedEvent: (providerKey: string, actionType: string, display?: "inline" | "block" | "embed" | "preview" | undefined) => void;
11
+ closedAuthEvent: (display: CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
12
+ renderSuccessEvent: (display: CardInnerAppearance, id: string, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
13
+ };
14
+ operational: {
15
+ resolvedEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
16
+ unresolvedEvent: (id: string, status: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
17
+ invokeSucceededEvent: (id: string, providerKey: string, actionType: string, display: CardInnerAppearance) => void;
18
+ invokeFailedEvent: (id: string, providerKey: string, actionType: string, display: CardInnerAppearance, reason: string) => void;
19
+ connectSucceededEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
20
+ connectFailedEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined, status?: string | undefined) => void;
21
+ instrument: (id: string, status: CardType, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined, error?: APIError | undefined) => void;
22
+ };
23
+ track: {
24
+ appAccountConnected: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
25
+ };
26
+ screen: {
27
+ authPopupEvent: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
28
+ };
29
+ };
30
+ export declare type AnalyticsFacade = ReturnType<typeof useSmartLinkAnalytics>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AnalyticsHandler } from '../../utils/types';
3
2
  export declare function useSmartLink(id: string, url: string, dispatchAnalytics: AnalyticsHandler): {
4
3
  state: import("../types").CardState;
@@ -16,16 +15,15 @@ export declare function useSmartLink(id: string, url: string, dispatchAnalytics:
16
15
  cardClickedEvent: (display: import("../../view/Card/types").CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
17
16
  actionClickedEvent: (providerKey: string, actionType: string, display?: "inline" | "block" | "embed" | "preview" | undefined) => void;
18
17
  closedAuthEvent: (display: import("../../view/Card/types").CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
19
- renderSuccessEvent: (display: import("../../view/Card/types").CardInnerAppearance, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
20
- renderFailedEvent: (display: import("../../view/Card/types").CardInnerAppearance, error: Error, errorInfo: import("react").ErrorInfo) => void;
18
+ renderSuccessEvent: (display: import("../../view/Card/types").CardInnerAppearance, id: string, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
21
19
  };
22
20
  operational: {
23
21
  resolvedEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
24
22
  unresolvedEvent: (id: string, status: string, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined) => void;
25
23
  invokeSucceededEvent: (id: string, providerKey: string, actionType: string, display: import("../../view/Card/types").CardInnerAppearance) => void;
26
24
  invokeFailedEvent: (id: string, providerKey: string, actionType: string, display: import("../../view/Card/types").CardInnerAppearance, reason: string) => void;
27
- connectSucceededEvent: (definitionId?: string | undefined, extensionKey?: string | undefined) => void;
28
- connectFailedEvent: (definitionId?: string | undefined, extensionKey?: string | undefined, reason?: string | undefined) => void;
25
+ connectSucceededEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined) => void;
26
+ connectFailedEvent: (id: string, definitionId?: string | undefined, extensionKey?: string | undefined, status?: string | undefined) => void;
29
27
  instrument: (id: string, status: import("../store").CardType, definitionId?: string | undefined, extensionKey?: string | undefined, resourceType?: string | undefined, error?: import("../..").APIError | undefined) => void;
30
28
  };
31
29
  track: {
@@ -36,4 +34,5 @@ export declare function useSmartLink(id: string, url: string, dispatchAnalytics:
36
34
  };
37
35
  };
38
36
  renderers: import("../context/types").CardProviderRenderers | undefined;
37
+ error: null;
39
38
  };
@@ -1,2 +1,2 @@
1
1
  import { CardWithUrlContentProps } from '../types';
2
- export declare function LazyCardWithUrlContent(props: CardWithUrlContentProps): JSX.Element;
2
+ export default function LazyCardWithUrlContent(props: CardWithUrlContentProps): JSX.Element;
@@ -1,16 +1,2 @@
1
- import React, { ErrorInfo } from 'react';
2
1
  import { CardProps } from '../Card/types';
3
- import { LazyCardWithUrlContent as CardWithUrlContentType } from './component-lazy';
4
- import { AnalyticsPayload } from '../../utils/types';
5
- export declare class CardWithURLRenderer extends React.PureComponent<CardProps, {
6
- id: string;
7
- }> {
8
- constructor(props: CardProps);
9
- static CardContent: typeof CardWithUrlContentType | null;
10
- static moduleImporter(target: CardWithURLRenderer): void;
11
- componentDidMount(): void;
12
- componentWillUnmount(): void;
13
- componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
- dispatchAnalytics: (analyticsPayload: AnalyticsPayload) => void;
15
- render(): JSX.Element;
16
- }
2
+ export declare function CardWithURLRenderer(props: CardProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "16.1.1",
3
+ "version": "16.2.0",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,7 +21,7 @@
21
21
  ".": "./src/index.ts"
22
22
  },
23
23
  "atlassian": {
24
- "team": "Editor Media",
24
+ "team": "Linking Platform",
25
25
  "releaseModel": "scheduled",
26
26
  "website": {
27
27
  "name": "Smart Card"
@@ -35,14 +35,16 @@
35
35
  "@atlaskit/icon-object": "^6.2.0",
36
36
  "@atlaskit/in-product-testing": "^0.1.0",
37
37
  "@atlaskit/logo": "^13.5.0",
38
- "@atlaskit/media-ui": "^17.0.0",
38
+ "@atlaskit/media-ui": "^17.1.0",
39
39
  "@atlaskit/outbound-auth-flow-client": "^3.1.0",
40
40
  "@atlaskit/theme": "^12.0.0",
41
+ "@atlaskit/ufo": "^0.0.6",
41
42
  "@babel/runtime": "^7.0.0",
42
43
  "async-retry": "^1.2.3",
43
44
  "dataloader": "^2.0.0",
44
45
  "json-ld-types": "2.3.0",
45
46
  "p-throttle": "^4.1.1",
47
+ "react-error-boundary": "^3.1.3",
46
48
  "react-lazily-render": "^1.2.0",
47
49
  "react-loadable": "^5.1.0",
48
50
  "redux": "^3.7.2",
@@ -83,6 +85,7 @@
83
85
  "abortcontroller-polyfill": "^1.1.9",
84
86
  "brace": "^0.11.1",
85
87
  "enzyme": "^3.10.0",
88
+ "jest-extended": "^0.11.2",
86
89
  "lorem-ipsum": "^1.0.6",
87
90
  "mockdate": "^3.0.2",
88
91
  "react": "^16.8.0",