simple-table-core 4.0.0 → 4.0.2

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.
Files changed (654) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/{cjs/src/consts → consts}/column-constraints.d.ts +58 -58
  3. package/dist/{cjs/src/consts → consts}/general-consts.d.ts +32 -32
  4. package/dist/{cjs/src/core → core}/SimpleTableVanilla.d.ts +370 -369
  5. package/dist/{src/core → core}/api/TableAPIImpl.d.ts +78 -78
  6. package/dist/{cjs/src/core → core}/dom/DOMManager.d.ts +52 -52
  7. package/dist/{cjs/src/core → core}/initialization/TableInitializer.d.ts +34 -34
  8. package/dist/{cjs/src/core → core}/rendering/RenderOrchestrator.d.ts +172 -172
  9. package/dist/{src/core → core}/rendering/SectionRenderer.d.ts +119 -119
  10. package/dist/{cjs/src/core → core}/rendering/TableRenderer.d.ts +120 -120
  11. package/dist/{src/hooks → hooks}/ariaAnnouncements.d.ts +37 -37
  12. package/dist/{src/hooks → hooks}/contentHeight.d.ts +29 -29
  13. package/dist/{cjs/src/hooks → hooks}/expandedDepths.d.ts +69 -69
  14. package/dist/{cjs/src/hooks → hooks}/handleOutsideClick.d.ts +50 -50
  15. package/dist/{cjs/src/hooks → hooks}/previousValue.d.ts +30 -30
  16. package/dist/{src/hooks → hooks}/scrollbarVisibility.d.ts +65 -65
  17. package/dist/{src/hooks → hooks}/scrollbarWidth.d.ts +52 -52
  18. package/dist/{src/hooks → hooks}/useAggregatedRows.d.ts +14 -14
  19. package/dist/{src/hooks → hooks}/useQuickFilter.d.ts +14 -14
  20. package/dist/{src/hooks → hooks}/windowResize.d.ts +31 -31
  21. package/dist/{cjs/src/icons → icons}/AngleDownIcon.d.ts +1 -1
  22. package/dist/{cjs/src/icons → icons}/AngleLeftIcon.d.ts +1 -1
  23. package/dist/{cjs/src/icons → icons}/AngleRightIcon.d.ts +1 -1
  24. package/dist/{cjs/src/icons → icons}/AngleUpIcon.d.ts +1 -1
  25. package/dist/{cjs/src/icons → icons}/AscIcon.d.ts +1 -1
  26. package/dist/{cjs/src/icons → icons}/CheckIcon.d.ts +1 -1
  27. package/dist/{cjs/src/icons → icons}/DescIcon.d.ts +1 -1
  28. package/dist/{cjs/src/icons → icons}/DragIcon.d.ts +1 -1
  29. package/dist/{cjs/src/icons → icons}/FilterIcon.d.ts +1 -1
  30. package/dist/{cjs/src/icons → icons}/SelectIcon.d.ts +1 -1
  31. package/dist/{src/icons → icons}/index.d.ts +14 -14
  32. package/dist/{cjs/src/index.d.ts → index.d.ts} +56 -58
  33. package/dist/index.es.js +1 -1
  34. package/dist/{cjs/src/managers → managers}/AnimationCoordinator.d.ts +356 -356
  35. package/dist/{cjs/src/managers → managers}/AutoScaleManager.d.ts +33 -33
  36. package/dist/{src/managers → managers}/ColumnManager.d.ts +42 -42
  37. package/dist/{cjs/src/managers → managers}/DimensionManager.d.ts +84 -84
  38. package/dist/{src/managers → managers}/DragHandlerManager.d.ts +44 -44
  39. package/dist/{src/managers → managers}/FilterManager.d.ts +36 -36
  40. package/dist/{src/managers → managers}/PivotManager.d.ts +35 -35
  41. package/dist/{cjs/src/managers → managers}/RowManager.d.ts +56 -56
  42. package/dist/{src/managers → managers}/RowSelectionManager.d.ts +72 -72
  43. package/dist/{cjs/src/managers → managers}/ScrollManager.d.ts +38 -38
  44. package/dist/{src/managers → managers}/SectionScrollController.d.ts +74 -74
  45. package/dist/{src/managers → managers}/SelectionManager/SelectionManager.d.ts +251 -251
  46. package/dist/{src/managers → managers}/SelectionManager/index.d.ts +2 -2
  47. package/dist/{src/managers → managers}/SelectionManager/keyboardUtils.d.ts +7 -7
  48. package/dist/{cjs/src/managers → managers}/SelectionManager/mouseUtils.d.ts +16 -16
  49. package/dist/{src/managers → managers}/SelectionManager/selectionRangeUtils.d.ts +7 -7
  50. package/dist/{src/managers → managers}/SelectionManager/types.d.ts +28 -28
  51. package/dist/{src/managers → managers}/SortManager.d.ts +42 -42
  52. package/dist/{cjs/src/managers → managers}/TableManager.d.ts +72 -72
  53. package/dist/{src/types → types}/AggregationTypes.d.ts +8 -8
  54. package/dist/{cjs/src/types → types}/AnimationsConfig.d.ts +16 -16
  55. package/dist/{src/types → types}/BoundingBox.d.ts +11 -11
  56. package/dist/{cjs/src/types → types}/Cell.d.ts +7 -7
  57. package/dist/{cjs/src/types → types}/CellChangeProps.d.ts +9 -9
  58. package/dist/{cjs/src/types → types}/CellClickProps.d.ts +11 -11
  59. package/dist/{src/types → types}/CellRendererProps.d.ts +32 -32
  60. package/dist/{cjs/src/types → types}/CellValue.d.ts +2 -2
  61. package/dist/{src/types → types}/ColumnEditorConfig.d.ts +42 -42
  62. package/dist/{src/types → types}/ColumnEditorCustomRendererProps.d.ts +14 -14
  63. package/dist/{src/types → types}/ColumnEditorRowRendererProps.d.ts +39 -39
  64. package/dist/{src/types → types}/ColumnVisibilityTypes.d.ts +4 -4
  65. package/dist/{src/types → types}/CustomTheme.d.ts +28 -28
  66. package/dist/{src/types → types}/DragHandlerProps.d.ts +14 -14
  67. package/dist/{src/types → types}/EnumOption.d.ts +5 -5
  68. package/dist/{cjs/src/types → types}/FilterTypes.d.ts +31 -31
  69. package/dist/{src/types → types}/FlattenedHeader.d.ts +10 -10
  70. package/dist/{cjs/src/types → types}/FooterPosition.d.ts +3 -3
  71. package/dist/{src/types → types}/FooterRendererProps.d.ts +17 -17
  72. package/dist/{cjs/src/types → types}/GenerateRowIdParams.d.ts +11 -11
  73. package/dist/{cjs/src/types → types}/GetRowId.d.ts +16 -16
  74. package/dist/{cjs/src/types → types}/HandleResizeStartProps.d.ts +25 -25
  75. package/dist/{cjs/src/types → types}/HeaderDropdownProps.d.ts +14 -14
  76. package/dist/{src/types → types}/HeaderObject.d.ts +152 -133
  77. package/dist/{cjs/src/types → types}/HeaderRendererProps.d.ts +17 -17
  78. package/dist/{src/types → types}/IconsConfig.d.ts +19 -19
  79. package/dist/{cjs/src/types → types}/OnNextPage.d.ts +2 -2
  80. package/dist/{cjs/src/types → types}/OnRowGroupExpandProps.d.ts +16 -16
  81. package/dist/{cjs/src/types → types}/OnSortProps.d.ts +3 -3
  82. package/dist/{cjs/src/types → types}/PanelSection.d.ts +1 -1
  83. package/dist/{cjs/src/types → types}/Pinned.d.ts +1 -1
  84. package/dist/{src/types → types}/PinnedSectionsState.d.ts +6 -6
  85. package/dist/{cjs/src/types → types}/PivotTypes.d.ts +37 -37
  86. package/dist/{cjs/src/types → types}/QuickFilterTypes.d.ts +21 -21
  87. package/dist/{cjs/src/types → types}/Row.d.ts +3 -3
  88. package/dist/{cjs/src/types → types}/RowButton.d.ts +6 -6
  89. package/dist/{cjs/src/types → types}/RowId.d.ts +1 -1
  90. package/dist/{cjs/src/types → types}/RowSelectionChangeProps.d.ts +7 -7
  91. package/dist/{src/types → types}/RowSelectionMode.d.ts +8 -8
  92. package/dist/{cjs/src/types → types}/RowState.d.ts +12 -12
  93. package/dist/{cjs/src/types → types}/RowStateRendererProps.d.ts +18 -18
  94. package/dist/{src/types → types}/SharedTableProps.d.ts +24 -24
  95. package/dist/{cjs/src/types → types}/SimpleTableConfig.d.ts +129 -124
  96. package/dist/{cjs/src/types → types}/SimpleTableProps.d.ts +173 -125
  97. package/dist/{cjs/src/types → types}/SortColumn.d.ts +8 -8
  98. package/dist/{cjs/src/types → types}/TableAPI.d.ts +85 -82
  99. package/dist/{cjs/src/types → types}/TableBodyProps.d.ts +20 -20
  100. package/dist/{cjs/src/types → types}/TableHeaderProps.d.ts +17 -17
  101. package/dist/{cjs/src/types → types}/TableHeaderSectionProps.d.ts +19 -19
  102. package/dist/{src/types → types}/TableRow.d.ts +39 -39
  103. package/dist/{src/types → types}/TableRowProps.d.ts +29 -29
  104. package/dist/{cjs/src/types → types}/Theme.d.ts +2 -2
  105. package/dist/{src/types → types}/UpdateCellProps.d.ts +8 -8
  106. package/dist/{cjs/src/utils → utils}/accordionAnimation.d.ts +25 -25
  107. package/dist/{src/utils → utils}/aggregationUtils.d.ts +7 -7
  108. package/dist/{src/utils → utils}/ariaRowOwnership.d.ts +37 -37
  109. package/dist/{src/utils → utils}/asRows.d.ts +7 -7
  110. package/dist/{src/utils → utils}/bodyCell/cellLiveRef.d.ts +9 -9
  111. package/dist/{cjs/src/utils → utils}/bodyCell/content.d.ts +5 -5
  112. package/dist/{cjs/src/utils → utils}/bodyCell/editing.d.ts +4 -4
  113. package/dist/{src/utils → utils}/bodyCell/editors/booleanDropdown.d.ts +2 -2
  114. package/dist/{src/utils → utils}/bodyCell/editors/datePicker.d.ts +2 -2
  115. package/dist/{src/utils → utils}/bodyCell/editors/dropdown.d.ts +18 -18
  116. package/dist/{cjs/src/utils → utils}/bodyCell/editors/enumDropdown.d.ts +2 -2
  117. package/dist/{cjs/src/utils → utils}/bodyCell/eventTracking.d.ts +3 -3
  118. package/dist/{cjs/src/utils → utils}/bodyCell/expansion.d.ts +12 -12
  119. package/dist/{src/utils → utils}/bodyCell/selection.d.ts +7 -7
  120. package/dist/{cjs/src/utils → utils}/bodyCell/styling.d.ts +11 -11
  121. package/dist/{src/utils → utils}/bodyCell/types.d.ts +170 -170
  122. package/dist/{src/utils → utils}/bodyCellRenderer.d.ts +6 -6
  123. package/dist/{src/utils → utils}/cellClipboardUtils.d.ts +25 -25
  124. package/dist/{cjs/src/utils → utils}/cellScrollUtils.d.ts +10 -10
  125. package/dist/{cjs/src/utils → utils}/cellUtils.d.ts +18 -18
  126. package/dist/{cjs/src/utils → utils}/charts/createBarChart.d.ts +20 -20
  127. package/dist/{cjs/src/utils → utils}/charts/createLineAreaChart.d.ts +25 -25
  128. package/dist/{src/utils → utils}/collapseUtils.d.ts +31 -31
  129. package/dist/{src/utils → utils}/columnEditor/columnEditorUtils.d.ts +27 -27
  130. package/dist/{src/utils → utils}/columnEditor/createCheckbox.d.ts +21 -21
  131. package/dist/{src/utils → utils}/columnEditor/createColumnEditor.d.ts +26 -26
  132. package/dist/{cjs/src/utils → utils}/columnEditor/createColumnEditorPopout.d.ts +23 -23
  133. package/dist/{src/utils → utils}/columnEditor/createColumnEditorRow.d.ts +41 -41
  134. package/dist/{cjs/src/utils → utils}/columnIndicesUtils.d.ts +15 -15
  135. package/dist/{src/utils → utils}/columnVirtualizationUtils.d.ts +128 -128
  136. package/dist/{cjs/src/utils → utils}/csvExportUtils.d.ts +14 -14
  137. package/dist/{cjs/src/utils → utils}/dateUtils.d.ts +18 -18
  138. package/dist/{src/utils → utils}/externalScroll.d.ts +58 -58
  139. package/dist/{cjs/src/utils → utils}/filterUtils.d.ts +5 -5
  140. package/dist/{cjs/src/utils → utils}/filters/createBooleanFilter.d.ts +15 -15
  141. package/dist/{cjs/src/utils → utils}/filters/createCustomSelect.d.ts +20 -20
  142. package/dist/{cjs/src/utils → utils}/filters/createDateFilter.d.ts +15 -15
  143. package/dist/{cjs/src/utils → utils}/filters/createDatePicker.d.ts +10 -10
  144. package/dist/{cjs/src/utils → utils}/filters/createDropdown.d.ts +33 -33
  145. package/dist/{cjs/src/utils → utils}/filters/createEnumFilter.d.ts +15 -15
  146. package/dist/{cjs/src/utils → utils}/filters/createFilterActions.d.ts +12 -12
  147. package/dist/{src/utils → utils}/filters/createFilterDropdown.d.ts +15 -15
  148. package/dist/{cjs/src/utils → utils}/filters/createFilterInput.d.ts +16 -16
  149. package/dist/{src/utils → utils}/filters/createNumberFilter.d.ts +15 -15
  150. package/dist/{cjs/src/utils → utils}/filters/createStringFilter.d.ts +15 -15
  151. package/dist/{cjs/src/utils → utils}/footer/createTableFooter.d.ts +21 -21
  152. package/dist/{cjs/src/utils → utils}/formatters.d.ts +3 -3
  153. package/dist/{cjs/src/utils → utils}/generalUtils.d.ts +4 -4
  154. package/dist/{src/utils → utils}/headerCell/collapsing.d.ts +6 -6
  155. package/dist/{cjs/src/utils → utils}/headerCell/dragging.d.ts +5 -5
  156. package/dist/{src/utils → utils}/headerCell/editing.d.ts +4 -4
  157. package/dist/{src/utils → utils}/headerCell/eventTracking.d.ts +28 -28
  158. package/dist/{src/utils → utils}/headerCell/filtering.d.ts +3 -3
  159. package/dist/{src/utils → utils}/headerCell/resizing.d.ts +3 -3
  160. package/dist/{src/utils → utils}/headerCell/selection.d.ts +10 -10
  161. package/dist/{src/utils → utils}/headerCell/sorting.d.ts +3 -3
  162. package/dist/{cjs/src/utils → utils}/headerCell/styling.d.ts +7 -7
  163. package/dist/{src/utils → utils}/headerCell/types.d.ts +110 -110
  164. package/dist/{cjs/src/utils → utils}/headerCellRenderer.d.ts +4 -4
  165. package/dist/{cjs/src/utils → utils}/headerUtils.d.ts +41 -41
  166. package/dist/{src/utils → utils}/headerWidthUtils.d.ts +121 -121
  167. package/dist/{src/utils → utils}/horizontalScrollbarRenderer.d.ts +27 -27
  168. package/dist/{cjs/src/utils → utils}/infiniteScrollUtils.d.ts +145 -145
  169. package/dist/utils/loadingPlaceholderUtils.d.ts +11 -0
  170. package/dist/{src/utils → utils}/nestedGridRowRenderer.d.ts +50 -50
  171. package/dist/utils/normalizeConfig.d.ts +62 -0
  172. package/dist/{cjs/src/utils → utils}/pinnedColumnUtils.d.ts +29 -29
  173. package/dist/{cjs/src/utils → utils}/pivot/pivotRows.d.ts +16 -16
  174. package/dist/{src/utils → utils}/propSyncEqual.d.ts +60 -60
  175. package/dist/{cjs/src/utils → utils}/quickFilterUtils.d.ts +14 -14
  176. package/dist/{src/utils → utils}/resizeUtils/autoExpandResize.d.ts +32 -32
  177. package/dist/{cjs/src/utils → utils}/resizeUtils/compensation.d.ts +17 -17
  178. package/dist/{src/utils → utils}/resizeUtils/domUpdates.d.ts +15 -15
  179. package/dist/{cjs/src/utils → utils}/resizeUtils/index.d.ts +26 -26
  180. package/dist/{src/utils → utils}/resizeUtils/maxWidth.d.ts +9 -9
  181. package/dist/{cjs/src/utils → utils}/resizeUtils/parentHeaderResize.d.ts +11 -11
  182. package/dist/{cjs/src/utils → utils}/resizeUtils/sectionWidths.d.ts +36 -36
  183. package/dist/{src/utils → utils}/rowFlattening.d.ts +30 -30
  184. package/dist/{cjs/src/utils → utils}/rowProcessing.d.ts +65 -65
  185. package/dist/{cjs/src/utils → utils}/rowSelectionUtils.d.ts +62 -62
  186. package/dist/{src/utils → utils}/rowSeparatorRenderer.d.ts +16 -16
  187. package/dist/{cjs/src/utils → utils}/rowUtils.d.ts +187 -187
  188. package/dist/{cjs/src/utils → utils}/sortUtils.d.ts +8 -8
  189. package/dist/{cjs/src/utils → utils}/stateRowRenderer.d.ts +15 -15
  190. package/dist/{src/utils → utils}/stickyParentsRenderer.d.ts +53 -53
  191. package/package.json +12 -6
  192. package/styles.css.d.ts +1 -0
  193. package/dist/cjs/src/core/api/TableAPIImpl.d.ts +0 -78
  194. package/dist/cjs/src/core/rendering/SectionRenderer.d.ts +0 -119
  195. package/dist/cjs/src/hooks/ariaAnnouncements.d.ts +0 -37
  196. package/dist/cjs/src/hooks/contentHeight.d.ts +0 -29
  197. package/dist/cjs/src/hooks/scrollbarVisibility.d.ts +0 -65
  198. package/dist/cjs/src/hooks/scrollbarWidth.d.ts +0 -52
  199. package/dist/cjs/src/hooks/useAggregatedRows.d.ts +0 -14
  200. package/dist/cjs/src/hooks/useQuickFilter.d.ts +0 -14
  201. package/dist/cjs/src/hooks/windowResize.d.ts +0 -31
  202. package/dist/cjs/src/icons/index.d.ts +0 -14
  203. package/dist/cjs/src/managers/ColumnManager.d.ts +0 -42
  204. package/dist/cjs/src/managers/DragHandlerManager.d.ts +0 -44
  205. package/dist/cjs/src/managers/FilterManager.d.ts +0 -36
  206. package/dist/cjs/src/managers/PivotManager.d.ts +0 -35
  207. package/dist/cjs/src/managers/RowSelectionManager.d.ts +0 -72
  208. package/dist/cjs/src/managers/SectionScrollController.d.ts +0 -74
  209. package/dist/cjs/src/managers/SelectionManager/SelectionManager.d.ts +0 -251
  210. package/dist/cjs/src/managers/SelectionManager/index.d.ts +0 -2
  211. package/dist/cjs/src/managers/SelectionManager/keyboardUtils.d.ts +0 -7
  212. package/dist/cjs/src/managers/SelectionManager/selectionRangeUtils.d.ts +0 -7
  213. package/dist/cjs/src/managers/SelectionManager/types.d.ts +0 -28
  214. package/dist/cjs/src/managers/SortManager.d.ts +0 -42
  215. package/dist/cjs/src/types/AggregationTypes.d.ts +0 -8
  216. package/dist/cjs/src/types/BoundingBox.d.ts +0 -11
  217. package/dist/cjs/src/types/CellRendererProps.d.ts +0 -32
  218. package/dist/cjs/src/types/ColumnEditorConfig.d.ts +0 -42
  219. package/dist/cjs/src/types/ColumnEditorCustomRendererProps.d.ts +0 -14
  220. package/dist/cjs/src/types/ColumnEditorRowRendererProps.d.ts +0 -39
  221. package/dist/cjs/src/types/ColumnVisibilityTypes.d.ts +0 -4
  222. package/dist/cjs/src/types/CustomTheme.d.ts +0 -28
  223. package/dist/cjs/src/types/DragHandlerProps.d.ts +0 -14
  224. package/dist/cjs/src/types/EnumOption.d.ts +0 -5
  225. package/dist/cjs/src/types/FlattenedHeader.d.ts +0 -10
  226. package/dist/cjs/src/types/FooterRendererProps.d.ts +0 -17
  227. package/dist/cjs/src/types/HeaderObject.d.ts +0 -133
  228. package/dist/cjs/src/types/IconsConfig.d.ts +0 -19
  229. package/dist/cjs/src/types/PinnedSectionsState.d.ts +0 -6
  230. package/dist/cjs/src/types/RowSelectionMode.d.ts +0 -8
  231. package/dist/cjs/src/types/SelectionType.d.ts +0 -7
  232. package/dist/cjs/src/types/SharedTableProps.d.ts +0 -24
  233. package/dist/cjs/src/types/TableRow.d.ts +0 -39
  234. package/dist/cjs/src/types/TableRowProps.d.ts +0 -29
  235. package/dist/cjs/src/types/UpdateCellProps.d.ts +0 -8
  236. package/dist/cjs/src/utils/aggregationUtils.d.ts +0 -7
  237. package/dist/cjs/src/utils/ariaRowOwnership.d.ts +0 -37
  238. package/dist/cjs/src/utils/asRows.d.ts +0 -7
  239. package/dist/cjs/src/utils/bodyCell/cellLiveRef.d.ts +0 -9
  240. package/dist/cjs/src/utils/bodyCell/editors/booleanDropdown.d.ts +0 -2
  241. package/dist/cjs/src/utils/bodyCell/editors/datePicker.d.ts +0 -2
  242. package/dist/cjs/src/utils/bodyCell/editors/dropdown.d.ts +0 -18
  243. package/dist/cjs/src/utils/bodyCell/selection.d.ts +0 -7
  244. package/dist/cjs/src/utils/bodyCell/types.d.ts +0 -170
  245. package/dist/cjs/src/utils/bodyCellRenderer.d.ts +0 -6
  246. package/dist/cjs/src/utils/cellClipboardUtils.d.ts +0 -25
  247. package/dist/cjs/src/utils/collapseUtils.d.ts +0 -31
  248. package/dist/cjs/src/utils/columnEditor/columnEditorUtils.d.ts +0 -27
  249. package/dist/cjs/src/utils/columnEditor/createCheckbox.d.ts +0 -21
  250. package/dist/cjs/src/utils/columnEditor/createColumnEditor.d.ts +0 -26
  251. package/dist/cjs/src/utils/columnEditor/createColumnEditorRow.d.ts +0 -41
  252. package/dist/cjs/src/utils/columnVirtualizationUtils.d.ts +0 -128
  253. package/dist/cjs/src/utils/externalScroll.d.ts +0 -58
  254. package/dist/cjs/src/utils/filters/createFilterDropdown.d.ts +0 -15
  255. package/dist/cjs/src/utils/filters/createNumberFilter.d.ts +0 -15
  256. package/dist/cjs/src/utils/headerCell/collapsing.d.ts +0 -6
  257. package/dist/cjs/src/utils/headerCell/editing.d.ts +0 -4
  258. package/dist/cjs/src/utils/headerCell/eventTracking.d.ts +0 -28
  259. package/dist/cjs/src/utils/headerCell/filtering.d.ts +0 -3
  260. package/dist/cjs/src/utils/headerCell/resizing.d.ts +0 -3
  261. package/dist/cjs/src/utils/headerCell/selection.d.ts +0 -10
  262. package/dist/cjs/src/utils/headerCell/sorting.d.ts +0 -3
  263. package/dist/cjs/src/utils/headerCell/types.d.ts +0 -110
  264. package/dist/cjs/src/utils/headerWidthUtils.d.ts +0 -121
  265. package/dist/cjs/src/utils/horizontalScrollbarRenderer.d.ts +0 -27
  266. package/dist/cjs/src/utils/nestedGridRowRenderer.d.ts +0 -50
  267. package/dist/cjs/src/utils/propSyncEqual.d.ts +0 -60
  268. package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +0 -32
  269. package/dist/cjs/src/utils/resizeUtils/domUpdates.d.ts +0 -15
  270. package/dist/cjs/src/utils/resizeUtils/maxWidth.d.ts +0 -9
  271. package/dist/cjs/src/utils/rowFlattening.d.ts +0 -30
  272. package/dist/cjs/src/utils/rowSeparatorRenderer.d.ts +0 -16
  273. package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +0 -53
  274. package/dist/cjs/stories/data/aggregate-data.d.ts +0 -5
  275. package/dist/cjs/stories/data/athlete-data.d.ts +0 -3
  276. package/dist/cjs/stories/data/retail-data.d.ts +0 -3
  277. package/dist/cjs/stories/data/saas-data.d.ts +0 -6
  278. package/dist/cjs/stories/data/space-data.d.ts +0 -3
  279. package/dist/cjs/stories/docs/Examples.stories.d.ts +0 -18
  280. package/dist/cjs/stories/docs/Features.stories.d.ts +0 -54
  281. package/dist/cjs/stories/docs/GettingStarted.stories.d.ts +0 -7
  282. package/dist/cjs/stories/docs/storyArgs.d.ts +0 -155
  283. package/dist/cjs/stories/examples/AdvancedSortingExample.d.ts +0 -6
  284. package/dist/cjs/stories/examples/AggregateExample.d.ts +0 -7
  285. package/dist/cjs/stories/examples/AlignmentExample.d.ts +0 -10
  286. package/dist/cjs/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  287. package/dist/cjs/stories/examples/BasicExample.d.ts +0 -12
  288. package/dist/cjs/stories/examples/BasicRowGrouping.d.ts +0 -11
  289. package/dist/cjs/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  290. package/dist/cjs/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  291. package/dist/cjs/stories/examples/CellHighlighting.d.ts +0 -7
  292. package/dist/cjs/stories/examples/CellRenderer.d.ts +0 -7
  293. package/dist/cjs/stories/examples/ChartsExample.d.ts +0 -13
  294. package/dist/cjs/stories/examples/ClayExample.d.ts +0 -14
  295. package/dist/cjs/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  296. package/dist/cjs/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  297. package/dist/cjs/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  298. package/dist/cjs/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  299. package/dist/cjs/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  300. package/dist/cjs/stories/examples/DynamicHeadersExample.d.ts +0 -5
  301. package/dist/cjs/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  302. package/dist/cjs/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  303. package/dist/cjs/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  304. package/dist/cjs/stories/examples/EditableCells.d.ts +0 -8
  305. package/dist/cjs/stories/examples/ExpansionControlExample.d.ts +0 -6
  306. package/dist/cjs/stories/examples/ExternalFilterExample.d.ts +0 -5
  307. package/dist/cjs/stories/examples/ExternalSortExample.d.ts +0 -6
  308. package/dist/cjs/stories/examples/HeaderInclusionExample.d.ts +0 -5
  309. package/dist/cjs/stories/examples/HiddenColumnsExample.d.ts +0 -9
  310. package/dist/cjs/stories/examples/InfiniteScroll.d.ts +0 -5
  311. package/dist/cjs/stories/examples/LiveUpdates.d.ts +0 -5
  312. package/dist/cjs/stories/examples/LoadingStateExample.d.ts +0 -2
  313. package/dist/cjs/stories/examples/NestedAccessorExample.d.ts +0 -8
  314. package/dist/cjs/stories/examples/NestedGridExample.d.ts +0 -5
  315. package/dist/cjs/stories/examples/Pagination.d.ts +0 -12
  316. package/dist/cjs/stories/examples/PaginationAPIExample.d.ts +0 -8
  317. package/dist/cjs/stories/examples/PivotExample.d.ts +0 -16
  318. package/dist/cjs/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  319. package/dist/cjs/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  320. package/dist/cjs/stories/examples/QuickFilterExample.d.ts +0 -5
  321. package/dist/cjs/stories/examples/RadioStationsExample.d.ts +0 -3
  322. package/dist/cjs/stories/examples/RowButtonsExample.d.ts +0 -14
  323. package/dist/cjs/stories/examples/RowHeightExample.d.ts +0 -8
  324. package/dist/cjs/stories/examples/RowSelectionExample.d.ts +0 -11
  325. package/dist/cjs/stories/examples/SelectableCells.d.ts +0 -14
  326. package/dist/cjs/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  327. package/dist/cjs/stories/examples/Theming.d.ts +0 -12
  328. package/dist/cjs/stories/examples/TooltipExample.d.ts +0 -8
  329. package/dist/cjs/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  330. package/dist/cjs/stories/examples/billing-example/BillingExample.d.ts +0 -13
  331. package/dist/cjs/stories/examples/billing-example/billing-headers.d.ts +0 -5
  332. package/dist/cjs/stories/examples/crypto/CryptoExample.d.ts +0 -14
  333. package/dist/cjs/stories/examples/crypto/crypto-data.d.ts +0 -30
  334. package/dist/cjs/stories/examples/crypto/crypto-headers.d.ts +0 -5
  335. package/dist/cjs/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  336. package/dist/cjs/stories/examples/filter-example/FilterExample.d.ts +0 -9
  337. package/dist/cjs/stories/examples/filter-example/filter-headers.d.ts +0 -5
  338. package/dist/cjs/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  339. package/dist/cjs/stories/examples/finance-example/finance-headers.d.ts +0 -5
  340. package/dist/cjs/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  341. package/dist/cjs/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  342. package/dist/cjs/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  343. package/dist/cjs/stories/examples/leads/LeadsExample.d.ts +0 -8
  344. package/dist/cjs/stories/examples/leads/leads-data.d.ts +0 -5
  345. package/dist/cjs/stories/examples/leads/leads-headers.d.ts +0 -6
  346. package/dist/cjs/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  347. package/dist/cjs/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  348. package/dist/cjs/stories/examples/music/MusicExample.d.ts +0 -13
  349. package/dist/cjs/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  350. package/dist/cjs/stories/examples/music/music-headers.d.ts +0 -5
  351. package/dist/cjs/stories/examples/music/music-window.data.d.ts +0 -47
  352. package/dist/cjs/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  353. package/dist/cjs/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  354. package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +0 -14
  355. package/dist/cjs/stories/examples/sales-example/sales-headers.d.ts +0 -6
  356. package/dist/cjs/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  357. package/dist/cjs/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  358. package/dist/cjs/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  359. package/dist/cjs/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  360. package/dist/cjs/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  361. package/dist/cjs/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  362. package/dist/cjs/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  363. package/dist/cjs/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  364. package/dist/cjs/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  365. package/dist/cjs/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  366. package/dist/cjs/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  367. package/dist/cjs/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  368. package/dist/cjs/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  369. package/dist/cjs/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  370. package/dist/cjs/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  371. package/dist/cjs/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  372. package/dist/cjs/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  373. package/dist/cjs/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  374. package/dist/cjs/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  375. package/dist/cjs/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  376. package/dist/cjs/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  377. package/dist/cjs/stories/tests/22-LoadingStateTests.stories.d.ts +0 -87
  378. package/dist/cjs/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  379. package/dist/cjs/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  380. package/dist/cjs/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  381. package/dist/cjs/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  382. package/dist/cjs/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  383. package/dist/cjs/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  384. package/dist/cjs/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  385. package/dist/cjs/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  386. package/dist/cjs/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  387. package/dist/cjs/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  388. package/dist/cjs/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  389. package/dist/cjs/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  390. package/dist/cjs/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  391. package/dist/cjs/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  392. package/dist/cjs/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  393. package/dist/cjs/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  394. package/dist/cjs/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  395. package/dist/cjs/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  396. package/dist/cjs/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  397. package/dist/cjs/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  398. package/dist/cjs/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  399. package/dist/cjs/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  400. package/dist/cjs/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  401. package/dist/cjs/stories/tests/45-PivotTests.stories.d.ts +0 -8
  402. package/dist/cjs/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  403. package/dist/cjs/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  404. package/dist/cjs/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  405. package/dist/cjs/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  406. package/dist/cjs/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  407. package/dist/cjs/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  408. package/dist/cjs/stories/tests/testUtils.d.ts +0 -38
  409. package/dist/cjs/stories/utils.d.ts +0 -42
  410. package/dist/cjs/stories/vanillaStoryConfig.d.ts +0 -156
  411. package/dist/src/consts/column-constraints.d.ts +0 -58
  412. package/dist/src/consts/general-consts.d.ts +0 -32
  413. package/dist/src/core/SimpleTableVanilla.d.ts +0 -369
  414. package/dist/src/core/dom/DOMManager.d.ts +0 -52
  415. package/dist/src/core/initialization/TableInitializer.d.ts +0 -34
  416. package/dist/src/core/rendering/RenderOrchestrator.d.ts +0 -172
  417. package/dist/src/core/rendering/TableRenderer.d.ts +0 -120
  418. package/dist/src/hooks/expandedDepths.d.ts +0 -69
  419. package/dist/src/hooks/handleOutsideClick.d.ts +0 -50
  420. package/dist/src/hooks/previousValue.d.ts +0 -30
  421. package/dist/src/icons/AngleDownIcon.d.ts +0 -1
  422. package/dist/src/icons/AngleLeftIcon.d.ts +0 -1
  423. package/dist/src/icons/AngleRightIcon.d.ts +0 -1
  424. package/dist/src/icons/AngleUpIcon.d.ts +0 -1
  425. package/dist/src/icons/AscIcon.d.ts +0 -1
  426. package/dist/src/icons/CheckIcon.d.ts +0 -1
  427. package/dist/src/icons/DescIcon.d.ts +0 -1
  428. package/dist/src/icons/DragIcon.d.ts +0 -1
  429. package/dist/src/icons/FilterIcon.d.ts +0 -1
  430. package/dist/src/icons/SelectIcon.d.ts +0 -1
  431. package/dist/src/index.d.ts +0 -58
  432. package/dist/src/managers/AnimationCoordinator.d.ts +0 -356
  433. package/dist/src/managers/AutoScaleManager.d.ts +0 -33
  434. package/dist/src/managers/DimensionManager.d.ts +0 -84
  435. package/dist/src/managers/RowManager.d.ts +0 -56
  436. package/dist/src/managers/ScrollManager.d.ts +0 -38
  437. package/dist/src/managers/SelectionManager/mouseUtils.d.ts +0 -16
  438. package/dist/src/managers/TableManager.d.ts +0 -72
  439. package/dist/src/types/AnimationsConfig.d.ts +0 -16
  440. package/dist/src/types/Cell.d.ts +0 -7
  441. package/dist/src/types/CellChangeProps.d.ts +0 -9
  442. package/dist/src/types/CellClickProps.d.ts +0 -11
  443. package/dist/src/types/CellValue.d.ts +0 -2
  444. package/dist/src/types/FilterTypes.d.ts +0 -31
  445. package/dist/src/types/FooterPosition.d.ts +0 -3
  446. package/dist/src/types/GenerateRowIdParams.d.ts +0 -11
  447. package/dist/src/types/GetRowId.d.ts +0 -16
  448. package/dist/src/types/HandleResizeStartProps.d.ts +0 -25
  449. package/dist/src/types/HeaderDropdownProps.d.ts +0 -14
  450. package/dist/src/types/HeaderRendererProps.d.ts +0 -17
  451. package/dist/src/types/OnNextPage.d.ts +0 -2
  452. package/dist/src/types/OnRowGroupExpandProps.d.ts +0 -16
  453. package/dist/src/types/OnSortProps.d.ts +0 -3
  454. package/dist/src/types/PanelSection.d.ts +0 -1
  455. package/dist/src/types/Pinned.d.ts +0 -1
  456. package/dist/src/types/PivotTypes.d.ts +0 -37
  457. package/dist/src/types/QuickFilterTypes.d.ts +0 -21
  458. package/dist/src/types/Row.d.ts +0 -3
  459. package/dist/src/types/RowButton.d.ts +0 -6
  460. package/dist/src/types/RowId.d.ts +0 -1
  461. package/dist/src/types/RowSelectionChangeProps.d.ts +0 -7
  462. package/dist/src/types/RowState.d.ts +0 -12
  463. package/dist/src/types/RowStateRendererProps.d.ts +0 -18
  464. package/dist/src/types/SelectionType.d.ts +0 -7
  465. package/dist/src/types/SimpleTableConfig.d.ts +0 -124
  466. package/dist/src/types/SimpleTableProps.d.ts +0 -125
  467. package/dist/src/types/SortColumn.d.ts +0 -8
  468. package/dist/src/types/TableAPI.d.ts +0 -82
  469. package/dist/src/types/TableBodyProps.d.ts +0 -20
  470. package/dist/src/types/TableHeaderProps.d.ts +0 -17
  471. package/dist/src/types/TableHeaderSectionProps.d.ts +0 -19
  472. package/dist/src/types/Theme.d.ts +0 -2
  473. package/dist/src/utils/accordionAnimation.d.ts +0 -25
  474. package/dist/src/utils/bodyCell/content.d.ts +0 -5
  475. package/dist/src/utils/bodyCell/editing.d.ts +0 -4
  476. package/dist/src/utils/bodyCell/editors/enumDropdown.d.ts +0 -2
  477. package/dist/src/utils/bodyCell/eventTracking.d.ts +0 -3
  478. package/dist/src/utils/bodyCell/expansion.d.ts +0 -12
  479. package/dist/src/utils/bodyCell/styling.d.ts +0 -11
  480. package/dist/src/utils/cellScrollUtils.d.ts +0 -10
  481. package/dist/src/utils/cellUtils.d.ts +0 -18
  482. package/dist/src/utils/charts/createBarChart.d.ts +0 -20
  483. package/dist/src/utils/charts/createLineAreaChart.d.ts +0 -25
  484. package/dist/src/utils/columnEditor/createColumnEditorPopout.d.ts +0 -23
  485. package/dist/src/utils/columnIndicesUtils.d.ts +0 -15
  486. package/dist/src/utils/csvExportUtils.d.ts +0 -14
  487. package/dist/src/utils/dateUtils.d.ts +0 -18
  488. package/dist/src/utils/filterUtils.d.ts +0 -5
  489. package/dist/src/utils/filters/createBooleanFilter.d.ts +0 -15
  490. package/dist/src/utils/filters/createCustomSelect.d.ts +0 -20
  491. package/dist/src/utils/filters/createDateFilter.d.ts +0 -15
  492. package/dist/src/utils/filters/createDatePicker.d.ts +0 -10
  493. package/dist/src/utils/filters/createDropdown.d.ts +0 -33
  494. package/dist/src/utils/filters/createEnumFilter.d.ts +0 -15
  495. package/dist/src/utils/filters/createFilterActions.d.ts +0 -12
  496. package/dist/src/utils/filters/createFilterInput.d.ts +0 -16
  497. package/dist/src/utils/filters/createStringFilter.d.ts +0 -15
  498. package/dist/src/utils/footer/createTableFooter.d.ts +0 -21
  499. package/dist/src/utils/formatters.d.ts +0 -3
  500. package/dist/src/utils/generalUtils.d.ts +0 -4
  501. package/dist/src/utils/headerCell/dragging.d.ts +0 -5
  502. package/dist/src/utils/headerCell/styling.d.ts +0 -7
  503. package/dist/src/utils/headerCellRenderer.d.ts +0 -4
  504. package/dist/src/utils/headerUtils.d.ts +0 -41
  505. package/dist/src/utils/infiniteScrollUtils.d.ts +0 -145
  506. package/dist/src/utils/pinnedColumnUtils.d.ts +0 -29
  507. package/dist/src/utils/pivot/pivotRows.d.ts +0 -16
  508. package/dist/src/utils/quickFilterUtils.d.ts +0 -14
  509. package/dist/src/utils/resizeUtils/compensation.d.ts +0 -17
  510. package/dist/src/utils/resizeUtils/index.d.ts +0 -26
  511. package/dist/src/utils/resizeUtils/parentHeaderResize.d.ts +0 -11
  512. package/dist/src/utils/resizeUtils/sectionWidths.d.ts +0 -36
  513. package/dist/src/utils/rowProcessing.d.ts +0 -65
  514. package/dist/src/utils/rowSelectionUtils.d.ts +0 -62
  515. package/dist/src/utils/rowUtils.d.ts +0 -187
  516. package/dist/src/utils/sortUtils.d.ts +0 -8
  517. package/dist/src/utils/stateRowRenderer.d.ts +0 -15
  518. package/dist/stories/data/aggregate-data.d.ts +0 -5
  519. package/dist/stories/data/athlete-data.d.ts +0 -3
  520. package/dist/stories/data/retail-data.d.ts +0 -3
  521. package/dist/stories/data/saas-data.d.ts +0 -6
  522. package/dist/stories/data/space-data.d.ts +0 -3
  523. package/dist/stories/docs/Examples.stories.d.ts +0 -18
  524. package/dist/stories/docs/Features.stories.d.ts +0 -54
  525. package/dist/stories/docs/GettingStarted.stories.d.ts +0 -7
  526. package/dist/stories/docs/storyArgs.d.ts +0 -155
  527. package/dist/stories/examples/AdvancedSortingExample.d.ts +0 -6
  528. package/dist/stories/examples/AggregateExample.d.ts +0 -7
  529. package/dist/stories/examples/AlignmentExample.d.ts +0 -10
  530. package/dist/stories/examples/AutoExpandColumnsExample.d.ts +0 -7
  531. package/dist/stories/examples/BasicExample.d.ts +0 -12
  532. package/dist/stories/examples/BasicRowGrouping.d.ts +0 -11
  533. package/dist/stories/examples/CSVExportFormattingExample.d.ts +0 -12
  534. package/dist/stories/examples/CSVExportSingleRowChildrenExample.d.ts +0 -6
  535. package/dist/stories/examples/CellHighlighting.d.ts +0 -7
  536. package/dist/stories/examples/CellRenderer.d.ts +0 -7
  537. package/dist/stories/examples/ChartsExample.d.ts +0 -13
  538. package/dist/stories/examples/ClayExample.d.ts +0 -14
  539. package/dist/stories/examples/ClipboardFormattingExample.d.ts +0 -12
  540. package/dist/stories/examples/CollapsibleColumnsExample.d.ts +0 -13
  541. package/dist/stories/examples/ColumnVisibilityAPIExample.d.ts +0 -7
  542. package/dist/stories/examples/ColumnWidthChangeExample.d.ts +0 -6
  543. package/dist/stories/examples/CustomHeaderRenderingExample.d.ts +0 -2
  544. package/dist/stories/examples/DynamicHeadersExample.d.ts +0 -5
  545. package/dist/stories/examples/DynamicNestedTableExample.d.ts +0 -7
  546. package/dist/stories/examples/DynamicRowLoadingExample.d.ts +0 -5
  547. package/dist/stories/examples/DynamicRowLoadingWithExternalSortExample.d.ts +0 -6
  548. package/dist/stories/examples/EditableCells.d.ts +0 -8
  549. package/dist/stories/examples/ExpansionControlExample.d.ts +0 -6
  550. package/dist/stories/examples/ExternalFilterExample.d.ts +0 -5
  551. package/dist/stories/examples/ExternalSortExample.d.ts +0 -6
  552. package/dist/stories/examples/HeaderInclusionExample.d.ts +0 -5
  553. package/dist/stories/examples/HiddenColumnsExample.d.ts +0 -9
  554. package/dist/stories/examples/InfiniteScroll.d.ts +0 -5
  555. package/dist/stories/examples/LiveUpdates.d.ts +0 -5
  556. package/dist/stories/examples/LoadingStateExample.d.ts +0 -2
  557. package/dist/stories/examples/NestedAccessorExample.d.ts +0 -8
  558. package/dist/stories/examples/NestedGridExample.d.ts +0 -5
  559. package/dist/stories/examples/Pagination.d.ts +0 -12
  560. package/dist/stories/examples/PaginationAPIExample.d.ts +0 -8
  561. package/dist/stories/examples/PivotExample.d.ts +0 -16
  562. package/dist/stories/examples/ProgrammaticFilterExample.d.ts +0 -5
  563. package/dist/stories/examples/ProgrammaticSortExample.d.ts +0 -5
  564. package/dist/stories/examples/QuickFilterExample.d.ts +0 -5
  565. package/dist/stories/examples/RadioStationsExample.d.ts +0 -3
  566. package/dist/stories/examples/RowButtonsExample.d.ts +0 -14
  567. package/dist/stories/examples/RowHeightExample.d.ts +0 -8
  568. package/dist/stories/examples/RowSelectionExample.d.ts +0 -11
  569. package/dist/stories/examples/SelectableCells.d.ts +0 -14
  570. package/dist/stories/examples/ServerSidePaginationExample.d.ts +0 -2
  571. package/dist/stories/examples/Theming.d.ts +0 -12
  572. package/dist/stories/examples/TooltipExample.d.ts +0 -8
  573. package/dist/stories/examples/WindowInfiniteScroll.d.ts +0 -3
  574. package/dist/stories/examples/billing-example/BillingExample.d.ts +0 -13
  575. package/dist/stories/examples/billing-example/billing-headers.d.ts +0 -5
  576. package/dist/stories/examples/crypto/CryptoExample.d.ts +0 -14
  577. package/dist/stories/examples/crypto/crypto-data.d.ts +0 -30
  578. package/dist/stories/examples/crypto/crypto-headers.d.ts +0 -5
  579. package/dist/stories/examples/custom-theme/CustomThemeDemo.d.ts +0 -2
  580. package/dist/stories/examples/filter-example/FilterExample.d.ts +0 -9
  581. package/dist/stories/examples/filter-example/filter-headers.d.ts +0 -5
  582. package/dist/stories/examples/finance-example/FinancialExample.d.ts +0 -8
  583. package/dist/stories/examples/finance-example/finance-headers.d.ts +0 -5
  584. package/dist/stories/examples/infrastructure/InfrastructureExample.d.ts +0 -9
  585. package/dist/stories/examples/infrastructure/infrastructure-data.d.ts +0 -5
  586. package/dist/stories/examples/infrastructure/infrastructure-headers.d.ts +0 -5
  587. package/dist/stories/examples/leads/LeadsExample.d.ts +0 -8
  588. package/dist/stories/examples/leads/leads-data.d.ts +0 -5
  589. package/dist/stories/examples/leads/leads-headers.d.ts +0 -6
  590. package/dist/stories/examples/manufacturing/ManufacturingExample.d.ts +0 -10
  591. package/dist/stories/examples/manufacturing/manufacturing-headers.d.ts +0 -5
  592. package/dist/stories/examples/music/MusicExample.d.ts +0 -13
  593. package/dist/stories/examples/music/MusicWindowScrollExample.d.ts +0 -5
  594. package/dist/stories/examples/music/music-headers.d.ts +0 -5
  595. package/dist/stories/examples/music/music-window.data.d.ts +0 -47
  596. package/dist/stories/examples/pinned-columns/PinnedColumns.d.ts +0 -13
  597. package/dist/stories/examples/row-grouping/RowGrouping.d.ts +0 -8
  598. package/dist/stories/examples/sales-example/SalesExample.d.ts +0 -14
  599. package/dist/stories/examples/sales-example/sales-headers.d.ts +0 -6
  600. package/dist/stories/tests/01-BasicStructureTests.stories.d.ts +0 -119
  601. package/dist/stories/tests/02-ColumnSortingTests.stories.d.ts +0 -114
  602. package/dist/stories/tests/03-ColumnFilteringTests.stories.d.ts +0 -86
  603. package/dist/stories/tests/04-PaginationTests.stories.d.ts +0 -94
  604. package/dist/stories/tests/05-RowGroupingTests.stories.d.ts +0 -204
  605. package/dist/stories/tests/06-CellEditingTests.stories.d.ts +0 -61
  606. package/dist/stories/tests/07-RowSelectionTests.stories.d.ts +0 -101
  607. package/dist/stories/tests/08-ColumnWidthTests.stories.d.ts +0 -99
  608. package/dist/stories/tests/09-ColumnAlignmentTests.stories.d.ts +0 -61
  609. package/dist/stories/tests/10-ColumnPinningTests.stories.d.ts +0 -115
  610. package/dist/stories/tests/11-ColumnReorderingTests.stories.d.ts +0 -122
  611. package/dist/stories/tests/12-CellSelectionTests.stories.d.ts +0 -212
  612. package/dist/stories/tests/13-ColumnResizeTests.stories.d.ts +0 -101
  613. package/dist/stories/tests/14-LiveUpdatesTests.stories.d.ts +0 -28
  614. package/dist/stories/tests/15-ColumnVisibilityTests.stories.d.ts +0 -143
  615. package/dist/stories/tests/16-CsvExportTests.stories.d.ts +0 -133
  616. package/dist/stories/tests/17-NestedTablesTests.stories.d.ts +0 -105
  617. package/dist/stories/tests/18-QuickFilterTests.stories.d.ts +0 -120
  618. package/dist/stories/tests/19-AccessibilityTests.stories.d.ts +0 -39
  619. package/dist/stories/tests/20-CollapsibleColumnsTests.stories.d.ts +0 -104
  620. package/dist/stories/tests/21-ColumnSelectionTests.stories.d.ts +0 -31
  621. package/dist/stories/tests/22-LoadingStateTests.stories.d.ts +0 -87
  622. package/dist/stories/tests/23-EmptyStateTests.stories.d.ts +0 -39
  623. package/dist/stories/tests/24-FooterRendererTests.stories.d.ts +0 -63
  624. package/dist/stories/tests/25-HeaderRendererTests.stories.d.ts +0 -58
  625. package/dist/stories/tests/26-CellRendererTests.stories.d.ts +0 -55
  626. package/dist/stories/tests/27-ValueFormatterTests.stories.d.ts +0 -53
  627. package/dist/stories/tests/28-CellClickTests.stories.d.ts +0 -23
  628. package/dist/stories/tests/29-TooltipsTests.stories.d.ts +0 -31
  629. package/dist/stories/tests/30-AggregateFunctionsTests.stories.d.ts +0 -63
  630. package/dist/stories/tests/31-ChartColumnsTests.stories.d.ts +0 -54
  631. package/dist/stories/tests/32-ThemesTests.stories.d.ts +0 -104
  632. package/dist/stories/tests/33-CustomThemeTests.stories.d.ts +0 -150
  633. package/dist/stories/tests/34-CustomIconsTests.stories.d.ts +0 -63
  634. package/dist/stories/tests/35-HideHeaderFooterTests.stories.d.ts +0 -31
  635. package/dist/stories/tests/36-InfiniteScrollTests.stories.d.ts +0 -23
  636. package/dist/stories/tests/37-TableRefMethodsTests.stories.d.ts +0 -160
  637. package/dist/stories/tests/38-NestedHeadersTests.stories.d.ts +0 -23
  638. package/dist/stories/tests/39-AutoExpandColumnsTests.stories.d.ts +0 -398
  639. package/dist/stories/tests/40-MaxHeightScrollTests.stories.d.ts +0 -37
  640. package/dist/stories/tests/41-CellAnimationsTests.stories.d.ts +0 -237
  641. package/dist/stories/tests/42-CellAnimationsVirtualizationTests.stories.d.ts +0 -251
  642. package/dist/stories/tests/43-CollapseExpandAnimationsTests.stories.d.ts +0 -63
  643. package/dist/stories/tests/44-ExternalScrollTests.stories.d.ts +0 -53
  644. package/dist/stories/tests/45-AriaSemanticsTests.stories.d.ts +0 -83
  645. package/dist/stories/tests/45-PivotTests.stories.d.ts +0 -8
  646. package/dist/stories/tests/46-AutoSizeColumnsTests.stories.d.ts +0 -370
  647. package/dist/stories/tests/47-DeferredHeadersTests.stories.d.ts +0 -23
  648. package/dist/stories/tests/48-ExternalScrollLateParentTests.stories.d.ts +0 -45
  649. package/dist/stories/tests/49-AutoWidthAutoExpandTests.stories.d.ts +0 -151
  650. package/dist/stories/tests/50-ContainerResizePerformanceTests.stories.d.ts +0 -56
  651. package/dist/stories/tests/51-RowGroupReExpandTests.stories.d.ts +0 -78
  652. package/dist/stories/tests/testUtils.d.ts +0 -38
  653. package/dist/stories/utils.d.ts +0 -42
  654. package/dist/stories/vanillaStoryConfig.d.ts +0 -156
