@flipdish/ui-library 0.69.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/README.md +3 -3
  2. package/dist/components/__internal__/controlFill/controlFill.context.cjs +13 -0
  3. package/dist/components/__internal__/controlFill/controlFill.context.cjs.map +1 -0
  4. package/dist/components/__internal__/controlFill/controlFill.context.d.ts +7 -0
  5. package/dist/components/__internal__/controlFill/controlFill.context.d.ts.map +1 -0
  6. package/dist/components/__internal__/controlFill/controlFill.context.js +11 -0
  7. package/dist/components/__internal__/controlFill/controlFill.context.js.map +1 -0
  8. package/dist/components/__internal__/focusHandOff/focusHandOff.context.cjs +13 -0
  9. package/dist/components/__internal__/focusHandOff/focusHandOff.context.cjs.map +1 -0
  10. package/dist/components/__internal__/focusHandOff/focusHandOff.context.d.ts +8 -0
  11. package/dist/components/__internal__/focusHandOff/focusHandOff.context.d.ts.map +1 -0
  12. package/dist/components/__internal__/focusHandOff/focusHandOff.context.js +11 -0
  13. package/dist/components/__internal__/focusHandOff/focusHandOff.context.js.map +1 -0
  14. package/dist/components/atoms/Buttons/Button/hooks/useLoadingLinkPress.d.ts +1 -1
  15. package/dist/components/atoms/Buttons/IconButton/IconButton.cjs +1 -1
  16. package/dist/components/atoms/Buttons/IconButton/IconButton.cjs.map +1 -1
  17. package/dist/components/atoms/Buttons/IconButton/IconButton.d.ts.map +1 -1
  18. package/dist/components/atoms/Buttons/IconButton/IconButton.js +1 -1
  19. package/dist/components/atoms/Buttons/IconButton/IconButton.js.map +1 -1
  20. package/dist/components/atoms/LiveStatus/index.cjs +18 -0
  21. package/dist/components/atoms/LiveStatus/index.cjs.map +1 -0
  22. package/dist/components/atoms/LiveStatus/index.d.ts +17 -0
  23. package/dist/components/atoms/LiveStatus/index.d.ts.map +1 -0
  24. package/dist/components/atoms/LiveStatus/index.js +16 -0
  25. package/dist/components/atoms/LiveStatus/index.js.map +1 -0
  26. package/dist/components/forms/Form/index.cjs +1 -1
  27. package/dist/components/forms/Form/index.js +1 -1
  28. package/dist/components/molecules/Dropdown/index.d.ts +2 -2
  29. package/dist/components/molecules/EmptyState/index.cjs +9 -1
  30. package/dist/components/molecules/EmptyState/index.cjs.map +1 -1
  31. package/dist/components/molecules/EmptyState/index.d.ts.map +1 -1
  32. package/dist/components/molecules/EmptyState/index.js +11 -3
  33. package/dist/components/molecules/EmptyState/index.js.map +1 -1
  34. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.cjs +13 -0
  35. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.cjs.map +1 -1
  36. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.d.ts +8 -0
  37. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.d.ts.map +1 -1
  38. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.js +13 -1
  39. package/dist/components/molecules/EmptyState/utilities/emptyState.utils.js.map +1 -1
  40. package/dist/components/molecules/Modals/Modal/Modal.cjs +6 -5
  41. package/dist/components/molecules/Modals/Modal/Modal.cjs.map +1 -1
  42. package/dist/components/molecules/Modals/Modal/Modal.d.ts.map +1 -1
  43. package/dist/components/molecules/Modals/Modal/Modal.js +6 -5
  44. package/dist/components/molecules/Modals/Modal/Modal.js.map +1 -1
  45. package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.cjs +1 -1
  46. package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts +1 -1
  47. package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.d.ts.map +1 -1
  48. package/dist/components/molecules/Paginations/utilities/paginationScroll.utils.js +1 -1
  49. package/dist/components/molecules/Tags/TagGroup/TagGroup.d.ts +1 -1
  50. package/dist/components/molecules/Tags/TagGroup/TagGroup.d.ts.map +1 -1
  51. package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.cjs +4 -1
  52. package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.cjs.map +1 -1
  53. package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  54. package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.js +5 -2
  55. package/dist/components/organisms/DatePickers/DateRangePicker/DateRangePicker.js.map +1 -1
  56. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.cjs +11 -6
  57. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.cjs.map +1 -1
  58. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.d.ts +4 -2
  59. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.d.ts.map +1 -1
  60. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.js +12 -7
  61. package/dist/components/organisms/FilterBar/components/FilterDropdownMenu.js.map +1 -1
  62. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.cjs +53 -0
  63. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.cjs.map +1 -0
  64. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.d.ts +41 -0
  65. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.d.ts.map +1 -0
  66. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.js +51 -0
  67. package/dist/components/organisms/FilterBar/hooks/useFilterDraft.js.map +1 -0
  68. package/dist/components/organisms/FilterBar/index.cjs +19 -7
  69. package/dist/components/organisms/FilterBar/index.cjs.map +1 -1
  70. package/dist/components/organisms/FilterBar/index.d.ts +1 -0
  71. package/dist/components/organisms/FilterBar/index.d.ts.map +1 -1
  72. package/dist/components/organisms/FilterBar/index.js +18 -7
  73. package/dist/components/organisms/FilterBar/index.js.map +1 -1
  74. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.cjs +2 -0
  75. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.cjs.map +1 -1
  76. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.d.ts +10 -0
  77. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.d.ts.map +1 -1
  78. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.js +2 -0
  79. package/dist/components/organisms/SlideoutMenu/hooks/useSlideoutState.js.map +1 -1
  80. package/dist/components/organisms/SlideoutMenu/index.cjs +3 -1
  81. package/dist/components/organisms/SlideoutMenu/index.cjs.map +1 -1
  82. package/dist/components/organisms/SlideoutMenu/index.d.ts.map +1 -1
  83. package/dist/components/organisms/SlideoutMenu/index.js +3 -1
  84. package/dist/components/organisms/SlideoutMenu/index.js.map +1 -1
  85. package/dist/components/organisms/Table/index.cjs +14 -244
  86. package/dist/components/organisms/Table/index.cjs.map +1 -1
  87. package/dist/components/organisms/Table/index.d.ts +29 -124
  88. package/dist/components/organisms/Table/index.d.ts.map +1 -1
  89. package/dist/components/organisms/Table/index.js +13 -243
  90. package/dist/components/organisms/Table/index.js.map +1 -1
  91. package/dist/components/organisms/Tables/Table/Table.cjs +305 -0
  92. package/dist/components/organisms/Tables/Table/Table.cjs.map +1 -0
  93. package/dist/components/organisms/Tables/Table/Table.d.ts +146 -0
  94. package/dist/components/organisms/Tables/Table/Table.d.ts.map +1 -0
  95. package/dist/components/organisms/Tables/Table/Table.js +301 -0
  96. package/dist/components/organisms/Tables/Table/Table.js.map +1 -0
  97. package/dist/components/organisms/Tables/Table/Table.styles.cjs +29 -0
  98. package/dist/components/organisms/Tables/Table/Table.styles.cjs.map +1 -0
  99. package/dist/components/organisms/Tables/Table/Table.styles.d.ts +16 -0
  100. package/dist/components/organisms/Tables/Table/Table.styles.d.ts.map +1 -0
  101. package/dist/components/organisms/Tables/Table/Table.styles.js +27 -0
  102. package/dist/components/organisms/Tables/Table/Table.styles.js.map +1 -0
  103. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.cjs +2 -2
  104. package/dist/components/organisms/Tables/Table/components/TableCardList.cjs.map +1 -0
  105. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.d.ts +1 -1
  106. package/dist/components/organisms/Tables/Table/components/TableCardList.d.ts.map +1 -0
  107. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardList.js +2 -2
  108. package/dist/components/organisms/Tables/Table/components/TableCardList.js.map +1 -0
  109. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.cjs +10 -5
  110. package/dist/components/organisms/Tables/Table/components/TableCardRow.cjs.map +1 -0
  111. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.d.ts +1 -1
  112. package/dist/components/organisms/Tables/Table/components/TableCardRow.d.ts.map +1 -0
  113. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardRow.js +11 -6
  114. package/dist/components/organisms/Tables/Table/components/TableCardRow.js.map +1 -0
  115. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.cjs +2 -2
  116. package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.cjs.map +1 -0
  117. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.d.ts +3 -1
  118. package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.d.ts.map +1 -0
  119. package/dist/components/organisms/{Table → Tables/Table}/components/TableCardsSelectAll.js +2 -2
  120. package/dist/components/organisms/Tables/Table/components/TableCardsSelectAll.js.map +1 -0
  121. package/dist/components/organisms/Tables/Table/components/TableEmptyState.cjs +17 -0
  122. package/dist/components/organisms/Tables/Table/components/TableEmptyState.cjs.map +1 -0
  123. package/dist/components/organisms/Tables/Table/components/TableEmptyState.d.ts +5 -0
  124. package/dist/components/organisms/Tables/Table/components/TableEmptyState.d.ts.map +1 -0
  125. package/dist/components/organisms/Tables/Table/components/TableEmptyState.js +15 -0
  126. package/dist/components/organisms/Tables/Table/components/TableEmptyState.js.map +1 -0
  127. package/dist/components/organisms/Tables/Table/components/TableFallbackCard.cjs.map +1 -0
  128. package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.d.ts +1 -1
  129. package/dist/components/organisms/Tables/Table/components/TableFallbackCard.d.ts.map +1 -0
  130. package/dist/components/organisms/Tables/Table/components/TableFallbackCard.js.map +1 -0
  131. package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.cjs +6 -5
  132. package/dist/components/organisms/Tables/Table/components/TableRowCard.cjs.map +1 -0
  133. package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.d.ts +1 -1
  134. package/dist/components/organisms/Tables/Table/components/TableRowCard.d.ts.map +1 -0
  135. package/dist/components/organisms/{Table → Tables/Table}/components/TableRowCard.js +6 -5
  136. package/dist/components/organisms/Tables/Table/components/TableRowCard.js.map +1 -0
  137. package/dist/components/organisms/Tables/Table/components/TableSortIcon.cjs.map +1 -0
  138. package/dist/components/organisms/Tables/Table/components/TableSortIcon.d.ts.map +1 -0
  139. package/dist/components/organisms/Tables/Table/components/TableSortIcon.js.map +1 -0
  140. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.cjs +22 -0
  141. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.cjs.map +1 -0
  142. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.d.ts +12 -0
  143. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.d.ts.map +1 -0
  144. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.js +20 -0
  145. package/dist/components/organisms/Tables/Table/hooks/useBusyCount.js.map +1 -0
  146. package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.cjs +1 -1
  147. package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.cjs.map +1 -0
  148. package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.d.ts.map +1 -0
  149. package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.js +1 -1
  150. package/dist/components/organisms/Tables/Table/hooks/useFirstSortDirection.js.map +1 -0
  151. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.cjs +42 -0
  152. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.cjs.map +1 -0
  153. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.d.ts +14 -0
  154. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.d.ts.map +1 -0
  155. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.js +40 -0
  156. package/dist/components/organisms/Tables/Table/hooks/useIsPlaceholderPage.js.map +1 -0
  157. package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.cjs +8 -11
  158. package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.cjs.map +1 -0
  159. package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.d.ts +10 -3
  160. package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.d.ts.map +1 -0
  161. package/dist/components/organisms/{Table → Tables/Table}/hooks/usePlaceholderRows.js +9 -12
  162. package/dist/components/organisms/Tables/Table/hooks/usePlaceholderRows.js.map +1 -0
  163. package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.cjs.map +1 -0
  164. package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.d.ts +1 -1
  165. package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.d.ts.map +1 -0
  166. package/dist/components/organisms/Tables/Table/hooks/useSelectableRowRegistry.js.map +1 -0
  167. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.cjs +83 -0
  168. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.cjs.map +1 -0
  169. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.d.ts +23 -0
  170. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.d.ts.map +1 -0
  171. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.js +81 -0
  172. package/dist/components/organisms/Tables/Table/hooks/useTableFocusHandOff.js.map +1 -0
  173. package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.cjs +12 -4
  174. package/dist/components/organisms/Tables/Table/hooks/useTableSelection.cjs.map +1 -0
  175. package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.d.ts +5 -3
  176. package/dist/components/organisms/Tables/Table/hooks/useTableSelection.d.ts.map +1 -0
  177. package/dist/components/organisms/{Table → Tables/Table}/hooks/useTableSelection.js +12 -4
  178. package/dist/components/organisms/Tables/Table/hooks/useTableSelection.js.map +1 -0
  179. package/dist/components/organisms/Tables/Table/providers/Table.context.cjs.map +1 -0
  180. package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.d.ts +14 -2
  181. package/dist/components/organisms/Tables/Table/providers/Table.context.d.ts.map +1 -0
  182. package/dist/components/organisms/Tables/Table/providers/Table.context.js.map +1 -0
  183. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.cjs +55 -0
  184. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.cjs.map +1 -0
  185. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.d.ts +25 -0
  186. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.d.ts.map +1 -0
  187. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.js +51 -0
  188. package/dist/components/organisms/Tables/Table/utilities/tableFocusHandOff.utils.js.map +1 -0
  189. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.cjs +57 -0
  190. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.cjs.map +1 -0
  191. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.d.ts +66 -0
  192. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.d.ts.map +1 -0
  193. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.js +52 -0
  194. package/dist/components/organisms/Tables/Table/utilities/tableLoading.utils.js.map +1 -0
  195. package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.cjs +21 -21
  196. package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.cjs.map +1 -0
  197. package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.d.ts +29 -19
  198. package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.d.ts.map +1 -0
  199. package/dist/components/organisms/{Table → Tables/Table}/utilities/tableSelection.utils.js +20 -21
  200. package/dist/components/organisms/Tables/Table/utilities/tableSelection.utils.js.map +1 -0
  201. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.cjs +34 -0
  202. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.cjs.map +1 -0
  203. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.d.ts +37 -0
  204. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.d.ts.map +1 -0
  205. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.js +32 -0
  206. package/dist/components/organisms/Tables/TableLayoutToggle/TableLayoutToggle.js.map +1 -0
  207. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.cjs +32 -0
  208. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.cjs.map +1 -0
  209. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.d.ts +21 -0
  210. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.d.ts.map +1 -0
  211. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.js +30 -0
  212. package/dist/components/organisms/Tables/TableLayoutToggle/hooks/useTableLayoutToggle.js.map +1 -0
  213. package/dist/components/organisms/{Table/components → Tables/TableSortMenu}/TableSortMenu.cjs +12 -5
  214. package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.cjs.map +1 -0
  215. package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.d.ts +47 -0
  216. package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.d.ts.map +1 -0
  217. package/dist/components/organisms/{Table/components → Tables/TableSortMenu}/TableSortMenu.js +12 -5
  218. package/dist/components/organisms/Tables/TableSortMenu/TableSortMenu.js.map +1 -0
  219. package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.cjs.map +1 -0
  220. package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.d.ts.map +1 -0
  221. package/dist/components/organisms/Tables/hooks/useIsAtLeastMd.js.map +1 -0
  222. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.cjs +84 -0
  223. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.cjs.map +1 -0
  224. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.d.ts +20 -0
  225. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.d.ts.map +1 -0
  226. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.js +81 -0
  227. package/dist/components/organisms/Tables/hooks/useStoredTableLayout.js.map +1 -0
  228. package/dist/components/organisms/Tables/index.cjs +14 -0
  229. package/dist/components/organisms/Tables/index.cjs.map +1 -0
  230. package/dist/components/organisms/Tables/index.d.ts +19 -0
  231. package/dist/components/organisms/Tables/index.d.ts.map +1 -0
  232. package/dist/components/organisms/Tables/index.js +4 -0
  233. package/dist/components/organisms/Tables/index.js.map +1 -0
  234. package/dist/components/organisms/{Table/table.types.d.ts → Tables/tables.types.d.ts} +12 -2
  235. package/dist/components/organisms/Tables/tables.types.d.ts.map +1 -0
  236. package/dist/components/organisms/Tables/utilities/tableCard.utils.cjs.map +1 -0
  237. package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.d.ts +2 -2
  238. package/dist/components/organisms/Tables/utilities/tableCard.utils.d.ts.map +1 -0
  239. package/dist/components/organisms/Tables/utilities/tableCard.utils.js.map +1 -0
  240. package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.cjs +7 -4
  241. package/dist/components/organisms/Tables/utilities/tableChildren.utils.cjs.map +1 -0
  242. package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.d.ts +5 -3
  243. package/dist/components/organisms/Tables/utilities/tableChildren.utils.d.ts.map +1 -0
  244. package/dist/components/organisms/{Table → Tables}/utilities/tableChildren.utils.js +7 -4
  245. package/dist/components/organisms/Tables/utilities/tableChildren.utils.js.map +1 -0
  246. package/dist/components/organisms/Tables/utilities/tableIterable.utils.cjs +23 -0
  247. package/dist/components/organisms/Tables/utilities/tableIterable.utils.cjs.map +1 -0
  248. package/dist/components/organisms/Tables/utilities/tableIterable.utils.d.ts +8 -0
  249. package/dist/components/organisms/Tables/utilities/tableIterable.utils.d.ts.map +1 -0
  250. package/dist/components/organisms/Tables/utilities/tableIterable.utils.js +21 -0
  251. package/dist/components/organisms/Tables/utilities/tableIterable.utils.js.map +1 -0
  252. package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.cjs +1 -1
  253. package/dist/components/organisms/Tables/utilities/tableSort.utils.cjs.map +1 -0
  254. package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.d.ts +1 -1
  255. package/dist/components/organisms/Tables/utilities/tableSort.utils.d.ts.map +1 -0
  256. package/dist/components/organisms/{Table → Tables}/utilities/tableSort.utils.js +1 -1
  257. package/dist/components/organisms/Tables/utilities/tableSort.utils.js.map +1 -0
  258. package/dist/hooks/useFocusAfterRetry/index.cjs +21 -19
  259. package/dist/hooks/useFocusAfterRetry/index.cjs.map +1 -1
  260. package/dist/hooks/useFocusAfterRetry/index.d.ts +15 -5
  261. package/dist/hooks/useFocusAfterRetry/index.d.ts.map +1 -1
  262. package/dist/hooks/useFocusAfterRetry/index.js +21 -19
  263. package/dist/hooks/useFocusAfterRetry/index.js.map +1 -1
  264. package/dist/hooks/useFocusHandOff/index.cjs +67 -0
  265. package/dist/hooks/useFocusHandOff/index.cjs.map +1 -0
  266. package/dist/hooks/useFocusHandOff/index.d.ts +17 -0
  267. package/dist/hooks/useFocusHandOff/index.d.ts.map +1 -0
  268. package/dist/hooks/useFocusHandOff/index.js +65 -0
  269. package/dist/hooks/useFocusHandOff/index.js.map +1 -0
  270. package/dist/hooks/useListQueryParams/index.cjs +238 -0
  271. package/dist/hooks/useListQueryParams/index.cjs.map +1 -0
  272. package/dist/hooks/useListQueryParams/index.d.ts +77 -0
  273. package/dist/hooks/useListQueryParams/index.d.ts.map +1 -0
  274. package/dist/hooks/useListQueryParams/index.js +236 -0
  275. package/dist/hooks/useListQueryParams/index.js.map +1 -0
  276. package/dist/hooks/useLoadState/index.cjs +69 -0
  277. package/dist/hooks/useLoadState/index.cjs.map +1 -0
  278. package/dist/hooks/useLoadState/index.d.ts +44 -0
  279. package/dist/hooks/useLoadState/index.d.ts.map +1 -0
  280. package/dist/hooks/useLoadState/index.js +67 -0
  281. package/dist/hooks/useLoadState/index.js.map +1 -0
  282. package/dist/hooks/usePagedList/index.cjs +61 -0
  283. package/dist/hooks/usePagedList/index.cjs.map +1 -0
  284. package/dist/hooks/usePagedList/index.d.ts +56 -0
  285. package/dist/hooks/usePagedList/index.d.ts.map +1 -0
  286. package/dist/hooks/usePagedList/index.js +59 -0
  287. package/dist/hooks/usePagedList/index.js.map +1 -0
  288. package/dist/native/components/atoms/LiveStatus/index.d.ts +12 -0
  289. package/dist/native/components/organisms/Tables/index.d.ts +12 -0
  290. package/dist/native/hooks/useFocusHandOff/index.d.ts +12 -0
  291. package/dist/native/hooks/useListQueryParams/index.d.ts +12 -0
  292. package/dist/native/hooks/useLoadState/index.d.ts +12 -0
  293. package/dist/native/hooks/usePagedList/index.d.ts +12 -0
  294. package/dist/native/utilities/listQueryUtils/index.d.ts +12 -0
  295. package/dist/styles.css +12 -0
  296. package/dist/{components/forms/Form/utilities → utilities/__internal__/focusUtils}/focusFromCode.utils.cjs +9 -0
  297. package/dist/utilities/__internal__/focusUtils/focusFromCode.utils.cjs.map +1 -0
  298. package/dist/{components/forms/Form/utilities → utilities/__internal__/focusUtils}/focusFromCode.utils.d.ts +8 -0
  299. package/dist/utilities/__internal__/focusUtils/focusFromCode.utils.d.ts.map +1 -0
  300. package/dist/{components/forms/Form/utilities → utilities/__internal__/focusUtils}/focusFromCode.utils.js +9 -1
  301. package/dist/utilities/__internal__/focusUtils/focusFromCode.utils.js.map +1 -0
  302. package/dist/utilities/__internal__/listStateUtils/listState.utils.cjs +47 -0
  303. package/dist/utilities/__internal__/listStateUtils/listState.utils.cjs.map +1 -0
  304. package/dist/utilities/__internal__/listStateUtils/listState.utils.d.ts +51 -0
  305. package/dist/utilities/__internal__/listStateUtils/listState.utils.d.ts.map +1 -0
  306. package/dist/utilities/__internal__/listStateUtils/listState.utils.js +43 -0
  307. package/dist/utilities/__internal__/listStateUtils/listState.utils.js.map +1 -0
  308. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.cjs +67 -0
  309. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.cjs.map +1 -0
  310. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.d.ts +27 -0
  311. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.d.ts.map +1 -0
  312. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.js +64 -0
  313. package/dist/utilities/__internal__/stableKeyUtils/stableKey.utils.js.map +1 -0
  314. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.cjs +28 -0
  315. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.cjs.map +1 -1
  316. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.d.ts +10 -0
  317. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.d.ts.map +1 -1
  318. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.js +28 -1
  319. package/dist/utilities/__internal__/webStorageUtils/webStorage.utils.js.map +1 -1
  320. package/dist/utilities/listQueryUtils/index.cjs +59 -0
  321. package/dist/utilities/listQueryUtils/index.cjs.map +1 -0
  322. package/dist/utilities/listQueryUtils/index.d.ts +46 -0
  323. package/dist/utilities/listQueryUtils/index.d.ts.map +1 -0
  324. package/dist/utilities/listQueryUtils/index.js +55 -0
  325. package/dist/utilities/listQueryUtils/index.js.map +1 -0
  326. package/dist/utilities/localStorageUtils/localStorageUtils.constants.cjs +2 -0
  327. package/dist/utilities/localStorageUtils/localStorageUtils.constants.cjs.map +1 -1
  328. package/dist/utilities/localStorageUtils/localStorageUtils.constants.d.ts +2 -0
  329. package/dist/utilities/localStorageUtils/localStorageUtils.constants.d.ts.map +1 -1
  330. package/dist/utilities/localStorageUtils/localStorageUtils.constants.js +2 -0
  331. package/dist/utilities/localStorageUtils/localStorageUtils.constants.js.map +1 -1
  332. package/package.json +9 -9
  333. package/dist/components/forms/Form/utilities/focusFromCode.utils.cjs.map +0 -1
  334. package/dist/components/forms/Form/utilities/focusFromCode.utils.d.ts.map +0 -1
  335. package/dist/components/forms/Form/utilities/focusFromCode.utils.js.map +0 -1
  336. package/dist/components/organisms/Table/components/TableCardList.cjs.map +0 -1
  337. package/dist/components/organisms/Table/components/TableCardList.d.ts.map +0 -1
  338. package/dist/components/organisms/Table/components/TableCardList.js.map +0 -1
  339. package/dist/components/organisms/Table/components/TableCardRow.cjs.map +0 -1
  340. package/dist/components/organisms/Table/components/TableCardRow.d.ts.map +0 -1
  341. package/dist/components/organisms/Table/components/TableCardRow.js.map +0 -1
  342. package/dist/components/organisms/Table/components/TableCardsSelectAll.cjs.map +0 -1
  343. package/dist/components/organisms/Table/components/TableCardsSelectAll.d.ts.map +0 -1
  344. package/dist/components/organisms/Table/components/TableCardsSelectAll.js.map +0 -1
  345. package/dist/components/organisms/Table/components/TableFallbackCard.cjs.map +0 -1
  346. package/dist/components/organisms/Table/components/TableFallbackCard.d.ts.map +0 -1
  347. package/dist/components/organisms/Table/components/TableFallbackCard.js.map +0 -1
  348. package/dist/components/organisms/Table/components/TableFocusGuard.cjs +0 -23
  349. package/dist/components/organisms/Table/components/TableFocusGuard.cjs.map +0 -1
  350. package/dist/components/organisms/Table/components/TableFocusGuard.d.ts +0 -2
  351. package/dist/components/organisms/Table/components/TableFocusGuard.d.ts.map +0 -1
  352. package/dist/components/organisms/Table/components/TableFocusGuard.js +0 -21
  353. package/dist/components/organisms/Table/components/TableFocusGuard.js.map +0 -1
  354. package/dist/components/organisms/Table/components/TableLayoutToggle.cjs +0 -27
  355. package/dist/components/organisms/Table/components/TableLayoutToggle.cjs.map +0 -1
  356. package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts +0 -17
  357. package/dist/components/organisms/Table/components/TableLayoutToggle.d.ts.map +0 -1
  358. package/dist/components/organisms/Table/components/TableLayoutToggle.js +0 -25
  359. package/dist/components/organisms/Table/components/TableLayoutToggle.js.map +0 -1
  360. package/dist/components/organisms/Table/components/TableRowCard.cjs.map +0 -1
  361. package/dist/components/organisms/Table/components/TableRowCard.d.ts.map +0 -1
  362. package/dist/components/organisms/Table/components/TableRowCard.js.map +0 -1
  363. package/dist/components/organisms/Table/components/TableSortIcon.cjs.map +0 -1
  364. package/dist/components/organisms/Table/components/TableSortIcon.d.ts.map +0 -1
  365. package/dist/components/organisms/Table/components/TableSortIcon.js.map +0 -1
  366. package/dist/components/organisms/Table/components/TableSortMenu.cjs.map +0 -1
  367. package/dist/components/organisms/Table/components/TableSortMenu.d.ts +0 -35
  368. package/dist/components/organisms/Table/components/TableSortMenu.d.ts.map +0 -1
  369. package/dist/components/organisms/Table/components/TableSortMenu.js.map +0 -1
  370. package/dist/components/organisms/Table/hooks/useFirstSortDirection.cjs.map +0 -1
  371. package/dist/components/organisms/Table/hooks/useFirstSortDirection.d.ts.map +0 -1
  372. package/dist/components/organisms/Table/hooks/useFirstSortDirection.js.map +0 -1
  373. package/dist/components/organisms/Table/hooks/useIsAtLeastMd.cjs.map +0 -1
  374. package/dist/components/organisms/Table/hooks/useIsAtLeastMd.d.ts.map +0 -1
  375. package/dist/components/organisms/Table/hooks/useIsAtLeastMd.js.map +0 -1
  376. package/dist/components/organisms/Table/hooks/usePlaceholderRows.cjs.map +0 -1
  377. package/dist/components/organisms/Table/hooks/usePlaceholderRows.d.ts.map +0 -1
  378. package/dist/components/organisms/Table/hooks/usePlaceholderRows.js.map +0 -1
  379. package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.cjs.map +0 -1
  380. package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.d.ts.map +0 -1
  381. package/dist/components/organisms/Table/hooks/useSelectableRowRegistry.js.map +0 -1
  382. package/dist/components/organisms/Table/hooks/useTableSelection.cjs.map +0 -1
  383. package/dist/components/organisms/Table/hooks/useTableSelection.d.ts.map +0 -1
  384. package/dist/components/organisms/Table/hooks/useTableSelection.js.map +0 -1
  385. package/dist/components/organisms/Table/providers/Table.context.cjs.map +0 -1
  386. package/dist/components/organisms/Table/providers/Table.context.d.ts.map +0 -1
  387. package/dist/components/organisms/Table/providers/Table.context.js.map +0 -1
  388. package/dist/components/organisms/Table/table.types.d.ts.map +0 -1
  389. package/dist/components/organisms/Table/utilities/tableCard.utils.cjs.map +0 -1
  390. package/dist/components/organisms/Table/utilities/tableCard.utils.d.ts.map +0 -1
  391. package/dist/components/organisms/Table/utilities/tableCard.utils.js.map +0 -1
  392. package/dist/components/organisms/Table/utilities/tableChildren.utils.cjs.map +0 -1
  393. package/dist/components/organisms/Table/utilities/tableChildren.utils.d.ts.map +0 -1
  394. package/dist/components/organisms/Table/utilities/tableChildren.utils.js.map +0 -1
  395. package/dist/components/organisms/Table/utilities/tableSelection.utils.cjs.map +0 -1
  396. package/dist/components/organisms/Table/utilities/tableSelection.utils.d.ts.map +0 -1
  397. package/dist/components/organisms/Table/utilities/tableSelection.utils.js.map +0 -1
  398. package/dist/components/organisms/Table/utilities/tableSort.utils.cjs.map +0 -1
  399. package/dist/components/organisms/Table/utilities/tableSort.utils.d.ts.map +0 -1
  400. package/dist/components/organisms/Table/utilities/tableSort.utils.js.map +0 -1
  401. /package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.cjs +0 -0
  402. /package/dist/components/organisms/{Table → Tables/Table}/components/TableFallbackCard.js +0 -0
  403. /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.cjs +0 -0
  404. /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.d.ts +0 -0
  405. /package/dist/components/organisms/{Table → Tables/Table}/components/TableSortIcon.js +0 -0
  406. /package/dist/components/organisms/{Table → Tables/Table}/hooks/useFirstSortDirection.d.ts +0 -0
  407. /package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.cjs +0 -0
  408. /package/dist/components/organisms/{Table → Tables/Table}/hooks/useSelectableRowRegistry.js +0 -0
  409. /package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.cjs +0 -0
  410. /package/dist/components/organisms/{Table → Tables/Table}/providers/Table.context.js +0 -0
  411. /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.cjs +0 -0
  412. /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.d.ts +0 -0
  413. /package/dist/components/organisms/{Table → Tables}/hooks/useIsAtLeastMd.js +0 -0
  414. /package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.cjs +0 -0
  415. /package/dist/components/organisms/{Table → Tables}/utilities/tableCard.utils.js +0 -0
