@economic/taco 2.25.1 → 2.26.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. package/dist/components/Provider/Localization.d.ts +47 -55
  2. package/dist/components/Report/Report.d.ts +5 -19
  3. package/dist/components/Report/useReport.d.ts +3 -7
  4. package/dist/components/Select2/hooks/useChildren.d.ts +2 -1
  5. package/dist/components/Table/Table.d.ts +2 -2
  6. package/dist/components/Table3/Table3.d.ts +14 -14
  7. package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
  8. package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
  9. package/dist/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
  10. package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
  11. package/dist/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
  12. package/dist/components/Table3/components/Columns/Cell/util.d.ts +3 -0
  13. package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +10 -0
  14. package/dist/components/Table3/components/Editing/Alert.d.ts +12 -0
  15. package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
  16. package/dist/components/Table3/components/Row/Row.d.ts +3 -0
  17. package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
  18. package/dist/components/Table3/features/useTableEditing.d.ts +46 -0
  19. package/dist/components/Table3/listeners/useTableEditingListener.d.ts +2 -0
  20. package/dist/components/Table3/types.d.ts +28 -351
  21. package/dist/components/Table3/useTable3.d.ts +11 -0
  22. package/dist/components/Table3/util/editing.d.ts +2 -10
  23. package/dist/esm/index.css +216 -515
  24. package/dist/esm/packages/taco/src/components/Field/Field.js +1 -0
  25. package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -1
  26. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +5 -6
  27. package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
  28. package/dist/esm/packages/taco/src/components/Provider/Localization.js +48 -59
  29. package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
  30. package/dist/esm/packages/taco/src/components/Report/Report.js +8 -51
  31. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  32. package/dist/esm/packages/taco/src/components/Report/useReport.js +8 -45
  33. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  34. package/dist/esm/packages/taco/src/components/Select2/Select2.js +1 -1
  35. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  36. package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
  37. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +1 -1
  38. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  39. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +10 -10
  40. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
  41. package/dist/esm/packages/taco/src/components/Table3/Table3.js +30 -218
  42. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  43. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
  44. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
  45. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
  46. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
  47. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +71 -0
  48. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
  49. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +216 -0
  50. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
  51. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
  52. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
  53. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +45 -0
  54. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
  55. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +62 -0
  56. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
  57. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +134 -0
  58. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
  59. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
  60. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
  61. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +41 -0
  62. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
  63. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
  64. package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
  65. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +349 -0
  66. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
  67. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +49 -0
  68. package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
  69. package/dist/esm/packages/taco/src/components/Table3/useTable3.js +36 -0
  70. package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
  71. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +46 -38
  72. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  73. package/dist/esm/packages/taco/src/index.js +1 -1
  74. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +2 -0
  75. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  76. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +52 -0
  77. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
  78. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/Body.js +21 -12
  79. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
  80. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
  81. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
  82. package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/DisplayCell.js +6 -4
  83. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
  84. package/dist/esm/packages/taco/src/{components/Report/components/Cell → primitives/Table/Core/components/Columns/Cell/BuiltIns}/GroupedCell.js +8 -6
  85. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
  86. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/Cell.js +6 -5
  87. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
  88. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/util.js +5 -4
  89. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
  90. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Actions.js +28 -17
  91. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
  92. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
  93. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
  94. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Expansion.js +18 -6
  95. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
  96. package/dist/esm/packages/taco/src/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Selection.js +23 -10
  97. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
  98. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
  99. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Summary.js +7 -7
  100. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
  101. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/Header.js +12 -7
  102. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
  103. package/dist/esm/packages/taco/src/{components/Table3/components/columns/header → primitives/Table/Core/components/Header/components}/Goto.js +5 -5
  104. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
  105. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Menu.js +15 -16
  106. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
  107. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/Resizer.js +3 -3
  108. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
  109. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/components/SortIndicator.js +1 -1
  110. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
  111. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Header/util.js +4 -4
  112. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
  113. package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/DisplayRow.js +30 -12
  114. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
  115. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
  116. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/Row.js +13 -7
  117. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
  118. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Row/RowContext.js +0 -1
  119. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
  120. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +54 -0
  121. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
  122. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/Filters.js +9 -9
  123. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
  124. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.js +9 -9
  125. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
  126. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.js +4 -4
  127. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
  128. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.js +7 -7
  129. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
  130. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.js +17 -17
  131. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
  132. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.js +7 -7
  133. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
  134. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
  135. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Print/Print.js +11 -11
  136. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
  137. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
  138. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
  139. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Search/Search.js +26 -7
  140. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
  141. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.js +27 -13
  142. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
  143. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/Settings.js +17 -17
  144. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
  145. package/dist/esm/packages/taco/src/{components/Report/styles/util.js → primitives/Table/Core/features/useStylesheet.js} +18 -2
  146. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheet.js.map +1 -0
  147. package/dist/esm/packages/taco/src/{components/Report/styles/useColumnPinningStylesheet.js → primitives/Table/Core/features/useStylesheetColumnFreezing.js} +12 -12
  148. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetColumnFreezing.js.map +1 -0
  149. package/dist/esm/packages/taco/src/{components/Report/styles/useCssGridStylesheet.js → primitives/Table/Core/features/useStylesheetCssGrid.js} +9 -9
  150. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useStylesheetCssGrid.js.map +1 -0
  151. package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableGlobalShortcuts.js +3 -5
  152. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
  153. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
  154. package/dist/esm/packages/taco/src/{components/Report/util → primitives/Table/Core/features}/useTableRenderer.js +5 -3
  155. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
  156. package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/listeners/useTableRowActiveListener.js +1 -1
  157. package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
  158. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +50 -0
  159. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
  160. package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
  161. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  162. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +5 -15
  163. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -1
  164. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
  165. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
  166. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
  167. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
  168. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +1 -3
  169. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  170. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +13 -9
  171. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  172. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +58 -24
  173. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -1
  174. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +1 -2
  175. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  176. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +5 -2
  177. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  178. package/dist/esm/packages/taco/src/utils/dom.js +19 -3
  179. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  180. package/dist/esm/packages/taco/src/utils/input.js +1 -14
  181. package/dist/esm/packages/taco/src/utils/input.js.map +1 -1
  182. package/dist/index.css +216 -515
  183. package/dist/index.d.ts +1 -0
  184. package/dist/primitives/Table/Core/Table.d.ts +19 -0
  185. package/dist/{components/Report → primitives/Table/Core}/components/Body/Body.d.ts +1 -1
  186. package/dist/{components/Report → primitives/Table/Core}/components/Body/EmptyStateBody.d.ts +2 -2
  187. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
  188. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
  189. package/dist/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/Cell.d.ts +4 -2
  190. package/dist/{components/Report/components → primitives/Table/Core/components/Columns}/Cell/util.d.ts +2 -1
  191. package/dist/{components/Report/components → primitives/Table/Core/components/Columns}/Internal/Actions.d.ts +4 -4
  192. package/dist/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
  193. package/dist/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
  194. package/dist/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
  195. package/dist/{components/Report → primitives/Table/Core}/components/Header/Header.d.ts +7 -2
  196. package/dist/{components/Table3/components/columns/header → primitives/Table/Core/components/Header/components}/Goto.d.ts +1 -1
  197. package/dist/{components/Report → primitives/Table/Core}/components/Header/components/Menu.d.ts +2 -1
  198. package/dist/{components/Report → primitives/Table/Core}/components/Header/components/Resizer.d.ts +1 -1
  199. package/dist/{components/Report → primitives/Table/Core}/components/Header/components/SortIndicator.d.ts +1 -1
  200. package/dist/primitives/Table/Core/components/Header/util.d.ts +4 -0
  201. package/dist/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
  202. package/dist/primitives/Table/Core/components/Row/Row.d.ts +6 -0
  203. package/dist/{components/Report → primitives/Table/Core}/components/Row/RowContext.d.ts +0 -1
  204. package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
  205. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/Filter.d.ts +1 -1
  206. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterColumn.d.ts +2 -2
  207. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterComparator.d.ts +1 -1
  208. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/components/FilterValue.d.ts +1 -1
  209. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/util.d.ts +1 -1
  210. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Print/Print.d.ts +1 -1
  211. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
  212. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Search/Search.d.ts +3 -1
  213. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +1 -1
  214. package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Settings/Settings.d.ts +2 -2
  215. package/dist/primitives/Table/Core/features/useStylesheetColumnFreezing.d.ts +2 -0
  216. package/dist/{components/Report/styles/useCssGridStylesheet.d.ts → primitives/Table/Core/features/useStylesheetCssGrid.d.ts} +2 -2
  217. package/dist/{components/Report/util → primitives/Table/Core/features}/useTableGlobalShortcuts.d.ts +1 -1
  218. package/dist/{components/Report/util → primitives/Table/Core/features}/useTableRenderer.d.ts +3 -2
  219. package/dist/primitives/Table/Core/types.d.ts +21 -0
  220. package/dist/primitives/Table/Core/useTable.d.ts +27 -0
  221. package/dist/primitives/Table/types.d.ts +168 -3
  222. package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +4 -2
  223. package/dist/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
  224. package/dist/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
  225. package/dist/primitives/Table/useTableManager/types.d.ts +1 -0
  226. package/dist/primitives/Table/useTableManager/useTableManager.d.ts +9 -3
  227. package/dist/primitives/Table/useTableManager/util/settings.d.ts +1 -1
  228. package/dist/taco.cjs.development.js +7134 -11743
  229. package/dist/taco.cjs.development.js.map +1 -1
  230. package/dist/taco.cjs.production.min.js +1 -1
  231. package/dist/taco.cjs.production.min.js.map +1 -1
  232. package/dist/utils/dom.d.ts +2 -1
  233. package/package.json +3 -5
  234. package/dist/components/Report/components/Cell/DisplayCell.d.ts +0 -8
  235. package/dist/components/Report/components/Cell/GroupedCell.d.ts +0 -8
  236. package/dist/components/Report/components/Header/components/Goto.d.ts +0 -6
  237. package/dist/components/Report/components/Header/util.d.ts +0 -4
  238. package/dist/components/Report/components/Internal/Expansion.d.ts +0 -4
  239. package/dist/components/Report/components/Internal/Selection.d.ts +0 -4
  240. package/dist/components/Report/components/Row/DisplayRow.d.ts +0 -9
  241. package/dist/components/Report/components/Row/Row.d.ts +0 -9
  242. package/dist/components/Report/components/Toolbar/Toolbar.d.ts +0 -15
  243. package/dist/components/Report/styles/useColumnPinningStylesheet.d.ts +0 -2
  244. package/dist/components/Report/styles/util.d.ts +0 -3
  245. package/dist/components/Report/types.d.ts +0 -20
  246. package/dist/components/Table3/components/alert/ErrorAlert.d.ts +0 -10
  247. package/dist/components/Table3/components/columns/cell/Cell.d.ts +0 -6
  248. package/dist/components/Table3/components/columns/cell/DisplayCell.d.ts +0 -25
  249. package/dist/components/Table3/components/columns/cell/EditingCell.d.ts +0 -14
  250. package/dist/components/Table3/components/columns/cell/EditingControl.d.ts +0 -21
  251. package/dist/components/Table3/components/columns/cell/Highlight.d.ts +0 -2
  252. package/dist/components/Table3/components/columns/cell/Indicator.d.ts +0 -22
  253. package/dist/components/Table3/components/columns/cell/controls/TextareaControl.d.ts +0 -2
  254. package/dist/components/Table3/components/columns/footer/Footer.d.ts +0 -14
  255. package/dist/components/Table3/components/columns/footer/Summary.d.ts +0 -8
  256. package/dist/components/Table3/components/columns/header/Group.d.ts +0 -15
  257. package/dist/components/Table3/components/columns/header/Header.d.ts +0 -37
  258. package/dist/components/Table3/components/columns/header/Menu.d.ts +0 -20
  259. package/dist/components/Table3/components/columns/header/Resizer.d.ts +0 -7
  260. package/dist/components/Table3/components/columns/header/SortIndicator.d.ts +0 -12
  261. package/dist/components/Table3/components/columns/internal/Actions.d.ts +0 -3
  262. package/dist/components/Table3/components/columns/internal/Drag.d.ts +0 -4
  263. package/dist/components/Table3/components/columns/internal/EditingActions.d.ts +0 -8
  264. package/dist/components/Table3/components/columns/internal/Expansion.d.ts +0 -4
  265. package/dist/components/Table3/components/columns/internal/Selection.d.ts +0 -3
  266. package/dist/components/Table3/components/columns/styles.d.ts +0 -5
  267. package/dist/components/Table3/components/rows/ExpandedRow.d.ts +0 -8
  268. package/dist/components/Table3/components/rows/Row.d.ts +0 -26
  269. package/dist/components/Table3/components/rows/RowContext.d.ts +0 -10
  270. package/dist/components/Table3/components/rows/SkeletonRow.d.ts +0 -10
  271. package/dist/components/Table3/components/rows/styles.d.ts +0 -6
  272. package/dist/components/Table3/components/toolbar/ColumnSettings.d.ts +0 -7
  273. package/dist/components/Table3/components/toolbar/EditButton.d.ts +0 -7
  274. package/dist/components/Table3/components/toolbar/Filter/filters/Filters.d.ts +0 -7
  275. package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +0 -12
  276. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +0 -12
  277. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.d.ts +0 -7
  278. package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterValue.d.ts +0 -10
  279. package/dist/components/Table3/components/toolbar/FontSize.d.ts +0 -7
  280. package/dist/components/Table3/components/toolbar/PrintButton/PrintButton.d.ts +0 -8
  281. package/dist/components/Table3/components/toolbar/PrintButton/PrintIFrame.d.ts +0 -8
  282. package/dist/components/Table3/components/toolbar/PrintButton/WarningDialog.d.ts +0 -9
  283. package/dist/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.d.ts +0 -1
  284. package/dist/components/Table3/components/toolbar/RowHeight.d.ts +0 -7
  285. package/dist/components/Table3/components/toolbar/Search.d.ts +0 -8
  286. package/dist/components/Table3/components/toolbar/Settings.d.ts +0 -8
  287. package/dist/components/Table3/components/toolbar/Toolbar.d.ts +0 -13
  288. package/dist/components/Table3/hooks/features/useColumnFreezing.d.ts +0 -13
  289. package/dist/components/Table3/hooks/features/useEditing.d.ts +0 -31
  290. package/dist/components/Table3/hooks/features/useHeaderOffsetStyle.d.ts +0 -3
  291. package/dist/components/Table3/hooks/features/usePauseShortcuts.d.ts +0 -5
  292. package/dist/components/Table3/hooks/features/usePrinting.d.ts +0 -7
  293. package/dist/components/Table3/hooks/features/useRowActions.d.ts +0 -5
  294. package/dist/components/Table3/hooks/features/useRowDrag.d.ts +0 -6
  295. package/dist/components/Table3/hooks/features/useRowDrop.d.ts +0 -5
  296. package/dist/components/Table3/hooks/features/useSearch.d.ts +0 -16
  297. package/dist/components/Table3/hooks/features/useSettings.d.ts +0 -3
  298. package/dist/components/Table3/hooks/features/useValidation.d.ts +0 -13
  299. package/dist/components/Table3/hooks/listeners/useEditingStateListener.d.ts +0 -2
  300. package/dist/components/Table3/hooks/listeners/useSettingsStateListener.d.ts +0 -3
  301. package/dist/components/Table3/hooks/useConvertChildrenToColumns.d.ts +0 -9
  302. package/dist/components/Table3/hooks/useCssGrid.d.ts +0 -6
  303. package/dist/components/Table3/hooks/useCssVars.d.ts +0 -8
  304. package/dist/components/Table3/hooks/useTable.d.ts +0 -74
  305. package/dist/components/Table3/hooks/useTableDataLoader.d.ts +0 -22
  306. package/dist/components/Table3/hooks/useTablePreset.d.ts +0 -2
  307. package/dist/components/Table3/hooks/useTableRefInstanceSetup.d.ts +0 -4
  308. package/dist/components/Table3/strategies/index.d.ts +0 -4
  309. package/dist/components/Table3/strategies/virtualised.d.ts +0 -4
  310. package/dist/components/Table3/util/columns.d.ts +0 -8
  311. package/dist/components/Table3/util/filtering.d.ts +0 -3
  312. package/dist/components/Table3/util/scrolling.d.ts +0 -2
  313. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +0 -1
  314. package/dist/esm/packages/taco/src/components/Report/components/Body/EmptyStateBody.js.map +0 -1
  315. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +0 -1
  316. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +0 -1
  317. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +0 -1
  318. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +0 -1
  319. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +0 -1
  320. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +0 -1
  321. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +0 -1
  322. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +0 -1
  323. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js +0 -28
  324. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +0 -1
  325. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +0 -1
  326. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +0 -1
  327. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +0 -1
  328. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +0 -1
  329. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +0 -1
  330. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +0 -1
  331. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +0 -1
  332. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +0 -1
  333. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +0 -1
  334. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +0 -1
  335. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +0 -1
  336. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +0 -63
  337. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +0 -1
  338. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +0 -1
  339. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +0 -1
  340. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +0 -1
  341. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +0 -1
  342. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +0 -1
  343. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +0 -1
  344. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +0 -1
  345. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +0 -1
  346. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +0 -88
  347. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +0 -1
  348. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +0 -1
  349. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +0 -1
  350. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +0 -1
  351. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +0 -1
  352. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +0 -1
  353. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +0 -1
  354. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +0 -20
  355. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +0 -1
  356. package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +0 -1
  357. package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +0 -1
  358. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +0 -1
  359. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +0 -1
  360. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +0 -154
  361. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +0 -1
  362. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +0 -84
  363. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +0 -1
  364. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +0 -84
  365. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +0 -1
  366. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +0 -212
  367. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +0 -1
  368. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +0 -194
  369. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +0 -1
  370. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js +0 -41
  371. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Highlight.js.map +0 -1
  372. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js +0 -88
  373. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Indicator.js.map +0 -1
  374. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +0 -144
  375. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +0 -1
  376. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js +0 -50
  377. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Footer.js.map +0 -1
  378. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +0 -41
  379. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +0 -1
  380. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Goto.js.map +0 -1
  381. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js +0 -74
  382. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Group.js.map +0 -1
  383. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js +0 -186
  384. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Header.js.map +0 -1
  385. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +0 -206
  386. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +0 -1
  387. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js +0 -42
  388. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Resizer.js.map +0 -1
  389. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js +0 -38
  390. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/SortIndicator.js.map +0 -1
  391. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +0 -129
  392. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +0 -1
  393. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js +0 -86
  394. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Drag.js.map +0 -1
  395. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js +0 -174
  396. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/EditingActions.js.map +0 -1
  397. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js +0 -104
  398. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Expansion.js.map +0 -1
  399. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +0 -187
  400. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +0 -1
  401. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +0 -19
  402. package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +0 -1
  403. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js +0 -27
  404. package/dist/esm/packages/taco/src/components/Table3/components/rows/ExpandedRow.js.map +0 -1
  405. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +0 -327
  406. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +0 -1
  407. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js +0 -14
  408. package/dist/esm/packages/taco/src/components/Table3/components/rows/RowContext.js.map +0 -1
  409. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js +0 -43
  410. package/dist/esm/packages/taco/src/components/Table3/components/rows/SkeletonRow.js.map +0 -1
  411. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js +0 -9
  412. package/dist/esm/packages/taco/src/components/Table3/components/rows/styles.js.map +0 -1
  413. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +0 -109
  414. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +0 -1
  415. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js +0 -29
  416. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/EditButton.js.map +0 -1
  417. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +0 -164
  418. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +0 -1
  419. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +0 -102
  420. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +0 -1
  421. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +0 -50
  422. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +0 -1
  423. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +0 -111
  424. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +0 -1
  425. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js +0 -118
  426. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterValue.js.map +0 -1
  427. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js +0 -26
  428. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/FontSize.js.map +0 -1
  429. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +0 -211
  430. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +0 -1
  431. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +0 -224
  432. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +0 -1
  433. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js +0 -60
  434. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/WarningDialog.js.map +0 -1
  435. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js +0 -97
  436. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/hooks/useParentStylesheets.js.map +0 -1
  437. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js +0 -33
  438. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/RowHeight.js.map +0 -1
  439. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +0 -238
  440. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +0 -1
  441. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js +0 -65
  442. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Settings.js.map +0 -1
  443. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js +0 -64
  444. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Toolbar.js.map +0 -1
  445. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +0 -95
  446. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +0 -1
  447. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +0 -299
  448. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js.map +0 -1
  449. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js +0 -24
  450. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useHeaderOffsetStyle.js.map +0 -1
  451. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js +0 -12
  452. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePauseShortcuts.js.map +0 -1
  453. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js +0 -14
  454. package/dist/esm/packages/taco/src/components/Table3/hooks/features/usePrinting.js.map +0 -1
  455. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js +0 -10
  456. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowActions.js.map +0 -1
  457. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js +0 -13
  458. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrag.js.map +0 -1
  459. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js +0 -9
  460. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useRowDrop.js.map +0 -1
  461. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js +0 -29
  462. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSearch.js.map +0 -1
  463. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +0 -23
  464. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js.map +0 -1
  465. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js +0 -178
  466. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useValidation.js.map +0 -1
  467. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js +0 -28
  468. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useEditingStateListener.js.map +0 -1
  469. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +0 -24
  470. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +0 -1
  471. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js +0 -143
  472. package/dist/esm/packages/taco/src/components/Table3/hooks/useConvertChildrenToColumns.js.map +0 -1
  473. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js +0 -66
  474. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssGrid.js.map +0 -1
  475. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js +0 -74
  476. package/dist/esm/packages/taco/src/components/Table3/hooks/useCssVars.js.map +0 -1
  477. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +0 -234
  478. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +0 -1
  479. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js +0 -130
  480. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableDataLoader.js.map +0 -1
  481. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +0 -122
  482. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +0 -1
  483. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js +0 -19
  484. package/dist/esm/packages/taco/src/components/Table3/hooks/useTableRefInstanceSetup.js.map +0 -1
  485. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js +0 -8
  486. package/dist/esm/packages/taco/src/components/Table3/strategies/index.js.map +0 -1
  487. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js +0 -117
  488. package/dist/esm/packages/taco/src/components/Table3/strategies/virtualised.js.map +0 -1
  489. package/dist/esm/packages/taco/src/components/Table3/types.js +0 -20
  490. package/dist/esm/packages/taco/src/components/Table3/types.js.map +0 -1
  491. package/dist/esm/packages/taco/src/components/Table3/util/columns.js +0 -60
  492. package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +0 -1
  493. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js +0 -120
  494. package/dist/esm/packages/taco/src/components/Table3/util/filtering.js.map +0 -1
  495. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js +0 -53
  496. package/dist/esm/packages/taco/src/components/Table3/util/scrolling.js.map +0 -1
  497. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js +0 -15
  498. package/dist/esm/packages/taco/src/hooks/useDebouncedEffect.js.map +0 -1
  499. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +0 -1
  500. package/types.json +0 -588211
  501. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/EmptyStateBody.js +0 -0
  502. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Body/util.js +0 -0
  503. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Footer/Footer.js +0 -0
  504. /package/dist/esm/packages/taco/src/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.js +0 -0
  505. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/util.js +0 -0
  506. /package/dist/esm/packages/taco/src/primitives/Table/{useTableManager → Core}/features/useTableRef.js +0 -0
  507. /package/dist/esm/packages/taco/src/{components/Report → primitives/Table/Core}/util/rows.js +0 -0
  508. /package/dist/{components/Report → primitives/Table/Core}/components/Body/util.d.ts +0 -0
  509. /package/dist/{components/Report → primitives/Table/Core}/components/Footer/Footer.d.ts +0 -0
  510. /package/dist/{components/Report → primitives/Table/Core}/components/Footer/Summary.d.ts +0 -0
  511. /package/dist/{components/Report/components/Row → primitives/Table/Core/components/Row/BuiltIns}/SkeletonRow.d.ts +0 -0
  512. /package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/Filters.d.ts +0 -0
  513. /package/dist/{components/Report → primitives/Table/Core}/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
  514. /package/dist/{components/Report/styles → primitives/Table/Core/features}/useStylesheet.d.ts +0 -0
  515. /package/dist/primitives/Table/{useTableManager → Core}/features/useTableRef.d.ts +0 -0
  516. /package/dist/{components/Report → primitives/Table/Core}/listeners/useTableRowActiveListener.d.ts +0 -0
  517. /package/dist/{components/Report → primitives/Table/Core}/util/rows.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -55,6 +55,7 @@ export * from './components/Header/Header';
