@atlaskit/media-card 80.8.13 → 81.0.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 +32 -0
- package/actions/package.json +1 -8
- package/card/classnames/package.json +1 -8
- package/cardConstants/package.json +1 -8
- package/cardDimensions/package.json +1 -8
- package/cardError/package.json +1 -8
- package/cardLoader/package.json +1 -8
- package/cardLoading/package.json +1 -8
- package/cardPlaceholder/package.json +1 -8
- package/cardSync/package.json +1 -8
- package/classnames/package.json +1 -8
- package/dateOverrideContext/package.json +1 -8
- 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/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/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/errors/package.json +1 -8
- package/inlinePlayerWrapperStyles/package.json +1 -8
- package/loader/package.json +1 -8
- package/mediaInlineCardAnalytics/package.json +1 -8
- package/package.json +37 -45
- package/types/package.json +1 -8
- package/dist/types-ts4.5/card/actions.d.ts +0 -15
- package/dist/types-ts4.5/card/ai-generating-overlay/AIGeneratingOverlay.d.ts +0 -12
- package/dist/types-ts4.5/card/ai-generating-overlay/index.d.ts +0 -2
- package/dist/types-ts4.5/card/card.d.ts +0 -7
- package/dist/types-ts4.5/card/cardAnalytics.d.ts +0 -10
- package/dist/types-ts4.5/card/cardConstants.d.ts +0 -1
- package/dist/types-ts4.5/card/cardLoader.d.ts +0 -7
- package/dist/types-ts4.5/card/cardSync.d.ts +0 -5
- package/dist/types-ts4.5/card/cardView.d.ts +0 -68
- package/dist/types-ts4.5/card/cardWithMediaClient.d.ts +0 -3
- package/dist/types-ts4.5/card/classnames.d.ts +0 -2
- package/dist/types-ts4.5/card/externalImageCard.d.ts +0 -12
- package/dist/types-ts4.5/card/fileCard.d.ts +0 -81
- package/dist/types-ts4.5/card/getCardStatus.d.ts +0 -4
- package/dist/types-ts4.5/card/index.d.ts +0 -2
- package/dist/types-ts4.5/card/inlinePlayer.d.ts +0 -24
- package/dist/types-ts4.5/card/inlinePlayerLazy.d.ts +0 -3
- package/dist/types-ts4.5/card/inlinePlayerWrapper-compiled.d.ts +0 -5
- package/dist/types-ts4.5/card/inlinePlayerWrapper.d.ts +0 -3
- package/dist/types-ts4.5/card/inlinePlayerWrapperStyles.d.ts +0 -7
- package/dist/types-ts4.5/card/media-card-analytics-error-boundary.d.ts +0 -14
- package/dist/types-ts4.5/card/performance.d.ts +0 -1
- package/dist/types-ts4.5/card/svgView/helpers.d.ts +0 -2
- package/dist/types-ts4.5/card/svgView/index.d.ts +0 -1
- package/dist/types-ts4.5/card/svgView/svgImage-compiled.d.ts +0 -2
- package/dist/types-ts4.5/card/svgView/svgView.d.ts +0 -3
- package/dist/types-ts4.5/card/svgView/svgViewV2.d.ts +0 -7
- package/dist/types-ts4.5/card/svgView/types.d.ts +0 -12
- package/dist/types-ts4.5/card/types.d.ts +0 -20
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBar.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBarWrapper-compiled.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/actionsBar/actionsBarWrapper.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionButton-compiled.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionButton.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionIconButton.d.ts +0 -15
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionsDropdownMenu.d.ts +0 -12
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/cardActionsView.d.ts +0 -17
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/index.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/actionsBar/cardActions/styles.d.ts +0 -21
- package/dist/types-ts4.5/card/ui/actionsBar/styles.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/actionsBar/types.d.ts +0 -11
- package/dist/types-ts4.5/card/ui/aiBorder/aiBorder.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/blanket/blanket-compiled.d.ts +0 -9
- package/dist/types-ts4.5/card/ui/blanket/blanket.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/blanket/styles.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/common.d.ts +0 -23
- package/dist/types-ts4.5/card/ui/iconMessage/iconMessageWrapper-compiled.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/iconMessage/iconMessageWrapper.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/iconMessage/index.d.ts +0 -8
- package/dist/types-ts4.5/card/ui/iconMessage/types.d.ts +0 -18
- package/dist/types-ts4.5/card/ui/iconWrapper/iconWrapper-compiled.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/iconWrapper/iconWrapper.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/iconWrapper/styles.d.ts +0 -8
- package/dist/types-ts4.5/card/ui/iconWrapper/types.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/imageRenderer/helpers.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/imageRenderer/imageRenderer.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/imageRenderer/imageRendererV2.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/imageRenderer/index.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/imageRenderer/resizeModeToMediaImageProps.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/imageRenderer/types.d.ts +0 -18
- package/dist/types-ts4.5/card/ui/imageRenderer/wrapper.d.ts +0 -4
- package/dist/types-ts4.5/card/ui/loadingBar/loadingBar.d.ts +0 -11
- package/dist/types-ts4.5/card/ui/openMediaViewerButton/openMediaViewerButton.d.ts +0 -12
- package/dist/types-ts4.5/card/ui/playButton/playButton.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/playButton/playButtonBackground-compiled.d.ts +0 -1
- package/dist/types-ts4.5/card/ui/playButton/playButtonBackground.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/playButton/playButtonWrapper-compiled.d.ts +0 -1
- package/dist/types-ts4.5/card/ui/playButton/playButtonWrapper.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/playButton/styles.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/progressBar/progressBar.d.ts +0 -11
- package/dist/types-ts4.5/card/ui/progressBar/styledBar-compiled.d.ts +0 -13
- package/dist/types-ts4.5/card/ui/progressBar/styledBar.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/progressBar/styles.d.ts +0 -8
- package/dist/types-ts4.5/card/ui/progressBar/types.d.ts +0 -8
- package/dist/types-ts4.5/card/ui/styles.d.ts +0 -12
- package/dist/types-ts4.5/card/ui/tickBox/styles.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/tickBox/tickBox.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/tickBox/tickBoxWrapper-compiled.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/tickBox/tickBoxWrapper.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/tickBox/types.d.ts +0 -4
- package/dist/types-ts4.5/card/ui/titleBox/failedTitleBox.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/titleBox/styles.d.ts +0 -24
- package/dist/types-ts4.5/card/ui/titleBox/titleBox.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/titleBox/titleBoxComponents-compiled.d.ts +0 -15
- package/dist/types-ts4.5/card/ui/titleBox/titleBoxComponents.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/titleBox/types.d.ts +0 -34
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/contentLoadingErrorMessage.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/index.d.ts +0 -3
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/types.d.ts +0 -5
- package/dist/types-ts4.5/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.d.ts +0 -9
- package/dist/types-ts4.5/card/ui/wrapper/imageContainer-compiled.d.ts +0 -14
- package/dist/types-ts4.5/card/ui/wrapper/imageContainer.d.ts +0 -15
- package/dist/types-ts4.5/card/ui/wrapper/index.d.ts +0 -2
- package/dist/types-ts4.5/card/ui/wrapper/styles.d.ts +0 -6
- package/dist/types-ts4.5/card/ui/wrapper/types.d.ts +0 -25
- package/dist/types-ts4.5/card/ui/wrapper/wrapper-compiled.d.ts +0 -7
- package/dist/types-ts4.5/card/ui/wrapper/wrapper.d.ts +0 -3
- package/dist/types-ts4.5/card/useBreakpoint.d.ts +0 -3
- package/dist/types-ts4.5/classnames.d.ts +0 -4
- package/dist/types-ts4.5/dateOverrideContext.d.ts +0 -7
- package/dist/types-ts4.5/errors.d.ts +0 -42
- package/dist/types-ts4.5/index.d.ts +0 -17
- package/dist/types-ts4.5/inline/index.d.ts +0 -2
- package/dist/types-ts4.5/inline/loader.d.ts +0 -26
- package/dist/types-ts4.5/inline/mediaInlineAnalyticsErrorBoundary.d.ts +0 -12
- package/dist/types-ts4.5/inline/mediaInlineCard.d.ts +0 -31
- package/dist/types-ts4.5/inline/mediaInlineCardAnalytics.d.ts +0 -10
- package/dist/types-ts4.5/types.d.ts +0 -143
- package/dist/types-ts4.5/utils/analytics/analytics.d.ts +0 -159
- package/dist/types-ts4.5/utils/analytics/index.d.ts +0 -2
- package/dist/types-ts4.5/utils/cardDimensions.d.ts +0 -14
- package/dist/types-ts4.5/utils/containsPixelUnit.d.ts +0 -1
- package/dist/types-ts4.5/utils/dimensionComparer.d.ts +0 -3
- package/dist/types-ts4.5/utils/document.d.ts +0 -2
- package/dist/types-ts4.5/utils/generateUniqueId.d.ts +0 -1
- package/dist/types-ts4.5/utils/getCSSUnitValue.d.ts +0 -1
- package/dist/types-ts4.5/utils/getDataURIDimension.d.ts +0 -26
- package/dist/types-ts4.5/utils/getElementDimension.d.ts +0 -2
- package/dist/types-ts4.5/utils/getMediaCardCursor.d.ts +0 -6
- package/dist/types-ts4.5/utils/globalScope/getSSRData.d.ts +0 -3
- package/dist/types-ts4.5/utils/globalScope/globalScope.d.ts +0 -17
- package/dist/types-ts4.5/utils/globalScope/index.d.ts +0 -4
- package/dist/types-ts4.5/utils/globalScope/types.d.ts +0 -8
- package/dist/types-ts4.5/utils/index.d.ts +0 -6
- package/dist/types-ts4.5/utils/isNetworkError.d.ts +0 -2
- package/dist/types-ts4.5/utils/isRetina.d.ts +0 -1
- package/dist/types-ts4.5/utils/isValidPercentageUnit.d.ts +0 -1
- package/dist/types-ts4.5/utils/lightCards/cardError.d.ts +0 -7
- package/dist/types-ts4.5/utils/lightCards/cardLoading.d.ts +0 -3
- package/dist/types-ts4.5/utils/lightCards/cardPlaceholder.d.ts +0 -6
- package/dist/types-ts4.5/utils/lightCards/errorIcon/index.d.ts +0 -9
- package/dist/types-ts4.5/utils/lightCards/errorIcon/styles.d.ts +0 -2
- package/dist/types-ts4.5/utils/lightCards/getDimensionsWithDefault.d.ts +0 -2
- package/dist/types-ts4.5/utils/lightCards/lightCardWrappers.d.ts +0 -7
- package/dist/types-ts4.5/utils/lightCards/styles.d.ts +0 -3
- package/dist/types-ts4.5/utils/lightCards/types.d.ts +0 -13
- package/dist/types-ts4.5/utils/mediaPerformanceObserver/durationMetrics.d.ts +0 -44
- package/dist/types-ts4.5/utils/mediaPerformanceObserver/mediaPerformanceObserver.d.ts +0 -13
- package/dist/types-ts4.5/utils/mediaPerformanceObserver/types.d.ts +0 -8
- package/dist/types-ts4.5/utils/mediaPerformanceObserver/ufo.d.ts +0 -2
- package/dist/types-ts4.5/utils/metadata.d.ts +0 -2
- package/dist/types-ts4.5/utils/mockIntersectionObserver.d.ts +0 -20
- package/dist/types-ts4.5/utils/printScript.d.ts +0 -2
- package/dist/types-ts4.5/utils/ufoExperiences.d.ts +0 -98
- package/dist/types-ts4.5/utils/useCurrentValueRef.d.ts +0 -2
- package/dist/types-ts4.5/utils/usePrevious.d.ts +0 -1
- package/dist/types-ts4.5/utils/videoIsPlayable.d.ts +0 -2
- package/dist/types-ts4.5/utils/videoSnapshot.d.ts +0 -1
- package/dist/types-ts4.5/utils/viewportDetector.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/media-card
|
|
2
2
|
|
|
3
|
+
## 81.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
29
|
+
## 80.8.14
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
3
35
|
## 80.8.13
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/actions/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/card/classnames.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/card/classnames.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/card/classnames.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/card/cardConstants.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/card/cardConstants.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/card/cardConstants.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/utils/cardDimensions.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/utils/cardDimensions.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/utils/cardDimensions.d.ts"
|
|
17
10
|
}
|
package/cardError/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/utils/lightCards/cardError.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/utils/lightCards/cardError.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/utils/lightCards/cardError.d.ts"
|
|
17
10
|
}
|
package/cardLoader/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/card/cardLoader.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/card/cardLoader.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/card/cardLoader.d.ts"
|
|
17
10
|
}
|
package/cardLoading/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/utils/lightCards/cardLoading.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/utils/lightCards/cardLoading.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/utils/lightCards/cardLoading.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/utils/lightCards/cardPlaceholder.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/utils/lightCards/cardPlaceholder.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/utils/lightCards/cardPlaceholder.d.ts"
|
|
17
10
|
}
|
package/cardSync/package.json
CHANGED
package/classnames/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/dateOverrideContext.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/dateOverrideContext.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/dateOverrideContext.d.ts"
|
|
17
10
|
}
|
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.8.
|
|
23
|
+
var packageVersion = "80.8.14";
|
|
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.8.
|
|
90
|
+
var packageVersion = "80.8.14";
|
|
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.8.
|
|
119
|
+
packageName: "80.8.14",
|
|
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.8.
|
|
22
|
+
var packageVersion = "80.8.14";
|
|
23
23
|
var SAMPLE_RATE = 0.05;
|
|
24
24
|
|
|
25
25
|
/**
|
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.8.
|
|
12
|
+
const packageVersion = "80.8.14";
|
|
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.8.
|
|
69
|
+
const packageVersion = "80.8.14";
|
|
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.8.
|
|
40
|
+
packageName: "80.8.14",
|
|
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.8.
|
|
12
|
+
const packageVersion = "80.8.14";
|
|
13
13
|
const SAMPLE_RATE = 0.05;
|
|
14
14
|
|
|
15
15
|
/**
|
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.8.
|
|
14
|
+
var packageVersion = "80.8.14";
|
|
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.8.
|
|
83
|
+
var packageVersion = "80.8.14";
|
|
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.8.
|
|
104
|
+
packageName: "80.8.14",
|
|
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.8.
|
|
16
|
+
var packageVersion = "80.8.14";
|
|
17
17
|
var SAMPLE_RATE = 0.05;
|
|
18
18
|
|
|
19
19
|
/**
|
package/errors/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/card/inlinePlayerWrapperStyles.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/card/inlinePlayerWrapperStyles.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/card/inlinePlayerWrapperStyles.d.ts"
|
|
17
10
|
}
|
package/loader/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/inline/mediaInlineCardAnalytics.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/inline/mediaInlineCardAnalytics.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/inline/mediaInlineCardAnalytics.d.ts"
|
|
17
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "81.0.0",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.5/*",
|
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": [
|
|
24
16
|
"*.compiled.css"
|
|
25
17
|
],
|
|
@@ -38,31 +30,31 @@
|
|
|
38
30
|
}
|
|
39
31
|
},
|
|
40
32
|
"dependencies": {
|
|
41
|
-
"@atlaskit/analytics-next": "^
|
|
42
|
-
"@atlaskit/dropdown-menu": "^
|
|
43
|
-
"@atlaskit/editor-shared-styles": "^
|
|
44
|
-
"@atlaskit/icon": "^
|
|
45
|
-
"@atlaskit/interaction-context": "^
|
|
46
|
-
"@atlaskit/link": "^
|
|
47
|
-
"@atlaskit/media-client": "^
|
|
48
|
-
"@atlaskit/media-client-react": "^
|
|
49
|
-
"@atlaskit/media-common": "^
|
|
50
|
-
"@atlaskit/media-file-preview": "^0.
|
|
51
|
-
"@atlaskit/media-state": "^
|
|
52
|
-
"@atlaskit/media-svg": "^
|
|
53
|
-
"@atlaskit/media-ui": "^
|
|
54
|
-
"@atlaskit/media-viewer": "^
|
|
55
|
-
"@atlaskit/platform-feature-flags": "^
|
|
56
|
-
"@atlaskit/primitives": "^
|
|
57
|
-
"@atlaskit/progress-bar": "^
|
|
58
|
-
"@atlaskit/react-ufo": "^
|
|
59
|
-
"@atlaskit/spinner": "^
|
|
60
|
-
"@atlaskit/theme": "^
|
|
61
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
62
|
-
"@atlaskit/tokens": "^
|
|
63
|
-
"@atlaskit/tooltip": "^
|
|
64
|
-
"@atlaskit/ufo": "^0.
|
|
65
|
-
"@atlaskit/visually-hidden": "^
|
|
33
|
+
"@atlaskit/analytics-next": "^12.0.0",
|
|
34
|
+
"@atlaskit/dropdown-menu": "^17.0.0",
|
|
35
|
+
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
36
|
+
"@atlaskit/icon": "^36.0.0",
|
|
37
|
+
"@atlaskit/interaction-context": "^4.0.0",
|
|
38
|
+
"@atlaskit/link": "^4.0.0",
|
|
39
|
+
"@atlaskit/media-client": "^37.0.0",
|
|
40
|
+
"@atlaskit/media-client-react": "^6.0.0",
|
|
41
|
+
"@atlaskit/media-common": "^14.0.0",
|
|
42
|
+
"@atlaskit/media-file-preview": "^1.0.0",
|
|
43
|
+
"@atlaskit/media-state": "^3.0.0",
|
|
44
|
+
"@atlaskit/media-svg": "^3.0.0",
|
|
45
|
+
"@atlaskit/media-ui": "^30.0.0",
|
|
46
|
+
"@atlaskit/media-viewer": "^54.0.0",
|
|
47
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
48
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
49
|
+
"@atlaskit/progress-bar": "^5.0.0",
|
|
50
|
+
"@atlaskit/react-ufo": "^7.0.0",
|
|
51
|
+
"@atlaskit/spinner": "^20.0.0",
|
|
52
|
+
"@atlaskit/theme": "^26.0.0",
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^104.0.0",
|
|
54
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
55
|
+
"@atlaskit/tooltip": "^23.0.0",
|
|
56
|
+
"@atlaskit/ufo": "^1.0.0",
|
|
57
|
+
"@atlaskit/visually-hidden": "^4.0.0",
|
|
66
58
|
"@babel/runtime": "^7.0.0",
|
|
67
59
|
"@compiled/react": "^0.20.0",
|
|
68
60
|
"classnames": "^2.2.5",
|
|
@@ -79,18 +71,18 @@
|
|
|
79
71
|
},
|
|
80
72
|
"devDependencies": {
|
|
81
73
|
"@af/integration-testing": "workspace:^",
|
|
82
|
-
"@atlaskit/analytics-listeners": "^
|
|
83
|
-
"@atlaskit/analytics-namespaced-context": "^
|
|
84
|
-
"@atlaskit/form": "^
|
|
85
|
-
"@atlaskit/inline-message": "^
|
|
86
|
-
"@atlaskit/media-core": "^
|
|
87
|
-
"@atlaskit/media-picker": "^
|
|
88
|
-
"@atlaskit/media-test-data": "^
|
|
89
|
-
"@atlaskit/media-test-helpers": "^
|
|
90
|
-
"@atlaskit/radio": "^
|
|
91
|
-
"@atlaskit/range": "^
|
|
74
|
+
"@atlaskit/analytics-listeners": "^11.0.0",
|
|
75
|
+
"@atlaskit/analytics-namespaced-context": "^8.0.0",
|
|
76
|
+
"@atlaskit/form": "^16.0.0",
|
|
77
|
+
"@atlaskit/inline-message": "^16.0.0",
|
|
78
|
+
"@atlaskit/media-core": "^38.0.0",
|
|
79
|
+
"@atlaskit/media-picker": "^72.0.0",
|
|
80
|
+
"@atlaskit/media-test-data": "^4.0.0",
|
|
81
|
+
"@atlaskit/media-test-helpers": "^42.0.0",
|
|
82
|
+
"@atlaskit/radio": "^9.0.0",
|
|
83
|
+
"@atlaskit/range": "^11.0.0",
|
|
92
84
|
"@atlaskit/ssr": "workspace:^",
|
|
93
|
-
"@atlaskit/toggle": "^
|
|
85
|
+
"@atlaskit/toggle": "^17.0.0",
|
|
94
86
|
"@atlassian/a11y-jest-testing": "^0.12.0",
|
|
95
87
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
96
88
|
"@atlassian/react-compiler-gating": "workspace:^",
|
package/types/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type FileItem, type FileDetails } from '@atlaskit/media-client';
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
-
import { type MessageDescriptor } from 'react-intl';
|
|
4
|
-
export interface CardAction {
|
|
5
|
-
label?: string;
|
|
6
|
-
handler: CardEventHandler;
|
|
7
|
-
icon?: ReactNode;
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
tooltip?: string;
|
|
10
|
-
}
|
|
11
|
-
export type CardEventHandler = (item?: FileItem, event?: Event) => void;
|
|
12
|
-
export declare function attachDetailsToActions(actions: Array<CardAction>, details: FileDetails): Array<CardAction>;
|
|
13
|
-
type FormatMessageFn = (descriptor: MessageDescriptor) => string;
|
|
14
|
-
export declare const createDownloadAction: (baseAction: CardAction, formatMessage: FormatMessageFn) => CardAction;
|
|
15
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/** AI loading overlay rendered over a media node: blanket + sliding rainbow bar. */
|
|
6
|
-
export type AIGeneratingOverlayProps = {
|
|
7
|
-
/** Accessible label for the progress bar (translated). */
|
|
8
|
-
label: string;
|
|
9
|
-
/** Optional test id for the overlay root element. Defaults to `'ai-generating-overlay'`. */
|
|
10
|
-
testId?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function AIGeneratingOverlay({ label, testId }: AIGeneratingOverlayProps): JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import { type CardProps } from '../types';
|
|
4
|
-
export type CardBaseProps = CardProps & Partial<WrappedComponentProps>;
|
|
5
|
-
export declare const CardBase: ({ identifier, ...otherProps }: CardBaseProps & WrappedComponentProps) => React.JSX.Element;
|
|
6
|
-
export declare const CardWithPerformanceObserver: (props: CardBaseProps & WrappedComponentProps) => React.JSX.Element;
|
|
7
|
-
export declare const Card: React.ComponentType<CardBaseProps>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type FileAttributes, type MediaTraceContext, type PerformanceAttributes } from '@atlaskit/media-common';
|
|
2
|
-
import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import { type SSRStatus } from '../utils/analytics';
|
|
4
|
-
import { type CardStatus } from '../types';
|
|
5
|
-
import { MediaCardError } from '../errors';
|
|
6
|
-
import { type ProcessingFailReason } from '@atlaskit/media-state';
|
|
7
|
-
export declare const fireOperationalEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, status: CardStatus, fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes, ssrReliability: SSRStatus, error: MediaCardError | undefined, traceContext: MediaTraceContext, metadataTraceContext?: MediaTraceContext, processingFailReason?: ProcessingFailReason) => void;
|
|
8
|
-
export declare const fireNonCriticalErrorEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, cardStatus: CardStatus, fileAttributes: FileAttributes, ssrReliability: SSRStatus, error: MediaCardError | undefined, traceContext: MediaTraceContext, metadataTraceContext?: MediaTraceContext) => void;
|
|
9
|
-
export declare const fireDownloadSucceededEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, fileAttributes: FileAttributes, traceContext: MediaTraceContext, metadataTraceContext?: MediaTraceContext) => void;
|
|
10
|
-
export declare const fireDownloadFailedEvent: (createAnalyticsEvent: CreateUIAnalyticsEvent, fileAttributes: FileAttributes, error: MediaCardError | undefined, traceContext: MediaTraceContext, metadataTraceContext?: MediaTraceContext) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const newFileExperienceClassName = "new-file-experience-wrapper";
|