@layers-app/editor 0.0.4 → 0.0.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as f, Fragment as L } from "react/jsx-runtime";
2
2
  import { useRef as w, useState as E, useCallback as _, useEffect as j, Suspense as M } from "react";
3
- import { u as U, a as z, b as O, w as k, R as F, C as B, $ as W, F as D, N as q, c as G, K as h, d as H, k as J, e as Q, D as V, r as X, t as Y, L as Z, f as K, h as ee, g as te, i as ne, j as ae, B as le } from "./DSD.D5yIMAX4.js";
4
- import { d as oe, P as ie } from "./DSD.BwAjvxen.js";
3
+ import { u as U, a as z, b as O, w as k, R as F, C as B, $ as W, F as D, N as q, c as G, K as h, d as H, k as J, e as Q, D as V, r as X, t as Y, L as Z, f as K, h as ee, g as te, i as ne, j as ae, B as le } from "./DSD.Beb77L-c.js";
4
+ import { d as oe, P as ie } from "./DSD.B-5jBun5.js";
5
5
  import { TextInput as re } from "@mantine/core";
6
6
  function se({
7
7
  label: n,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as C } from "react/jsx-runtime";
2
2
  import { useMemo as I, useState as D, useRef as S, useCallback as $, useEffect as R } from "react";
3
- import { b as V, a as j, w as P, R as x, C as k, l as b, N as E, k as w, K as v, e as B, r as y, B as A, m as T, n as W } from "./DSD.D5yIMAX4.js";
3
+ import { b as V, a as j, w as P, R as x, C as k, l as b, N as E, k as w, K as v, e as B, r as y, B as A, m as T, n as W } from "./DSD.Beb77L-c.js";
4
4
  function O(...t) {
5
5
  return t.filter(Boolean).join(" ");
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as g, jsxs as $, Fragment as F } from "react/jsx-runtime";
2
2
  import { useState as U, useEffect as b, useMemo as V, Suspense as q, useLayoutEffect as Y, useRef as W } from "react";
3
- import { N as T, D as G, R as a, o as c, p as u, q as J, s as Q, v as A, x as Z, A as ee, z as te, H as ne, d as re, y as M, e as oe, E as S, k as se, G as ie, I as O, J as X, M as ae, O as ce, P as le, Q as ue, S as de, T as fe, U as me, V as ge, b as B, W as pe, X as Ce, Y as he, Z as ye, _ as ve, a0 as Ee, a1 as we, m as ke, a2 as De, a3 as be, a4 as Le, g as Re, i as Se, C as x, a5 as P } from "./DSD.D5yIMAX4.js";
4
- import { d as xe, P as Pe } from "./DSD.BwAjvxen.js";
3
+ import { N as T, D as G, R as a, o as c, p as u, q as J, s as Q, v as A, x as Z, A as ee, z as te, H as ne, d as re, y as M, e as oe, E as S, k as se, G as ie, I as O, J as X, M as ae, O as ce, P as le, Q as ue, S as de, T as fe, U as me, V as ge, b as B, W as pe, X as Ce, Y as he, Z as ye, _ as ve, a0 as Ee, a1 as we, m as ke, a2 as De, a3 as be, a4 as Le, g as Re, i as Se, C as x, a5 as P } from "./DSD.Beb77L-c.js";
4
+ import { d as xe, P as Pe } from "./DSD.B-5jBun5.js";
5
5
  import { flushSync as $e, createPortal as Ne } from "react-dom";
6
6
  const E = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Te = E && "documentMode" in document ? document.documentMode : null, Be = !(!E || !("InputEvent" in window) || Te) && "getTargetRanges" in new window.InputEvent("input"), _e = E && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), z = E && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, We = E && /^(?=.*Chrome).*/i.test(navigator.userAgent), Ae = E && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !We;
7
7
  function I(n, t) {
package/dist/index.d.ts CHANGED
@@ -122,6 +122,13 @@ declare global {
122
122
  }
123
123
 
124
124
 
125
+ declare global {
126
+ interface Window {
127
+ editorAppVersion: string;
128
+ }
129
+ }
130
+
131
+
125
132
  declare global {
126
133
  interface DragEvent {
127
134
  rangeOffset?: number;