@croquiscom/pds 0.24.3 → 0.26.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/container/index.d.ts +1 -0
- package/dist/container/topNavigation/TopNavigation.d.ts +7 -0
- package/dist/container/topNavigation/TopNavigation.stories.d.ts +12 -0
- package/dist/container/topNavigation/index.d.ts +1 -0
- package/dist/divider/Divider.d.ts +2 -0
- package/dist/divider/Divider.stories.d.ts +1 -0
- package/dist/index.d.ts +1 -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/styles/index.d.ts +1 -0
- package/dist/styles/safeArea.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.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ab04068: feat: Badge Large 사이즈 및 Orange 컬러 추가
|
|
8
|
+
- 5ce887d: BottomSheet 컴포넌트 추가
|
|
9
|
+
|
|
10
|
+
## 0.25.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 31a0b23: feat: Divider 컴포넌트 size prop 추가
|
|
15
|
+
- 0bb25d8: TopNavigation 컴포넌트 추가
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- cbc54da: feat: Footer 컴포넌트 모바일 사이즈 대응 되도록 수정
|
|
20
|
+
|
|
3
21
|
## 0.24.3
|
|
4
22
|
|
|
5
23
|
### Patch 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';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Base: () => JSX.Element;
|
|
7
|
+
export declare const Multiple: () => JSX.Element;
|
|
8
|
+
export declare const EmptyRight: () => JSX.Element;
|
|
9
|
+
export declare const OnlyLeft: () => JSX.Element;
|
|
10
|
+
export declare const OnlyTitle: () => JSX.Element;
|
|
11
|
+
export declare const OnlyRight: () => JSX.Element;
|
|
12
|
+
export declare const LongTitle: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TopNavigation';
|
|
@@ -4,6 +4,8 @@ import { CSSValueWithLength } from '../styles';
|
|
|
4
4
|
export interface DividerProps extends SpaceProps {
|
|
5
5
|
/** @default 'horizontal' */
|
|
6
6
|
spacing?: CSSValueWithLength;
|
|
7
|
+
/** @default 'small' */
|
|
8
|
+
size?: 'small' | 'medium';
|
|
7
9
|
}
|
|
8
10
|
export declare const Divider: import("@emotion/styled").StyledComponent<{
|
|
9
11
|
theme?: import("@emotion/react").Theme;
|