simple-table-core 4.1.6 → 4.1.7

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 (84) hide show
  1. package/README.md +15 -7
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/styles.css +1 -1
  4. package/dist/consts/general-consts.d.ts +0 -4
  5. package/dist/core/SimpleTableVanilla.d.ts +19 -275
  6. package/dist/core/api/TableAPIContext.d.ts +74 -0
  7. package/dist/core/api/TableAPIImpl.d.ts +2 -74
  8. package/dist/core/api/buildTableAPIContext.d.ts +61 -0
  9. package/dist/core/dev/UnvirtualizedRowsWarning.d.ts +20 -0
  10. package/dist/core/initialization/createDataManagers.d.ts +37 -0
  11. package/dist/core/initialization/wireMountManagers.d.ts +43 -0
  12. package/dist/core/pipeline/syncPivotPipeline.d.ts +41 -0
  13. package/dist/core/rendering/RenderContext.d.ts +125 -0
  14. package/dist/core/rendering/RenderOrchestrator.d.ts +8 -119
  15. package/dist/core/rendering/SectionRenderer.d.ts +21 -15
  16. package/dist/core/rendering/TableRenderer.d.ts +6 -98
  17. package/dist/core/rendering/TableRendererDeps.d.ts +98 -0
  18. package/dist/core/rendering/buildRenderContext.d.ts +94 -0
  19. package/dist/core/rendering/cellRenderContexts.d.ts +11 -0
  20. package/dist/core/rendering/renderBodySections.d.ts +14 -0
  21. package/dist/core/rendering/renderHeaderSections.d.ts +13 -0
  22. package/dist/core/rendering/sectionCaches.d.ts +24 -0
  23. package/dist/core/rendering/sectionExtraRows.d.ts +19 -0
  24. package/dist/core/rendering/sectionLayout.d.ts +42 -0
  25. package/dist/core/vanilla/VanillaLiveHost.d.ts +103 -0
  26. package/dist/core/vanilla/applyTableUpdate.d.ts +10 -0
  27. package/dist/core/vanilla/createVanillaRenderContext.d.ts +4 -0
  28. package/dist/core/vanilla/destroyTableResources.d.ts +26 -0
  29. package/dist/core/vanilla/syncRowSelectionManager.d.ts +13 -0
  30. package/dist/core/vanilla/tableContainers.d.ts +5 -0
  31. package/dist/core/vanilla/toTableAPIContextHost.d.ts +3 -0
  32. package/dist/hooks/contentHeight.d.ts +3 -1
  33. package/dist/hooks/scrollbarWidth.d.ts +0 -43
  34. package/dist/hooks/useAggregatedRows.d.ts +0 -2
  35. package/dist/index.es.js +1 -1
  36. package/dist/managers/AccordionController.d.ts +39 -0
  37. package/dist/managers/AnimationCoordinator.d.ts +15 -1
  38. package/dist/managers/AutoSizeManager.d.ts +64 -0
  39. package/dist/managers/CellSlideAnimator.d.ts +54 -0
  40. package/dist/managers/DragHandlerManager.d.ts +4 -26
  41. package/dist/managers/ExternalScrollController.d.ts +68 -0
  42. package/dist/managers/ScrollRenderCoalescer.d.ts +32 -0
  43. package/dist/managers/SelectionManager/mouseUtils.d.ts +3 -3
  44. package/dist/styles.css +1 -1
  45. package/dist/utils/accordionAnimation.d.ts +0 -5
  46. package/dist/utils/bodyCell/editing.d.ts +1 -1
  47. package/dist/utils/bodyCell/editors/booleanDropdown.d.ts +1 -1
  48. package/dist/utils/bodyCell/editors/datePicker.d.ts +1 -1
  49. package/dist/utils/bodyCell/editors/enumDropdown.d.ts +1 -1
  50. package/dist/utils/bodyCell/selection.d.ts +0 -1
  51. package/dist/utils/bodyCell/styling.d.ts +2 -0
  52. package/dist/utils/cellScrollUtils.d.ts +1 -1
  53. package/dist/utils/cellUtils.d.ts +0 -4
  54. package/dist/utils/collapseUtils.d.ts +0 -10
  55. package/dist/utils/externalScroll.d.ts +0 -10
  56. package/dist/utils/formatters.d.ts +0 -2
  57. package/dist/utils/headerCell/eventTracking.d.ts +2 -2
  58. package/dist/utils/headerCell/styling.d.ts +0 -1
  59. package/dist/utils/headerWidthUtils.d.ts +2 -2
  60. package/dist/utils/infiniteScrollUtils.d.ts +0 -1
  61. package/dist/utils/parkAndStagger.d.ts +44 -0
  62. package/dist/utils/resizeUtils/domUpdates.d.ts +1 -1
  63. package/dist/utils/resizeUtils/maxWidth.d.ts +2 -1
  64. package/dist/utils/rowSelectionUtils.d.ts +0 -4
  65. package/dist/utils/rowSeparatorRenderer.d.ts +0 -1
  66. package/dist/utils/rowUtils.d.ts +1 -27
  67. package/dist/utils/setAbsoluteCellPosition.d.ts +31 -0
  68. package/dist/utils/stateRowRenderer.d.ts +0 -1
  69. package/dist/utils/tableDomScope.d.ts +20 -0
  70. package/package.json +4 -3
  71. package/src/styles/base.css +40 -147
  72. package/dist/managers/ColumnManager.d.ts +0 -42
  73. package/dist/managers/RowManager.d.ts +0 -56
  74. package/dist/managers/TableManager.d.ts +0 -72
  75. package/dist/types/BoundingBox.d.ts +0 -11
  76. package/dist/types/DragHandlerProps.d.ts +0 -14
  77. package/dist/types/OnSortProps.d.ts +0 -3
  78. package/dist/types/SharedTableProps.d.ts +0 -24
  79. package/dist/types/TableBodyProps.d.ts +0 -20
  80. package/dist/types/TableHeaderProps.d.ts +0 -17
  81. package/dist/types/TableHeaderSectionProps.d.ts +0 -19
  82. package/dist/types/TableRowProps.d.ts +0 -29
  83. package/dist/utils/columnIndicesUtils.d.ts +0 -15
  84. package/dist/utils/columnVirtualizationUtils.d.ts +0 -128
