@pdg/react-table 1.0.130 → 1.0.132
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/README.md +1 -1
- package/dist/InfoTable/InfoTable.types.d.ts +1 -1
- package/dist/Table/Table.d.ts +0 -1
- package/dist/Table/Table.types.d.ts +1 -1
- package/dist/index.esm.js +23220 -613
- package/dist/index.js +23192 -585
- package/package.json +9 -23
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ https://parkdigy.github.io/react-table/
|
|
|
8
8
|
|
|
9
9
|
## 설치
|
|
10
10
|
```shell
|
|
11
|
-
npm install -D @pdg/react-table
|
|
11
|
+
npm install -D @pdg/react-table
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
### simplebar-react css 추가
|
|
@@ -5,7 +5,7 @@ import { PdgIconProps } from '@pdg/react-component';
|
|
|
5
5
|
export interface InfoTableInfo {
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
|
-
export type InfoTableItemType = 'text' | 'number' | 'tel' | 'url' | 'email' | 'date' | 'datetime' | 'date-hour' | 'date-minute' | '
|
|
8
|
+
export type InfoTableItemType = 'text' | 'number' | 'tel' | 'url' | 'email' | 'date' | 'datetime' | 'date-hour' | 'date-minute' | 'business_no' | 'personal_no' | 'divider';
|
|
9
9
|
export interface InfoTableItem<T = InfoTableInfo> {
|
|
10
10
|
icon?: PdgIconProps['children'];
|
|
11
11
|
label?: ReactNode;
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TableProps, TableCommands, TableItem } from './Table.types';
|
|
3
|
-
import 'simplebar-react/dist/simplebar.min.css';
|
|
4
3
|
interface WithForwardRefType<T = TableItem> extends React.FC<TableProps<T>> {
|
|
5
4
|
<T = TableItem>(props: TableProps<T> & React.RefAttributes<TableCommands<T>>): ReturnType<React.FC<TableProps<T>>>;
|
|
6
5
|
}
|
|
@@ -22,7 +22,7 @@ export interface TableProgressiveVisibleInfo {
|
|
|
22
22
|
* ******************************************************************************************************************/
|
|
23
23
|
export interface TableColumn<T = TableItem> {
|
|
24
24
|
id?: string;
|
|
25
|
-
type?: 'text' | 'number' | 'tel' | 'date' | 'datetime' | 'date-hour' | 'date-minute' | '
|
|
25
|
+
type?: 'text' | 'number' | 'tel' | 'date' | 'datetime' | 'date-hour' | 'date-minute' | 'business_no' | 'personal_no' | 'img' | 'button' | 'buttons' | 'check';
|
|
26
26
|
label?: ReactNode;
|
|
27
27
|
name?: keyof T;
|
|
28
28
|
align?: TableCellProps['align'];
|