@pie-element/math-templated 7.1.1-next.20 → 7.1.1-next.22

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.
@@ -27473,6 +27473,8 @@ var Jj = (e) => {
27473
27473
  classes: t
27474
27474
  }) });
27475
27475
  }, Yj = F("div")(() => ({
27476
+ height: 0,
27477
+ overflow: "visible",
27476
27478
  "& .defaultToolbar": {
27477
27479
  display: "flex",
27478
27480
  width: "100%",
@@ -27508,13 +27510,14 @@ var Jj = (e) => {
27508
27510
  color: "var(--white)"
27509
27511
  },
27510
27512
  "& .toolbar": {
27511
- position: "absolute",
27513
+ position: "relative",
27514
+ top: "5px",
27512
27515
  zIndex: 20,
27513
27516
  cursor: "pointer",
27514
27517
  justifyContent: "space-between",
27515
27518
  background: "var(--editable-html-toolbar-bg, #efefef)",
27516
27519
  minWidth: "280px",
27517
- margin: "5px 0 0 0",
27520
+ margin: 0,
27518
27521
  padding: "2px",
27519
27522
  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)",
27520
27523
  boxSizing: "border-box",
@@ -27523,7 +27526,10 @@ var Jj = (e) => {
27523
27526
  pointerEvents: "none"
27524
27527
  },
27525
27528
  "& .toolbarWithNoDone": { minWidth: "265px" },
27526
- "& .toolbarTop": { top: "-45px" },
27529
+ "& .toolbarTop": {
27530
+ position: "absolute",
27531
+ top: "-45px"
27532
+ },
27527
27533
  "& .toolbarRight": { right: 0 },
27528
27534
  "& .fullWidth": { width: "100%" },
27529
27535
  "& .hidden": { visibility: "hidden" },
@@ -34195,6 +34201,8 @@ var NB = Kh.create({
34195
34201
  "--red-light": "#ffebe5",
34196
34202
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
34197
34203
  }, UB = (e) => ({
34204
+ role: "textbox",
34205
+ "data-pie-editor": "true",
34198
34206
  spellcheck: e ? "true" : "false",
34199
34207
  autocorrect: e ? "on" : "off",
34200
34208
  autocapitalize: e ? "on" : "off"
@@ -34361,7 +34369,10 @@ var NB = Kh.create({
34361
34369
  g?.setEditable(!e.disabled);
34362
34370
  }, [e.disabled, g]), R(() => {
34363
34371
  if (!g) return;
34364
- let e = g.options?.editorProps, t = UB(h);
34372
+ let e = g.options?.editorProps, t = {
34373
+ ...e?.attributes,
34374
+ ...UB(h)
34375
+ };
34365
34376
  e?.attributes?.spellcheck !== t.spellcheck && g.setOptions({ editorProps: {
34366
34377
  ...e,
34367
34378
  attributes: t