55
55
  export * from './components/Layout/Layout';
56
56
  export * from './components/Navigation2/Navigation2';
57
57
  export * as CollectionPrimitive from './primitives/Collection/Collection';
58
+ export * from './primitives/Table/types';
58
59
  export * from './primitives/Table/useTableDataLoader';
59
60
  export * from './utils/date';
60
61
  export * from './utils/keyboard';
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { useTableReturnValue } from './useTable';
3
+ import { TableToolbar } from './components/Toolbar/Toolbar';
4
+ import './style.css';
5
+ declare type TableProps = {
6
+ children: JSX.Element | Array<JSX.Element | null>;
7
+ };
8
+ export declare function Table(props: TableProps): JSX.Element;
9
+ export declare namespace Table {
10
+ var Toolbar: typeof TableToolbar;
11
+ var Grid: typeof TableGrid;
12
+ }
13
+ export declare type TableGridProps<TType = unknown> = React.TableHTMLAttributes<HTMLTableElement> & {
14
+ 'data-taco': string;
15
+ enableHorizontalArrowKeyNavigation?: boolean;
16
+ table: useTableReturnValue<TType>;
17
+ };
18
+ export declare function TableGrid<TType = unknown>(props: TableGridProps<TType>): JSX.Element;
19
+ export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
3
  declare type BodyProps<TType = unknown> = React.HTMLAttributes<HTMLTableSectionElement> & {
4
- enableArrowKeyFocusing?: boolean;
4
+ enableHorizontalArrowKeyNavigation?: boolean;
5
5
  table: ReactTable<TType>;
6
6
  };
