@liner-fe/prism 2.1.19 → 2.1.21

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.
@@ -158,3 +158,4 @@ export { ICLpPriIconMRedo } from './lp-pri-icon-m-redo';
158
158
  export { ICLpPriIconMShieldUsage } from './lp-pri-icon-m-shield-usage';
159
159
  export { ICLpPriIconMExpand } from './lp-pri-icon-m-expand';
160
160
  export { ICLpPriIconMVerificationBadge } from './lp-pri-icon-m-verification-badge';
161
+ export { ICLpPriIconMReport } from './lp-pri-icon-m-report';
@@ -0,0 +1,8 @@
1
+ interface ICLpPriIconMReportProps {
2
+ color?: string;
3
+ fill?: boolean;
4
+ thick?: boolean;
5
+ size?: 16 | 20 | 24 | 32 | 40;
6
+ }
7
+ export declare const ICLpPriIconMReport: (props: ICLpPriIconMReportProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,12 +1,36 @@
1
1
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
2
2
  import React, { ReactNode } from 'react';
3
3
  interface TooltipRootProps {
4
- children: ReactNode;
5
4
  /**
6
- * @param onOpenChange
5
+ * Tooltip 내부에 렌더링할 컴포넌트입니다.
6
+ */
7
+ children?: ReactNode;
8
+ /**
9
+ * Tooltip의 열림 상태를 제어합니다.
10
+ * controlled 상태로 사용할 때 활용합니다.
11
+ */
12
+ open?: boolean;
13
+ /**
14
+ * Tooltip의 초기 열림 상태를 설정합니다.
15
+ * uncontrolled 상태로 사용할 때 활용합니다.
16
+ */
17
+ defaultOpen?: boolean;
18
+ /**
7
19
  * Tooltip의 열림/닫힘 상태가 변경될 때 호출되는 콜백 함수입니다.
8
20
  */
9
21
  onOpenChange?: (open: boolean) => void;
22
+ /**
23
+ * 마우스가 Trigger에 진입한 후 Tooltip이 열리기까지의 지연 시간(ms)입니다.
24
+ * Provider에 설정된 값을 재정의합니다.
25
+ * @default 0
26
+ */
27
+ delayDuration?: number;
28
+ /**
29
+ * true로 설정하면 Tooltip 컨텐츠에 마우스를 올렸을 때
30
+ * Trigger를 벗어나도 Tooltip이 닫히지 않습니다.
31
+ * @default false
32
+ */
33
+ disableHoverableContent?: boolean;
10
34
  }
11
35
  declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
12
36
  type Side = (typeof SIDE_OPTIONS)[number];
@@ -40,7 +64,7 @@ interface TooltipContentProps extends React.HTMLAttributes<HTMLDivElement> {
40
64
  */
41
65
  collisionPadding?: number | Partial<Record<Side, number>>;
42
66
  }
43
- export declare const Tooltip: (({ children, onOpenChange }: TooltipRootProps) => import("react/jsx-runtime").JSX.Element) & {
67
+ export declare const Tooltip: (({ children, ...props }: TooltipRootProps) => import("react/jsx-runtime").JSX.Element) & {
44
68
  Provider: React.FC<TooltipPrimitive.TooltipProviderProps>;
45
69
  Trigger: ({ by }: TooltipTriggerProps) => import("react/jsx-runtime").JSX.Element;
46
70
  Content: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;