@croquiscom/pds 0.45.0 → 0.45.1
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,12 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 0.45.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aec1e60: fix: FileUpload fileList prop이 undefined인 경우 대응
|
|
8
|
+
- fc9c93c: Popover 컴포넌트 title, description, closeButton 내부 제공 추가, trigger click 이벤트 stopPropagation 추가
|
|
9
|
+
|
|
3
10
|
## 0.45.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -9,7 +9,22 @@ type PopoverWithCloseAction = (action: {
|
|
|
9
9
|
export interface PopoverProps {
|
|
10
10
|
className?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Popover 내부에 렌더될 자유 콘텐츠 요소
|
|
14
|
+
* - HelpText 컴포넌트 규격 또는 자유롭게 콘텐츠를 구성할 경우 사용합니다.
|
|
15
|
+
* - PopoverContent
|
|
16
|
+
* - [HelpText](https://storybook.kakaostyle.in/master/pds/?path=/story/component-text-helptext--base) 또는 ReactNode 타입을 가집니다.
|
|
17
|
+
* - PopoverWithCloseAction
|
|
18
|
+
* - PopoverContent function 타입으로 가집니다.
|
|
19
|
+
*/
|
|
20
|
+
content?: PopoverContent | PopoverWithCloseAction;
|
|
21
|
+
title?: string;
|
|
22
|
+
description?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* 닫힘버튼 사용 유무
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
closeButton?: boolean;
|
|
13
28
|
/**
|
|
14
29
|
* main app node 바깥영역으로 생성할지 여부
|
|
15
30
|
* @default false
|
|
@@ -6,5 +6,14 @@ export default _default;
|
|
|
6
6
|
export declare const Base: any;
|
|
7
7
|
export declare const HoverIcon: () => JSX.Element;
|
|
8
8
|
export declare const Placement: ComponentStory<typeof Popover>;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const TemplateWithCloseButton: {
|
|
10
|
+
(): JSX.Element;
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
description: {
|
|
14
|
+
story: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
10
19
|
export declare const HidingFullyClippedReferenceElements: () => JSX.Element;
|