@croquiscom/pds 8.31.1 → 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 +17 -0
- package/dist/container/state/State.d.ts +6 -2
- package/dist/container/state/State.stories.d.ts +1 -0
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
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
|
+
|
|
14
|
+
## 8.31.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- d89245c: TableCell 배경색 지정이 무시되는 이슈 수정(TableRow 색상적용관련 영향)
|
|
19
|
+
|
|
3
20
|
## 8.31.1
|
|
4
21
|
|
|
5
22
|
### 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;
|