@pie-element/extended-text-entry 15.1.2-next.10 → 15.1.2-next.11

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,5 +1,5 @@
1
1
  import { a as e, t } from "../browser-kkT1XVKw.js";
2
- import { A as n, B as r, C as i, D as a, E as o, F as s, G as c, H as l, I as u, J as d, L as f, M as p, N as m, O as h, P as g, R as _, S as v, T as y, U as b, V as x, W as S, Y as C, a as w, b as T, c as E, d as D, f as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, r as R, s as z, t as ee, w as te, z as B } from "../dist-BefNeqwZ.js";
2
+ import { A as n, B as r, C as i, D as a, E as o, F as s, G as c, H as l, I as u, J as d, L as f, M as p, N as m, O as h, P as g, R as _, S as v, T as y, U as b, V as x, W as S, Y as C, a as w, b as T, c as E, d as D, f as O, h as k, i as A, j, k as M, l as N, m as P, n as F, o as I, p as L, r as R, s as z, t as ee, w as te, z as B } from "../dist-dyuok0rH.js";
3
3
  import * as V from "react";
4
4
  import H, { Component as ne, createElement as re } from "react";
5
5
  import { jsx as U, jsxs as W } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { a as e, t } from "../browser-kkT1XVKw.js";
2
- import { v as n } from "../dist-BefNeqwZ.js";
3
- import { t as r } from "../main-1U6_tsVt.js";
2
+ import { v as n } from "../dist-dyuok0rH.js";
3
+ import { t as r } from "../main-KQeC5IX0.js";
4
4
  import i from "react";
5
5
  import { createRoot as a } from "react-dom/client";
6
6
  //#region ../../shared/player-events/dist/index.js
@@ -41584,6 +41584,8 @@ var SZ = (e) => {
41584
41584
  classes: t
41585
41585
  }) });
41586
41586
  }, CZ = N("div")(() => ({
41587
+ height: 0,
41588
+ overflow: "visible",
41587
41589
  "& .defaultToolbar": {
41588
41590
  display: "flex",
41589
41591
  width: "100%",
@@ -41619,13 +41621,14 @@ var SZ = (e) => {
41619
41621
  color: "var(--white)"
41620
41622
  },
41621
41623
  "& .toolbar": {
41622
- position: "absolute",
41624
+ position: "relative",
41625
+ top: "5px",
41623
41626
  zIndex: 20,
41624
41627
  cursor: "pointer",
41625
41628
  justifyContent: "space-between",
41626
41629
  background: "var(--editable-html-toolbar-bg, #efefef)",
41627
41630
  minWidth: "280px",
41628
- margin: "5px 0 0 0",
41631
+ margin: 0,
41629
41632
  padding: "2px",
41630
41633
  boxShadow: "0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12)",
41631
41634
  boxSizing: "border-box",
@@ -41634,7 +41637,10 @@ var SZ = (e) => {
41634
41637
  pointerEvents: "none"
41635
41638
  },
41636
41639
  "& .toolbarWithNoDone": { minWidth: "265px" },
41637
- "& .toolbarTop": { top: "-45px" },
41640
+ "& .toolbarTop": {
41641
+ position: "absolute",
41642
+ top: "-45px"
41643
+ },
41638
41644
  "& .toolbarRight": { right: 0 },
41639
41645
  "& .fullWidth": { width: "100%" },
41640
41646
  "& .hidden": { visibility: "hidden" },
@@ -48306,6 +48312,8 @@ var c8 = wb.create({
48306
48312
  "--red-light": "#ffebe5",
48307
48313
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
48308
48314
  }, v8 = (e) => ({
48315
+ role: "textbox",
48316
+ "data-pie-editor": "true",
48309
48317
  spellcheck: e ? "true" : "false",
48310
48318
  autocorrect: e ? "on" : "off",
48311
48319
  autocapitalize: e ? "on" : "off"
@@ -48472,7 +48480,10 @@ var c8 = wb.create({
48472
48480
  h?.setEditable(!e.disabled);
48473
48481
  }, [e.disabled, h]), y(() => {
48474
48482
  if (!h) return;
48475
- let e = h.options?.editorProps, t = v8(m);
48483
+ let e = h.options?.editorProps, t = {
48484
+ ...e?.attributes,
48485
+ ...v8(m)
48486
+ };
48476
48487
  e?.attributes?.spellcheck !== t.spellcheck && h.setOptions({ editorProps: {
48477
48488
  ...e,
48478
48489
  attributes: t
@@ -48558,4 +48569,4 @@ var w8 = C8(uL, "InputContainer") || C8(D8.InputContainer, "InputContainer"), T8
48558
48569
  //#endregion
48559
48570
  export { vs as A, yi as B, fk as C, WD as D, YD as E, N as F, me as G, be as H, rs as I, ue as J, ce as K, Zo as L, P as M, cs as N, Os as O, ss as P, Ua as R, XM as S, sO as T, j as U, Zr as V, ge as W, re as Y, gI as _, LG as a, fF as b, oW as c, uL as d, eL as f, RI as g, HI as h, QK as i, ds as j, Ts as k, KL as l, UI as m, x8 as n, PW as o, WI as p, oe as q, rq as r, kW as s, w8 as t, hL as u, fI as v, pO as w, rP as x, HF as y, bi as z };
48560
48571
 
48561
- //# sourceMappingURL=dist-BefNeqwZ.js.map
48572
+ //# sourceMappingURL=dist-dyuok0rH.js.map