@@ -1,398 +0,0 @@
1
- /**
2
- * AUTO EXPAND COLUMNS TESTS
3
- * Intensive tests for autoExpandColumns with pinned columns, row grouping,
4
- * column visibility, column resizing, horizontal scrolling, and edge cases.
5
- */
6
- import type { Meta } from "@storybook/html";
7
- declare const meta: Meta;
8
- export default meta;
9
- export declare const AutoExpandWarmUp: {
10
- parameters: {
11
- tags: string[];
12
- };
13
- render: () => HTMLElement;
14
- play: () => Promise<void>;
15
- };
16
- export declare const AutoExpandWithLeftPinned: {
17
- parameters: {
18
- tags: string[];
19
- };
20
- render: () => HTMLElement;
21
- play: ({ canvasElement }: {
22
- canvasElement: HTMLElement;
23
- }) => Promise<void>;
24
- };
25
- export declare const AutoExpandWithRightPinned: {
26
- parameters: {
27
- tags: string[];
28
- };
29
- render: () => HTMLElement;
30
- play: ({ canvasElement }: {
31
- canvasElement: HTMLElement;
32
- }) => Promise<void>;
33
- };
34
- export declare const AutoExpandWithBothLeftAndRightPinned: {
35
- parameters: {
36
- tags: string[];
37
- };
38
- render: () => HTMLElement;
39
- play: ({ canvasElement }: {
40
- canvasElement: HTMLElement;
41
- }) => Promise<void>;
42
- };
43
- export declare const AutoExpandMultiplePinnedBothSides: {
44
- parameters: {
45
- tags: string[];
46
- };
47
- render: () => HTMLElement;
48
- play: ({ canvasElement }: {
49
- canvasElement: HTMLElement;
50
- }) => Promise<void>;
51
- };
52
- export declare const PinnedSectionScalesWithinBounds: {
53
- parameters: {
54
- tags: string[];
55
- };
56
- render: () => HTMLElement;
57
- play: ({ canvasElement }: {
58
- canvasElement: HTMLElement;
59
- }) => Promise<void>;
60
- };
61
- export declare const AutoExpandWithRowGrouping: {
62
- parameters: {
63
- tags: string[];
64
- };
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 AutoExpandGroupedExpandCollapse: {
73
- parameters: {
74
- tags: string[];
75
- };
76
- render: () => HTMLDivElement & {
77
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
78
- };
79
- play: ({ canvasElement }: {
80
- canvasElement: HTMLElement;
81
- }) => Promise<void>;
82
- };
83
- export declare const AutoExpandCollapsibleColumnsFillContainer: {
84
- tags: string[];
85
- parameters: {
86
- tags: string[];
87
- };
88
- render: () => HTMLElement;
89
- play: ({ canvasElement }: {
90
- canvasElement: HTMLElement;
91
- }) => Promise<void>;
92
- };
93
- export declare const AutoExpandWithNestedGrouping: {
94
- parameters: {
95
- tags: string[];
96
- };
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 AutoExpandHideColumnReexpand: {
105
- parameters: {
106
- tags: string[];
107
- };
108
- render: () => HTMLDivElement & {
109
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
110
- };
111
- play: ({ canvasElement }: {
112
- canvasElement: HTMLElement;
113
- }) => Promise<void>;
114
- };
115
- export declare const AutoExpandShowColumnReexpand: {
116
- parameters: {
117
- tags: string[];
118
- };
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 AutoExpandHideMultipleThenShowOne: {
127
- parameters: {
128
- tags: string[];
129
- };
130
- render: () => HTMLDivElement & {
131
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
132
- };
133
- play: ({ canvasElement }: {
134
- canvasElement: HTMLElement;
135
- }) => Promise<void>;
136
- };
137
- export declare const AutoExpandResizeOneColumnProportional: {
138
- parameters: {
139
- tags: string[];
140
- };
141
- render: () => HTMLDivElement & {
142
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
143
- };
144
- play: ({ canvasElement }: {
145
- canvasElement: HTMLElement;
146
- }) => Promise<void>;
147
- };
148
- export declare const AutoExpandResizeThenReexpandOnEnd: {
149
- parameters: {
150
- tags: string[];
151
- };
152
- render: () => HTMLDivElement & {
153
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
154
- };
155
- play: ({ canvasElement }: {
156
- canvasElement: HTMLElement;
157
- }) => Promise<void>;
158
- };
159
- export declare const AutoExpandResizePinnedColumn: {
160
- parameters: {
161
- tags: string[];
162
- };
163
- render: () => HTMLDivElement & {
164
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
165
- };
166
- play: ({ canvasElement }: {
167
- canvasElement: HTMLElement;
168
- }) => Promise<void>;
169
- };
170
- export declare const AutoExpandResizeMultipleColumns: {
171
- parameters: {
172
- tags: string[];
173
- };
174
- render: () => HTMLDivElement & {
175
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
176
- };
177
- play: ({ canvasElement }: {
178
- canvasElement: HTMLElement;
179
- }) => Promise<void>;
180
- };
181
- /** Stress test: extreme resizes – shrink every column to min, then one as wide as possible, then mix. */
182
- export declare const AutoExpandResizeMultipleColumnsStress: {
183
- parameters: {
184
- tags: string[];
185
- };
186
- render: () => HTMLDivElement & {
187
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
188
- };
189
- play: ({ canvasElement }: {
190
- canvasElement: HTMLElement;
191
- }) => Promise<void>;
192
- };
193
- export declare const AutoExpandWideContainerNoHorizontalScroll: {
194
- parameters: {
195
- tags: string[];
196
- };
197
- render: () => HTMLElement;
198
- play: ({ canvasElement }: {
199
- canvasElement: HTMLElement;
200
- }) => Promise<void>;
201
- };
202
- export declare const AutoExpandNarrowContainerHorizontalScroll: {
203
- parameters: {
204
- tags: string[];
205
- };
206
- render: () => HTMLElement;
207
- play: ({ canvasElement }: {
208
- canvasElement: HTMLElement;
209
- }) => Promise<void>;
210
- };
211
- export declare const AutoExpandHorizontalScrollHeaderBodySync: {
212
- parameters: {
213
- tags: string[];
214
- };
215
- render: () => HTMLElement;
216
- play: ({ canvasElement }: {
217
- canvasElement: HTMLElement;
218
- }) => Promise<void>;
219
- };
220
- export declare const AutoExpandScrollThenResizeStable: {
221
- parameters: {
222
- tags: string[];
223
- };
224
- render: () => HTMLDivElement & {
225
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
226
- };
227
- play: ({ canvasElement }: {
228
- canvasElement: HTMLElement;
229
- }) => Promise<void>;
230
- };
231
- export declare const AutoExpandSingleColumn: {
232
- parameters: {
233
- tags: string[];
234
- };
235
- render: () => HTMLElement;
236
- play: ({ canvasElement }: {
237
- canvasElement: HTMLElement;
238
- }) => Promise<void>;
239
- };
240
- export declare const AutoExpandAllPinnedNoMain: {
241
- parameters: {
242
- tags: string[];
243
- };
244
- render: () => HTMLElement;
245
- play: ({ canvasElement }: {
246
- canvasElement: HTMLElement;
247
- }) => Promise<void>;
248
- };
249
- export declare const AutoExpandContainerResizeTriggersRescale: {
250
- parameters: {
251
- tags: string[];
252
- };
253
- render: () => HTMLDivElement & {
254
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
255
- };
256
- play: ({ canvasElement }: {
257
- canvasElement: HTMLElement;
258
- }) => Promise<void>;
259
- };
260
- /** Resize a right-pinned column with autoExpand. Delta is reversed for right-pinned. */
261
- export declare const AutoExpandResizeRightPinnedColumn: {
262
- parameters: {
263
- tags: string[];
264
- };
265
- render: () => HTMLDivElement & {
266
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
267
- };
268
- play: ({ canvasElement }: {
269
- canvasElement: HTMLElement;
270
- }) => Promise<void>;
271
- };
272
- /** Resize the boundary column of a left-pinned section (rightmost pinned column).
273
- * This hits the "section boundary" code path where columnsToShrink is empty;
274
- * the section itself grows/shrinks without sibling compensation. */
275
- export declare const AutoExpandResizePinnedBoundaryColumn: {
276
- parameters: {
277
- tags: string[];
278
- };
279
- render: () => HTMLDivElement & {
280
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
281
- };
282
- play: ({ canvasElement }: {
283
- canvasElement: HTMLElement;
284
- }) => Promise<void>;
285
- };
286
- /** Resize a main-section column when both left and right pinned sections exist.
287
- * Width redistribution should only affect the main section columns. */
288
- export declare const AutoExpandResizeMainWithBothPinned: {
289
- parameters: {
290
- tags: string[];
291
- };
292
- render: () => HTMLDivElement & {
293
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
294
- };
295
- play: ({ canvasElement }: {
296
- canvasElement: HTMLElement;
297
- }) => Promise<void>;
298
- };
299
- /** Shrink a column all the way to minWidth with autoExpand.
300
- * The freed space should be redistributed to neighboring columns. */
301
- export declare const AutoExpandShrinkColumnToMinWidth: {
302
- parameters: {
303
- tags: string[];
304
- };
305
- render: () => HTMLDivElement & {
306
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
307
- };
308
- play: ({ canvasElement }: {
309
- canvasElement: HTMLElement;
310
- }) => Promise<void>;
311
- };
312
- /** Grow a column far past what siblings can absorb. Siblings shrink only down
313
- * to their natural (declared) widths — never below — and the extra growth
314
- * overflows the container into horizontal scroll. */
315
- export declare const AutoExpandGrowPastSiblingFloorsOverflows: {
316
- parameters: {
317
- tags: string[];
318
- };
319
- render: () => HTMLDivElement & {
320
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
321
- };
322
- play: ({ canvasElement }: {
323
- canvasElement: HTMLElement;
324
- }) => Promise<void>;
325
- };
326
- /** Resize a left-pinned column with an extreme positive delta to test max section width clamping.
327
- * The pinned section should not exceed 60% of the container (single pinned) or 40% (dual). */
328
- export declare const AutoExpandResizePinnedPastMaxSectionWidth: {
329
- parameters: {
330
- tags: string[];
331
- };
332
- render: () => HTMLDivElement & {
333
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
334
- };
335
- play: ({ canvasElement }: {
336
- canvasElement: HTMLElement;
337
- }) => Promise<void>;
338
- };
339
- /** Resize with both pinned sections and extreme delta to test dual-pinned max clamping (40% each). */
340
- export declare const AutoExpandResizeDualPinnedMaxClamp: {
341
- parameters: {
342
- tags: string[];
343
- };
344
- render: () => HTMLDivElement & {
345
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
346
- };
347
- play: ({ canvasElement }: {
348
- canvasElement: HTMLElement;
349
- }) => Promise<void>;
350
- };
351
- /** Double-click on resize handle with autoExpand + pinned columns.
352
- * Verifies no crash and columns stay within bounds. */
353
- export declare const AutoExpandDoubleClickResizePinned: {
354
- parameters: {
355
- tags: string[];
356
- };
357
- render: () => HTMLDivElement & {
358
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
359
- };
360
- play: ({ canvasElement }: {
361
- canvasElement: HTMLElement;
362
- }) => Promise<void>;
363
- };
364
- /** The last main column keeps its resize handle under autoExpandColumns
365
- * (growth past the container is now possible via horizontal overflow).
366
- * Dragging it reclaims the left neighbor's expanded surplus first. */
367
- export declare const AutoExpandLastMainColumnHasResizeHandle: {
368
- parameters: {
369
- tags: string[];
370
- };
371
- render: () => HTMLDivElement & {
372
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
373
- };
374
- play: ({ canvasElement }: {
375
- canvasElement: HTMLElement;
376
- }) => Promise<void>;
377
- };
378
- /** Stress test: resize across pinned and main sections in sequence, growing and shrinking. */
379
- export declare const AutoExpandResizePinnedAndMainStress: {
380
- parameters: {
381
- tags: string[];
382
- };
383
- render: () => HTMLDivElement & {
384
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
385
- };
386
- play: ({ canvasElement }: {
387
- canvasElement: HTMLElement;
388
- }) => Promise<void>;
389
- };
390
- export declare const AutoExpandDisabledNoExpand: {
391
- parameters: {
392
- tags: string[];
393
- };
394
- render: () => HTMLElement;
395
- play: ({ canvasElement }: {
396
- canvasElement: HTMLElement;
397
- }) => Promise<void>;
398
- };
@@ -1,37 +0,0 @@
1
- /**
2
- * MAX HEIGHT SCROLLING TESTS
3
- *
4
- * Regression test for v2.6.5 fix: when maxHeight is set and total content
5
- * height exceeds maxHeight, the table body must scroll even when row count
6
- * is below VIRTUALIZATION_THRESHOLD (20).
7
- */
8
- import type { Meta } from "@storybook/html";
9
- declare const meta: Meta;
10
- export default meta;
11
- export declare const MaxHeightScrollsWithFewRows: {
12
- tags: string[];
13
- render: () => HTMLDivElement & {
14
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
15
- };
16
- play: ({ canvasElement }: {
17
- canvasElement: any;
18
- }) => Promise<void>;
19
- };
20
- export declare const MaxHeightNoScrollWhenContentFits: {
21
- tags: string[];
22
- render: () => HTMLDivElement & {
23
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
24
- };
25
- play: ({ canvasElement }: {
26
- canvasElement: any;
27
- }) => Promise<void>;
28
- };
29
- export declare const MaxHeightCalcScrolls: {
30
- tags: string[];
31
- render: () => HTMLDivElement & {
32
- _table?: import("../../src/index").SimpleTableVanilla | undefined;
33
- };
34
- play: ({ canvasElement }: {
35
- canvasElement: any;
36
- }) => Promise<void>;
37
- };
@@ -1,237 +0,0 @@
1
- /**
2
- * CELL ANIMATIONS TESTS
3
- *
4
- * Covers FLIP-style animations on:
5
- * - Programmatic column reorder via the API (cells shift `left`).
6
- * - Sort change (rows shift `top`) when `getRowId` is provided so cell
7
- * identity is row-stable.
8
- *
9
- * Cells that newly enter the visible band slide in from their actual pre-
10
- * change off-screen position; cells that leave the visible band slide out
11
- * to their actual post-change off-screen position. The body container's
12
- * overflow clip turns those long off-screen translates into "appears to
13
- * slide in from the viewport edge" visually.
14
- *
15
- * Animations default to `true`. Live drag reorder is intentionally not
16
- * animated (we don't want to fight the user's pointer mid-drag).
17
- */
18
- import { SimpleTableVanilla } from "../../src/index";
19
- import type { Meta } from "@storybook/html";
20
- declare const meta: Meta;
21
- export default meta;
22
- export declare const ProgrammaticReorderAnimation: {
23
- render: () => HTMLDivElement & {
24
- _table?: SimpleTableVanilla | undefined;
25
- };
26
- play: ({ canvasElement }: {
27
- canvasElement: HTMLElement;
28
- }) => Promise<void>;
29
- };
30
- /**
31
- * Simplest possible reorder animation test: a 3 columns × 3 rows table.
32
- *
33
- * Step 1 is the straightforward case — move the center column (B) to the
34
- * rightmost position by swapping B and C via
35
- * `table.update({ defaultHeaders: [...] })`. After that animation settles,
36
- * the play function chains four more reorders (5 total) so we exercise:
37
- *
38
- * - Pairwise neighbour swaps (B↔C, A↔B).
39
- * - Long-distance swaps (first ↔ last column).
40
- * - A "rotate back to original" reset.
41
- *
42
- * For every step we synchronously read the FLIP "First" frame and assert
43
- * that each cell's inverse `transform-X` exactly matches `oldLeft − newLeft`
44
- * (≤ 1.5px tolerance), then wait past `SLOW_DURATION` and assert no leftover
45
- * transforms and no retained ghosts before moving on to the next step.
46
- *
47
- * Expected FLIP behaviour for each reorder:
48
- * - Cells whose `left` increases slide RIGHT, so their inverse transform-X
49
- * is NEGATIVE (`oldLeft − newLeft < 0`).
50
- * - Cells whose `left` decreases slide LEFT, so their inverse transform-X
51
- * is POSITIVE (`oldLeft − newLeft > 0`).
52
- * - Cells whose column index is unchanged have no transform.
53
- */
54
- export declare const SimpleThreeByThreeCenterToRightSwap: {
55
- render: () => HTMLDivElement & {
56
- _table?: SimpleTableVanilla | undefined;
57
- };
58
- play: ({ canvasElement }: {
59
- canvasElement: HTMLElement;
60
- }) => Promise<void>;
61
- };
62
- /**
63
- * Regression test: HEADER cells must FLIP-animate during a column reorder
64
- * the same way body cells do. Header cells live in their own per-section
65
- * tracking registry (separate WeakMap from body cells) and used to be
66
- * invisible to the AnimationCoordinator, so on a reorder they would teleport
67
- * while the body cells underneath them slid into place.
68
- *
69
- * For each of five chained programmatic reorders the test:
70
- * 1. Snapshots every header cell's `style.left` BEFORE the update.
71
- * 2. Calls `table.update({ defaultHeaders })` then synchronously reads
72
- * the FLIP "First" frame transform on every header.
73
- * 3. Asserts the inverse `transform-X` equals `oldLeft − newLeft` (±1.5px),
74
- * that headers whose index didn't change have no transform, and that
75
- * swapped headers carry opposite-sign transforms (one slid left, one
76
- * slid right).
77
- * 4. After SETTLE_PAUSE asserts no leftover transforms or transitions
78
- * remain on any header cell.
79
- */
80
- export declare const HeaderCellsAnimateOnColumnReorder: {
81
- render: () => HTMLDivElement & {
82
- _table?: SimpleTableVanilla | undefined;
83
- };
84
- play: ({ canvasElement }: {
85
- canvasElement: HTMLElement;
86
- }) => Promise<void>;
87
- };
88
- /**
89
- * Drag-and-drop variant of {@link HeaderCellsAnimateOnColumnReorder}. The
90
- * regression we're guarding against is a setup where body cells animate on
91
- * every dragover but header cells teleport because the AnimationCoordinator
92
- * has never been told about the header containers.
93
- */
94
- export declare const HeaderCellsAnimateDuringDragReorder: {
95
- render: () => HTMLDivElement & {
96
- _table?: SimpleTableVanilla | undefined;
97
- };
98
- play: ({ canvasElement }: {
99
- canvasElement: HTMLElement;
100
- }) => Promise<void>;
101
- };
102
- /**
103
- * Regression test: while a drag-reorder swap is animating, dragover events
104
- * targeting the still-animating cells must NOT keep firing additional
105
- * swaps. Previously, the moving header would slide back under the user's
106
- * cursor, the browser would re-fire dragover on it, and the column order
107
- * would oscillate visibly (a fast back-and-forth flicker).
108
- *
109
- * The fix: in-flight cells get `pointer-events: none` so the browser's
110
- * hit-testing skips them. dispatchEvent bypasses hit-testing, so this test
111
- * resolves the cursor's target via `document.elementFromPoint` (which DOES
112
- * honor pointer-events: none) — i.e. simulates what the browser would do.
113
- *
114
- * Asserts:
115
- * 1. Headers that move have `pointer-events: none` while in flight.
116
- * 2. The unchanged header keeps default pointer-events.
117
- * 3. After many dragover events sustained at the same screen point during
118
- * the animation, the column order does NOT oscillate (at most one swap
119
- * from the starting state, never the original-→-swapped-→-original
120
- * ping-pong the regression produced).
121
- * 4. After the animation settles, pointer-events on the previously-moving
122
- * headers is restored to default.
123
- */
124
- export declare const HeaderDragDoesNotFlickerDuringAnimation: {
125
- render: () => HTMLDivElement & {
126
- _table?: SimpleTableVanilla | undefined;
127
- };
128
- play: ({ canvasElement }: {
129
- canvasElement: HTMLElement;
130
- }) => Promise<void>;
131
- };
132
- export declare const ReorderWithoutAnimations: {
133
- render: () => HTMLDivElement & {
134
- _table?: SimpleTableVanilla | undefined;
135
- };
136
- play: ({ canvasElement }: {
137
- canvasElement: HTMLElement;
138
- }) => Promise<void>;
139
- };
140
- export declare const SortAnimationDemo: {
141
- render: () => HTMLDivElement & {
142
- _table?: SimpleTableVanilla | undefined;
143
- };
144
- play: ({ canvasElement }: {
145
- canvasElement: HTMLElement;
146
- }) => Promise<void>;
147
- };
148
- export declare const AnimationsPropWiring: {
149
- render: () => HTMLDivElement & {
150
- _table?: SimpleTableVanilla | undefined;
151
- };
152
- play: ({ canvasElement }: {
153
- canvasElement: HTMLElement;
154
- }) => Promise<void>;
155
- };
156
- /**
157
- * Cells should animate from THEIR PREVIOUS position, not all from the same
158
- * direction. This story snapshots every cell's pre-reorder geometry and then
159
- * verifies, mid-flight, that:
160
- *
161
- * 1. Cells that move RIGHT (new left > old left) start with a NEGATIVE
162
- * transform-X (so they appear at their previous-left and slide rightward).
163
- * 2. Cells that move LEFT (new left < old left) start with a POSITIVE
164
- * transform-X (so they appear at their previous-right and slide leftward).
165
- * 3. Both directions appear in the same animation tick — no "everyone slides
166
- * from the same edge" regression.
167
- * 4. The translate-X delta for each cell exactly equals (oldLeft - newLeft),
168
- * so the FLIP "First" frame really lands at the previous on-screen pixel
169
- * position rather than at some shared anchor.
170
- */
171
- export declare const ReorderAnimatesFromPreviousPositionPerCell: {
172
- render: () => HTMLDivElement & {
173
- _table?: SimpleTableVanilla | undefined;
174
- };
175
- play: ({ canvasElement }: {
176
- canvasElement: HTMLElement;
177
- }) => Promise<void>;
178
- };
179
- /**
180
- * Off-screen rows still slide. When the viewport only renders a slice of
181
- * all rows, sorting causes some cells to enter the visible band (rows that
182
- * were below the fold pre-sort) and others to leave it (rows that were on
183
- * screen pre-sort). The coordinator captures positions for ALL rows in the
184
- * dataset, so:
185
- *
186
- * - Incoming cells get created at their new (visible) position and FLIP
187
- * in from their actual pre-change off-screen `top`. Visually the cell
188
- * appears to slide in from the viewport edge.
189
- * - Outgoing cells get retained at their pre-change visible position and
190
- * slide to their actual post-change off-screen `top`, then are removed.
191
- * Visually the cell appears to slide out past the viewport edge.
192
- *
193
- * Both kinds of slides use `transform: translate3d` (no opacity).
194
- */
195
- export declare const SortSlidesRowsCrossingTheViewportBoundary: {
196
- render: () => HTMLDivElement & {
197
- _table?: SimpleTableVanilla | undefined;
198
- };
199
- play: ({ canvasElement }: {
200
- canvasElement: HTMLElement;
201
- }) => Promise<void>;
202
- };
203
- /**
204
- * Drag-and-drop column reorder must FLIP-animate the displaced body cells
205
- * (and header cells) on EVERY `dragover` swap — not just on the final
206
- * `dragend`. Visually: while the user drags column B sideways, column C
207
- * should glide left to make room as soon as B's center crosses C's center,
208
- * the same way a programmatic `table.update({ defaultHeaders })` swap
209
- * animates.
210
- *
211
- * How the host pulls this off:
212
- * - The drag handler (`headerCell/dragging.ts`) calls
213
- * `context.onTableHeaderDragEnd(newHeaders)` from inside `dragover` once
214
- * the cursor has moved enough to trigger a swap. That callback resolves
215
- * to `setHeaders(newHeaders)` + `onRender()`.
216
- * - `setHeaders` first calls `captureAnimationSnapshot()` (no live-drag
217
- * skip), then mutates the headers. The next render commits cells to
218
- * their new absolute positions.
219
- * - `render()`'s final `play()` consumes the snapshot, computes the
220
- * pre→post deltas, and FLIPs every cell that moved — including the one
221
- * in the column the user is dragging.
222
- *
223
- * This test renders a 3 cols × 3 rows table and dispatches the drag
224
- * sequence inline so it can poll the cells between `dragover` events and
225
- * assert that a FLIP transform or `transition: transform` was observed
226
- * BEFORE `dragend` ever fires. Asserting only "saw FLIP within N ms
227
- * after dragend" wouldn't distinguish the desired behaviour from a
228
- * single settle animation that runs only on drop.
229
- */
230
- export declare const DragAndDropColumnReorderShouldAnimate: {
231
- render: () => HTMLDivElement & {
232
- _table?: SimpleTableVanilla | undefined;
233
- };
234
- play: ({ canvasElement }: {
235
- canvasElement: HTMLElement;
236
- }) => Promise<void>;
237
- };