schummar-table 0.45.2 → 0.46.0
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/dist/index.cjs +31 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +39 -3
- package/dist/index.js.map +1 -1
- package/dist/mui4Theme.d.cts +1 -1
- package/dist/mui4Theme.d.ts +1 -1
- package/dist/mui5Theme.d.cts +1 -1
- package/dist/mui5Theme.d.ts +1 -1
- package/dist/{types-cAzUt-yT.d.ts → types--1DhsKcT.d.ts} +7 -1
- package/dist/{types-DKqBJ_4v.d.cts → types-rbNpaeJs.d.cts} +7 -1
- package/package.json +1 -1
package/dist/mui4Theme.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as PartialTableTheme } from './types-
|
|
3
|
+
import { P as PartialTableTheme } from './types-rbNpaeJs.cjs';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './exporter-u6SatTo6.cjs';
|
|
6
6
|
|
package/dist/mui4Theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as PartialTableTheme } from './types
|
|
3
|
+
import { P as PartialTableTheme } from './types--1DhsKcT.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './exporter-u6SatTo6.js';
|
|
6
6
|
|
package/dist/mui5Theme.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as PartialTableTheme } from './types-
|
|
3
|
+
import { P as PartialTableTheme } from './types-rbNpaeJs.cjs';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './exporter-u6SatTo6.cjs';
|
|
6
6
|
|
package/dist/mui5Theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as PartialTableTheme } from './types
|
|
3
|
+
import { P as PartialTableTheme } from './types--1DhsKcT.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './exporter-u6SatTo6.js';
|
|
6
6
|
|
|
@@ -313,6 +313,12 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
|
|
|
313
313
|
debugRender?: (...output: any) => void;
|
|
314
314
|
onReset?: (scope?: 'table' | 'filters') => void;
|
|
315
315
|
}
|
|
316
|
+
interface TableRef {
|
|
317
|
+
setSort: (sort: Sort[]) => void;
|
|
318
|
+
setSelection: (selection: Set<Id>) => void;
|
|
319
|
+
setExpanded: (expanded: Set<Id>) => void;
|
|
320
|
+
setHiddenColumns: (hidden: Set<Id>) => void;
|
|
321
|
+
}
|
|
316
322
|
type InternalTableProps<TItem> = MemoizedFunctions<Omit<TableProps<TItem>, 'id' | 'parentId' | 'columns' | 'defaultColumnProps' | 'displaySizeOverrides'> & {
|
|
317
323
|
id: (item: TItem) => Id;
|
|
318
324
|
parentId?: (item: TItem) => Id | undefined;
|
|
@@ -421,4 +427,4 @@ type FilterImplementation<TItem, TColumnValue, TFilterBy, TFilterValue> = Common
|
|
|
421
427
|
test: (filterValue: TFilterValue, value: TFilterBy) => boolean;
|
|
422
428
|
};
|
|
423
429
|
|
|
424
|
-
export type { CommonFilterProps as C, FilterImplementation as F, Id as I, MemoizedTableTheme as M, PartialTableTheme as P, Sort as S, TableTheme as T, TableProps as a,
|
|
430
|
+
export type { CommonFilterProps as C, FilterImplementation as F, Id as I, MemoizedTableTheme as M, PartialTableTheme as P, Sort as S, TableTheme as T, TableProps as a, TableRef as b, TableItem as c, InternalTableState as d, TableStateStorage as e, Column as f, FunctionWithDeps as g, InternalColumn as h, SortDirection as i };
|
|
@@ -313,6 +313,12 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
|
|
|
313
313
|
debugRender?: (...output: any) => void;
|
|
314
314
|
onReset?: (scope?: 'table' | 'filters') => void;
|
|
315
315
|
}
|
|
316
|
+
interface TableRef {
|
|
317
|
+
setSort: (sort: Sort[]) => void;
|
|
318
|
+
setSelection: (selection: Set<Id>) => void;
|
|
319
|
+
setExpanded: (expanded: Set<Id>) => void;
|
|
320
|
+
setHiddenColumns: (hidden: Set<Id>) => void;
|
|
321
|
+
}
|
|
316
322
|
type InternalTableProps<TItem> = MemoizedFunctions<Omit<TableProps<TItem>, 'id' | 'parentId' | 'columns' | 'defaultColumnProps' | 'displaySizeOverrides'> & {
|
|
317
323
|
id: (item: TItem) => Id;
|
|
318
324
|
parentId?: (item: TItem) => Id | undefined;
|
|
@@ -421,4 +427,4 @@ type FilterImplementation<TItem, TColumnValue, TFilterBy, TFilterValue> = Common
|
|
|
421
427
|
test: (filterValue: TFilterValue, value: TFilterBy) => boolean;
|
|
422
428
|
};
|
|
423
429
|
|
|
424
|
-
export type { CommonFilterProps as C, FilterImplementation as F, Id as I, MemoizedTableTheme as M, PartialTableTheme as P, Sort as S, TableTheme as T, TableProps as a,
|
|
430
|
+
export type { CommonFilterProps as C, FilterImplementation as F, Id as I, MemoizedTableTheme as M, PartialTableTheme as P, Sort as S, TableTheme as T, TableProps as a, TableRef as b, TableItem as c, InternalTableState as d, TableStateStorage as e, Column as f, FunctionWithDeps as g, InternalColumn as h, SortDirection as i };
|