@embedpdf/viewer-chrome 3.0.0-next.6 → 3.0.0-next.8

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
  ] }),
@@ -3539,10 +3539,7 @@ function FullViewer({ engine, initialDocuments, fallback, commands, icons, strin
3539
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}"`);
3540
3540
  }, [resolved]);
3541
3541
  const [plugins] = (0, react.useState)(() => [
3542
- (0, _embedpdf_react_stage.stagePlugin)({
3543
- layout: "vertical",
3544
- interaction: true
3545
- }),
3542
+ (0, _embedpdf_react_stage.stagePlugin)({ layout: "vertical" }),
3546
3543
  (0, _embedpdf_react_stage.stagePlugin)({
3547
3544
  id: "stage-thumbs",
3548
3545
  token: ThumbsStageToken,
@@ -3567,6 +3564,7 @@ function FullViewer({ engine, initialDocuments, fallback, commands, icons, strin
3567
3564
  (0, _embedpdf_react_render.renderPlugin)(),
3568
3565
  (0, _embedpdf_react_page_edit.pageEditPlugin)(),
3569
3566
  (0, _embedpdf_react_interaction.interactionPlugin)({ defaultTool: "pointer" }),
3567
+ (0, _embedpdf_react_interaction.feedbackPlugin)({ provider: _embedpdf_react_interaction.vibrationFeedback }),
3570
3568
  (0, _embedpdf_react_selection.selectionPlugin)(),
3571
3569
  (0, _embedpdf_react_annotation.annotationPlugin)({ tools: [{
3572
3570
  id: "arrow",