@commentkit/comment-kit 0.7.5 → 0.7.7

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 (40) hide show
  1. package/CHANGELOG.md +20 -1
  2. package/README.md +2 -2
  3. package/dist/angular.es.js +2 -2
  4. package/dist/comment-kit.es.js +3 -3
  5. package/dist/demo.es.js +2 -2
  6. package/dist/headless.es.js +2 -2
  7. package/dist/preact.es.js +2 -2
  8. package/dist/qwik.qwik.mjs +2 -2
  9. package/dist/react.es.js +2 -2
  10. package/dist/shared/{annotation-toolbar-DgqxkHy8.js → annotation-toolbar-zeiCmKIr.js} +110 -109
  11. package/dist/shared/{attachment-refresh-DRX7dKDI.js → attachment-refresh-DAacLaRu.js} +1 -1
  12. package/dist/shared/{capture-privacy-DUROnio5.js → capture-privacy-CiOrcAlt.js} +38 -14
  13. package/dist/shared/{comment-drawing-canvas-hSdcLShI.js → comment-drawing-canvas-Btc12IsS.js} +2 -2
  14. package/dist/shared/{comment-image-lightbox-4zroOCCG.js → comment-image-lightbox--QpbcAtH.js} +2 -2
  15. package/dist/shared/{comment-images-content-D4hTya6e.js → comment-images-content-C_r4SHM-.js} +13 -13
  16. package/dist/shared/{comment-kit-core-D068rcdY.js → comment-kit-core-CmLUFujd.js} +382 -348
  17. package/dist/shared/{comment-kit-ui-BDzNt0jv.js → comment-kit-ui-BHwYuSIi.js} +5255 -5487
  18. package/dist/shared/{comment-screenshot-annotator-BGnu_NgP.js → comment-screenshot-annotator-zJZyO-XM.js} +2 -2
  19. package/dist/shared/{comment-screenshot-overlay-BCRmojWB.js → comment-screenshot-overlay-CoKTYB0J.js} +6 -6
  20. package/dist/shared/{dev-export-panel-CYmUKmIV.js → dev-export-panel-Cnt6oCZU.js} +4 -4
  21. package/dist/shared/{dev-grab-BYsCpsGI.js → dev-grab-B85jo9AS.js} +3 -3
  22. package/dist/shared/{element-selector-79Oo5pit.js → element-selector-Cng84xC7.js} +349 -347
  23. package/dist/shared/input-UPtAj0M6.js +111 -0
  24. package/dist/shared/{mount-ui-DuHk132g.js → mount-ui-Dz7FB_Ak.js} +4 -4
  25. package/dist/shared/{pusher-3jyUauYd.js → pusher-CnhQgAvF.js} +1 -1
  26. package/dist/shared/{realtime-DspH16g5.js → realtime-yGLX4wMK.js} +2 -2
  27. package/dist/shared/{screenshot-BIuEaRiu.js → screenshot-B5-hwpmt.js} +2 -2
  28. package/dist/shared/{shadow-root-3-yGIhMs.js → shadow-root-B58ZI2yz.js} +1 -1
  29. package/dist/shared/{token-session-_Pi4fOEi.js → token-session-D92MYbNu.js} +2 -2
  30. package/dist/shared/useLabelableId-8n0QmH8N.js +154 -0
  31. package/dist/shared/{websocket-manager-CvgZSo_L.js → websocket-manager-KhH4hL0Q.js} +2 -2
  32. package/dist/solid.es.js +2 -2
  33. package/dist/svelte.es.js +2 -2
  34. package/dist/types/core/api-client.d.ts +2 -0
  35. package/dist/types/core/comment-kit-core.d.ts +4 -2
  36. package/dist/types/core/types.d.ts +12 -5
  37. package/dist/types/core/write-access.d.ts +2 -0
  38. package/dist/vue.es.js +2 -2
  39. package/docs/api-reference.md +1 -1
  40. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { n as e, r as t, t as n } from "./annotation-toolbar-DgqxkHy8.js";
2
- import { N as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BDzNt0jv.js";
1
+ import { n as e, r as t, t as n } from "./annotation-toolbar-zeiCmKIr.js";
2
+ import { T as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BHwYuSIi.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-D068rcdY.js";
2
- import { t } from "./capture-privacy-DUROnio5.js";
1
+ import { u as e } from "./comment-kit-core-CmLUFujd.js";
2
+ import { t } from "./capture-privacy-CiOrcAlt.js";
3
3
  import { t as n } from "./button-D4GHW6oZ.js";
4
- import { g as r, j as i, v as a } from "./comment-kit-ui-BDzNt0jv.js";
4
+ import { C as r, g as i, v as a } from "./comment-kit-ui-BHwYuSIi.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";
@@ -88,7 +88,7 @@ function b(e) {
88
88
  }, [])
89
89
  };
