@designbasekorea/ui 0.1.44 → 0.1.45

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.d.ts CHANGED
@@ -628,6 +628,26 @@ interface BreadcrumbsProps {
628
628
  }
629
629
  declare const Breadcrumbs: React$1.FC<BreadcrumbsProps>;
630
630
 
631
+ type TooltipPosition = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
632
+ type TooltipSize = 's' | 'm' | 'l';
633
+ type TooltipVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
634
+ interface TooltipProps {
635
+ content: React$1.ReactNode;
636
+ children: React$1.ReactElement;
637
+ position?: TooltipPosition;
638
+ size?: TooltipSize;
639
+ variant?: TooltipVariant;
640
+ delay?: number;
641
+ hideDelay?: number;
642
+ alwaysShow?: boolean;
643
+ disabled?: boolean;
644
+ maxWidth?: number;
645
+ showArrow?: boolean;
646
+ className?: string;
647
+ [key: string]: any;
648
+ }
649
+ declare const Tooltip: React$1.FC<TooltipProps>;
650
+
631
651
  /**
632
652
  * Button 컴포넌트
633
653
  *
@@ -655,6 +675,10 @@ interface ButtonProps {
655
675
  startIcon?: React$1.ComponentType<IconProps>;
656
676
  /** 끝 아이콘 */
657
677
  endIcon?: React$1.ComponentType<IconProps>;
678
+ /** 툴팁 내용 (아이콘 전용 버튼에 권장) */
679
+ tooltip?: React$1.ReactNode;
680
+ /** 툴팁 설정 */
681
+ tooltipProps?: Omit<TooltipProps, 'content' | 'children'>;
658
682
  /** 추가 CSS 클래스 */
659
683
  className?: string;
660
684
  /** 버튼 내용 */
@@ -4009,26 +4033,6 @@ interface ToolbarProps {
4009
4033
  }
4010
4034
  declare const Toolbar: React$1.FC<ToolbarProps>;
4011
4035
 
4012
- type TooltipPosition = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
4013
- type TooltipSize = 's' | 'm' | 'l';
4014
- type TooltipVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
4015
- interface TooltipProps {
4016
- content: React$1.ReactNode;
4017
- children: React$1.ReactElement;
4018
- position?: TooltipPosition;
4019
- size?: TooltipSize;
4020
- variant?: TooltipVariant;
4021
- delay?: number;
4022
- hideDelay?: number;
4023
- alwaysShow?: boolean;
4024
- disabled?: boolean;
4025
- maxWidth?: number;
4026
- showArrow?: boolean;
4027
- className?: string;
4028
- [key: string]: any;
4029
- }
4030
- declare const Tooltip: React$1.FC<TooltipProps>;
4031
-
4032
4036
  type VideoPlayerSize = 's' | 'm' | 'l' | 'xl';
4033
4037
  type VideoPlayerVariant = 'default' | 'minimal' | 'theater' | 'picture-in-picture';
4034
4038
  type VideoPlayerTheme = 'light' | 'dark' | 'auto';