@owp/core 2.5.57 → 2.5.58

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.
@@ -12,6 +12,24 @@ export type TreeGridAddedRowBoxFrame = {
12
12
  /** overlay height(px) */
13
13
  height: number;
14
14
  };
15
+ /** TreeGrid 신규 행 강조 box overlay를 표시할 body 영역 */
16
+ export type TreeGridAddedRowBoxClipFrame = {
17
+ /** container 기준 left offset(px) */
18
+ left: number;
19
+ /** container 기준 top offset(px) */
20
+ top: number;
21
+ /** clip 영역 width(px) */
22
+ width: number;
23
+ /** clip 영역 height(px) */
24
+ height: number;
25
+ };
26
+ /** TreeGrid 신규 행 강조 box overlay 상태 */
27
+ export type TreeGridAddedRowBoxOverlayState = {
28
+ /** row box frame 목록 */
29
+ frames: readonly TreeGridAddedRowBoxFrame[];
30
+ /** row box를 clipping할 body 영역 */
31
+ clipFrame: TreeGridAddedRowBoxClipFrame | null;
32
+ };
15
33
  type UseOwpTreeGridAddedRowBoxOverlayInput = {
16
34
  containerRef: RefObject<HTMLDivElement | null>;
17
35
  treeGridInstanceRef: RefObject<TGrid>;
@@ -23,5 +41,5 @@ type UseOwpTreeGridAddedRowBoxOverlayInput = {
23
41
  * @param treeGridInstanceRef TreeGrid instance ref
24
42
  * @param enabled overlay 활성 여부
25
43
  */
26
- declare const useOwpTreeGridAddedRowBoxOverlay: ({ containerRef, treeGridInstanceRef, enabled, }: UseOwpTreeGridAddedRowBoxOverlayInput) => TreeGridAddedRowBoxFrame[];
44
+ declare const useOwpTreeGridAddedRowBoxOverlay: ({ containerRef, treeGridInstanceRef, enabled, }: UseOwpTreeGridAddedRowBoxOverlayInput) => TreeGridAddedRowBoxOverlayState;
27
45
  export { useOwpTreeGridAddedRowBoxOverlay };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "2.5.57",
4
+ "version": "2.5.58",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",