@atlaskit/media-card 77.12.1 → 77.12.2

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 (144) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/compass.yml +6 -3
  3. package/dist/cjs/card/card.js +1 -1
  4. package/dist/cjs/card/cardView.js +1 -1
  5. package/dist/cjs/card/inlinePlayerWrapper.js +4 -1
  6. package/dist/cjs/card/inlinePlayerWrapperStyles.js +1 -1
  7. package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
  8. package/dist/cjs/card/ui/actionsBar/actionsBarWrapper.js +4 -1
  9. package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton.js +5 -1
  10. package/dist/cjs/card/ui/actionsBar/cardActions/cardActionsView.js +1 -1
  11. package/dist/cjs/card/ui/actionsBar/cardActions/styles.js +14 -2
  12. package/dist/cjs/card/ui/actionsBar/styles.js +13 -8
  13. package/dist/cjs/card/ui/blanket/blanket.js +2 -0
  14. package/dist/cjs/card/ui/blanket/styles.js +8 -2
  15. package/dist/cjs/card/ui/iconMessage/iconMessageWrapper.js +3 -0
  16. package/dist/cjs/card/ui/iconWrapper/iconWrapper.js +4 -1
  17. package/dist/cjs/card/ui/iconWrapper/styles.js +3 -0
  18. package/dist/cjs/card/ui/openMediaViewerButton/openMediaViewerButton.js +9 -20
  19. package/dist/cjs/card/ui/playButton/playButtonBackground.js +2 -1
  20. package/dist/cjs/card/ui/playButton/playButtonWrapper.js +2 -1
  21. package/dist/cjs/card/ui/playButton/styles.js +7 -0
  22. package/dist/cjs/card/ui/progressBar/styledBar.js +4 -1
  23. package/dist/cjs/card/ui/progressBar/styles.js +3 -0
  24. package/dist/cjs/card/ui/tickBox/tickBoxWrapper.js +14 -3
  25. package/dist/cjs/card/ui/titleBox/styles.js +24 -4
  26. package/dist/cjs/card/ui/titleBox/titleBoxComponents.js +30 -17
  27. package/dist/cjs/card/ui/unhandledErrorCard/index.js +22 -11
  28. package/dist/cjs/card/ui/wrapper/imageContainer.js +1 -0
  29. package/dist/cjs/card/ui/wrapper/styles.js +1 -1
  30. package/dist/cjs/card/ui/wrapper/wrapper.js +4 -1
  31. package/dist/cjs/card/v2/cardV2.js +1 -1
  32. package/dist/cjs/card/v2/cardViewV2.js +1 -1
  33. package/dist/cjs/card/v2/cardviews/cardViewWrapper.js +1 -0
  34. package/dist/cjs/card/v2/cardviews/errorCardView.js +1 -0
  35. package/dist/cjs/card/v2/cardviews/iconCardView.js +1 -0
  36. package/dist/cjs/card/v2/cardviews/imageCardView.js +1 -0
  37. package/dist/cjs/card/v2/cardviews/index.js +1 -0
  38. package/dist/cjs/card/v2/cardviews/loadingCardView.js +1 -0
  39. package/dist/cjs/card/v2/cardviews/processingCardView.js +1 -0
  40. package/dist/cjs/card/v2/cardviews/videoCardView.js +1 -0
  41. package/dist/cjs/card/v2/svgView/svgView.js +1 -0
  42. package/dist/cjs/inline/loader.js +1 -1
  43. package/dist/cjs/utils/lightCards/errorIcon/index.js +10 -7
  44. package/dist/cjs/utils/lightCards/errorIcon/styles.js +3 -0
  45. package/dist/cjs/utils/lightCards/lightCardWrappers.js +9 -5
  46. package/dist/cjs/utils/lightCards/styles.js +10 -2
  47. package/dist/cjs/utils/ufoExperiences.js +1 -1
  48. package/dist/es2019/card/card.js +1 -1
  49. package/dist/es2019/card/cardView.js +1 -0
  50. package/dist/es2019/card/inlinePlayerWrapper.js +4 -1
  51. package/dist/es2019/card/inlinePlayerWrapperStyles.js +1 -0
  52. package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
  53. package/dist/es2019/card/ui/actionsBar/actionsBarWrapper.js +4 -1
  54. package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton.js +4 -1
  55. package/dist/es2019/card/ui/actionsBar/cardActions/cardActionsView.js +1 -0
  56. package/dist/es2019/card/ui/actionsBar/cardActions/styles.js +14 -2
  57. package/dist/es2019/card/ui/actionsBar/styles.js +4 -1
  58. package/dist/es2019/card/ui/blanket/blanket.js +2 -0
  59. package/dist/es2019/card/ui/blanket/styles.js +7 -2
  60. package/dist/es2019/card/ui/iconMessage/iconMessageWrapper.js +2 -0
  61. package/dist/es2019/card/ui/iconWrapper/iconWrapper.js +4 -1
  62. package/dist/es2019/card/ui/iconWrapper/styles.js +2 -0
  63. package/dist/es2019/card/ui/openMediaViewerButton/openMediaViewerButton.js +7 -18
  64. package/dist/es2019/card/ui/playButton/playButtonBackground.js +2 -1
  65. package/dist/es2019/card/ui/playButton/playButtonWrapper.js +2 -1
  66. package/dist/es2019/card/ui/playButton/styles.js +6 -0
  67. package/dist/es2019/card/ui/progressBar/styledBar.js +4 -1
  68. package/dist/es2019/card/ui/progressBar/styles.js +2 -0
  69. package/dist/es2019/card/ui/tickBox/tickBoxWrapper.js +13 -3
  70. package/dist/es2019/card/ui/titleBox/styles.js +23 -4
  71. package/dist/es2019/card/ui/titleBox/titleBoxComponents.js +30 -17
  72. package/dist/es2019/card/ui/unhandledErrorCard/index.js +22 -10
  73. package/dist/es2019/card/ui/wrapper/imageContainer.js +1 -0
  74. package/dist/es2019/card/ui/wrapper/styles.js +1 -0
  75. package/dist/es2019/card/ui/wrapper/wrapper.js +4 -1
  76. package/dist/es2019/card/v2/cardV2.js +1 -1
  77. package/dist/es2019/card/v2/cardViewV2.js +1 -0
  78. package/dist/es2019/card/v2/cardviews/cardViewWrapper.js +1 -0
  79. package/dist/es2019/card/v2/cardviews/errorCardView.js +1 -0
  80. package/dist/es2019/card/v2/cardviews/iconCardView.js +1 -0
  81. package/dist/es2019/card/v2/cardviews/imageCardView.js +1 -0
  82. package/dist/es2019/card/v2/cardviews/index.js +1 -0
  83. package/dist/es2019/card/v2/cardviews/loadingCardView.js +1 -0
  84. package/dist/es2019/card/v2/cardviews/processingCardView.js +1 -0
  85. package/dist/es2019/card/v2/cardviews/videoCardView.js +1 -0
  86. package/dist/es2019/card/v2/svgView/svgView.js +1 -0
  87. package/dist/es2019/inline/loader.js +1 -1
  88. package/dist/es2019/utils/lightCards/errorIcon/index.js +10 -6
  89. package/dist/es2019/utils/lightCards/errorIcon/styles.js +3 -0
  90. package/dist/es2019/utils/lightCards/lightCardWrappers.js +9 -5
  91. package/dist/es2019/utils/lightCards/styles.js +9 -2
  92. package/dist/es2019/utils/ufoExperiences.js +1 -1
  93. package/dist/esm/card/card.js +1 -1
  94. package/dist/esm/card/cardView.js +1 -0
  95. package/dist/esm/card/inlinePlayerWrapper.js +4 -1
  96. package/dist/esm/card/inlinePlayerWrapperStyles.js +1 -0
  97. package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
  98. package/dist/esm/card/ui/actionsBar/actionsBarWrapper.js +4 -1
  99. package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton.js +4 -1
  100. package/dist/esm/card/ui/actionsBar/cardActions/cardActionsView.js +1 -0
  101. package/dist/esm/card/ui/actionsBar/cardActions/styles.js +14 -2
  102. package/dist/esm/card/ui/actionsBar/styles.js +12 -8
  103. package/dist/esm/card/ui/blanket/blanket.js +2 -0
  104. package/dist/esm/card/ui/blanket/styles.js +7 -2
  105. package/dist/esm/card/ui/iconMessage/iconMessageWrapper.js +2 -0
  106. package/dist/esm/card/ui/iconWrapper/iconWrapper.js +4 -1
  107. package/dist/esm/card/ui/iconWrapper/styles.js +2 -0
  108. package/dist/esm/card/ui/openMediaViewerButton/openMediaViewerButton.js +7 -18
  109. package/dist/esm/card/ui/playButton/playButtonBackground.js +2 -1
  110. package/dist/esm/card/ui/playButton/playButtonWrapper.js +2 -1
  111. package/dist/esm/card/ui/playButton/styles.js +6 -0
  112. package/dist/esm/card/ui/progressBar/styledBar.js +4 -1
  113. package/dist/esm/card/ui/progressBar/styles.js +2 -0
  114. package/dist/esm/card/ui/tickBox/tickBoxWrapper.js +13 -3
  115. package/dist/esm/card/ui/titleBox/styles.js +23 -4
  116. package/dist/esm/card/ui/titleBox/titleBoxComponents.js +30 -17
  117. package/dist/esm/card/ui/unhandledErrorCard/index.js +22 -10
  118. package/dist/esm/card/ui/wrapper/imageContainer.js +1 -0
  119. package/dist/esm/card/ui/wrapper/styles.js +1 -0
  120. package/dist/esm/card/ui/wrapper/wrapper.js +4 -1
  121. package/dist/esm/card/v2/cardV2.js +1 -1
  122. package/dist/esm/card/v2/cardViewV2.js +1 -0
  123. package/dist/esm/card/v2/cardviews/cardViewWrapper.js +1 -0
  124. package/dist/esm/card/v2/cardviews/errorCardView.js +1 -0
  125. package/dist/esm/card/v2/cardviews/iconCardView.js +1 -0
  126. package/dist/esm/card/v2/cardviews/imageCardView.js +1 -0
  127. package/dist/esm/card/v2/cardviews/index.js +1 -0
  128. package/dist/esm/card/v2/cardviews/loadingCardView.js +1 -0
  129. package/dist/esm/card/v2/cardviews/processingCardView.js +1 -0
  130. package/dist/esm/card/v2/cardviews/videoCardView.js +1 -0
  131. package/dist/esm/card/v2/svgView/svgView.js +1 -0
  132. package/dist/esm/inline/loader.js +1 -1
  133. package/dist/esm/utils/lightCards/errorIcon/index.js +10 -6
  134. package/dist/esm/utils/lightCards/errorIcon/styles.js +3 -0
  135. package/dist/esm/utils/lightCards/lightCardWrappers.js +9 -5
  136. package/dist/esm/utils/lightCards/styles.js +9 -2
  137. package/dist/esm/utils/ufoExperiences.js +1 -1
  138. package/dist/types/card/ui/openMediaViewerButton/openMediaViewerButton.d.ts +0 -1
  139. package/dist/types-ts4.5/card/ui/openMediaViewerButton/openMediaViewerButton.d.ts +0 -1
  140. package/example-helpers/cardViewWrapper.tsx +2 -0
  141. package/example-helpers/styles.ts +24 -0
  142. package/example-helpers/svg-helpers/cardContainer.tsx +7 -0
  143. package/example-helpers/svg-helpers/svgContainer.tsx +1 -0
  144. package/package.json +121 -120
