@commentkit/comment-kit 0.7.2 → 0.7.3

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 (30) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/angular.es.js +2 -2
  3. package/dist/comment-kit.es.js +3 -3
  4. package/dist/demo.es.js +2 -2
  5. package/dist/headless.es.js +2 -2
  6. package/dist/preact.es.js +2 -2
  7. package/dist/qwik.qwik.mjs +2 -2
  8. package/dist/react.es.js +2 -2
  9. package/dist/shared/{annotation-toolbar-CZI1KVdW.js → annotation-toolbar-XpqojzM2.js} +2 -2
  10. package/dist/shared/{attachment-refresh-mQw-L7hB.js → attachment-refresh-agUheZPF.js} +1 -1
  11. package/dist/shared/{comment-drawing-canvas-CYFFKgCm.js → comment-drawing-canvas-B3zqdIZH.js} +2 -2
  12. package/dist/shared/{comment-image-lightbox-DmTNxuqX.js → comment-image-lightbox-j9y3Klh6.js} +2 -2
  13. package/dist/shared/{comment-images-content-BX4DQ9Ol.js → comment-images-content-aJrMaOi9.js} +3 -3
  14. package/dist/shared/{comment-kit-core-VuIidMeu.js → comment-kit-core-Bsyydwpk.js} +7 -7
  15. package/dist/shared/{comment-kit-ui-BjJ1ZLiv.js → comment-kit-ui-qKjCHHOy.js} +369 -356
  16. package/dist/shared/{comment-screenshot-annotator-CMOG1md7.js → comment-screenshot-annotator-aDtgMbBF.js} +2 -2
  17. package/dist/shared/{comment-screenshot-overlay-iWW-V-Iw.js → comment-screenshot-overlay-B-rAubia.js} +3 -3
  18. package/dist/shared/{dev-export-panel-CrRENbMn.js → dev-export-panel-mrxmtzei.js} +1 -1
  19. package/dist/shared/{dev-grab-Ca4MlS2Y.js → dev-grab-Cc-lJYBv.js} +1 -1
  20. package/dist/shared/{element-selector-g1bTvdEA.js → element-selector-4TxTAXHK.js} +2 -2
  21. package/dist/shared/{mount-ui-Dz5QLq4W.js → mount-ui-Dbqe5VsO.js} +4 -4
  22. package/dist/shared/{pusher-ue0D83de.js → pusher-zAMukOay.js} +1 -1
  23. package/dist/shared/{realtime-CieWAnsW.js → realtime-t5o6fk6w.js} +2 -2
  24. package/dist/shared/{shadow-root-Cv1aLuFf.js → shadow-root-DlfbvZF9.js} +1 -1
  25. package/dist/shared/{token-session-CPQpt3-u.js → token-session-ZzSO1tEl.js} +1 -1
  26. package/dist/shared/{websocket-manager-BnK55c3U.js → websocket-manager-DGN8T9mq.js} +2 -2
  27. package/dist/solid.es.js +2 -2
  28. package/dist/svelte.es.js +2 -2
  29. package/dist/vue.es.js +2 -2
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { n as e, r as t, t as n } from "./annotation-toolbar-CZI1KVdW.js";
2
- import { N as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BjJ1ZLiv.js";
1
+ import { n as e, r as t, t as n } from "./annotation-toolbar-XpqojzM2.js";
2
+ import { N as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-qKjCHHOy.js";
3
3
  import * as c from "react";
4
4
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
5
  function d(e) {
@@ -1,7 +1,7 @@
1
- import { u as e } from "./comment-kit-core-VuIidMeu.js";
1
+ import { u as e } from "./comment-kit-core-Bsyydwpk.js";
2
2
  import { t } from "./capture-privacy-DUROnio5.js";
3
3
  import { t as n } from "./button-By0hGrJK.js";
4
- import { g as r, j as i, v as a } from "./comment-kit-ui-BjJ1ZLiv.js";
4
+ import { g as r, j as i, v as a } from "./comment-kit-ui-qKjCHHOy.js";
5
5
  import { d as o, i as s } from "./annotation-icons-Dh-bmNYK.js";
6
6
  import * as c from "react";
7
7
  import { useCallback as l, useEffect as u, useRef as d, useState as f } from "react";
@@ -85,7 +85,7 @@ function b(e) {
85
85
  }, [])
86
86
  };
87
87
  }
88
- var x = () => import("./comment-screenshot-annotator-CMOG1md7.js");
88
+ var x = () => import("./comment-screenshot-annotator-aDtgMbBF.js");
89
89
  function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