90
90
  }
91
- var x = () => import("./comment-screenshot-annotator-BGnu_NgP.js");
91
+ var x = () => import("./comment-screenshot-annotator-zJZyO-XM.js");
92
92
  function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
93
93
  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 : {
94
94
  x: Math.min(S.x, w.x),
@@ -135,7 +135,7 @@ function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
135
135
  e() || t.key === "Escape" && !t.defaultPrevented && (t.preventDefault(), N());
136
136
  };
137
137
  return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
138
- }, [f, N]), f ? /* @__PURE__ */ m(i, {
138
+ }, [f, N]), f ? /* @__PURE__ */ m(r, {
139
139
  load: x,
140
140
  label: "screenshot editor",
141
141
  onCancel: N,
@@ -192,7 +192,7 @@ function S({ capturePage: t, availableUsers: l = [], onSave: u, onCancel: d }) {
192
192
  className: "ck-screenshot-overlay-error",
193
193
  children: g
194
194
  }) : null,
195
- /* @__PURE__ */ m(r, { mode: "screenshot" })
195
+ /* @__PURE__ */ m(i, { mode: "screenshot" })
196
196
  ]
197
197
  });
198
198
  }
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./button-D4GHW6oZ.js";
2
2
  import { i as t, o as n, r, t as i } from "./separator-UhJb0Row.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-BDzNt0jv.js";
4
+ import { F as o, N as s, P as c, S as l, u } from "./comment-kit-ui-BHwYuSIi.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", {
@@ -61,7 +61,7 @@ var y = 2500, b = ({ core: a, state: f }) => {
61
61
  /* @__PURE__ */ m("div", {
62
62
  className: "ck-dev-export-toolbar",
63
63
  children: [
64
- /* @__PURE__ */ p(o, {
64
+ /* @__PURE__ */ p(l, {
65
65
  checked: A,
66
66
  indeterminate: j,
67
67
  onCheckedChange: () => {
@@ -144,7 +144,7 @@ var y = 2500, b = ({ core: a, state: f }) => {
144
144
  }),
145
145
  /* @__PURE__ */ p(u, {
146
146
  className: "ck-dev-export-scroll",
147
- children: O.length === 0 ? /* @__PURE__ */ p(l, {
147
+ children: O.length === 0 ? /* @__PURE__ */ p(o, {
148
148
  className: "ck-dev-export-empty",
149
149
  children: "No open stakeholder comments on this project. Comments left in production or staging will show up here for bulk export."
150
150
  }) : /* @__PURE__ */ p("ul", {
@@ -154,7 +154,7 @@ var y = 2500, b = ({ core: a, state: f }) => {
154
154
  return /* @__PURE__ */ m("li", {
155
155
  className: "ck-dev-export-row",
156
156
  "data-checked": t,
157
- children: [/* @__PURE__ */ p(o, {
157
+ children: [/* @__PURE__ */ p(l, {
158
158
  checked: t,
159
159
  onCheckedChange: () => N(e.id),
160
160
  "aria-label": `Select ${e.title}`
@@ -1,8 +1,8 @@
1
- import { f as e, g as t, p as n } from "./comment-kit-core-D068rcdY.js";
1
+ import { f as e, g as t, p as n } from "./comment-kit-core-CmLUFujd.js";
2
2
  import { a as r, i, o as a } from "./dom-Bhf4WFtY.js";
3
- import { n as o, t as s } from "./capture-privacy-DUROnio5.js";
3
+ import { n as o, t as s } from "./capture-privacy-CiOrcAlt.js";
4
4
  import { a as c, n as l, t as u } from "./text-B4HHZNaa.js";
5
- import { captureScreenshot as d } from "./screenshot-BIuEaRiu.js";
5
+ import { captureScreenshot as d } from "./screenshot-B5-hwpmt.js";
6
6
  var f = 4e3, p = 500, m = 2e3, h = 1e3, g = 5, _ = 25, v = 3145728;
7
7
  function y() {
8
8
  let { url: e, path: t, title: n } = a();