@@ -0,0 +1,305 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var uiIcons = require('@flipdish/ui-icons');
5
+ var Badges = require('@flipdish/ui-library/components/atoms/Badges');
6
+ var Checkboxes = require('@flipdish/ui-library/components/atoms/Checkboxes');
7
+ var Skeleton = require('@flipdish/ui-library/components/atoms/Skeleton');
8
+ var Tooltip = require('@flipdish/ui-library/components/atoms/Tooltip');
9
+ var Dropdown = require('@flipdish/ui-library/components/molecules/Dropdown');
10
+ var cx = require('@flipdish/ui-library/utilities/cx');
11
+ var renderUtils = require('@flipdish/ui-library/utilities/renderUtils');
12
+ var testIdUtils = require('@flipdish/ui-library/utilities/testIdUtils');
13
+ var utils = require('@react-aria/utils');
14
+ var React = require('react');
15
+ var reactAriaComponents = require('react-aria-components');
16
+ var log_utils = require('../../../../utilities/__internal__/logUtils/log.utils.cjs');
17
+ var useIsAtLeastMd = require('../hooks/useIsAtLeastMd.cjs');
18
+ var useStoredTableLayout = require('../hooks/useStoredTableLayout.cjs');
19
+ var tableCard_utils = require('../utilities/tableCard.utils.cjs');
20
+ var tableChildren_utils = require('../utilities/tableChildren.utils.cjs');
21
+ var tableIterable_utils = require('../utilities/tableIterable.utils.cjs');
22
+ var tableSort_utils = require('../utilities/tableSort.utils.cjs');
23
+ var TableCardList = require('./components/TableCardList.cjs');
24
+ var TableCardRow = require('./components/TableCardRow.cjs');
25
+ var TableCardsSelectAll = require('./components/TableCardsSelectAll.cjs');
26
+ var TableEmptyState = require('./components/TableEmptyState.cjs');
27
+ var TableRowCard = require('./components/TableRowCard.cjs');
28
+ var TableSortIcon = require('./components/TableSortIcon.cjs');
29
+ var useBusyCount = require('./hooks/useBusyCount.cjs');
30
+ var useFirstSortDirection = require('./hooks/useFirstSortDirection.cjs');
31
+ var useIsPlaceholderPage = require('./hooks/useIsPlaceholderPage.cjs');
32
+ var usePlaceholderRows = require('./hooks/usePlaceholderRows.cjs');
33
+ var useSelectableRowRegistry = require('./hooks/useSelectableRowRegistry.cjs');
34
+ var useTableFocusHandOff = require('./hooks/useTableFocusHandOff.cjs');
35
+ var useTableSelection = require('./hooks/useTableSelection.cjs');
36
+ var Table_context = require('./providers/Table.context.cjs');
37
+ var Table_styles = require('./Table.styles.cjs');
38
+ var tableLoading_utils = require('./utilities/tableLoading.utils.cjs');
39
+
40
+ /** Row actions menu behind a dots button with fixed Edit, Copy link and Delete items, for use in a table's last column. */
41
+ const TableRowActionsDropdown = () => (jsxRuntime.jsxs(Dropdown.Dropdown.Root, { children: [jsxRuntime.jsx(Dropdown.Dropdown.DotsButton, { color: "tertiary" }), jsxRuntime.jsx(Dropdown.Dropdown.Popover, { className: "w-min", children: jsxRuntime.jsxs(Dropdown.Dropdown.Menu, { children: [jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Edit01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Edit" }) }), jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Copy01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Copy link" }) }), jsxRuntime.jsx(Dropdown.Dropdown.Item, { icon: uiIcons.Trash01, children: jsxRuntime.jsx("span", { className: "pr-4", children: "Delete" }) })] }) })] }));
42
+ /** Bordered card around a `Table` and its optional `Pagination`; sets the `size` every child inherits, has no surface while its table shows cards, and is `aria-busy` while it loads. */
43
+ const TableCardRoot = ({ children, className, size = 'md', 'aria-busy': ariaBusy, ...props }) => {
44
+ const [layout, setLayout] = React.useState('table');
45
+ const busy = useBusyCount.useBusyCount();
46
+ return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: { layout, setLayout, registerBusy: busy.registerBusy }, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: { size }, children: jsxRuntime.jsx("div", { ...props, "aria-busy": busy.isBusy || ariaBusy, "data-pagination-scroll-target": "", "data-table-layout": layout, className: cx.cx(layout === 'cards' ? 'flex flex-col gap-4' : 'overflow-hidden rounded-xl bg-primary shadow-xs ring-1 ring-secondary', className), children: children }) }) }));
47
+ };
48
+ /** Titled header for a table embedded in a dashboard or panel; page-level tables use `PageHeader` instead. */
49
+ const TableCardHeader = ({ title, badge, description, contentTrailing, className }) => {
50
+ const { size } = React.useContext(Table_context.TableContext);
51
+ const { layout } = React.useContext(Table_context.TableCardLayoutContext);
52
+ const renderBadge = () => {
53
+ if (!badge)
54
+ return null;
55
+ if (React.isValidElement(badge))
56
+ return badge;
57
+ return (jsxRuntime.jsx(Badges.Badge, { color: "gray", size: "sm", type: "modern", children: badge }));
58
+ };
59
+ return (jsxRuntime.jsxs("div", { className: cx.cx('relative flex flex-col items-start gap-4 md:flex-row',
60
+ // Above cards the header is a plain heading row: the card it would divide from has no surface.
61
+ layout !== 'cards' && 'border-b border-secondary bg-primary px-4', layout !== 'cards' && (size === 'sm' ? 'py-4 md:px-5' : 'py-5 md:px-6'), className), children: [jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col gap-0.5", children: [jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [jsxRuntime.jsx("h2", { className: "text-md font-semibold text-primary", children: title }), renderBadge()] }), description && jsxRuntime.jsx("p", { className: "text-sm text-tertiary", children: description })] }), contentTrailing] }));
62
+ };
63
+ // What a table's descendants see in place of its `TableCard.Root`: one nested in a row card or a cell has no card of its own to report to.
64
+ const DETACHED_CARD_LAYOUT = { layout: 'table' };
65
+ // The element types match react-aria's: inside a `Virtualizer` the table, its header, rows and cells render as `div`s.
66
+ const TableRoot = React.forwardRef(({ className, style, children, mobileLayout = 'cards', desktopLayout: desktopLayoutProp, layoutKey, size: sizeProp, selectedKey, selectedKeys, defaultSelectedKeys, onSelectionChange, onSelectedKeyChange, onSelectedKeysChange, onSortChange, defaultSortDescriptor, isLoading = false, loadingRowCount = 5, loadingRow, 'data-testid': dataTestId, ...props }, ref) => {
67
+ // Re-providing the context would otherwise reset a card-level `size` back to `md`.
68
+ const inherited = React.useContext(Table_context.TableContext);
69
+ const { setLayout, registerBusy } = React.useContext(Table_context.TableCardLayoutContext);
70
+ const size = sizeProp ?? inherited.size;
71
+ const rootTestId = testIdUtils.useResolvedTestId({ testId: dataTestId, segment: 'table', rootName: 'table' });
72
+ const registry = useSelectableRowRegistry.useSelectableRowRegistry();
73
+ const placeholders = usePlaceholderRows.usePlaceholderRows(props.onRowAction);
74
+ // Read by the table and by react-aria alike, so a one-shot iterator is read once and every reader gets the same keys.
75
+ const disabledKeys = tableIterable_utils.reusableIterableOf(props.disabledKeys);
76
+ const isPlaceholderPage = useIsPlaceholderPage.useIsPlaceholderPage(isLoading, registry, placeholders.registry, disabledKeys);
77
+ // One per table, so a press in its empty state hands focus to its own rows and titles, never another table's.
78
+ const focusHandOff = useTableFocusHandOff.useTableFocusHandOff();
79
+ // Held here, above the layout switch: the table and the card list are different trees, and crossing `md` remounts the rows.
80
+ const selection = useTableSelection.useTableSelection({
81
+ selectedKey,
82
+ selectedKeys,
83
+ defaultSelectedKeys,
84
+ disabledKeys,
85
+ rowIds: registry.rowIds,
86
+ isPlaceholderPage,
87
+ onSelectionChange,
88
+ onSelectedKeyChange,
89
+ onSelectedKeysChange,
90
+ });
91
+ const isAtLeastMd = useIsAtLeastMd.useIsAtLeastMd();
92
+ const desktopLayout = useStoredTableLayout.useStoredTableLayout(layoutKey, desktopLayoutProp);
93
+ // A `Virtualizer` hands its table layout to any collection inside it, and that layout cannot place cards.
94
+ const { isVirtualized } = React.useContext(reactAriaComponents.CollectionRendererContext);
95
+ const layout = tableCard_utils.tableLayoutOf(isAtLeastMd, mobileLayout, desktopLayout, isVirtualized);
96
+ // Before paint, so a `TableCard.Root` around cards never shows a frame of its surface.
97
+ React.useLayoutEffect(() => {
98
+ setLayout?.(layout);
99
+ return () => setLayout?.('table');
100
+ }, [layout, setLayout]);
101
+ React.useLayoutEffect(() => (isLoading ? registerBusy?.() : undefined), [isLoading, registerBusy]);
102
+ // With no card to report to, as alone or nested in a row card, the table marks itself busy.
103
+ const isOwnBusy = isLoading && registerBusy === undefined;
104
+ // Only the cards and the loading rows need the columns, and a column render function runs on every read.
105
+ const header = isLoading || layout === 'cards' ? tableChildren_utils.findElement(children, TableHeader) : undefined;
106
+ const columns = header ? tableChildren_utils.columnsOfHeader(header.props.children, header.props.columns) : [];
107
+ const loadingParts = isLoading ? tableLoading_utils.loadingRowPartsOf(loadingRow, columns, LOADING_ROW_DEFAULTS) : undefined;
108
+ const isMissingLoadingCells = loadingParts !== undefined && !tableLoading_utils.canDrawLoadingRows(layout, loadingParts.cells.length);
109
+ React.useEffect(() => {
110
+ if (!isMissingLoadingCells || renderUtils.isProductionBuild())
111
+ return;
112
+ log_utils.warnOnce('Table:loading-no-columns', 'Table: `isLoading` found no columns to give its loading rows cells, so the table shows none: `Table` reads columns only from a `Table.Header` among its direct children. Render `Table.Header` directly inside `Table`, or pass `loadingRow` with a `Table.Cell` per column.');
113
+ }, [isMissingLoadingCells]);
114
+ // react-aria only toggles a sorted column; the press that would toggle it back to its first direction clears it instead.
115
+ const firstSortDirection = useFirstSortDirection.useFirstSortDirection(props.sortDescriptor, defaultSortDescriptor);
116
+ const handleSortChange = onSortChange &&
117
+ ((next) => onSortChange(tableSort_utils.sortStepOf(props.sortDescriptor, next, firstSortDirection) === 'clear' ? defaultSortDescriptor : next));
118
+ // A row cannot see the table-level `onRowAction`, so the context carries whether one exists.
119
+ const context = {
120
+ size,
121
+ layout,
122
+ testIdPrefix: rootTestId,
123
+ hasRowAction: props.onRowAction !== undefined,
124
+ registerRow: registry.register,
125
+ isPlaceholderPage,
126
+ registerPlaceholder: placeholders.register,
127
+ // React-aria throws on a table row with no cells, so with none to give the table draws no loading rows; see the warning.
128
+ loadingRows: loadingParts && renderLoadingRows(isMissingLoadingCells ? 0 : loadingRowCount, loadingParts),
129
+ focusHandOff,
130
+ };
131
+ if (layout === 'cards') {
132
+ const { selectionMode = 'none', selectionBehavior = 'toggle' } = props;
133
+ // Cards have no column headers to sort from, and dragging is untested on them; react-aria filters the rest as it does for the table.
134
+ const { dragAndDropHooks, sortDescriptor, onRowAction, render: _tableRender, ...sharedProps } = props;
135
+ const listProps = {
136
+ ...tableCard_utils.cardListPropsOf(sharedProps),
137
+ disabledKeys,
138
+ selectedKeys: selection.selectedKeys,
139
+ onSelectionChange: selection.onSelectionChange,
140
+ onAction: placeholders.onAction,
141
+ // From `md` the cards sit in columns, so the arrow keys move across them as well as down.
142
+ layout: isAtLeastMd ? 'grid' : 'stack',
143
+ 'data-testid': testIdUtils.joinTestId(rootTestId, 'list'),
144
+ };
145
+ const cardContext = { ...context, columns, listProps };
146
+ return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsxRuntime.jsx(Table_context.TableRowCardContext.Provider, { value: null, children: jsxRuntime.jsx(Table_context.TableRowCardSurfaceContext.Provider, { value: false, children: jsxRuntime.jsx(Table_context.TableRowCardHeaderCheckboxContext.Provider, { value: false, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: cardContext, children: jsxRuntime.jsxs("div", { ref: ref, "data-testid": rootTestId, "aria-busy": isOwnBusy || undefined, className: "@container flex flex-col gap-4", children: [selectionMode === 'multiple' && selectionBehavior === 'toggle' && (jsxRuntime.jsx(TableCardsSelectAll.TableCardsSelectAll, { registry: registry, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, disabledKeys: disabledKeys, isPlaceholderPage: isPlaceholderPage, disallowEmptySelection: props.disallowEmptySelection, "data-testid": testIdUtils.joinTestId(rootTestId, 'select-all') })), children] }) }) }) }) }) }));
147
+ }
148
+ return (jsxRuntime.jsx(Table_context.TableCardLayoutContext.Provider, { value: DETACHED_CARD_LAYOUT, children: jsxRuntime.jsx(Table_context.TableContext.Provider, { value: context, children: jsxRuntime.jsx("div", { className: "overflow-x-auto", "aria-busy": isOwnBusy || undefined, children: jsxRuntime.jsx(reactAriaComponents.Table, { "data-testid": rootTestId, className: (state) => cx.cx('w-full overflow-x-hidden', typeof className === 'function' ? className(state) : className), style: style, ...props, ref: ref, disabledKeys: disabledKeys, selectedKeys: selection.selectedKeys, onSelectionChange: selection.onSelectionChange, onSortChange: handleSortChange, onRowAction: placeholders.onAction, children: children }) }) }) }));
149
+ });
150
+ TableRoot.displayName = 'Table';
151
+ // On a page of placeholders, as while loading, react-aria's own select all stays on and would store `'all'` for the rows that load next.
152
+ const NO_ROW_TO_SELECT = { isDisabled: true, isSelected: false, isIndeterminate: false };
153
+ const TableGridHeaderBase = ({ columns, children, bordered = true, className, size: sizeProp, ...props }, ref) => {
154
+ const context = React.useContext(Table_context.TableContext);
155
+ const { selectionBehavior, selectionMode } = reactAriaComponents.useTableOptions();
156
+ const size = sizeProp ?? context.size;
157
+ return (jsxRuntime.jsxs(reactAriaComponents.TableHeader, { ...props, ref: ref, className: (state) => cx.cx('relative bg-secondary', size === 'sm' ? 'h-9' : 'h-11',
158
+ // Row border—using an "after" pseudo-element to avoid the border taking up space.
159
+ bordered &&
160
+ '[&>tr>th]:after:pointer-events-none [&>tr>th]:after:absolute [&>tr>th]:after:inset-x-0 [&>tr>th]:after:bottom-0 [&>tr>th]:after:h-px [&>tr>th]:after:bg-border-secondary [&>tr>th]:focus-visible:after:bg-transparent', typeof className === 'function' ? className(state) : className), children: [selectionBehavior === 'toggle' && (jsxRuntime.jsx(reactAriaComponents.Column, { className: cx.cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'w-9 md:pl-5' : 'w-11 md:pl-6'), children: selectionMode === 'multiple' && (jsxRuntime.jsx("div", { className: "flex items-start", children: jsxRuntime.jsx(Checkboxes.Checkbox, { slot: "selection", size: "md", ...(context.isPlaceholderPage ? NO_ROW_TO_SELECT : {}) }) })) })), jsxRuntime.jsx(reactAriaComponents.Collection, { items: tableIterable_utils.reusableIterableOf(columns), children: children })] }));
161
+ };
162
+ // `forwardRef` drops the type parameter that ties `columns` to the item a render function gets; the cast restores it.
163
+ const TableGridHeader = React.forwardRef(TableGridHeaderBase);
164
+ // Cards have no header row: the fallback card reads the columns from this element's props, and no sort control renders.
165
+ const TableHeaderBase = (props, ref) => {
166
+ const { layout } = React.useContext(Table_context.TableContext);
167
+ return layout === 'cards' ? null : jsxRuntime.jsx(TableGridHeader, { ...props, ref: ref });
168
+ };
169
+ /** The row of column headers: one `Table.Head` per column, and select all with multiple selection; nothing in the cards layout. */
170
+ const TableHeader = React.forwardRef(TableHeaderBase);
171
+ TableHeader.displayName = 'TableHeader';
172
+ /** One column header, with an optional `label`, help `tooltip` and sort arrow; its `id` keys the column. */
173
+ const TableHead = ({ className, tooltip, label, children, 'data-testid': dataTestId, ...props }) => {
174
+ const { selectionBehavior } = reactAriaComponents.useTableOptions();
175
+ const { testIdPrefix } = React.useContext(Table_context.TableContext);
176
+ const colTestId = dataTestId ?? (testIdPrefix && props.id !== undefined ? testIdUtils.joinTestId(testIdPrefix, `col-${testIdUtils.slugifyTestId(String(props.id))}`) : undefined);
177
+ return (jsxRuntime.jsx(reactAriaComponents.Column, { ...props, "data-testid": colTestId, className: (state) => cx.cx('relative p-0 px-6 py-2 outline-hidden focus-visible:z-1 focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-bg-primary focus-visible:ring-inset', selectionBehavior === 'toggle' && 'nth-2:pl-3', state.allowsSorting && 'cursor-pointer', typeof className === 'function' ? className(state) : className), children: (state) => (jsxRuntime.jsxs(reactAriaComponents.Group, { className: "flex items-center gap-1", children: [jsxRuntime.jsxs("div", { className: "flex items-center gap-1", children: [label && jsxRuntime.jsx("span", { className: "text-xs font-semibold whitespace-nowrap text-quaternary", children: label }), typeof children === 'function' ? children(state) : children] }), tooltip && (jsxRuntime.jsx(Tooltip.Tooltip, { title: tooltip, placement: "top", children: jsxRuntime.jsx(Tooltip.TooltipTrigger, { "aria-label": tooltip, className: "cursor-pointer text-fg-quaternary transition duration-100 ease-linear hover:text-fg-quaternary_hover focus:text-fg-quaternary_hover", children: jsxRuntime.jsx(uiIcons.HelpCircle, { className: "size-4" }) }) })), state.allowsSorting && jsxRuntime.jsx(TableSortIcon.TableSortIcon, { sortDirection: state.sortDirection })] })) }));
178
+ };
179
+ TableHead.displayName = 'TableHead';
180
+ // The selected row: a brand tint (`_alt`, as `bg-brand-primary` is solid brand-500 in dark) and a 4px brand bar on its first cell.
181
+ const HIGHLIGHTED_ROW_CLASSNAME = "bg-brand-primary_alt hover:bg-brand-primary_alt [&>td:first-child]:before:absolute [&>td:first-child]:before:inset-y-0 [&>td:first-child]:before:left-0 [&>td:first-child]:before:w-1 [&>td:first-child]:before:bg-brand-solid [&>td:first-child]:before:content-['']";
182
+ const TableGridRowBase = ({ columns, children, className, highlightSelectedRow = true, isHighlighted = false, color, size: sizeProp, 'data-testid': dataTestId, ...props }, ref) => {
183
+ const context = React.useContext(Table_context.TableContext);
184
+ const { selectionBehavior, selectionMode } = reactAriaComponents.useTableOptions();
185
+ const size = sizeProp ?? context.size;
186
+ const rowTestId = tableCard_utils.rowTestIdOf(context.testIdPrefix, props.id, dataTestId);
187
+ // Function children render their own cells, and a skeleton only counts as a direct child, so only nodes are split.
188
+ const rowChildren = typeof children === 'function' ? undefined : tableChildren_utils.splitRowChildren(children, columns, TableRowCard.isRowCardElement);
189
+ // A row carrying `Table.RowCard.Skeleton` is a placeholder here too: nothing to press, select or count in select all.
190
+ const isPlaceholder = rowChildren?.card?.type === TableRowCard.TableRowCardSkeleton;
191
+ // A click does something on the row itself: its own action or link, the table's row action, or selection by row.
192
+ const isInteractive = !isPlaceholder && (props.onAction !== undefined || props.href !== undefined || context.hasRowAction === true || selectionMode !== 'none');
193
+ const { id, isDisabled } = props;
194
+ useSelectableRowRegistry.useRegisterSelectableRow(context.registerRow, id, isDisabled || isPlaceholder);
195
+ usePlaceholderRows.useRegisterPlaceholderRow(context.registerPlaceholder, id, isPlaceholder);
196
+ // A placeholder is no place to land focus; the merge is kept from render to render, so a row on screen never spends a hand-off.
197
+ const focusTargetRef = isPlaceholder ? undefined : context.focusHandOff?.rowRef;
198
+ const rowRef = React.useMemo(() => (focusTargetRef ? utils.mergeRefs(ref, focusTargetRef) : ref), [ref, focusTargetRef]);
199
+ return (jsxRuntime.jsxs(reactAriaComponents.Row, { ...props, ref: rowRef, isDisabled: isDisabled || isPlaceholder, onAction: isPlaceholder ? undefined : props.onAction, href: isPlaceholder ? undefined : props.href, "data-testid": rowTestId, "data-highlighted": isHighlighted || undefined, className: (state) => cx.cx('relative outline-focus-ring transition-colors after:pointer-events-none hover:bg-secondary focus-visible:outline-2 focus-visible:-outline-offset-2', size === 'sm' ? 'h-14' : 'h-18',
200
+ // Before the highlight, which replaces it; hover keeps its neutral surface over it.
201
+ color && !isPlaceholder && Table_styles.styles.rowColors[color], ((highlightSelectedRow && state.isSelected) || isHighlighted) && HIGHLIGHTED_ROW_CLASSNAME, isInteractive && (state.isDisabled ? 'cursor-default' : 'cursor-pointer'),
202
+ // Row border—using an "after" pseudo-element to avoid the border taking up space.
203
+ '[&>td]:after:absolute [&>td]:after:inset-x-0 [&>td]:after:bottom-0 [&>td]:after:h-px [&>td]:after:w-full [&>td]:after:bg-border-secondary last:[&>td]:after:hidden [&>td]:focus-visible:after:opacity-0 focus-visible:[&>td]:after:opacity-0', typeof className === 'function' ? className(state) : className), children: [selectionBehavior === 'toggle' && (jsxRuntime.jsx(reactAriaComponents.Cell, { className: cx.cx('relative py-2 pr-0 pl-4', size === 'sm' ? 'md:pl-5' : 'md:pl-6'), children: jsxRuntime.jsx("div", { className: "flex items-end", children: jsxRuntime.jsx(Checkboxes.Checkbox, { slot: "selection", size: "md", "data-testid": rowTestId ? testIdUtils.joinTestId(rowTestId, 'selection') : undefined }) }) })), jsxRuntime.jsx(reactAriaComponents.Collection, { items: tableIterable_utils.reusableIterableOf(columns), children: rowChildren ? rowChildren.cells : children })] }));
204
+ };
205
+ // As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
206
+ const TableGridRow = React.forwardRef(TableGridRowBase);
207
+ // The row reads its layout from the table, which asks the viewport once for every row.
208
+ const TableRowBase = (props, ref) => {
209
+ const { layout } = React.useContext(Table_context.TableContext);
210
+ return layout === 'cards' ? jsxRuntime.jsx(TableCardRow.TableCardRow, { ...props, ref: ref }) : jsxRuntime.jsx(TableGridRow, { ...props, ref: ref });
211
+ };
212
+ /** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
213
+ const TableRow = React.forwardRef(TableRowBase);
214
+ TableRow.displayName = 'TableRow';
215
+ const TableGridCell = React.forwardRef(({ className, children, size: sizeProp, ...props }, ref) => {
216
+ const context = React.useContext(Table_context.TableContext);
217
+ const { selectionBehavior } = reactAriaComponents.useTableOptions();
218
+ const size = sizeProp ?? context.size;
219
+ return (jsxRuntime.jsx(reactAriaComponents.Cell, { ...props, ref: ref, className: (state) => cx.cx('relative text-sm text-tertiary outline-focus-ring focus-visible:z-1 focus-visible:outline-2 focus-visible:-outline-offset-2', size === 'sm' && 'px-5 py-3', size === 'md' && 'px-6 py-4', selectionBehavior === 'toggle' && 'nth-2:pl-3', typeof className === 'function' ? className(state) : className), children: children }));
220
+ });
221
+ // Every state off: a card is not a grid of cells, so nothing in it is a focused, hovered or selected cell.
222
+ const CARD_CELL_STATE = {
223
+ isPressed: false,
224
+ isFocused: false,
225
+ isFocusVisible: false,
226
+ isHovered: false,
227
+ isSelected: false,
228
+ isDisabled: false,
229
+ isFocusVisibleWithinRow: false,
230
+ isTreeColumn: false,
231
+ isExpanded: false,
232
+ hasChildItems: false,
233
+ level: 1,
234
+ defaultChildren: undefined,
235
+ };
236
+ // In a card a cell is its content: its padding, `className` and span are written for the table.
237
+ const TableCardCell = ({ children, className, style, colSpan, size, textValue, id, render: _tableCellRender, ...props }) => {
238
+ const content = typeof children === 'function' ? children(CARD_CELL_STATE) : children;
239
+ // What react-aria puts on the table's cell, such as `onClick` and `data-testid`; a click bubbles on to the card's row as to the table's.
240
+ const cellProps = tableCard_utils.cardCellPropsOf(props);
241
+ if (Object.keys(cellProps).length === 0)
242
+ return content;
243
+ return (jsxRuntime.jsx("div", { className: "contents", ...cellProps, children: content }));
244
+ };
245
+ /** One cell of a row; in the cards layout only the fallback card shows it: its content, with its `data-*` and handlers. */
246
+ const TableCell = React.forwardRef((props, ref) => {
247
+ const { layout } = React.useContext(Table_context.TableContext);
248
+ return layout === 'cards' ? jsxRuntime.jsx(TableCardCell, { ...props }) : jsxRuntime.jsx(TableGridCell, { ...props, ref: ref });
249
+ });
250
+ TableCell.displayName = 'TableCell';
251
+ // What a loading row draws for a part its `loadingRow` leaves out: a bar of about a line of text, which fits both sizes.
252
+ const LOADING_ROW_DEFAULTS = {
253
+ isCard: TableRowCard.isRowCardElement,
254
+ isSkeletonCard: (element) => element.type === TableRowCard.TableRowCardSkeleton,
255
+ // As wide as its column up to 96px, so a narrow column such as a row's actions stays narrow. The row-header cell names
256
+ // the row "Loading", as a loading card is named, so it is no empty `rowheader`.
257
+ cellOf: (column, isRowHeader) => (jsxRuntime.jsxs(TableCell, { children: [jsxRuntime.jsx(Skeleton.Skeleton, { width: "100%", height: 14, radius: "sm", className: "max-w-24" }), isRowHeader && jsxRuntime.jsx("span", { className: "sr-only", children: "Loading" })] }, column)),
258
+ card: jsxRuntime.jsx(TableRowCard.TableRowCardSkeleton, {}),
259
+ };
260
+ // Placeholders in both layouts, as a row carrying `Table.RowCard.Skeleton` is: nothing to press, select or count in select all.
261
+ const renderLoadingRows = (count, { cells, card }) => tableLoading_utils.loadingRowIdsOf(count).map((id) => (jsxRuntime.jsxs(TableRow, { id: id, children: [cells, card] }, id)));
262
+ const TableBodyBase = (props, ref) => {
263
+ const { layout, loadingRows } = React.useContext(Table_context.TableContext);
264
+ // A one-shot `items` is read once, so the card list still gets the rows after the table had them, as crossing `md` does.
265
+ const bodyProps = tableLoading_utils.loadingBodyPropsOf({ ...props, items: tableIterable_utils.reusableIterableOf(props.items) }, loadingRows);
266
+ const { renderEmptyState } = bodyProps;
267
+ // A press on a control in the empty state hands focus to what replaces it: the first row to mount, or the next title.
268
+ const emptyStateProps = renderEmptyState && {
269
+ renderEmptyState: (state) => jsxRuntime.jsx(TableEmptyState.TableEmptyState, { children: renderEmptyState(state) }),
270
+ };
271
+ return layout === 'cards' ? (jsxRuntime.jsx(TableCardList.TableCardList, { ...bodyProps, ...emptyStateProps, ref: ref })) : (jsxRuntime.jsx(reactAriaComponents.TableBody, { ...bodyProps, ...emptyStateProps, ref: ref }));
272
+ };
273
+ // As for `TableHeader`: the cast restores the type parameter `forwardRef` drops.
274
+ /** The table's rows, with `renderEmptyState` for when there are none; while the table `isLoading`, its loading rows instead; in the cards layout, the one `grid` that holds every card. */
275
+ const TableBody = React.forwardRef(TableBodyBase);
276
+ TableBody.displayName = 'TableBody';
277
+ const TableCard = {
278
+ Root: TableCardRoot,
279
+ Header: TableCardHeader,
280
+ };
281
+ /** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
282
+ const TableRowCardCompound = TableRowCard.TableRowCard;
283
+ TableRowCardCompound.Header = TableRowCard.TableRowCardHeader;
284
+ TableRowCardCompound.Content = TableRowCard.TableRowCardContent;
285
+ TableRowCardCompound.Footer = TableRowCard.TableRowCardFooter;
286
+ TableRowCardCompound.Skeleton = TableRowCard.TableRowCardSkeleton;
287
+ /**
288
+ * Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
289
+ * below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
290
+ * `PageHeader` and search or filters from a `FilterBar` above the card.
291
+ *
292
+ * @summary data table with selection, sorting and cards on mobile
293
+ */
294
+ const Table = TableRoot;
295
+ Table.Body = TableBody;
296
+ Table.RowCard = TableRowCardCompound;
297
+ Table.Cell = TableCell;
298
+ Table.Head = TableHead;
299
+ Table.Header = TableHeader;
300
+ Table.Row = TableRow;
301
+
302
+ exports.Table = Table;
303
+ exports.TableCard = TableCard;
304
+ exports.TableRowActionsDropdown = TableRowActionsDropdown;
305
+ //# sourceMappingURL=Table.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.cjs","sources":["../../../../../src/components/organisms/Tables/Table/Table.tsx"],"sourcesContent":[null],"names":["_jsxs","Dropdown","_jsx","Edit01","Copy01","Trash01","useState","useBusyCount","TableCardLayoutContext","TableContext","cx","useContext","isValidElement","Badge","forwardRef","useResolvedTestId","useSelectableRowRegistry","usePlaceholderRows","reusableIterableOf","useIsPlaceholderPage","useTableFocusHandOff","useTableSelection","useIsAtLeastMd","useStoredTableLayout","AriaCollectionRendererContext","tableLayoutOf","useLayoutEffect","findElement","columnsOfHeader","loadingRowPartsOf","canDrawLoadingRows","useEffect","isProductionBuild","warnOnce","useFirstSortDirection","sortStepOf","cardListPropsOf","joinTestId","TableRowCardContext","TableRowCardSurfaceContext","TableRowCardHeaderCheckboxContext","TableCardsSelectAll","AriaTable","useTableOptions","AriaTableHeader","AriaColumn","Checkbox","AriaCollection","slugifyTestId","AriaGroup","Tooltip","TooltipTrigger","HelpCircle","TableSortIcon","rowTestIdOf","splitRowChildren","isRowCardElement","TableRowCardSkeleton","useRegisterSelectableRow","useRegisterPlaceholderRow","useMemo","mergeRefs","AriaRow","styles","AriaCell","TableCardRow","cardCellPropsOf","Skeleton","loadingRowIdsOf","loadingBodyPropsOf","TableEmptyState","TableCardList","AriaTableBody","TableRowCard","TableRowCardHeader","TableRowCardContent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AgB,IAAI;AAC1C,QAAA,gBAAgB,EAAE,CAAC,KAA2B,KAAKhB,cAAA,CAACoE,+BAAe,EAAA,EAAA,QAAA,EAAE,gBAAgB,CAAC,KAAK,CAAC,EAAA,CAAmB;KAChH;AACD,IAAA,OAAO,MAAM,KAAK,OAAO,IACvBpE,cAAA,CAACqE,2BAAa,OAAK,SAAS,EAAA,GAAM,eAAe,EAAE,GAAG,EAAE,GAA0B,EAAA,CAAI,KAEtFrE,cAAA,CAACsE,6BAAa,EAAA,EAAA,GAAK,SAAS,EAAA,GAAM,eAAe,EAAE,GAAG,EAAE,GAAmC,EAAA,CAAI,CAChG;AACH,CAAC;AAED;AACA;AACA,MAAM,SAAS,GAAG1D,gBAAU,CAAC,aAAa,CAEG;AAC7C,SAAS,CAAC,WAAW,GAAG,WAAW;AAEnC,MAAM,SAAS,GAAG;AAChB,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,eAAe;;AAGzB;AACA,MAAM,oBAAoB,GAAG2D,yBAK5B;AACD,oBAAoB,CAAC,MAAM,GAAGC,+BAAkB;AAChD,oBAAoB,CAAC,OAAO,GAAGC,gCAAmB;AAClD,oBAAoB,CAAC,MAAM,GAAGC,+BAAkB;AAChD,oBAAoB,CAAC,QAAQ,GAAGnB,iCAAoB;AAEpD;;;;;;AAMG;AACH,MAAM,KAAK,GAAG;AAQd,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,OAAO,GAAG,oBAAoB;AACpC,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,IAAI,GAAG,SAAS;AACtB,KAAK,CAAC,MAAM,GAAG,WAAW;AAC1B,KAAK,CAAC,GAAG,GAAG,QAAQ;;;;"}
@@ -0,0 +1,146 @@
1
+ import type { ComponentPropsWithoutRef, HTMLAttributes, ReactElement, ReactNode, RefAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
2
+ import type { CellProps as AriaCellProps, ColumnProps as AriaColumnProps, TableHeaderProps as AriaTableHeaderProps, TableProps as AriaTableProps, Key, SortDescriptor } from 'react-aria-components';
3
+ import type { TableBodyProps, TableLayout, TableRowProps } from '../tables.types';
4
+ import { TableRowCard, TableRowCardContent, TableRowCardFooter, TableRowCardHeader, TableRowCardSkeleton } from './components/TableRowCard';
5
+ /** Row actions menu behind a dots button with fixed Edit, Copy link and Delete items, for use in a table's last column. */
6
+ export declare const TableRowActionsDropdown: () => import("react").JSX.Element;
7
+ interface TableCardHeaderProps {
8
+ /** The title of the table card header. */
9
+ title: string;
10
+ /** The badge displayed next to the title. */
11
+ badge?: ReactNode;
12
+ /** The description of the table card header. */
13
+ description?: string;
14
+ /** The content displayed after the title and badge. */
15
+ contentTrailing?: ReactNode;
16
+ /** The class name of the table card header. */
17
+ className?: string;
18
+ }
19
+ interface TableRootProps extends Omit<AriaTableProps, 'onSortChange'>, Omit<ComponentPropsWithoutRef<'table'>, 'className' | 'slot' | 'style'> {
20
+ /** Row height and cell padding for every header, row and cell, unless one sets its own `size`. Inherits from `TableCard.Root`; `md` otherwise. */
21
+ size?: 'sm' | 'md';
22
+ /** With `selectionMode="single"`: the selected row's id, or `null` for none. Use instead of `selectedKeys`, not with it. */
23
+ selectedKey?: Key | null;
24
+ /** With `selectionMode="single"`: called with the selected row's id, or `null` when a second click clears it. */
25
+ onSelectedKeyChange?: (key: Key | null) => void;
26
+ /** With `selectionMode="multiple"`: called with the selected rows' ids; "select all" reports every selectable row, never `'all'`. */
27
+ onSelectedKeysChange?: (keys: Key[]) => void;
28
+ /** What renders below `md`: one card per row, or the table, which then scrolls sideways inside its card. */
29
+ mobileLayout?: TableLayout;
30
+ /**
31
+ * What renders from `md` up: the table, or its cards laid out in columns. Unset, the layout chosen for `layoutKey`, or the table.
32
+ *
33
+ * @default 'table'
34
+ */
35
+ desktopLayout?: TableLayout;
36
+ /** Shows from `md` up the layout chosen on a `TableLayoutToggle` with the same key, remembered across visits; `desktopLayout` wins. */
37
+ layoutKey?: string;
38
+ /**
39
+ * Called with the next sort when a sortable column is pressed: its first direction, the other, then cleared, which reports
40
+ * `defaultSortDescriptor` (`undefined` without one). The first direction is whatever lands on the column as it becomes
41
+ * sorted, so a page can make a column descending first. An explicit `sort(direction)` on the sorted column, as from a
42
+ * column menu, reaches the table as a press does: asking for the other direction on its second clears it, and asking for
43
+ * the direction it already shows is a change.
44
+ */
45
+ onSortChange?: (descriptor: SortDescriptor | undefined) => void;
46
+ /**
47
+ * What the press that clears a sort reports: the page's resting sort. The table never applies it, so start your
48
+ * `sortDescriptor` from it. A column back at it starts its cycle from it, so one resting descending goes descending,
49
+ * ascending, then back to rest. Omitted, a clear reports `undefined`.
50
+ */
51
+ defaultSortDescriptor?: SortDescriptor;
52
+ /**
53
+ * Draws `loadingRowCount` placeholder rows in place of `Table.Body`'s children, in both layouts, so a page can keep passing
54
+ * its rows; none can be pressed or selected, and `renderEmptyState` waits. Marks the surrounding `TableCard.Root` `aria-busy`,
55
+ * or the table's own outer element without one. The default cells come from a `Table.Header` among the table's direct
56
+ * children: with one rendered by another component, pass `loadingRow` with a `Table.Cell` per column, or the table shows none.
57
+ */
58
+ isLoading?: boolean;
59
+ /** How many rows `isLoading` draws; pass the page size, so the list keeps its height. */
60
+ loadingRowCount?: number;
61
+ /**
62
+ * What each loading row holds, written as a `Table.Row`'s children: a `Table.Cell` per column holding `Skeleton`s, and a
63
+ * `Table.RowCard.Skeleton` shaped like the real card. A part left out is drawn for you: a bar per column, the generic card.
64
+ */
65
+ loadingRow?: ReactNode;
66
+ /**
67
+ * Overrides the root `data-testid`. Defaults to `fd-table`. Rows and columns derive
68
+ * structural testids from this prefix (e.g. `<root>--row-42`, `<root>--col-name`). In the cards layout the root id
69
+ * sits on the wrapper around select all and the card list, which derives `<root>--list`.
70
+ */
71
+ 'data-testid'?: string;
72
+ }
73
+ declare const TableRoot: import("react").ForwardRefExoticComponent<TableRootProps & RefAttributes<HTMLDivElement | HTMLTableElement>>;
74
+ interface TableHeaderProps<T extends object> extends AriaTableHeaderProps<T>, Omit<ComponentPropsWithoutRef<'thead'>, 'children' | 'className' | 'slot' | 'style'> {
75
+ /** Draws a divider under the header row. */
76
+ bordered?: boolean;
77
+ /** Header row height; inherits from the table unless set. */
78
+ size?: 'sm' | 'md';
79
+ }
80
+ /** The row of column headers: one `Table.Head` per column, and select all with multiple selection; nothing in the cards layout. */
81
+ declare const TableHeader: (<T extends object>(props: TableHeaderProps<T> & RefAttributes<HTMLTableSectionElement | HTMLDivElement>) => ReactElement) & {
82
+ displayName?: string;
83
+ };
84
+ interface TableHeadProps extends AriaColumnProps, Omit<ThHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
85
+ /** The column's visible name; on the fallback card it labels the column's line. */
86
+ label?: string;
87
+ /** Help text behind an icon beside the label, shown on hover and keyboard focus; it also names the icon. Never information a sighted user must read. */
88
+ tooltip?: string;
89
+ /** Overrides the derived `data-testid` for the column (defaults to `<root>--col-<id>`). */
90
+ 'data-testid'?: string;
91
+ }
92
+ /** One column header, with an optional `label`, help `tooltip` and sort arrow; its `id` keys the column. */
93
+ declare const TableHead: {
94
+ ({ className, tooltip, label, children, "data-testid": dataTestId, ...props }: TableHeadProps): import("react").JSX.Element;
95
+ displayName: string;
96
+ };
97
+ /** One row of cells, or its `Table.RowCard` in the cards layout; give it an `id` for selection and its test id. */
98
+ declare const TableRow: (<T extends object>(props: TableRowProps<T> & RefAttributes<HTMLTableRowElement | HTMLDivElement>) => ReactElement) & {
99
+ displayName?: string;
100
+ };
101
+ interface TableCellProps extends AriaCellProps, Omit<TdHTMLAttributes<HTMLTableCellElement>, 'children' | 'className' | 'style' | 'id'> {
102
+ /** Cell padding; inherits from the table unless set. */
103
+ size?: 'sm' | 'md';
104
+ /**
105
+ * Optional `data-testid` for the cell. Cells are intentionally not defaulted (to avoid
106
+ * high-cardinality noise); pass one explicitly when a specific cell needs targeting.
107
+ */
108
+ 'data-testid'?: string;
109
+ }
110
+ /** One cell of a row; in the cards layout only the fallback card shows it: its content, with its `data-*` and handlers. */
111
+ declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & RefAttributes<HTMLDivElement | HTMLTableCellElement>>;
112
+ /** The table's rows, with `renderEmptyState` for when there are none; while the table `isLoading`, its loading rows instead; in the cards layout, the one `grid` that holds every card. */
113
+ declare const TableBody: (<T>(props: TableBodyProps<T> & RefAttributes<HTMLTableSectionElement | HTMLDivElement>) => ReactElement) & {
114
+ displayName?: string;
115
+ };
116
+ declare const TableCard: {
117
+ Root: ({ children, className, size, "aria-busy": ariaBusy, ...props }: HTMLAttributes<HTMLDivElement> & {
118
+ size?: "sm" | "md";
119
+ }) => import("react").JSX.Element;
120
+ Header: ({ title, badge, description, contentTrailing, className }: TableCardHeaderProps) => import("react").JSX.Element;
121
+ };
122
+ /** The card a `Table.Row` shows in the cards layout, built from its `Header`, `Content` and `Footer`, or its `Skeleton` while loading. */
123
+ declare const TableRowCardCompound: typeof TableRowCard & {
124
+ Header: typeof TableRowCardHeader;
125
+ Content: typeof TableRowCardContent;
126
+ Footer: typeof TableRowCardFooter;
127
+ Skeleton: typeof TableRowCardSkeleton;
128
+ };
129
+ /**
130
+ * Displays structured data in rows and columns with selection, sorting and keyboard navigation, or as one card per row:
131
+ * below `md` unless `mobileLayout` opts out, and from `md` when `desktopLayout` asks. Wrap it in `TableCard.Root`; on a page the title comes from
132
+ * `PageHeader` and search or filters from a `FilterBar` above the card.
133
+ *
134
+ * @summary data table with selection, sorting and cards on mobile
135
+ */
136
+ declare const Table: typeof TableRoot & {
137
+ Body: typeof TableBody;
138
+ RowCard: typeof TableRowCardCompound;
139
+ Cell: typeof TableCell;
140
+ Head: typeof TableHead;
141
+ Header: typeof TableHeader;
142
+ Row: typeof TableRow;
143
+ };
144
+ export type { TableRowCardContentProps, TableRowCardFooterProps, TableRowCardHeaderProps, TableRowCardSkeletonProps, } from './components/TableRowCard';
145
+ export { Table, TableCard };
146
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @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