motile-ui 1.0.0 → 1.0.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/components/Sheet/Sheet.d.ts +10 -0
- package/dist/components/Tooltip/Tooltip.d.ts +2 -2
- package/dist/hooks/useHistoryClose.d.ts +32 -35
- package/dist/index.css +1 -1
- package/dist/motile-ui.es.js +1090 -995
- package/dist/motile-ui.umd.js +2 -2
- package/dist/utils/FloatingArrow.d.ts +43 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Floating Arrow variant
|
|
4
|
+
* - `filled`: 채워진 스타일
|
|
5
|
+
* - `outlined`: 테두리 스타일
|
|
6
|
+
*/
|
|
7
|
+
export type FloatingArrowVariant = "filled" | "outlined";
|
|
8
|
+
export interface FloatingArrowProps {
|
|
9
|
+
/**
|
|
10
|
+
* Arrow 스타일 variant
|
|
11
|
+
* @default 'filled'
|
|
12
|
+
*/
|
|
13
|
+
variant?: FloatingArrowVariant;
|
|
14
|
+
/**
|
|
15
|
+
* Arrow 색상
|
|
16
|
+
* - filled: 배경색
|
|
17
|
+
* - outlined: 테두리색
|
|
18
|
+
*/
|
|
19
|
+
color?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 추가 className
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 추가 style
|
|
26
|
+
*/
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
/**
|
|
29
|
+
* Arrow 너비
|
|
30
|
+
* @default 12
|
|
31
|
+
*/
|
|
32
|
+
width?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Arrow 높이
|
|
35
|
+
* @default 8
|
|
36
|
+
*/
|
|
37
|
+
height?: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Floating 요소용 Arrow SVG 컴포넌트
|
|
41
|
+
* Tooltip, Popover 등에서 공통으로 사용
|
|
42
|
+
*/
|
|
43
|
+
export declare const FloatingArrow: React.ForwardRefExoticComponent<FloatingArrowProps & React.RefAttributes<SVGSVGElement>>;
|