schummar-table 0.46.0 → 0.46.2

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,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-rbNpaeJs.cjs';
3
+ import { P as PartialTableTheme } from './types-CJnecNQy.cjs';
4
4
  import '@emotion/react';
5
5
  import './exporter-u6SatTo6.cjs';
6
6
 
@@ -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--1DhsKcT.js';
3
+ import { P as PartialTableTheme } from './types-CIq7O-SN.js';
4
4
  import '@emotion/react';
5
5
  import './exporter-u6SatTo6.js';
6
6
 
@@ -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-rbNpaeJs.cjs';
3
+ import { P as PartialTableTheme } from './types-CJnecNQy.cjs';
4
4
  import '@emotion/react';
5
5
  import './exporter-u6SatTo6.cjs';
6
6
 
@@ -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--1DhsKcT.js';
3
+ import { P as PartialTableTheme } from './types-CIq7O-SN.js';
4
4
  import '@emotion/react';
5
5
  import './exporter-u6SatTo6.js';
6
6
 
@@ -314,9 +314,13 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
314
314
  onReset?: (scope?: 'table' | 'filters') => void;
315
315
  }
316
316
  interface TableRef {
317
+ getSort: () => Sort[];
317
318
  setSort: (sort: Sort[]) => void;
319
+ getSelection: () => Set<Id>;
318
320
  setSelection: (selection: Set<Id>) => void;
321
+ getExpanded: () => Set<Id>;
319
322
  setExpanded: (expanded: Set<Id>) => void;
323
+ getHiddenColumns: () => Set<Id>;
320
324
  setHiddenColumns: (hidden: Set<Id>) => void;
321
325
  }
322
326
  type InternalTableProps<TItem> = MemoizedFunctions<Omit<TableProps<TItem>, 'id' | 'parentId' | 'columns' | 'defaultColumnProps' | 'displaySizeOverrides'> & {
@@ -314,9 +314,13 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
314
314
  onReset?: (scope?: 'table' | 'filters') => void;
315
315
  }
316
316
  interface TableRef {
317
+ getSort: () => Sort[];
317
318
  setSort: (sort: Sort[]) => void;
319
+ getSelection: () => Set<Id>;
318
320
  setSelection: (selection: Set<Id>) => void;
321
+ getExpanded: () => Set<Id>;
319
322
  setExpanded: (expanded: Set<Id>) => void;
323
+ getHiddenColumns: () => Set<Id>;
320
324
  setHiddenColumns: (hidden: Set<Id>) => void;
321
325
  }
322
326
  type InternalTableProps<TItem> = MemoizedFunctions<Omit<TableProps<TItem>, 'id' | 'parentId' | 'columns' | 'defaultColumnProps' | 'displaySizeOverrides'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schummar-table",
3
- "version": "0.46.0",
3
+ "version": "0.46.2",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "repository": "schummar/schummar-table",