simple-table-core 2.6.3 → 3.0.0-beta.6
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/cjs/index.js +1 -1
- package/dist/cjs/src/core/SimpleTableVanilla.d.ts +71 -0
- package/dist/cjs/src/core/api/TableAPIImpl.d.ts +44 -0
- package/dist/cjs/src/core/dom/DOMManager.d.ts +50 -0
- package/dist/cjs/src/core/initialization/TableInitializer.d.ts +30 -0
- package/dist/cjs/src/core/rendering/RenderOrchestrator.d.ts +123 -0
- package/dist/cjs/src/core/rendering/SectionRenderer.d.ts +61 -0
- package/dist/cjs/src/core/rendering/TableRenderer.d.ts +89 -0
- package/dist/cjs/src/hooks/ariaAnnouncements.d.ts +37 -0
- package/dist/cjs/src/hooks/contentHeight.d.ts +23 -0
- package/dist/cjs/src/hooks/expandedDepths.d.ts +65 -0
- package/dist/cjs/src/hooks/handleOutsideClick.d.ts +50 -0
- package/dist/cjs/src/hooks/previousValue.d.ts +30 -0
- package/dist/cjs/src/hooks/scrollbarVisibility.d.ts +65 -0
- package/dist/cjs/src/hooks/scrollbarWidth.d.ts +52 -0
- package/dist/cjs/src/hooks/useAggregatedRows.d.ts +14 -0
- package/dist/cjs/src/hooks/useQuickFilter.d.ts +14 -0
- package/dist/cjs/src/hooks/windowResize.d.ts +31 -0
- package/dist/cjs/src/icons/AngleDownIcon.d.ts +1 -0
- package/dist/cjs/src/icons/AngleLeftIcon.d.ts +1 -0
- package/dist/cjs/src/icons/AngleRightIcon.d.ts +1 -0
- package/dist/cjs/src/icons/AngleUpIcon.d.ts +1 -0
- package/dist/cjs/src/icons/AscIcon.d.ts +1 -0
- package/dist/cjs/src/icons/CheckIcon.d.ts +1 -0
- package/dist/cjs/src/icons/DescIcon.d.ts +1 -0
- package/dist/cjs/src/icons/DragIcon.d.ts +1 -0
- package/dist/cjs/src/icons/FilterIcon.d.ts +1 -0
- package/dist/cjs/src/icons/SelectIcon.d.ts +1 -0
- package/dist/cjs/src/icons/index.d.ts +14 -0
- package/dist/cjs/src/index.d.ts +48 -0
- package/dist/cjs/src/managers/AutoScaleManager.d.ts +26 -0
- package/dist/cjs/src/managers/ColumnManager.d.ts +42 -0
- package/dist/cjs/src/managers/DimensionManager.d.ts +42 -0
- package/dist/cjs/src/managers/DragHandlerManager.d.ts +44 -0
- package/dist/cjs/src/managers/FilterManager.d.ts +36 -0
- package/dist/cjs/src/managers/RowManager.d.ts +56 -0
- package/dist/cjs/src/managers/RowSelectionManager.d.ts +36 -0
- package/dist/cjs/src/managers/ScrollManager.d.ts +35 -0
- package/dist/cjs/src/managers/SectionScrollController.d.ts +50 -0
- package/dist/cjs/src/managers/SelectionManager/SelectionManager.d.ts +246 -0
- package/dist/cjs/src/managers/SelectionManager/index.d.ts +2 -0
- package/dist/cjs/src/managers/SelectionManager/keyboardUtils.d.ts +7 -0
- package/dist/cjs/src/managers/SelectionManager/mouseUtils.d.ts +15 -0
- package/dist/cjs/src/managers/SelectionManager/selectionRangeUtils.d.ts +7 -0
- package/dist/cjs/src/managers/SelectionManager/types.d.ts +22 -0
- package/dist/cjs/src/managers/SortManager.d.ts +42 -0
- package/dist/cjs/src/managers/TableManager.d.ts +72 -0
- package/dist/cjs/src/types/AggregationTypes.d.ts +8 -0
- package/dist/cjs/src/types/CellRendererProps.d.ts +32 -0
- package/dist/cjs/src/types/CellValue.d.ts +2 -0
- package/dist/cjs/src/types/ColumnEditorConfig.d.ts +32 -0
- package/dist/cjs/src/types/ColumnEditorRowRendererProps.d.ts +39 -0
- package/dist/cjs/src/types/DragHandlerProps.d.ts +14 -0
- package/dist/cjs/src/types/FlattenedHeader.d.ts +10 -0
- package/dist/cjs/src/types/FooterRendererProps.d.ts +17 -0
- package/dist/cjs/src/types/HandleResizeStartProps.d.ts +21 -0
- package/dist/cjs/src/types/HeaderDropdownProps.d.ts +14 -0
- package/dist/cjs/src/types/HeaderRendererProps.d.ts +17 -0
- package/dist/cjs/src/types/IconsConfig.d.ts +19 -0
- package/dist/cjs/src/types/OnRowGroupExpandProps.d.ts +16 -0
- package/dist/cjs/src/types/PanelSection.d.ts +1 -0
- package/dist/cjs/src/types/PinnedSectionsState.d.ts +6 -0
- package/dist/cjs/src/types/RowButton.d.ts +6 -0
- package/dist/cjs/src/types/RowStateRendererProps.d.ts +18 -0
- package/dist/cjs/src/types/SharedTableProps.d.ts +24 -0
- package/dist/cjs/src/types/SimpleTableConfig.d.ts +88 -0
- package/dist/cjs/src/types/SimpleTableProps.d.ts +99 -0
- package/dist/cjs/src/types/TableAPI.d.ts +57 -0
- package/dist/cjs/src/types/TableBodyProps.d.ts +20 -0
- package/dist/cjs/src/types/TableHeaderProps.d.ts +17 -0
- package/dist/cjs/src/types/TableHeaderSectionProps.d.ts +19 -0
- package/dist/cjs/src/types/TableRefType.d.ts +78 -0
- package/dist/cjs/src/types/TableRowProps.d.ts +29 -0
- package/dist/cjs/src/utils/bodyCell/content.d.ts +5 -0
- package/dist/cjs/src/utils/bodyCell/editing.d.ts +4 -0
- package/dist/cjs/src/utils/bodyCell/editors/booleanDropdown.d.ts +2 -0
- package/dist/cjs/src/utils/bodyCell/editors/datePicker.d.ts +2 -0
- package/dist/cjs/src/utils/bodyCell/editors/dropdown.d.ts +18 -0
- package/dist/cjs/src/utils/bodyCell/editors/enumDropdown.d.ts +2 -0
- package/dist/cjs/src/utils/bodyCell/eventTracking.d.ts +3 -0
- package/dist/cjs/src/utils/bodyCell/expansion.d.ts +4 -0
- package/dist/cjs/src/utils/bodyCell/selection.d.ts +7 -0
- package/dist/cjs/src/utils/bodyCell/styling.d.ts +5 -0
- package/dist/cjs/src/utils/bodyCell/types.d.ts +103 -0
- package/dist/cjs/src/utils/bodyCellRenderer.d.ts +5 -0
- package/dist/cjs/src/utils/charts/createBarChart.d.ts +15 -0
- package/dist/cjs/src/utils/charts/createLineAreaChart.d.ts +17 -0
- package/dist/cjs/src/utils/columnEditor/columnEditorUtils.d.ts +14 -0
- package/dist/cjs/src/utils/columnEditor/createCheckbox.d.ts +21 -0
- package/dist/cjs/src/utils/columnEditor/createColumnEditor.d.ts +25 -0
- package/dist/cjs/src/utils/columnEditor/createColumnEditorPopout.d.ts +22 -0
- package/dist/cjs/src/utils/columnEditor/createColumnEditorRow.d.ts +31 -0
- package/dist/cjs/src/utils/columnVirtualizationUtils.d.ts +128 -0
- package/dist/cjs/src/utils/deprecatedPropsWarnings.d.ts +10 -0
- package/dist/cjs/src/utils/filters/createBooleanFilter.d.ts +15 -0
- package/dist/cjs/src/utils/filters/createCustomSelect.d.ts +20 -0
- package/dist/cjs/src/utils/filters/createDateFilter.d.ts +15 -0
- package/dist/cjs/src/utils/filters/createDatePicker.d.ts +10 -0
- package/dist/cjs/src/utils/filters/createDropdown.d.ts +16 -0
- package/dist/cjs/src/utils/filters/createEnumFilter.d.ts +15 -0
- package/dist/cjs/src/utils/filters/createFilterActions.d.ts +11 -0
- package/dist/cjs/src/utils/filters/createFilterDropdown.d.ts +15 -0
- package/dist/cjs/src/utils/filters/createFilterInput.d.ts +16 -0
- package/dist/cjs/src/utils/filters/createNumberFilter.d.ts +15 -0
- package/dist/cjs/src/utils/filters/createStringFilter.d.ts +15 -0
- package/dist/cjs/src/utils/footer/createTableFooter.d.ts +21 -0
- package/dist/cjs/src/utils/headerCell/collapsing.d.ts +6 -0
- package/dist/cjs/src/utils/headerCell/dragging.d.ts +5 -0
- package/dist/cjs/src/utils/headerCell/editing.d.ts +4 -0
- package/dist/cjs/src/utils/headerCell/eventTracking.d.ts +25 -0
- package/dist/cjs/src/utils/headerCell/filtering.d.ts +3 -0
- package/dist/cjs/src/utils/headerCell/resizing.d.ts +3 -0
- package/dist/cjs/src/utils/headerCell/selection.d.ts +10 -0
- package/dist/cjs/src/utils/headerCell/sorting.d.ts +3 -0
- package/dist/cjs/src/utils/headerCell/styling.d.ts +5 -0
- package/dist/cjs/src/utils/headerCell/types.d.ts +75 -0
- package/dist/cjs/src/utils/headerCellRenderer.d.ts +4 -0
- package/dist/cjs/src/utils/headerWidthUtils.d.ts +56 -0
- package/dist/cjs/src/utils/horizontalScrollbarRenderer.d.ts +14 -0
- package/dist/cjs/src/utils/nestedGridRowRenderer.d.ts +34 -0
- package/dist/cjs/src/utils/pinnedColumnUtils.d.ts +25 -0
- package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +21 -0
- package/dist/cjs/src/utils/resizeUtils/compensation.d.ts +11 -0
- package/dist/cjs/src/utils/resizeUtils/domUpdates.d.ts +15 -0
- package/dist/cjs/src/utils/resizeUtils/index.d.ts +5 -0
- package/dist/cjs/src/utils/resizeUtils/maxWidth.d.ts +9 -0
- package/dist/cjs/src/utils/resizeUtils/parentHeaderResize.d.ts +11 -0
- package/dist/cjs/src/utils/resizeUtils/sectionWidths.d.ts +16 -0
- package/dist/cjs/src/utils/rowFlattening.d.ts +30 -0
- package/dist/cjs/src/utils/rowProcessing.d.ts +36 -0
- package/dist/cjs/src/utils/rowSeparatorRenderer.d.ts +12 -0
- package/dist/cjs/src/utils/stateRowRenderer.d.ts +15 -0
- package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +30 -0
- package/dist/cjs/stories/SimpleTable.stories.d.ts +62 -0
- package/dist/cjs/stories/data/aggregate-data.d.ts +5 -0
- package/dist/cjs/stories/data/athlete-data.d.ts +3 -0
- package/dist/cjs/stories/data/retail-data.d.ts +3 -0
- package/dist/cjs/stories/data/saas-data.d.ts +6 -0
- package/dist/cjs/stories/data/space-data.d.ts +3 -0
- package/dist/cjs/stories/examples/AdvancedSortingExample.d.ts +6 -0
- package/dist/cjs/stories/examples/AggregateExample.d.ts +7 -0
- package/dist/cjs/stories/examples/AlignmentExample.d.ts +10 -0
- package/dist/cjs/stories/examples/AutoExpandColumnsExample.d.ts +7 -0
- package/dist/cjs/stories/examples/BasicExample.d.ts +11 -0
- package/dist/cjs/stories/examples/BasicRowGrouping.d.ts +7 -0
- package/dist/cjs/stories/examples/CSVExportFormattingExample.d.ts +12 -0
- package/dist/cjs/stories/examples/CSVExportSingleRowChildrenExample.d.ts +6 -0
- package/dist/cjs/stories/examples/CellHighlighting.d.ts +7 -0
- package/dist/cjs/stories/examples/CellRenderer.d.ts +7 -0
- package/dist/cjs/stories/examples/ChartsExample.d.ts +13 -0
- package/dist/cjs/stories/examples/ClayExample.d.ts +14 -0
- package/dist/cjs/stories/examples/ClipboardFormattingExample.d.ts +12 -0
- package/dist/cjs/stories/examples/CollapsibleColumnsExample.d.ts +9 -0
- package/dist/cjs/stories/examples/ColumnVisibilityAPIExample.d.ts +7 -0
- package/dist/cjs/stories/examples/ColumnWidthChangeExample.d.ts +6 -0
- package/dist/cjs/stories/examples/CustomHeaderRenderingExample.d.ts +2 -0
- package/dist/cjs/stories/examples/DynamicHeadersExample.d.ts +5 -0
- package/dist/cjs/stories/examples/DynamicNestedTableExample.d.ts +5 -0
- package/dist/cjs/stories/examples/DynamicRowLoadingExample.d.ts +5 -0
- package/dist/cjs/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +6 -0
- package/dist/cjs/stories/examples/EditableCells.d.ts +8 -0
- package/dist/cjs/stories/examples/ExpansionControlExample.d.ts +6 -0
- package/dist/cjs/stories/examples/ExternalFilterExample.d.ts +5 -0
- package/dist/cjs/stories/examples/ExternalSortExample.d.ts +6 -0
- package/dist/cjs/stories/examples/HeaderInclusionExample.d.ts +5 -0
- package/dist/cjs/stories/examples/HiddenColumnsExample.d.ts +9 -0
- package/dist/cjs/stories/examples/InfiniteScroll.d.ts +5 -0
- package/dist/cjs/stories/examples/LiveUpdates.d.ts +5 -0
- package/dist/cjs/stories/examples/LoadingStateExample.d.ts +2 -0
- package/dist/cjs/stories/examples/NestedAccessorExample.d.ts +8 -0
- package/dist/cjs/stories/examples/NestedGridExample.d.ts +5 -0
- package/dist/cjs/stories/examples/Pagination.d.ts +12 -0
- package/dist/cjs/stories/examples/PaginationAPIExample.d.ts +8 -0
- package/dist/cjs/stories/examples/ProgrammaticFilterExample.d.ts +5 -0
- package/dist/cjs/stories/examples/ProgrammaticSortExample.d.ts +5 -0
- package/dist/cjs/stories/examples/QuickFilterExample.d.ts +5 -0
- package/dist/cjs/stories/examples/RowButtonsExample.d.ts +14 -0
- package/dist/cjs/stories/examples/RowHeightExample.d.ts +8 -0
- package/dist/cjs/stories/examples/RowSelectionExample.d.ts +10 -0
- package/dist/cjs/stories/examples/SelectableCells.d.ts +14 -0
- package/dist/cjs/stories/examples/ServerSidePaginationExample.d.ts +2 -0
- package/dist/cjs/stories/examples/Theming.d.ts +12 -0
- package/dist/cjs/stories/examples/TooltipExample.d.ts +8 -0
- package/dist/cjs/stories/examples/billing-example/BillingExample.d.ts +13 -0
- package/dist/cjs/stories/examples/billing-example/billing-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/custom-theme/CustomThemeDemo.d.ts +2 -0
- package/dist/cjs/stories/examples/filter-example/FilterExample.d.ts +9 -0
- package/dist/cjs/stories/examples/filter-example/filter-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/finance-example/FinancialExample.d.ts +8 -0
- package/dist/cjs/stories/examples/finance-example/finance-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/infrastructure/InfrastructureExample.d.ts +8 -0
- package/dist/cjs/stories/examples/infrastructure/infrastructure-data.d.ts +5 -0
- package/dist/cjs/stories/examples/infrastructure/infrastructure-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/leads/LeadsExample.d.ts +8 -0
- package/dist/cjs/stories/examples/leads/leads-data.d.ts +5 -0
- package/dist/cjs/stories/examples/leads/leads-headers.d.ts +6 -0
- package/dist/cjs/stories/examples/manufacturing/ManufacturingExample.d.ts +10 -0
- package/dist/cjs/stories/examples/manufacturing/manufacturing-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/music/MusicExample.d.ts +13 -0
- package/dist/cjs/stories/examples/music/music-headers.d.ts +5 -0
- package/dist/cjs/stories/examples/pinned-columns/PinnedColumns.d.ts +11 -0
- package/dist/cjs/stories/examples/row-grouping/RowGrouping.d.ts +8 -0
- package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +11 -0
- package/dist/cjs/stories/examples/sales-example/sales-headers.d.ts +6 -0
- package/dist/cjs/stories/tests/01-BasicStructureTests.stories.d.ts +119 -0
- package/dist/cjs/stories/tests/02-ColumnSortingTests.stories.d.ts +114 -0
- package/dist/cjs/stories/tests/03-ColumnFilteringTests.stories.d.ts +70 -0
- package/dist/cjs/stories/tests/04-PaginationTests.stories.d.ts +94 -0
- package/dist/cjs/stories/tests/05-RowGroupingTests.stories.d.ts +134 -0
- package/dist/cjs/stories/tests/06-CellEditingTests.stories.d.ts +61 -0
- package/dist/cjs/stories/tests/07-RowSelectionTests.stories.d.ts +68 -0
- package/dist/cjs/stories/tests/08-ColumnWidthTests.stories.d.ts +95 -0
- package/dist/cjs/stories/tests/09-ColumnAlignmentTests.stories.d.ts +61 -0
- package/dist/cjs/stories/tests/10-ColumnPinningTests.stories.d.ts +106 -0
- package/dist/cjs/stories/tests/11-ColumnReorderingTests.stories.d.ts +122 -0
- package/dist/cjs/stories/tests/12-CellSelectionTests.stories.d.ts +157 -0
- package/dist/cjs/stories/tests/13-ColumnResizeTests.stories.d.ts +62 -0
- package/dist/cjs/stories/tests/14-LiveUpdatesTests.stories.d.ts +28 -0
- package/dist/cjs/stories/tests/15-ColumnVisibilityTests.stories.d.ts +127 -0
- package/dist/cjs/stories/tests/16-CsvExportTests.stories.d.ts +133 -0
- package/dist/cjs/stories/tests/17-NestedTablesTests.stories.d.ts +47 -0
- package/dist/cjs/stories/tests/18-QuickFilterTests.stories.d.ts +101 -0
- package/dist/cjs/stories/tests/19-AccessibilityTests.stories.d.ts +39 -0
- package/dist/cjs/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +104 -0
- package/dist/cjs/stories/tests/21-ColumnSelectionTests.stories.d.ts +31 -0
- package/dist/cjs/stories/tests/22-LoadingStateTests.stories.d.ts +31 -0
- package/dist/cjs/stories/tests/23-EmptyStateTests.stories.d.ts +39 -0
- package/dist/cjs/stories/tests/24-FooterRendererTests.stories.d.ts +55 -0
- package/dist/cjs/stories/tests/25-HeaderRendererTests.stories.d.ts +50 -0
- package/dist/cjs/stories/tests/26-CellRendererTests.stories.d.ts +55 -0
- package/dist/cjs/stories/tests/27-ValueFormatterTests.stories.d.ts +53 -0
- package/dist/cjs/stories/tests/28-CellClickTests.stories.d.ts +23 -0
- package/dist/cjs/stories/tests/29-TooltipsTests.stories.d.ts +31 -0
- package/dist/cjs/stories/tests/30-AggregateFunctionsTests.stories.d.ts +63 -0
- package/dist/cjs/stories/tests/31-ChartColumnsTests.stories.d.ts +54 -0
- package/dist/cjs/stories/tests/32-ThemesTests.stories.d.ts +95 -0
- package/dist/cjs/stories/tests/33-CustomThemeTests.stories.d.ts +150 -0
- package/dist/cjs/stories/tests/34-CustomIconsTests.stories.d.ts +63 -0
- package/dist/cjs/stories/tests/35-HideHeaderFooterTests.stories.d.ts +31 -0
- package/dist/cjs/stories/tests/36-InfiniteScrollTests.stories.d.ts +23 -0
- package/dist/cjs/stories/tests/37-TableRefMethodsTests.stories.d.ts +115 -0
- package/dist/cjs/stories/tests/38-NestedHeadersTests.stories.d.ts +23 -0
- package/dist/cjs/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +258 -0
- package/dist/cjs/stories/tests/testUtils.d.ts +31 -0
- package/dist/cjs/stories/utils.d.ts +29 -0
- package/dist/cjs/stories/vanillaStoryConfig.d.ts +154 -0
- package/dist/cjs/styles.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/src/core/SimpleTableVanilla.d.ts +71 -0
- package/dist/src/core/api/TableAPIImpl.d.ts +44 -0
- package/dist/src/core/dom/DOMManager.d.ts +50 -0
- package/dist/src/core/initialization/TableInitializer.d.ts +30 -0
- package/dist/src/core/rendering/RenderOrchestrator.d.ts +123 -0
- package/dist/src/core/rendering/SectionRenderer.d.ts +61 -0
- package/dist/src/core/rendering/TableRenderer.d.ts +89 -0
- package/dist/src/hooks/ariaAnnouncements.d.ts +37 -0
- package/dist/src/hooks/contentHeight.d.ts +23 -0
- package/dist/src/hooks/expandedDepths.d.ts +65 -0
- package/dist/src/hooks/handleOutsideClick.d.ts +50 -0
- package/dist/src/hooks/previousValue.d.ts +30 -0
- package/dist/src/hooks/scrollbarVisibility.d.ts +65 -0
- package/dist/src/hooks/scrollbarWidth.d.ts +52 -0
- package/dist/src/hooks/useAggregatedRows.d.ts +14 -0
- package/dist/src/hooks/useQuickFilter.d.ts +14 -0
- package/dist/src/hooks/windowResize.d.ts +31 -0
- package/dist/src/icons/AngleDownIcon.d.ts +1 -0
- package/dist/src/icons/AngleLeftIcon.d.ts +1 -0
- package/dist/src/icons/AngleRightIcon.d.ts +1 -0
- package/dist/src/icons/AngleUpIcon.d.ts +1 -0
- package/dist/src/icons/AscIcon.d.ts +1 -0
- package/dist/src/icons/CheckIcon.d.ts +1 -0
- package/dist/src/icons/DescIcon.d.ts +1 -0
- package/dist/src/icons/DragIcon.d.ts +1 -0
- package/dist/src/icons/FilterIcon.d.ts +1 -0
- package/dist/src/icons/SelectIcon.d.ts +1 -0
- package/dist/src/icons/index.d.ts +14 -0
- package/dist/src/index.d.ts +48 -0
- package/dist/src/managers/AutoScaleManager.d.ts +26 -0
- package/dist/src/managers/ColumnManager.d.ts +42 -0
- package/dist/src/managers/DimensionManager.d.ts +42 -0
- package/dist/src/managers/DragHandlerManager.d.ts +44 -0
- package/dist/src/managers/FilterManager.d.ts +36 -0
- package/dist/src/managers/RowManager.d.ts +56 -0
- package/dist/src/managers/RowSelectionManager.d.ts +36 -0
- package/dist/src/managers/ScrollManager.d.ts +35 -0
- package/dist/src/managers/SectionScrollController.d.ts +50 -0
- package/dist/src/managers/SelectionManager/SelectionManager.d.ts +246 -0
- package/dist/src/managers/SelectionManager/index.d.ts +2 -0
- package/dist/src/managers/SelectionManager/keyboardUtils.d.ts +7 -0
- package/dist/src/managers/SelectionManager/mouseUtils.d.ts +15 -0
- package/dist/src/managers/SelectionManager/selectionRangeUtils.d.ts +7 -0
- package/dist/src/managers/SelectionManager/types.d.ts +22 -0
- package/dist/src/managers/SortManager.d.ts +42 -0
- package/dist/src/managers/TableManager.d.ts +72 -0
- package/dist/src/types/AggregationTypes.d.ts +8 -0
- package/dist/src/types/CellRendererProps.d.ts +32 -0
- package/dist/src/types/CellValue.d.ts +2 -0
- package/dist/src/types/ColumnEditorConfig.d.ts +32 -0
- package/dist/src/types/ColumnEditorRowRendererProps.d.ts +39 -0
- package/dist/src/types/DragHandlerProps.d.ts +14 -0
- package/dist/src/types/FlattenedHeader.d.ts +10 -0
- package/dist/src/types/FooterRendererProps.d.ts +17 -0
- package/dist/src/types/HandleResizeStartProps.d.ts +21 -0
- package/dist/src/types/HeaderDropdownProps.d.ts +14 -0
- package/dist/src/types/HeaderRendererProps.d.ts +17 -0
- package/dist/src/types/IconsConfig.d.ts +19 -0
- package/dist/src/types/OnRowGroupExpandProps.d.ts +16 -0
- package/dist/src/types/PanelSection.d.ts +1 -0
- package/dist/src/types/PinnedSectionsState.d.ts +6 -0
- package/dist/src/types/RowButton.d.ts +6 -0
- package/dist/src/types/RowStateRendererProps.d.ts +18 -0
- package/dist/src/types/SharedTableProps.d.ts +24 -0
- package/dist/src/types/SimpleTableConfig.d.ts +88 -0
- package/dist/src/types/SimpleTableProps.d.ts +99 -0
- package/dist/src/types/TableAPI.d.ts +57 -0
- package/dist/src/types/TableBodyProps.d.ts +20 -0
- package/dist/src/types/TableHeaderProps.d.ts +17 -0
- package/dist/src/types/TableHeaderSectionProps.d.ts +19 -0
- package/dist/src/types/TableRefType.d.ts +78 -0
- package/dist/src/types/TableRowProps.d.ts +29 -0
- package/dist/src/utils/bodyCell/content.d.ts +5 -0
- package/dist/src/utils/bodyCell/editing.d.ts +4 -0
- package/dist/src/utils/bodyCell/editors/booleanDropdown.d.ts +2 -0
- package/dist/src/utils/bodyCell/editors/datePicker.d.ts +2 -0
- package/dist/src/utils/bodyCell/editors/dropdown.d.ts +18 -0
- package/dist/src/utils/bodyCell/editors/enumDropdown.d.ts +2 -0
- package/dist/src/utils/bodyCell/eventTracking.d.ts +3 -0
- package/dist/src/utils/bodyCell/expansion.d.ts +4 -0
- package/dist/src/utils/bodyCell/selection.d.ts +7 -0
- package/dist/src/utils/bodyCell/styling.d.ts +5 -0
- package/dist/src/utils/bodyCell/types.d.ts +103 -0
- package/dist/src/utils/bodyCellRenderer.d.ts +5 -0
- package/dist/src/utils/charts/createBarChart.d.ts +15 -0
- package/dist/src/utils/charts/createLineAreaChart.d.ts +17 -0
- package/dist/src/utils/columnEditor/columnEditorUtils.d.ts +14 -0
- package/dist/src/utils/columnEditor/createCheckbox.d.ts +21 -0
- package/dist/src/utils/columnEditor/createColumnEditor.d.ts +25 -0
- package/dist/src/utils/columnEditor/createColumnEditorPopout.d.ts +22 -0
- package/dist/src/utils/columnEditor/createColumnEditorRow.d.ts +31 -0
- package/dist/src/utils/columnVirtualizationUtils.d.ts +128 -0
- package/dist/src/utils/deprecatedPropsWarnings.d.ts +10 -0
- package/dist/src/utils/filters/createBooleanFilter.d.ts +15 -0
- package/dist/src/utils/filters/createCustomSelect.d.ts +20 -0
- package/dist/src/utils/filters/createDateFilter.d.ts +15 -0
- package/dist/src/utils/filters/createDatePicker.d.ts +10 -0
- package/dist/src/utils/filters/createDropdown.d.ts +16 -0
- package/dist/src/utils/filters/createEnumFilter.d.ts +15 -0
- package/dist/src/utils/filters/createFilterActions.d.ts +11 -0
- package/dist/src/utils/filters/createFilterDropdown.d.ts +15 -0
- package/dist/src/utils/filters/createFilterInput.d.ts +16 -0
- package/dist/src/utils/filters/createNumberFilter.d.ts +15 -0
- package/dist/src/utils/filters/createStringFilter.d.ts +15 -0
- package/dist/src/utils/footer/createTableFooter.d.ts +21 -0
- package/dist/src/utils/headerCell/collapsing.d.ts +6 -0
- package/dist/src/utils/headerCell/dragging.d.ts +5 -0
- package/dist/src/utils/headerCell/editing.d.ts +4 -0
- package/dist/src/utils/headerCell/eventTracking.d.ts +25 -0
- package/dist/src/utils/headerCell/filtering.d.ts +3 -0
- package/dist/src/utils/headerCell/resizing.d.ts +3 -0
- package/dist/src/utils/headerCell/selection.d.ts +10 -0
- package/dist/src/utils/headerCell/sorting.d.ts +3 -0
- package/dist/src/utils/headerCell/styling.d.ts +5 -0
- package/dist/src/utils/headerCell/types.d.ts +75 -0
- package/dist/src/utils/headerCellRenderer.d.ts +4 -0
- package/dist/src/utils/headerWidthUtils.d.ts +56 -0
- package/dist/src/utils/horizontalScrollbarRenderer.d.ts +14 -0
- package/dist/src/utils/nestedGridRowRenderer.d.ts +34 -0
- package/dist/src/utils/pinnedColumnUtils.d.ts +25 -0
- package/dist/src/utils/resizeUtils/autoExpandResize.d.ts +21 -0
- package/dist/src/utils/resizeUtils/compensation.d.ts +11 -0
- package/dist/src/utils/resizeUtils/domUpdates.d.ts +15 -0
- package/dist/src/utils/resizeUtils/index.d.ts +5 -0
- package/dist/src/utils/resizeUtils/maxWidth.d.ts +9 -0
- package/dist/src/utils/resizeUtils/parentHeaderResize.d.ts +11 -0
- package/dist/src/utils/resizeUtils/sectionWidths.d.ts +16 -0
- package/dist/src/utils/rowFlattening.d.ts +30 -0
- package/dist/src/utils/rowProcessing.d.ts +36 -0
- package/dist/src/utils/rowSeparatorRenderer.d.ts +12 -0
- package/dist/src/utils/stateRowRenderer.d.ts +15 -0
- package/dist/src/utils/stickyParentsRenderer.d.ts +30 -0
- package/dist/stories/SimpleTable.stories.d.ts +62 -0
- package/dist/stories/data/aggregate-data.d.ts +5 -0
- package/dist/stories/data/athlete-data.d.ts +3 -0
- package/dist/stories/data/retail-data.d.ts +3 -0
- package/dist/stories/data/saas-data.d.ts +6 -0
- package/dist/stories/data/space-data.d.ts +3 -0
- package/dist/stories/examples/AdvancedSortingExample.d.ts +6 -0
- package/dist/stories/examples/AggregateExample.d.ts +7 -0
- package/dist/stories/examples/AlignmentExample.d.ts +10 -0
- package/dist/stories/examples/AutoExpandColumnsExample.d.ts +7 -0
- package/dist/stories/examples/BasicExample.d.ts +11 -0
- package/dist/stories/examples/BasicRowGrouping.d.ts +7 -0
- package/dist/stories/examples/CSVExportFormattingExample.d.ts +12 -0
- package/dist/stories/examples/CSVExportSingleRowChildrenExample.d.ts +6 -0
- package/dist/stories/examples/CellHighlighting.d.ts +7 -0
- package/dist/stories/examples/CellRenderer.d.ts +7 -0
- package/dist/stories/examples/ChartsExample.d.ts +13 -0
- package/dist/stories/examples/ClayExample.d.ts +14 -0
- package/dist/stories/examples/ClipboardFormattingExample.d.ts +12 -0
- package/dist/stories/examples/CollapsibleColumnsExample.d.ts +9 -0
- package/dist/stories/examples/ColumnVisibilityAPIExample.d.ts +7 -0
- package/dist/stories/examples/ColumnWidthChangeExample.d.ts +6 -0
- package/dist/stories/examples/CustomHeaderRenderingExample.d.ts +2 -0
- package/dist/stories/examples/DynamicHeadersExample.d.ts +5 -0
- package/dist/stories/examples/DynamicNestedTableExample.d.ts +5 -0
- package/dist/stories/examples/DynamicRowLoadingExample.d.ts +5 -0
- package/dist/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +6 -0
- package/dist/stories/examples/EditableCells.d.ts +8 -0
- package/dist/stories/examples/ExpansionControlExample.d.ts +6 -0
- package/dist/stories/examples/ExternalFilterExample.d.ts +5 -0
- package/dist/stories/examples/ExternalSortExample.d.ts +6 -0
- package/dist/stories/examples/HeaderInclusionExample.d.ts +5 -0
- package/dist/stories/examples/HiddenColumnsExample.d.ts +9 -0
- package/dist/stories/examples/InfiniteScroll.d.ts +5 -0
- package/dist/stories/examples/LiveUpdates.d.ts +5 -0
- package/dist/stories/examples/LoadingStateExample.d.ts +2 -0
- package/dist/stories/examples/NestedAccessorExample.d.ts +8 -0
- package/dist/stories/examples/NestedGridExample.d.ts +5 -0
- package/dist/stories/examples/Pagination.d.ts +12 -0
- package/dist/stories/examples/PaginationAPIExample.d.ts +8 -0
- package/dist/stories/examples/ProgrammaticFilterExample.d.ts +5 -0
- package/dist/stories/examples/ProgrammaticSortExample.d.ts +5 -0
- package/dist/stories/examples/QuickFilterExample.d.ts +5 -0
- package/dist/stories/examples/RowButtonsExample.d.ts +14 -0
- package/dist/stories/examples/RowHeightExample.d.ts +8 -0
- package/dist/stories/examples/RowSelectionExample.d.ts +10 -0
- package/dist/stories/examples/SelectableCells.d.ts +14 -0
- package/dist/stories/examples/ServerSidePaginationExample.d.ts +2 -0
- package/dist/stories/examples/Theming.d.ts +12 -0
- package/dist/stories/examples/TooltipExample.d.ts +8 -0
- package/dist/stories/examples/billing-example/BillingExample.d.ts +13 -0
- package/dist/stories/examples/billing-example/billing-headers.d.ts +5 -0
- package/dist/stories/examples/custom-theme/CustomThemeDemo.d.ts +2 -0
- package/dist/stories/examples/filter-example/FilterExample.d.ts +9 -0
- package/dist/stories/examples/filter-example/filter-headers.d.ts +5 -0
- package/dist/stories/examples/finance-example/FinancialExample.d.ts +8 -0
- package/dist/stories/examples/finance-example/finance-headers.d.ts +5 -0
- package/dist/stories/examples/infrastructure/InfrastructureExample.d.ts +8 -0
- package/dist/stories/examples/infrastructure/infrastructure-data.d.ts +5 -0
- package/dist/stories/examples/infrastructure/infrastructure-headers.d.ts +5 -0
- package/dist/stories/examples/leads/LeadsExample.d.ts +8 -0
- package/dist/stories/examples/leads/leads-data.d.ts +5 -0
- package/dist/stories/examples/leads/leads-headers.d.ts +6 -0
- package/dist/stories/examples/manufacturing/ManufacturingExample.d.ts +10 -0
- package/dist/stories/examples/manufacturing/manufacturing-headers.d.ts +5 -0
- package/dist/stories/examples/music/MusicExample.d.ts +13 -0
- package/dist/stories/examples/music/music-headers.d.ts +5 -0
- package/dist/stories/examples/pinned-columns/PinnedColumns.d.ts +11 -0
- package/dist/stories/examples/row-grouping/RowGrouping.d.ts +8 -0
- package/dist/stories/examples/sales-example/SalesExample.d.ts +11 -0
- package/dist/stories/examples/sales-example/sales-headers.d.ts +6 -0
- package/dist/stories/tests/01-BasicStructureTests.stories.d.ts +119 -0
- package/dist/stories/tests/02-ColumnSortingTests.stories.d.ts +114 -0
- package/dist/stories/tests/03-ColumnFilteringTests.stories.d.ts +70 -0
- package/dist/stories/tests/04-PaginationTests.stories.d.ts +94 -0
- package/dist/stories/tests/05-RowGroupingTests.stories.d.ts +134 -0
- package/dist/stories/tests/06-CellEditingTests.stories.d.ts +61 -0
- package/dist/stories/tests/07-RowSelectionTests.stories.d.ts +68 -0
- package/dist/stories/tests/08-ColumnWidthTests.stories.d.ts +95 -0
- package/dist/stories/tests/09-ColumnAlignmentTests.stories.d.ts +61 -0
- package/dist/stories/tests/10-ColumnPinningTests.stories.d.ts +106 -0
- package/dist/stories/tests/11-ColumnReorderingTests.stories.d.ts +122 -0
- package/dist/stories/tests/12-CellSelectionTests.stories.d.ts +157 -0
- package/dist/stories/tests/13-ColumnResizeTests.stories.d.ts +62 -0
- package/dist/stories/tests/14-LiveUpdatesTests.stories.d.ts +28 -0
- package/dist/stories/tests/15-ColumnVisibilityTests.stories.d.ts +127 -0
- package/dist/stories/tests/16-CsvExportTests.stories.d.ts +133 -0
- package/dist/stories/tests/17-NestedTablesTests.stories.d.ts +47 -0
- package/dist/stories/tests/18-QuickFilterTests.stories.d.ts +101 -0
- package/dist/stories/tests/19-AccessibilityTests.stories.d.ts +39 -0
- package/dist/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +104 -0
- package/dist/stories/tests/21-ColumnSelectionTests.stories.d.ts +31 -0
- package/dist/stories/tests/22-LoadingStateTests.stories.d.ts +31 -0
- package/dist/stories/tests/23-EmptyStateTests.stories.d.ts +39 -0
- package/dist/stories/tests/24-FooterRendererTests.stories.d.ts +55 -0
- package/dist/stories/tests/25-HeaderRendererTests.stories.d.ts +50 -0
- package/dist/stories/tests/26-CellRendererTests.stories.d.ts +55 -0
- package/dist/stories/tests/27-ValueFormatterTests.stories.d.ts +53 -0
- package/dist/stories/tests/28-CellClickTests.stories.d.ts +23 -0
- package/dist/stories/tests/29-TooltipsTests.stories.d.ts +31 -0
- package/dist/stories/tests/30-AggregateFunctionsTests.stories.d.ts +63 -0
- package/dist/stories/tests/31-ChartColumnsTests.stories.d.ts +54 -0
- package/dist/stories/tests/32-ThemesTests.stories.d.ts +95 -0
- package/dist/stories/tests/33-CustomThemeTests.stories.d.ts +150 -0
- package/dist/stories/tests/34-CustomIconsTests.stories.d.ts +63 -0
- package/dist/stories/tests/35-HideHeaderFooterTests.stories.d.ts +31 -0
- package/dist/stories/tests/36-InfiniteScrollTests.stories.d.ts +23 -0
- package/dist/stories/tests/37-TableRefMethodsTests.stories.d.ts +115 -0
- package/dist/stories/tests/38-NestedHeadersTests.stories.d.ts +23 -0
- package/dist/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +258 -0
- package/dist/stories/tests/testUtils.d.ts +31 -0
- package/dist/stories/utils.d.ts +29 -0
- package/dist/stories/vanillaStoryConfig.d.ts +154 -0
- package/dist/styles.css +1 -1
- package/package.json +27 -59
- package/src/styles/base.css +137 -76
- package/dist/Animate-60695947.js +0 -2
- package/dist/Animate-60695947.js.map +0 -1
- package/dist/DatePicker-f7a6a949.js +0 -2
- package/dist/DatePicker-f7a6a949.js.map +0 -1
- package/dist/cjs/Animate-5abc33cc.js +0 -2
- package/dist/cjs/Animate-5abc33cc.js.map +0 -1
- package/dist/cjs/DatePicker-8be26322.js +0 -2
- package/dist/cjs/DatePicker-8be26322.js.map +0 -1
- package/dist/cjs/components/Checkbox.d.ts +0 -10
- package/dist/cjs/components/LazyComponents.d.ts +0 -30
- package/dist/cjs/components/Tooltip.d.ts +0 -8
- package/dist/cjs/components/animate/Animate.d.ts +0 -13
- package/dist/cjs/components/animate/animation-utils.d.ts +0 -70
- package/dist/cjs/components/animate/types.d.ts +0 -26
- package/dist/cjs/components/charts/BarChart.d.ts +0 -17
- package/dist/cjs/components/charts/LineAreaChart.d.ts +0 -19
- package/dist/cjs/components/date-picker/DatePicker.d.ts +0 -7
- package/dist/cjs/components/dropdown/Dropdown.d.ts +0 -13
- package/dist/cjs/components/dropdown/DropdownItem.d.ts +0 -10
- package/dist/cjs/components/empty-state/DefaultEmptyState.d.ts +0 -5
- package/dist/cjs/components/filters/BooleanFilter.d.ts +0 -11
- package/dist/cjs/components/filters/DateFilter.d.ts +0 -11
- package/dist/cjs/components/filters/EnumFilter.d.ts +0 -11
- package/dist/cjs/components/filters/FilterDropdown.d.ts +0 -11
- package/dist/cjs/components/filters/NumberFilter.d.ts +0 -11
- package/dist/cjs/components/filters/StringFilter.d.ts +0 -11
- package/dist/cjs/components/filters/shared/CustomSelect.d.ts +0 -14
- package/dist/cjs/components/filters/shared/FilterActions.d.ts +0 -9
- package/dist/cjs/components/filters/shared/FilterContainer.d.ts +0 -6
- package/dist/cjs/components/filters/shared/FilterInput.d.ts +0 -12
- package/dist/cjs/components/filters/shared/FilterSection.d.ts +0 -7
- package/dist/cjs/components/filters/shared/FilterSelect.d.ts +0 -11
- package/dist/cjs/components/filters/shared/OperatorSelector.d.ts +0 -8
- package/dist/cjs/components/scroll-sync/ScrollSync.d.ts +0 -4
- package/dist/cjs/components/scroll-sync/ScrollSyncPane.d.ts +0 -8
- package/dist/cjs/components/simple-table/NestedGridRow.d.ts +0 -17
- package/dist/cjs/components/simple-table/PinnedLeftColumns.d.ts +0 -2
- package/dist/cjs/components/simple-table/PinnedRightColumns.d.ts +0 -2
- package/dist/cjs/components/simple-table/RenderCells.d.ts +0 -18
- package/dist/cjs/components/simple-table/RowStateIndicator.d.ts +0 -18
- package/dist/cjs/components/simple-table/SimpleTable.d.ts +0 -4
- package/dist/cjs/components/simple-table/StickyParentsContainer.d.ts +0 -23
- package/dist/cjs/components/simple-table/TableBody.d.ts +0 -3
- package/dist/cjs/components/simple-table/TableCell.d.ts +0 -4
- package/dist/cjs/components/simple-table/TableContent.d.ts +0 -21
- package/dist/cjs/components/simple-table/TableFooter.d.ts +0 -20
- package/dist/cjs/components/simple-table/TableHeader.d.ts +0 -3
- package/dist/cjs/components/simple-table/TableHeaderCell.d.ts +0 -16
- package/dist/cjs/components/simple-table/TableHeaderSection.d.ts +0 -3
- package/dist/cjs/components/simple-table/TableHorizontalScrollbar.d.ts +0 -11
- package/dist/cjs/components/simple-table/TableRow.d.ts +0 -24
- package/dist/cjs/components/simple-table/TableRowSeparator.d.ts +0 -8
- package/dist/cjs/components/simple-table/TableSection.d.ts +0 -22
- package/dist/cjs/components/simple-table/editable-cells/BooleanDropdownEdit.d.ts +0 -10
- package/dist/cjs/components/simple-table/editable-cells/DateDropdownEdit.d.ts +0 -10
- package/dist/cjs/components/simple-table/editable-cells/EditableCell.d.ts +0 -12
- package/dist/cjs/components/simple-table/editable-cells/EnumDropdownEdit.d.ts +0 -11
- package/dist/cjs/components/simple-table/editable-cells/NumberEdit.d.ts +0 -7
- package/dist/cjs/components/simple-table/editable-cells/StringEdit.d.ts +0 -7
- package/dist/cjs/components/simple-table/table-column-editor/ColumnEditorCheckbox.d.ts +0 -22
- package/dist/cjs/components/simple-table/table-column-editor/TableColumnEditor.d.ts +0 -12
- package/dist/cjs/components/simple-table/table-column-editor/TableColumnEditorPopout.d.ts +0 -12
- package/dist/cjs/components/simple-table/table-column-editor/columnEditorUtils.d.ts +0 -31
- package/dist/cjs/context/TableContext.d.ts +0 -143
- package/dist/cjs/context/useScrollSyncContext.d.ts +0 -7
- package/dist/cjs/hooks/useAggregatedRows.d.ts +0 -12
- package/dist/cjs/hooks/useAriaAnnouncements.d.ts +0 -9
- package/dist/cjs/hooks/useAutoScaleMainSection.d.ts +0 -28
- package/dist/cjs/hooks/useContentHeight.d.ts +0 -12
- package/dist/cjs/hooks/useDragHandler.d.ts +0 -29
- package/dist/cjs/hooks/useDropdownPosition.d.ts +0 -22
- package/dist/cjs/hooks/useExpandedDepths.d.ts +0 -14
- package/dist/cjs/hooks/useExternalFilters.d.ts +0 -6
- package/dist/cjs/hooks/useExternalSort.d.ts +0 -6
- package/dist/cjs/hooks/useFilterableData.d.ts +0 -20
- package/dist/cjs/hooks/useFlattenedRows.d.ts +0 -37
- package/dist/cjs/hooks/useHandleOutsideClick.d.ts +0 -14
- package/dist/cjs/hooks/useHeaderLookup.d.ts +0 -8
- package/dist/cjs/hooks/useKeyboardNavigation.d.ts +0 -26
- package/dist/cjs/hooks/useOnGridReady.d.ts +0 -4
- package/dist/cjs/hooks/usePrevious.d.ts +0 -2
- package/dist/cjs/hooks/useQuickFilter.d.ts +0 -14
- package/dist/cjs/hooks/useRowSelection.d.ts +0 -21
- package/dist/cjs/hooks/useScrollbarVisibility.d.ts +0 -9
- package/dist/cjs/hooks/useScrollbarWidth.d.ts +0 -9
- package/dist/cjs/hooks/useSelection.d.ts +0 -40
- package/dist/cjs/hooks/useSortableData.d.ts +0 -22
- package/dist/cjs/hooks/useTableAPI.d.ts +0 -52
- package/dist/cjs/hooks/useTableDimensions.d.ts +0 -15
- package/dist/cjs/hooks/useTableRowProcessing.d.ts +0 -45
- package/dist/cjs/hooks/useWindowResize.d.ts +0 -7
- package/dist/cjs/icons/AngleDownIcon.d.ts +0 -4
- package/dist/cjs/icons/AngleLeftIcon.d.ts +0 -4
- package/dist/cjs/icons/AngleRightIcon.d.ts +0 -4
- package/dist/cjs/icons/AngleUpIcon.d.ts +0 -4
- package/dist/cjs/icons/AscIcon.d.ts +0 -4
- package/dist/cjs/icons/CheckIcon.d.ts +0 -6
- package/dist/cjs/icons/DescIcon.d.ts +0 -4
- package/dist/cjs/icons/DragIcon.d.ts +0 -6
- package/dist/cjs/icons/FilterIcon.d.ts +0 -6
- package/dist/cjs/icons/SelectIcon.d.ts +0 -2
- package/dist/cjs/icons/index.d.ts +0 -17
- package/dist/cjs/index-1fd4e5b3.js +0 -2
- package/dist/cjs/index-1fd4e5b3.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -43
- package/dist/cjs/types/AggregationTypes.d.ts +0 -7
- package/dist/cjs/types/CellRendererProps.d.ts +0 -17
- package/dist/cjs/types/CellValue.d.ts +0 -2
- package/dist/cjs/types/ColumnEditorConfig.d.ts +0 -69
- package/dist/cjs/types/ColumnEditorRowRendererProps.d.ts +0 -39
- package/dist/cjs/types/ColumnIndices.d.ts +0 -2
- package/dist/cjs/types/DragHandlerProps.d.ts +0 -11
- package/dist/cjs/types/FooterRendererProps.d.ts +0 -17
- package/dist/cjs/types/HandleResizeStartProps.d.ts +0 -19
- package/dist/cjs/types/HeaderDropdownProps.d.ts +0 -14
- package/dist/cjs/types/HeaderRendererProps.d.ts +0 -17
- package/dist/cjs/types/IconsConfig.d.ts +0 -28
- package/dist/cjs/types/OnRowGroupExpandProps.d.ts +0 -17
- package/dist/cjs/types/RowButton.d.ts +0 -7
- package/dist/cjs/types/RowIndices.d.ts +0 -2
- package/dist/cjs/types/RowStateRendererProps.d.ts +0 -48
- package/dist/cjs/types/SharedTableProps.d.ts +0 -22
- package/dist/cjs/types/SimpleTableProps.d.ts +0 -99
- package/dist/cjs/types/TableBodyProps.d.ts +0 -23
- package/dist/cjs/types/TableCellProps.d.ts +0 -15
- package/dist/cjs/types/TableHeaderProps.d.ts +0 -17
- package/dist/cjs/types/TableHeaderSectionProps.d.ts +0 -17
- package/dist/cjs/types/TableRefType.d.ts +0 -78
- package/dist/cjs/types/TableRowProps.d.ts +0 -27
- package/dist/cjs/utils/columnUtils.d.ts +0 -6
- package/dist/cjs/utils/deprecatedPropsWarnings.d.ts +0 -10
- package/dist/cjs/utils/headerWidthUtils.d.ts +0 -42
- package/dist/cjs/utils/performanceUtils.d.ts +0 -7
- package/dist/cjs/utils/pinnedColumnUtils.d.ts +0 -28
- package/dist/cjs/utils/refUtils.d.ts +0 -7
- package/dist/cjs/utils/resizeUtils.d.ts +0 -41
- package/dist/components/Checkbox.d.ts +0 -10
- package/dist/components/LazyComponents.d.ts +0 -30
- package/dist/components/Tooltip.d.ts +0 -8
- package/dist/components/animate/Animate.d.ts +0 -13
- package/dist/components/animate/animation-utils.d.ts +0 -70
- package/dist/components/animate/types.d.ts +0 -26
- package/dist/components/charts/BarChart.d.ts +0 -17
- package/dist/components/charts/LineAreaChart.d.ts +0 -19
- package/dist/components/date-picker/DatePicker.d.ts +0 -7
- package/dist/components/dropdown/Dropdown.d.ts +0 -13
- package/dist/components/dropdown/DropdownItem.d.ts +0 -10
- package/dist/components/empty-state/DefaultEmptyState.d.ts +0 -5
- package/dist/components/filters/BooleanFilter.d.ts +0 -11
- package/dist/components/filters/DateFilter.d.ts +0 -11
- package/dist/components/filters/EnumFilter.d.ts +0 -11
- package/dist/components/filters/FilterDropdown.d.ts +0 -11
- package/dist/components/filters/NumberFilter.d.ts +0 -11
- package/dist/components/filters/StringFilter.d.ts +0 -11
- package/dist/components/filters/shared/CustomSelect.d.ts +0 -14
- package/dist/components/filters/shared/FilterActions.d.ts +0 -9
- package/dist/components/filters/shared/FilterContainer.d.ts +0 -6
- package/dist/components/filters/shared/FilterInput.d.ts +0 -12
- package/dist/components/filters/shared/FilterSection.d.ts +0 -7
- package/dist/components/filters/shared/FilterSelect.d.ts +0 -11
- package/dist/components/filters/shared/OperatorSelector.d.ts +0 -8
- package/dist/components/scroll-sync/ScrollSync.d.ts +0 -4
- package/dist/components/scroll-sync/ScrollSyncPane.d.ts +0 -8
- package/dist/components/simple-table/NestedGridRow.d.ts +0 -17
- package/dist/components/simple-table/PinnedLeftColumns.d.ts +0 -2
- package/dist/components/simple-table/PinnedRightColumns.d.ts +0 -2
- package/dist/components/simple-table/RenderCells.d.ts +0 -18
- package/dist/components/simple-table/RowStateIndicator.d.ts +0 -18
- package/dist/components/simple-table/SimpleTable.d.ts +0 -4
- package/dist/components/simple-table/StickyParentsContainer.d.ts +0 -23
- package/dist/components/simple-table/TableBody.d.ts +0 -3
- package/dist/components/simple-table/TableCell.d.ts +0 -4
- package/dist/components/simple-table/TableContent.d.ts +0 -21
- package/dist/components/simple-table/TableFooter.d.ts +0 -20
- package/dist/components/simple-table/TableHeader.d.ts +0 -3
- package/dist/components/simple-table/TableHeaderCell.d.ts +0 -16
- package/dist/components/simple-table/TableHeaderSection.d.ts +0 -3
- package/dist/components/simple-table/TableHorizontalScrollbar.d.ts +0 -11
- package/dist/components/simple-table/TableRow.d.ts +0 -24
- package/dist/components/simple-table/TableRowSeparator.d.ts +0 -8
- package/dist/components/simple-table/TableSection.d.ts +0 -22
- package/dist/components/simple-table/editable-cells/BooleanDropdownEdit.d.ts +0 -10
- package/dist/components/simple-table/editable-cells/DateDropdownEdit.d.ts +0 -10
- package/dist/components/simple-table/editable-cells/EditableCell.d.ts +0 -12
- package/dist/components/simple-table/editable-cells/EnumDropdownEdit.d.ts +0 -11
- package/dist/components/simple-table/editable-cells/NumberEdit.d.ts +0 -7
- package/dist/components/simple-table/editable-cells/StringEdit.d.ts +0 -7
- package/dist/components/simple-table/table-column-editor/ColumnEditorCheckbox.d.ts +0 -22
- package/dist/components/simple-table/table-column-editor/TableColumnEditor.d.ts +0 -12
- package/dist/components/simple-table/table-column-editor/TableColumnEditorPopout.d.ts +0 -12
- package/dist/components/simple-table/table-column-editor/columnEditorUtils.d.ts +0 -31
- package/dist/context/TableContext.d.ts +0 -143
- package/dist/context/useScrollSyncContext.d.ts +0 -7
- package/dist/hooks/useAggregatedRows.d.ts +0 -12
- package/dist/hooks/useAriaAnnouncements.d.ts +0 -9
- package/dist/hooks/useAutoScaleMainSection.d.ts +0 -28
- package/dist/hooks/useContentHeight.d.ts +0 -12
- package/dist/hooks/useDragHandler.d.ts +0 -29
- package/dist/hooks/useDropdownPosition.d.ts +0 -22
- package/dist/hooks/useExpandedDepths.d.ts +0 -14
- package/dist/hooks/useExternalFilters.d.ts +0 -6
- package/dist/hooks/useExternalSort.d.ts +0 -6
- package/dist/hooks/useFilterableData.d.ts +0 -20
- package/dist/hooks/useFlattenedRows.d.ts +0 -37
- package/dist/hooks/useHandleOutsideClick.d.ts +0 -14
- package/dist/hooks/useHeaderLookup.d.ts +0 -8
- package/dist/hooks/useKeyboardNavigation.d.ts +0 -26
- package/dist/hooks/useOnGridReady.d.ts +0 -4
- package/dist/hooks/usePrevious.d.ts +0 -2
- package/dist/hooks/useQuickFilter.d.ts +0 -14
- package/dist/hooks/useRowSelection.d.ts +0 -21
- package/dist/hooks/useScrollbarVisibility.d.ts +0 -9
- package/dist/hooks/useScrollbarWidth.d.ts +0 -9
- package/dist/hooks/useSelection.d.ts +0 -40
- package/dist/hooks/useSortableData.d.ts +0 -22
- package/dist/hooks/useTableAPI.d.ts +0 -52
- package/dist/hooks/useTableDimensions.d.ts +0 -15
- package/dist/hooks/useTableRowProcessing.d.ts +0 -45
- package/dist/hooks/useWindowResize.d.ts +0 -7
- package/dist/icons/AngleDownIcon.d.ts +0 -4
- package/dist/icons/AngleLeftIcon.d.ts +0 -4
- package/dist/icons/AngleRightIcon.d.ts +0 -4
- package/dist/icons/AngleUpIcon.d.ts +0 -4
- package/dist/icons/AscIcon.d.ts +0 -4
- package/dist/icons/CheckIcon.d.ts +0 -6
- package/dist/icons/DescIcon.d.ts +0 -4
- package/dist/icons/DragIcon.d.ts +0 -6
- package/dist/icons/FilterIcon.d.ts +0 -6
- package/dist/icons/SelectIcon.d.ts +0 -2
- package/dist/icons/index.d.ts +0 -17
- package/dist/index-b46195cc.js +0 -2
- package/dist/index-b46195cc.js.map +0 -1
- package/dist/index.d.ts +0 -43
- package/dist/types/AggregationTypes.d.ts +0 -7
- package/dist/types/CellRendererProps.d.ts +0 -17
- package/dist/types/CellValue.d.ts +0 -2
- package/dist/types/ColumnEditorConfig.d.ts +0 -69
- package/dist/types/ColumnEditorRowRendererProps.d.ts +0 -39
- package/dist/types/ColumnIndices.d.ts +0 -2
- package/dist/types/DragHandlerProps.d.ts +0 -11
- package/dist/types/FooterRendererProps.d.ts +0 -17
- package/dist/types/HandleResizeStartProps.d.ts +0 -19
- package/dist/types/HeaderDropdownProps.d.ts +0 -14
- package/dist/types/HeaderRendererProps.d.ts +0 -17
- package/dist/types/IconsConfig.d.ts +0 -28
- package/dist/types/OnRowGroupExpandProps.d.ts +0 -17
- package/dist/types/RowButton.d.ts +0 -7
- package/dist/types/RowIndices.d.ts +0 -2
- package/dist/types/RowStateRendererProps.d.ts +0 -48
- package/dist/types/SharedTableProps.d.ts +0 -22
- package/dist/types/SimpleTableProps.d.ts +0 -99
- package/dist/types/TableBodyProps.d.ts +0 -23
- package/dist/types/TableCellProps.d.ts +0 -15
- package/dist/types/TableHeaderProps.d.ts +0 -17
- package/dist/types/TableHeaderSectionProps.d.ts +0 -17
- package/dist/types/TableRefType.d.ts +0 -78
- package/dist/types/TableRowProps.d.ts +0 -27
- package/dist/utils/columnUtils.d.ts +0 -6
- package/dist/utils/deprecatedPropsWarnings.d.ts +0 -10
- package/dist/utils/headerWidthUtils.d.ts +0 -42
- package/dist/utils/performanceUtils.d.ts +0 -7
- package/dist/utils/pinnedColumnUtils.d.ts +0 -28
- package/dist/utils/refUtils.d.ts +0 -7
- package/dist/utils/resizeUtils.d.ts +0 -41
- /package/dist/cjs/{consts → src/consts}/column-constraints.d.ts +0 -0
- /package/dist/cjs/{consts → src/consts}/general-consts.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/BoundingBox.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/Cell.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/CellChangeProps.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/CellClickProps.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/ColumnVisibilityTypes.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/CustomTheme.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/EnumOption.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/FilterTypes.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/GenerateRowIdParams.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/GetRowId.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/HeaderObject.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/OnNextPage.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/OnSortProps.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/Pinned.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/QuickFilterTypes.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/Row.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/RowId.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/RowSelectionChangeProps.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/RowState.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/SelectionType.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/SortColumn.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/TableRow.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/Theme.d.ts +0 -0
- /package/dist/cjs/{types → src/types}/UpdateCellProps.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/cellClipboardUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/cellScrollUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/cellUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/collapseUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/columnIndicesUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/csvExportUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/dateUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/filterUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/formatters.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/generalUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/headerUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/infiniteScrollUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/quickFilterUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/rowSelectionUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/rowUtils.d.ts +0 -0
- /package/dist/cjs/{utils → src/utils}/sortUtils.d.ts +0 -0
- /package/dist/{consts → src/consts}/column-constraints.d.ts +0 -0
- /package/dist/{consts → src/consts}/general-consts.d.ts +0 -0
- /package/dist/{types → src/types}/BoundingBox.d.ts +0 -0
- /package/dist/{types → src/types}/Cell.d.ts +0 -0
- /package/dist/{types → src/types}/CellChangeProps.d.ts +0 -0
- /package/dist/{types → src/types}/CellClickProps.d.ts +0 -0
- /package/dist/{types → src/types}/ColumnVisibilityTypes.d.ts +0 -0
- /package/dist/{types → src/types}/CustomTheme.d.ts +0 -0
- /package/dist/{types → src/types}/EnumOption.d.ts +0 -0
- /package/dist/{types → src/types}/FilterTypes.d.ts +0 -0
- /package/dist/{types → src/types}/GenerateRowIdParams.d.ts +0 -0
- /package/dist/{types → src/types}/GetRowId.d.ts +0 -0
- /package/dist/{types → src/types}/HeaderObject.d.ts +0 -0
- /package/dist/{types → src/types}/OnNextPage.d.ts +0 -0
- /package/dist/{types → src/types}/OnSortProps.d.ts +0 -0
- /package/dist/{types → src/types}/Pinned.d.ts +0 -0
- /package/dist/{types → src/types}/QuickFilterTypes.d.ts +0 -0
- /package/dist/{types → src/types}/Row.d.ts +0 -0
- /package/dist/{types → src/types}/RowId.d.ts +0 -0
- /package/dist/{types → src/types}/RowSelectionChangeProps.d.ts +0 -0
- /package/dist/{types → src/types}/RowState.d.ts +0 -0
- /package/dist/{types → src/types}/SelectionType.d.ts +0 -0
- /package/dist/{types → src/types}/SortColumn.d.ts +0 -0
- /package/dist/{types → src/types}/TableRow.d.ts +0 -0
- /package/dist/{types → src/types}/Theme.d.ts +0 -0
- /package/dist/{types → src/types}/UpdateCellProps.d.ts +0 -0
- /package/dist/{utils → src/utils}/cellClipboardUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/cellScrollUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/cellUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/collapseUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/columnIndicesUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/csvExportUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/dateUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/filterUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/formatters.d.ts +0 -0
- /package/dist/{utils → src/utils}/generalUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/headerUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/infiniteScrollUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/quickFilterUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/rowSelectionUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/rowUtils.d.ts +0 -0
- /package/dist/{utils → src/utils}/sortUtils.d.ts +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* COLUMN VISIBILITY / COLUMN EDITING TESTS
|
|
3
|
+
* Column editing is the same feature as column visibility (editColumns, column editor, show/hide).
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const ColumnEditorStructure: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const HideSingleColumn: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const HideMultipleColumns: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
export declare const ShowHiddenColumn: {
|
|
33
|
+
render: () => HTMLDivElement & {
|
|
34
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
35
|
+
};
|
|
36
|
+
play: ({ canvasElement }: {
|
|
37
|
+
canvasElement: HTMLElement;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
};
|
|
40
|
+
export declare const ToggleColumnMultipleTimes: {
|
|
41
|
+
render: () => HTMLDivElement & {
|
|
42
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
43
|
+
};
|
|
44
|
+
play: ({ canvasElement }: {
|
|
45
|
+
canvasElement: HTMLElement;
|
|
46
|
+
}) => Promise<void>;
|
|
47
|
+
};
|
|
48
|
+
export declare const ColumnCountChanges: {
|
|
49
|
+
render: () => HTMLDivElement & {
|
|
50
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
51
|
+
};
|
|
52
|
+
play: ({ canvasElement }: {
|
|
53
|
+
canvasElement: HTMLElement;
|
|
54
|
+
}) => Promise<void>;
|
|
55
|
+
};
|
|
56
|
+
export declare const EditColumnsInitOpen: {
|
|
57
|
+
render: () => HTMLDivElement & {
|
|
58
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
59
|
+
};
|
|
60
|
+
play: ({ canvasElement }: {
|
|
61
|
+
canvasElement: HTMLElement;
|
|
62
|
+
}) => Promise<void>;
|
|
63
|
+
};
|
|
64
|
+
export declare const ColumnEditorConfigCustomText: {
|
|
65
|
+
render: () => HTMLDivElement & {
|
|
66
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
67
|
+
};
|
|
68
|
+
play: ({ canvasElement }: {
|
|
69
|
+
canvasElement: HTMLElement;
|
|
70
|
+
}) => Promise<void>;
|
|
71
|
+
};
|
|
72
|
+
export declare const ColumnEditorConfigSearchEnabled: {
|
|
73
|
+
render: () => HTMLDivElement & {
|
|
74
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
75
|
+
};
|
|
76
|
+
play: ({ canvasElement }: {
|
|
77
|
+
canvasElement: HTMLElement;
|
|
78
|
+
}) => Promise<void>;
|
|
79
|
+
};
|
|
80
|
+
export declare const ColumnEditorConfigSearchDisabled: {
|
|
81
|
+
render: () => HTMLDivElement & {
|
|
82
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
83
|
+
};
|
|
84
|
+
play: ({ canvasElement }: {
|
|
85
|
+
canvasElement: HTMLElement;
|
|
86
|
+
}) => Promise<void>;
|
|
87
|
+
};
|
|
88
|
+
export declare const OnColumnVisibilityChangeCallback: {
|
|
89
|
+
render: () => HTMLDivElement & {
|
|
90
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
91
|
+
};
|
|
92
|
+
play: ({ canvasElement }: {
|
|
93
|
+
canvasElement: HTMLElement;
|
|
94
|
+
}) => Promise<void>;
|
|
95
|
+
};
|
|
96
|
+
export declare const ColumnEditorOpenClose: {
|
|
97
|
+
render: () => HTMLDivElement & {
|
|
98
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
99
|
+
};
|
|
100
|
+
play: ({ canvasElement }: {
|
|
101
|
+
canvasElement: HTMLElement;
|
|
102
|
+
}) => Promise<void>;
|
|
103
|
+
};
|
|
104
|
+
export declare const ExcludeFromRenderNotInColumnEditor: {
|
|
105
|
+
render: () => HTMLDivElement & {
|
|
106
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
107
|
+
};
|
|
108
|
+
play: ({ canvasElement }: {
|
|
109
|
+
canvasElement: HTMLElement;
|
|
110
|
+
}) => Promise<void>;
|
|
111
|
+
};
|
|
112
|
+
export declare const ColumnEditorCustomText: {
|
|
113
|
+
render: () => HTMLDivElement & {
|
|
114
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
115
|
+
};
|
|
116
|
+
play: ({ canvasElement }: {
|
|
117
|
+
canvasElement: HTMLElement;
|
|
118
|
+
}) => Promise<void>;
|
|
119
|
+
};
|
|
120
|
+
export declare const ColumnEditorRowRenderer: {
|
|
121
|
+
render: () => HTMLDivElement & {
|
|
122
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
123
|
+
};
|
|
124
|
+
play: ({ canvasElement }: {
|
|
125
|
+
canvasElement: HTMLElement;
|
|
126
|
+
}) => Promise<void>;
|
|
127
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CSV EXPORT TESTS
|
|
3
|
+
* Ported from React - same tests, vanilla table only.
|
|
4
|
+
*
|
|
5
|
+
* Features tested:
|
|
6
|
+
* 1. Basic CSV export via exportToCSV() API
|
|
7
|
+
* 2. CSV export with custom filename
|
|
8
|
+
* 3. CSV export includes all data (all pages, not just current page)
|
|
9
|
+
* 4. includeHeadersInCSVExport option
|
|
10
|
+
* 5. excludeFromCsv column property
|
|
11
|
+
* 6. useFormattedValueForCSV option
|
|
12
|
+
* 7. exportValueGetter for custom export values
|
|
13
|
+
* 8. CSV export with pagination
|
|
14
|
+
* 9. CSV export with filtering
|
|
15
|
+
* 10. CSV export with sorting
|
|
16
|
+
* 11. CSV export with nested data accessors
|
|
17
|
+
* 12. CSV export with array index accessors
|
|
18
|
+
*/
|
|
19
|
+
import type { Meta } from "@storybook/html";
|
|
20
|
+
declare const meta: Meta;
|
|
21
|
+
export default meta;
|
|
22
|
+
export declare const BasicCsvExport: {
|
|
23
|
+
render: () => HTMLDivElement & {
|
|
24
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
25
|
+
};
|
|
26
|
+
play: ({ canvasElement }: {
|
|
27
|
+
canvasElement: HTMLElement;
|
|
28
|
+
}) => Promise<void>;
|
|
29
|
+
};
|
|
30
|
+
export declare const CsvExportWithCustomFilename: {
|
|
31
|
+
render: () => HTMLDivElement & {
|
|
32
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
33
|
+
};
|
|
34
|
+
play: ({ canvasElement }: {
|
|
35
|
+
canvasElement: HTMLElement;
|
|
36
|
+
}) => Promise<void>;
|
|
37
|
+
};
|
|
38
|
+
export declare const CsvExportIncludesAllPages: {
|
|
39
|
+
render: () => HTMLDivElement & {
|
|
40
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
41
|
+
};
|
|
42
|
+
play: ({ canvasElement }: {
|
|
43
|
+
canvasElement: HTMLElement;
|
|
44
|
+
}) => Promise<void>;
|
|
45
|
+
};
|
|
46
|
+
export declare const CsvExportWithoutHeaders: {
|
|
47
|
+
render: () => HTMLDivElement & {
|
|
48
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
49
|
+
};
|
|
50
|
+
play: ({ canvasElement }: {
|
|
51
|
+
canvasElement: HTMLElement;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
};
|
|
54
|
+
export declare const ExcludeColumnFromCsv: {
|
|
55
|
+
render: () => HTMLDivElement & {
|
|
56
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
57
|
+
};
|
|
58
|
+
play: ({ canvasElement }: {
|
|
59
|
+
canvasElement: HTMLElement;
|
|
60
|
+
}) => Promise<void>;
|
|
61
|
+
};
|
|
62
|
+
export declare const CsvExportWithValueFormatter: {
|
|
63
|
+
render: () => HTMLDivElement & {
|
|
64
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
65
|
+
};
|
|
66
|
+
play: ({ canvasElement }: {
|
|
67
|
+
canvasElement: HTMLElement;
|
|
68
|
+
}) => Promise<void>;
|
|
69
|
+
};
|
|
70
|
+
export declare const CsvExportWithExportValueGetter: {
|
|
71
|
+
render: () => HTMLDivElement & {
|
|
72
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
73
|
+
};
|
|
74
|
+
play: ({ canvasElement }: {
|
|
75
|
+
canvasElement: HTMLElement;
|
|
76
|
+
}) => Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
export declare const CsvExportWithFiltering: {
|
|
79
|
+
render: () => HTMLDivElement & {
|
|
80
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
81
|
+
};
|
|
82
|
+
play: ({ canvasElement }: {
|
|
83
|
+
canvasElement: HTMLElement;
|
|
84
|
+
}) => Promise<void>;
|
|
85
|
+
};
|
|
86
|
+
export declare const CsvExportWithSorting: {
|
|
87
|
+
render: () => HTMLDivElement & {
|
|
88
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
89
|
+
};
|
|
90
|
+
play: ({ canvasElement }: {
|
|
91
|
+
canvasElement: HTMLElement;
|
|
92
|
+
}) => Promise<void>;
|
|
93
|
+
};
|
|
94
|
+
export declare const CsvExportWithNestedData: {
|
|
95
|
+
render: () => HTMLDivElement & {
|
|
96
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
97
|
+
};
|
|
98
|
+
play: ({ canvasElement }: {
|
|
99
|
+
canvasElement: HTMLElement;
|
|
100
|
+
}) => Promise<void>;
|
|
101
|
+
};
|
|
102
|
+
export declare const CsvExportWithArrayAccessors: {
|
|
103
|
+
render: () => HTMLDivElement & {
|
|
104
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
105
|
+
};
|
|
106
|
+
play: ({ canvasElement }: {
|
|
107
|
+
canvasElement: HTMLElement;
|
|
108
|
+
}) => Promise<void>;
|
|
109
|
+
};
|
|
110
|
+
export declare const MultipleCsvExports: {
|
|
111
|
+
render: () => HTMLDivElement & {
|
|
112
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
113
|
+
};
|
|
114
|
+
play: ({ canvasElement }: {
|
|
115
|
+
canvasElement: HTMLElement;
|
|
116
|
+
}) => Promise<void>;
|
|
117
|
+
};
|
|
118
|
+
export declare const ExcludeFromRenderNotInDOM: {
|
|
119
|
+
render: () => HTMLDivElement & {
|
|
120
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
121
|
+
};
|
|
122
|
+
play: ({ canvasElement }: {
|
|
123
|
+
canvasElement: HTMLElement;
|
|
124
|
+
}) => Promise<void>;
|
|
125
|
+
};
|
|
126
|
+
export declare const ExcludeFromRenderIncludedInCSV: {
|
|
127
|
+
render: () => HTMLDivElement & {
|
|
128
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
129
|
+
};
|
|
130
|
+
play: ({ canvasElement }: {
|
|
131
|
+
canvasElement: HTMLElement;
|
|
132
|
+
}) => Promise<void>;
|
|
133
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NESTED TABLES TESTS
|
|
3
|
+
* Ported from React - same tests, vanilla table only.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const BasicNestedTable: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const NestedTableWithIndependentColumns: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const NestedTableWithColumnResizing: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
export declare const NestedTableWithPagination: {
|
|
33
|
+
render: () => HTMLDivElement & {
|
|
34
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
35
|
+
};
|
|
36
|
+
play: ({ canvasElement }: {
|
|
37
|
+
canvasElement: HTMLElement;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
};
|
|
40
|
+
export declare const NestedTableWithFiltering: {
|
|
41
|
+
render: () => HTMLDivElement & {
|
|
42
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
43
|
+
};
|
|
44
|
+
play: ({ canvasElement }: {
|
|
45
|
+
canvasElement: HTMLElement;
|
|
46
|
+
}) => Promise<void>;
|
|
47
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QUICK FILTER TESTS
|
|
3
|
+
* Ported from React - same tests, vanilla table only.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const BasicQuickFilterSimpleMode: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const SmartModeMultiWord: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const QuickFilterColumns: {
|
|
25
|
+
parameters: {
|
|
26
|
+
tags: string[];
|
|
27
|
+
};
|
|
28
|
+
render: () => HTMLDivElement & {
|
|
29
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
30
|
+
};
|
|
31
|
+
play: ({ canvasElement }: {
|
|
32
|
+
canvasElement: HTMLElement;
|
|
33
|
+
}) => Promise<void>;
|
|
34
|
+
};
|
|
35
|
+
export declare const QuickFilterUseFormattedValue: {
|
|
36
|
+
parameters: {
|
|
37
|
+
tags: string[];
|
|
38
|
+
};
|
|
39
|
+
render: () => HTMLDivElement & {
|
|
40
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
41
|
+
};
|
|
42
|
+
play: ({ canvasElement }: {
|
|
43
|
+
canvasElement: HTMLElement;
|
|
44
|
+
}) => Promise<void>;
|
|
45
|
+
};
|
|
46
|
+
export declare const QuickFilterOnChange: {
|
|
47
|
+
render: () => HTMLDivElement & {
|
|
48
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
49
|
+
};
|
|
50
|
+
play: ({ canvasElement }: {
|
|
51
|
+
canvasElement: HTMLElement;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
};
|
|
54
|
+
export declare const QuickFilterGetter: {
|
|
55
|
+
render: () => HTMLDivElement & {
|
|
56
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
57
|
+
};
|
|
58
|
+
play: ({ canvasElement }: {
|
|
59
|
+
canvasElement: HTMLElement;
|
|
60
|
+
}) => Promise<void>;
|
|
61
|
+
};
|
|
62
|
+
export declare const QuickFilterCaseSensitive: {
|
|
63
|
+
render: () => HTMLDivElement & {
|
|
64
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
65
|
+
};
|
|
66
|
+
play: ({ canvasElement }: {
|
|
67
|
+
canvasElement: HTMLElement;
|
|
68
|
+
}) => Promise<void>;
|
|
69
|
+
};
|
|
70
|
+
export declare const SmartModeQuotedPhrase: {
|
|
71
|
+
render: () => HTMLDivElement & {
|
|
72
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
73
|
+
};
|
|
74
|
+
play: ({ canvasElement }: {
|
|
75
|
+
canvasElement: HTMLElement;
|
|
76
|
+
}) => Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
export declare const SmartModeNegation: {
|
|
79
|
+
render: () => HTMLDivElement & {
|
|
80
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
81
|
+
};
|
|
82
|
+
play: ({ canvasElement }: {
|
|
83
|
+
canvasElement: HTMLElement;
|
|
84
|
+
}) => Promise<void>;
|
|
85
|
+
};
|
|
86
|
+
export declare const SmartModeColumnValueSyntax: {
|
|
87
|
+
render: () => HTMLDivElement & {
|
|
88
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
89
|
+
};
|
|
90
|
+
play: ({ canvasElement }: {
|
|
91
|
+
canvasElement: HTMLElement;
|
|
92
|
+
}) => Promise<void>;
|
|
93
|
+
};
|
|
94
|
+
export declare const QuickFilterableColumnExcluded: {
|
|
95
|
+
render: () => HTMLDivElement & {
|
|
96
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
97
|
+
};
|
|
98
|
+
play: ({ canvasElement }: {
|
|
99
|
+
canvasElement: HTMLElement;
|
|
100
|
+
}) => Promise<void>;
|
|
101
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ACCESSIBILITY TESTS
|
|
3
|
+
* Ported from React - same tests, vanilla table only.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const TableStructureAriaAttributes: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const ScreenReaderLiveRegion: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const ScreenReaderOnlyTextVisibility: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
export declare const SortButtonAriaAttributes: {
|
|
33
|
+
render: () => HTMLDivElement & {
|
|
34
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
35
|
+
};
|
|
36
|
+
play: ({ canvasElement }: {
|
|
37
|
+
canvasElement: HTMLElement;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* COLLAPSIBLE COLUMNS TESTS
|
|
3
|
+
* Tests for column group collapse/expand: singleRowChildren (one header row),
|
|
4
|
+
* multi-row headers, collapseDefault, showWhen, and icon toggle.
|
|
5
|
+
*/
|
|
6
|
+
import type { Meta } from "@storybook/html";
|
|
7
|
+
declare const meta: Meta;
|
|
8
|
+
export default meta;
|
|
9
|
+
export declare const SingleRowChildren_HeaderIsOneRow: {
|
|
10
|
+
tags: string[];
|
|
11
|
+
render: () => HTMLDivElement & {
|
|
12
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
13
|
+
};
|
|
14
|
+
play: ({ canvasElement }: {
|
|
15
|
+
canvasElement: HTMLElement;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export declare const SingleRowChildren_CollapseHidesChildren: {
|
|
19
|
+
tags: string[];
|
|
20
|
+
render: () => HTMLDivElement & {
|
|
21
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
22
|
+
};
|
|
23
|
+
play: ({ canvasElement }: {
|
|
24
|
+
canvasElement: HTMLElement;
|
|
25
|
+
}) => Promise<void>;
|
|
26
|
+
};
|
|
27
|
+
export declare const SingleRowChildren_CollapseIconToggles: {
|
|
28
|
+
tags: string[];
|
|
29
|
+
render: () => HTMLDivElement & {
|
|
30
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
31
|
+
};
|
|
32
|
+
play: ({ canvasElement }: {
|
|
33
|
+
canvasElement: HTMLElement;
|
|
34
|
+
}) => Promise<void>;
|
|
35
|
+
};
|
|
36
|
+
export declare const MultiRowHeader_TwoRows: {
|
|
37
|
+
tags: string[];
|
|
38
|
+
render: () => HTMLDivElement & {
|
|
39
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
40
|
+
};
|
|
41
|
+
play: ({ canvasElement }: {
|
|
42
|
+
canvasElement: HTMLElement;
|
|
43
|
+
}) => Promise<void>;
|
|
44
|
+
};
|
|
45
|
+
export declare const MultiRowHeader_CollapseShowsOneColumn: {
|
|
46
|
+
tags: string[];
|
|
47
|
+
render: () => HTMLDivElement & {
|
|
48
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
49
|
+
};
|
|
50
|
+
play: ({ canvasElement }: {
|
|
51
|
+
canvasElement: HTMLElement;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
};
|
|
54
|
+
export declare const CollapseDefault_StartsCollapsed: {
|
|
55
|
+
tags: string[];
|
|
56
|
+
render: () => HTMLDivElement & {
|
|
57
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
58
|
+
};
|
|
59
|
+
play: ({ canvasElement }: {
|
|
60
|
+
canvasElement: HTMLElement;
|
|
61
|
+
}) => Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
export declare const ShowWhenParentCollapsed_SummaryVisibleWhenCollapsed: {
|
|
64
|
+
tags: string[];
|
|
65
|
+
render: () => HTMLDivElement & {
|
|
66
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
67
|
+
};
|
|
68
|
+
play: ({ canvasElement }: {
|
|
69
|
+
canvasElement: HTMLElement;
|
|
70
|
+
}) => Promise<void>;
|
|
71
|
+
};
|
|
72
|
+
export declare const MultipleCollapsibleGroups: {
|
|
73
|
+
tags: string[];
|
|
74
|
+
render: () => HTMLDivElement & {
|
|
75
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
76
|
+
};
|
|
77
|
+
play: ({ canvasElement }: {
|
|
78
|
+
canvasElement: HTMLElement;
|
|
79
|
+
}) => Promise<void>;
|
|
80
|
+
};
|
|
81
|
+
export declare const ShowWhenAlwaysVisibleBothStates: {
|
|
82
|
+
render: () => HTMLDivElement & {
|
|
83
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
84
|
+
};
|
|
85
|
+
play: ({ canvasElement }: {
|
|
86
|
+
canvasElement: HTMLElement;
|
|
87
|
+
}) => Promise<void>;
|
|
88
|
+
};
|
|
89
|
+
export declare const ShowWhenParentExpandedColumnHiddenWhenCollapsed: {
|
|
90
|
+
render: () => HTMLDivElement & {
|
|
91
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
92
|
+
};
|
|
93
|
+
play: ({ canvasElement }: {
|
|
94
|
+
canvasElement: HTMLElement;
|
|
95
|
+
}) => Promise<void>;
|
|
96
|
+
};
|
|
97
|
+
export declare const CustomHeaderExpandCollapseIcons: {
|
|
98
|
+
render: () => HTMLDivElement & {
|
|
99
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
100
|
+
};
|
|
101
|
+
play: ({ canvasElement }: {
|
|
102
|
+
canvasElement: HTMLElement;
|
|
103
|
+
}) => Promise<void>;
|
|
104
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* COLUMN SELECTION TESTS
|
|
3
|
+
* Tests for selectableColumns and onColumnSelect callback.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const OnColumnSelectCallback: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const OnColumnSelectDifferentColumns: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const SelectableColumnsWithoutCallback: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LOADING STATE TESTS
|
|
3
|
+
* Tests for isLoading prop - skeleton loaders in cells when data is loading.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const LoadingStateShowsSkeletons: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const NotLoadingShowsData: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const LoadingStateWithEmptyRows: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMPTY STATE TESTS
|
|
3
|
+
* Tests for tableEmptyStateRenderer when table has no rows.
|
|
4
|
+
*/
|
|
5
|
+
import type { Meta } from "@storybook/html";
|
|
6
|
+
declare const meta: Meta;
|
|
7
|
+
export default meta;
|
|
8
|
+
export declare const EmptyStateDefaultMessage: {
|
|
9
|
+
render: () => HTMLDivElement & {
|
|
10
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
11
|
+
};
|
|
12
|
+
play: ({ canvasElement }: {
|
|
13
|
+
canvasElement: HTMLElement;
|
|
14
|
+
}) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
export declare const EmptyStateCustomString: {
|
|
17
|
+
render: () => HTMLDivElement & {
|
|
18
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
19
|
+
};
|
|
20
|
+
play: ({ canvasElement }: {
|
|
21
|
+
canvasElement: HTMLElement;
|
|
22
|
+
}) => Promise<void>;
|
|
23
|
+
};
|
|
24
|
+
export declare const EmptyStateCustomElement: {
|
|
25
|
+
render: () => HTMLDivElement & {
|
|
26
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
27
|
+
};
|
|
28
|
+
play: ({ canvasElement }: {
|
|
29
|
+
canvasElement: HTMLElement;
|
|
30
|
+
}) => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
export declare const WithDataNoEmptyState: {
|
|
33
|
+
render: () => HTMLDivElement & {
|
|
34
|
+
_table?: import("../../src/index").SimpleTableVanilla | undefined;
|
|
35
|
+
};
|
|
36
|
+
play: ({ canvasElement }: {
|
|
37
|
+
canvasElement: HTMLElement;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
};
|