@yuno-payments/dashboard-design-system 0.0.74 → 0.0.75

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,5 +1,6 @@
1
1
  import { ColumnDef, RowData, SortingState, VisibilityState, ColumnFiltersState, PaginationState, Table, Column, CellContext, HeaderContext } from '@tanstack/react-table';
2
2
  import { IconName } from '../../atoms/icon';
3
+ import { EmptyProps } from '../../molecules';
3
4
  declare module "@tanstack/react-table" {
4
5
  interface TableMeta<TData extends RowData> {
5
6
  updateData?: (rowIndex: number, columnId: string, value: unknown) => void;
@@ -103,7 +104,7 @@ export interface DataTableProps<TData> {
103
104
  columns: DataTableColumn<TData>[];
104
105
  data: TData[];
105
106
  isLoading?: boolean;
106
- empty?: DataTableEmptyConfig;
107
+ empty?: EmptyProps;
107
108
  checkboxSelection?: boolean;
108
109
  onRowSelectionChange?: (selectedRows: TData[]) => void;
109
110
  enablePagination?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-design-system",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",