@indico-data/design-system 2.17.0 → 2.17.1
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { TableProps as RDTTableProps, Direction as RDTDirection, Alignment as RDTAlignment } from 'react-data-table-component';
|
|
1
|
+
import { TableProps as RDTTableProps, Direction as RDTDirection, Alignment as RDTAlignment, TableColumn as RDTTableColumn } from 'react-data-table-component';
|
|
2
2
|
export type Direction = `${RDTDirection}`;
|
|
3
3
|
export type Alignment = `${RDTAlignment}`;
|
|
4
|
+
export type TableColumn<T> = RDTTableColumn<T>;
|
|
4
5
|
export type TableProps<T> = Omit<RDTTableProps<T>, 'disabled' | 'progressPending' | 'direction' | 'subHeaderAlign'> & {
|
|
5
6
|
isDisabled?: boolean;
|
|
6
7
|
isLoading?: boolean;
|
package/package.json
CHANGED
|
@@ -2,12 +2,14 @@ import DataTable, {
|
|
|
2
2
|
TableProps as RDTTableProps,
|
|
3
3
|
Direction as RDTDirection,
|
|
4
4
|
Alignment as RDTAlignment,
|
|
5
|
+
TableColumn as RDTTableColumn,
|
|
5
6
|
} from 'react-data-table-component';
|
|
6
7
|
|
|
7
8
|
import { LoadingComponent } from './LoadingComponent';
|
|
8
9
|
|
|
9
10
|
export type Direction = `${RDTDirection}`;
|
|
10
11
|
export type Alignment = `${RDTAlignment}`;
|
|
12
|
+
export type TableColumn<T> = RDTTableColumn<T>;
|
|
11
13
|
|
|
12
14
|
export type TableProps<T> = Omit<
|
|
13
15
|
RDTTableProps<T>,
|