@croquiscom/pds 8.31.2 → 8.32.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,16 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 8.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ef9dbdd: Empty State 아이콘 변경 (CircleWarning → CircleInfo)
8
+ - b01eb9b: State Component loading 상태 추가, size options추가
9
+
10
+ ### Patch Changes
11
+
12
+ - c595977: Table Empty, Loading State 컴포넌트로 교체
13
+
3
14
  ## 8.31.2
4
15
 
5
16
  ### Patch Changes
@@ -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;