@atlaskit/media-client 39.0.15 → 39.1.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,33 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 39.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`f103450203050`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f103450203050) -
|
|
8
|
+
[ux] Add the header, download button, footer zoom controls and sidebar column to the inset Media
|
|
9
|
+
Viewer, gated by the `cc_comments_inset_media_viewer` feature gate and reached through the
|
|
10
|
+
`useInsetViewer` field on `MediaViewerExtensions`. When both are on, the inset header shows the
|
|
11
|
+
filename and size on one line with download, show or hide sidebar, and close buttons; those
|
|
12
|
+
buttons move over the sidebar column, beside the `extensions.sidebar.title`, while the sidebar is
|
|
13
|
+
open, and focus follows the sidebar toggle when it moves; the sidebar renders as a column that
|
|
14
|
+
animates open and closed, and while closed is hidden from assistive technology with its content
|
|
15
|
+
unmounted; the image, SVG and document zoom controls move into a footer bar below the media, where
|
|
16
|
+
clicking the zoom percentage resets the zoom to the viewer's starting level (fit to screen for
|
|
17
|
+
images and SVGs); and the overlay close button is not rendered. `ZoomControls` gains an optional
|
|
18
|
+
`onResetZoom` prop. `@atlaskit/media-ui` adds the `zoom_to_fit`, `zoom_to_fit_with_level`,
|
|
19
|
+
`hide_sidebar` and `show_sidebar` messages used by these controls. `@atlaskit/media-client` adds
|
|
20
|
+
an `is-external-image-identifier` subpath export for `isExternalImageIdentifier`. Adds
|
|
21
|
+
`@atlaskit/motion` as a dependency for the sidebar column animation and declares `react-dom` as a
|
|
22
|
+
peer dependency for the footer portal. With the gate off, or `useInsetViewer` absent or false, the
|
|
23
|
+
viewer renders unchanged.
|
|
24
|
+
|
|
25
|
+
## 39.0.16
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 39.0.15
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/media-client/is-external-image-identifier",
|
|
3
|
+
"main": "../dist/cjs/is-external-image-identifier.js",
|
|
4
|
+
"module": "../dist/esm/is-external-image-identifier.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/is-external-image-identifier.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/is-external-image-identifier.d.ts"
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "39.0
|
|
3
|
+
"version": "39.1.0",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@atlaskit/media-common": "^14.6.0",
|
|
27
27
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
28
28
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
29
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
29
|
+
"@atlaskit/tmp-editor-statsig": "^221.0.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0",
|
|
31
31
|
"dataloader": "^2.1.0",
|
|
32
32
|
"deep-equal": "^1.0.1",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/media-core": "^39.0.0",
|
|
49
49
|
"@atlaskit/media-state": "^4.0.0",
|
|
50
50
|
"@atlaskit/ssr": "workspace:^",
|
|
51
|
-
"@atlaskit/tokens": "^20.
|
|
51
|
+
"@atlaskit/tokens": "^20.2.0",
|
|
52
52
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
53
53
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
54
54
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|