@likelion-design/ui 1.0.30 → 1.0.32
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/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -787,6 +787,8 @@ type TooltipType = "word" | "sentence";
|
|
|
787
787
|
interface TooltipProps {
|
|
788
788
|
/** 툴팁에 표시할 내용 */
|
|
789
789
|
label: React.ReactNode;
|
|
790
|
+
/** 트리거 동작 방식 (hover: 마우스 오버/포커스, click: 클릭) */
|
|
791
|
+
trigger?: "hover" | "click";
|
|
790
792
|
/** 툴팁 타입 (word: 단어형, sentence: 장문형) */
|
|
791
793
|
type?: TooltipType;
|
|
792
794
|
/** Prefix 아이콘 (왼쪽) */
|
|
@@ -820,7 +822,7 @@ interface TooltipProps {
|
|
|
820
822
|
}
|
|
821
823
|
/** Tooltip 컴포넌트는 사용자에게 추가 정보나 설명을 제공하는 작은 팝오버입니다. */
|
|
822
824
|
declare const Tooltip: {
|
|
823
|
-
({ label, type, prefixIcon, onClose, direction, withArrow, opened: openedProp, defaultOpened, disabled, width, offset, withinPortal, openDelay, closeDelay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
825
|
+
({ label, trigger, type, prefixIcon, onClose, direction, withArrow, opened: openedProp, defaultOpened, disabled, width, offset, withinPortal, openDelay, closeDelay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
824
826
|
displayName: string;
|
|
825
827
|
};
|
|
826
828
|
|
package/dist/index.d.ts
CHANGED
|
@@ -787,6 +787,8 @@ type TooltipType = "word" | "sentence";
|
|
|
787
787
|
interface TooltipProps {
|
|
788
788
|
/** 툴팁에 표시할 내용 */
|
|
789
789
|
label: React.ReactNode;
|
|
790
|
+
/** 트리거 동작 방식 (hover: 마우스 오버/포커스, click: 클릭) */
|
|
791
|
+
trigger?: "hover" | "click";
|
|
790
792
|
/** 툴팁 타입 (word: 단어형, sentence: 장문형) */
|
|
791
793
|
type?: TooltipType;
|
|
792
794
|
/** Prefix 아이콘 (왼쪽) */
|
|
@@ -820,7 +822,7 @@ interface TooltipProps {
|
|
|
820
822
|
}
|
|
821
823
|
/** Tooltip 컴포넌트는 사용자에게 추가 정보나 설명을 제공하는 작은 팝오버입니다. */
|
|
822
824
|
declare const Tooltip: {
|
|
823
|
-
({ label, type, prefixIcon, onClose, direction, withArrow, opened: openedProp, defaultOpened, disabled, width, offset, withinPortal, openDelay, closeDelay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
825
|
+
({ label, trigger, type, prefixIcon, onClose, direction, withArrow, opened: openedProp, defaultOpened, disabled, width, offset, withinPortal, openDelay, closeDelay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
824
826
|
displayName: string;
|
|
825
827
|
};
|
|
826
828
|
|