@@ -1,4 +1,5 @@
1
1
  /**@jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { newFileExperienceClassName } from '../../cardConstants';
4
5
  import { wrapperStyles } from './styles';
@@ -22,7 +23,9 @@ export var Wrapper = function Wrapper(props) {
22
23
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
23
24
  ,
24
25
  className: newFileExperienceClassName,
25
- "data-testid": testId,
26
+ "data-testid": testId
27
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
+ ,
26
29
  css: wrapperStyles({
27
30
  breakpoint: breakpoint,
28
31
  dimensions: dimensions,
@@ -9,7 +9,7 @@ import { IntlProvider, injectIntl } from 'react-intl-next';
9
9
  import { ExternalImageCard } from './externalImageCard';
10
10
  import { FileCard } from './fileCard';
11
11
  var packageName = "@atlaskit/media-card";
12
- var packageVersion = "77.12.1";
12
+ var packageVersion = "77.12.2";
13
13
  export var CardV2Base = function CardV2Base(_ref) {
14
14
  var identifier = _ref.identifier,
15
15
  otherProps = _objectWithoutProperties(_ref, _excluded);
@@ -3,6 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  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; }
4
4
  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) { _defineProperty(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; }
5
5
  /** @jsx jsx */
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import { jsx } from '@emotion/react';
7
8
  import React, { useEffect, useState, useRef } from 'react';
