@atlaskit/media-card 80.5.5 → 80.5.7
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 +18 -0
- package/dist/cjs/card/ai-generating-overlay/AIGeneratingOverlay.compiled.css +3 -2
- package/dist/cjs/card/ai-generating-overlay/AIGeneratingOverlay.js +2 -2
- package/dist/cjs/card/card.js +1 -1
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/es2019/card/ai-generating-overlay/AIGeneratingOverlay.compiled.css +3 -2
- package/dist/es2019/card/ai-generating-overlay/AIGeneratingOverlay.js +2 -2
- package/dist/es2019/card/card.js +1 -1
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/esm/card/ai-generating-overlay/AIGeneratingOverlay.compiled.css +3 -2
- package/dist/esm/card/ai-generating-overlay/AIGeneratingOverlay.js +2 -2
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/media-card
|
|
2
2
|
|
|
3
|
+
## 80.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d2724a33cb299`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d2724a33cb299) -
|
|
8
|
+
[ux] Bottom-align Rovo gradient loading bar (matches image-upload bottom-inset and 95% width).
|
|
9
|
+
Applies to the AI loading overlay shared by `@atlassian/rovo-platform-ui-components`,
|
|
10
|
+
`@atlaskit/media-card`, `@atlassian/native-embeds-core` (inline editing), and
|
|
11
|
+
`@atlassian/smart-creation` (`DynamicUiLoadingOverlay` in the Rovo Chat ephemeral preview /
|
|
12
|
+
staging area, behind `cc-maui-phase-2`).
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 80.5.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 80.5.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
._16jlkb7n{flex-grow:1}
|
|
6
6
|
._18m915vq{overflow-y:hidden}
|
|
7
7
|
._1bah1h6o{justify-content:center}
|
|
8
|
-
.
|
|
8
|
+
._1bsb1lk2{width:95%}
|
|
9
9
|
._1e0c1txw{display:flex}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pbyqfx8{z-index:5}
|
|
12
12
|
._1reo15vq{overflow-x:hidden}
|
|
13
|
-
.
|
|
13
|
+
._4cvresu3{align-items:flex-end}
|
|
14
14
|
._4t3i1l7b{height:3px}
|
|
15
15
|
._4t3i1osq{height:100%}
|
|
16
|
+
._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
|
|
16
17
|
._bfhk15uy{background-color:var(--ds-background-neutral,hsla(0,0%,100%,.3))}
|
|
17
18
|
._bfhk1e9t{background-color:var(--ds-blanket,rgba(9,30,66,.36))}
|
|
18
19
|
._i0dl1x1l{flex-basis:25%}
|
|
@@ -27,14 +27,14 @@ function AIGeneratingOverlay(_ref) {
|
|
|
27
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
28
28
|
"data-testid": testId !== null && testId !== void 0 ? testId : 'ai-generating-overlay',
|
|
29
29
|
role: "presentation",
|
|
30
|
-
className: (0, _runtime.ax)(["_1r04idpf _kqswstnw _1e0c1txw
|
|
30
|
+
className: (0, _runtime.ax)(["_1r04idpf _kqswstnw _1e0c1txw _4cvresu3 _1bah1h6o _85i5utpp _lcxv1wug _bfhk1e9t _1pbyqfx8"])
|
|
31
31
|
}, /*#__PURE__*/React.createElement("div", {
|
|
32
32
|
role: "progressbar",
|
|
33
33
|
"aria-label": label,
|
|
34
34
|
"aria-valuemin": 0,
|
|
35
35
|
"aria-valuemax": 100,
|
|
36
36
|
"data-testid": "ai-generating-overlay-progress-bar",
|
|
37
|
-
className: (0, _runtime.ax)(["_2rkolb4i _1reo15vq _18m915vq
|
|
37
|
+
className: (0, _runtime.ax)(["_2rkolb4i _1reo15vq _18m915vq _1bsb1lk2 _4t3i1l7b _kqswh2mm _bfhk15uy"])
|
|
38
38
|
}, /*#__PURE__*/React.createElement("div", {
|
|
39
39
|
"data-testid": "ai-generating-overlay-train",
|
|
40
40
|
className: (0, _runtime.ax)(["_y44v15mx _1e0c1txw _kqswstnw _154iidpf _4t3i1osq"]),
|
package/dist/cjs/card/card.js
CHANGED
|
@@ -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.5.
|
|
23
|
+
var packageVersion = "80.5.6";
|
|
24
24
|
var CardBase = exports.CardBase = function CardBase(_ref) {
|
|
25
25
|
var identifier = _ref.identifier,
|
|
26
26
|
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 = "80.5.
|
|
90
|
+
var packageVersion = "80.5.6";
|
|
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.5.
|
|
119
|
+
packageName: "80.5.6",
|
|
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.5.
|
|
22
|
+
var packageVersion = "80.5.6";
|
|
23
23
|
var SAMPLE_RATE = 0.05;
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
._16jlkb7n{flex-grow:1}
|
|
6
6
|
._18m915vq{overflow-y:hidden}
|
|
7
7
|
._1bah1h6o{justify-content:center}
|
|
8
|
-
.
|
|
8
|
+
._1bsb1lk2{width:95%}
|
|
9
9
|
._1e0c1txw{display:flex}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pbyqfx8{z-index:5}
|
|
12
12
|
._1reo15vq{overflow-x:hidden}
|
|
13
|
-
.
|
|
13
|
+
._4cvresu3{align-items:flex-end}
|
|
14
14
|
._4t3i1l7b{height:3px}
|
|
15
15
|
._4t3i1osq{height:100%}
|
|
16
|
+
._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
|
|
16
17
|
._bfhk15uy{background-color:var(--ds-background-neutral,hsla(0,0%,100%,.3))}
|
|
17
18
|
._bfhk1e9t{background-color:var(--ds-blanket,rgba(9,30,66,.36))}
|
|
18
19
|
._i0dl1x1l{flex-basis:25%}
|
|
@@ -20,14 +20,14 @@ export function AIGeneratingOverlay({
|
|
|
20
20
|
return /*#__PURE__*/React.createElement("div", {
|
|
21
21
|
"data-testid": testId !== null && testId !== void 0 ? testId : 'ai-generating-overlay',
|
|
22
22
|
role: "presentation",
|
|
23
|
-
className: ax(["_1r04idpf _kqswstnw _1e0c1txw
|
|
23
|
+
className: ax(["_1r04idpf _kqswstnw _1e0c1txw _4cvresu3 _1bah1h6o _85i5utpp _lcxv1wug _bfhk1e9t _1pbyqfx8"])
|
|
24
24
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25
25
|
role: "progressbar",
|
|
26
26
|
"aria-label": label,
|
|
27
27
|
"aria-valuemin": 0,
|
|
28
28
|
"aria-valuemax": 100,
|
|
29
29
|
"data-testid": "ai-generating-overlay-progress-bar",
|
|
30
|
-
className: ax(["_2rkolb4i _1reo15vq _18m915vq
|
|
30
|
+
className: ax(["_2rkolb4i _1reo15vq _18m915vq _1bsb1lk2 _4t3i1l7b _kqswh2mm _bfhk15uy"])
|
|
31
31
|
}, /*#__PURE__*/React.createElement("div", {
|
|
32
32
|
"data-testid": "ai-generating-overlay-train",
|
|
33
33
|
className: ax(["_y44v1j9w _1e0c1txw _kqswstnw _154iidpf _4t3i1osq"])
|
package/dist/es2019/card/card.js
CHANGED
|
@@ -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.5.
|
|
12
|
+
const packageVersion = "80.5.6";
|
|
13
13
|
export const CardBase = ({
|
|
14
14
|
identifier,
|
|
15
15
|
...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 = "80.5.
|
|
69
|
+
const packageVersion = "80.5.6";
|
|
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.5.
|
|
40
|
+
packageName: "80.5.6",
|
|
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.5.
|
|
12
|
+
const packageVersion = "80.5.6";
|
|
13
13
|
const SAMPLE_RATE = 0.05;
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
._16jlkb7n{flex-grow:1}
|
|
6
6
|
._18m915vq{overflow-y:hidden}
|
|
7
7
|
._1bah1h6o{justify-content:center}
|
|
8
|
-
.
|
|
8
|
+
._1bsb1lk2{width:95%}
|
|
9
9
|
._1e0c1txw{display:flex}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pbyqfx8{z-index:5}
|
|
12
12
|
._1reo15vq{overflow-x:hidden}
|
|
13
|
-
.
|
|
13
|
+
._4cvresu3{align-items:flex-end}
|
|
14
14
|
._4t3i1l7b{height:3px}
|
|
15
15
|
._4t3i1osq{height:100%}
|
|
16
|
+
._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
|
|
16
17
|
._bfhk15uy{background-color:var(--ds-background-neutral,hsla(0,0%,100%,.3))}
|
|
17
18
|
._bfhk1e9t{background-color:var(--ds-blanket,rgba(9,30,66,.36))}
|
|
18
19
|
._i0dl1x1l{flex-basis:25%}
|
|
@@ -19,14 +19,14 @@ export function AIGeneratingOverlay(_ref) {
|
|
|
19
19
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
20
|
"data-testid": testId !== null && testId !== void 0 ? testId : 'ai-generating-overlay',
|
|
21
21
|
role: "presentation",
|
|
22
|
-
className: ax(["_1r04idpf _kqswstnw _1e0c1txw
|
|
22
|
+
className: ax(["_1r04idpf _kqswstnw _1e0c1txw _4cvresu3 _1bah1h6o _85i5utpp _lcxv1wug _bfhk1e9t _1pbyqfx8"])
|
|
23
23
|
}, /*#__PURE__*/React.createElement("div", {
|
|
24
24
|
role: "progressbar",
|
|
25
25
|
"aria-label": label,
|
|
26
26
|
"aria-valuemin": 0,
|
|
27
27
|
"aria-valuemax": 100,
|
|
28
28
|
"data-testid": "ai-generating-overlay-progress-bar",
|
|
29
|
-
className: ax(["_2rkolb4i _1reo15vq _18m915vq
|
|
29
|
+
className: ax(["_2rkolb4i _1reo15vq _18m915vq _1bsb1lk2 _4t3i1l7b _kqswh2mm _bfhk15uy"])
|
|
30
30
|
}, /*#__PURE__*/React.createElement("div", {
|
|
31
31
|
"data-testid": "ai-generating-overlay-train",
|
|
32
32
|
className: ax(["_y44v15mx _1e0c1txw _kqswstnw _154iidpf _4t3i1osq"]),
|
package/dist/esm/card/card.js
CHANGED
|
@@ -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.5.
|
|
14
|
+
var packageVersion = "80.5.6";
|
|
15
15
|
export var CardBase = function CardBase(_ref) {
|
|
16
16
|
var identifier = _ref.identifier,
|
|
17
17
|
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 = "80.5.
|
|
83
|
+
var packageVersion = "80.5.6";
|
|
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.5.
|
|
104
|
+
packageName: "80.5.6",
|
|
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.5.
|
|
16
|
+
var packageVersion = "80.5.6";
|
|
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.5.
|
|
3
|
+
"version": "80.5.7",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"@atlaskit/media-file-preview": "^0.17.0",
|
|
50
50
|
"@atlaskit/media-state": "^2.1.0",
|
|
51
51
|
"@atlaskit/media-svg": "^2.3.0",
|
|
52
|
-
"@atlaskit/media-ui": "^29.
|
|
52
|
+
"@atlaskit/media-ui": "^29.3.0",
|
|
53
53
|
"@atlaskit/media-viewer": "^53.2.0",
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^19.0.0",
|
|
56
56
|
"@atlaskit/progress-bar": "^4.2.0",
|
|
57
57
|
"@atlaskit/react-ufo": "^6.0.0",
|
|
58
58
|
"@atlaskit/spinner": "^19.1.0",
|
|
59
|
-
"@atlaskit/theme": "^
|
|
60
|
-
"@atlaskit/tmp-editor-statsig": "^82.
|
|
59
|
+
"@atlaskit/theme": "^24.0.0",
|
|
60
|
+
"@atlaskit/tmp-editor-statsig": "^82.5.0",
|
|
61
61
|
"@atlaskit/tokens": "^13.0.0",
|
|
62
62
|
"@atlaskit/tooltip": "^22.2.0",
|
|
63
63
|
"@atlaskit/ufo": "^0.5.0",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"@atlaskit/form": "^15.5.0",
|
|
84
84
|
"@atlaskit/inline-message": "^15.6.0",
|
|
85
85
|
"@atlaskit/media-core": "^37.1.0",
|
|
86
|
-
"@atlaskit/media-picker": "^71.
|
|
86
|
+
"@atlaskit/media-picker": "^71.4.0",
|
|
87
87
|
"@atlaskit/media-test-data": "^3.3.0",
|
|
88
|
-
"@atlaskit/media-test-helpers": "^41.
|
|
88
|
+
"@atlaskit/media-test-helpers": "^41.2.0",
|
|
89
89
|
"@atlaskit/radio": "^8.6.0",
|
|
90
90
|
"@atlaskit/range": "^10.1.0",
|
|
91
91
|
"@atlaskit/ssr": "workspace:^",
|