@fileverse-dev/ddoc 3.0.96-zustand-20 → 3.0.96-zustand-21

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.
Files changed (2) hide show
  1. package/dist/index.es.js +4 -4
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -42710,10 +42710,10 @@ const rfe = () => k0e((e, t) => ({
42710
42710
  })));
42711
42711
  },
42712
42712
  blurFloatingItem: (n) => {
42713
- const { editor: r, setActiveCommentId: o } = Pn(t), { activeCommentId: i, floatingItems: s } = t(), a = s.find((l) => l.itemId === n);
42714
- !r || !a || (a.type === "thread" && i === a.commentId && (o(null), r.commands.unsetCommentActive()), e((l) => ({
42715
- floatingItems: l.floatingItems.map((u) => ({
42716
- ...u,
42713
+ const { editor: r } = Pn(t), { activeCommentId: o, floatingItems: i } = t(), s = i.find((a) => a.itemId === n);
42714
+ !r || !s || (s.type === "thread" && o === s.commentId && (t().setActiveCommentId(null), r.commands.unsetCommentActive()), e((a) => ({
42715
+ floatingItems: a.floatingItems.map((l) => ({
42716
+ ...l,
42717
42717
  isFocused: !1
42718
42718
  }))
42719
42719
  })));
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.96-zustand-20",
5
+ "version": "3.0.96-zustand-21",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {