@croquiscom/pds 0.44.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 +17 -0
- package/assets/icons/Locked16.svg +3 -0
- package/assets/icons/Message24.svg +5 -0
- package/dist/components/icons/generated/Locked16.d.ts +4 -0
- package/dist/components/icons/generated/Message24.d.ts +4 -0
- package/dist/components/icons/generated/index.d.ts +2 -0
- package/dist/components/popover/Popover.d.ts +16 -1
- package/dist/components/popover/Popover.stories.d.ts +10 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles/colors.d.ts +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
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
|
+
|
|
10
|
+
## 0.45.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- e333756: IconMessage24, IconLocked16 아이콘 추가
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 47be844: Button Disabled 컬러 opacity 적용 추가
|
|
19
|
+
|
|
3
20
|
## 0.44.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.96674 6.6333V4.66663C3.96674 3.59693 4.39167 2.57103 5.14807 1.81464C5.90447 1.05824 6.93036 0.633301 8.00007 0.633301C9.06978 0.633301 10.0957 1.05824 10.8521 1.81464C11.6085 2.57103 12.0334 3.59693 12.0334 4.66663V6.6333H12.6667C13.7897 6.6333 14.7 7.54365 14.7 8.66663V13.3333C14.7 14.4563 13.7897 15.3666 12.6667 15.3666H3.33338C2.2104 15.3666 1.30005 14.4563 1.30005 13.3333V8.66663C1.30005 7.54365 2.2104 6.6333 3.33338 6.6333H3.96674ZM6.13802 2.80459C6.63187 2.31074 7.30167 2.0333 8.00007 2.0333C8.69847 2.0333 9.36827 2.31074 9.86212 2.80459C10.356 3.29843 10.6334 3.96823 10.6334 4.66663V6.6333H5.36674V4.66663C5.36674 3.96823 5.64418 3.29843 6.13802 2.80459ZM3.33338 8.0333C2.9836 8.0333 2.70005 8.31685 2.70005 8.66663V13.3333C2.70005 13.6831 2.9836 13.9666 3.33338 13.9666H12.6667C13.0165 13.9666 13.3 13.6831 13.3 13.3333V8.66663C13.3 8.31685 13.0165 8.0333 12.6667 8.0333H3.33338Z" fill="#363644"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 7.78613C4 5.69511 5.61614 4 7.60976 4H16.3902C18.3839 4 20 5.69511 20 7.78613V13.8199C20 15.9109 18.3839 17.6061 16.3902 17.6061H7.81164L6.02568 19.6085C5.30022 20.4218 4 19.8834 4 18.7696V7.78613ZM7.60976 5.43259C6.37048 5.43259 5.36585 6.4863 5.36585 7.78613V18.2513L7.01662 16.4004C7.14575 16.2556 7.32632 16.1735 7.51534 16.1735H16.3902C17.6295 16.1735 18.6341 15.1198 18.6341 13.8199V7.78613C18.6341 6.4863 17.6295 5.43259 16.3902 5.43259H7.60976Z" fill="#363644"/>
|
|
3
|
+
<path d="M7.60976 9.32104C7.60976 8.92544 7.91551 8.60475 8.29268 8.60475H15.7073C16.0845 8.60475 16.3902 8.92544 16.3902 9.32104C16.3902 9.71664 16.0845 10.0373 15.7073 10.0373H8.29268C7.91551 10.0373 7.60976 9.71664 7.60976 9.32104Z" fill="#363644"/>
|
|
4
|
+
<path d="M7.60976 12.5955C7.60976 12.1999 7.91551 11.8792 8.29268 11.8792H13.7561C14.1333 11.8792 14.439 12.1999 14.439 12.5955C14.439 12.9911 14.1333 13.3118 13.7561 13.3118H8.29268C7.91551 13.3118 7.60976 12.9911 7.60976 12.5955Z" fill="#363644"/>
|
|
5
|
+
</svg>
|
|
@@ -108,10 +108,12 @@ export { default as IconLoading24 } from './Loading24';
|
|
|
108
108
|
export { default as IconLoadingDonuts30 } from './LoadingDonuts30';
|
|
109
109
|
export { default as IconLoadingDots30 } from './LoadingDots30';
|
|
110
110
|
export { default as IconLock18 } from './Lock18';
|
|
111
|
+
export { default as IconLocked16 } from './Locked16';
|
|
111
112
|
export { default as IconMarketing24 } from './Marketing24';
|
|
112
113
|
export { default as IconMegaphone14 } from './Megaphone14';
|
|
113
114
|
export { default as IconMemoAttention20 } from './MemoAttention20';
|
|
114
115
|
export { default as IconMemoDefault20 } from './MemoDefault20';
|
|
116
|
+
export { default as IconMessage24 } from './Message24';
|
|
115
117
|
export { default as IconMinus20 } from './Minus20';
|
|
116
118
|
export { default as IconMove10 } from './Move10';
|
|
117
119
|
export { default as IconNew10 } from './New10';
|
|
@@ -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;
|