@atlaskit/media-document-viewer 0.6.8 → 0.6.10

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,18 @@
1
1
  # @atlaskit/media-document-viewer
2
2
 
3
+ ## 0.6.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.6.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [`715629fc18fc8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/715629fc18fc8) -
14
+ Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
15
+
3
16
  ## 0.6.8
4
17
 
5
18
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* annotations.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* annotations.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* documentViewer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* documentViewer.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
package/dist/cjs/page.js CHANGED
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* annotations.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* annotations.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./annotations.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* documentViewer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* documentViewer.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./documentViewer.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./page.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* annotations.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* annotations.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _extends from "@babel/runtime/helpers/extends";
4
4
  import "./annotations.compiled.css";
@@ -1,4 +1,4 @@
1
- /* documentViewer.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* documentViewer.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import "./documentViewer.compiled.css";
4
4
  import * as React from 'react';
package/dist/esm/page.js CHANGED
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import "./page.compiled.css";
@@ -1,8 +1,8 @@
1
- import type { PageRangeContent } from './types';
1
+ import type { Font, PageContent, PageRangeContent } from './types';
2
2
  export declare function usePageContent(getContent: (startIndex: number, endIndex: number) => Promise<PageRangeContent>, paginationSize: number): {
3
3
  getPageContent: (pageInd: number) => {
4
- page: import("./types").PageContent;
5
- fonts: readonly import("./types").Font[];
4
+ page: PageContent;
5
+ fonts: readonly Font[];
6
6
  };
7
7
  loadPageContent: (pageInd: number) => Promise<void>;
8
8
  documentMetadata: {
@@ -1,4 +1,5 @@
1
+ import { type MutableRefObject } from 'react';
1
2
  export declare const useIntersectionObserver: (options: IntersectionObserverInit, onVisible: () => void) => {
2
3
  observedRef: (node: HTMLElement | null) => void;
3
- isVisibleRef: import("react").MutableRefObject<boolean>;
4
+ isVisibleRef: MutableRefObject<boolean>;
4
5
  };
@@ -1,8 +1,8 @@
1
- import type { PageRangeContent } from './types';
1
+ import type { Font, PageContent, PageRangeContent } from './types';
2
2
  export declare function usePageContent(getContent: (startIndex: number, endIndex: number) => Promise<PageRangeContent>, paginationSize: number): {
3
3
  getPageContent: (pageInd: number) => {
4
- page: import("./types").PageContent;
5
- fonts: readonly import("./types").Font[];
4
+ page: PageContent;
5
+ fonts: readonly Font[];
6
6
  };
7
7
  loadPageContent: (pageInd: number) => Promise<void>;
8
8
  documentMetadata: {
@@ -1,4 +1,5 @@
1
+ import { type MutableRefObject } from 'react';
1
2
  export declare const useIntersectionObserver: (options: IntersectionObserverInit, onVisible: () => void) => {
2
3
  observedRef: (node: HTMLElement | null) => void;
3
- isVisibleRef: import("react").MutableRefObject<boolean>;
4
+ isVisibleRef: MutableRefObject<boolean>;
4
5
  };
package/package.json CHANGED
@@ -28,11 +28,11 @@
28
28
  "@atlaskit/css": "^0.19.0",
29
29
  "@atlaskit/media-common": "^13.0.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
- "@atlaskit/primitives": "^18.0.0",
32
- "@atlaskit/spinner": "^19.0.0",
33
- "@atlaskit/tokens": "^11.0.0",
31
+ "@atlaskit/primitives": "^18.1.0",
32
+ "@atlaskit/spinner": "^19.1.0",
33
+ "@atlaskit/tokens": "^12.0.0",
34
34
  "@babel/runtime": "^7.0.0",
35
- "@compiled/react": "^0.18.6"
35
+ "@compiled/react": "^0.20.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "^18.2.0"
@@ -41,7 +41,7 @@
41
41
  "@af/integration-testing": "workspace:^",
42
42
  "@af/visual-regression": "workspace:^",
43
43
  "@atlaskit/ssr": "workspace:^",
44
- "@atlassian/a11y-jest-testing": "^0.10.0",
44
+ "@atlassian/a11y-jest-testing": "^0.11.0",
45
45
  "@atlassian/feature-flags-test-utils": "^1.0.0",
46
46
  "@testing-library/react": "^16.3.0",
47
47
  "@testing-library/user-event": "^14.4.3",
@@ -88,7 +88,7 @@
88
88
  }
89
89
  },
90
90
  "name": "@atlaskit/media-document-viewer",
91
- "version": "0.6.8",
91
+ "version": "0.6.10",
92
92
  "description": "Modern and fast document viewer",
93
93
  "author": "Atlassian Pty Ltd",
94
94
  "license": "Apache-2.0",