@coldsmirk/ledger-mantine 0.9.2 → 0.10.1

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
 
2
- import { n as defaultLabels, t as DataTableLabels } from "./labels-D6GC8goU.cjs";
2
+ import { n as defaultLabels, t as DataTableLabels } from "./labels-Ck0Y2Ser.cjs";
3
3
  import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
4
4
  import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
5
5
  import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
@@ -859,6 +859,14 @@ declare module "@tanstack/react-table" {
859
859
  * Single-line truncation with a title tooltip (host vocabulary: `Text.truncate`).
860
860
  */
861
861
  truncate?: boolean;
862
+ /**
863
+ * Fit the column to its rendered content and keep it fitted as the content changes: the
864
+ * header, the rendered cells and the footer, each whole (docs/sizing.md#autosize). The fit is
865
+ * the column's width — a user's resize still wins over it, `minSize`/`maxSize` still bound it,
866
+ * and `size` holds the place until the first fit. A `truncate` column fits its typical content
867
+ * and leaves the outliers to the ellipsis.
868
+ */
869
+ autosize?: boolean;
862
870
  /**
863
871
  * Header filter UI: a variant shorthand, a config, or a fully custom renderer.
864
872
  */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { n as defaultLabels, t as DataTableLabels } from "./labels-D6GC8goU.js";
2
+ import { n as defaultLabels, t as DataTableLabels } from "./labels-Ck0Y2Ser.js";
3
3
  import { BoxProps, ComboboxData, ElementProps, Factory, MantineBreakpoint, MantineColor, MantineRadius, MantineSize, MantineSpacing, PopoverProps, StylesApiProps, TableTdProps, TableThProps, TableTrProps, TextInputProps } from "@mantine/core";
4
4
  import { CSSProperties, ComponentProps, ComponentType, JSX as JSX$1, KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref } from "react";
5
5
  import { Cell as Cell$1, CellData, Column as Column$1, ColumnDef as ColumnDef$1, ColumnFiltersState, ColumnFiltersState as ColumnFiltersState$1, ColumnOrderState, ColumnOrderState as ColumnOrderState$1, ColumnPinningState, ColumnPinningState as ColumnPinningState$1, ColumnSizingState, ColumnSizingState as ColumnSizingState$1, ColumnVisibilityState, ColumnVisibilityState as ColumnVisibilityState$1, ExpandedState, ExpandedState as ExpandedState$1, FilterFn, FilterFnOption, GroupingState, GroupingState as GroupingState$1, Header as Header$1, HeaderGroup as HeaderGroup$1, PaginationState, PaginationState as PaginationState$1, ReactTable, Row as Row$1, RowData, RowData as RowData$1, RowPinningState, RowPinningState as RowPinningState$1, RowSelectionState, RowSelectionState as RowSelectionState$1, SortingState, SortingState as SortingState$1, TableFeatures, TableOptions, aggregationFn_count, aggregationFn_extent, aggregationFn_first, aggregationFn_last, aggregationFn_max, aggregationFn_mean, aggregationFn_median, aggregationFn_min, aggregationFn_sum, aggregationFn_unique, aggregationFn_uniqueCount, flexRender } from "@tanstack/react-table";
@@ -859,6 +859,14 @@ declare module "@tanstack/react-table" {
859
859
  * Single-line truncation with a title tooltip (host vocabulary: `Text.truncate`).
860
860
  */
861
861
  truncate?: boolean;
862
+ /**
863
+ * Fit the column to its rendered content and keep it fitted as the content changes: the
864
+ * header, the rendered cells and the footer, each whole (docs/sizing.md#autosize). The fit is
865
+ * the column's width — a user's resize still wins over it, `minSize`/`maxSize` still bound it,
866
+ * and `size` holds the place until the first fit. A `truncate` column fits its typical content
867
+ * and leaves the outliers to the ellipsis.
868
+ */
869
+ autosize?: boolean;
862
870
  /**
863
871
  * Header filter UI: a variant shorthand, a config, or a fully custom renderer.
864
872
  */