@aivex/ui 1.2.0-dev.41 → 1.2.0-dev.43
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/comment.cjs +3 -2
- package/dist/comment.cjs.map +1 -1
- package/dist/comment.js +61 -30
- package/dist/comment.js.map +1 -1
- package/dist/components/Comment/mentionContent.d.ts +5 -0
- package/dist/components/Comment/mentionContent.test.d.ts +1 -0
- package/dist/components/DataGrid/DataGrid.d.ts +8 -3
- package/dist/components/DataGrid/DataGridPrimitives.d.ts +10 -2
- package/dist/components/DataGrid/index.d.ts +1 -1
- package/dist/components/ShapeEditor/_components/SelectionInfo.d.ts +7 -2
- package/dist/components/ShapeEditor/_state/useMinimapSync.d.ts +3 -1
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1056 -1052
- package/dist/index.js.map +1 -1
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.cjs.map +1 -1
- package/dist/shape-editor.js +680 -652
- package/dist/shape-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import type { EditorDocument } from "./useEditorDocument";
|
|
|
6
6
|
* 뷰포트 → 미니맵 사각형·줌 % 라벨·캔버스 위 DOM 오버레이(transform) 동기화와
|
|
7
7
|
* 미니맵 SVG 도형의 명령형 갱신(드래그/변형 미리보기). 전부 리렌더 0 경로.
|
|
8
8
|
*/
|
|
9
|
-
export declare function useMinimapSync<TMeta>({ engineRef, docRef, overlayRef, zoomLabelRef, minimapRectRef, minimapSize, onViewportChangeRef, }: {
|
|
9
|
+
export declare function useMinimapSync<TMeta>({ engineRef, docRef, overlayRef, zoomLabelRef, minimapRectRef, minimapSize, onViewportChangeRef, onScreenOverlaySyncRef, }: {
|
|
10
10
|
engineRef: RefObject<EditorRenderer | null>;
|
|
11
11
|
docRef: RefObject<EditorDocument<TMeta>>;
|
|
12
12
|
overlayRef: RefObject<HTMLDivElement | null>;
|
|
@@ -14,6 +14,8 @@ export declare function useMinimapSync<TMeta>({ engineRef, docRef, overlayRef, z
|
|
|
14
14
|
minimapRectRef: RefObject<HTMLDivElement | null>;
|
|
15
15
|
minimapSize: number;
|
|
16
16
|
onViewportChangeRef: RefObject<((viewport: Viewport) => void) | undefined>;
|
|
17
|
+
/** 배율 없는 화면 좌표 레이어(선택 정보 배지 등)를 새 뷰포트로 다시 배치한다. */
|
|
18
|
+
onScreenOverlaySyncRef: RefObject<((viewport: Viewport) => void) | null>;
|
|
17
19
|
}): {
|
|
18
20
|
registerMinimapShape: (id: string, el: SVGElement | null) => void;
|
|
19
21
|
applyMinimapPreview: (updates: {
|
|
@@ -5,22 +5,27 @@ export interface TableProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
tableClassName?: string;
|
|
6
6
|
ref?: Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
8
9
|
declare function Table({ className, tableClassName, size, children, ref, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export interface TableHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
10
11
|
ref?: Ref<HTMLTableSectionElement>;
|
|
11
12
|
}
|
|
13
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
12
14
|
declare function TableHeader({ className, children, ref, ...props }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
export interface TableFooterProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
14
16
|
ref?: Ref<HTMLTableSectionElement>;
|
|
15
17
|
}
|
|
18
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
16
19
|
declare function TableFooter({ className, children, ref, ...props }: TableFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
17
20
|
export interface TableCaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
|
|
18
21
|
ref?: Ref<HTMLTableCaptionElement>;
|
|
19
22
|
}
|
|
23
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
20
24
|
declare function TableCaption({ className, children, ref, ...props }: TableCaptionProps): import("react/jsx-runtime").JSX.Element;
|
|
21
25
|
export interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
22
26
|
ref?: Ref<HTMLTableSectionElement>;
|
|
23
27
|
}
|
|
28
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
24
29
|
declare function TableBody({ className, children, ref, ...props }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
25
30
|
export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
26
31
|
size?: TableSize;
|
|
@@ -30,6 +35,7 @@ export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
|
30
35
|
asChild?: boolean;
|
|
31
36
|
ref?: Ref<HTMLTableRowElement>;
|
|
32
37
|
}
|
|
38
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
33
39
|
declare function TableRow({ className, children, size, selected, disabled, interactive, asChild, ref, onClick, onDoubleClick, onKeyDown, tabIndex, "aria-disabled": ariaDisabled, ...props }: TableRowProps): import("react/jsx-runtime").JSX.Element;
|
|
34
40
|
export interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
35
41
|
size?: TableSize;
|
|
@@ -39,23 +45,27 @@ export interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
|
39
45
|
asChild?: boolean;
|
|
40
46
|
ref?: Ref<HTMLTableCellElement>;
|
|
41
47
|
}
|
|
48
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
42
49
|
declare function TableHead({ className, children, size, sortable, sortDirection, onSort, asChild, ref, ...props }: TableHeadProps): import("react/jsx-runtime").JSX.Element;
|
|
43
50
|
export interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
44
51
|
size?: TableSize;
|
|
45
52
|
asChild?: boolean;
|
|
46
53
|
ref?: Ref<HTMLTableCellElement>;
|
|
47
54
|
}
|
|
55
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
48
56
|
declare function TableCell({ className, children, size, asChild, ref, ...props }: TableCellProps): import("react/jsx-runtime").JSX.Element;
|
|
49
57
|
export interface TableEmptyProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
50
58
|
colSpan: number;
|
|
51
59
|
children?: ReactNode;
|
|
52
60
|
ref?: Ref<HTMLTableCellElement>;
|
|
53
61
|
}
|
|
62
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
54
63
|
declare function TableEmpty({ className, children, colSpan, ref, ...props }: TableEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
55
64
|
export interface TableLoadingProps extends TableHTMLAttributes<HTMLTableSectionElement> {
|
|
56
65
|
colSpan: number;
|
|
57
66
|
rowCount?: number;
|
|
58
67
|
ref?: Ref<HTMLTableSectionElement>;
|
|
59
68
|
}
|
|
69
|
+
/** @deprecated Table은 제거 예정입니다. `DataGrid`(또는 DataGrid 프리미티브)를 사용하세요. */
|
|
60
70
|
declare function TableLoading({ className, colSpan, rowCount, ref, ...props }: TableLoadingProps): import("react/jsx-runtime").JSX.Element;
|
|
61
71
|
export { Table, TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableLoading, TableRow, };
|