@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 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
@@ -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,2 +1,3 @@
1
1
  export * from './topBar';
2
2
  export * from './footer';
3
+ export * from './topNavigation';
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export interface TopNavigationProps {
3
+ title?: ReactNode;
4
+ left?: ReactNode;
5
+ right?: ReactNode;
6
+ }
7
+ export declare const TopNavigation: ({ title, left, right }: TopNavigationProps) => JSX.Element;
@@ -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;
@@ -9,3 +9,4 @@ declare const _default: {
9
9
  };
10
10
  export default _default;
11
11
  export declare const Base: any;
12
+ export declare const MediumSize: any;
package/dist/index.d.ts CHANGED
@@ -20,4 +20,5 @@ export * from './dropdown';
20
20
  export * from './menu';
21
21
  export * from './toast';
22
22
  export * from './notification';
23
+ export * from './bottomSheet';
23
24
  export * from './container';