@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 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 @dnd-kit/core @dnd-kit/sortable @emotion/react @emotion/styled @mui/icons-material @mui/material @mui/x-date-pickers @pdg/react-component @pdg/react-hook @pdg/react-form @tinymce/tinymce-react @types/uuid classnames dayjs copy-to-clipboard react-number-format react-resize-detector simplebar-react uuid react-intersection-observer
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' | 'company_no' | 'personal_no' | 'divider';
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;
@@ -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' | 'company_no' | 'personal_no' | 'img' | 'button' | 'buttons' | 'check';
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'];