schummar-table 0.49.1 → 0.49.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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ExporterEntry } from "./exporter-ztSF5GbY.cjs";
2
- import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-DzYx_oT1.cjs";
2
+ import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-B8qZrq0C.cjs";
3
3
  import * as _emotion_react_jsx_runtime1 from "@emotion/react/jsx-runtime";
4
4
  import * as react0 from "react";
5
5
  import { ComponentType, ForwardedRef, HTMLProps, ReactNode } from "react";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ExporterEntry } from "./exporter-BxgFAyWA.js";
2
- import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-k3mbd-dT.js";
2
+ import { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme } from "./types-yIYBwMnZ.js";
3
3
  import * as react0 from "react";
4
4
  import { ComponentType, ForwardedRef, HTMLProps, ReactNode } from "react";
5
5
  import * as _emotion_react_jsx_runtime1 from "@emotion/react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import "./exporter-ztSF5GbY.cjs";
2
- import { PartialTableTheme } from "./types-DzYx_oT1.cjs";
2
+ import { PartialTableTheme } from "./types-B8qZrq0C.cjs";
3
3
  import * as _emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";
4
4
  import { ReactNode } from "react";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import "./exporter-BxgFAyWA.js";
2
- import { PartialTableTheme } from "./types-k3mbd-dT.js";
2
+ import { PartialTableTheme } from "./types-yIYBwMnZ.js";
3
3
  import { ReactNode } from "react";
4
4
  import * as _emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import "./exporter-ztSF5GbY.cjs";
2
- import { PartialTableTheme } from "./types-DzYx_oT1.cjs";
2
+ import { PartialTableTheme } from "./types-B8qZrq0C.cjs";
3
3
  import * as _emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";
4
4
  import { ReactNode } from "react";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import "./exporter-BxgFAyWA.js";
2
- import { PartialTableTheme } from "./types-k3mbd-dT.js";
2
+ import { PartialTableTheme } from "./types-yIYBwMnZ.js";
3
3
  import { ReactNode } from "react";
4
4
  import * as _emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";
5
5
 
@@ -175,7 +175,7 @@ type MemoizedTableTheme<TItem> = Omit<TableTheme, 'classes' | 'styles' | 'text'>
175
175
  text: MemoizedFunctions<TableTheme<TItem>['text']>;
176
176
  };
177
177
  type ColumnGenerator<TItem> = (col: ColumnFactory<TItem>) => (Column<TItem, any> | Falsy)[];
178
- type ColumnFactory<TItem> = <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>;
178
+ type ColumnFactory<TItem> = <TColumnValue>(value: FunctionWithDeps<(item: TItem) => TColumnValue>, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>;
179
179
  interface TableProps<TItem> extends PartialTableTheme<TItem> {
180
180
  /** The data to be rendered. One item per row. */
181
181
  items?: readonly TItem[];
@@ -433,4 +433,4 @@ type FilterImplementation<TItem, TColumnValue, TFilterBy, TFilterValue> = Common
433
433
  };
434
434
  //#endregion
435
435
  export { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme };
436
- //# sourceMappingURL=types-DzYx_oT1.d.cts.map
436
+ //# sourceMappingURL=types-B8qZrq0C.d.cts.map
@@ -175,7 +175,7 @@ type MemoizedTableTheme<TItem> = Omit<TableTheme, 'classes' | 'styles' | 'text'>
175
175
  text: MemoizedFunctions<TableTheme<TItem>['text']>;
176
176
  };
177
177
  type ColumnGenerator<TItem> = (col: ColumnFactory<TItem>) => (Column<TItem, any> | Falsy)[];
178
- type ColumnFactory<TItem> = <TColumnValue>(value: (item: TItem) => TColumnValue, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>;
178
+ type ColumnFactory<TItem> = <TColumnValue>(value: FunctionWithDeps<(item: TItem) => TColumnValue>, column: Omit<Column<TItem, TColumnValue>, 'value'>) => Column<TItem, TColumnValue>;
179
179
  interface TableProps<TItem> extends PartialTableTheme<TItem> {
180
180
  /** The data to be rendered. One item per row. */
181
181
  items?: readonly TItem[];
@@ -433,4 +433,4 @@ type FilterImplementation<TItem, TColumnValue, TFilterBy, TFilterValue> = Common
433
433
  };
434
434
  //#endregion
435
435
  export { Column, CommonFilterProps, FilterImplementation, FunctionWithDeps, Id, InternalColumn, InternalTableState, MemoizedTableTheme, PartialTableTheme, Sort, SortDirection, TableItem, TableProps, TableRef, TableStateStorage, TableTheme };
436
- //# sourceMappingURL=types-k3mbd-dT.d.ts.map
436
+ //# sourceMappingURL=types-yIYBwMnZ.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schummar-table",
3
- "version": "0.49.1",
3
+ "version": "0.49.2",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "repository": "schummar/schummar-table",