@fileverse-dev/ddoc 2.1.0-yjs-patch-4 → 2.1.0-yjs-patch-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/dist/index.es.js +8 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -137299,7 +137299,11 @@ const $0 = class $0 {
|
|
137299
137299
|
"1.5": "-translate-x-[140%]",
|
137300
137300
|
2: "-translate-x-[300%]"
|
137301
137301
|
};
|
137302
|
-
n in r && (e.classList.remove(
|
137302
|
+
n in r && (e.classList.remove(
|
137303
|
+
...Array.from(e.classList).filter(
|
137304
|
+
(i) => i.startsWith("-translate-x-")
|
137305
|
+
)
|
137306
|
+
), e.classList.add(r[n]));
|
137303
137307
|
}
|
137304
137308
|
};
|
137305
137309
|
pe($0, "instance");
|
@@ -137491,10 +137495,10 @@ const xk = sA.getInstance(), ZF = [
|
|
137491
137495
|
H == null ? void 0 : H.storage.characterCount.words()
|
137492
137496
|
]), qe(() => {
|
137493
137497
|
const ue = () => {
|
137494
|
-
|
137498
|
+
o == null || o(zie(C8(b)));
|
137495
137499
|
};
|
137496
|
-
return b &&
|
137497
|
-
|
137500
|
+
return b && b.on("update", ue), () => {
|
137501
|
+
b == null || b.off("update", ue);
|
137498
137502
|
};
|
137499
137503
|
}, [b]), qe(() => () => {
|
137500
137504
|
H && H.destroy();
|