@embedpdf/viewer-chrome 3.0.0-next.5 → 3.0.0-next.7

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 CHANGED
@@ -3401,10 +3401,10 @@ function Shell() {
3401
3401
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ArmedToolCursor, {}),
3402
3402
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_selection.SelectionClipboard, {}),
3403
3403
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_stage.Stage, {
3404
- interaction: true,
3405
3404
  overlay: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
3406
3405
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AnnotationStrip, {}),
3407
3406
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectionStrip, {}),
3407
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_selection.SelectionHandles, {}),
3408
3408
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_scrollbar.Scrollbar, { axis: "y" }),
3409
3409
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_scrollbar.Scrollbar, { axis: "x" })
3410
3410
  ] }),
@@ -3412,7 +3412,6 @@ function Shell() {
3412
3412
  style: { background: "var(--ep-canvas)" },
3413
3413
  children: () => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
3414
3414
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_render.RenderLayer, { annotations: false }),
3415
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_render.TileLayer, { annotations: false }),
3416
3415
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_selection.SelectionLayer, {}),
3417
3416
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_search.SearchLayer, {}),
3418
3417
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_embedpdf_react_link.LinkLayer, {}),
@@ -3540,10 +3539,7 @@ function FullViewer({ engine, initialDocuments, fallback, commands, icons, strin
3540
3539
  for (const c of resolved.commands) if (c.icon && !(c.icon in ICON_PATHS) && !(c.icon in resolved.icons)) console.warn(`[embedpdf] command "${c.id}": unknown icon "${c.icon}"`);
3541
3540
  }, [resolved]);
3542
3541
  const [plugins] = (0, react.useState)(() => [
3543
- (0, _embedpdf_react_stage.stagePlugin)({
3544
- layout: "vertical",
3545
- interaction: true
3546
- }),
3542
+ (0, _embedpdf_react_stage.stagePlugin)({ layout: "vertical" }),
3547
3543
  (0, _embedpdf_react_stage.stagePlugin)({
3548
3544
  id: "stage-thumbs",
3549
3545
  token: ThumbsStageToken,
@@ -3568,6 +3564,7 @@ function FullViewer({ engine, initialDocuments, fallback, commands, icons, strin
3568
3564
  (0, _embedpdf_react_render.renderPlugin)(),
3569
3565
  (0, _embedpdf_react_page_edit.pageEditPlugin)(),
3570
3566
  (0, _embedpdf_react_interaction.interactionPlugin)({ defaultTool: "pointer" }),
3567
+ (0, _embedpdf_react_interaction.feedbackPlugin)({ provider: _embedpdf_react_interaction.vibrationFeedback }),
3571
3568
  (0, _embedpdf_react_selection.selectionPlugin)(),
3572
3569
  (0, _embedpdf_react_annotation.annotationPlugin)({ tools: [{
3573
3570
  id: "arrow",