@fileverse-dev/ddoc 3.0.96-zustand-15 → 3.0.96-zustand-16

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 +2 -3
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -41135,7 +41135,7 @@ function yS(e, t) {
41135
41135
  if (!(n != null && n.binding)) return Pt.empty;
41136
41136
  const { doc: r, type: o, binding: i } = n, s = [], a = t.doc.content.size;
41137
41137
  for (const l of e)
41138
- if (!l.deleted)
41138
+ if (!(l.deleted || l.resolved))
41139
41139
  try {
41140
41140
  const u = oa(
41141
41141
  r,
@@ -41149,10 +41149,9 @@ function yS(e, t) {
41149
41149
  i.mapping
41150
41150
  );
41151
41151
  if (u === null || c === null || u >= c || u < 0 || c > a) continue;
41152
- const d = l.resolved ? "inline-comment inline-comment--resolved" : "inline-comment inline-comment--unresolved";
41153
41152
  s.push(
41154
41153
  En.inline(u, c, {
41155
- class: d,
41154
+ class: "inline-comment inline-comment--unresolved",
41156
41155
  "data-comment-id": l.id
41157
41156
  })
41158
41157
  );
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-15",
5
+ "version": "3.0.96-zustand-16",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {