@croquiscom/pds 3.8.1 → 3.8.3
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 +12 -0
- package/dist/components/radio/RadioGroup.d.ts +5 -1
- package/dist/components/table/Table.stories.d.ts +2 -1
- package/dist/components/table/types.d.ts +7 -3
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 3.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 37d9647: Box radio default size(large)적용, storybook type 명시 오류 수정
|
|
8
|
+
|
|
9
|
+
## 3.8.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 9bce60a: autoResetRowSelect 비활성화시 전체 선택 체크박스의 동작 버그 수정
|
|
14
|
+
|
|
3
15
|
## 3.8.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -3,9 +3,13 @@ import { AriaFocusProps } from '../../types/common';
|
|
|
3
3
|
import { RadioSizeUnion } from './types';
|
|
4
4
|
export type AlignType = 'horizontal' | 'vertical';
|
|
5
5
|
export type RadioItemType = 'default' | 'box';
|
|
6
|
-
export type RadioSizeType = RadioItemType extends 'box' ? RadioSizeUnion : RadioItemType extends 'default' ? number : never;
|
|
7
6
|
export interface RadioCategoryType<T> {
|
|
8
7
|
radioItemType?: T;
|
|
8
|
+
/**
|
|
9
|
+
* radioItmType - default일 경우 number 타입만 적용됩니다.
|
|
10
|
+
*
|
|
11
|
+
* radioItmType - box일 경우 'small', 'medium', 'large'만 적용됩니다.
|
|
12
|
+
*/
|
|
9
13
|
size?: T extends 'box' ? RadioSizeUnion : number;
|
|
10
14
|
}
|
|
11
15
|
interface RadioItem<RadioValue> {
|
|
@@ -21,7 +21,8 @@ export declare const StickyHeader: any;
|
|
|
21
21
|
export declare const Scroll: any;
|
|
22
22
|
export declare const Selection: any;
|
|
23
23
|
export declare const ClickableSelection: any;
|
|
24
|
-
export declare const
|
|
24
|
+
export declare const AutoResetRowSelectOn: any;
|
|
25
|
+
export declare const AutoResetRowSelectOff: any;
|
|
25
26
|
export declare const BeforehandSelectionByKey: any;
|
|
26
27
|
export declare const BeforehandSelectionByFunction: any;
|
|
27
28
|
export declare const Sort: any;
|
|
@@ -93,10 +93,14 @@ export interface SelectRowAction<DataType> {
|
|
|
93
93
|
}
|
|
94
94
|
export interface SelectControlledRowAction<DataType> {
|
|
95
95
|
type: 'SELECT_CONTROLLED_ROW';
|
|
96
|
-
|
|
96
|
+
controlledRows: TableRowsType<DataType>;
|
|
97
97
|
rows: TableRowsType<DataType>;
|
|
98
98
|
}
|
|
99
|
-
export interface
|
|
99
|
+
export interface ResetSelectRowsAction {
|
|
100
100
|
type: 'RESET_SELECTED_ROWS';
|
|
101
101
|
}
|
|
102
|
-
export
|
|
102
|
+
export interface CheckAllSelectedRowsAction<DataType> {
|
|
103
|
+
type: 'CHECK_ALL_SELECTED_ROWS';
|
|
104
|
+
rows: TableRowsType<DataType>;
|
|
105
|
+
}
|
|
106
|
+
export type TableAction<DataType> = SelectRowsAction<DataType> | SelectRowAction<DataType> | SelectControlledRowAction<DataType> | ResetSelectRowsAction | CheckAllSelectedRowsAction<DataType>;
|