@atlaskit/media-client 39.0.16 → 39.1.1

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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 39.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`f103450203050`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f103450203050) -
14
+ [ux] Add the header, download button, footer zoom controls and sidebar column to the inset Media
15
+ Viewer, gated by the `cc_comments_inset_media_viewer` feature gate and reached through the
16
+ `useInsetViewer` field on `MediaViewerExtensions`. When both are on, the inset header shows the
17
+ filename and size on one line with download, show or hide sidebar, and close buttons; those
18
+ buttons move over the sidebar column, beside the `extensions.sidebar.title`, while the sidebar is
19
+ open, and focus follows the sidebar toggle when it moves; the sidebar renders as a column that
20
+ animates open and closed, and while closed is hidden from assistive technology with its content
21
+ unmounted; the image, SVG and document zoom controls move into a footer bar below the media, where
22
+ clicking the zoom percentage resets the zoom to the viewer's starting level (fit to screen for
23
+ images and SVGs); and the overlay close button is not rendered. `ZoomControls` gains an optional
24
+ `onResetZoom` prop. `@atlaskit/media-ui` adds the `zoom_to_fit`, `zoom_to_fit_with_level`,
25
+ `hide_sidebar` and `show_sidebar` messages used by these controls. `@atlaskit/media-client` adds
26
+ an `is-external-image-identifier` subpath export for `isExternalImageIdentifier`. Adds
27
+ `@atlaskit/motion` as a dependency for the sidebar column animation and declares `react-dom` as a
28
+ peer dependency for the footer portal. With the gate off, or `useInsetViewer` absent or false, the
29
+ viewer renders unchanged.
30
+
3
31
  ## 39.0.16
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.16",
3
+ "version": "39.1.1",
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": "^221.0.0",
29
+ "@atlaskit/tmp-editor-statsig": "^222.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.1.0",
51
+ "@atlaskit/tokens": "^20.3.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",