eddyter 1.3.82 → 1.4.0

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.
@@ -1,6 +1,6 @@
1
1
  import { RefObject } from 'react';
2
2
  /** Default gap (px) from top when toolbar is detached. Single source of truth for default. */
3
- export declare const DEFAULT_TOP_OFFSET = 20;
3
+ export declare const DEFAULT_TOP_OFFSET = 8;
4
4
  export declare function useFloatingToolbar(editorRef: RefObject<HTMLElement | null>, mountRef: RefObject<HTMLElement | null>, floatingRef: RefObject<HTMLElement | null>, topOffset?: number): {
5
5
  isFloating: boolean;
6
6
  placeholderHeight: number;
@@ -1,4 +1,4 @@
1
- import { c as Tt, g as Se, J as Ce, k as xe } from "./index-baftIlXa.js";
1
+ import { c as Tt, g as Se, J as Ce, k as xe } from "./index-BO5Zqvun.js";
2
2
  import { h as Ee } from "./html2canvas.esm-C2wu93Kq.js";
3
3
  function Ft(c) {
4
4
  throw new Error('Could not dynamically require "' + c + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -1,5 +1,5 @@
1
1
  import * as g from "pdfjs-dist";
2
- import { J as l, k as m } from "./index-baftIlXa.js";
2
+ import { J as l, k as m } from "./index-BO5Zqvun.js";
3
3
  g.GlobalWorkerOptions.workerSrc = "https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js";
4
4
  async function u(a) {
5
5
  if (a.startsWith("data:application/pdf;base64,") || a.startsWith("data:application/pdf,")) {
@@ -1,5 +1,5 @@
1
1
  import { h as Ci } from "./html2canvas.esm-C2wu93Kq.js";
2
- import { J as yi, k as Di } from "./index-baftIlXa.js";
2
+ import { J as yi, k as Di } from "./index-BO5Zqvun.js";
3
3
  var In = 1252, Oi = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], Zt = {
4
4
  /*::[*/
5
5
  0: 1252,
@@ -1,4 +1,4 @@
1
- import { c as Ka, g as $u } from "./index-baftIlXa.js";
1
+ import { c as Ka, g as $u } from "./index-BO5Zqvun.js";
2
2
  function tl(Qa, iu) {
3
3
  for (var jo = 0; jo < iu.length; jo++) {
4
4
  const qs = iu[jo];