@commentkit/comment-kit 0.6.7 → 0.6.8

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.6.8] - 2026-10-12
11
+
12
+ ### Fixed
13
+
14
+ - On production sites, choosing Pin, Element, or another tool no longer hides the toolbar. Leave the tool with Escape, or press the shortcut again, without reloading.
15
+
10
16
  ## [0.6.7] - 2026-10-12
11
17
 
12
18
  ### Changed
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-CMz7-p8x.js"), { ShadowContainer: u } = await import("./shadow-root-yMOaW9pk.js"), { ErrorBoundary: d } = await import("./error-boundary-CxhCm8iF.js"), { CommentKitUI: f } = await import("./comment-kit-ui-ClsgTVKj.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-CMz7-p8x.js"), { ShadowContainer: u } = await import("./shadow-root-yMOaW9pk.js"), { ErrorBoundary: d } = await import("./error-boundary-CxhCm8iF.js"), { CommentKitUI: f } = await import("./comment-kit-ui-D-LUFD6n.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
@@ -2730,7 +2730,7 @@ var Z = typeof window < "u", xi = new Set([
2730
2730
  "screenshot",
2731
2731
  "select",
2732
2732
  null
2733
- ]), Ci = 256, wi = "0.6.7";
2733
+ ]), Ci = 256, wi = "0.6.8";
2734
2734
  function Ti(e) {
2735
2735
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2736
2736
  return t ? [
@@ -2860,7 +2860,7 @@ var Oi = class extends le {
2860
2860
  };
2861
2861
  }
2862
2862
  let n = e.project?.sdkLatestVersion;
2863
- n && Di(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${wi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2863
+ n && Di(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${wi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2864
2864
  current: wi,
2865
2865
  latest: n
2866
2866
  })), this.setState({
@@ -3602,7 +3602,7 @@ var $ = class {
3602
3602
  }
3603
3603
  async mountSharedUI(e, t, n) {
3604
3604
  try {
3605
- let { mountCommentKitUI: n } = await import("./angular/mount-ui-EPLnH0YJ.js");
3605
+ let { mountCommentKitUI: n } = await import("./angular/mount-ui-C9PJ5aK_.js");
3606
3606
  if (this.core !== e || this.lifecycleId !== t) return;
3607
3607
  let r = await n(e);
3608
3608
  if (this.core !== e || this.lifecycleId !== t) {
@@ -2539,7 +2539,7 @@ var vi = typeof window < "u", yi = new Set([
2539
2539
  "screenshot",
2540
2540
  "select",
2541
2541
  null
2542
- ]), xi = 256, Q = "0.6.7";
2542
+ ]), xi = 256, Q = "0.6.8";
2543
2543
  function Si(e) {
2544
2544
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2545
2545
  return t ? [
@@ -2669,7 +2669,7 @@ var Ti = class extends it {
2669
2669
  };
2670
2670
  }
2671
2671
  let n = e.project?.sdkLatestVersion;
2672
- n && wi(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${Q}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2672
+ n && wi(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${Q}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2673
2673
  current: Q,
2674
2674
  latest: n
2675
2675
  })), this.setState({
@@ -3185,7 +3185,7 @@ var Ti = class extends it {
3185
3185
  async mount() {
3186
3186
  let e = this.core;
3187
3187
  try {
3188
- let { mountCommentKitUI: t } = await import("./core/mount-ui-B6jipL2Z.js");
3188
+ let { mountCommentKitUI: t } = await import("./core/mount-ui-Bfnuuesk.js");
3189
3189
  if (this.destroyed) return;
3190
3190
  let n = await t(e);
3191
3191
  if (this.destroyed) {
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: t }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (t.connectionStatus === "disconnected" || t.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || t.isOverlayVisible && t.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (t.connectionStatus === "disconnected" || t.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || t.isAuthenticated && (t.isOverlayVisible || t.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-ClRoB6ro.js"), { ShadowContainer: u } = await import("./shadow-root-DAtdjHG2.js"), { ErrorBoundary: d } = await import("./error-boundary-CN_BGsYl.js"), { CommentKitUI: f } = await import("./comment-kit-ui-BTYGcSK-.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-ClRoB6ro.js"), { ShadowContainer: u } = await import("./shadow-root-DAtdjHG2.js"), { ErrorBoundary: d } = await import("./error-boundary-CN_BGsYl.js"), { CommentKitUI: f } = await import("./comment-kit-ui-Ct4E18do.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-D6i7be5-.js"), { ShadowContainer: u } = await import("./shadow-root-D-NcwruG.js"), { ErrorBoundary: d } = await import("./error-boundary-B4-Bfy3g.js"), { CommentKitUI: f } = await import("./comment-kit-ui-nhY36fa4.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-D6i7be5-.js"), { ShadowContainer: u } = await import("./shadow-root-D-NcwruG.js"), { ErrorBoundary: d } = await import("./error-boundary-B4-Bfy3g.js"), { CommentKitUI: f } = await import("./comment-kit-ui-DEzn7J_P.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
package/dist/preact.es.js CHANGED
@@ -2728,7 +2728,7 @@ var $ = typeof window < "u", gi = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), vi = 256, yi = "0.6.7";
2731
+ ]), vi = 256, yi = "0.6.8";
2732
2732
  function bi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var Ci = class extends ae {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Si(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Si(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: yi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3398,7 +3398,7 @@ function wi(e) {
3398
3398
  }
3399
3399
  }, d = async (e) => {
3400
3400
  try {
3401
- let { mountCommentKitUI: r } = await import("./preact/mount-ui-Dri-RQe3.js");
3401
+ let { mountCommentKitUI: r } = await import("./preact/mount-ui-Dx8en--W.js");
3402
3402
  if (i || t.current !== e) return;
3403
3403
  let a = await r(e);
3404
3404
  if (i || t.current !== e) {
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-DmEmq5Lh.js"), { ShadowContainer: u } = await import("./shadow-root-PkjcnvPe.js"), { ErrorBoundary: d } = await import("./error-boundary-C4hlYQwS.js"), { CommentKitUI: f } = await import("./comment-kit-ui-B2oSKreb.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-DmEmq5Lh.js"), { ShadowContainer: u } = await import("./shadow-root-PkjcnvPe.js"), { ErrorBoundary: d } = await import("./error-boundary-C4hlYQwS.js"), { CommentKitUI: f } = await import("./comment-kit-ui-Dvwee2tw.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
package/dist/qwik.es.js CHANGED
@@ -2728,7 +2728,7 @@ var gi = typeof window < "u", _i = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), yi = 256, bi = "0.6.7";
2731
+ ]), yi = 256, bi = "0.6.8";
2732
2732
  function xi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var wi = class extends se {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Ci(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${bi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Ci(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${bi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: bi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3402,7 +3402,7 @@ function Ti(e) {
3402
3402
  }
3403
3403
  }, _ = async (e) => {
3404
3404
  try {
3405
- let { mountCommentKitUI: t } = await import("./qwik/mount-ui-DkvDtcft.js");
3405
+ let { mountCommentKitUI: t } = await import("./qwik/mount-ui-DSAwNk_d.js");
3406
3406
  if (d || a.value !== e) return;
3407
3407
  let n = await t(e);
3408
3408
  if (d || a.value !== e) {
package/dist/react.es.js CHANGED
@@ -2725,7 +2725,7 @@ var zi = typeof window < "u", Bi = new Set([
2725
2725
  "screenshot",
2726
2726
  "select",
2727
2727
  null
2728
- ]), Hi = 256, Ui = "0.6.7";
2728
+ ]), Hi = 256, Ui = "0.6.8";
2729
2729
  function Wi(e) {
2730
2730
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2731
2731
  return t ? [
@@ -2855,7 +2855,7 @@ var qi = class extends G {
2855
2855
  };
2856
2856
  }
2857
2857
  let n = e.project?.sdkLatestVersion;
2858
- n && Ki(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${Ui}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2858
+ n && Ki(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${Ui}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2859
2859
  current: Ui,
2860
2860
  latest: n
2861
2861
  })), this.setState({
@@ -25424,7 +25424,7 @@ var vj = g.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
25424
25424
  })
25425
25425
  ]
25426
25426
  });
25427
- }), yj = "0.6.7";
25427
+ }), yj = "0.6.8";
25428
25428
  function bj({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
25429
25429
  return /* @__PURE__ */ F(K_, { children: /* @__PURE__ */ F(OO, {
25430
25430
  author: e.parent.author,
@@ -28188,7 +28188,7 @@ var $N = ({ core: e, state: n }) => {
28188
28188
  e.retryConnection();
28189
28189
  }), S = _.useCallback(async (e) => {
28190
28190
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
28191
- }, []), C = b && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), T = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
28191
+ }, []), C = b && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), T = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
28192
28192
  return GT({
28193
28193
  enabled: T && h && !m,
28194
28194
  onClose: () => {
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-DbueS9xx.js"), { ShadowContainer: u } = await import("./shadow-root-CssU3bQb.js"), { ErrorBoundary: d } = await import("./error-boundary-9mimpbZA.js"), { CommentKitUI: f } = await import("./comment-kit-ui-B7GeN0T8.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-DbueS9xx.js"), { ShadowContainer: u } = await import("./shadow-root-CssU3bQb.js"), { ErrorBoundary: d } = await import("./error-boundary-9mimpbZA.js"), { CommentKitUI: f } = await import("./comment-kit-ui-ACW8BpEm.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
package/dist/solid.es.js CHANGED
@@ -2728,7 +2728,7 @@ var hi = typeof window < "u", gi = new Set([
2728
2728
  "screenshot",
2729
2729
  "select",
2730
2730
  null
2731
- ]), vi = 256, yi = "0.6.7";
2731
+ ]), vi = 256, yi = "0.6.8";
2732
2732
  function bi(e) {
2733
2733
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2734
2734
  return t ? [
@@ -2858,7 +2858,7 @@ var Ci = class extends oe {
2858
2858
  };
2859
2859
  }
2860
2860
  let n = e.project?.sdkLatestVersion;
2861
- n && Si(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2861
+ n && Si(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${yi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
2862
  current: yi,
2863
2863
  latest: n
2864
2864
  })), this.setState({
@@ -3388,7 +3388,7 @@ function wi(e) {
3388
3388
  }
3389
3389
  }, ye = async (e) => {
3390
3390
  try {
3391
- let { mountCommentKitUI: t } = await import("./solid/mount-ui-CTFITRP7.js");
3391
+ let { mountCommentKitUI: t } = await import("./solid/mount-ui-Dq1wj_tx.js");
3392
3392
  if (v || d !== e) return;
3393
3393
  let n = await t(e);
3394
3394
  if (v || d !== e) {
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-BK_MaUpD.js"), { ShadowContainer: u } = await import("./shadow-root-DG8inbf6.js"), { ErrorBoundary: d } = await import("./error-boundary-C3GWI_IX.js"), { CommentKitUI: f } = await import("./comment-kit-ui-CKmdu0gr.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-BK_MaUpD.js"), { ShadowContainer: u } = await import("./shadow-root-DG8inbf6.js"), { ErrorBoundary: d } = await import("./error-boundary-C3GWI_IX.js"), { CommentKitUI: f } = await import("./comment-kit-ui-Cx4u1g77.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
package/dist/svelte.es.js CHANGED
@@ -2729,7 +2729,7 @@ var _i = typeof window < "u", vi = new Set([
2729
2729
  "screenshot",
2730
2730
  "select",
2731
2731
  null
2732
- ]), bi = 256, xi = "0.6.7";
2732
+ ]), bi = 256, xi = "0.6.8";
2733
2733
  function Si(e) {
2734
2734
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2735
2735
  return t ? [
@@ -2859,7 +2859,7 @@ var Ti = class extends se {
2859
2859
  };
2860
2860
  }
2861
2861
  let n = e.project?.sdkLatestVersion;
2862
- n && wi(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${xi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2862
+ n && wi(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${xi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2863
2863
  current: xi,
2864
2864
  latest: n
2865
2865
  })), this.setState({
@@ -3387,7 +3387,7 @@ function $(e) {
3387
3387
  } catch {}
3388
3388
  }, de = async (e) => {
3389
3389
  try {
3390
- let { mountCommentKitUI: n } = await import("./svelte/mount-ui-N1vul-tl.js");
3390
+ let { mountCommentKitUI: n } = await import("./svelte/mount-ui-CBoNGLNS.js");
3391
3391
  if (w || g(t) !== e) return;
3392
3392
  let r = await n(e);
3393
3393
  if (w || g(t) !== e) {
@@ -22045,7 +22045,7 @@ var QT = f.memo(function({ thread: e, onReply: t, onResolve: n, onReopen: r, onS
22045
22045
  })
22046
22046
  ]
22047
22047
  });
22048
- }), $T = "0.6.7";
22048
+ }), $T = "0.6.8";
22049
22049
  function eE({ thread: e, isDone: t, onCopyUrl: n, onResolve: r, onLocate: i }) {
22050
22050
  return /* @__PURE__ */ O(Mf, { children: /* @__PURE__ */ O(mC, {
22051
22051
  author: e.parent.author,
@@ -24791,7 +24791,7 @@ var MO = ({ core: e, state: n }) => {
24791
24791
  e.retryConnection();
24792
24792
  }), T = p.useCallback(async (e) => {
24793
24793
  if (e.status !== "confirmed") throw Error(e.message || "Something went wrong.");
24794
- }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isOverlayVisible && n.isAuthenticated;
24794
+ }, []), E = C && s.realtime !== !1 && (n.connectionStatus === "disconnected" || n.connectionStatus === "error"), A = !(typeof e.requiresShortcut == "function" && e.requiresShortcut()) || n.isAuthenticated && (n.isOverlayVisible || n.activeTool != null);
24795
24795
  return jb({
24796
24796
  enabled: A && _ && !g,
24797
24797
  onClose: () => {
@@ -28,7 +28,7 @@ function i(e) {
28
28
  }
29
29
  async function a(e) {
30
30
  n(e);
31
- let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-B0NAkbKu.js"), { ShadowContainer: u } = await import("./shadow-root-zwd_wUIP.js"), { ErrorBoundary: d } = await import("./error-boundary-DW6uGR8U.js"), { CommentKitUI: f } = await import("./comment-kit-ui-MfED5JLH.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
31
+ let a = await import("react"), o = await import("react-dom/client"), s = t(a, "createElement"), c = t(o, "createRoot"), { default: l } = await import("./styles-B0NAkbKu.js"), { ShadowContainer: u } = await import("./shadow-root-zwd_wUIP.js"), { ErrorBoundary: d } = await import("./error-boundary-DW6uGR8U.js"), { CommentKitUI: f } = await import("./comment-kit-ui-C3zijClM.js"), p = typeof e.getConfig == "function" ? e.getConfig() : void 0, m = u, h = d, g = r();
32
32
  if (g.querySelector("[data-commentkit], [data-commentkit-host]")) return console.warn("[CommentKit] UI is already mounted on this page — skipping duplicate mount. Destroy the existing instance first if you need to remount."), { unmount() {} };
33
33
  let _ = document.createElement("div");
34
34
  _.setAttribute("data-commentkit", ""), g.appendChild(_);
package/dist/vue.es.js CHANGED
@@ -2534,7 +2534,7 @@ var ui = typeof window < "u", di = new Set([
2534
2534
  "screenshot",
2535
2535
  "select",
2536
2536
  null
2537
- ]), pi = 256, mi = "0.6.7";
2537
+ ]), pi = 256, mi = "0.6.8";
2538
2538
  function hi(e) {
2539
2539
  let t = e.trim().match(/^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/);
2540
2540
  return t ? [
@@ -2664,7 +2664,7 @@ var vi = class extends ee {
2664
2664
  };
2665
2665
  }
2666
2666
  let n = e.project?.sdkLatestVersion;
2667
- n && _i(n, "0.6.7") && (console.warn(`[CommentKit] You are using v${mi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2667
+ n && _i(n, "0.6.8") && (console.warn(`[CommentKit] You are using v${mi}. Update to v${n}: npm update @commentkit/comment-kit`), this.emit("sdk:outdated", {
2668
2668
  current: mi,
2669
2669
  latest: n
2670
2670
  })), this.setState({
@@ -3382,7 +3382,7 @@ function Ei(e) {
3382
3382
  } catch {}
3383
3383
  }, se = async (e) => {
3384
3384
  try {
3385
- let { mountCommentKitUI: t } = await import("./vue/mount-ui-C85XBX4V.js");
3385
+ let { mountCommentKitUI: t } = await import("./vue/mount-ui-18BnLwCO.js");
3386
3386
  if (T || o.value !== e) return;
3387
3387
  let n = await t(e);
3388
3388
  if (T || o.value !== e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commentkit/comment-kit",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Figma-style collaborative commenting, drawing, and feedback tools for any website. Works with React, Vue, Svelte, Angular, and Vanilla JS.",
5
5
  "keywords": [
6
6
  "angular",