@atlaskit/media-card 79.11.4 → 79.12.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/media-card
2
2
 
3
+ ## 79.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`00e69e0b7c839`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00e69e0b7c839) -
8
+ Clean up and removal of the `platform-visual-refresh-icons` feature flag.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 79.11.4
4
15
 
5
16
  ### Patch Changes
@@ -22,7 +22,7 @@ var _label = _interopRequireDefault(require("@atlaskit/react-ufo/label"));
22
22
  var _excluded = ["identifier"];
23
23
  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); }
24
24
  var packageName = "@atlaskit/media-card";
25
- var packageVersion = "79.11.3";
25
+ var packageVersion = "0.0.0-development";
26
26
  var CardBase = exports.CardBase = function CardBase(_ref) {
27
27
  var identifier = _ref.identifier,
28
28
  otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -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 = "79.11.3";
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)({
@@ -3,13 +3,10 @@
3
3
  ._v564ybtr{transition:all .3s}
4
4
  ._154i1tpr{top:var(--ds-space-075,7px)}
5
5
  ._1b941ule span{display:block}
6
- ._1bsbdlk8{width:14px}
7
6
  ._1bsbpxbi{width:var(--ds-space-200,1pc)}
8
7
  ._1e0c11p5{display:grid}
9
8
  ._1ltv1tpr{left:var(--ds-space-075,7px)}
10
- ._1mcmdlk8 span svg{height:14px}
11
9
  ._4cvr1h6o{align-items:center}
12
- ._4t3idlk8{height:14px}
13
10
  ._4t3ipxbi{height:var(--ds-space-200,1pc)}
14
11
  ._6a6z1h6o{justify-items:center}
15
12
  ._bfhkqre5{background-color:var(--_1flhvp0)}
@@ -9,18 +9,16 @@ exports.TickBoxWrapper = void 0;
9
9
  require("./tickBoxWrapper-compiled.compiled.css");
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _runtime = require("@compiled/react/runtime");
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  var _styles = require("./styles");
14
13
  var _colors = require("@atlaskit/theme/colors");
15
14
  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); }
16
15
  var selectedStyles = null;
17
- var oldWrapperStyes = null;
18
16
  var wrapperStyles = null;
19
17
  var TickBoxWrapper = exports.TickBoxWrapper = function TickBoxWrapper(props) {
20
18
  return /*#__PURE__*/React.createElement("div", {
21
19
  id: "tickBoxWrapper",
22
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
23
- className: (0, _runtime.ax)(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && "_1bsbdlk8 _4t3idlk8 _1mcmdlk8", props.selected && "_bfhkqre5 _syaz5w2r", _styles.tickBoxClassName]),
21
+ className: (0, _runtime.ax)(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhkqre5 _syaz5w2r", _styles.tickBoxClassName]),
24
22
  style: {
25
23
  "--_1flhvp0": (0, _runtime.ix)("var(--ds-icon-information, ".concat(_colors.B200, ")"))
26
24
  }
@@ -9,7 +9,6 @@ exports.TitleBoxWrapper = exports.TitleBoxIcon = exports.TitleBoxHeader = export
9
9
  require("./titleBoxComponents-compiled.compiled.css");
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _runtime = require("@compiled/react/runtime");
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  var _colors = require("@atlaskit/theme/colors");
14
13
  var _styles = require("../styles");
15
14
  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); }
@@ -72,12 +71,11 @@ var TitleBoxFooter = exports.TitleBoxFooter = function TitleBoxFooter(props) {
72
71
  };
73
72
  TitleBoxFooter.displayName = 'TitleBoxFooter';
74
73
  var titleBoxIconStyles = null;
75
- var newTitleBoxIconStyles = null;
76
74
  var TitleBoxIcon = exports.TitleBoxIcon = function TitleBoxIcon(props) {
77
75
  return /*#__PURE__*/React.createElement("div", {
78
76
  id: "titleBoxIcon",
79
77
  "data-testid": "title-box-icon",
80
- className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n51b66", !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n5idpf"])
78
+ className: (0, _runtime.ax)(["_kqswstnw _1xi21b66 _94n51b66"])
81
79
  }, props.children);
82
80
  };
83
81
  var errorMessageWrapperStyles = null;
@@ -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: "79.11.3",
119
+ packageName: "0.0.0-development",
120
120
  componentName: 'mediaInlineCard',
121
121
  component: 'mediaInlineCard'
122
122
  };
@@ -15,7 +15,7 @@ var _mediaClient = require("@atlaskit/media-client");
15
15
  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; }
16
16
  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; }
17
17
  var packageName = "@atlaskit/media-card";
18
- var packageVersion = "79.11.3";
18
+ var packageVersion = "0.0.0-development";
19
19
  var SAMPLE_RATE = 0.05;
