@economic/taco 2.21.2 → 2.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. package/dist/components/Report/Report.d.ts +21 -0
  2. package/dist/components/Report/components/Cell/Cell.d.ts +0 -1
  3. package/dist/components/Report/components/Cell/DisplayCell.d.ts +1 -1
  4. package/dist/components/Report/components/Cell/util.d.ts +1 -1
  5. package/dist/components/Report/components/Row/DisplayRow.d.ts +2 -9
  6. package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts +5 -5
  7. package/dist/components/Report/listeners/useTableRowActiveListener.d.ts +3 -0
  8. package/dist/components/Report/styles/util.d.ts +2 -2
  9. package/dist/components/Report/types.d.ts +1 -3
  10. package/dist/components/Report/useReport.d.ts +2 -7
  11. package/dist/components/Table3/types.d.ts +1 -1
  12. package/dist/esm/index.css +501 -9
  13. package/dist/esm/packages/taco/src/components/Card/Card.js +1 -1
  14. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  15. package/dist/esm/packages/taco/src/components/Group/Group.js +1 -1
  16. package/dist/esm/packages/taco/src/components/Group/Group.js.map +1 -1
  17. package/dist/esm/packages/taco/src/components/Input/Input.js +37 -7
  18. package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -1
  19. package/dist/esm/packages/taco/src/components/Input/util.js +3 -1
  20. package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
  21. package/dist/esm/packages/taco/src/components/Report/Report.js +70 -0
  22. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -0
  23. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +61 -0
  24. package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -0
  25. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js +22 -0
  26. package/dist/esm/packages/taco/src/components/Report/components/Body/util.js.map +1 -0
  27. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +32 -0
  28. package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -0
  29. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js +23 -0
  30. package/dist/esm/packages/taco/src/components/Report/components/Cell/DisplayCell.js.map +1 -0
  31. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +58 -0
  32. package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -0
  33. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +69 -0
  34. package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -0
  35. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js +34 -0
  36. package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -0
  37. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +39 -0
  38. package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -0
  39. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +194 -0
  40. package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -0
  41. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js +28 -0
  42. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Goto.js.map +1 -0
  43. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +150 -0
  44. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -0
  45. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js +60 -0
  46. package/dist/esm/packages/taco/src/components/Report/components/Header/components/Resizer.js.map +1 -0
  47. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js +41 -0
  48. package/dist/esm/packages/taco/src/components/Report/components/Header/components/SortIndicator.js.map +1 -0
  49. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +24 -0
  50. package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -0
  51. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js +90 -0
  52. package/dist/esm/packages/taco/src/components/Report/components/Internal/Actions.js.map +1 -0
  53. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js +59 -0
  54. package/dist/esm/packages/taco/src/components/Report/components/Internal/Expansion.js.map +1 -0
  55. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +118 -0
  56. package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -0
  57. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js +102 -0
  58. package/dist/esm/packages/taco/src/components/Report/components/Row/DisplayRow.js.map +1 -0
  59. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js +24 -0
  60. package/dist/esm/packages/taco/src/components/Report/components/Row/Row.js.map +1 -0
  61. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js +10 -0
  62. package/dist/esm/packages/taco/src/components/Report/components/Row/RowContext.js.map +1 -0
  63. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js +62 -0
  64. package/dist/esm/packages/taco/src/components/Report/components/Row/SkeletonRow.js.map +1 -0
  65. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js +63 -0
  66. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/Toolbar.js.map +1 -0
  67. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +50 -0
  68. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -0
  69. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +136 -0
  70. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
  71. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +95 -0
  72. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
  73. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +49 -0
  74. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
  75. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js +110 -0
  76. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
  77. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +118 -0
  78. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
  79. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js +41 -0
  80. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js.map +1 -0
  81. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js +7 -0
  82. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -0
  83. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +123 -0
  84. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -0
  85. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js +88 -0
  86. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
  87. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js +95 -0
  88. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Search/Search.js.map +1 -0
  89. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +105 -0
  90. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
  91. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +103 -0
  92. package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -0
  93. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +24 -0
  94. package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -0
  95. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js +44 -0
  96. package/dist/esm/packages/taco/src/components/Report/styles/useColumnPinningStylesheet.js.map +1 -0
  97. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +54 -0
  98. package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -0
  99. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js +20 -0
  100. package/dist/esm/packages/taco/src/components/Report/styles/useStylesheet.js.map +1 -0
  101. package/dist/esm/packages/taco/src/components/Report/styles/util.js +61 -0
  102. package/dist/esm/packages/taco/src/components/Report/styles/util.js.map +1 -0
  103. package/dist/esm/packages/taco/src/components/Report/useReport.js +51 -0
  104. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -0
  105. package/dist/esm/packages/taco/src/components/Report/util/rows.js +10 -0
  106. package/dist/esm/packages/taco/src/components/Report/util/rows.js.map +1 -0
  107. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +39 -0
  108. package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -0
  109. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js +162 -0
  110. package/dist/esm/packages/taco/src/components/Report/util/useTableRenderer.js.map +1 -0
  111. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +2 -1
  112. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
  113. package/dist/esm/packages/taco/src/components/Select2/Select2.js +2 -2
  114. package/dist/esm/packages/taco/src/components/Select2/components/Create.js +1 -1
  115. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +1 -1
  116. package/dist/esm/packages/taco/src/components/Select2/components/Option.js +1 -1
  117. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +6 -7
  118. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
  119. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +1 -1
  120. package/dist/esm/packages/taco/src/components/Table3/Table3.js +7 -2
  121. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  122. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js +6 -6
  123. package/dist/esm/packages/taco/src/components/Table3/components/alert/ErrorAlert.js.map +1 -1
  124. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js +7 -1
  125. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/Cell.js.map +1 -1
  126. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js +2 -0
  127. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/DisplayCell.js.map +1 -1
  128. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js +6 -1
  129. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingCell.js.map +1 -1
  130. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js +1 -0
  131. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/EditingControl.js.map +1 -1
  132. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js +3 -1
  133. package/dist/esm/packages/taco/src/components/Table3/components/columns/cell/controls/TextareaControl.js.map +1 -1
  134. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +1 -0
  135. package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -1
  136. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js +9 -1
  137. package/dist/esm/packages/taco/src/components/Table3/components/columns/header/Menu.js.map +1 -1
  138. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js +1 -0
  139. package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Actions.js.map +1 -1
  140. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js +2 -0
  141. package/dist/esm/packages/taco/src/components/Table3/components/rows/Row.js.map +1 -1
  142. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +3 -3
  143. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +4 -8
  144. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
  145. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +1 -0
  146. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -1
  147. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +19 -14
  148. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -1
  149. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +6 -5
  150. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js.map +1 -1
  151. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js +18 -1
  152. package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Search.js.map +1 -1
  153. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js +8 -14
  154. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useColumnFreezing.js.map +1 -1
  155. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useEditing.js +1 -1
  156. package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +1 -1
  157. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +5 -1
  158. package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -1
  159. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +15 -15
  160. package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
  161. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js +20 -0
  162. package/dist/esm/packages/taco/src/components/Table3/hooks/useTablePreset.js.map +1 -1
  163. package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
  164. package/dist/esm/packages/taco/src/components/Table3/util/columns.js +2 -0
  165. package/dist/esm/packages/taco/src/components/Table3/util/columns.js.map +1 -1
  166. package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +1 -1
  167. package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +1 -1
  168. package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +1 -1
  169. package/dist/esm/packages/taco/src/index.js +7 -6
  170. package/dist/esm/packages/taco/src/index.js.map +1 -1
  171. package/dist/esm/packages/taco/src/primitives/Button.js +2 -1
  172. package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -1
  173. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  174. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js +21 -0
  175. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js.map +1 -0
  176. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js +8 -0
  177. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +1 -0
  178. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js +16 -0
  179. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +1 -0
  180. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js +17 -0
  181. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +1 -0
  182. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js +11 -0
  183. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +1 -0
  184. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js +9 -0
  185. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +1 -0
  186. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js +9 -0
  187. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +1 -0
  188. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js +38 -0
  189. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +1 -0
  190. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js +28 -0
  191. package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +1 -0
  192. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js +14 -0
  193. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +1 -0
  194. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js +15 -0
  195. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +1 -0
  196. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js +26 -0
  197. package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +1 -0
  198. package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js +117 -0
  199. package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +1 -0
  200. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js +30 -3
  201. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +1 -1
  202. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js +131 -0
  203. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +1 -0
  204. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js +131 -0
  205. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +1 -0
  206. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js +43 -0
  207. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +1 -0
  208. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js +22 -0
  209. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +1 -0
  210. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js +270 -0
  211. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +1 -0
  212. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js +18 -0
  213. package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +1 -0
  214. package/dist/esm/packages/taco/src/utils/dom.js +5 -1
  215. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  216. package/dist/esm/packages/taco/src/utils/keyboard.js +3 -5
  217. package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -1
  218. package/dist/index.css +501 -9
  219. package/dist/index.d.ts +1 -0
  220. package/dist/primitives/Table/types.d.ts +2 -2
  221. package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +1 -1
  222. package/dist/primitives/Table/useTable/util/settings.d.ts +1 -1
  223. package/dist/primitives/Table/useTable/util/sorting.d.ts +1 -1
  224. package/dist/taco.cjs.development.js +6380 -2731
  225. package/dist/taco.cjs.development.js.map +1 -1
  226. package/dist/taco.cjs.production.min.js +1 -1
  227. package/dist/taco.cjs.production.min.js.map +1 -1
  228. package/dist/utils/dom.d.ts +1 -0
  229. package/dist/utils/keyboard.d.ts +0 -1
  230. package/package.json +2 -2
  231. package/types.json +4682 -4776
  232. package/dist/components/Report/features/useReportExport.d.ts +0 -3