8
9
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["cardPreview", "testId", "dimensions", "appearance", "metadata", "selected", "selectable", "actions", "breakpoint", "disableOverlay", "titleBoxBgColor", "titleBoxIcon", "shouldHideTooltip", "children", "onClick", "onMouseEnter", "mediaCardCursor", "customBlanket", "customTitleBox", "progressBar", "shouldOpenMediaViewer", "openMediaViewerButtonRef", "overriddenCreationDate"];
4
4
  /** @jsx jsx */
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
6
  import { jsx } from '@emotion/react';
6
7
  import React from 'react';
7
8
  import Tooltip from '@atlaskit/tooltip';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useRef } from 'react';
5
6
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useEffect, useRef } from 'react';
5
6
  import { MimeTypeIcon } from '@atlaskit/media-ui/mime-type-icon';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useEffect, useRef } from 'react';
5
6
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -1,6 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  /** @jsx jsx */
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { jsx } from '@emotion/react';
5
6
  import React, { useEffect, useState, useRef } from 'react';
6
7
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useEffect, useRef } from 'react';
5
6
  import SpinnerIcon from '@atlaskit/spinner';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useEffect, useRef } from 'react';
5
6
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { useEffect, useRef } from 'react';
5
6
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -1,5 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import React, { useState, useRef } from 'react';
5
6
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
@@ -103,7 +103,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
103
103
  ErrorBoundary = _this$state.ErrorBoundary;
