@croquiscom/pds 11.11.0 → 12.0.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 12.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 57cab2a: feat: Tooltip 개선
8
+
3
9
  ## 11.11.0
4
10
 
5
11
  ### Minor Changes
@@ -34,13 +34,8 @@ export interface TooltipProps extends TooltipBaseProps {
34
34
  */
35
35
  noUsePortal?: boolean;
36
36
  opened?: boolean;
37
- /**
38
- * 닫힘버튼 사용 유무
39
- * @default false
40
- */
41
- closeButton?: boolean;
42
37
  onClose?: (reason: TooltipOpenChangeReason) => void;
43
38
  onOpen?: (reason: TooltipOpenChangeReason) => void;
44
39
  }
45
- export declare const Tooltip: ({ placement, children, className, content, canClickOutside, openerTriggerEvent, opened: openProp, size, kind, zIndex, noUsePortal, closeButton, onClose, onOpen, }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
40
+ export declare const Tooltip: ({ placement, children, className, content, canClickOutside, openerTriggerEvent, opened: openProp, size, kind, zIndex, noUsePortal, onClose, onOpen, }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
46
41
  export {};
@@ -8,5 +8,4 @@ export declare const Color: Story;
8
8
  export declare const Placement: Story;
9
9
  export declare const MaxWidth: Story;
10
10
  export declare const Trigger: Story;
11
- export declare const ContentWithCloseButton: Story;
12
11
  export declare const HidingFullyClippedReferenceElements: Story;
@@ -5,7 +5,6 @@ export interface TooltipBaseProps {
5
5
  size?: TooltipSize;
6
6
  /**
7
7
  * @default accent
8
- * Primary, Brand는 삭제될 예정입니다.
9
8
  */
10
9
  kind?: TooltipKind;
11
10
  }
@@ -1,10 +1,2 @@
1
1
  export type TooltipSize = 'small' | 'medium' | 'large';
2
- export type TooltipKind = 'neutral' | 'accent' | 'negative'
3
- /**
4
- * @deprecated accent를 대신 사용하세요.
5
- */
6
- | 'primary'
7
- /**
8
- * @deprecated 삭제될 예정입니다.
9
- */
10
- | 'brand';
2
+ export type TooltipKind = 'neutral' | 'accent' | 'negative';