@atlaskit/media-card 80.3.1 → 80.3.3

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,19 @@
1
1
  # @atlaskit/media-card
2
2
 
3
+ ## 80.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`83abdc123b304`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/83abdc123b304) -
8
+ Remove platform_trace_id_tooltip_attachment_failures experiment gate - trace ID tooltip on
9
+ attachment failures is now always enabled
10
+
11
+ ## 80.3.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 80.3.1
4
18
 
5
19
  ### Patch Changes
@@ -20,7 +20,7 @@ var _label = _interopRequireDefault(require("@atlaskit/react-ufo/label"));
20
20
  var _excluded = ["identifier"];
21
21
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
22
22
  var packageName = "@atlaskit/media-card";
23
- var packageVersion = "80.3.0";
23
+ var packageVersion = "0.0.0-development";
24
24
  var CardBase = exports.CardBase = function CardBase(_ref) {
25
25
  var identifier = _ref.identifier,
26
26
  otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -258,7 +258,7 @@ var CardViewBase = exports.CardViewBase = function CardViewBase(_ref) {
258
258
  mimeType = _ref4.mimeType,
259
259
  name = _ref4.name,
260
260
  createdAt = _ref4.createdAt;
261
- var shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId && (0, _platformFeatureFlags.fg)('platform_trace_id_tooltip_attachment_failures');
261
+ var shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId;
262
262
  var tooltipContent = shouldShowTraceIdTooltip ? intl.formatMessage(i18n.traceIdTooltip, {
263
263
  traceId: traceId
264
264
  }) : name;
@@ -87,7 +87,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
87
87
  }(_react.default.Component);
88
88
  (0, _defineProperty2.default)(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
89
89
  var packageName = "@atlaskit/media-card";
90
- var packageVersion = "80.3.0";
90
+ var packageVersion = "0.0.0-development";
91
91
 
92
92
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
93
93
  var MediaCardAnalyticsErrorBoundary = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -116,7 +116,7 @@ var MediaInlineCardLoader = exports.default = /*#__PURE__*/function (_React$Pure
116
116
  ErrorBoundary = _this$state.ErrorBoundary;
117
117
  var analyticsContext = {
118
118
  packageVersion: "@atlaskit/media-card",
119
- packageName: "80.3.0",
119
+ packageName: "0.0.0-development",
120
120
  componentName: 'mediaInlineCard',
121
121
  component: 'mediaInlineCard'
122
122
  };
@@ -19,7 +19,7 @@ var _globalScope = require("./globalScope/globalScope");
19
19
  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; }
20
20
  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) { (0, _defineProperty2.default)(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; }
21
21
  var packageName = "@atlaskit/media-card";
22
- var packageVersion = "80.3.0";
22
+ var packageVersion = "0.0.0-development";
23
23
  var SAMPLE_RATE = 0.05;
24
24
 
25
25
  /**
@@ -9,7 +9,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
9
9
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  import UFOLabel from '@atlaskit/react-ufo/label';
11
11
  const packageName = "@atlaskit/media-card";
12
- const packageVersion = "80.3.0";
12
+ const packageVersion = "0.0.0-development";
13
13
  export const CardBase = ({
14
14
  identifier,
15
15
  ...otherProps
@@ -248,7 +248,7 @@ export const CardViewBase = ({
248
248
  name,
249
249
  createdAt
250
250
  } = metadata || {};
251
- const shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId && fg('platform_trace_id_tooltip_attachment_failures');
251
+ const shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId;
252
252
  const tooltipContent = shouldShowTraceIdTooltip ? intl.formatMessage(i18n.traceIdTooltip, {
253
253
  traceId
254
254
  }) : name;
@@ -66,7 +66,7 @@ class WrappedMediaCardAnalyticsErrorBoundary extends React.Component {
66
66
  }
67
67
  _defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
68
68
  const packageName = "@atlaskit/media-card";
69
- const packageVersion = "80.3.0";
69
+ const packageVersion = "0.0.0-development";
70
70
 
71
71
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
72
72
  const MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
@@ -37,7 +37,7 @@ export default class MediaInlineCardLoader extends React.PureComponent {
37
37
  } = this.state;
38
38
  const analyticsContext = {
39
39
  packageVersion: "@atlaskit/media-card",
40
- packageName: "80.3.0",
40
+ packageName: "0.0.0-development",
41
41
  componentName: 'mediaInlineCard',
42
42
  component: 'mediaInlineCard'
43
43
  };
@@ -9,7 +9,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
9
9
  import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
10
10
  import { getMediaGlobalScope } from './globalScope/globalScope';
11
11
  const packageName = "@atlaskit/media-card";
12
- const packageVersion = "80.3.0";
12
+ const packageVersion = "0.0.0-development";
13
13
  const SAMPLE_RATE = 0.05;
14
14
 
15
15
  /**
@@ -11,7 +11,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
11
11
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
12
12
  import UFOLabel from '@atlaskit/react-ufo/label';
13
13
  var packageName = "@atlaskit/media-card";
14
- var packageVersion = "80.3.0";
14
+ var packageVersion = "0.0.0-development";
15
15
  export var CardBase = function CardBase(_ref) {
16
16
  var identifier = _ref.identifier,
17
17
  otherProps = _objectWithoutProperties(_ref, _excluded);
@@ -249,7 +249,7 @@ export var CardViewBase = function CardViewBase(_ref) {
249
249
  mimeType = _ref4.mimeType,
250
250
  name = _ref4.name,
251
251
  createdAt = _ref4.createdAt;
252
- var shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId && fg('platform_trace_id_tooltip_attachment_failures');
252
+ var shouldShowTraceIdTooltip = !!traceTooltipVariant && !!traceId;
253
253
  var tooltipContent = shouldShowTraceIdTooltip ? intl.formatMessage(i18n.traceIdTooltip, {
254
254
  traceId: traceId
255
255
  }) : name;
@@ -80,7 +80,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
80
80
  }(React.Component);
81
81
  _defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
82
82
  var packageName = "@atlaskit/media-card";
83
- var packageVersion = "80.3.0";
83
+ var packageVersion = "0.0.0-development";
84
84
 
85
85
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
86
86
  var MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
@@ -101,7 +101,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
101
101
  ErrorBoundary = _this$state.ErrorBoundary;
102
102
  var analyticsContext = {
103
103
  packageVersion: "@atlaskit/media-card",
104
- packageName: "80.3.0",
104
+ packageName: "0.0.0-development",
105
105
  componentName: 'mediaInlineCard',
106
106
  component: 'mediaInlineCard'
107
107
  };
@@ -13,7 +13,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
13
13
  import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
14
14
  import { getMediaGlobalScope } from './globalScope/globalScope';
15
15
  var packageName = "@atlaskit/media-card";
16
- var packageVersion = "80.3.0";
16
+ var packageVersion = "0.0.0-development";
17
17
  var SAMPLE_RATE = 0.05;
18
18
 
19
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "80.3.1",
3
+ "version": "80.3.3",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,10 +47,10 @@
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/primitives": "^19.0.0",
49
49
  "@atlaskit/progress-bar": "^4.2.0",
50
- "@atlaskit/react-ufo": "^5.16.0",
50
+ "@atlaskit/react-ufo": "^5.17.0",
51
51
  "@atlaskit/spinner": "^19.1.0",
52
52
  "@atlaskit/theme": "^23.2.0",
53
- "@atlaskit/tmp-editor-statsig": "^71.0.0",
53
+ "@atlaskit/tmp-editor-statsig": "^72.2.0",
54
54
  "@atlaskit/tokens": "^13.0.0",
55
55
  "@atlaskit/tooltip": "^21.2.0",
56
56
  "@atlaskit/ufo": "^0.4.0",
@@ -162,9 +162,6 @@
162
162
  "platform_media_react19_support": {
163
163
  "type": "boolean"
164
164
  },
165
- "platform_trace_id_tooltip_attachment_failures": {
166
- "type": "boolean"
167
- },
168
165
  "platform_media_a11y_suppression_fixes": {
169
166
  "type": "boolean"
170
167
  }