@commentkit/comment-kit 0.7.5 → 0.7.6
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 +14 -1
- package/README.md +1 -1
- package/dist/angular.es.js +2 -2
- package/dist/comment-kit.es.js +3 -3
- package/dist/demo.es.js +2 -2
- package/dist/headless.es.js +2 -2
- package/dist/preact.es.js +2 -2
- package/dist/qwik.qwik.mjs +2 -2
- package/dist/react.es.js +2 -2
- package/dist/shared/{annotation-toolbar-DgqxkHy8.js → annotation-toolbar-RSrb0Nku.js} +110 -109
- package/dist/shared/{attachment-refresh-DRX7dKDI.js → attachment-refresh-CSTYwRW-.js} +1 -1
- package/dist/shared/{comment-drawing-canvas-hSdcLShI.js → comment-drawing-canvas-DbuXP54N.js} +2 -2
- package/dist/shared/{comment-image-lightbox-4zroOCCG.js → comment-image-lightbox-zlIGEVA-.js} +2 -2
- package/dist/shared/{comment-images-content-D4hTya6e.js → comment-images-content-aYbJb79_.js} +13 -13
- package/dist/shared/{comment-kit-core-D068rcdY.js → comment-kit-core-B0k7XsMz.js} +378 -346
- package/dist/shared/{comment-kit-ui-BDzNt0jv.js → comment-kit-ui-BXLJcZYQ.js} +5255 -5487
- package/dist/shared/{comment-screenshot-annotator-BGnu_NgP.js → comment-screenshot-annotator-ChWwYJzO.js} +2 -2
- package/dist/shared/{comment-screenshot-overlay-BCRmojWB.js → comment-screenshot-overlay-Bufg3rHz.js} +5 -5
- package/dist/shared/{dev-export-panel-CYmUKmIV.js → dev-export-panel-DAZenvgD.js} +4 -4
- package/dist/shared/{dev-grab-BYsCpsGI.js → dev-grab-O8q25zar.js} +2 -2
- package/dist/shared/{element-selector-79Oo5pit.js → element-selector-CYkwzfEr.js} +349 -347
- package/dist/shared/input-UPtAj0M6.js +111 -0
- package/dist/shared/{mount-ui-DuHk132g.js → mount-ui-BKaWBhKq.js} +4 -4
- package/dist/shared/{pusher-3jyUauYd.js → pusher-BUaiCkDJ.js} +1 -1
- package/dist/shared/{realtime-DspH16g5.js → realtime-C0Z8dXXH.js} +2 -2
- package/dist/shared/{screenshot-BIuEaRiu.js → screenshot-B-ZfFItT.js} +1 -1
- package/dist/shared/{shadow-root-3-yGIhMs.js → shadow-root-Cd3SLHyj.js} +1 -1
- package/dist/shared/{token-session-_Pi4fOEi.js → token-session-DplW5QDx.js} +2 -2
- package/dist/shared/useLabelableId-8n0QmH8N.js +154 -0
- package/dist/shared/{websocket-manager-CvgZSo_L.js → websocket-manager-798cRDyL.js} +2 -2
- package/dist/solid.es.js +2 -2
- package/dist/svelte.es.js +2 -2
- package/dist/types/core/api-client.d.ts +2 -0
- package/dist/types/core/comment-kit-core.d.ts +4 -2
- package/dist/types/core/types.d.ts +12 -5
- package/dist/types/core/write-access.d.ts +2 -0
- package/dist/vue.es.js +2 -2
- package/docs/api-reference.md +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./annotation-toolbar-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, r as t, t as n } from "./annotation-toolbar-RSrb0Nku.js";
|
|
2
|
+
import { T as r, _ as i, a, g as o, i as s } from "./comment-kit-ui-BXLJcZYQ.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-
|
|
1
|
+
import { u as e } from "./comment-kit-core-B0k7XsMz.js";
|
|
2
2
|
import { t } from "./capture-privacy-DUROnio5.js";
|
|
3
3
|
import { t as n } from "./button-D4GHW6oZ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { C as r, g as i, v as a } from "./comment-kit-ui-BXLJcZYQ.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-
|
|
91
|
+
var x = () => import("./comment-screenshot-annotator-ChWwYJzO.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(
|
|
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(
|
|
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 {
|
|
4
|
+
import { F as o, N as s, P as c, S as l, u } from "./comment-kit-ui-BXLJcZYQ.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(
|
|
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(
|
|
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(
|
|
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-
|
|
1
|
+
import { f as e, g as t, p as n } from "./comment-kit-core-B0k7XsMz.js";
|
|
2
2
|
import { a as r, i, o as a } from "./dom-Bhf4WFtY.js";
|
|
3
3
|
import { n as o, t as s } from "./capture-privacy-DUROnio5.js";
|
|
4
4
|
import { a as c, n as l, t as u } from "./text-B4HHZNaa.js";
|
|
5
|
-
import { captureScreenshot as d } from "./screenshot-
|
|
5
|
+
import { captureScreenshot as d } from "./screenshot-B-ZfFItT.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();
|