erl-mathtextx-editor 0.2.4 → 0.2.5

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.
package/CHANGELOG.md CHANGED
@@ -5,7 +5,7 @@ All notable changes to `erl-mathtextx-editor` will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [0.2.4] - 2026-05-26
8
+ ## [0.2.5] - 2026-05-26
9
9
 
10
10
  ### Added
11
11
 
@@ -15,10 +15,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
 
16
16
  ### Fixed
17
17
 
18
- - **Inline Math Space** — Spacebar now inserts `\,` (LaTeX thin space) instead of literal space
18
+ - **Math Space Key** — Spacebar now inserts `\,` (LaTeX thin space) in both inline math (MathFieldView) and Equation Editor dialog (MathTypeDialog)
19
19
  - Literal spaces were ignored by LaTeX math mode
20
20
  - `\text{ }` caused nesting and character escaping on consecutive spaces
21
- - `\,` avoids cursor ambiguity and nesting
21
+ - `\ ` caused cursor ambiguity (next char merged into backslash as `\s`)
22
+ - `\,` avoids all above issues — unambiguous, no nesting, proper cursor position
22
23
 
23
24
  ### Changed
24
25
 
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import V, { useId as B, useRef as M, useCallback as b, useState as d, useEffect as A } from "react";
3
- import { u as $ } from "./index-ABpo9sfg.js";
3
+ import { u as $ } from "./index-BDLqhZzn.js";
4
4
  import { u as I } from "./useDraggable-DEoLIB5k.js";
5
5
  const P = V.memo(({
6
6
  isOpen: o,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, Fragment as J, jsx as e } from "react/jsx-runtime";
2
2
  import { useId as V, useRef as y, useState as d, useCallback as s } from "react";
3
- import { u as q } from "./index-ABpo9sfg.js";
3
+ import { u as q } from "./index-BDLqhZzn.js";
4
4
  function Z({
5
5
  isOpen: U,
6
6
  onClose: w,
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  import v, { useId as g, useRef as y, useState as c, useEffect as k, useCallback as w } from "react";
3
- import { u as C } from "./index-ABpo9sfg.js";
3
+ import { u as C } from "./index-BDLqhZzn.js";
4
4
  import { u as M } from "./useDraggable-DEoLIB5k.js";
5
5
  const I = v.memo(({ isOpen: i, onInsert: d, onClose: m }) => {
6
6
  const u = g(), b = y(null), [l, n] = c(3), [a, s] = c(3), [o, h] = c(!0), { position: p, handleMouseDown: N } = M(i);
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as e } from "react/jsx-runtime";
2
2
  import S, { useId as T, useRef as _, useState as r, useEffect as w, useCallback as c } from "react";
3
- import { u as F } from "./index-ABpo9sfg.js";
3
+ import { u as F } from "./index-BDLqhZzn.js";
4
4
  const I = S.memo(({
5
5
  isOpen: s,
6
6
  currentUrl: o = "",
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import g, { useId as x, useRef as p, useState as f, useEffect as y, useCallback as h } from "react";
3
- import { u as N } from "./index-ABpo9sfg.js";
3
+ import { u as N } from "./index-BDLqhZzn.js";
4
4
  import { u as k } from "./useDraggable-DEoLIB5k.js";
5
5
  const z = g.memo(({
6
6
  isOpen: a,
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import c, { useId as p, useRef as h, useCallback as x } from "react";
3
- import { u as b } from "./index-ABpo9sfg.js";
3
+ import { u as b } from "./index-BDLqhZzn.js";
4
4
  import { u } from "./useDraggable-DEoLIB5k.js";
5
5
  const g = [
6
6
  { id: "plain", name: "Polos", description: "Tabel sederhana tanpa gaya tambahan", headerStyle: "none", borderStyle: "all", stripeRows: !1 },
@@ -1,4 +1,4 @@
1
- import { C as t, I as s, b as o, L as l, M as i, d as r, e as T, f as g, h as n, i as m, S as p, T as M, j as C, k as b, l as d, W as h, m as y, n as D, o as L, p as c, q as x, r as u, s as E, t as I, v as P, w as S, x as f, y as k } from "./index-ABpo9sfg.js";
1
+ import { C as t, I as s, b as o, L as l, M as i, d as r, e as T, f as g, h as n, i as m, S as p, T as M, j as C, k as b, l as d, W as h, m as y, n as D, o as L, p as c, q as x, r as u, s as E, t as I, v as P, w as S, x as f, y as k } from "./index-BDLqhZzn.js";
2
2
  import { C as H } from "./ContentViewer-RijJ5nlJ.js";
3
3
  export {
4
4
  t as CellPropertiesDialog,