@pie-element/math-inline 12.1.1-next.19 → 12.1.1-next.21

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.
@@ -26473,6 +26473,8 @@ var gj = (e) => {
26473
26473
  classes: t
26474
26474
  }) });
26475
26475
  }, _j = M("div")(() => ({
26476
+ height: 0,
26477
+ overflow: "visible",
26476
26478
  "& .defaultToolbar": {
26477
26479
  display: "flex",
26478
26480
  width: "100%",
@@ -26508,13 +26510,14 @@ var gj = (e) => {
26508
26510
  color: "var(--white)"
26509
26511
  },
26510
26512
  "& .toolbar": {
26511
- position: "absolute",
26513
+ position: "relative",
26514
+ top: "5px",
26512
26515
  zIndex: 20,
26513
26516
  cursor: "pointer",
26514
26517
  justifyContent: "space-between",
26515
26518
  background: "var(--editable-html-toolbar-bg, #efefef)",
26516
26519
  minWidth: "280px",
26517
- margin: "5px 0 0 0",
26520
+ margin: 0,
26518
26521
  padding: "2px",
26519
26522
  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)",
26520
26523
  boxSizing: "border-box",
@@ -26523,7 +26526,10 @@ var gj = (e) => {
26523
26526
  pointerEvents: "none"
26524
26527
  },
26525
26528
  "& .toolbarWithNoDone": { minWidth: "265px" },
26526
- "& .toolbarTop": { top: "-45px" },
26529
+ "& .toolbarTop": {
26530
+ position: "absolute",
26531
+ top: "-45px"
26532
+ },
26527
26533
  "& .toolbarRight": { right: 0 },
26528
26534
  "& .fullWidth": { width: "100%" },
26529
26535
  "& .hidden": { visibility: "hidden" },
@@ -33195,6 +33201,8 @@ var tB = W_.create({
33195
33201
  "--red-light": "#ffebe5",
33196
33202
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
33197
33203
  }, dB = (e) => ({
33204
+ role: "textbox",
33205
+ "data-pie-editor": "true",
33198
33206
  spellcheck: e ? "true" : "false",
33199
33207
  autocorrect: e ? "on" : "off",
33200
33208
  autocapitalize: e ? "on" : "off"
@@ -33361,7 +33369,10 @@ var tB = W_.create({
33361
33369
  g?.setEditable(!e.disabled);
33362
33370
  }, [e.disabled, g]), L(() => {
33363
33371
  if (!g) return;
33364
- let e = g.options?.editorProps, t = dB(h);
33372
+ let e = g.options?.editorProps, t = {
33373
+ ...e?.attributes,
33374
+ ...dB(h)
33375
+ };
33365
33376
  e?.attributes?.spellcheck !== t.spellcheck && g.setOptions({ editorProps: {
33366
33377
  ...e,
33367
33378
  attributes: t