@blocksdiy/react-common 1.71.0 → 1.71.2
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/dist/comments/anchor.d.ts +23 -1
- package/dist/comments/anchor.d.ts.map +1 -1
- package/dist/comments/anchor.js +74 -7
- package/dist/comments/comment-mode.d.ts +22 -4
- package/dist/comments/comment-mode.d.ts.map +1 -1
- package/dist/comments/comment-mode.js +22 -5
- package/dist/comments/index.d.ts +9 -3
- package/dist/comments/index.d.ts.map +1 -1
- package/dist/comments/index.js +9 -3
- package/dist/comments/menu.d.ts +33 -0
- package/dist/comments/menu.d.ts.map +1 -0
- package/dist/comments/menu.js +47 -0
- package/dist/comments/open-comment.d.ts +28 -0
- package/dist/comments/open-comment.d.ts.map +1 -0
- package/dist/comments/open-comment.js +9 -0
- package/dist/comments/page-pick.d.ts.map +1 -1
- package/dist/comments/page-pick.js +23 -7
- package/dist/comments/pin-view.d.ts +107 -0
- package/dist/comments/pin-view.d.ts.map +1 -0
- package/dist/comments/pin-view.js +248 -0
- package/dist/comments/pins.d.ts +66 -12
- package/dist/comments/pins.d.ts.map +1 -1
- package/dist/comments/pins.js +132 -39
- package/dist/comments/text-pick.d.ts +11 -1
- package/dist/comments/text-pick.d.ts.map +1 -1
- package/dist/comments/text-pick.js +143 -1
- package/dist/comments/types.d.ts +4 -1
- package/dist/comments/types.d.ts.map +1 -1
- package/dist/comments/use-comment-menu.d.ts +69 -0
- package/dist/comments/use-comment-menu.d.ts.map +1 -0
- package/dist/comments/use-comment-menu.js +140 -0
- package/dist/comments/use-held.d.ts +3 -0
- package/dist/comments/use-held.d.ts.map +1 -0
- package/dist/comments/use-held.js +16 -0
- package/dist/comments/use-thread-scroll.d.ts +23 -0
- package/dist/comments/use-thread-scroll.d.ts.map +1 -0
- package/dist/comments/use-thread-scroll.js +89 -0
- package/dist/iframe-communication/types.d.ts +3 -2
- package/dist/iframe-communication/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-held.d.ts","sourceRoot":"","sources":["../../src/comments/use-held.ts"],"names":[],"mappings":"AAEA,kGAAkG;AAClG,eAAO,MAAM,OAAO,GAAI,MAAM,OAAO,EAAE,IAAI,MAAM,EAAE,KAAK,OAAO,KAAG,OAajE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/** True once `isOn` has held for `ms` under the same `key`; false again the moment it doesn't. */
|
|
3
|
+
export const useHeld = (isOn, ms, key) => {
|
|
4
|
+
const [heldKey, setHeldKey] = React.useState(null);
|
|
5
|
+
React.useEffect(() => {
|
|
6
|
+
if (!isOn) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const timer = window.setTimeout(() => setHeldKey(key), ms);
|
|
10
|
+
return () => {
|
|
11
|
+
window.clearTimeout(timer);
|
|
12
|
+
setHeldKey(null);
|
|
13
|
+
};
|
|
14
|
+
}, [isOn, ms, key]);
|
|
15
|
+
return isOn && heldKey === key;
|
|
16
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The comments' scroll area. It opens at the newest; when comments come in or change (a new
|
|
4
|
+
* reply, an agent's progress line, its answer) it scrolls down to them — smoothly, at once under
|
|
5
|
+
* reduced motion — if the reader was at or near the bottom, and leaves them where they are if they
|
|
6
|
+
* scrolled up to read. Sending a comment of one's own always goes down to it. `overflow` says
|
|
7
|
+
* which edges have more to scroll, for the fades.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useThreadScroll({ contentKey, newestId, isNewestMine, }: {
|
|
10
|
+
/** Changes whenever what the comments show changes: their ids, bodies and states. */
|
|
11
|
+
contentKey: string;
|
|
12
|
+
newestId: number | undefined;
|
|
13
|
+
isNewestMine: boolean;
|
|
14
|
+
}): {
|
|
15
|
+
scrollRef: React.RefObject<HTMLDivElement | null>;
|
|
16
|
+
contentRef: React.RefObject<HTMLDivElement | null>;
|
|
17
|
+
overflow: {
|
|
18
|
+
top: boolean;
|
|
19
|
+
bottom: boolean;
|
|
20
|
+
};
|
|
21
|
+
onScroll: () => void;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=use-thread-scroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-thread-scroll.d.ts","sourceRoot":"","sources":["../../src/comments/use-thread-scroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,QAAQ,EACR,YAAY,GACb,EAAE;IACD,qFAAqF;IACrF,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;CACvB;;;;;;;;EAiFA"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/** How near the bottom (px) counts as reading the newest: the thread follows new comments then. */
|
|
3
|
+
const STICK_TO_BOTTOM_PX = 48;
|
|
4
|
+
const prefersReducedMotion = () => typeof window !== "undefined" && !!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
|
|
5
|
+
/**
|
|
6
|
+
* The comments' scroll area. It opens at the newest; when comments come in or change (a new
|
|
7
|
+
* reply, an agent's progress line, its answer) it scrolls down to them — smoothly, at once under
|
|
8
|
+
* reduced motion — if the reader was at or near the bottom, and leaves them where they are if they
|
|
9
|
+
* scrolled up to read. Sending a comment of one's own always goes down to it. `overflow` says
|
|
10
|
+
* which edges have more to scroll, for the fades.
|
|
11
|
+
*/
|
|
12
|
+
export function useThreadScroll({ contentKey, newestId, isNewestMine, }) {
|
|
13
|
+
const scrollRef = React.useRef(null);
|
|
14
|
+
const contentRef = React.useRef(null);
|
|
15
|
+
// Whether the reader is at the bottom, kept as they scroll — before the content changes, when
|
|
16
|
+
// the distance would already count the new comment. Only scrolling up lets go of it, so the
|
|
17
|
+
// area's own smooth scroll down never does.
|
|
18
|
+
const isStuckRef = React.useRef(true);
|
|
19
|
+
const lastTopRef = React.useRef(0);
|
|
20
|
+
const lastHeightRef = React.useRef(0);
|
|
21
|
+
const newestIdRef = React.useRef(newestId);
|
|
22
|
+
const hasOpenedRef = React.useRef(false);
|
|
23
|
+
const [overflow, setOverflow] = React.useState({ top: false, bottom: false });
|
|
24
|
+
const measure = React.useCallback(() => {
|
|
25
|
+
const element = scrollRef.current;
|
|
26
|
+
if (!element) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const top = element.scrollTop > 1;
|
|
30
|
+
const bottom = element.scrollHeight - element.scrollTop - element.clientHeight > 1;
|
|
31
|
+
setOverflow((current) => (current.top === top && current.bottom === bottom ? current : { top, bottom }));
|
|
32
|
+
}, []);
|
|
33
|
+
const onScroll = React.useCallback(() => {
|
|
34
|
+
const element = scrollRef.current;
|
|
35
|
+
if (!element) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const distance = element.scrollHeight - element.scrollTop - element.clientHeight;
|
|
39
|
+
if (distance <= STICK_TO_BOTTOM_PX) {
|
|
40
|
+
isStuckRef.current = true;
|
|
41
|
+
}
|
|
42
|
+
else if (element.scrollTop < lastTopRef.current) {
|
|
43
|
+
isStuckRef.current = false;
|
|
44
|
+
}
|
|
45
|
+
lastTopRef.current = element.scrollTop;
|
|
46
|
+
measure();
|
|
47
|
+
}, [measure]);
|
|
48
|
+
React.useLayoutEffect(() => {
|
|
49
|
+
const element = scrollRef.current;
|
|
50
|
+
if (!element || !contentKey) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (newestId !== newestIdRef.current && isNewestMine) {
|
|
54
|
+
isStuckRef.current = true;
|
|
55
|
+
}
|
|
56
|
+
newestIdRef.current = newestId;
|
|
57
|
+
if (isStuckRef.current) {
|
|
58
|
+
const isOpening = !hasOpenedRef.current;
|
|
59
|
+
element.scrollTo({
|
|
60
|
+
top: element.scrollHeight,
|
|
61
|
+
behavior: isOpening || prefersReducedMotion() ? "auto" : "smooth",
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
hasOpenedRef.current = true;
|
|
65
|
+
measure();
|
|
66
|
+
}, [contentKey, newestId, isNewestMine, measure]);
|
|
67
|
+
// The area resizing (the panel, the composer growing a line) keeps a reader at the bottom there,
|
|
68
|
+
// and the fades follow the area and its content.
|
|
69
|
+
React.useEffect(() => {
|
|
70
|
+
const element = scrollRef.current;
|
|
71
|
+
if (!element || typeof ResizeObserver === "undefined") {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
lastHeightRef.current = element.clientHeight;
|
|
75
|
+
const observer = new ResizeObserver(() => {
|
|
76
|
+
if (element.clientHeight !== lastHeightRef.current && isStuckRef.current) {
|
|
77
|
+
element.scrollTop = element.scrollHeight;
|
|
78
|
+
}
|
|
79
|
+
lastHeightRef.current = element.clientHeight;
|
|
80
|
+
measure();
|
|
81
|
+
});
|
|
82
|
+
observer.observe(element);
|
|
83
|
+
if (contentRef.current) {
|
|
84
|
+
observer.observe(contentRef.current);
|
|
85
|
+
}
|
|
86
|
+
return () => observer.disconnect();
|
|
87
|
+
}, [measure]);
|
|
88
|
+
return { scrollRef, contentRef, overflow, onScroll };
|
|
89
|
+
}
|
|
@@ -147,8 +147,9 @@ export interface IframeApi extends Methods {
|
|
|
147
147
|
*/
|
|
148
148
|
onChangeIsCommentMode: (isCommentMode: boolean) => Promise<boolean>;
|
|
149
149
|
/**
|
|
150
|
-
* What the app's comments show: resolved and outdated pins,
|
|
151
|
-
* mention
|
|
150
|
+
* What the app's comments show: resolved and outdated pins, which agents this person may
|
|
151
|
+
* mention, and whether comments are offered here at all (`isOffered`). An app-render from before
|
|
152
|
+
* it answers METHOD_NOT_FOUND; the app shows its defaults.
|
|
152
153
|
*/
|
|
153
154
|
onChangeCommentOptions: (options: CommentOptions) => Promise<void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,CAAC,YAAY,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,eAAe,EAAE,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,mBAAmB,EAAE,CAAC,cAAc,EAAE,aAAa,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,gGAAgG;IAChG,sBAAsB,EAAE,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChF;;;;OAIG;IACH,wBAAwB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACjE;;;;OAIG;IACH,qBAAqB,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACpE;;;;OAIG;IACH,sBAAsB,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACpE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocksdiy/react-common",
|
|
3
|
-
"version": "1.71.
|
|
3
|
+
"version": "1.71.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React common",
|
|
6
6
|
"keywords": [],
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ag-ui/client": "0.0.59",
|
|
37
|
-
"@blocksdiy/blocks-client-api": "1.32.
|
|
37
|
+
"@blocksdiy/blocks-client-api": "1.32.1",
|
|
38
38
|
"@copilotkit/react-core": "1.70.2",
|
|
39
39
|
"@radix-ui/react-slot": "^1.2.3",
|
|
40
40
|
"@vapi-ai/web": "^2.5.2",
|