@atlaskit/media-card 82.1.25 → 82.1.27

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,17 @@
1
1
  # @atlaskit/media-card
2
2
 
3
+ ## 82.1.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 82.1.26
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 82.1.25
4
16
 
5
17
  ### Patch Changes
@@ -8,7 +8,7 @@ var _reactIntl = require("react-intl");
8
8
  var _mediaCommon = require("@atlaskit/media-common");
9
9
  var _CardWithPerformanceObserver = require("./CardWithPerformanceObserver");
10
10
  var packageName = "@atlaskit/media-card";
11
- var packageVersion = "82.1.24";
11
+ var packageVersion = "82.1.26";
12
12
  var Card = exports.Card = (0, _mediaCommon.withMediaAnalyticsContext)({
13
13
  packageVersion: packageVersion,
14
14
  packageName: packageName,
@@ -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 = "82.1.24";
90
+ var packageVersion = "82.1.26";
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: "82.1.24",
119
+ packageName: "82.1.26",
120
120
  componentName: 'mediaInlineCard',
121
121
  component: 'mediaInlineCard'
122
122
  };
@@ -23,7 +23,7 @@ var _getMediaGlobalScope = require("./globalScope/getMediaGlobalScope");
23
23
  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; }
24
24
  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; }
25
25
  var packageName = "@atlaskit/media-card";
26
- var packageVersion = "82.1.24";
26
+ var packageVersion = "82.1.26";
27
27
  var SAMPLE_RATE = 0.05;
28
28
 
29
29
  /**
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
2
2
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
3
3
  import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
4
4
  const packageName = "@atlaskit/media-card";
5
- const packageVersion = "82.1.24";
5
+ const packageVersion = "82.1.26";
6
6
  export const Card = withMediaAnalyticsContext({
7
7
  packageVersion,
8
8
  packageName,
@@ -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 = "82.1.24";
69
+ const packageVersion = "82.1.26";
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: "82.1.24",
40
+ packageName: "82.1.26",
41
41
  componentName: 'mediaInlineCard',
42
42
  component: 'mediaInlineCard'
43
43
  };
@@ -12,7 +12,7 @@ import { extractErrorInfo } from './analytics/extractErrorInfo';
12
12
  import { getRenderErrorRequestMetadata } from './analytics/getRenderErrorRequestMetadata';
13
13
  import { getMediaGlobalScope } from './globalScope/getMediaGlobalScope';
14
14
  const packageName = "@atlaskit/media-card";
15
- const packageVersion = "82.1.24";
15
+ const packageVersion = "82.1.26";
16
16
  const SAMPLE_RATE = 0.05;
17
17
 
18
18
  /**
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
2
2
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
3
3
  import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
4
4
  var packageName = "@atlaskit/media-card";
5
- var packageVersion = "82.1.24";
5
+ var packageVersion = "82.1.26";
6
6
  export var Card = withMediaAnalyticsContext({
7
7
  packageVersion: packageVersion,
8
8
  packageName: packageName,
@@ -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 = "82.1.24";
83
+ var packageVersion = "82.1.26";
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: "82.1.24",
104
+ packageName: "82.1.26",
105
105
  componentName: 'mediaInlineCard',
106
106
  component: 'mediaInlineCard'
107
107
  };
@@ -16,7 +16,7 @@ import { extractErrorInfo } from './analytics/extractErrorInfo';
16
16
  import { getRenderErrorRequestMetadata } from './analytics/getRenderErrorRequestMetadata';
17
17
  import { getMediaGlobalScope } from './globalScope/getMediaGlobalScope';
18
18
  var packageName = "@atlaskit/media-card";
19
- var packageVersion = "82.1.24";
19
+ var packageVersion = "82.1.26";
20
20
  var SAMPLE_RATE = 0.05;
21
21
 
22
22
  /**
@@ -8,7 +8,9 @@ import React from 'react';
8
8
  import { jsx } from '@emotion/react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
11
- import { Box, xcss } from '@atlaskit/primitives';
11
+ import { Box } from '@atlaskit/primitives/box';
12
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
12
14
 
13
15
  type CardViewWrapperProps = {
14
16
  small?: boolean;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import InlineMessage from '@atlaskit/inline-message';
3
+ import InlineMessage from '@atlaskit/inline-message/inline-message';
4
4
 
5
5
  const DevelopmentUseMessage: React.FC = () => (
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -1,9 +1,11 @@
1
1
  import React, { type ReactNode } from 'react';
2
2
 
3
3
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
4
- import { Box, xcss } from '@atlaskit/primitives';
4
+ import { Box } from '@atlaskit/primitives/box';
5
5
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
6
- import { media } from '@atlaskit/primitives/responsive';
6
+ import { media } from '@atlaskit/primitives/responsive/media';
7
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
8
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
7
9
 
8
10
  const controlsBoxStyles = xcss({
9
11
  maxWidth: '1500px',
@@ -2,7 +2,11 @@ import React, { useEffect, useMemo, useState } from 'react';
2
2
 
3
3
  import { Label } from '@atlaskit/form/label/default';
4
4
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
5
- import { Box, Flex, xcss } from '@atlaskit/primitives';
5
+ import { Box } from '@atlaskit/primitives/box';
6
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
7
+ import { Flex } from '@atlaskit/primitives/components/flex';
8
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
9
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
6
10
  import Range from '@atlaskit/range/range';
7
11
 
8
12
  import { ToggleBox } from './toggle';
@@ -8,15 +8,19 @@ import React from 'react';
8
8
  import { jsx } from '@emotion/react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
11
- import { Box, xcss } from '@atlaskit/primitives';
11
+ import { Box } from '@atlaskit/primitives/box';
12
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
+ import { xcss } from '@atlaskit/primitives/xcss/xcss';
12
14
 
13
15
  const containerStyles = xcss({
14
16
  boxSizing: 'border-box',
17
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage -- the rule does not yet recognise @atlaskit/primitives subpath entry points
15
18
  outlineColor: 'color.border.accent.orange',
16
19
  outlineStyle: 'solid',
17
20
  outlineWidth: 'border.width.selected',
18
21
  margin: 'auto',
19
22
  marginTop: 'space.100',
23
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage -- the rule does not yet recognise @atlaskit/primitives subpath entry points
20
24
  backgroundColor: 'color.background.accent.green.subtler',
21
25
  });
22
26
 
@@ -1,8 +1,8 @@
1
1
  import React, { useState } from 'react';
2
2
 
3
3
  import { Label } from '@atlaskit/form/label/default';
4
- import { Box } from '@atlaskit/primitives/compiled';
5
- import Toggle from '@atlaskit/toggle';
4
+ import { Box } from '@atlaskit/primitives/compiled/box';
5
+ import Toggle from '@atlaskit/toggle/toggle';
6
6
 
7
7
  function makeid(length = 12) {
8
8
  let result = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "82.1.25",
3
+ "version": "82.1.27",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/react-ufo": "^8.1.0",
56
56
  "@atlaskit/section-message": "^10.2.0",
57
57
  "@atlaskit/theme": "^28.2.0",
58
- "@atlaskit/tmp-editor-statsig": "^229.0.0",
58
+ "@atlaskit/tmp-editor-statsig": "^231.0.0",
59
59
  "@atlaskit/tokens": "^20.4.0",
60
60
  "@atlaskit/tooltip": "^24.4.0",
61
61
  "@atlaskit/ufo": "^2.0.0",