@drghaliasri/butex 5.5.0 → 5.5.2

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/dist/document.mjs CHANGED
@@ -164,7 +164,7 @@ var CommandNode = class extends BaseAstNode {
164
164
  arabicLatex() {
165
165
  const sup = this.superscript !== null ? this.superscript.arabicLatex() : "";
166
166
  const sub = this.subscript !== null ? this.subscript.arabicLatex() : "";
167
- const arabicName = this.name === "\\sqrt" ? "\\arabsqrt" : this.name;
167
+ const arabicName = this.name === "\\sqrt" || this.name === "\\arabsqrt" ? "\\arsqrt" : this.name;
168
168
  const content = renderCommandCore({
169
169
  name: arabicName,
170
170
  optionalArgs: this.optionalArgs,
@@ -1835,7 +1835,7 @@ function renderNodeArabic(node, options) {
1835
1835
  return arabicScripts(node, content, options);
1836
1836
  }
1837
1837
  if (node.kind === "sqrt" && node.radicand) {
1838
- const content = `\\arabsqrt${optionalRootIndexArabic(node, options)}{${renderChainArabic(node.radicand, options)}}`;
1838
+ const content = `\\arsqrt${optionalRootIndexArabic(node, options)}{${renderChainArabic(node.radicand, options)}}`;
1839
1839
  return arabicScripts(node, content, options);
1840
1840
  }
1841
1841
  if (node.kind === "overset" && node.baseExpr) {
@@ -2368,7 +2368,8 @@ ${BUTEX_FONT_FACE_CSS}
2368
2368
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
2369
2369
  }
2370
2370
 
2371
- .surface:focus {
2371
+ .surface:focus,
2372
+ .surface.surface--typing-focus {
2372
2373
  border-color: var(--butex-focus-border, rgba(13, 148, 136, 0.45));
2373
2374
  box-shadow: 0 0 0 3px var(--butex-focus-shadow, rgba(13, 148, 136, 0.12));
2374
2375
  }