@commentkit/comment-kit 0.6.5 → 0.6.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.
- package/CHANGELOG.md +12 -0
- package/dist/angular/comment-kit-ui-ClsgTVKj.js +24898 -0
- package/dist/angular/mount-ui-EPLnH0YJ.js +72 -0
- package/dist/{preact/shadow-root-DAhpHo_W.js → angular/shadow-root-yMOaW9pk.js} +48 -41
- package/dist/angular/styles-CMz7-p8x.js +2 -0
- package/dist/angular/{ShadowRootContext-2BrAO1qU.js → widget-theme-CYPYAwhR.js} +18 -1
- package/dist/angular.es.js +3 -3
- package/dist/comment-kit.css +2 -0
- package/dist/comment-kit.es.js +3 -3
- package/dist/core/comment-kit-ui-BTYGcSK-.js +24898 -0
- package/dist/core/mount-ui-B6jipL2Z.js +72 -0
- package/dist/core/{shadow-root-09zwHxly.js → shadow-root-DAtdjHG2.js} +48 -41
- package/dist/core/styles-ClRoB6ro.js +2 -0
- package/dist/core/{ShadowRootContext--ArKkwbH.js → widget-theme-BWDYr7VR.js} +18 -1
- package/dist/preact/comment-kit-ui-nhY36fa4.js +24898 -0
- package/dist/preact/mount-ui-Dri-RQe3.js +72 -0
- package/dist/{qwik/shadow-root-tLjXys-_.js → preact/shadow-root-D-NcwruG.js} +48 -41
- package/dist/preact/styles-D6i7be5-.js +2 -0
- package/dist/preact/{ShadowRootContext-CJWLIRy4.js → widget-theme-B7Z2pbaA.js} +18 -1
- package/dist/preact.es.js +3 -3
- package/dist/qwik/comment-kit-ui-B2oSKreb.js +24898 -0
- package/dist/qwik/mount-ui-DkvDtcft.js +72 -0
- package/dist/{angular/shadow-root-C7wgghDv.js → qwik/shadow-root-PkjcnvPe.js} +48 -41
- package/dist/qwik/styles-DmEmq5Lh.js +2 -0
- package/dist/qwik/{ShadowRootContext-CTbULRKq.js → widget-theme-lbPF3I0A.js} +18 -1
- package/dist/qwik.es.js +3 -3
- package/dist/react.es.js +18649 -11656
- package/dist/solid/comment-kit-ui-B7GeN0T8.js +24898 -0
- package/dist/solid/mount-ui-CTFITRP7.js +72 -0
- package/dist/solid/shadow-root-CssU3bQb.js +93 -0
- package/dist/solid/styles-DbueS9xx.js +2 -0
- package/dist/solid/widget-theme-B4DJ14fI.js +24 -0
- package/dist/solid.es.js +3 -3
- package/dist/svelte/comment-kit-ui-CKmdu0gr.js +24898 -0
- package/dist/svelte/mount-ui-N1vul-tl.js +72 -0
- package/dist/svelte/shadow-root-DG8inbf6.js +93 -0
- package/dist/svelte/styles-BK_MaUpD.js +2 -0
- package/dist/svelte/widget-theme-CkfJNysI.js +24 -0
- package/dist/svelte.es.js +3 -3
- package/dist/types/react/comments/outcomes.d.ts +7 -1
- package/dist/types/react/comments/view-model.d.ts +8 -1
- package/dist/types/react/components/annotation-toolbar.d.ts +36 -0
- package/dist/types/react/components/build-panel-shared-props.d.ts +25 -0
- package/dist/types/react/components/comment-actions.d.ts +1 -2
- package/dist/types/react/components/comment-body.d.ts +1 -1
- package/dist/types/react/components/comment-branch-filter.d.ts +15 -0
- package/dist/types/react/components/comment-composer-extras-fields.d.ts +4 -7
- package/dist/types/react/components/comment-composer-extras-toolbar.d.ts +3 -22
- package/dist/types/react/components/comment-composer-extras.d.ts +1 -1
- package/dist/types/react/components/comment-composer-extras.state.d.ts +24 -0
- package/dist/types/react/components/comment-composer-hook.d.ts +1 -53
- package/dist/types/react/components/comment-composer-media.d.ts +1 -14
- package/dist/types/react/components/comment-composer.d.ts +1 -1
- package/dist/types/react/components/comment-composer.types.d.ts +41 -0
- package/dist/types/react/components/comment-composer.utils.d.ts +3 -0
- package/dist/types/react/components/comment-cursor-layer.d.ts +14 -0
- package/dist/types/react/components/comment-drawing-canvas.d.ts +10 -0
- package/dist/types/react/components/comment-extension-banner.d.ts +8 -0
- package/dist/types/react/components/comment-fab-tools.d.ts +37 -0
- package/dist/types/react/components/comment-filter-assignee.d.ts +9 -0
- package/dist/types/react/components/comment-filter-bar.d.ts +27 -0
- package/dist/types/react/components/comment-filter-popover.d.ts +20 -0
- package/dist/types/react/components/comment-format-toolbar.constants.d.ts +34 -0
- package/dist/types/react/components/comment-header.d.ts +1 -8
- package/dist/types/react/components/comment-highlight-layer.d.ts +11 -0
- package/dist/types/react/components/comment-highlight-marker.d.ts +9 -0
- package/dist/types/react/components/comment-image-lightbox.d.ts +1 -9
- package/dist/types/react/components/comment-images.d.ts +2 -10
- package/dist/types/react/components/comment-item.d.ts +2 -1
- package/dist/types/react/components/comment-keyboard-shortcuts.d.ts +7 -0
- package/dist/types/react/components/comment-kit-overlays.d.ts +15 -0
- package/dist/types/react/components/comment-kit.d.ts +12 -0
- package/dist/types/react/components/comment-list-filters.d.ts +14 -0
- package/dist/types/react/components/comment-marker-layer.d.ts +2 -1
- package/dist/types/react/components/comment-marker.d.ts +2 -1
- package/dist/types/react/components/comment-member-list.d.ts +10 -0
- package/dist/types/react/components/comment-mode-bar.d.ts +15 -0
- package/dist/types/react/components/comment-online-users.d.ts +8 -0
- package/dist/types/react/components/comment-panel-header.d.ts +22 -0
- package/dist/types/react/components/comment-panel-mobile.d.ts +9 -0
- package/dist/types/react/components/comment-panel-utils.d.ts +6 -0
- package/dist/types/react/components/comment-panel-view-body.d.ts +23 -0
- package/dist/types/react/components/comment-panel.d.ts +22 -2
- package/dist/types/react/components/comment-remote-cursor.d.ts +11 -0
- package/dist/types/react/components/comment-screenshot-annotator.d.ts +11 -0
- package/dist/types/react/components/comment-screenshot-overlay.d.ts +10 -0
- package/dist/types/react/components/comment-search-bar.d.ts +7 -0
- package/dist/types/react/components/comment-settings-view.d.ts +20 -0
- package/dist/types/react/components/comment-skeletons.d.ts +9 -0
- package/dist/types/react/components/comment-thread-detail-meta.d.ts +2 -1
- package/dist/types/react/components/comment-thread-detail.d.ts +4 -1
- package/dist/types/react/components/comment-thread-list-item.d.ts +2 -1
- package/dist/types/react/components/comment-thread-list.d.ts +9 -1
- package/dist/types/react/components/comment-users-context.d.ts +15 -0
- package/dist/types/react/components/comment-utils.d.ts +20 -0
- package/dist/types/react/components/comment.d.ts +26 -0
- package/dist/types/react/components/constants.d.ts +50 -0
- package/dist/types/react/components/drawing-path-renderer.d.ts +10 -0
- package/dist/types/react/components/ui.d.ts +44 -0
- package/dist/types/react/components/use-comment-composer.d.ts +28 -0
- package/dist/types/react/hooks/use-comment-fab-drag.d.ts +21 -0
- package/dist/types/react/hooks/use-comment-hash-link.d.ts +20 -0
- package/dist/types/react/hooks/use-comment-kit-filters.d.ts +19 -0
- package/dist/types/react/hooks/use-comment-kit-keyboard.d.ts +11 -0
- package/dist/types/react/hooks/use-comment-kit-prop-sync.d.ts +12 -0
- package/dist/types/react/hooks/use-comment-marker-drag.d.ts +23 -0
- package/dist/types/react/hooks/use-comment-panel-navigation.d.ts +21 -0
- package/dist/types/react/hooks/use-comment-realtime.d.ts +6 -0
- package/dist/types/react/hooks/use-comment-thread-actions.d.ts +15 -0
- package/dist/types/react/hooks/use-connection-retry.d.ts +9 -0
- package/dist/types/react/hooks/use-drawing.d.ts +32 -0
- package/dist/types/react/hooks/use-extension-conflicts.d.ts +13 -0
- package/dist/types/react/hooks/use-filtered-threads.d.ts +7 -0
- package/dist/types/react/hooks/use-marker-layer.d.ts +19 -0
- package/dist/types/react/hooks/use-screenshot.d.ts +18 -0
- package/dist/types/react/hooks/use-text-selection.d.ts +17 -0
- package/dist/types/react/hooks/use-websocket.d.ts +9 -0
- package/dist/types/react/ui/lib/widget-theme.d.ts +7 -0
- package/dist/types/react/ui/primitives/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/types/react/ui/primitives/breadcrumb/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/button-group/button-group.d.ts +9 -0
- package/dist/types/react/ui/primitives/button-group/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/input-otp/index.d.ts +1 -0
- package/dist/types/react/ui/primitives/input-otp/input-otp.d.ts +11 -0
- package/dist/vue/comment-kit-ui-MfED5JLH.js +24898 -0
- package/dist/vue/mount-ui-C85XBX4V.js +72 -0
- package/dist/vue/shadow-root-zwd_wUIP.js +93 -0
- package/dist/vue/styles-B0NAkbKu.js +2 -0
- package/dist/vue/widget-theme-D7Vkagk7.js +24 -0
- package/dist/vue.es.js +3 -3
- package/package.json +2 -1
- package/dist/angular/comment-kit-ui-D8YIOzCe.js +0 -17929
- package/dist/angular/mount-ui-hhCRg_hE.js +0 -55
- package/dist/angular/styles-CmEq782M.js +0 -2
- package/dist/core/comment-kit-ui-CYYImlEM.js +0 -17929
- package/dist/core/mount-ui-_GMxCfLy.js +0 -55
- package/dist/core/styles-Dzn_nEz7.js +0 -2
- package/dist/preact/comment-kit-ui-fCVNh5Gq.js +0 -17929
- package/dist/preact/mount-ui-HWdd5qAJ.js +0 -55
- package/dist/preact/styles-ECCK6Z_C.js +0 -2
- package/dist/qwik/comment-kit-ui-BVoctltC.js +0 -17929
- package/dist/qwik/mount-ui-KC4IJqjG.js +0 -55
- package/dist/qwik/styles-CMcDFAyE.js +0 -2
- package/dist/solid/ShadowRootContext-BS6MCclL.js +0 -7
- package/dist/solid/comment-kit-ui-CnlHcwzZ.js +0 -17929
- package/dist/solid/mount-ui-C1voqvrE.js +0 -55
- package/dist/solid/shadow-root-D5nErAFI.js +0 -86
- package/dist/solid/styles-Be_8-1ZV.js +0 -2
- package/dist/svelte/ShadowRootContext-DhByMr-q.js +0 -7
- package/dist/svelte/comment-kit-ui-BFWous-b.js +0 -17929
- package/dist/svelte/mount-ui-dOE2KN0m.js +0 -55
- package/dist/svelte/shadow-root-Cz-v-rYe.js +0 -86
- package/dist/svelte/styles-B863Tn5m.js +0 -2
- package/dist/vue/ShadowRootContext-BQTcHNil.js +0 -7
- package/dist/vue/comment-kit-ui-oPTLTwxG.js +0 -17929
- package/dist/vue/mount-ui-CszzjVeF.js +0 -55
- package/dist/vue/shadow-root-SLTVf5yk.js +0 -86
- package/dist/vue/styles-C4t8gcea.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.ck-remote-cursor{pointer-events:none;inset-inline-start:var(--ck-x);top:var(--ck-y);z-index:var(--z-ck-cursor);transition:inset-inline-start 75ms ease-out,top 75ms ease-out;position:fixed}.ck-remote-cursor-arrow{filter:drop-shadow(0 1px 1px color-mix(in srgb, var(--foreground) 20%, transparent));display:block;transform:translate(-.5px,-.5px)}.ck-remote-cursor-label{margin-inline-start:.75rem;background:var(--ck-bg);white-space:nowrap;color:var(--primary-foreground);box-shadow:var(--shadow-sm);border-radius:1.5rem;align-items:center;gap:.25rem;margin-top:-.125rem;padding:.25rem .625rem;font-size:.625rem;font-weight:500;line-height:1;display:inline-flex}.ck-remote-cursor-avatar{width:.75rem;height:.75rem;font-size:.5rem}.ck-screenshot-annotator{z-index:var(--z-ck-overlay);background:color-mix(in srgb, var(--foreground) 60%, transparent);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:auto;flex-direction:column;display:flex;position:fixed;inset:0}.ck-screenshot-annotator-toolbar{justify-content:center;padding:.75rem;display:flex}.ck-screenshot-annotator-stage{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1rem;min-height:0;padding:1rem;display:flex}@media (width>=1024px){.ck-screenshot-annotator-stage{flex-direction:row}}.ck-screenshot-annotator-canvas{width:var(--ck-w);height:var(--ck-h);cursor:none;background:var(--card);box-shadow:var(--shadow-xl);border-radius:.5rem;position:relative;overflow:hidden}.ck-screenshot-annotator-image,.ck-screenshot-annotator-strokes{width:100%;height:100%;position:absolute;inset:0}.ck-screenshot-annotator-image{object-fit:contain;-webkit-user-select:none;user-select:none}.ck-screenshot-annotator-strokes{pointer-events:none}.ck-screenshot-annotator-composer{flex-shrink:0;width:min(100%,380px)}.ck-screenshot-overlay{z-index:var(--z-ck-overlay);cursor:none;background:color-mix(in srgb, var(--foreground) 20%, transparent);pointer-events:auto;outline:none;position:fixed;inset:0}.ck-screenshot-selection{pointer-events:none;inset-inline-start:var(--ck-x);top:var(--ck-y);width:var(--ck-w);height:var(--ck-h);border:2px solid var(--primary);background:color-mix(in srgb, var(--primary) 10%, transparent);position:fixed}.ck-screenshot-overlay-bar{inset-inline-start:50%;z-index:10;background:var(--card);color:var(--foreground);box-shadow:var(--shadow-lg);border-radius:.5rem;align-items:center;gap:.75rem;padding:.5rem 1rem;font-size:.875rem;display:flex;position:fixed;bottom:1.5rem;transform:translate(-50%)}.ck-screenshot-overlay-status{align-items:center;gap:.5rem;display:inline-flex}
|
|
2
|
+
/*$vite$:1*/
|
package/dist/comment-kit.es.js
CHANGED
|
@@ -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.
|
|
2542
|
+
]), xi = 256, Q = "0.6.7";
|
|
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.
|
|
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", {
|
|
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-
|
|
3188
|
+
let { mountCommentKitUI: t } = await import("./core/mount-ui-B6jipL2Z.js");
|
|
3189
3189
|
if (this.destroyed) return;
|
|
3190
3190
|
let n = await t(e);
|
|
3191
3191
|
if (this.destroyed) {
|