20
20
  var concurrentExperience;
21
21
  var getExperience = function getExperience(id) {
@@ -11,7 +11,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
11
11
  import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import UFOLabel from '@atlaskit/react-ufo/label';
13
13
  const packageName = "@atlaskit/media-card";
14
- const packageVersion = "79.11.3";
14
+ const packageVersion = "0.0.0-development";
15
15
  export const CardBase = ({
16
16
  identifier,
17
17
  ...otherProps
@@ -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 = "79.11.3";
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({
@@ -3,13 +3,10 @@
3
3
  ._v564ybtr{transition:all .3s}
4
4
  ._154i1tpr{top:var(--ds-space-075,7px)}
5
5
  ._1b941ule span{display:block}
6
- ._1bsbdlk8{width:14px}
7
6
  ._1bsbpxbi{width:var(--ds-space-200,1pc)}
8
7
  ._1e0c11p5{display:grid}
9
8
  ._1ltv1tpr{left:var(--ds-space-075,7px)}
10
- ._1mcmdlk8 span svg{height:14px}
11
9
  ._4cvr1h6o{align-items:center}
12
- ._4t3idlk8{height:14px}
13
10
  ._4t3ipxbi{height:var(--ds-space-200,1pc)}
14
11
  ._6a6z1h6o{justify-items:center}
15
12
  ._bfhk8sto{background-color:var(--ds-icon-information,#2684ff)}
@@ -2,17 +2,15 @@
2
2
  import "./tickBoxWrapper-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { tickBoxClassName } from './styles';
7
6
  import { B200 } from '@atlaskit/theme/colors';
8
7
  const selectedStyles = null;
9
- const oldWrapperStyes = null;
10
8
  const wrapperStyles = null;
11
9
  export const TickBoxWrapper = props => {
12
10
  return /*#__PURE__*/React.createElement("div", {
13
11
  id: "tickBoxWrapper",
14
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
15
- className: ax(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", !fg('platform-visual-refresh-icons') && "_1bsbdlk8 _4t3idlk8 _1mcmdlk8", props.selected && "_bfhk8sto _syaz5w2r", tickBoxClassName])
13
+ className: ax(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhk8sto _syaz5w2r", tickBoxClassName])
16
14
  }, props.children);
17
15
  };
18
16
  TickBoxWrapper.displayName = 'TickBoxWrapper';
@@ -2,7 +2,6 @@
2
2
  import "./titleBoxComponents-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { N0, N800 } from '@atlaskit/theme/colors';
7
6
  import { rgba } from '../styles';
8
7
  const smallLineHeight = 14;
@@ -71,12 +70,11 @@ export const TitleBoxFooter = props => {
71
70
  };
72
71
  TitleBoxFooter.displayName = 'TitleBoxFooter';
73
72
  const titleBoxIconStyles = null;
74
- const newTitleBoxIconStyles = null;
75
73
  export const TitleBoxIcon = props => {
76
74
  return /*#__PURE__*/React.createElement("div", {
77
75
  id: "titleBoxIcon",
78
76
  "data-testid": "title-box-icon",
79
- className: ax([fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n51b66", !fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n5idpf"])
77
+ className: ax(["_kqswstnw _1xi21b66 _94n51b66"])
80
78
  }, props.children);
81
79
  };
82
80
  const errorMessageWrapperStyles = null;
@@ -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: "79.11.3",
40
+ packageName: "0.0.0-development",
41
41
  componentName: 'mediaInlineCard',
42
42
  component: 'mediaInlineCard'
43
43
  };
@@ -5,7 +5,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
5
5
  import { MediaCardError } from '../errors';
6
6
  import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
7
7
  const packageName = "@atlaskit/media-card";
8
- const packageVersion = "79.11.3";
8
+ const packageVersion = "0.0.0-development";
9
9
  const SAMPLE_RATE = 0.05;
10
10
  let concurrentExperience;
11
11
  const getExperience = id => {
@@ -13,7 +13,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
13
13
  import { fg } from '@atlaskit/platform-feature-flags';
14
14
  import UFOLabel from '@atlaskit/react-ufo/label';
15
15
  var packageName = "@atlaskit/media-card";
16
- var packageVersion = "79.11.3";
16
+ var packageVersion = "0.0.0-development";
17
17
  export var CardBase = function CardBase(_ref) {
18
18
  var identifier = _ref.identifier,
19
19
  otherProps = _objectWithoutProperties(_ref, _excluded);
@@ -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 = "79.11.3";
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({
@@ -3,13 +3,10 @@
3
3
  ._v564ybtr{transition:all .3s}
4
4
  ._154i1tpr{top:var(--ds-space-075,7px)}
5
5
  ._1b941ule span{display:block}
6
- ._1bsbdlk8{width:14px}
7
6
  ._1bsbpxbi{width:var(--ds-space-200,1pc)}
8
7
  ._1e0c11p5{display:grid}
9
8
  ._1ltv1tpr{left:var(--ds-space-075,7px)}
10
- ._1mcmdlk8 span svg{height:14px}
11
9
  ._4cvr1h6o{align-items:center}
12
- ._4t3idlk8{height:14px}
13
10
  ._4t3ipxbi{height:var(--ds-space-200,1pc)}
14
11
  ._6a6z1h6o{justify-items:center}
15
12
  ._bfhkqre5{background-color:var(--_1flhvp0)}
@@ -2,17 +2,15 @@
2
2
  import "./tickBoxWrapper-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { tickBoxClassName } from './styles';
7
6
  import { B200 } from '@atlaskit/theme/colors';
8
7
  var selectedStyles = null;
9
- var oldWrapperStyes = null;
10
8
  var wrapperStyles = null;
11
9
  export var TickBoxWrapper = function TickBoxWrapper(props) {
12
10
  return /*#__PURE__*/React.createElement("div", {
13
11
  id: "tickBoxWrapper",
14
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
15
- className: ax(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", !fg('platform-visual-refresh-icons') && "_1bsbdlk8 _4t3idlk8 _1mcmdlk8", props.selected && "_bfhkqre5 _syaz5w2r", tickBoxClassName]),
13
+ className: ax(["_11c82smr _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i1tpr _1ltv1tpr _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhkqre5 _syaz5w2r", tickBoxClassName]),
16
14
  style: {
17
15
  "--_1flhvp0": ix("var(--ds-icon-information, ".concat(B200, ")"))
18
16
  }
@@ -2,7 +2,6 @@
2
2
  import "./titleBoxComponents-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { N0, N800 } from '@atlaskit/theme/colors';
7
6
  import { rgba } from '../styles';
8
7
  var smallLineHeight = 14;
@@ -64,12 +63,11 @@ export var TitleBoxFooter = function TitleBoxFooter(props) {
64
63
  };
65
64
  TitleBoxFooter.displayName = 'TitleBoxFooter';
66
65
  var titleBoxIconStyles = null;
67
- var newTitleBoxIconStyles = null;
68
66
  export var TitleBoxIcon = function TitleBoxIcon(props) {
69
67
  return /*#__PURE__*/React.createElement("div", {
70
68
  id: "titleBoxIcon",
71
69
  "data-testid": "title-box-icon",
72
- className: ax([fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n51b66", !fg('platform-visual-refresh-icons') && "_kqswstnw _1xi21b66 _94n5idpf"])
70
+ className: ax(["_kqswstnw _1xi21b66 _94n51b66"])
73
71
  }, props.children);
74
72
  };
75
73
  var errorMessageWrapperStyles = null;
@@ -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: "79.11.3",
104
+ packageName: "0.0.0-development",
105
105
  componentName: 'mediaInlineCard',
106
106
  component: 'mediaInlineCard'
107
107
  };
@@ -8,7 +8,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
8
8
  import { MediaCardError } from '../errors';
9
9
  import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
10
10
  var packageName = "@atlaskit/media-card";
11
- var packageVersion = "79.11.3";
11
+ var packageVersion = "0.0.0-development";
12
12
  var SAMPLE_RATE = 0.05;
13
13
  var concurrentExperience;
14
14
  var getExperience = function getExperience(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "79.11.4",
3
+ "version": "79.12.0",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/analytics-next": "^11.1.0",
35
- "@atlaskit/dropdown-menu": "^16.3.0",
35
+ "@atlaskit/dropdown-menu": "^16.4.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.10.0",
37
37
  "@atlaskit/icon": "^29.3.0",
38
- "@atlaskit/link": "^3.2.0",
38
+ "@atlaskit/link": "^3.3.0",
39
39
  "@atlaskit/media-client": "^35.7.0",
40
40
  "@atlaskit/media-client-react": "^4.1.0",
41
41
  "@atlaskit/media-common": "^12.3.0",
@@ -78,7 +78,7 @@
78
78
  "@atlaskit/media-state": "^1.8.0",
79
79
  "@atlaskit/media-test-data": "^3.2.0",
80
80
  "@atlaskit/media-test-helpers": "^39.0.0",
81
- "@atlaskit/radio": "^8.3.0",
81
+ "@atlaskit/radio": "^8.4.0",
82
82
  "@atlaskit/range": "^9.3.0",
83
83
  "@atlaskit/ssr": "workspace:^",
84
84
  "@atlaskit/toggle": "^15.2.0",