@croquiscom/pds 0.25.0 → 0.27.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 +18 -0
- package/dist/badge/types.d.ts +2 -2
- package/dist/bottomSheet/BottomSheet.d.ts +25 -0
- package/dist/bottomSheet/BottomSheet.stories.d.ts +9 -0
- package/dist/bottomSheet/index.d.ts +1 -0
- package/dist/button/IconButton.stories.d.ts +3 -1
- package/dist/constants/floating.d.ts +1 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/message/MessageManager.d.ts +11 -5
- package/dist/message/types.d.ts +2 -0
- package/dist/modal/AlertModal.d.ts +11 -0
- package/dist/modal/ConfirmModal.d.ts +10 -0
- package/dist/modal/Modal.d.ts +23 -0
- package/dist/modal/Modal.stories.d.ts +15 -0
- package/dist/modal/ModalOverlay.d.ts +25 -0
- package/dist/modal/index.d.ts +3 -0
- package/dist/modal/renderModal.d.ts +2 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/safeArea.d.ts +2 -0
- package/dist/toast/Toast.d.ts +1 -0
- package/dist/toast/Toast.stories.d.ts +2 -0
- package/dist/toast/types.d.ts +2 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 0.27.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2d92485: Modal 컴포넌트 추가
|
|
8
|
+
- 095aaa8: feat: Toast 컴포넌트 fill prop 추가
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 715d097: 아이콘 버튼 크기 유지를 위한 스타일 추가
|
|
13
|
+
|
|
14
|
+
## 0.26.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- ab04068: feat: Badge Large 사이즈 및 Orange 컬러 추가
|
|
19
|
+
- 5ce887d: BottomSheet 컴포넌트 추가
|
|
20
|
+
|
|
3
21
|
## 0.25.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/badge/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare type BadgeKind = 'outline' | 'fill';
|
|
2
|
-
export declare type BadgeColor = 'pink' | 'blue' | 'gray' | 'red' | 'green';
|
|
3
|
-
export declare type BadgeSize = 'small' | 'medium';
|
|
2
|
+
export declare type BadgeColor = 'pink' | 'blue' | 'gray' | 'red' | 'green' | 'orange';
|
|
3
|
+
export declare type BadgeSize = 'small' | 'medium' | 'large';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare type BottomSheetContentWithCloseAction = (action: {
|
|
3
|
+
close(): void;
|
|
4
|
+
}) => ReactNode;
|
|
5
|
+
export interface BottomSheetProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
opened?: boolean;
|
|
8
|
+
/** @default 1010 */
|
|
9
|
+
zIndex?: number;
|
|
10
|
+
title?: string;
|
|
11
|
+
subTitle?: string;
|
|
12
|
+
content?: ReactNode | BottomSheetContentWithCloseAction;
|
|
13
|
+
/**
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
canClickOutside?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* @desc bottom sheet 드래그 닫힘 지원 여부
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
canDragClose?: boolean;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const BottomSheet: ({ className, zIndex, opened: openProp, canClickOutside, canDragClose, title, subTitle, content, onClose, }: BottomSheetProps) => JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<({ className, zIndex, opened: openProp, canClickOutside, canDragClose, title, subTitle, content, onClose, }: import("./BottomSheet").BottomSheetProps) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Base: any;
|
|
6
|
+
export declare const MaxHeight: () => JSX.Element;
|
|
7
|
+
export declare const DisabledCloseDimClick: any;
|
|
8
|
+
export declare const DisabledCloseDrag: any;
|
|
9
|
+
export declare const ContentWithCloseAction: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BottomSheet';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IconButton } from './IconButton';
|
|
3
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
4
|
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./IconButton").IconButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const Rectangle: any;
|
|
6
7
|
export declare const Circle: any;
|
|
8
|
+
export declare const WithInput: ComponentStory<typeof IconButton>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FLOATING_ROOT_ID = "pds-floating-root";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './floating';
|