@byeolnaerim/flex-layout 0.0.3 → 0.0.5
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/FlexLayoutSplitScreenDragBox-eCtq4kLd.d.cts +31 -0
- package/dist/FlexLayoutSplitScreenDragBox-eCtq4kLd.d.ts +31 -0
- package/dist/components.cjs +3048 -0
- package/dist/components.cjs.map +1 -0
- package/dist/{index.css → components.css} +1 -1
- package/dist/components.d.cts +122 -0
- package/dist/components.d.ts +122 -0
- package/dist/components.js +3036 -0
- package/dist/components.js.map +1 -0
- package/dist/hooks.cjs +425 -0
- package/dist/hooks.cjs.map +1 -0
- package/dist/hooks.d.cts +37 -0
- package/dist/hooks.d.ts +37 -0
- package/dist/hooks.js +409 -0
- package/dist/hooks.js.map +1 -0
- package/dist/index.cjs +0 -3460
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -417
- package/dist/index.d.ts +1 -417
- package/dist/index.js +0 -3402
- package/dist/index.js.map +1 -1
- package/dist/providers.cjs +411 -0
- package/dist/providers.cjs.map +1 -0
- package/dist/providers.d.cts +54 -0
- package/dist/providers.d.ts +54 -0
- package/dist/providers.js +402 -0
- package/dist/providers.js.map +1 -0
- package/dist/store.cjs +204 -0
- package/dist/store.cjs.map +1 -0
- package/dist/store.d.cts +67 -0
- package/dist/store.d.ts +67 -0
- package/dist/store.js +182 -0
- package/dist/store.js.map +1 -0
- package/dist/useDrag-CYQnhUFk.d.cts +108 -0
- package/dist/useDrag-DR01Ob3s.d.ts +108 -0
- package/dist/utils.cjs +209 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.cts +28 -0
- package/dist/utils.d.ts +28 -0
- package/dist/utils.js +197 -0
- package/dist/utils.js.map +1 -0
- package/package.json +44 -5
- /package/dist/{index.css.map → components.css.map} +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { HTMLAttributes, MouseEvent, TouchEvent, CSSProperties, ReactElement, ReactNode, RefObject } from 'react';
|
|
3
|
+
|
|
4
|
+
interface FlexLayoutSplitScreenDragBoxProps<E extends HTMLElement = HTMLElement> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
5
|
+
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
6
|
+
onTouchStart?: (event: TouchEvent<HTMLDivElement>) => void;
|
|
7
|
+
dropEndCallback?: ({ x, y, containerName, }: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
containerName: string;
|
|
11
|
+
}) => void;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
navigationTitle?: string;
|
|
14
|
+
targetComponent?: ReactElement;
|
|
15
|
+
dropDocumentOutsideOption?: DropDocumentOutsideOption;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
containerName: string;
|
|
18
|
+
screenKey?: string;
|
|
19
|
+
isBlockingActiveInput?: boolean;
|
|
20
|
+
customData?: Record<string, string | number | boolean | undefined>;
|
|
21
|
+
scrollTargetRef?: RefObject<E>;
|
|
22
|
+
}
|
|
23
|
+
interface DropDocumentOutsideOption {
|
|
24
|
+
openUrl: string;
|
|
25
|
+
widthRatio?: number;
|
|
26
|
+
heightRatio?: number;
|
|
27
|
+
isNewTap?: boolean;
|
|
28
|
+
}
|
|
29
|
+
declare function FlexLayoutSplitScreenDragBox<E extends HTMLElement>({ onMouseDown, onTouchStart, dropEndCallback, style, navigationTitle, targetComponent, containerName, children, className, dropDocumentOutsideOption, screenKey, isBlockingActiveInput, customData, scrollTargetRef, ...props }: FlexLayoutSplitScreenDragBoxProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
export { type DropDocumentOutsideOption as D, FlexLayoutSplitScreenDragBox as F };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { HTMLAttributes, MouseEvent, TouchEvent, CSSProperties, ReactElement, ReactNode, RefObject } from 'react';
|
|
3
|
+
|
|
4
|
+
interface FlexLayoutSplitScreenDragBoxProps<E extends HTMLElement = HTMLElement> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
5
|
+
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
6
|
+
onTouchStart?: (event: TouchEvent<HTMLDivElement>) => void;
|
|
7
|
+
dropEndCallback?: ({ x, y, containerName, }: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
containerName: string;
|
|
11
|
+
}) => void;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
navigationTitle?: string;
|
|
14
|
+
targetComponent?: ReactElement;
|
|
15
|
+
dropDocumentOutsideOption?: DropDocumentOutsideOption;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
containerName: string;
|
|
18
|
+
screenKey?: string;
|
|
19
|
+
isBlockingActiveInput?: boolean;
|
|
20
|
+
customData?: Record<string, string | number | boolean | undefined>;
|
|
21
|
+
scrollTargetRef?: RefObject<E>;
|
|
22
|
+
}
|
|
23
|
+
interface DropDocumentOutsideOption {
|
|
24
|
+
openUrl: string;
|
|
25
|
+
widthRatio?: number;
|
|
26
|
+
heightRatio?: number;
|
|
27
|
+
isNewTap?: boolean;
|
|
28
|
+
}
|
|
29
|
+
declare function FlexLayoutSplitScreenDragBox<E extends HTMLElement>({ onMouseDown, onTouchStart, dropEndCallback, style, navigationTitle, targetComponent, containerName, children, className, dropDocumentOutsideOption, screenKey, isBlockingActiveInput, customData, scrollTargetRef, ...props }: FlexLayoutSplitScreenDragBoxProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
|
|
31
|
+
export { type DropDocumentOutsideOption as D, FlexLayoutSplitScreenDragBox as F };
|