ryugi-artifacts 1.48.1 → 1.48.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/cli.cjs +3 -3
- package/dist/server.cjs +1 -1
- package/dist/viewer/ArtboardLayout-z40_eGKH.js +12 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index3.css +8 -0
- package/dist/viewer-lib/core.js +1 -1
- package/dist/viewer-lib/document.js +1 -1
- package/dist/viewer-lib/index.js +957 -893
- package/dist/viewer-lib/{stylex-C87PWRry.css → stylex-CM17SXYo.css} +8 -0
- package/dist/viewer-lib/types/src/viewer/components/CommentLayer.d.ts +3 -1
- package/dist/viewer-lib/types/src/viewer/components/Labels.d.ts +3 -1
- package/dist/viewer-lib/types/src/viewer/hooks/usePanZoom.d.ts +3 -0
- package/package.json +1 -1
- package/dist/viewer/ArtboardLayout-KQmamERB.js +0 -12
|
@@ -1938,6 +1938,10 @@
|
|
|
1938
1938
|
bottom: calc(100% + 2px);
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
1941
|
+
.xqtp20y {
|
|
1942
|
+
height: 0;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1941
1945
|
.x1q3kd3q {
|
|
1942
1946
|
height: 1.2em;
|
|
1943
1947
|
}
|
|
@@ -2538,6 +2542,10 @@
|
|
|
2538
2542
|
top: calc(100% + 7px);
|
|
2539
2543
|
}
|
|
2540
2544
|
|
|
2545
|
+
.xnalus7 {
|
|
2546
|
+
width: 0;
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2541
2549
|
.xh8yej3 {
|
|
2542
2550
|
width: 100%;
|
|
2543
2551
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Ref } from 'react';
|
|
1
2
|
import type { BoardAnchor, BoardThread } from '../../shared/board-comments';
|
|
2
3
|
import type { BoardSpec } from '../../shared/types';
|
|
3
4
|
import { type ThreadActions } from '../comments/ThreadView';
|
|
@@ -13,6 +14,7 @@ interface Props {
|
|
|
13
14
|
onOpen: (id: string | null) => void;
|
|
14
15
|
onSubmit: (text: string) => Promise<boolean>;
|
|
15
16
|
openId: string | null;
|
|
17
|
+
overlayRef?: Ref<HTMLDivElement>;
|
|
16
18
|
page: string | null;
|
|
17
19
|
showResolved: boolean;
|
|
18
20
|
stale: Set<string>;
|
|
@@ -20,5 +22,5 @@ interface Props {
|
|
|
20
22
|
view: View;
|
|
21
23
|
width: number;
|
|
22
24
|
}
|
|
23
|
-
export declare function CommentLayer({ view, page, boards, width, height, threads, stale, numbers, showResolved, draft, openId, actions, agent, onOpen, onSubmit, onCancelDraft, }: Props): import("react").JSX.Element;
|
|
25
|
+
export declare function CommentLayer({ view, overlayRef, page, boards, width, height, threads, stale, numbers, showResolved, draft, openId, actions, agent, onOpen, onSubmit, onCancelDraft, }: Props): import("react").JSX.Element;
|
|
24
26
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Ref } from 'react';
|
|
1
2
|
import { type BoardSpec, type GroupSpec } from '../../shared/types';
|
|
2
3
|
import type { Verdicts } from '../hooks/useVerdicts';
|
|
3
4
|
import { type View } from '../lib/view';
|
|
@@ -11,6 +12,7 @@ interface LabelsProps {
|
|
|
11
12
|
onReplay: (id: string) => void;
|
|
12
13
|
onToggleParameters?: (id: string, trigger: HTMLButtonElement) => void;
|
|
13
14
|
onTogglePlay: (id: string) => void;
|
|
15
|
+
overlayRef?: Ref<HTMLDivElement>;
|
|
14
16
|
parameters?: Record<string, boolean>;
|
|
15
17
|
pending: ReadonlySet<string>;
|
|
16
18
|
playing: ReadonlySet<string>;
|
|
@@ -18,5 +20,5 @@ interface LabelsProps {
|
|
|
18
20
|
versions: Record<string, number>;
|
|
19
21
|
view: View;
|
|
20
22
|
}
|
|
21
|
-
export declare function Labels({ view, boards, groups, allBoards, contentBase, versions, pending, playing, onExpand, onTogglePlay, onReplay, parameters, activeParameters, onToggleParameters, verdicts, }: LabelsProps): import("react").JSX.Element;
|
|
23
|
+
export declare function Labels({ view, boards, groups, allBoards, contentBase, versions, pending, playing, onExpand, onTogglePlay, onReplay, parameters, activeParameters, onToggleParameters, verdicts, overlayRef, }: LabelsProps): import("react").JSX.Element;
|
|
22
24
|
export {};
|
|
@@ -3,6 +3,7 @@ import type { Bounds } from '../../shared/types';
|
|
|
3
3
|
import { type Insets, type View } from '../lib/view';
|
|
4
4
|
export type Tool = 'select' | 'hand' | 'comment';
|
|
5
5
|
export declare const GESTURE_SETTLE_MS = 150;
|
|
6
|
+
export declare const OVERLAY_DRIFT_PX = 160;
|
|
6
7
|
export interface WheelInput {
|
|
7
8
|
deltaX: number;
|
|
8
9
|
deltaY: number;
|
|
@@ -13,7 +14,9 @@ export interface WheelInput {
|
|
|
13
14
|
export declare function usePanZoom(tool: Tool): {
|
|
14
15
|
viewportRef: import("react").RefObject<HTMLDivElement | null>;
|
|
15
16
|
worldRef: (el: HTMLDivElement | null) => void;
|
|
17
|
+
overlayRef: (el: HTMLElement | null) => (() => void) | undefined;
|
|
16
18
|
view: View;
|
|
19
|
+
viewNow: () => View;
|
|
17
20
|
gesturing: boolean;
|
|
18
21
|
scaling: boolean;
|
|
19
22
|
size: {
|