@croquiscom/pds 8.31.2 → 8.33.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,22 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 8.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1134993: BottomSheet children prop 지원 추가
8
+
9
+ ## 8.32.0
10
+
11
+ ### Minor Changes
12
+
13
+ - ef9dbdd: Empty State 아이콘 변경 (CircleWarning → CircleInfo)
14
+ - b01eb9b: State Component loading 상태 추가, size options추가
15
+
16
+ ### Patch Changes
17
+
18
+ - c595977: Table Empty, Loading State 컴포넌트로 교체
19
+
3
20
  ## 8.31.2
4
21
 
5
22
  ### Patch Changes
@@ -16,7 +16,11 @@ export interface BottomSheetProps {
16
16
  zIndex?: number;
17
17
  title?: ReactNode;
18
18
  subTitle?: ReactNode;
19
+ /**
20
+ * @deprecated children으로도 내용을 지정할 수 있습니다.
21
+ */
19
22
  content?: ReactNode | BottomSheetContentWithCloseAction;
23
+ children?: ReactNode | BottomSheetContentWithCloseAction;
20
24
  /**
21
25
  * 콘텐츠 영역 space, maxHeight 속성 커스텀이 가능합니다.
22
26
  * - [SpaceProps](https://github.com/croquiscom/pds/blob/main/src/styles/space.ts)
@@ -1,11 +1,15 @@
1
1
  import React, { HTMLAttributes, ComponentType, ReactNode } from 'react';
2
2
  import { IconProps } from '../../components';
3
- export type StateKind = 'warning' | 'empty';
3
+ export type StateKind = 'warning' | 'empty' | 'loading';
4
4
  export interface StateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
5
5
  kind?: StateKind;
6
+ /**
7
+ * default: 20
8
+ */
9
+ size?: 20 | 32 | 40;
6
10
  title?: ReactNode;
7
11
  description: ReactNode;
8
12
  icon?: ComponentType<IconProps>;
9
13
  action?: ReactNode;
10
14
  }
11
- export declare const State: ({ kind, title, description, action, icon, className, ...props }: StateProps) => React.JSX.Element;
15
+ export declare const State: ({ kind, size, title, description, action, icon, className, ...props }: StateProps) => React.JSX.Element;
@@ -6,3 +6,4 @@ type Story = StoryObj<typeof State>;
6
6
  export declare const WarningKind: Story;
7
7
  export declare const EmptyKind: Story;
8
8
  export declare const EmptyKindWithAction: Story;
9
+ export declare const Loading: Story;