7
7
  export declare function Body<TType = unknown>(props: BodyProps<TType>): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { ReportEmptyStateRenderer } from '../../types';
2
+ import { TableEmptyStateRenderer } from '../../../types';
3
3
  declare type EmptyStateProps = React.HTMLAttributes<HTMLTableSectionElement> & {
4
- emptyState?: ReportEmptyStateRenderer;
4
+ emptyState?: TableEmptyStateRenderer;
5
5
  };
6
6
  export declare function EmptyStateBody(props: EmptyStateProps): JSX.Element;
7
7
  export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TableCellRendererProps } from '../../../../types';
3
+ export declare const DisplayCell: <TType = unknown>(props: TableCellRendererProps<TType>) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TableCellRendererProps } from '../../../../types';
3
+ export declare function GroupedCell<TType = unknown>(props: TableCellRendererProps<TType>): JSX.Element;
@@ -1,8 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Cell as ReactTableCell } from '@tanstack/react-table';
3
- declare type CellProps<TType = unknown> = {
3
+ import { TableCellRenderer } from '../../../types';
4
+ declare type CellProps<TType = unknown> = React.HTMLAttributes<HTMLTableCellElement> & {
4
5
  cell: ReactTableCell<TType, unknown>;
5
6
  index: number;
7
+ renderer: TableCellRenderer<TType>;
6
8
  };
7
9
  export declare function Cell<TType = unknown>(props: CellProps<TType>): JSX.Element | null;
8
10
  export {};
@@ -4,10 +4,11 @@ export declare type DisplayCellProps<TType = unknown> = {
4
4
  index: number;
5
5
  cell: ReactTableCell<TType, unknown>;
6
6
  };
7
- export declare function getCellAttributes<TType = unknown>(cell: ReactTableCell<TType, unknown>, isHighlighted: true | 'current' | undefined): {
7
+ export declare function getCellAttributes<TType = unknown>(cell: ReactTableCell<TType, unknown>, index: number, isHighlighted: true | 'current' | undefined): {
8
8
  'data-cell-align': "left" | "right" | "center" | undefined;
9
9
  'data-cell-highlighted': true | "current" | undefined;
10
10
  'data-cell-id': string;
11
+ 'data-cell-index': number;
11
12
  'data-cell-pinned': boolean | undefined;
12
13
  'data-cell-truncate': boolean | undefined;
13
14
  className: string | undefined;
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
- import { CellContext as ReactTableCellContext } from '@tanstack/react-table';
3
- import { TableFontSize, TableRowActionRenderer } from '../../../../primitives/Table/types';
4
- export declare function Header(): null;
2
+ import { TableFontSize, TableRowActionRenderer } from '../../../../types';
3
+ import { useTableManagerInternalColumn } from '../../../../useTableManager/types';
5
4
  export declare type ActionsProps<TType = unknown> = {
6
5
  actions: TableRowActionRenderer<TType>[];
7
6
  actionsLength: number;
8
7
  data: any;
9
8
  fontSize: TableFontSize;
10
9
  isActiveRow: boolean;
10
+ rowId: string;
11
11
  };
12
12
  export declare function Actions<TType = unknown>(props: ActionsProps<TType>): JSX.Element;
13
- export declare const Cell: <TType = unknown>(context: ReactTableCellContext<TType, unknown>) => JSX.Element;
13
+ export declare const renderer: useTableManagerInternalColumn;
@@ -0,0 +1,2 @@
1
+ import { useTableManagerInternalColumn } from '../../../../useTableManager/types';
2
+ export declare const renderer: useTableManagerInternalColumn;
@@ -0,0 +1,2 @@
1
+ import { useTableManagerInternalColumn } from '../../../../useTableManager/types';
2
+ export declare const renderer: useTableManagerInternalColumn;
@@ -0,0 +1,2 @@
1
+ import { useTableManagerInternalColumn } from '../../../../useTableManager/types';
2
+ export declare const renderer: useTableManagerInternalColumn;
@@ -1,7 +1,11 @@
1
1
  import React from 'react';
2
2
  import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
3
- import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableColumnWidth } from '../../../../primitives/Table/types';
4
- export declare function Header<TType = unknown>(header: ReactTableHeader<TType, unknown>): JSX.Element | null;
3
+ import { TableColumnAlignment, TableColumnMenu, TableColumnSortDirection, TableColumnWidth } from '../../../types';
4
+ export declare type HeaderProps<TType = unknown> = {
5
+ header: ReactTableHeader<TType, unknown>;
6
+ scrollToIndex: (index: number) => void;
7
+ };
8
+ export declare function Header<TType = unknown>(props: HeaderProps<TType>): JSX.Element | null;
5
9
  export declare type MemoedHeaderProps = {
6
10
  align?: TableColumnAlignment;
7
11
  canFilter: boolean;
@@ -32,6 +36,7 @@ export declare type MemoedHeaderProps = {
32
36
  onResize?: (event: unknown) => void;
33
37
  onSort?: (event: unknown) => void;
34
38
  onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
39
+ scrollToIndex: (index: number) => void;
35
40
  setRowActiveIndex: (index: number) => void;
36
41
  setColumnSizing: any;
37
42
  sortDirection?: TableColumnSortDirection | false;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { PopoverProps } from '../../../../Popover/Popover';
2
+ import { PopoverProps } from '../../../../../../components/Popover/Popover';
3
3
  export declare type GotoProps = PopoverProps & {
4
4
  onGoto: (query: string) => Promise<void>;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TableColumnMenu, TableColumnSortDirection } from '../../../../../primitives/Table/types';
2
+ import { TableColumnMenu, TableColumnSortDirection } from '../../../../types';
3
3
  export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
4
4
  canFilter: boolean;
5
5
  canGoto: boolean;
@@ -14,6 +14,7 @@ export declare type HeaderMenuProps = React.ButtonHTMLAttributes<HTMLButtonEleme
14
14
  onHide?: (event: unknown) => void;
15
15
  onPin?: (index: number | undefined) => void;
16
16
  onSortToggle?: (sortDirection: TableColumnSortDirection | false) => void;
17
+ scrollToIndex: (index: number) => void;
17
18
  setRowActiveIndex: (index: number) => void;
18
19
  sortDirection?: TableColumnSortDirection | false;
19
20
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TableColumnWidth } from '../../../../../primitives/Table/types';
2
+ import { TableColumnWidth } from '../../../../types';
3
3
  declare type ResizerProps = {
4
4
  headerRef: HTMLTableCellElement | null;
5
5
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TableColumnSortDirection } from '../../../../../primitives/Table/types';
2
+ import { TableColumnSortDirection } from '../../../../types';
3
3
  declare type SortIndicatorProps = {
4
4
  direction: false | TableColumnSortDirection;
5
5
  };
@@ -0,0 +1,4 @@
1
+ import { Header as ReactTableHeader, ColumnPinningPosition as ReactTableColumnPinningPosition } from '@tanstack/react-table';
2
+ import { TableColumnWidth } from '../../../types';
3
+ export declare function useSetInitialColumnSizing(id: string, width: TableColumnWidth | undefined, element: HTMLTableCellElement | null, canMeasureSize: boolean, setColumnSizing: any): void;
4
+ export declare function getIsPinned<TType = unknown>(header: ReactTableHeader<TType, unknown>): ReactTableColumnPinningPosition | undefined;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TableRowRendererProps } from '../../../types';
3
+ export declare type DisplayRowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & TableRowRendererProps<TType>;
4
+ export declare const DisplayRow: <TType = unknown>(props: TableRowRendererProps<TType>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { TableRowRenderer, TableRowRendererProps } from '../../types';
3
+ export declare type RowProps<TType = unknown> = React.HTMLAttributes<HTMLTableRowElement> & TableRowRendererProps<TType> & {
4
+ renderer: TableRowRenderer<TType>;
5
+ };
6
+ export declare function Row<TType = unknown>(props: RowProps<TType>): JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  declare type RowContextValue = {
3
3
  isHovered: boolean;
4
- setIsHovered: (value: boolean) => void;
5
4
  rowIndex: number;
6
5
  };
7
6
  export declare const RowContext: React.Context<RowContextValue>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { useTableReturnValue } from '../../useTable';
3
+ export declare type TableToolbarProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {
4
+ children?: JSX.Element | null;
5
+ table: useTableReturnValue<TType>;
6
+ };
7
+ export declare function TableToolbar<TType = unknown>(props: TableToolbarProps<TType>): JSX.Element | null;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Column as ReactTableColumn } from '@tanstack/react-table';
3
- import { TableFilter } from '../../../../../../../primitives/Table/types';
3
+ import { TableFilter } from '../../../../../../types';
4
4
  export declare type FilterProps<TType = unknown> = {
5
5
  allColumns: ReactTableColumn<TType, unknown>[];
6
6
  filter: TableFilter;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Column as ReactTableColumn } from '@tanstack/react-table';
3
- import { Select2Props } from '../../../../../../Select2/Select2';
4
- import { TableFilter } from '../../../../../../../primitives/Table/types';
3
+ import { Select2Props } from '../../../../../../../../components/Select2/Select2';
4
+ import { TableFilter } from '../../../../../../types';
5
5
  export declare type FilterColumnProps<TType = unknown> = Omit<Select2Props, 'children'> & {
6
6
  allColumns: ReactTableColumn<TType, unknown>[];
7
7
  filters: TableFilter[];
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Column as ReactTableColumn } from '@tanstack/react-table';
3
- import { Select2Props } from '../../../../../../Select2/Select2';
3
+ import { Select2Props } from '../../../../../../../../components/Select2/Select2';
4
4
  export declare type FilterComparatorProps<TType = unknown> = Omit<Select2Props, 'children'> & {
5
5
  column?: ReactTableColumn<TType, unknown>;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Column as ReactTableColumn } from '@tanstack/react-table';
3
- import { TableFilterComparator } from '../../../../../../../primitives/Table/types';
3
+ import { TableFilterComparator } from '../../../../../../types';
4
4
  export declare type FilterValueProps<TType = unknown> = {
5
5
  column?: ReactTableColumn<TType, unknown>;
6
6
  comparator: TableFilterComparator;
@@ -1,4 +1,4 @@
1
1
  import { Column as ReactTableColumn } from '@tanstack/react-table';
2
- import { TableFilter } from '../../../../../../primitives/Table/types';
2
+ import { TableFilter } from '../../../../../types';
3
3
  export declare function sortByHeader<TType = unknown>(a: ReactTableColumn<TType>, b: ReactTableColumn<TType>): number;
4
4
  export declare function isEmptyFilter(filter: TableFilter): boolean;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
- import { TableRef } from '../../../../../../primitives/Table/types';
3
+ import { TableRef } from '../../../../../types';
4
4
  export declare type PrintProps<TType = unknown> = {
5
5
  table: ReactTable<TType>;
6
6
  tableId: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
- import { Select2Value } from '../../../../../Select2/Select2';
4
- import { RadioGroupItemValue } from '../../../../../RadioGroup/RadioGroup';
3
+ import { Select2Value } from '../../../../../../../components/Select2/Select2';
4
+ import { RadioGroupItemValue } from '../../../../../../../components/RadioGroup/RadioGroup';
5
5
  export declare type PrintDialogProps<TType = unknown> = {
6
6
  table: ReactTable<TType>;
7
7
  onAccept: () => void;
@@ -1,8 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
+ import { TableRef } from '../../../../../types';
3
4
  declare type SearchProps<TType = unknown> = {
4
5
  scrollToIndex: any;
5
6
  table: ReactTable<TType>;
7
+ tableRef: React.RefObject<TableRef>;
6
8
  };
7
9
  export declare function Search<TType = unknown>(props: SearchProps<TType>): JSX.Element;
8
10
  export {};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
- import { PopoverProps } from '../../../../../Popover/Popover';
3
+ import { PopoverProps } from '../../../../../../../components/Popover/Popover';
4
4
  export declare type HideOrOrderPopoverProps<TType = unknown> = PopoverProps & {
5
5
  table: ReactTable<TType>;
6
6
  };
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
- import { ReportCustomSettingsRenderer } from '../../../../types';
3
+ import { TableCustomSettingsRenderer } from '../../../../../types';
4
4
  export declare type SettingsProps<TType = unknown> = {
5
- customSettings?: ReportCustomSettingsRenderer;
5
+ customSettings?: TableCustomSettingsRenderer;
6
6
  table: ReactTable<TType>;
7
7
  };
8
8
  export declare function Settings<TType = unknown>(props: SettingsProps<TType>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Table as ReactTable } from '@tanstack/react-table';
2
+ export declare function useStylesheetColumnFreezing<TType = unknown>(tableId: string, table: ReactTable<TType>): string;
@@ -1,3 +1,3 @@
1
1
  import { Table as ReactTable } from '@tanstack/react-table';
2
- import { TableFontSize } from '../../../primitives/Table/types';
3
- export declare function useCssGridStylesheet<TType = unknown>(tableId: string, table: ReactTable<TType>, fontSize: TableFontSize): string;
2
+ import { TableFontSize } from '../../types';
3
+ export declare function useStylesheetCssGrid<TType = unknown>(tableId: string, table: ReactTable<TType>, fontSize: TableFontSize): string;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
- import { TableRef } from '../../../primitives/Table/types';
3
+ import { TableRef } from '../../types';
4
4
  export declare function useTableGlobalShortcuts<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, scrollToIndex: (index: number) => void): void;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Table as ReactTable } from '@tanstack/react-table';
3
3
  import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
4
- import { TableRef } from '../../../primitives/Table/types';
5
- export declare function useTableRenderer<TType = unknown>(table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, defaultRowActiveIndex?: number | undefined): {
4
+ import { useTableRenderers } from '../types';
5
+ import { TableRef } from '../../types';
6
+ export declare function useTableRenderer<TType = unknown>(renderers: useTableRenderers<TType>, table: ReactTable<TType>, tableRef: React.RefObject<TableRef>, defaultRowActiveIndex?: number | undefined): {
6
7
  rows: JSX.Element[] | null;
7
8
  style: React.CSSProperties;
8
9
  scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { Table as ReactTable, Row as ReactTableRow, Cell as ReactTableCell } from '@tanstack/react-table';
3
+ export declare type useTableRenderers<TType = unknown> = {
4
+ row: TableRowRenderer<TType>;
5
+ cell: TableCellRenderer<TType>;
6
+ };
7
+ export declare type TableRowRendererProps<TType = unknown> = {
8
+ cellRenderer: TableCellRenderer<TType>;
9
+ index: number;
10
+ measureRow: (size: number, expansionHeight?: number) => void;
11
+ row: ReactTableRow<TType>;
12
+ table: ReactTable<TType>;
13
+ };
14
+ export declare type TableRowRenderer<TType = unknown> = <T = TType>(props: TableRowRendererProps<T>) => JSX.Element;
15
+ export declare type TableCellRendererProps<TType = unknown> = React.TdHTMLAttributes<HTMLTableCellElement> & {
16
+ cell: ReactTableCell<TType, unknown>;
17
+ cellRef: React.RefObject<HTMLTableCellElement>;
18
+ index: number;
19
+ isHighlighted: true | 'current' | undefined;
20
+ };
21
+ export declare type TableCellRenderer<TType = unknown> = <T = TType>(props: TableCellRendererProps<T>) => JSX.Element;
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable, TableMeta as ReactTableMeta, TableState as ReactTableState } from '@tanstack/react-table';
3
+ import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
4
+ import { TableCustomSettingsRenderer, TableEmptyStateRenderer, TableProps } from '../types';
5
+ import { TableRef } from '../types';
6
+ import { useTableRenderers } from './types';
7
+ export declare type useTableReturnValue<TType = unknown> = {
8
+ id: string;
9
+ instance: ReactTable<TType>;
10
+ meta: ReactTableMeta<TType>;
11
+ props: {
12
+ customSettings: TableCustomSettingsRenderer | undefined;
13
+ emptyState: TableEmptyStateRenderer | undefined;
14
+ toolbarLeft: JSX.Element | undefined;
15
+ toolbarPanel: JSX.Element | undefined;
16
+ toolbarRight: JSX.Element | undefined;
17
+ };
18
+ ref: React.RefObject<TableRef>;
19
+ renderer: {
20
+ rows: JSX.Element[] | null;
21
+ style: React.CSSProperties;
22
+ scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
23
+ };
24
+ stylesheet: JSX.Element;
25
+ state: ReactTableState;
26
+ };
27
+ export declare function useTable<TType = unknown, TMeta = {}>(props: TableProps<TType>, externalRef: React.Ref<TableRef>, renderers: useTableRenderers<TType>, meta?: Partial<ReactTableMeta<TType>> & TMeta): useTableReturnValue<TType>;