@embedpdf/viewer-chrome 3.0.0-next.5 → 3.0.0-next.6
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/dist/index.cjs +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { TOOL_ICONS, defaultCommands } from "./commands.js";
|
|
|
3
3
|
import { Fragment, createContext, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { DocumentGate, DocumentsToken, Viewer, createCapabilityToken, definePlugin, useCapability, useDocumentId, useDocumentStatus, useDocuments, useKernel, useOptionalCapability, useOptionalSelector, useSelector } from "@embedpdf/react/runtime";
|
|
5
5
|
import { Stage, StageToken, StageToken as StageToken$1, stagePlugin, usePages } from "@embedpdf/react/stage";
|
|
6
|
-
import { RenderLayer,
|
|
6
|
+
import { RenderLayer, renderPlugin } from "@embedpdf/react/render";
|
|
7
7
|
import { pageEditPlugin } from "@embedpdf/react/page-edit";
|
|
8
8
|
import { InteractionToken, InteractionToken as InteractionToken$1, interactionPlugin, useTool, useToolCursor } from "@embedpdf/react/interaction";
|
|
9
9
|
import { SelectionClipboard, SelectionLayer, SelectionMenu, SelectionToken, selectionPlugin } from "@embedpdf/react/selection";
|
|
@@ -3372,7 +3372,6 @@ function Shell() {
|
|
|
3372
3372
|
style: { background: "var(--ep-canvas)" },
|
|
3373
3373
|
children: () => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
3374
3374
|
/* @__PURE__ */ jsx(RenderLayer, { annotations: false }),
|
|
3375
|
-
/* @__PURE__ */ jsx(TileLayer, { annotations: false }),
|
|
3376
3375
|
/* @__PURE__ */ jsx(SelectionLayer, {}),
|
|
3377
3376
|
/* @__PURE__ */ jsx(SearchLayer, {}),
|
|
3378
3377
|
/* @__PURE__ */ jsx(LinkLayer, {}),
|