/** * CELL SELECTION TESTS * Ported from React - same tests, vanilla table only. */ import type { Meta } from "@storybook/html"; declare const meta: Meta; export default meta; export declare const SingleCellSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const RangeSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const SelectionReplacement: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const ColumnHeaderSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const ClearSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const LargeRangeSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const MultipleColumnHeaderSelections: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; /** * Edge case: clicking outside the table (e.g. on document.body) should clear cell selection * and startCell, without needing to press Escape. */ export declare const OutsideClickClearsSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; /** * Edge case: when selectableColumns is true, clicking a column header should clear * any existing cell selection (and initial focused cell) so that column selection takes over. */ export declare const ColumnHeaderClickClearsCellSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; /** * Drag scroll: select a cell, then drag the cursor below the table. * The table should auto-scroll down and extend the selection as new rows come into view. */ export declare const SelectionDragScroll: { tags: string[]; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; /** * After selecting a range at the bottom, scroll slightly and verify the anchor cell * (st-cell-selected-first) is still present. Regression test for first-cell class * being lost after scroll. */ export declare const SelectionFirstCellAfterScroll: { tags: string[]; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: any; }) => Promise; }; export declare const CopySelectionWithHeaders: { parameters: { tags: string[]; }; render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const CopySelectionWithoutHeaders: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const ShiftArrowExtendsSelection: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const CtrlASelectsAllCells: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; }; export declare const HomeEndMovesWithinRow: { render: () => HTMLDivElement & { _table?: import("../../src/index").SimpleTableVanilla | undefined; }; play: ({ canvasElement }: { canvasElement: HTMLElement; }) => Promise; };