package/README.md CHANGED
@@ -58,7 +58,7 @@ npm install simple-table-core
58
58
 
59
59
  ### Column Features
60
60
 
61
- - **[Column Sorting](https://www.simple-table.com/docs/column-sorting)** - Sort data by any column with single or multi-column support
61
+ - **[Column Sorting](https://www.simple-table.com/docs/column-sorting)** - Sort data by any column in ascending or descending order
62
62
  - **[Column Filtering](https://www.simple-table.com/docs/column-filtering)** - Filter data with built-in text, number, and date filters
63
63
  - **[Column Resizing](https://www.simple-table.com/docs/column-resizing)** - Drag column borders to resize on the fly
64
64
  - **[Column Pinning](https://www.simple-table.com/docs/column-pinning)** - Pin important columns to the left or right
@@ -66,7 +66,6 @@ npm install simple-table-core
66
66
  - **[Column Visibility](https://www.simple-table.com/docs/column-visibility)** - Show or hide columns dynamically
67
67
  - **[Column Alignment](https://www.simple-table.com/docs/column-alignment)** - Align content left, center, or right
68
68
  - **[Column Selection](https://www.simple-table.com/docs/column-selection)** - Select entire columns for bulk operations
69
- - **[Column Editing](https://www.simple-table.com/docs/column-editing)** - Edit entire columns with custom editors
70
69
  - **[Nested Headers](https://www.simple-table.com/docs/nested-headers)** - Create multi-level header hierarchies
71
70
  - **[Collapsible Columns](https://www.simple-table.com/docs/collapsible-columns)** - Expand and collapse column groups
72
71
 
@@ -74,7 +73,9 @@ npm install simple-table-core
74
73
 
75
74
  - **[Row Selection](https://www.simple-table.com/docs/row-selection)** - Select single or multiple rows with checkboxes
76
75
  - **[Row Grouping](https://www.simple-table.com/docs/row-grouping)** - Group and organize rows by any column
76
+ - **[Nested Tables](https://www.simple-table.com/docs/nested-tables)** - Hierarchical data with independent columns per nesting level
77
77
  - **[Aggregate Functions](https://www.simple-table.com/docs/aggregate-functions)** - Calculate Sum, Average, Count, and more
78
+ - **[Pivot Tables](https://www.simple-table.com/docs/pivot)** - Matrix pivots with row/column dimensions, aggregations, and totals
78
79
  - **[Row Height](https://www.simple-table.com/docs/row-height)** - Customize row height for optimal display
79
80
 
80
81
  ### Cell Features
@@ -82,14 +83,21 @@ npm install simple-table-core
82
83
  - **[Cell Editing](https://www.simple-table.com/docs/cell-editing)** - Edit cells inline with custom editors
83
84
  - **[Cell Highlighting](https://www.simple-table.com/docs/cell-highlighting)** - Highlight cells based on conditions
84
85
  - **[Cell Renderer](https://www.simple-table.com/docs/cell-renderer)** - Custom cell rendering for any data type
86
+ - **[Value Formatter](https://www.simple-table.com/docs/value-formatter)** - Format cell values for display without changing the underlying data
87
+ - **[Chart Columns](https://www.simple-table.com/docs/chart-columns)** - Inline bar and line/area charts in cells
85
88
  - **[Cell Clicking](https://www.simple-table.com/docs/cell-clicking)** - Handle cell click events with ease
86
89
 
87
90
  ### Advanced Features
88
91
 
92
+ - **[Quick Filter](https://www.simple-table.com/docs/quick-filter)** - Global search across all columns with simple or smart modes
89
93
  - **[Pagination](https://www.simple-table.com/docs/pagination)** - Server-side and client-side pagination support
90
- - **[Infinite Scroll](https://www.simple-table.com/docs/infinite-scroll)** - Fetch and display data as you scroll
94
+ - **[Infinite Scroll](https://www.simple-table.com/docs/infinite-scroll)** - Fetch and display data as you scroll, with row and column virtualization
91
95
  - **[Live Updates](https://www.simple-table.com/docs/live-updates)** - Real-time data updates and websocket integration
96
+ - **[CSV Export](https://www.simple-table.com/docs/csv-export)** - One-click CSV download of grid data
97
+ - **[Animations](https://www.simple-table.com/docs/animations)** - Smooth FLIP animations for sort, reorder, and visibility changes
92
98
  - **[Header Renderer](https://www.simple-table.com/docs/header-renderer)** - Custom header rendering for advanced layouts
99
+ - **[Footer Renderer](https://www.simple-table.com/docs/footer-renderer)** - Custom footer rendering for summaries and controls
100
+ - **[Programmatic Control](https://www.simple-table.com/docs/programmatic-control)** - Control sorting, filtering, selection, and more via the TableAPI
93
101
 
94
102
  ### Customization
95
103
 
@@ -142,19 +150,19 @@ Simple, transparent pricing that never changes based on your revenue or team siz
142
150
 
143
151
  **$0/forever**
144
152
 
145
- For side projects and pre-revenue teams. Unlimited users per product license with full access to all core features, built-in themes, TypeScript support, and the Simple Table Community License for **zero-revenue** companies only. If your company generates revenue, use Pro or Enterprise.
153
+ Free for side projects and companies that aren't making money yet. You get the full library same features as Pro. Once your company earns revenue, switch to Pro or Enterprise.
146
154
 
147
155
  ### PRO - For Growing Businesses
148
156
 
149
157
  **$85/month** or **$850/year**
150
158
 
151
- For revenue-generating companies: priority email and Discord support, bug support for production issues, and the commercial EULA. Unlimited users per product license.
159
+ For companies that make money. Priority email and Discord support, help with production bugs, and a commercial license. One license covers your whole product — no per-seat fees.
152
160
 
153
161
  ### ENTERPRISE - For teams that need hands-on support
154
162
 
155
- **$350/month** or **$3,500/year**
163
+ **Contact us**
156
164
 
157
- Premium support with faster response times, direct access to core developers, feature request prioritization, and the commercial EULA. Unlimited users per product license.
165
+ Direct access to core developers and custom features. Same commercial license as Pro — one license per product, no seat fees.
158
166
 
159
167
  **[View Detailed Pricing](https://www.simple-table.com/pricing)**
160
168