@mdxeditor/gurx
Advanced tools
Comparing version 1.0.2 to 1.0.3
var O = Object.defineProperty; | ||
var E = (s, t, e) => t in s ? O(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e; | ||
var h = (s, t, e) => (E(s, typeof t != "symbol" ? t + "" : t, e), e); | ||
var N = (s, t, e) => t in s ? O(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e; | ||
var h = (s, t, e) => (N(s, typeof t != "symbol" ? t + "" : t, e), e); | ||
import p from "react"; | ||
import { jsx as N } from "react/jsx-runtime"; | ||
import { jsx as E } from "react/jsx-runtime"; | ||
class S { | ||
@@ -75,3 +75,3 @@ constructor(t = /* @__PURE__ */ new Map()) { | ||
cellInstance(t, e = !0, n = Symbol()) { | ||
return this.state.has(n) || (this.state.set(n, t), e !== !1 && this.distinctNodes.set(n, e === !0 ? C : e)), n; | ||
return this.state.has(n) || this.state.set(n, t), e !== !1 && !this.distinctNodes.has(n) && this.distinctNodes.set(n, e === !0 ? C : e), n; | ||
} | ||
@@ -370,3 +370,3 @@ /** | ||
n.pubIn(e); | ||
}, [e, n]), /* @__PURE__ */ N(I.Provider, { value: n, children: s }); | ||
}, [e, n]), /* @__PURE__ */ E(I.Provider, { value: n, children: s }); | ||
} | ||
@@ -373,0 +373,0 @@ function x() { |
@@ -6,3 +6,3 @@ { | ||
"type": "module", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"module": "dist/index.js", | ||
@@ -9,0 +9,0 @@ "main": "dist/index.js", |
62181