package/dist/index.css CHANGED
@@ -522,6 +522,490 @@
522
522
  @apply -mt-px py-0 px-2;
523
523
  }
524
524
 
525
+ table[data-taco='report'] {
526
+ /* reset table */
527
+ @apply border-separate border-spacing-0;
528
+ /* z-indexes & layout */
529
+ @apply relative isolate h-full w-full grow overflow-auto;
530
+ /* styling */
531
+ @apply border-grey-300 rounded border bg-white outline-none;
532
+ /* grid */
533
+ @apply grid;
534
+ /* print */
535
+ @apply print:float-left print:h-max print:w-full print:overflow-visible print:border-0;
536
+ }
537
+
538
+ table[data-taco='report'] thead {
539
+ /* z-indexes & layout */
540
+ @apply sticky top-0 isolate z-20;
541
+ /* grid */
542
+ @apply col-span-full grid auto-rows-min grid-cols-[subgrid];
543
+ }
544
+
545
+ /* header column separator */
546
+
547
+ table[data-taco='report'] thead:hover th:not(:last-child):after {
548
+ @apply bg-grey-300 absolute bottom-2 right-0 top-2 w-px content-[''];
549
+ }
550
+
551
+ table[data-taco='report'] thead tr:first-child {
552
+ @apply rounded-t;
553
+ }
554
+
555
+ table[data-taco='report'] thead tr:first-child th:first-child {
556
+ @apply rounded-tl;
557
+ }
558
+
559
+ table[data-taco='report'] thead tr:first-child th:last-child {
560
+ @apply rounded-tr;
561
+ }
562
+
563
+ table[data-taco='report'] thead tr:last-child {
564
+ @apply border-grey-300 border-b-2;
565
+ }
566
+
567
+ /* bottom border for column groups */
568
+
569
+ table[data-taco='report'] thead tr:not(:last-child) th:before {
570
+ @apply bg-grey-300 absolute bottom-0 left-2 right-2 h-[2px] content-[''];
571
+ }
572
+
573
+ table[data-taco='report'] tfoot {
574
+ /* z-indexes & layout */
575
+ @apply sticky bottom-0 isolate z-20;
576
+ /* grid */
577
+ @apply col-span-full grid auto-rows-min grid-cols-[subgrid];
578
+ }
579
+
580
+ table[data-taco='report'] tbody {
581
+ /* z-indexes & layout */
582
+ @apply isolate z-10;
583
+ /* grid */
584
+ @apply col-span-full grid auto-rows-min grid-cols-[subgrid];
585
+ /* printing - override virtualiser bottom spacing */
586
+ @apply print:!h-auto print:!pb-0;
587
+ }
588
+
589
+ table[data-taco='report'] tr {
590
+ /* styling */
591
+ @apply relative bg-white outline-none;
592
+ /* grid */
593
+ @apply col-span-full grid auto-rows-min grid-cols-[subgrid];
594
+ }
595
+
596
+ /* botom border for column groups */
597
+
598
+ table[data-taco='report'] tr:last-child th:before {
599
+ @apply left-0 right-0;
600
+ }
601
+
602
+ /* row groups */
603
+
604
+ table[data-taco='report'] tr[data-row-group] {
605
+ @apply bg-grey-100 sticky top-[calc(var(--table-header-group-depth)_*_42px)] z-20 mt-10 print:mt-0;
606
+ }
607
+
608
+ table[data-taco='report'] tr[data-row-group]:first-child {
609
+ @apply mt-0;
610
+ }
611
+
612
+ table[data-taco='report'] tr[data-row-group]:not(:first-child):before {
613
+ content: '';
614
+ @apply bg-grey-100 border-grey-300 absolute -top-full left-0 right-0 mt-px h-10 border-t print:top-0 print:h-[2px] print:border-t-2;
615
+ }
616
+
617
+ table[data-taco='report'] tr[data-row-group] td {
618
+ @apply -mt-px border-b-2 border-t-0 font-bold;
619
+ }
620
+
621
+ table[data-taco='report'] tr:first-child td {
622
+ @apply !border-t-0;
623
+ }
624
+
625
+ table[data-taco='report'] th {
626
+ /* layout */
627
+ @apply relative flex h-10 items-center justify-start px-[var(--table-cell-padding-x)];
628
+ /* styling */
629
+ @apply border-grey-300 bg-white font-bold;
630
+ }
631
+
632
+ table[data-taco='report'] th:not([data-cell-placeholder='true']):hover {
633
+ @apply bg-grey-100;
634
+ }
635
+
636
+ table[data-taco='report'] th[aria-sort]:hover {
637
+ @apply cursor-pointer;
638
+ }
639
+
640
+ table[data-taco='report'] td {
641
+ /* layout */
642
+ @apply flex justify-start px-[var(--table-cell-padding-x)] py-[var(--table-cell-padding-y)];
643
+ /* styling */
644
+ @apply border-grey-300 border-b bg-white outline-none;
645
+ /* word breaking */
646
+ @apply break-word hyphens-auto whitespace-pre-line;
647
+ }
648
+
649
+ table[data-taco='report'][data-table-row-height='short'] td {
650
+ @apply min-h-[33px];
651
+ }
652
+
653
+ table[data-taco='report'][data-table-row-height='medium'] td {
654
+ @apply min-h-[41px];
655
+ }
656
+
657
+ table[data-taco='report'] [data-cell-align='left'] {
658
+ @apply justify-start text-left;
659
+ }
660
+
661
+ table[data-taco='report'] [data-cell-align='center'] {
662
+ @apply justify-center text-center;
663
+ }
664
+
665
+ table[data-taco='report'] [data-cell-align='right'] {
666
+ @apply justify-end text-right;
667
+ }
668
+
669
+ table[data-taco='report'] [data-cell-pinned] {
670
+ @apply sticky;
671
+ }
672
+
673
+ table[data-taco='report'] th[data-cell-pinned] {
674
+ @apply z-30;
675
+ }
676
+
677
+ table[data-taco='report'] td[data-cell-pinned] {
678
+ @apply z-10;
679
+ }
680
+
681
+ table[data-taco='report'] td:not([data-cell-truncate='true']) {
682
+ @apply break-word hyphens-auto whitespace-pre-line;
683
+ }
684
+
685
+ /* FOOTER */
686
+ table[data-taco='report'] tfoot td {
687
+ @apply border-b-0 font-bold;
688
+ }
689
+
690
+ table[data-taco='report'] tfoot td:before {
691
+ @apply bg-grey-300 absolute left-0 right-0 top-0 h-[2px] content-[''];
692
+ }
693
+
694
+ /* OTHER */
695
+
696
+ /* resizing */
697
+ table[data-taco='report'][data-table-resizing='true'] {
698
+ @apply select-none;
699
+ }
700
+ table[data-taco='report'][data-table-resizing='true'] th,
701
+ table[data-taco='report'][data-table-resizing='true'] td,
702
+ table[data-taco='report'][data-table-resizing='true'] tbody tr {
703
+ @apply pointer-events-none;
704
+ }
705
+
706
+ /* components in cells */
707
+ table[data-taco='report'] td[data-cell-align='right'] [data-taco='input'],
708
+ table[data-taco='report'] td[data-cell-align='right'] [data-taco='textarea'] {
709
+ @apply text-right;
710
+ }
711
+
712
+ table[data-taco='report'] td [data-taco='textarea'] {
713
+ @apply resize-none overflow-y-hidden focus:resize-y;
714
+ }
715
+
716
+ table[data-taco='report'] td[data-cell-truncate='true'] [data-taco='textarea'] {
717
+ @apply focus:absolute focus:overflow-y-auto;
718
+ }
719
+
720
+ /* font sizing */
721
+ table[data-taco='report'][data-table-font-size='small'] {
722
+ @apply text-xs;
723
+ }
724
+
725
+ table[data-taco='report'][data-table-font-size='medium'] {
726
+ @apply text-sm;
727
+ }
728
+
729
+ table[data-taco='report'][data-table-font-size='large'] {
730
+ @apply text-base;
731
+ }
732
+
733
+ /* small font size */
734
+ table[data-taco='report'][data-table-font-size='small'] td > [data-taco='button'],
735
+ table[data-taco='report'][data-table-font-size='small'] td > [data-taco='icon-button'] {
736
+ @apply !-my-2;
737
+ }
738
+
739
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='spinner'] {
740
+ @apply !h-4 !w-4;
741
+ }
742
+
743
+ table[data-taco='report'][data-table-font-size='small'] td > [data-taco='icon'],
744
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='spinner'] {
745
+ @apply !-my-[3px];
746
+ }
747
+
748
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='badge'],
749
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='badge-icon'],
750
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='icon'],
751
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='spinner'] {
752
+ @apply !-my-0.5 !text-xs;
753
+ }
754
+
755
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='tag'] {
756
+ @apply !-my-0.5 h-5;
757
+ }
758
+
759
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='select2-container'],
760
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='Select2'],
761
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='input'],
762
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='textarea'] {
763
+ @apply !-mx-[7px] !-my-[4px] !min-h-[theme(spacing.6)] !w-[calc(100%_+_14px)] text-xs focus:z-10;
764
+ }
765
+
766
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='Select2'],
767
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='input'],
768
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='textarea'] {
769
+ @apply !px-1.5;
770
+ }
771
+
772
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='select2-container'] [data-taco='Select2'] {
773
+ @apply !m-auto !w-full;
774
+ }
775
+
776
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='Select2'] [data-taco='tag'],
777
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='Select2'] [data-taco='scrollarea'] {
778
+ @apply !my-0;
779
+ }
780
+
781
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='textarea'] {
782
+ @apply !py-[3px];
783
+ }
784
+
785
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='input-container'] [data-affix-type='postfix'] button {
786
+ @apply z-10 !-mr-[15px] !h-6 !min-h-[theme(spacing.6)] !w-6 !min-w-[theme(spacing.6)];
787
+ }
788
+
789
+ table[data-taco='report'][data-table-font-size='small']
790
+ td
791
+ [data-taco='input-container']
792
+ [data-affix-type='postfix']
793
+ [data-taco='icon'] {
794
+ @apply !h-4 !w-4;
795
+ }
796
+
797
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='checkbox'],
798
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='checkbox-container'],
799
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='switch'],
800
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='switch-container'] {
801
+ @apply !-my-0.5;
802
+ }
803
+
804
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='checkbox-container'] [data-taco='checkbox'],
805
+ table[data-taco='report'][data-table-font-size='small'] td [data-taco='switch-container'] [data-taco='switch'] {
806
+ @apply !my-0;
807
+ }
808
+
809
+ /* medium font size */
810
+ table[data-taco='report'][data-table-font-size='medium'] td > [data-taco='button'],
811
+ table[data-taco='report'][data-table-font-size='medium'] td > [data-taco='icon-button'] {
812
+ @apply !-my-1.5;
813
+ }
814
+
815
+ table[data-taco='report'][data-table-font-size='medium'] td > [data-taco='icon'] {
816
+ @apply !-my-0.5;
817
+ }
818
+
819
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='tag'] {
820
+ @apply !-my-0.5;
821
+ }
822
+
823
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='select2-container'],
824
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='Select2'],
825
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='input'],
826
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='textarea'] {
827
+ @apply !-mx-[9px] !-my-[6px] !min-h-[theme(spacing.8)] !w-[calc(100%_+_16px)] focus:z-10;
828
+ }
829
+
830
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='select2-container'] [data-taco='Select2'] {
831
+ @apply !m-auto !w-full;
832
+ }
833
+
834
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='Select2'] [data-taco='tag'] {
835
+ @apply !my-0;
836
+ }
837
+
838
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='Select2'] {
839
+ @apply !px-2;
840
+ }
841
+
842
+ table[data-taco='report'][data-table-font-size='medium'] td[data-cell-truncate='true'] [data-taco='textarea'] {
843
+ @apply !pb-[5px];
844
+ }
845
+
846
+ table[data-taco='report'][data-table-font-size='medium'] td [data-taco='input-container'] [data-affix-type='postfix'] button {
847
+ @apply z-10 !-mr-4;
848
+ }
849
+
850
+ /* large font size */
851
+ table[data-taco='report'][data-table-font-size='large'] td > [data-taco='button'],
852
+ table[data-taco='report'][data-table-font-size='large'] td > [data-taco='icon-button'] {
853
+ @apply !-my-1;
854
+ }
855
+
856
+ table[data-taco='report'][data-table-font-size='large'] td > [data-taco='icon'] {
857
+ @apply !-my-0.5;
858
+ }
859
+
860
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='select2-container'],
861
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='Select2'],
862
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='input'],
863
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='textarea'] {
864
+ @apply !-mx-[11px] !-mb-[7.5px] !-mt-[8.5px] !w-[calc(100%_+_22px)] focus:z-10;
865
+ }
866
+
867
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='select2-container'] [data-taco='Select2'] {
868
+ @apply !m-auto !w-full;
869
+ }
870
+
871
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='Select2'] {
872
+ @apply !px-2.5;
873
+ }
874
+
875
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='Select2'] [data-taco='tag'] {
876
+ @apply !my-0 !mt-px;
877
+ }
878
+
879
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='textarea'] {
880
+ @apply !py-[7.5px];
881
+ }
882
+
883
+ table[data-taco='report'][data-table-font-size='large'] td:not([data-cell-truncate='true']) > [data-taco='textarea'] {
884
+ @apply !pb-[8.5px];
885
+ }
886
+
887
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='input'],
888
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='Select2'],
889
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='textarea'] {
890
+ @apply h-10 px-2.5 text-base;
891
+ }
892
+
893
+ table[data-taco='report'][data-table-font-size='large'] td [data-taco='input-container'] [data-affix-type='postfix'] button {
894
+ @apply !-mr-[19px] !h-10 !w-10;
895
+ }
896
+
897
+ table[data-taco='report'][data-table-font-size='large']
898
+ td
899
+ [data-taco='input-container']
900
+ [data-affix-type='postfix']
901
+ [data-taco='icon'] {
902
+ @apply !h-6 !w-6;
903
+ }
904
+
905
+ /* row/cell backgrounds -- we have to be specific so that nested tables don't inherit */
906
+
907
+ /* normal rows */
908
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true']) > td {
909
+ @apply bg-white;
910
+ }
911
+ /* search highlighting */
912
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true']) > td[data-cell-highlighted='true'] {
913
+ @apply bg-[#e9f2ff];
914
+ }
915
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true']) > td[data-cell-highlighted='current'] {
916
+ @apply !bg-[#bfd9ff];
917
+ }
918
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true'])[data-row-group] > td {
919
+ @apply bg-grey-100;
920
+ }
921
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true']):hover > td,
922
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true'])[data-row-active='true'] > td,
923
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true'])[data-row-active='true']:hover > td {
924
+ --table-row-actions-shadow: theme(colors.grey.100);
925
+ @apply bg-grey-100;
926
+ }
927
+ /* search highlighting */
928
+ table[data-taco='report'] > tbody > tr:not([data-row-selected='true']):hover > td[data-cell-highlighted='true'], table[data-taco='report'] > tbody > tr:not([data-row-selected='true'])[data-row-active='true'] > td[data-cell-highlighted='true'], table[data-taco='report'] > tbody > tr:not([data-row-selected='true'])[data-row-active='true']:hover > td[data-cell-highlighted='true'] {
929
+ @apply bg-[#e2ebf8];
930
+ }
931
+ /* normal rows when focus is inside the table */
932
+ table[data-taco='report']:focus-within > tbody > tr[data-row-active='true']:not([data-row-selected='true']) > td {
933
+ --table-row-actions-shadow: theme(colors.grey.200);
934
+ @apply !bg-grey-200;
935
+ }
936
+
937
+ /* normal rows when hover is paused */
938
+ table[data-taco='report'][data-table-pause-hover='true'] > tbody > tr:not([data-row-selected='true']):hover:not([data-row-active='true']) > td {
939
+ --table-row-actions-shadow: theme(colors.white);
940
+ @apply !bg-white;
941
+ }
942
+ table[data-taco='report'][data-table-pause-hover='true'] > tbody > tr:not([data-row-selected='true']):hover[data-row-active='true'] > td {
943
+ --table-row-actions-shadow: theme(colors.grey.200);
944
+ @apply !bg-grey-200;
945
+ }
946
+
947
+ /* selected rows */
948
+ table[data-taco='report'] > tbody > tr[data-row-selected='true'] > td {
949
+ @apply bg-blue-100;
950
+ }
951
+ /* search highlighting */
952
+ table[data-taco='report'] > tbody > tr[data-row-selected='true'] > td[data-cell-highlighted='true'] {
953
+ @apply bg-[#d0e4ff];
954
+ }
955
+ table[data-taco='report'] > tbody > tr[data-row-selected='true'] > td[data-cell-highlighted='current'] {
956
+ @apply !bg-[#b6d4ff];
957
+ }
958
+ table[data-taco='report'] > tbody > tr[data-row-selected='true']:hover > td,
959
+ table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true'] > td,
960
+ table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true']:hover > td {
961
+ --table-row-actions-shadow: #d6e3f6;
962
+ @apply bg-[#D6E3F6];
963
+ }
964
+ /* search highlighting */
965
+ table[data-taco='report'] > tbody > tr[data-row-selected='true']:hover > td[data-cell-highlighted='true'], table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true'] > td[data-cell-highlighted='true'], table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true']:hover > td[data-cell-highlighted='true'] {
966
+ @apply bg-[#cadef9];
967
+ }
968
+ table[data-taco='report'] > tbody > tr[data-row-selected='true']:hover > td[data-cell-highlighted='current'], table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true'] > td[data-cell-highlighted='current'], table[data-taco='report'] > tbody > tr[data-row-selected='true'][data-row-active='true']:hover > td[data-cell-highlighted='current'] {
969
+ @apply !bg-[#b4d2fd];
970
+ }
971
+ /* selected rows when focus is inside the table */
972
+ table[data-taco='report']:focus-within > tbody > tr[data-row-active='true'][data-row-selected='true'] > td {
973
+ --table-row-actions-shadow: #ccd8eb;
974
+ @apply bg-[#CCD8EB];
975
+ }
976
+ /* selected rows when hover is paused */
977
+ table[data-taco='report'][data-table-pause-hover='true'] > tbody > tr[data-row-selected='true']:hover:not([data-row-active='true']) > td {
978
+ --table-row-actions-shadow: theme(colors.blue.100);
979
+ @apply !bg-blue-100;
980
+ }
981
+ table[data-taco='report'][data-table-pause-hover='true'] > tbody > tr[data-row-selected='true']:hover[data-row-active='true'] > td {
982
+ --table-row-actions-shadow: #ccd8eb;
983
+ @apply !bg-[#CCD8EB];
984
+ }
985
+
986
+ /* row metadata */
987
+
988
+ table[data-taco='report'] tbody tr[data-row-meta-layout='heading']:not([data-row-group='true']) td {
989
+ @apply !border-b-0 border-t font-bold;
990
+ }
991
+
992
+ table[data-taco='report'] tbody tr[data-row-group='true'] + tr[data-row-meta-layout='heading'] td {
993
+ @apply !border-t-0;
994
+ }
995
+
996
+ table[data-taco='report'] tbody tr[data-row-meta-layout='summary']:not([data-row-group='true']) td {
997
+ @apply !border-b-0 font-bold;
998
+ }
999
+
1000
+ table[data-taco='report'] tbody tr[data-row-meta-layout='item']:not([data-row-group='true']) td {
1001
+ @apply !border-b-0;
1002
+ }
1003
+
1004
+ /* printing */
1005
+ table[data-taco='report'] [data-cell-id^='__'] {
1006
+ @apply print:hidden;
1007
+ }
1008
+
525
1009
  /* rows */
526
1010
  .yt-table__row {
527
1011
  @apply border-grey-300 flex border-b;
@@ -856,7 +1340,7 @@
856
1340
 
857
1341
  [data-font-size='small'] [role='cell'] [data-taco='Select2'],
858
1342
  [data-font-size='small'] [role='cell'] [data-taco='input-container'] {
859
- @apply !-my-[3px];
1343
+ @apply !-my-[2px];
860
1344
  }
861
1345
 
862
1346
  /* from validation */
@@ -869,9 +1353,14 @@
869
1353
  }
870
1354
  /*---*/
871
1355
 
1356
+ [data-font-size='small'] [role='cell'] [data-taco='textarea'] {
1357
+ @apply py-px leading-4;
1358
+ }
1359
+
872
1360
  [data-font-size='small'] [role='cell'] [data-taco='input'],
873
1361
  [data-font-size='small'] [role='cell'] [data-taco='Select2'],
874
- [data-font-size='small'] [role='cell'] [data-taco='textarea'] {
1362
+ [data-font-size='small'] [role='cell'] [data-taco='textarea'],
1363
+ [data-font-size='small'] [role='cell'] [data-taco='combobox'] {
875
1364
  @apply h-6 min-h-[theme(spacing.6)] px-1.5 text-xs;
876
1365
  }
877
1366
 
@@ -931,7 +1420,7 @@
931
1420
 
932
1421
  [data-font-size='medium'] [role='cell'] [data-taco='Select2'],
933
1422
  [data-font-size='medium'] [role='cell'] [data-taco='input-container'] {
934
- @apply !-my-[5px];
1423
+ @apply !-my-[4px];
935
1424
  }
936
1425
 
937
1426
  /* When cell is editable, but not highlighted, then we apply cell padding to a cell itself and remove 1px border-width */
@@ -940,7 +1429,7 @@
940
1429
  @apply px-[calc(var(--table3-cell-padding-x)_-_8px_-_1px)];
941
1430
  }
942
1431
 
943
- /* When cell is editable and highlighted, the padding should apply to highlight wrapper and remove 1px border-width,
1432
+ /* When cell is editable and highlighted, the padding should apply to highlight wrapper and remove 1px border-width,
944
1433
  because it should take all the available space in the cell */
945
1434
 
946
1435
  [data-font-size='medium'] [role='cell'][data-editable][data-highlighted='true'] [data-taco='highlight'] {
@@ -958,8 +1447,7 @@
958
1447
  [data-font-size='medium'] [role='row'][data-invalid='true'] [role='cell'] [data-taco='input-container'],
959
1448
  [data-font-size='medium'] [role='row'] [role='cell'][data-invalid='true'] [data-taco='Select2'],
960
1449
  [data-font-size='medium'] [role='row'] [role='cell'][data-invalid='true'] [data-taco='input-container'] {
961
- @apply !-mt-1.5;
962
- @apply !mb-0;
1450
+ @apply !-mt-1.5 !mb-0;
963
1451
  }
964
1452
 
965
1453
  /* large font size */
@@ -978,7 +1466,11 @@
978
1466
 
979
1467
  [data-font-size='large'] [role='cell'] [data-taco='Select2'],
980
1468
  [data-font-size='large'] [role='cell'] [data-taco='input-container'] {
981
- @apply !-my-[7.5px];
1469
+ @apply !-my-[6.5px];
1470
+ }
1471
+
1472
+ [data-font-size='large'] [role='cell'] [data-taco='textarea'] {
1473
+ @apply py-[9.5px];
982
1474
  }
983
1475
 
984
1476
  [data-font-size='large'] [role='row'][data-invalid='true'] [role='cell'] [data-taco='Select2'],
@@ -1009,7 +1501,7 @@
1009
1501
  @apply px-[calc(var(--table3-cell-padding-x)_-_10px_-_1px)];
1010
1502
  }
1011
1503
 
1012
- /* When cell is editable and highlighted, the padding should apply to highlight wrapper and remove 1px border-width,
1504
+ /* When cell is editable and highlighted, the padding should apply to highlight wrapper and remove 1px border-width,
1013
1505
  because it should take all the available space in the cell */
1014
1506
 
1015
1507
  [data-font-size='large'] [role='cell'][data-editable][data-highlighted='true'] [data-taco='highlight'] {
@@ -1023,7 +1515,7 @@
1023
1515
  @apply !mx-[calc(var(--table3-cell-padding-x)_-_5px)] !mt-px;
1024
1516
  }
1025
1517
 
1026
- /* Icon inside column header button uses em values therefore text-sm is required to prevent icon
1518
+ /* Icon inside column header button uses em values therefore text-sm is required to prevent icon
1027
1519
  from overflowing button's boundaries */
1028
1520
  [data-font-size='large'] [role='columnheader'] button {
1029
1521
  @apply !text-sm;
package/dist/index.d.ts CHANGED
@@ -33,6 +33,7 @@ export * from './components/Progress/Progress';
33
33
  export * from './components/Provider/Provider';
34
34
  export * from './components/Provider/Localization';
35
35
  export * from './components/RadioGroup/RadioGroup';
36
+ export * from './components/Report/Report';
36
37
  export * from './components/SearchInput/SearchInput';
37
38
  export * from './components/SearchInput2/SearchInput2';
38
39
  export * from './components/Select/Select';
@@ -158,13 +158,13 @@ declare type useTableCommonProps<TType = unknown> = TableFeatureProps & {
158
158
  onChangeSettings?: TableSettingsHandler;
159
159
  onChangeSort?: TableSortHandler;
160
160
  };
161
- interface useTableClientProps<TType = unknown> extends useTableCommonProps<TType> {
161
+ export interface useTableClientProps<TType = unknown> extends useTableCommonProps<TType> {
162
162
  length?: never;
163
163
  loadAll?: never;
164
164
  loadPage?: never;
165
165
  pageSize?: never;
166
166
  }
167
- interface useTableServerProps<TType = unknown> extends useTableCommonProps<TType> {
167
+ export interface useTableServerProps<TType = unknown> extends useTableCommonProps<TType> {
168
168
  length: number | undefined;
169
169
  loadAll: TableServerLoadAllHandler;
170
170
  loadPage: TableServerLoadPageHandler;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare function useTablePrinting(isEnabled: boolean | undefined, defaultIsWarningVisible: boolean | undefined, id: string): {
2
+ export declare function useTablePrinting(isEnabled?: boolean, defaultIsWarningVisible?: boolean): {
3
3
  isEnabled: boolean;
4
4
  isPrinting: boolean;
5
5
  setIsPrinting: React.Dispatch<React.SetStateAction<boolean>>;
@@ -4,7 +4,7 @@ export declare function getSettings<TType = unknown>(table: ReactTable<TType>):
4
4
  columnPinning: import("@tanstack/react-table").ColumnPinningState;
5
5
  columnSizing: Record<string, number>;
6
6
  columnVisibility: Record<string, boolean> | undefined;
7
- excludeUnmatchedRecordsInSearch: boolean;
7
+ excludeUnmatchedRecordsInSearch: any;
8
8
  fontSize: "small" | "medium" | "large" | undefined;
9
9
  grouping: import("@tanstack/react-table").GroupingState | undefined;
10
10
  rowHeight: "medium" | "short" | "tall" | "extra-tall" | undefined;
@@ -1,2 +1,2 @@
1
1
  import { TableColumnDataType, TableColumnSortFn } from '../../types';
2
- export declare function getSortingFn<TType = unknown>(dataType?: TableColumnDataType, customFnOrBuiltIn?: TableColumnSortFn<TType>): "text" | "auto" | "alphanumeric" | "alphanumericCaseSensitive" | "textCaseSensitive" | "datetime" | "basic" | ((rowA: any, rowB: any, columnId: any) => 0 | 1 | -1);
2
+ export declare function getSortingFn<TType = unknown>(dataType?: TableColumnDataType, customFnOrBuiltIn?: TableColumnSortFn<TType>): "auto" | "alphanumeric" | "alphanumericCaseSensitive" | "datetime" | "text" | "textCaseSensitive" | "basic" | ((rowA: any, rowB: any, columnId: any) => 0 | 1 | -1);