my-anees-package 1.0.1 → 1.0.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.
@@ -1,5 +1,5 @@
1
1
  import l, { useState as L, useEffect as D, useMemo as A, useRef as U, useCallback as k } from "react";
2
- import { createPortal as Q } from "react-dom";
2
+ import Q from "react-dom";
3
3
  import { FontAwesomeIcon as B } from "@fortawesome/react-fontawesome";
4
4
  import { faBold as ee, faItalic as te } from "@fortawesome/free-solid-svg-icons";
5
5
  import { CKEditor as de } from "@ckeditor/ckeditor5-react";
@@ -3397,7 +3397,7 @@ function Ae({ mode: r, onInsert: t, onClose: f, initialLatex: a, isEditing: n })
3397
3397
  onMouseLeave: () => {
3398
3398
  }
3399
3399
  }
3400
- ), j && Q(
3400
+ ), j && Q.createPortal(
3401
3401
  /* @__PURE__ */ l.createElement(
3402
3402
  Ge,
3403
3403
  {
@@ -3410,7 +3410,7 @@ function Ae({ mode: r, onInsert: t, onClose: f, initialLatex: a, isEditing: n })
3410
3410
  }
3411
3411
  ),
3412
3412
  document.body
3413
- ), d && Q(
3413
+ ), d && Q.createPortal(
3414
3414
  /* @__PURE__ */ l.createElement(
3415
3415
  "div",
3416
3416
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-anees-package",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Custom math and chemistry editor using MathLive and CKEditor 5",
5
5
  "type": "module",
6
6
  "main": "./dist/my-anees-package.umd.js",