/** * AUTO EXPAND COLUMNS TESTS * Intensive tests for autoExpandColumns with pinned columns, row grouping, * column visibility, column resizing, horizontal scrolling, and edge cases. */ import type { Meta } from "@storybook/html"; declare const meta: Meta; export default meta; export declare const AutoExpandWarmUp: { parameters: { tags: string[]; }; render: () => HTMLElement; play: () => Promise; }; export declare const AutoExpandWithLeftPinned: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandWithRightPinned: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandWithBothLeftAndRightPinned: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandMultiplePinnedBothSides: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const PinnedSectionScalesWithinBounds: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandWithRowGrouping: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandGroupedExpandCollapse: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandWithNestedGrouping: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandHideColumnReexpand: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandShowColumnReexpand: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandHideMultipleThenShowOne: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandResizeOneColumnProportional: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandResizeThenReexpandOnEnd: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandResizePinnedColumn: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandResizeMultipleColumns: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Stress test: extreme resizes – shrink every column to min, then one as wide as possible, then mix. */ export declare const AutoExpandResizeMultipleColumnsStress: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandWideContainerNoHorizontalScroll: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandNarrowContainerHorizontalScroll: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandHorizontalScrollHeaderBodySync: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandScrollThenResizeStable: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandSingleColumn: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandAllPinnedNoMain: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandContainerResizeTriggersRescale: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Resize a right-pinned column with autoExpand. Delta is reversed for right-pinned. */ export declare const AutoExpandResizeRightPinnedColumn: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Resize the boundary column of a left-pinned section (rightmost pinned column). * This hits the "section boundary" code path where columnsToShrink is empty; * the section itself grows/shrinks without sibling compensation. */ export declare const AutoExpandResizePinnedBoundaryColumn: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Resize a main-section column when both left and right pinned sections exist. * Width redistribution should only affect the main section columns. */ export declare const AutoExpandResizeMainWithBothPinned: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Shrink a column all the way to minWidth with autoExpand. * The freed space should be redistributed to neighboring columns. */ export declare const AutoExpandShrinkColumnToMinWidth: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Grow a column until all siblings hit minWidth. * Growth should be clamped once there is no more shrinkable headroom. */ export declare const AutoExpandGrowUntilSiblingsAtMin: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Resize a left-pinned column with an extreme positive delta to test max section width clamping. * The pinned section should not exceed 60% of the container (single pinned) or 40% (dual). */ export declare const AutoExpandResizePinnedPastMaxSectionWidth: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Resize with both pinned sections and extreme delta to test dual-pinned max clamping (40% each). */ export declare const AutoExpandResizeDualPinnedMaxClamp: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Double-click on resize handle with autoExpand + pinned columns. * Verifies no crash and columns stay within bounds. */ export declare const AutoExpandDoubleClickResizePinned: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Last main column under autoExpand: no resize handle; prior column still has a handle. */ export declare const AutoExpandLastMainColumnNoResizeHandle: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; /** Stress test: resize across pinned and main sections in sequence, growing and shrinking. */ export declare const AutoExpandResizePinnedAndMainStress: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const AutoExpandDisabledNoExpand: { parameters: { tags: string[]; }; render: () => HTMLElement; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; };