schummar-table 0.46.2 → 0.46.4
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -1
- 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-CIq7O-SN.d.ts → types-BM1Cjg67.d.ts} +2 -1
- package/dist/{types-CJnecNQy.d.cts → types-CNiUxMEp.d.cts} +2 -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-CNiUxMEp.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-BM1Cjg67.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-CNiUxMEp.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-BM1Cjg67.js';
|
|
4
4
|
import '@emotion/react';
|
|
5
5
|
import './exporter-u6SatTo6.js';
|
|
6
6
|
|
|
@@ -27,6 +27,7 @@ type MemoizedFunctions<T> = {
|
|
|
27
27
|
[K in keyof T]: Exclude<T[K], [function: (...args: any[]) => any, ...deps: DependencyList]>;
|
|
28
28
|
};
|
|
29
29
|
type CSSInterpolation = Exclude<Interpolation<Theme>, ((...args: any[]) => any) | Array<any>>;
|
|
30
|
+
type Falsy = false | 0 | '' | null | undefined;
|
|
30
31
|
type DisplaySize = 'desktop' | 'mobile' | (string & {});
|
|
31
32
|
type DisplaySizes = Record<DisplaySize, number>;
|
|
32
33
|
interface TableTheme<TItem = unknown> {
|
|
@@ -183,7 +184,7 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
|
|
|
183
184
|
/** If true for an item, it means that children will be loaded asynchronously as soon as item is expanded. */
|
|
184
185
|
hasDeferredChildren?: (item: TItem) => boolean;
|
|
185
186
|
/** Column definitions. */
|
|
186
|
-
columns: Column<TItem, any>[] | ((col: <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>) => Column<TItem, any>[]);
|
|
187
|
+
columns: (Column<TItem, any> | Falsy)[] | ((col: <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>) => (Column<TItem, any> | Falsy)[]);
|
|
187
188
|
/** Default props for all column. Will take effect if not overriden in column definition. */
|
|
188
189
|
defaultColumnProps?: Omit<Column<TItem, unknown>, 'id' | 'value'>;
|
|
189
190
|
/** Set props for multiple columns at once. Will take effect if not overriden in column definition. */
|
|
@@ -27,6 +27,7 @@ type MemoizedFunctions<T> = {
|
|
|
27
27
|
[K in keyof T]: Exclude<T[K], [function: (...args: any[]) => any, ...deps: DependencyList]>;
|
|
28
28
|
};
|
|
29
29
|
type CSSInterpolation = Exclude<Interpolation<Theme>, ((...args: any[]) => any) | Array<any>>;
|
|
30
|
+
type Falsy = false | 0 | '' | null | undefined;
|
|
30
31
|
type DisplaySize = 'desktop' | 'mobile' | (string & {});
|
|
31
32
|
type DisplaySizes = Record<DisplaySize, number>;
|
|
32
33
|
interface TableTheme<TItem = unknown> {
|
|
@@ -183,7 +184,7 @@ interface TableProps<TItem> extends PartialTableTheme<TItem> {
|
|
|
183
184
|
/** If true for an item, it means that children will be loaded asynchronously as soon as item is expanded. */
|
|
184
185
|
hasDeferredChildren?: (item: TItem) => boolean;
|
|
185
186
|
/** Column definitions. */
|
|
186
|
-
columns: Column<TItem, any>[] | ((col: <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>) => Column<TItem, any>[]);
|
|
187
|
+
columns: (Column<TItem, any> | Falsy)[] | ((col: <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>) => (Column<TItem, any> | Falsy)[]);
|
|
187
188
|
/** Default props for all column. Will take effect if not overriden in column definition. */
|
|
188
189
|
defaultColumnProps?: Omit<Column<TItem, unknown>, 'id' | 'value'>;
|
|
189
190
|
/** Set props for multiple columns at once. Will take effect if not overriden in column definition. */
|