simple-table-core 3.0.0-beta.24 → 3.0.0-beta.25

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.
@@ -39,6 +39,8 @@ export interface HeaderRenderContext {
39
39
  handleApplyFilter: (filter: FilterCondition) => void;
40
40
  handleClearFilter: (accessor: Accessor) => void;
41
41
  handleSelectAll?: (checked: boolean) => void;
42
+ /** Live header tree from table state (avoids stale `headers` snapshot in long-lived handlers). */
43
+ getHeaders: () => HeaderObject[];
42
44
  headerHeight: number;
43
45
  headerRegistry?: Map<string, {
44
46
  setEditing: (editing: boolean) => void;
@@ -7,6 +7,10 @@ export interface CreateRowSeparatorOptions {
7
7
  heightOffsets?: HeightOffsets;
8
8
  customTheme?: CustomTheme;
9
9
  isSticky?: boolean;
10
+ /** Same px width as the body/sticky section (`SectionRenderer` / sticky pane); omit to use 100%. */
11
+ sectionWidthPx?: number;
10
12
  }
13
+ /** Keep separator width in sync with section layout (resize, pinned width changes). */
14
+ export declare const applyRowSeparatorSectionWidth: (separator: HTMLElement, sectionWidthPx?: number) => void;
11
15
  export declare const createRowSeparator: (options: CreateRowSeparatorOptions) => HTMLElement;
12
16
  export declare const createSpacerRow: (position: number, rowHeight: number, heightOffsets: HeightOffsets | undefined, customTheme: CustomTheme, className: string, height?: number) => HTMLElement;