104
104
  var analyticsContext = {
105
105
  packageVersion: "@atlaskit/media-card",
106
- packageName: "77.12.1",
106
+ packageName: "77.12.2",
107
107
  componentName: 'mediaInlineCard',
108
108
  component: 'mediaInlineCard'
109
109
  };
@@ -7,6 +7,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  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); }; }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  /**@jsx jsx */
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
11
  import { jsx } from '@emotion/react';
11
12
  import { Component } from 'react';
12
13
  import WarningIcon from '@atlaskit/icon/glyph/editor/warning';
@@ -22,12 +23,15 @@ export var ErrorIcon = /*#__PURE__*/function (_Component) {
22
23
  key: "render",
23
24
  value: function render() {
24
25
  var size = this.props.size;
25
- return jsx("div", {
26
- css: errorIconWrapperStyles
27
- }, jsx(WarningIcon, {
28
- label: "Error",
29
- size: size
30
- }));
26
+ return (
27
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
+ jsx("div", {
29
+ css: errorIconWrapperStyles
30
+ }, jsx(WarningIcon, {
31
+ label: "Error",
32
+ size: size
33
+ }))
34
+ );
31
35
  }
32
36
  }]);
33
37
  return ErrorIcon;
@@ -1,4 +1,7 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
2
5
  export var errorIconWrapperStyles = css({
3
6
  display: 'flex',
4
7
  color: "var(--ds-icon-warning, #ff991f)"
@@ -1,11 +1,15 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**@jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import { wrapperStyles } from './styles';
5
6
  export var Wrapper = function Wrapper(props) {
6
- return jsx("div", _extends({
7
- css: wrapperStyles({
8
- dimensions: props.dimensions
9
- })
10
- }, props), props.children);
7
+ return (
8
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
9
+ jsx("div", _extends({
10
+ css: wrapperStyles({
11
+ dimensions: props.dimensions
12
+ })
13
+ }, props), props.children)
14
+ );
11
15
  };
@@ -1,15 +1,22 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
2
3
  import { center, borderRadius } from '@atlaskit/media-ui';
3
4
  import { N20, N50 } from '@atlaskit/theme/colors';
4
5
  export var wrapperStyles = function wrapperStyles(_ref) {
5
6
  var dimensions = _ref.dimensions;
6
- return css(center, {
7
+ return css(
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
9
+ center, {
7
10
  background: "var(--ds-background-neutral, ".concat(N20, ")"),
8
11
  color: "var(--ds-icon, ".concat(N50, ")")
9
- }, borderRadius, {
12
+ },
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
14
+ borderRadius, {
10
15
  maxHeight: '100%',
11
16
  maxWidth: '100%',
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
18
  width: dimensions.width,
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
13
20
  height: dimensions.height
14
21
  });
15
22
  };
@@ -7,7 +7,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
7
7
  import { MediaCardError } from '../errors';
8
8
  import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
9
9
  var packageName = "@atlaskit/media-card";
10
- var packageVersion = "77.12.1";
10
+ var packageVersion = "77.12.2";
11
11
  var concurrentExperience;
12
12
  var getExperience = function getExperience(id) {
13
13
  if (!concurrentExperience) {
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type WrappedComponentProps } from 'react-intl-next';
3
- export declare const visuallyHiddenStyles: import("@emotion/react").SerializedStyles;
4
3
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
5
4
  fileName: string;
6
5
  innerRef: React.Ref<HTMLButtonElement>;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { type WrappedComponentProps } from 'react-intl-next';
3
- export declare const visuallyHiddenStyles: import("@emotion/react").SerializedStyles;
4
3
  declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
5
4
  fileName: string;
6
5
  innerRef: React.Ref<HTMLButtonElement>;
@@ -1,4 +1,5 @@
1
1
  /**@jsx jsx */
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { jsx } from '@emotion/react';
3
4
  import { Box, xcss } from '@atlaskit/primitives';
4
5
 
@@ -26,6 +27,7 @@ const largeStyles = xcss({
26
27
 
27
28
  const cardWrapperStyles = ({ small, displayInline }: CardViewWrapperProps) =>
28
29
  xcss({
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
29
31
  display: displayInlineStyles(displayInline),
30
32
  marginBlock: 'space.200',
31
33
  marginInline: 'space.250',
@@ -1,21 +1,26 @@
1
1
  import { token } from '@atlaskit/tokens';
2
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
3
  import { css } from '@emotion/react';
3
4
 
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
4
6
  export const editableCardOptionsStyles = css({
5
7
  padding: token('space.250', '20px'),
6
8
  borderBottom: `1px solid ${token('color.border', '#ccc')}`,
7
9
  maxWidth: '700px',
8
10
  });
9
11
 
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
10
13
  export const sliderWrapperStyles = css({
11
14
  display: 'flex',
12
15
  width: '50%',
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
13
17
  '> *': {
14
18
  flex: 1,
15
19
  margin: token('space.100', '8px'),
16
20
  },
17
21
  });
18
22
 
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
19
24
  export const editableCardContentStyles = css({
20
25
  padding: token('space.250', '20px'),
21
26
  border: '2px dashed',
@@ -28,20 +33,24 @@ export const editableCardContentStyles = css({
28
33
  boxSizing: 'border-box',
29
34
  });
30
35
 
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
31
37
  export const optionsWrapperStyles = css({
32
38
  display: 'flex',
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
33
40
  '> *': {
34
41
  flex: 1,
35
42
  margin: token('space.100', '8px'),
36
43
  },
37
44
  });
38
45
 
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
39
47
  export const cardDimensionsWrapperStyles = css({
40
48
  margin: `${token('space.100', '8px')} ${token('space.100', '8px')} ${token(
41
49
  'space.250',
42
50
  '20px',
43
51
  )} ${token('space.100', '8px')}`,
44
52
  display: 'flex',
53
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
45
54
  '> div': {
46
55
  border: `1px solid ${token('color.border.bold', 'black')}`,
47
56
  margin: token('space.075', '6px'),
@@ -50,13 +59,16 @@ export const cardDimensionsWrapperStyles = css({
50
59
  },
51
60
  });
52
61
 
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
53
63
  export const flexWrapperStyles = css({
54
64
  display: 'flex',
55
65
  });
66
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
56
67
  export const cardPreviewWrapperStyles = css({
57
68
  flex: 1,
58
69
  });
59
70
 
71
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
60
72
  export const cardWrapperStyles = css({
61
73
  border: `1px solid ${token('color.border.bold', 'black')}`,
62
74
  padding: token('space.150', '12px'),
@@ -68,45 +80,55 @@ export const cardWrapperStyles = css({
68
80
  display: 'inline-block',
69
81
  });
70
82
 
83
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
71
84
  export const cardFlowHeaderStyles = css({
72
85
  margin: `${token('space.250', '20px')} auto`,
73
86
  padding: `${token('space.150', '12px')} ${token('space.0', '0px')}`,
74
87
  });
75
88
 
89
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
76
90
  export const externalIdentifierWrapperStyles = css({
77
91
  display: 'flex',
78
92
  justifyContent: 'space-around',
79
93
  margin: `${token('space.0', '0px')} auto`,
94
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
80
95
  h2: {
81
96
  marginBottom: token('space.150', '12px'),
82
97
  },
83
98
  });
84
99
 
100
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
85
101
  export const unhandledErrorCardWrapperStyles = css({
86
102
  padding: token('space.250', '20px'),
103
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
87
104
  '> div:first-child': {
88
105
  display: 'flex',
89
106
  marginBottom: token('space.250', '20px'),
90
107
  },
108
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
91
109
  label: {
92
110
  marginRight: token('space.250', '20px'),
93
111
  },
94
112
  });
95
113
 
114
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
96
115
  export const inlineCardVideoWrapperItemStyles = css({
97
116
  padding: token('space.150', '12px'),
98
117
  border: `1px solid ${token('color.border.bold', 'black')}`,
99
118
  margin: token('space.150', '12px'),
100
119
  });
101
120
 
121
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
102
122
  export const mediaViewerExampleColumnStyles = css({
103
123
  flex: 1,
104
124
  });
105
125
 
126
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
106
127
  export const mediaViewerExampleWrapperStyles = css({
107
128
  display: 'flex',
108
129
  });
109
130
 
131
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
110
132
  export const mediaInlineWrapperStyles = css({
111
133
  display: 'flex',
112
134
  alignItems: 'center',
@@ -114,8 +136,10 @@ export const mediaInlineWrapperStyles = css({
114
136
  margin: token('space.1000', '80px'),
115
137
  });
116
138
 
139
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
117
140
  export const mediaInlineTableStyles = css({
118
141
  width: '800px',
142
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
119
143
  'tr, td': {
120
144
  border: `1px solid ${token('color.border', '#ddd')}`,
121
145
  },
@@ -1,10 +1,13 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
 
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { jsx } from '@emotion/react';
5
6
 
6
7
  export const CardBox = ({ title, children }: { title: string; children: React.ReactNode }) => (
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
7
9
  <div style={{ marginBottom: '10px' }}>
10
+ {/* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */}
8
11
  <h3 style={{ textAlign: 'center' }}>{title}</h3>
9
12
  {children}
10
13
  </div>
@@ -13,9 +16,13 @@ export const CardBox = ({ title, children }: { title: string; children: React.Re
13
16
  export const CardRow = ({ children }: { children: React.ReactNode }) => (
14
17
  <div
15
18
  style={{
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
16
20
  display: 'flex',
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
17
22
  flexWrap: 'wrap',
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
18
24
  gap: '10px',
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
19
26
  marginBottom: '10px',
20
27
  }}
21
28
  >
@@ -1,6 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
 
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import { jsx } from '@emotion/react';
5
6
 
6
7
  import { Box, xcss } from '@atlaskit/primitives';