schummar-table 0.50.5 → 0.50.7

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 { r as ExporterEntry } from "./exporter-ZZesPOOU.cjs";
2
- import { a as Id, c as MemoizedTableTheme, d as SortDirection, f as TableItem, g as TableStateStorage, h as TableTheme, i as FunctionWithDeps, l as PartialTableTheme, m as TableRef, n as CommonFilterProps, o as InternalColumn, p as TableProps, r as FilterImplementation, s as InternalTableState, t as Column, u as Sort } from "./types-DzMId5Jg.cjs";
2
+ import { _ as TableTheme, a as FilterImplementation, c as InternalColumn, d as PartialTableTheme, f as Sort, g as TableRef, h as TableProps, i as CommonFilterProps, l as InternalTableState, m as TableItem, n as ColumnFactory, o as FunctionWithDeps, p as SortDirection, r as ColumnGenerator, s as Id, t as Column, u as MemoizedTableTheme, v as TableStateStorage } from "./types-DqoOnlp7.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";
@@ -268,5 +268,5 @@ declare const termMatch: (text: string, query: string) => boolean;
268
268
  declare function configureTableTheme(tableTheme: PartialTableTheme): void;
269
269
  declare function mergeThemes<T$1>(...themes: PartialTableTheme<T$1>[]): PartialTableTheme<T$1>;
270
270
  //#endregion
271
- export { AutoFocusTextField, type Column, ColumnContext, CombinedFilter, type CombinedFilterProps, type CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, type FilterImplementation, type FunctionWithDeps, type Id, type InternalColumn, type PartialTableTheme, RangeFilter, SelectFilter, type Sort, type SortDirection, Table, TableContext, type TableProps, type TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, type TableStateStorage, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers_d_exports as helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
271
+ export { AutoFocusTextField, type Column, ColumnContext, type ColumnFactory, type ColumnGenerator, CombinedFilter, type CombinedFilterProps, type CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, type FilterImplementation, type FunctionWithDeps, type Id, type InternalColumn, type PartialTableTheme, RangeFilter, SelectFilter, type Sort, type SortDirection, Table, TableContext, type TableProps, type TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, type TableStateStorage, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers_d_exports as helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
272
272
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as ExporterEntry } from "./exporter-zK7PhTrL.js";
2
- import { a as Id, c as MemoizedTableTheme, d as SortDirection, f as TableItem, g as TableStateStorage, h as TableTheme, i as FunctionWithDeps, l as PartialTableTheme, m as TableRef, n as CommonFilterProps, o as InternalColumn, p as TableProps, r as FilterImplementation, s as InternalTableState, t as Column, u as Sort } from "./types-B7cBxGpR.js";
2
+ import { _ as TableTheme, a as FilterImplementation, c as InternalColumn, d as PartialTableTheme, f as Sort, g as TableRef, h as TableProps, i as CommonFilterProps, l as InternalTableState, m as TableItem, n as ColumnFactory, o as FunctionWithDeps, p as SortDirection, r as ColumnGenerator, s as Id, t as Column, u as MemoizedTableTheme, v as TableStateStorage } from "./types-BfdXNfLi.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";
@@ -266,5 +266,5 @@ declare const termMatch: (text: string, query: string) => boolean;
266
266
  declare function configureTableTheme(tableTheme: PartialTableTheme): void;
267
267
  declare function mergeThemes<T$1>(...themes: PartialTableTheme<T$1>[]): PartialTableTheme<T$1>;
268
268
  //#endregion
269
- export { AutoFocusTextField, type Column, ColumnContext, CombinedFilter, type CombinedFilterProps, type CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, type FilterImplementation, type FunctionWithDeps, type Id, type InternalColumn, type PartialTableTheme, RangeFilter, SelectFilter, type Sort, type SortDirection, Table, TableContext, type TableProps, type TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, type TableStateStorage, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers_d_exports as helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
269
+ export { AutoFocusTextField, type Column, ColumnContext, type ColumnFactory, type ColumnGenerator, CombinedFilter, type CombinedFilterProps, type CommonFilterProps, DateFilter, DatePicker, type DatePickerChangeSource, type DatePickerProps, DatePickerProvider, type DatePickerQuickOption, type DateRange, type FilterImplementation, type FunctionWithDeps, type Id, type InternalColumn, type PartialTableTheme, RangeFilter, SelectFilter, type Sort, type SortDirection, Table, TableContext, type TableProps, type TableRef, TableResetContext, TableSettingsContext, TableSettingsProvider, type TableStateStorage, TextFilter, commonQuickOptions, configureTableTheme, dateClamp, dateIntersect, endOfDay, getCalendarWeek, helpers_d_exports as helpers, lastDays, mergeThemes, startOfDay, termMatch, textMatch, thisMonth, thisWeek, thisYear, today, useColumnContext, useFilter, useTableContext, useTheme };
270
270
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -3743,16 +3743,12 @@ const Row = memo(function Row$1({ itemId, rowIndex }) {
3743
3743
  ]);
3744
3744
  useLayoutEffect(() => table.getState().props.debugRender?.("render row", itemId));
3745
3745
  if (!item) return null;
3746
- return /* @__PURE__ */ jsx(ClassNames, { children: ({ css: css$1 }) => /* @__PURE__ */ jsx(Fragment$1, { children: wrapRow({
3747
- className: css$1([
3748
- subgrid ? {
3749
- gridColumn: `1 / -1`,
3750
- display: "grid",
3751
- gridTemplateColumns: "subgrid"
3752
- } : { display: "contents" },
3753
- rowClassName,
3754
- rowStyles
3755
- ]),
3746
+ return /* @__PURE__ */ jsx(ClassNames, { children: ({ css: css$1, cx: cx$1 }) => /* @__PURE__ */ jsx(Fragment$1, { children: wrapRow({
3747
+ className: cx$1(css$1([subgrid ? {
3748
+ gridColumn: `1 / -1`,
3749
+ display: "grid",
3750
+ gridTemplateColumns: "subgrid"
3751
+ } : { display: "contents" }, rowStyles]), rowClassName),
3756
3752
  children: /* @__PURE__ */ jsxs(Fragment$1, { children: [
3757
3753
  /* @__PURE__ */ jsx("div", {
3758
3754
  className: cellClassName,