90
90
  let { imageUrl: f, capturing: p, error: g, capture: _, reset: v } = b(t), y = c.useRef(null), [S, C] = c.useState(null), [w, T] = c.useState(null), E = S !== null, D = c.useMemo(() => !S || !w ? null : {
91
91
  x: Math.min(S.x, w.x),
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./button-By0hGrJK.js";
2
2
  import { i as t, o as n, r, t as i } from "./separator-aphZiRoJ.js";
3
3
  import { t as a } from "./createReactComponent-BZHeRbD0.js";
4
- import { C as o, H as s, U as c, W as l, u } from "./comment-kit-ui-BjJ1ZLiv.js";
4
+ import { C as o, H as s, U as c, W as l, u } from "./comment-kit-ui-qKjCHHOy.js";
5
5
  import * as d from "react";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  var h = a("outline", "refresh", "Refresh", [["path", {
@@ -1,4 +1,4 @@
1
- import { f as e, g as t, p as n, r } from "./comment-kit-core-VuIidMeu.js";
1
+ import { f as e, g as t, p as n, r } from "./comment-kit-core-Bsyydwpk.js";
2
2
  import { a as i, i as a, o } from "./dom-Bhf4WFtY.js";
3
3
  import { n as s, t as c } from "./capture-privacy-DUROnio5.js";
4
4
  import { a as l, n as u, t as d } from "./text-B4HHZNaa.js";
@@ -1,9 +1,9 @@
1
- import { u as e } from "./comment-kit-core-VuIidMeu.js";
1
+ import { u as e } from "./comment-kit-core-Bsyydwpk.js";
2
2
  import { a as t, i as n, m as r, n as i, o as a } from "./dom-Bhf4WFtY.js";
3
3
  import { n as o } from "./dist-De294MVF.js";
4
4
  import { t as s } from "./button-By0hGrJK.js";
5
5
  import { t as c } from "./createReactComponent-BZHeRbD0.js";
6
- import { G as l, K as ee, S as te, V as u, n as ne } from "./comment-kit-ui-BjJ1ZLiv.js";
6
+ import { G as l, K as ee, S as te, V as u, n as ne } from "./comment-kit-ui-qKjCHHOy.js";
7
7
  import * as d from "react";
8
8
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
9
9
  var re = c("outline", "paperclip", "Paperclip", [["path", {
@@ -1,5 +1,5 @@
1
- import { o as e } from "./websocket-manager-BnK55c3U.js";
2
- import { u as t } from "./comment-kit-core-VuIidMeu.js";
1
+ import { o as e } from "./websocket-manager-DGN8T9mq.js";
2
+ import { u as t } from "./comment-kit-core-Bsyydwpk.js";
3
3
  import { n } from "./errors-Bu5ajEmB.js";
4
4
  var r = null, i = /* @__PURE__ */ new Set();
5
5
  function a() {
@@ -150,9 +150,9 @@ async function b(e, r = {}) {
150
150
  import("react"),
151
151
  import("react-dom/client"),
152
152
  import("./styles-CnYsLS2f.js"),
153
- import("./shadow-root-Cv1aLuFf.js"),
153
+ import("./shadow-root-DlfbvZF9.js"),
154
154
  import("./error-boundary-D3PD74vI.js"),
155
- import("./comment-kit-ui-BjJ1ZLiv.js").then((e) => e.t)
155
+ import("./comment-kit-ui-qKjCHHOy.js").then((e) => e.t)
156
156
  ]);
157
157
  if (!h || t !== w) return;
158
158
  let f = g(n, "createElement"), p = g(r, "createRoot"), m = l.ShadowContainer, _ = u.ErrorBoundary;
@@ -1,4 +1,4 @@
1
- import { a as e } from "./websocket-manager-BnK55c3U.js";
1
+ import { a as e } from "./websocket-manager-DGN8T9mq.js";
2
2
  var t = /* @__PURE__ */ e(((e, t) => {
3
3
  (function(n, r) {
4
4
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.Pusher = r() : n.Pusher = r();
@@ -1,6 +1,6 @@
1
- import { i as e, n as t, r as n, t as r } from "./websocket-manager-BnK55c3U.js";
1
+ import { i as e, n as t, r as n, t as r } from "./websocket-manager-DGN8T9mq.js";
2
2
  import { a as i, d as a, i as o, l as s, o as c } from "./validation-3wbbbuX0.js";
3
- import { s as l } from "./comment-kit-core-VuIidMeu.js";
3
+ import { s as l } from "./comment-kit-core-Bsyydwpk.js";
4
4
  import { o as u } from "./dom-Bhf4WFtY.js";
5
5
  import { i as d } from "./text-B4HHZNaa.js";
6
6
  var f = l.ID, p = l.CONTENT, m = l.NAME, h = l.EMAIL, g = l.PAGE, _ = l.EMOJI, v = l.ONLINE_USERS, y = l.REACTION_COUNT, b = 33, x = 1e3, S = l.CURSOR_EMITS_PER_SEC;
@@ -1,4 +1,4 @@
1
- import { o as e, r as t } from "./mount-ui-Dz5QLq4W.js";
1
+ import { o as e, r as t } from "./mount-ui-Dbqe5VsO.js";
2
2
  import { i as n, n as r, t as i } from "./ShadowRootContext-CjciYxVN.js";
3
3
  import * as a from "react";
4
4
  import { useCallback as o, useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
@@ -1,5 +1,5 @@
1
1
  import { f as e } from "./validation-3wbbbuX0.js";
2
- import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-VuIidMeu.js";
2
+ import { _ as t, a as n, i as r, o as i } from "./comment-kit-core-Bsyydwpk.js";
3
3
  async function a(a, o, s, c) {
4
4
  if (!s()) return !1;
5
5
  if (!e(o, 4096)) throw Error("Invalid member session token");
@@ -1,5 +1,5 @@
1
1
  import { d as e, f as t, i as n, l as r, o as i, p as a } from "./validation-3wbbbuX0.js";
2
- import { s as o } from "./comment-kit-core-VuIidMeu.js";
2
+ import { s as o } from "./comment-kit-core-Bsyydwpk.js";
3
3
  import { i as s } from "./text-B4HHZNaa.js";
4
4
  var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), h = (e, t) => {
5
5
  let n = {};
@@ -57,7 +57,7 @@ function S(e) {
57
57
  }
58
58
  var C = null;
59
59
  function w() {
60
- return C ||= import("./pusher-ue0D83de.js").then((e) => /* @__PURE__ */ _(e.default, 1)).then((e) => e.default ?? e), C;
60
+ return C ||= import("./pusher-zAMukOay.js").then((e) => /* @__PURE__ */ _(e.default, 1)).then((e) => e.default ?? e), C;
61
61
  }
62
62
  var T = o.ID, E = o.NAME, D = o.EMAIL, O = o.PAGE, k = o.COLOR, A = o.DRAWING_PATH_DATA, j = o.DRAWING_TEXT, M = o.ONLINE_USERS, N = {
63
63
  id: "unknown",
package/dist/solid.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { createMemo as o, createSignal as s, onCleanup as c, onMount as l } from "solid-js";
@@ -24,7 +24,7 @@ function u(u) {
24
24
  }
25
25
  }, K = async (e) => {
26
26
  try {
27
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
27
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
28
28
  if (w || x !== e) return;
29
29
  let n = await t(e);
30
30
  if (w || x !== e) {
package/dist/svelte.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { onDestroy as o } from "svelte";
@@ -23,7 +23,7 @@ function d(o) {
23
23
  } catch {}
24
24
  }, B = async (e) => {
25
25
  try {
26
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
26
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
27
27
  if (I || c(d) !== e) return;
28
28
  let n = await t(e);
29
29
  if (I || c(d) !== e) {
package/dist/vue.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./shared/comment-kit-core-VuIidMeu.js";
1
+ import { t as e } from "./shared/comment-kit-core-Bsyydwpk.js";
2
2
  import { n as t, r as n, t as r } from "./shared/bridge-CJoGYngu.js";
3
3
  import { n as i, t as a } from "./shared/errors-Bu5ajEmB.js";
4
4
  import { computed as o, h as s, onMounted as c, onUnmounted as l, shallowRef as u, watch as d } from "vue";
@@ -19,7 +19,7 @@ function f(s) {
19
19
  } catch {}
20
20
  }, V = async (e) => {
21
21
  try {
22
- let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dz5QLq4W.js").then((e) => e.n);
22
+ let { mountCommentKitUI: t } = await import("./shared/mount-ui-Dbqe5VsO.js").then((e) => e.n);
23
23
  if (L || _.value !== e) return;
24
24
  let n = await t(e);
25
25
  if (L || _.value !== e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commentkit/comment-kit",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
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",