@fluentui/react-table 9.8.0 → 9.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/CHANGELOG.json +151 -1
  2. package/CHANGELOG.md +40 -2
  3. package/dist/index.d.ts +3 -0
  4. package/lib/components/DataGrid/DataGrid.js.map +1 -1
  5. package/lib/components/DataGrid/renderDataGrid.js.map +1 -1
  6. package/lib/components/DataGrid/useDataGrid.js +7 -6
  7. package/lib/components/DataGrid/useDataGrid.js.map +1 -1
  8. package/lib/components/DataGrid/useDataGridContextValues.js +1 -1
  9. package/lib/components/DataGrid/useDataGridContextValues.js.map +1 -1
  10. package/lib/components/DataGridBody/DataGridBody.js.map +1 -1
  11. package/lib/components/DataGridBody/renderDataGridBody.js +7 -5
  12. package/lib/components/DataGridBody/renderDataGridBody.js.map +1 -1
  13. package/lib/components/DataGridBody/useDataGridBody.js +1 -1
  14. package/lib/components/DataGridBody/useDataGridBody.js.map +1 -1
  15. package/lib/components/DataGridCell/DataGridCell.js.map +1 -1
  16. package/lib/components/DataGridCell/renderDataGridCell.js.map +1 -1
  17. package/lib/components/DataGridCell/useDataGridCell.js +1 -1
  18. package/lib/components/DataGridCell/useDataGridCell.js.map +1 -1
  19. package/lib/components/DataGridHeader/DataGridHeader.js.map +1 -1
  20. package/lib/components/DataGridHeader/renderDataGridHeader.js.map +1 -1
  21. package/lib/components/DataGridHeader/useDataGridHeader.js.map +1 -1
  22. package/lib/components/DataGridHeaderCell/DataGridHeaderCell.js.map +1 -1
  23. package/lib/components/DataGridHeaderCell/renderDataGridHeaderCell.js.map +1 -1
  24. package/lib/components/DataGridHeaderCell/useDataGridHeaderCell.js +3 -3
  25. package/lib/components/DataGridHeaderCell/useDataGridHeaderCell.js.map +1 -1
  26. package/lib/components/DataGridRow/DataGridRow.js.map +1 -1
  27. package/lib/components/DataGridRow/renderDataGridRow.js +10 -5
  28. package/lib/components/DataGridRow/renderDataGridRow.js.map +1 -1
  29. package/lib/components/DataGridRow/useDataGridRow.js +4 -4
  30. package/lib/components/DataGridRow/useDataGridRow.js.map +1 -1
  31. package/lib/components/DataGridSelectionCell/DataGridSelectionCell.js.map +1 -1
  32. package/lib/components/DataGridSelectionCell/renderDataGridSelectionCell.js.map +1 -1
  33. package/lib/components/DataGridSelectionCell/useDataGridSelectionCell.js +2 -2
  34. package/lib/components/DataGridSelectionCell/useDataGridSelectionCell.js.map +1 -1
  35. package/lib/components/Table/Table.js.map +1 -1
  36. package/lib/components/Table/renderTable.js +5 -4
  37. package/lib/components/Table/renderTable.js.map +1 -1
  38. package/lib/components/Table/useTable.js.map +1 -1
  39. package/lib/components/Table/useTableContextValues.js +1 -1
  40. package/lib/components/Table/useTableContextValues.js.map +1 -1
  41. package/lib/components/TableBody/TableBody.js.map +1 -1
  42. package/lib/components/TableBody/renderTableBody.js +2 -2
  43. package/lib/components/TableBody/renderTableBody.js.map +1 -1
  44. package/lib/components/TableBody/useTableBody.js +1 -1
  45. package/lib/components/TableBody/useTableBody.js.map +1 -1
  46. package/lib/components/TableCell/TableCell.js.map +1 -1
  47. package/lib/components/TableCell/renderTableCell.js +2 -2
  48. package/lib/components/TableCell/renderTableCell.js.map +1 -1
  49. package/lib/components/TableCell/useTableCell.js +1 -1
  50. package/lib/components/TableCell/useTableCell.js.map +1 -1
  51. package/lib/components/TableCellActions/TableCellActions.js.map +1 -1
  52. package/lib/components/TableCellActions/renderTableCellActions.js +2 -2
  53. package/lib/components/TableCellActions/renderTableCellActions.js.map +1 -1
  54. package/lib/components/TableCellActions/useTableCellActions.js.map +1 -1
  55. package/lib/components/TableCellLayout/TableCellLayout.js.map +1 -1
  56. package/lib/components/TableCellLayout/renderTableCellLayout.js +17 -4
  57. package/lib/components/TableCellLayout/renderTableCellLayout.js.map +1 -1
  58. package/lib/components/TableCellLayout/useTableCellLayout.js +1 -1
  59. package/lib/components/TableCellLayout/useTableCellLayout.js.map +1 -1
  60. package/lib/components/TableCellLayout/useTableCellLayoutContextValues.js +1 -1
  61. package/lib/components/TableCellLayout/useTableCellLayoutContextValues.js.map +1 -1
  62. package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.js.map +1 -1
  63. package/lib/components/TableHeader/TableHeader.js.map +1 -1
  64. package/lib/components/TableHeader/renderTableHeader.js +5 -4
  65. package/lib/components/TableHeader/renderTableHeader.js.map +1 -1
  66. package/lib/components/TableHeader/useTableHeader.js +1 -1
  67. package/lib/components/TableHeader/useTableHeader.js.map +1 -1
  68. package/lib/components/TableHeaderCell/TableHeaderCell.js.map +1 -1
  69. package/lib/components/TableHeaderCell/renderTableHeaderCell.js +12 -2
  70. package/lib/components/TableHeaderCell/renderTableHeaderCell.js.map +1 -1
  71. package/lib/components/TableHeaderCell/useTableHeaderCell.js +1 -1
  72. package/lib/components/TableHeaderCell/useTableHeaderCell.js.map +1 -1
  73. package/lib/components/TableResizeHandle/TableResizeHandle.js.map +1 -1
  74. package/lib/components/TableResizeHandle/renderTableResizeHandle.js +2 -2
  75. package/lib/components/TableResizeHandle/renderTableResizeHandle.js.map +1 -1
  76. package/lib/components/TableResizeHandle/useTableResizeHandle.js +2 -2
  77. package/lib/components/TableResizeHandle/useTableResizeHandle.js.map +1 -1
  78. package/lib/components/TableRow/TableRow.js.map +1 -1
  79. package/lib/components/TableRow/renderTableRow.js +2 -2
  80. package/lib/components/TableRow/renderTableRow.js.map +1 -1
  81. package/lib/components/TableRow/useTableRow.js +1 -1
  82. package/lib/components/TableRow/useTableRow.js.map +1 -1
  83. package/lib/components/TableSelectionCell/TableSelectionCell.js.map +1 -1
  84. package/lib/components/TableSelectionCell/renderTableSelectionCell.js +7 -2
  85. package/lib/components/TableSelectionCell/renderTableSelectionCell.js.map +1 -1
  86. package/lib/components/TableSelectionCell/useTableSelectionCell.js +2 -2
  87. package/lib/components/TableSelectionCell/useTableSelectionCell.js.map +1 -1
  88. package/lib/contexts/columnIdContext.js.map +1 -1
  89. package/lib/contexts/dataGridContext.js.map +1 -1
  90. package/lib/contexts/rowIdContext.js.map +1 -1
  91. package/lib/contexts/tableContext.js.map +1 -1
  92. package/lib/hooks/createColumn.js +1 -1
  93. package/lib/hooks/createColumn.js.map +1 -1
  94. package/lib/hooks/types.js.map +1 -1
  95. package/lib/hooks/useKeyboardResizing.js +6 -6
  96. package/lib/hooks/useKeyboardResizing.js.map +1 -1
  97. package/lib/hooks/useMeasureElement.js +3 -2
  98. package/lib/hooks/useMeasureElement.js.map +1 -1
  99. package/lib/hooks/useTableColumnResizeMouseHandler.js +20 -16
  100. package/lib/hooks/useTableColumnResizeMouseHandler.js.map +1 -1
  101. package/lib/hooks/useTableColumnResizeState.js +5 -5
  102. package/lib/hooks/useTableColumnResizeState.js.map +1 -1
  103. package/lib/hooks/useTableColumnSizing.js +19 -6
  104. package/lib/hooks/useTableColumnSizing.js.map +1 -1
  105. package/lib/hooks/useTableCompositeNavigation.js +2 -2
  106. package/lib/hooks/useTableCompositeNavigation.js.map +1 -1
  107. package/lib/hooks/useTableFeatures.js +4 -5
  108. package/lib/hooks/useTableFeatures.js.map +1 -1
  109. package/lib/hooks/useTableSelection.js +6 -4
  110. package/lib/hooks/useTableSelection.js.map +1 -1
  111. package/lib/hooks/useTableSort.js +9 -6
  112. package/lib/hooks/useTableSort.js.map +1 -1
  113. package/lib/utils/columnResizeUtils.js +6 -4
  114. package/lib/utils/columnResizeUtils.js.map +1 -1
  115. package/lib-commonjs/DataGrid.js +2 -2
  116. package/lib-commonjs/DataGrid.js.map +1 -1
  117. package/lib-commonjs/DataGridBody.js +2 -2
  118. package/lib-commonjs/DataGridBody.js.map +1 -1
  119. package/lib-commonjs/DataGridCell.js +2 -2
  120. package/lib-commonjs/DataGridCell.js.map +1 -1
  121. package/lib-commonjs/DataGridHeader.js +2 -2
  122. package/lib-commonjs/DataGridHeader.js.map +1 -1
  123. package/lib-commonjs/DataGridHeaderCell.js +2 -2
  124. package/lib-commonjs/DataGridHeaderCell.js.map +1 -1
  125. package/lib-commonjs/DataGridRow.js +2 -2
  126. package/lib-commonjs/DataGridRow.js.map +1 -1
  127. package/lib-commonjs/DataGridSelectionCell.js +2 -2
  128. package/lib-commonjs/DataGridSelectionCell.js.map +1 -1
  129. package/lib-commonjs/Table.js +2 -2
  130. package/lib-commonjs/Table.js.map +1 -1
  131. package/lib-commonjs/TableBody.js +2 -2
  132. package/lib-commonjs/TableBody.js.map +1 -1
  133. package/lib-commonjs/TableCell.js +2 -2
  134. package/lib-commonjs/TableCell.js.map +1 -1
  135. package/lib-commonjs/TableCellActions.js +2 -2
  136. package/lib-commonjs/TableCellActions.js.map +1 -1
  137. package/lib-commonjs/TableCellLayout.js +2 -2
  138. package/lib-commonjs/TableCellLayout.js.map +1 -1
  139. package/lib-commonjs/TableCellPrimaryLayout.js +2 -2
  140. package/lib-commonjs/TableCellPrimaryLayout.js.map +1 -1
  141. package/lib-commonjs/TableHeader.js +2 -2
  142. package/lib-commonjs/TableHeader.js.map +1 -1
  143. package/lib-commonjs/TableHeaderCell.js +2 -2
  144. package/lib-commonjs/TableHeaderCell.js.map +1 -1
  145. package/lib-commonjs/TableResizeHandle.js +2 -2
  146. package/lib-commonjs/TableResizeHandle.js.map +1 -1
  147. package/lib-commonjs/TableRow.js +2 -2
  148. package/lib-commonjs/TableRow.js.map +1 -1
  149. package/lib-commonjs/TableSelectionCell.js +2 -2
  150. package/lib-commonjs/TableSelectionCell.js.map +1 -1
  151. package/lib-commonjs/components/DataGrid/DataGrid.js +9 -7
  152. package/lib-commonjs/components/DataGrid/DataGrid.js.map +1 -1
  153. package/lib-commonjs/components/DataGrid/DataGrid.types.js +2 -2
  154. package/lib-commonjs/components/DataGrid/DataGrid.types.js.map +1 -1
  155. package/lib-commonjs/components/DataGrid/index.js +7 -7
  156. package/lib-commonjs/components/DataGrid/index.js.map +1 -1
  157. package/lib-commonjs/components/DataGrid/renderDataGrid.js +5 -3
  158. package/lib-commonjs/components/DataGrid/renderDataGrid.js.map +1 -1
  159. package/lib-commonjs/components/DataGrid/useDataGrid.js +22 -19
  160. package/lib-commonjs/components/DataGrid/useDataGrid.js.map +1 -1
  161. package/lib-commonjs/components/DataGrid/useDataGridContextValues.js +4 -2
  162. package/lib-commonjs/components/DataGrid/useDataGridContextValues.js.map +1 -1
  163. package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.js +8 -4
  164. package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.js.map +1 -1
  165. package/lib-commonjs/components/DataGridBody/DataGridBody.js +9 -7
  166. package/lib-commonjs/components/DataGridBody/DataGridBody.js.map +1 -1
  167. package/lib-commonjs/components/DataGridBody/DataGridBody.types.js +2 -2
  168. package/lib-commonjs/components/DataGridBody/DataGridBody.types.js.map +1 -1
  169. package/lib-commonjs/components/DataGridBody/index.js +6 -6
  170. package/lib-commonjs/components/DataGridBody/index.js.map +1 -1
  171. package/lib-commonjs/components/DataGridBody/renderDataGridBody.js +13 -9
  172. package/lib-commonjs/components/DataGridBody/renderDataGridBody.js.map +1 -1
  173. package/lib-commonjs/components/DataGridBody/useDataGridBody.js +6 -4
  174. package/lib-commonjs/components/DataGridBody/useDataGridBody.js.map +1 -1
  175. package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.js +8 -4
  176. package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.js.map +1 -1
  177. package/lib-commonjs/components/DataGridCell/DataGridCell.js +9 -7
  178. package/lib-commonjs/components/DataGridCell/DataGridCell.js.map +1 -1
  179. package/lib-commonjs/components/DataGridCell/index.js +6 -6
  180. package/lib-commonjs/components/DataGridCell/index.js.map +1 -1
  181. package/lib-commonjs/components/DataGridCell/renderDataGridCell.js +3 -1
  182. package/lib-commonjs/components/DataGridCell/renderDataGridCell.js.map +1 -1
  183. package/lib-commonjs/components/DataGridCell/useDataGridCell.js +8 -6
  184. package/lib-commonjs/components/DataGridCell/useDataGridCell.js.map +1 -1
  185. package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.js +8 -4
  186. package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.js.map +1 -1
  187. package/lib-commonjs/components/DataGridHeader/DataGridHeader.js +9 -7
  188. package/lib-commonjs/components/DataGridHeader/DataGridHeader.js.map +1 -1
  189. package/lib-commonjs/components/DataGridHeader/index.js +6 -6
  190. package/lib-commonjs/components/DataGridHeader/index.js.map +1 -1
  191. package/lib-commonjs/components/DataGridHeader/renderDataGridHeader.js +3 -1
  192. package/lib-commonjs/components/DataGridHeader/renderDataGridHeader.js.map +1 -1
  193. package/lib-commonjs/components/DataGridHeader/useDataGridHeader.js +5 -3
  194. package/lib-commonjs/components/DataGridHeader/useDataGridHeader.js.map +1 -1
  195. package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.js +8 -4
  196. package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.js.map +1 -1
  197. package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.js +9 -7
  198. package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.js.map +1 -1
  199. package/lib-commonjs/components/DataGridHeaderCell/index.js +6 -6
  200. package/lib-commonjs/components/DataGridHeaderCell/index.js.map +1 -1
  201. package/lib-commonjs/components/DataGridHeaderCell/renderDataGridHeaderCell.js +3 -1
  202. package/lib-commonjs/components/DataGridHeaderCell/renderDataGridHeaderCell.js.map +1 -1
  203. package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCell.js +10 -8
  204. package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCell.js.map +1 -1
  205. package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.js +8 -4
  206. package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.js.map +1 -1
  207. package/lib-commonjs/components/DataGridRow/DataGridRow.js +9 -7
  208. package/lib-commonjs/components/DataGridRow/DataGridRow.js.map +1 -1
  209. package/lib-commonjs/components/DataGridRow/DataGridRow.types.js +2 -2
  210. package/lib-commonjs/components/DataGridRow/DataGridRow.types.js.map +1 -1
  211. package/lib-commonjs/components/DataGridRow/index.js +6 -6
  212. package/lib-commonjs/components/DataGridRow/index.js.map +1 -1
  213. package/lib-commonjs/components/DataGridRow/renderDataGridRow.js +16 -9
  214. package/lib-commonjs/components/DataGridRow/renderDataGridRow.js.map +1 -1
  215. package/lib-commonjs/components/DataGridRow/useDataGridRow.js +18 -16
  216. package/lib-commonjs/components/DataGridRow/useDataGridRow.js.map +1 -1
  217. package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.js +8 -4
  218. package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.js.map +1 -1
  219. package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.js +9 -7
  220. package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.js.map +1 -1
  221. package/lib-commonjs/components/DataGridSelectionCell/index.js +6 -6
  222. package/lib-commonjs/components/DataGridSelectionCell/index.js.map +1 -1
  223. package/lib-commonjs/components/DataGridSelectionCell/renderDataGridSelectionCell.js +3 -1
  224. package/lib-commonjs/components/DataGridSelectionCell/renderDataGridSelectionCell.js.map +1 -1
  225. package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCell.js +9 -7
  226. package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCell.js.map +1 -1
  227. package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.js +8 -4
  228. package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.js.map +1 -1
  229. package/lib-commonjs/components/Table/Table.js +9 -7
  230. package/lib-commonjs/components/Table/Table.js.map +1 -1
  231. package/lib-commonjs/components/Table/index.js +6 -6
  232. package/lib-commonjs/components/Table/index.js.map +1 -1
  233. package/lib-commonjs/components/Table/renderTable.js +11 -8
  234. package/lib-commonjs/components/Table/renderTable.js.map +1 -1
  235. package/lib-commonjs/components/Table/useTable.js +7 -5
  236. package/lib-commonjs/components/Table/useTable.js.map +1 -1
  237. package/lib-commonjs/components/Table/useTableContextValues.js +6 -4
  238. package/lib-commonjs/components/Table/useTableContextValues.js.map +1 -1
  239. package/lib-commonjs/components/Table/useTableStyles.styles.js +12 -6
  240. package/lib-commonjs/components/Table/useTableStyles.styles.js.map +1 -1
  241. package/lib-commonjs/components/TableBody/TableBody.js +9 -7
  242. package/lib-commonjs/components/TableBody/TableBody.js.map +1 -1
  243. package/lib-commonjs/components/TableBody/index.js +6 -6
  244. package/lib-commonjs/components/TableBody/index.js.map +1 -1
  245. package/lib-commonjs/components/TableBody/renderTableBody.js +8 -6
  246. package/lib-commonjs/components/TableBody/renderTableBody.js.map +1 -1
  247. package/lib-commonjs/components/TableBody/useTableBody.js +8 -6
  248. package/lib-commonjs/components/TableBody/useTableBody.js.map +1 -1
  249. package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.js +11 -5
  250. package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.js.map +1 -1
  251. package/lib-commonjs/components/TableCell/TableCell.js +9 -7
  252. package/lib-commonjs/components/TableCell/TableCell.js.map +1 -1
  253. package/lib-commonjs/components/TableCell/index.js +6 -6
  254. package/lib-commonjs/components/TableCell/index.js.map +1 -1
  255. package/lib-commonjs/components/TableCell/renderTableCell.js +8 -6
  256. package/lib-commonjs/components/TableCell/renderTableCell.js.map +1 -1
  257. package/lib-commonjs/components/TableCell/useTableCell.js +8 -6
  258. package/lib-commonjs/components/TableCell/useTableCell.js.map +1 -1
  259. package/lib-commonjs/components/TableCell/useTableCellStyles.styles.js +12 -6
  260. package/lib-commonjs/components/TableCell/useTableCellStyles.styles.js.map +1 -1
  261. package/lib-commonjs/components/TableCellActions/TableCellActions.js +9 -7
  262. package/lib-commonjs/components/TableCellActions/TableCellActions.js.map +1 -1
  263. package/lib-commonjs/components/TableCellActions/index.js +6 -6
  264. package/lib-commonjs/components/TableCellActions/index.js.map +1 -1
  265. package/lib-commonjs/components/TableCellActions/renderTableCellActions.js +8 -6
  266. package/lib-commonjs/components/TableCellActions/renderTableCellActions.js.map +1 -1
  267. package/lib-commonjs/components/TableCellActions/useTableCellActions.js +7 -5
  268. package/lib-commonjs/components/TableCellActions/useTableCellActions.js.map +1 -1
  269. package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.js +7 -3
  270. package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.js.map +1 -1
  271. package/lib-commonjs/components/TableCellLayout/TableCellLayout.js +9 -7
  272. package/lib-commonjs/components/TableCellLayout/TableCellLayout.js.map +1 -1
  273. package/lib-commonjs/components/TableCellLayout/index.js +6 -6
  274. package/lib-commonjs/components/TableCellLayout/index.js.map +1 -1
  275. package/lib-commonjs/components/TableCellLayout/renderTableCellLayout.js +24 -9
  276. package/lib-commonjs/components/TableCellLayout/renderTableCellLayout.js.map +1 -1
  277. package/lib-commonjs/components/TableCellLayout/useTableCellLayout.js +12 -10
  278. package/lib-commonjs/components/TableCellLayout/useTableCellLayout.js.map +1 -1
  279. package/lib-commonjs/components/TableCellLayout/useTableCellLayoutContextValues.js +6 -4
  280. package/lib-commonjs/components/TableCellLayout/useTableCellLayoutContextValues.js.map +1 -1
  281. package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.js +8 -4
  282. package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.js.map +1 -1
  283. package/lib-commonjs/components/TableHeader/TableHeader.js +9 -7
  284. package/lib-commonjs/components/TableHeader/TableHeader.js.map +1 -1
  285. package/lib-commonjs/components/TableHeader/index.js +6 -6
  286. package/lib-commonjs/components/TableHeader/index.js.map +1 -1
  287. package/lib-commonjs/components/TableHeader/renderTableHeader.js +11 -8
  288. package/lib-commonjs/components/TableHeader/renderTableHeader.js.map +1 -1
  289. package/lib-commonjs/components/TableHeader/useTableHeader.js +8 -6
  290. package/lib-commonjs/components/TableHeader/useTableHeader.js.map +1 -1
  291. package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.js +11 -5
  292. package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.js.map +1 -1
  293. package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.js +9 -7
  294. package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.js.map +1 -1
  295. package/lib-commonjs/components/TableHeaderCell/index.js +6 -6
  296. package/lib-commonjs/components/TableHeaderCell/index.js.map +1 -1
  297. package/lib-commonjs/components/TableHeaderCell/renderTableHeaderCell.js +18 -6
  298. package/lib-commonjs/components/TableHeaderCell/renderTableHeaderCell.js.map +1 -1
  299. package/lib-commonjs/components/TableHeaderCell/useTableHeaderCell.js +17 -15
  300. package/lib-commonjs/components/TableHeaderCell/useTableHeaderCell.js.map +1 -1
  301. package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.js +12 -6
  302. package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.js.map +1 -1
  303. package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.js +9 -7
  304. package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.js.map +1 -1
  305. package/lib-commonjs/components/TableResizeHandle/index.js +6 -6
  306. package/lib-commonjs/components/TableResizeHandle/index.js.map +1 -1
  307. package/lib-commonjs/components/TableResizeHandle/renderTableResizeHandle.js +8 -6
  308. package/lib-commonjs/components/TableResizeHandle/renderTableResizeHandle.js.map +1 -1
  309. package/lib-commonjs/components/TableResizeHandle/useTableResizeHandle.js +10 -8
  310. package/lib-commonjs/components/TableResizeHandle/useTableResizeHandle.js.map +1 -1
  311. package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.js +7 -3
  312. package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.js.map +1 -1
  313. package/lib-commonjs/components/TableRow/TableRow.js +9 -7
  314. package/lib-commonjs/components/TableRow/TableRow.js.map +1 -1
  315. package/lib-commonjs/components/TableRow/index.js +6 -6
  316. package/lib-commonjs/components/TableRow/index.js.map +1 -1
  317. package/lib-commonjs/components/TableRow/renderTableRow.js +8 -6
  318. package/lib-commonjs/components/TableRow/renderTableRow.js.map +1 -1
  319. package/lib-commonjs/components/TableRow/useTableRow.js +12 -10
  320. package/lib-commonjs/components/TableRow/useTableRow.js.map +1 -1
  321. package/lib-commonjs/components/TableRow/useTableRowStyles.styles.js +12 -6
  322. package/lib-commonjs/components/TableRow/useTableRowStyles.styles.js.map +1 -1
  323. package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.js +9 -7
  324. package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.js.map +1 -1
  325. package/lib-commonjs/components/TableSelectionCell/index.js +6 -6
  326. package/lib-commonjs/components/TableSelectionCell/index.js.map +1 -1
  327. package/lib-commonjs/components/TableSelectionCell/renderTableSelectionCell.js +13 -6
  328. package/lib-commonjs/components/TableSelectionCell/renderTableSelectionCell.js.map +1 -1
  329. package/lib-commonjs/components/TableSelectionCell/useTableSelectionCell.js +17 -15
  330. package/lib-commonjs/components/TableSelectionCell/useTableSelectionCell.js.map +1 -1
  331. package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.js +12 -6
  332. package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.js.map +1 -1
  333. package/lib-commonjs/contexts/columnIdContext.js +11 -5
  334. package/lib-commonjs/contexts/columnIdContext.js.map +1 -1
  335. package/lib-commonjs/contexts/dataGridContext.js +9 -5
  336. package/lib-commonjs/contexts/dataGridContext.js.map +1 -1
  337. package/lib-commonjs/contexts/rowIdContext.js +11 -5
  338. package/lib-commonjs/contexts/rowIdContext.js.map +1 -1
  339. package/lib-commonjs/contexts/tableContext.js +11 -5
  340. package/lib-commonjs/contexts/tableContext.js.map +1 -1
  341. package/lib-commonjs/contexts/tableHeaderContext.js +8 -4
  342. package/lib-commonjs/contexts/tableHeaderContext.js.map +1 -1
  343. package/lib-commonjs/hooks/createColumn.js +4 -2
  344. package/lib-commonjs/hooks/createColumn.js.map +1 -1
  345. package/lib-commonjs/hooks/index.js +8 -8
  346. package/lib-commonjs/hooks/index.js.map +1 -1
  347. package/lib-commonjs/hooks/types.js +2 -2
  348. package/lib-commonjs/hooks/types.js.map +1 -1
  349. package/lib-commonjs/hooks/useKeyboardResizing.js +22 -20
  350. package/lib-commonjs/hooks/useKeyboardResizing.js.map +1 -1
  351. package/lib-commonjs/hooks/useMeasureElement.js +11 -8
  352. package/lib-commonjs/hooks/useMeasureElement.js.map +1 -1
  353. package/lib-commonjs/hooks/useTableColumnResizeMouseHandler.js +32 -26
  354. package/lib-commonjs/hooks/useTableColumnResizeMouseHandler.js.map +1 -1
  355. package/lib-commonjs/hooks/useTableColumnResizeState.js +15 -13
  356. package/lib-commonjs/hooks/useTableColumnResizeState.js.map +1 -1
  357. package/lib-commonjs/hooks/useTableColumnSizing.js +28 -11
  358. package/lib-commonjs/hooks/useTableColumnSizing.js.map +1 -1
  359. package/lib-commonjs/hooks/useTableCompositeNavigation.js +20 -18
  360. package/lib-commonjs/hooks/useTableCompositeNavigation.js.map +1 -1
  361. package/lib-commonjs/hooks/useTableFeatures.js +12 -9
  362. package/lib-commonjs/hooks/useTableFeatures.js.map +1 -1
  363. package/lib-commonjs/hooks/useTableSelection.js +24 -16
  364. package/lib-commonjs/hooks/useTableSelection.js.map +1 -1
  365. package/lib-commonjs/hooks/useTableSort.js +22 -13
  366. package/lib-commonjs/hooks/useTableSort.js.map +1 -1
  367. package/lib-commonjs/index.js +344 -126
  368. package/lib-commonjs/index.js.map +1 -1
  369. package/lib-commonjs/utils/columnResizeUtils.js +30 -12
  370. package/lib-commonjs/utils/columnResizeUtils.js.map +1 -1
  371. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"sources":["useTableResizeHandle.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useEventCallback, slot } from '@fluentui/react-utilities';\n/**\n * Create the state required to render TableResizeHandle.\n *\n * The returned state can be modified with hooks such as useTableResizeHandleStyles_unstable,\n * before being passed to renderTableResizeHandle_unstable.\n *\n * @param props - props from this instance of TableResizeHandle\n * @param ref - reference to root HTMLElement of TableResizeHandle\n */ export const useTableResizeHandle_unstable = (props, ref)=>{\n const onClick = useEventCallback((event)=>{\n var _props_onClick;\n (_props_onClick = props.onClick) === null || _props_onClick === void 0 ? void 0 : _props_onClick.call(props, event);\n event.stopPropagation();\n });\n return {\n components: {\n root: 'div'\n },\n root: slot.always(getNativeElementProps('div', {\n ref,\n ...props,\n onClick\n }), {\n elementType: 'div'\n })\n };\n};\n"],"names":["useTableResizeHandle_unstable","props","ref","onClick","useEventCallback","event","_props_onClick","call","stopPropagation","components","root","slot","always","getNativeElementProps","elementType"],"mappings":";;;;+BAUiBA;;aAAAA;;;6DAVM;gCACuC;AASnD,MAAMA,gCAAgC,CAACC,OAAOC,MAAM;IAC3D,MAAMC,UAAUC,IAAAA,gCAAgB,EAAC,CAACC,QAAQ;QACtC,IAAIC;QACHA,CAAAA,iBAAiBL,MAAME,OAAO,AAAD,MAAO,IAAI,IAAIG,mBAAmB,KAAK,IAAI,KAAK,IAAIA,eAAeC,IAAI,CAACN,OAAOI,MAAM;QACnHA,MAAMG,eAAe;IACzB;IACA,OAAO;QACHC,YAAY;YACRC,MAAM;QACV;QACAA,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,qCAAqB,EAAC,OAAO;YAC3CX;YACA,GAAGD,KAAK;YACRE;QACJ,IAAI;YACAW,aAAa;QACjB;IACJ;AACJ"}
1
+ {"version":3,"sources":["useTableResizeHandle.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useEventCallback, slot } from '@fluentui/react-utilities';\n/**\n * Create the state required to render TableResizeHandle.\n *\n * The returned state can be modified with hooks such as useTableResizeHandleStyles_unstable,\n * before being passed to renderTableResizeHandle_unstable.\n *\n * @param props - props from this instance of TableResizeHandle\n * @param ref - reference to root HTMLElement of TableResizeHandle\n */ export const useTableResizeHandle_unstable = (props, ref)=>{\n const onClick = useEventCallback((event)=>{\n var _props_onClick, _props;\n (_props_onClick = (_props = props).onClick) === null || _props_onClick === void 0 ? void 0 : _props_onClick.call(_props, event);\n event.stopPropagation();\n });\n return {\n components: {\n root: 'div'\n },\n root: slot.always(getNativeElementProps('div', {\n ref,\n ...props,\n onClick\n }), {\n elementType: 'div'\n })\n };\n};\n"],"names":["useTableResizeHandle_unstable","props","ref","onClick","useEventCallback","event","_props_onClick","_props","call","stopPropagation","components","root","slot","always","getNativeElementProps","elementType"],"mappings":";;;;+BAUiBA;;;eAAAA;;;;iEAVM;gCACuC;AASnD,MAAMA,gCAAgC,CAACC,OAAOC;IACrD,MAAMC,UAAUC,IAAAA,gCAAgB,EAAC,CAACC;QAC9B,IAAIC,gBAAgBC;QACnBD,CAAAA,iBAAiB,AAACC,CAAAA,SAASN,KAAI,EAAGE,OAAO,AAAD,MAAO,QAAQG,mBAAmB,KAAK,IAAI,KAAK,IAAIA,eAAeE,IAAI,CAACD,QAAQF;QACzHA,MAAMI,eAAe;IACzB;IACA,OAAO;QACHC,YAAY;YACRC,MAAM;QACV;QACAA,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,qCAAqB,EAAC,OAAO;YAC3CZ;YACA,GAAGD,KAAK;YACRE;QACJ,IAAI;YACAY,aAAa;QACjB;IACJ;AACJ"}
@@ -9,8 +9,12 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- tableResizeHandleClassNames: ()=>tableResizeHandleClassNames,
13
- useTableResizeHandleStyles_unstable: ()=>useTableResizeHandleStyles_unstable
12
+ tableResizeHandleClassNames: function() {
13
+ return tableResizeHandleClassNames;
14
+ },
15
+ useTableResizeHandleStyles_unstable: function() {
16
+ return useTableResizeHandleStyles_unstable;
17
+ }
14
18
  });
15
19
  const _react = require("@griffel/react");
16
20
  const tableResizeHandleClassNames = {
@@ -18,7 +22,7 @@ const tableResizeHandleClassNames = {
18
22
  };
19
23
  /**
20
24
  * Styles for the root slot
21
- */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
25
+ */ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
22
26
  root: {
23
27
  qhf8xq: "f1euv43f",
24
28
  j35jbq: [
@@ -1 +1 @@
1
- {"version":3,"sources":["useTableResizeHandleStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const tableResizeHandleClassNames = {\n root: 'fui-TableResizeHandle'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n Bhzewxz: \"f15twtuk\",\n B5kzvoi: \"f1yab3r1\",\n a9b677: \"fjw5fx7\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"fn2i5td\", \"f1eybr6b\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1eybr6b\", \"fn2i5td\"],\n Bceei9c: \"fc3en1c\",\n abs64n: \"fk73vx1\",\n Bmy1vo4: \"f13u1uyl\",\n B3o57yi: \"fezquic\",\n Bj3rh1h: \"f19g0ac\",\n B3cna0y: \"f1tkae59\",\n Brovlpu: \"ftqa4ok\",\n B7zu5sd: \"f15pjodv\",\n Bs6t6z0: \"ftgrb5f\",\n Fdvyjd: \"f2df6js\",\n Biobvvw: \"fshsryb\",\n Hdbjpj: \"f11ef69\",\n jc51t6: [\"f12lb1dx\", \"f13tbxeo\"],\n u6d25: \"fu4ulse\",\n Bj55yzk: \"fw2wsqs\",\n Bkbwdz4: \"f1swzn7y\"\n }\n}, {\n d: [\".f1euv43f{position:absolute;}\", \".f1e31b4d{right:0;}\", \".f1vgc2s3{left:0;}\", \".f15twtuk{top:0;}\", \".f1yab3r1{bottom:0;}\", \".fjw5fx7{width:16px;}\", \".f1hu3pq6{margin-top:0;}\", \".fn2i5td{margin-right:-8px;}\", \".f1eybr6b{margin-left:-8px;}\", \".f19f4twv{margin-bottom:0;}\", \".fc3en1c{cursor:col-resize;}\", \".fk73vx1{opacity:0;}\", \".f13u1uyl{transition-property:opacity;}\", \".fezquic{transition-duration:.2s;}\", \".f19g0ac{z-index:1;}\", \".ftgrb5f:after{content:\\\" \\\";}\", \".f2df6js:after{display:block;}\", \".fshsryb:after{width:1px;}\", \".f11ef69:after{position:absolute;}\", \".f12lb1dx:after{left:50%;}\", \".f13tbxeo:after{right:50%;}\", \".fu4ulse:after{top:0;}\", \".fw2wsqs:after{bottom:0;}\", \".f1swzn7y:after{background-color:var(--colorNeutralStroke1);}\"],\n f: [\".f1tkae59:focus{opacity:1;}\", \".ftqa4ok:focus{outline-style:none;}\"],\n h: [\".f15pjodv:hover{opacity:1;}\"]\n});\n/**\n * Apply styling to the TableResizeHandle slots based on the state\n */\nexport const useTableResizeHandleStyles_unstable = state => {\n const styles = useStyles();\n state.root.className = mergeClasses(tableResizeHandleClassNames.root, styles.root, state.root.className);\n return state;\n};\n//# sourceMappingURL=useTableResizeHandleStyles.styles.js.map"],"names":["tableResizeHandleClassNames","useTableResizeHandleStyles_unstable","root","useStyles","__styles","qhf8xq","j35jbq","Bhzewxz","B5kzvoi","a9b677","B6of3ja","t21cq0","jrapky","Frg6f3","Bceei9c","abs64n","Bmy1vo4","B3o57yi","Bj3rh1h","B3cna0y","Brovlpu","B7zu5sd","Bs6t6z0","Fdvyjd","Biobvvw","Hdbjpj","jc51t6","u6d25","Bj55yzk","Bkbwdz4","d","f","h","state","styles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAEaA,2BAA2B,MAA3BA;IA0CAC,mCAAmC,MAAnCA;;uBA5CsC;AAE5C,MAAMD,8BAA8B;IACzCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAW;QAChCC,OAAO;QACPC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAiC;QAAuB;QAAsB;QAAqB;QAAwB;QAAyB;QAA4B;QAAgC;QAAgC;QAA+B;QAAgC;QAAwB;QAA2C;QAAsC;QAAwB;QAAkC;QAAkC;QAA8B;QAAsC;QAA8B;QAA+B;QAA0B;QAA6B;KAAgE;IAChvBC,GAAG;QAAC;QAA+B;KAAsC;IACzEC,GAAG;QAAC;KAA8B;AACpC;AAIO,MAAM/B,sCAAsCgC,CAAAA,QAAS;IAC1D,MAAMC,SAAS/B;IACf8B,MAAM/B,IAAI,CAACiC,SAAS,GAAGC,IAAAA,mBAAY,EAACpC,4BAA4BE,IAAI,EAAEgC,OAAOhC,IAAI,EAAE+B,MAAM/B,IAAI,CAACiC,SAAS;IACvG,OAAOF;AACT,GACA,6DAA6D"}
1
+ {"version":3,"sources":["useTableResizeHandleStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const tableResizeHandleClassNames = {\n root: 'fui-TableResizeHandle'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n Bhzewxz: \"f15twtuk\",\n B5kzvoi: \"f1yab3r1\",\n a9b677: \"fjw5fx7\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"fn2i5td\", \"f1eybr6b\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1eybr6b\", \"fn2i5td\"],\n Bceei9c: \"fc3en1c\",\n abs64n: \"fk73vx1\",\n Bmy1vo4: \"f13u1uyl\",\n B3o57yi: \"fezquic\",\n Bj3rh1h: \"f19g0ac\",\n B3cna0y: \"f1tkae59\",\n Brovlpu: \"ftqa4ok\",\n B7zu5sd: \"f15pjodv\",\n Bs6t6z0: \"ftgrb5f\",\n Fdvyjd: \"f2df6js\",\n Biobvvw: \"fshsryb\",\n Hdbjpj: \"f11ef69\",\n jc51t6: [\"f12lb1dx\", \"f13tbxeo\"],\n u6d25: \"fu4ulse\",\n Bj55yzk: \"fw2wsqs\",\n Bkbwdz4: \"f1swzn7y\"\n }\n}, {\n d: [\".f1euv43f{position:absolute;}\", \".f1e31b4d{right:0;}\", \".f1vgc2s3{left:0;}\", \".f15twtuk{top:0;}\", \".f1yab3r1{bottom:0;}\", \".fjw5fx7{width:16px;}\", \".f1hu3pq6{margin-top:0;}\", \".fn2i5td{margin-right:-8px;}\", \".f1eybr6b{margin-left:-8px;}\", \".f19f4twv{margin-bottom:0;}\", \".fc3en1c{cursor:col-resize;}\", \".fk73vx1{opacity:0;}\", \".f13u1uyl{transition-property:opacity;}\", \".fezquic{transition-duration:.2s;}\", \".f19g0ac{z-index:1;}\", \".ftgrb5f:after{content:\\\" \\\";}\", \".f2df6js:after{display:block;}\", \".fshsryb:after{width:1px;}\", \".f11ef69:after{position:absolute;}\", \".f12lb1dx:after{left:50%;}\", \".f13tbxeo:after{right:50%;}\", \".fu4ulse:after{top:0;}\", \".fw2wsqs:after{bottom:0;}\", \".f1swzn7y:after{background-color:var(--colorNeutralStroke1);}\"],\n f: [\".f1tkae59:focus{opacity:1;}\", \".ftqa4ok:focus{outline-style:none;}\"],\n h: [\".f15pjodv:hover{opacity:1;}\"]\n});\n/**\n * Apply styling to the TableResizeHandle slots based on the state\n */\nexport const useTableResizeHandleStyles_unstable = state => {\n const styles = useStyles();\n state.root.className = mergeClasses(tableResizeHandleClassNames.root, styles.root, state.root.className);\n return state;\n};\n//# sourceMappingURL=useTableResizeHandleStyles.styles.js.map"],"names":["tableResizeHandleClassNames","useTableResizeHandleStyles_unstable","root","useStyles","__styles","qhf8xq","j35jbq","Bhzewxz","B5kzvoi","a9b677","B6of3ja","t21cq0","jrapky","Frg6f3","Bceei9c","abs64n","Bmy1vo4","B3o57yi","Bj3rh1h","B3cna0y","Brovlpu","B7zu5sd","Bs6t6z0","Fdvyjd","Biobvvw","Hdbjpj","jc51t6","u6d25","Bj55yzk","Bkbwdz4","d","f","h","state","styles","className","mergeClasses"],"mappings":";;;;;;;;;;;IAEaA,2BAA2B;eAA3BA;;IA0CAC,mCAAmC;eAAnCA;;;uBA5CsC;AAE5C,MAAMD,8BAA8B;IACzCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACtCF,MAAM;QACJG,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAU;QAC/BC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;YAAC;YAAY;SAAW;QAChCC,OAAO;QACPC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAiC;QAAuB;QAAsB;QAAqB;QAAwB;QAAyB;QAA4B;QAAgC;QAAgC;QAA+B;QAAgC;QAAwB;QAA2C;QAAsC;QAAwB;QAAkC;QAAkC;QAA8B;QAAsC;QAA8B;QAA+B;QAA0B;QAA6B;KAAgE;IAChvBC,GAAG;QAAC;QAA+B;KAAsC;IACzEC,GAAG;QAAC;KAA8B;AACpC;AAIO,MAAM/B,sCAAsCgC,CAAAA;IACjD,MAAMC,SAAS/B;IACf8B,MAAM/B,IAAI,CAACiC,SAAS,GAAGC,IAAAA,mBAAY,EAACpC,4BAA4BE,IAAI,EAAEgC,OAAOhC,IAAI,EAAE+B,MAAM/B,IAAI,CAACiC,SAAS;IACvG,OAAOF;AACT,GACA,6DAA6D"}
@@ -4,18 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "TableRow", {
6
6
  enumerable: true,
7
- get: ()=>TableRow
7
+ get: function() {
8
+ return TableRow;
9
+ }
8
10
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
11
13
  const _useTableRow = require("./useTableRow");
12
14
  const _renderTableRow = require("./renderTableRow");
13
- const _useTableRowStylesStyles = require("./useTableRowStyles.styles");
14
- const _reactSharedContexts = require("@fluentui/react-shared-contexts");
15
+ const _useTableRowStylesstyles = require("./useTableRowStyles.styles");
16
+ const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
15
17
  const TableRow = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
16
18
  const state = (0, _useTableRow.useTableRow_unstable)(props, ref);
17
- (0, _useTableRowStylesStyles.useTableRowStyles_unstable)(state);
18
- (0, _reactSharedContexts.useCustomStyleHook_unstable)('useTableRowStyles_unstable')(state);
19
+ (0, _useTableRowStylesstyles.useTableRowStyles_unstable)(state);
20
+ (0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTableRowStyles_unstable')(state);
19
21
  return (0, _renderTableRow.renderTableRow_unstable)(state);
20
22
  });
21
23
  TableRow.displayName = 'TableRow';
@@ -1 +1 @@
1
- {"version":3,"sources":["TableRow.js"],"sourcesContent":["import * as React from 'react';\nimport { useTableRow_unstable } from './useTableRow';\nimport { renderTableRow_unstable } from './renderTableRow';\nimport { useTableRowStyles_unstable } from './useTableRowStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * TableRow component\n */ export const TableRow = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useTableRow_unstable(props, ref);\n useTableRowStyles_unstable(state);\n useCustomStyleHook_unstable('useTableRowStyles_unstable')(state);\n return renderTableRow_unstable(state);\n});\nTableRow.displayName = 'TableRow';\n"],"names":["TableRow","React","forwardRef","props","ref","state","useTableRow_unstable","useTableRowStyles_unstable","useCustomStyleHook_unstable","renderTableRow_unstable","displayName"],"mappings":";;;;+BAOiBA;;aAAAA;;;6DAPM;6BACc;gCACG;yCACG;qCACC;AAGjC,MAAMA,WAAW,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IACrE,MAAMC,QAAQC,IAAAA,iCAAoB,EAACH,OAAOC;IAC1CG,IAAAA,mDAA0B,EAACF;IAC3BG,IAAAA,gDAA2B,EAAC,8BAA8BH;IAC1D,OAAOI,IAAAA,uCAAuB,EAACJ;AACnC;AACAL,SAASU,WAAW,GAAG"}
1
+ {"version":3,"sources":["TableRow.js"],"sourcesContent":["import * as React from 'react';\nimport { useTableRow_unstable } from './useTableRow';\nimport { renderTableRow_unstable } from './renderTableRow';\nimport { useTableRowStyles_unstable } from './useTableRowStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * TableRow component\n */ export const TableRow = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useTableRow_unstable(props, ref);\n useTableRowStyles_unstable(state);\n useCustomStyleHook_unstable('useTableRowStyles_unstable')(state);\n return renderTableRow_unstable(state);\n});\nTableRow.displayName = 'TableRow';\n"],"names":["TableRow","React","forwardRef","props","ref","state","useTableRow_unstable","useTableRowStyles_unstable","useCustomStyleHook_unstable","renderTableRow_unstable","displayName"],"mappings":";;;;+BAOiBA;;;eAAAA;;;;iEAPM;6BACc;gCACG;yCACG;qCACC;AAGjC,MAAMA,WAAW,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC/D,MAAMC,QAAQC,IAAAA,iCAAoB,EAACH,OAAOC;IAC1CG,IAAAA,mDAA0B,EAACF;IAC3BG,IAAAA,gDAA2B,EAAC,8BAA8BH;IAC1D,OAAOI,IAAAA,uCAAuB,EAACJ;AACnC;AACAL,SAASU,WAAW,GAAG"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./TableRow"), exports);
7
- _exportStar(require("./TableRow.types"), exports);
8
- _exportStar(require("./renderTableRow"), exports);
9
- _exportStar(require("./useTableRow"), exports);
10
- _exportStar(require("./useTableRowStyles.styles"), exports);
5
+ const _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./TableRow"), exports);
7
+ _export_star._(require("./TableRow.types"), exports);
8
+ _export_star._(require("./renderTableRow"), exports);
9
+ _export_star._(require("./useTableRow"), exports);
10
+ _export_star._(require("./useTableRowStyles.styles"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './TableRow';\nexport * from './TableRow.types';\nexport * from './renderTableRow';\nexport * from './useTableRow';\nexport * from './useTableRowStyles.styles';\n"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './TableRow';\nexport * from './TableRow.types';\nexport * from './renderTableRow';\nexport * from './useTableRow';\nexport * from './useTableRowStyles.styles';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
@@ -1,14 +1,16 @@
1
- /** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
1
+ /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  Object.defineProperty(exports, "renderTableRow_unstable", {
6
6
  enumerable: true,
7
- get: ()=>renderTableRow_unstable
7
+ get: function() {
8
+ return renderTableRow_unstable;
9
+ }
8
10
  });
9
- const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
10
- const _reactUtilities = require("@fluentui/react-utilities");
11
+ const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
12
+ const _reactutilities = require("@fluentui/react-utilities");
11
13
  const renderTableRow_unstable = (state)=>{
12
- (0, _reactUtilities.assertSlots)(state);
13
- return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(state.root, null);
14
+ (0, _reactutilities.assertSlots)(state);
15
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(state.root, {});
14
16
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["renderTableRow.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of TableRow\n */ export const renderTableRow_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ createElement(state.root, null);\n};\n"],"names":["renderTableRow_unstable","state","assertSlots","createElement","root"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACvD;AAGjB,MAAMA,0BAA0B,CAACC,QAAQ;IAChDC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,8BAAa,EAACF,MAAMG,IAAI,EAAE,IAAI;AACvD"}
1
+ {"version":3,"sources":["renderTableRow.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of TableRow\n */ export const renderTableRow_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ _jsx(state.root, {});\n};\n"],"names":["renderTableRow_unstable","state","assertSlots","_jsx","root"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ4F;gCACjF;AAGjB,MAAMA,0BAA0B,CAACC;IACxCC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,eAAI,EAACF,MAAMG,IAAI,EAAE,CAAC;AAC3C"}
@@ -4,28 +4,30 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "useTableRow_unstable", {
6
6
  enumerable: true,
7
- get: ()=>useTableRow_unstable
7
+ get: function() {
8
+ return useTableRow_unstable;
9
+ }
8
10
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
- const _reactUtilities = require("@fluentui/react-utilities");
12
- const _reactTabster = require("@fluentui/react-tabster");
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _reactutilities = require("@fluentui/react-utilities");
14
+ const _reacttabster = require("@fluentui/react-tabster");
13
15
  const _tableContext = require("../../contexts/tableContext");
14
16
  const _tableHeaderContext = require("../../contexts/tableHeaderContext");
15
17
  const useTableRow_unstable = (props, ref)=>{
16
- const { noNativeElements , size } = (0, _tableContext.useTableContext)();
18
+ const { noNativeElements, size } = (0, _tableContext.useTableContext)();
17
19
  var _props_as;
18
20
  const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : noNativeElements) ? 'div' : 'tr';
19
- const focusVisibleRef = (0, _reactTabster.useFocusVisible)();
20
- const focusWithinRef = (0, _reactTabster.useFocusWithin)();
21
+ const focusVisibleRef = (0, _reacttabster.useFocusVisible)();
22
+ const focusWithinRef = (0, _reacttabster.useFocusWithin)();
21
23
  const isHeaderRow = (0, _tableHeaderContext.useIsInTableHeader)();
22
24
  var _props_appearance;
23
25
  return {
24
26
  components: {
25
27
  root: rootComponent
26
28
  },
27
- root: _reactUtilities.slot.always((0, _reactUtilities.getNativeElementProps)(rootComponent, {
28
- ref: (0, _reactUtilities.useMergedRefs)(ref, focusVisibleRef, focusWithinRef),
29
+ root: _reactutilities.slot.always((0, _reactutilities.getNativeElementProps)(rootComponent, {
30
+ ref: (0, _reactutilities.useMergedRefs)(ref, focusVisibleRef, focusWithinRef),
29
31
  role: rootComponent === 'div' ? 'row' : undefined,
30
32
  ...props
31
33
  }), {
@@ -1 +1 @@
1
- {"version":3,"sources":["useTableRow.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs, slot } from '@fluentui/react-utilities';\nimport { useFocusVisible, useFocusWithin } from '@fluentui/react-tabster';\nimport { useTableContext } from '../../contexts/tableContext';\nimport { useIsInTableHeader } from '../../contexts/tableHeaderContext';\n/**\n * Create the state required to render TableRow.\n *\n * The returned state can be modified with hooks such as useTableRowStyles_unstable,\n * before being passed to renderTableRow_unstable.\n *\n * @param props - props from this instance of TableRow\n * @param ref - reference to root HTMLElement of TableRow\n */ export const useTableRow_unstable = (props, ref)=>{\n const { noNativeElements , size } = useTableContext();\n var _props_as;\n const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : noNativeElements) ? 'div' : 'tr';\n const focusVisibleRef = useFocusVisible();\n const focusWithinRef = useFocusWithin();\n const isHeaderRow = useIsInTableHeader();\n var _props_appearance;\n return {\n components: {\n root: rootComponent\n },\n root: slot.always(getNativeElementProps(rootComponent, {\n ref: useMergedRefs(ref, focusVisibleRef, focusWithinRef),\n role: rootComponent === 'div' ? 'row' : undefined,\n ...props\n }), {\n elementType: rootComponent\n }),\n size,\n noNativeElements,\n appearance: (_props_appearance = props.appearance) !== null && _props_appearance !== void 0 ? _props_appearance : 'none',\n isHeaderRow\n };\n};\n"],"names":["useTableRow_unstable","props","ref","noNativeElements","size","useTableContext","_props_as","rootComponent","as","focusVisibleRef","useFocusVisible","focusWithinRef","useFocusWithin","isHeaderRow","useIsInTableHeader","_props_appearance","components","root","slot","always","getNativeElementProps","useMergedRefs","role","undefined","elementType","appearance"],"mappings":";;;;+BAaiBA;;aAAAA;;;6DAbM;gCACoC;8BACX;8BAChB;oCACG;AASxB,MAAMA,uBAAuB,CAACC,OAAOC,MAAM;IAClD,MAAM,EAAEC,iBAAgB,EAAGC,KAAI,EAAG,GAAGC,IAAAA,6BAAe;IACpD,IAAIC;IACJ,MAAMC,gBAAgB,AAAC,CAAA,AAACD,CAAAA,YAAYL,MAAMO,EAAE,AAAD,MAAO,IAAI,IAAIF,cAAc,KAAK,IAAIA,YAAYH,gBAAgB,AAAD,IAAK,QAAQ,IAAI;IAC7H,MAAMM,kBAAkBC,IAAAA,6BAAe;IACvC,MAAMC,iBAAiBC,IAAAA,4BAAc;IACrC,MAAMC,cAAcC,IAAAA,sCAAkB;IACtC,IAAIC;IACJ,OAAO;QACHC,YAAY;YACRC,MAAMV;QACV;QACAU,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,qCAAqB,EAACb,eAAe;YACnDL,KAAKmB,IAAAA,6BAAa,EAACnB,KAAKO,iBAAiBE;YACzCW,MAAMf,kBAAkB,QAAQ,QAAQgB,SAAS;YACjD,GAAGtB,KAAK;QACZ,IAAI;YACAuB,aAAajB;QACjB;QACAH;QACAD;QACAsB,YAAY,AAACV,CAAAA,oBAAoBd,MAAMwB,UAAU,AAAD,MAAO,IAAI,IAAIV,sBAAsB,KAAK,IAAIA,oBAAoB,MAAM;QACxHF;IACJ;AACJ"}
1
+ {"version":3,"sources":["useTableRow.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, useMergedRefs, slot } from '@fluentui/react-utilities';\nimport { useFocusVisible, useFocusWithin } from '@fluentui/react-tabster';\nimport { useTableContext } from '../../contexts/tableContext';\nimport { useIsInTableHeader } from '../../contexts/tableHeaderContext';\n/**\n * Create the state required to render TableRow.\n *\n * The returned state can be modified with hooks such as useTableRowStyles_unstable,\n * before being passed to renderTableRow_unstable.\n *\n * @param props - props from this instance of TableRow\n * @param ref - reference to root HTMLElement of TableRow\n */ export const useTableRow_unstable = (props, ref)=>{\n const { noNativeElements, size } = useTableContext();\n var _props_as;\n const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : noNativeElements) ? 'div' : 'tr';\n const focusVisibleRef = useFocusVisible();\n const focusWithinRef = useFocusWithin();\n const isHeaderRow = useIsInTableHeader();\n var _props_appearance;\n return {\n components: {\n root: rootComponent\n },\n root: slot.always(getNativeElementProps(rootComponent, {\n ref: useMergedRefs(ref, focusVisibleRef, focusWithinRef),\n role: rootComponent === 'div' ? 'row' : undefined,\n ...props\n }), {\n elementType: rootComponent\n }),\n size,\n noNativeElements,\n appearance: (_props_appearance = props.appearance) !== null && _props_appearance !== void 0 ? _props_appearance : 'none',\n isHeaderRow\n };\n};\n"],"names":["useTableRow_unstable","props","ref","noNativeElements","size","useTableContext","_props_as","rootComponent","as","focusVisibleRef","useFocusVisible","focusWithinRef","useFocusWithin","isHeaderRow","useIsInTableHeader","_props_appearance","components","root","slot","always","getNativeElementProps","useMergedRefs","role","undefined","elementType","appearance"],"mappings":";;;;+BAaiBA;;;eAAAA;;;;iEAbM;gCACoC;8BACX;8BAChB;oCACG;AASxB,MAAMA,uBAAuB,CAACC,OAAOC;IAC5C,MAAM,EAAEC,gBAAgB,EAAEC,IAAI,EAAE,GAAGC,IAAAA,6BAAe;IAClD,IAAIC;IACJ,MAAMC,gBAAgB,AAAC,CAAA,AAACD,CAAAA,YAAYL,MAAMO,EAAE,AAAD,MAAO,QAAQF,cAAc,KAAK,IAAIA,YAAYH,gBAAe,IAAK,QAAQ;IACzH,MAAMM,kBAAkBC,IAAAA,6BAAe;IACvC,MAAMC,iBAAiBC,IAAAA,4BAAc;IACrC,MAAMC,cAAcC,IAAAA,sCAAkB;IACtC,IAAIC;IACJ,OAAO;QACHC,YAAY;YACRC,MAAMV;QACV;QACAU,MAAMC,oBAAI,CAACC,MAAM,CAACC,IAAAA,qCAAqB,EAACb,eAAe;YACnDL,KAAKmB,IAAAA,6BAAa,EAACnB,KAAKO,iBAAiBE;YACzCW,MAAMf,kBAAkB,QAAQ,QAAQgB;YACxC,GAAGtB,KAAK;QACZ,IAAI;YACAuB,aAAajB;QACjB;QACAH;QACAD;QACAsB,YAAY,AAACV,CAAAA,oBAAoBd,MAAMwB,UAAU,AAAD,MAAO,QAAQV,sBAAsB,KAAK,IAAIA,oBAAoB;QAClHF;IACJ;AACJ"}
@@ -9,16 +9,22 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- tableRowClassName: ()=>tableRowClassName,
13
- tableRowClassNames: ()=>tableRowClassNames,
14
- useTableRowStyles_unstable: ()=>useTableRowStyles_unstable
12
+ tableRowClassName: function() {
13
+ return tableRowClassName;
14
+ },
15
+ tableRowClassNames: function() {
16
+ return tableRowClassNames;
17
+ },
18
+ useTableRowStyles_unstable: function() {
19
+ return useTableRowStyles_unstable;
20
+ }
15
21
  });
16
22
  const _react = require("@griffel/react");
17
23
  const tableRowClassName = 'fui-TableRow';
18
24
  const tableRowClassNames = {
19
25
  root: tableRowClassName
20
26
  };
21
- const useTableLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
27
+ const useTableLayoutStyles = /*#__PURE__*/ (0, _react.__styles)({
22
28
  root: {
23
29
  mc9l5x: "f1u0rzck"
24
30
  }
@@ -27,7 +33,7 @@ const useTableLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
27
33
  ".f1u0rzck{display:table-row;}"
28
34
  ]
29
35
  });
30
- const useFlexLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
36
+ const useFlexLayoutStyles = /*#__PURE__*/ (0, _react.__styles)({
31
37
  root: {
32
38
  mc9l5x: "f22iagw",
33
39
  Bt984gj: "f122n59"
@@ -40,7 +46,7 @@ const useFlexLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
40
46
  });
41
47
  /**
42
48
  * Styles for the root slot
43
- */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
49
+ */ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
44
50
  root: {
45
51
  sj55zd: "f19n0e5",
46
52
  B7ck84d: "f1ewtqcl",
@@ -1 +1 @@
1
- {"version":3,"sources":["useTableRowStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { tableCellActionsClassNames } from '../TableCellActions/useTableCellActionsStyles.styles';\nimport { tableSelectionCellClassNames } from '../TableSelectionCell/useTableSelectionCellStyles.styles';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nexport const tableRowClassName = 'fui-TableRow';\nexport const tableRowClassNames = {\n root: tableRowClassName\n};\nconst useTableLayoutStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f1u0rzck\"\n }\n}, {\n d: [\".f1u0rzck{display:table-row;}\"]\n});\nconst useFlexLayoutStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n Bt984gj: \"f122n59\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f122n59{align-items:center;}\"]\n});\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n sj55zd: \"f19n0e5\",\n B7ck84d: \"f1ewtqcl\",\n Bconypa: \"f1jazu75\",\n B6guboy: \"f1xeqee6\",\n Bn4voq9: \"fz36nt7\",\n g9k6zt: \"f9znhxp\",\n Bfpq7zp: \"fqrak0z\",\n kdpuga: [\"f1o2ludy\", \"f1kjnpwc\"],\n Bw81rd7: [\"f1kjnpwc\", \"f1o2ludy\"],\n B6xbmo0: [\"fxmnebo\", \"f1witrsb\"],\n dm238s: [\"f1witrsb\", \"fxmnebo\"]\n },\n noAppearanceFocusWithin: {\n Bm5rygw: \"f13cic75\"\n },\n rootInteractive: {\n ecr2s2: \"f1wfn5kd\",\n lj723h: \"f1g4hkjv\",\n B43xm9u: \"f15ngxrw\",\n i921ia: \"fjbbrdp\",\n Jwef8y: \"f1t94bn6\",\n Bi91k9c: \"feu1g3u\",\n Bpt6rm4: \"f1uorfem\",\n ff6mpl: \"fw60kww\"\n },\n medium: {\n Bn0qgzm: \"f1vxd6vx\",\n oivjwe: \"fg706s2\",\n B9xav0g: \"frpde29\"\n },\n small: {\n Bn0qgzm: \"f1vxd6vx\",\n oivjwe: \"fg706s2\",\n B9xav0g: \"frpde29\"\n },\n \"extra-small\": {\n Be2twd7: \"fy9rknc\"\n },\n brand: {\n De3pzq: \"f16xkysk\",\n g2u3we: \"f1bh3yvw\",\n h3c5rm: [\"fmi79ni\", \"f11fozsx\"],\n B9xav0g: \"fnzw4c6\",\n zhjwy3: [\"f11fozsx\", \"fmi79ni\"],\n ecr2s2: \"ftepret\",\n gwxt9v: \"fqlf3fd\",\n v3aym: [\"f9dpb3h\", \"fw2muls\"],\n Bc736ss: \"f1yat0gj\",\n Bk6ri7n: [\"fw2muls\", \"f9dpb3h\"],\n Bk5ld8o: \"f7nae3y\",\n c4eypz: [\"fkbere7\", \"fa97sf3\"],\n felo30: \"fmtyzcc\",\n Eshu5l: [\"fa97sf3\", \"fkbere7\"],\n Bjwas2f: \"fb6zhgp\",\n Bn1d65q: [\"fyowp6c\", \"fz08sq8\"],\n Bxeuatn: \"f9dii88\",\n n51gp8: [\"fz08sq8\", \"fyowp6c\"],\n Beo2b4z: [\"f1afxoft\", \"flqq2yx\"],\n h6lo6r: [\"flqq2yx\", \"f1afxoft\"],\n Btyw6ap: [\"f1b5xrmd\", \"f1831rx6\"],\n w1pwid: [\"f1831rx6\", \"f1b5xrmd\"],\n Brwvgy3: \"fd94n53\",\n yadkgm: \"f1e0wld5\"\n },\n neutral: {\n gwxt9v: \"fqlf3fd\",\n v3aym: [\"f9dpb3h\", \"fw2muls\"],\n Bc736ss: \"f1yat0gj\",\n Bk6ri7n: [\"fw2muls\", \"f9dpb3h\"],\n Bk5ld8o: \"f7nae3y\",\n c4eypz: [\"fkbere7\", \"fa97sf3\"],\n felo30: \"fmtyzcc\",\n Eshu5l: [\"fa97sf3\", \"fkbere7\"],\n Bjwas2f: \"fb6zhgp\",\n Bn1d65q: [\"fyowp6c\", \"fz08sq8\"],\n Bxeuatn: \"f9dii88\",\n n51gp8: [\"fz08sq8\", \"fyowp6c\"],\n Beo2b4z: [\"f1afxoft\", \"flqq2yx\"],\n h6lo6r: [\"flqq2yx\", \"f1afxoft\"],\n Btyw6ap: [\"f1b5xrmd\", \"f1831rx6\"],\n w1pwid: [\"f1831rx6\", \"f1b5xrmd\"],\n Brwvgy3: \"fd94n53\",\n yadkgm: \"f1e0wld5\",\n De3pzq: \"fq5gl1p\",\n sj55zd: \"f1cgsbmv\",\n Jwef8y: \"f1uqaxdt\",\n ecr2s2: \"fa9o754\",\n g2u3we: \"frmsihh\",\n h3c5rm: [\"frttxa5\", \"f11o2r7f\"],\n B9xav0g: \"fem5et0\",\n zhjwy3: [\"f11o2r7f\", \"frttxa5\"]\n },\n none: {}\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1ewtqcl{box-sizing:border-box;}\", \".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}\", \".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}\", \".fz36nt7[data-fui-focus-visible]{outline-width:2px;}\", \".f9znhxp[data-fui-focus-visible]{outline-style:solid;}\", \".fqrak0z[data-fui-focus-visible]{outline-color:var(--colorStrokeFocus2);}\", \".f1o2ludy[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusMedium);}\", \".f1kjnpwc[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusMedium);}\", \".fxmnebo[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusMedium);}\", \".f1witrsb[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusMedium);}\", \".f13cic75[data-fui-focus-within]:focus-within{background-color:var(--colorSubtleBackgroundHover);}\", \".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}\", \".fg706s2{border-bottom-style:solid;}\", \".frpde29{border-bottom-color:var(--colorNeutralStroke2);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".f16xkysk{background-color:var(--colorBrandBackground2);}\", \".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}\", \".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}\", \".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}\", \".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}\", \".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}\", \".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}\", \".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}\", \".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}\", \".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}\", \".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}\"],\n a: [\".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}\", \".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}\", \".f15ngxrw:active .fui-TableCellActions{opacity:1;}\", \".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}\", \".ftepret:active{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}\"],\n h: [\".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}\", \".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}\", \".f1uorfem:hover .fui-TableCellActions{opacity:1;}\", \".fw60kww:hover .fui-TableSelectionCell{opacity:1;}\", \".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}\"],\n m: [[\"@media (forced-colors: active){.fqlf3fd{border-top-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f9dpb3h{border-right-width:2px;}.fw2muls{border-left-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yat0gj{border-bottom-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f7nae3y{border-top-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fa97sf3{border-left-style:solid;}.fkbere7{border-right-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fmtyzcc{border-bottom-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fb6zhgp{border-top-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fyowp6c{border-right-color:transparent;}.fz08sq8{border-left-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f9dii88{border-bottom-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1afxoft{border-bottom-right-radius:var(--borderRadiusMedium);}.flqq2yx{border-bottom-left-radius:var(--borderRadiusMedium);}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1831rx6{border-top-left-radius:var(--borderRadiusMedium);}.f1b5xrmd{border-top-right-radius:var(--borderRadiusMedium);}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\n/**\n * Apply styling to the TableRow slots based on the state\n */\nexport const useTableRowStyles_unstable = state => {\n const styles = useStyles();\n const layoutStyles = {\n table: useTableLayoutStyles(),\n flex: useFlexLayoutStyles()\n };\n state.root.className = mergeClasses(tableRowClassNames.root, styles.root, !state.isHeaderRow && styles.rootInteractive, styles[state.size], state.noNativeElements ? layoutStyles.flex.root : layoutStyles.table.root, styles[state.appearance], state.appearance === 'none' && !state.isHeaderRow && styles.noAppearanceFocusWithin, state.root.className);\n return state;\n};\n//# sourceMappingURL=useTableRowStyles.styles.js.map"],"names":["tableRowClassName","tableRowClassNames","useTableRowStyles_unstable","root","useTableLayoutStyles","__styles","mc9l5x","d","useFlexLayoutStyles","Bt984gj","useStyles","sj55zd","B7ck84d","Bconypa","B6guboy","Bn4voq9","g9k6zt","Bfpq7zp","kdpuga","Bw81rd7","B6xbmo0","dm238s","noAppearanceFocusWithin","Bm5rygw","rootInteractive","ecr2s2","lj723h","B43xm9u","i921ia","Jwef8y","Bi91k9c","Bpt6rm4","ff6mpl","medium","Bn0qgzm","oivjwe","B9xav0g","small","Be2twd7","brand","De3pzq","g2u3we","h3c5rm","zhjwy3","gwxt9v","v3aym","Bc736ss","Bk6ri7n","Bk5ld8o","c4eypz","felo30","Eshu5l","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","Beo2b4z","h6lo6r","Btyw6ap","w1pwid","Brwvgy3","yadkgm","neutral","none","a","h","m","state","styles","layoutStyles","table","flex","className","mergeClasses","isHeaderRow","size","noNativeElements","appearance"],"mappings":"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"}
1
+ {"version":3,"sources":["useTableRowStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { tableCellActionsClassNames } from '../TableCellActions/useTableCellActionsStyles.styles';\nimport { tableSelectionCellClassNames } from '../TableSelectionCell/useTableSelectionCellStyles.styles';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nexport const tableRowClassName = 'fui-TableRow';\nexport const tableRowClassNames = {\n root: tableRowClassName\n};\nconst useTableLayoutStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f1u0rzck\"\n }\n}, {\n d: [\".f1u0rzck{display:table-row;}\"]\n});\nconst useFlexLayoutStyles = /*#__PURE__*/__styles({\n root: {\n mc9l5x: \"f22iagw\",\n Bt984gj: \"f122n59\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f122n59{align-items:center;}\"]\n});\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n sj55zd: \"f19n0e5\",\n B7ck84d: \"f1ewtqcl\",\n Bconypa: \"f1jazu75\",\n B6guboy: \"f1xeqee6\",\n Bn4voq9: \"fz36nt7\",\n g9k6zt: \"f9znhxp\",\n Bfpq7zp: \"fqrak0z\",\n kdpuga: [\"f1o2ludy\", \"f1kjnpwc\"],\n Bw81rd7: [\"f1kjnpwc\", \"f1o2ludy\"],\n B6xbmo0: [\"fxmnebo\", \"f1witrsb\"],\n dm238s: [\"f1witrsb\", \"fxmnebo\"]\n },\n noAppearanceFocusWithin: {\n Bm5rygw: \"f13cic75\"\n },\n rootInteractive: {\n ecr2s2: \"f1wfn5kd\",\n lj723h: \"f1g4hkjv\",\n B43xm9u: \"f15ngxrw\",\n i921ia: \"fjbbrdp\",\n Jwef8y: \"f1t94bn6\",\n Bi91k9c: \"feu1g3u\",\n Bpt6rm4: \"f1uorfem\",\n ff6mpl: \"fw60kww\"\n },\n medium: {\n Bn0qgzm: \"f1vxd6vx\",\n oivjwe: \"fg706s2\",\n B9xav0g: \"frpde29\"\n },\n small: {\n Bn0qgzm: \"f1vxd6vx\",\n oivjwe: \"fg706s2\",\n B9xav0g: \"frpde29\"\n },\n \"extra-small\": {\n Be2twd7: \"fy9rknc\"\n },\n brand: {\n De3pzq: \"f16xkysk\",\n g2u3we: \"f1bh3yvw\",\n h3c5rm: [\"fmi79ni\", \"f11fozsx\"],\n B9xav0g: \"fnzw4c6\",\n zhjwy3: [\"f11fozsx\", \"fmi79ni\"],\n ecr2s2: \"ftepret\",\n gwxt9v: \"fqlf3fd\",\n v3aym: [\"f9dpb3h\", \"fw2muls\"],\n Bc736ss: \"f1yat0gj\",\n Bk6ri7n: [\"fw2muls\", \"f9dpb3h\"],\n Bk5ld8o: \"f7nae3y\",\n c4eypz: [\"fkbere7\", \"fa97sf3\"],\n felo30: \"fmtyzcc\",\n Eshu5l: [\"fa97sf3\", \"fkbere7\"],\n Bjwas2f: \"fb6zhgp\",\n Bn1d65q: [\"fyowp6c\", \"fz08sq8\"],\n Bxeuatn: \"f9dii88\",\n n51gp8: [\"fz08sq8\", \"fyowp6c\"],\n Beo2b4z: [\"f1afxoft\", \"flqq2yx\"],\n h6lo6r: [\"flqq2yx\", \"f1afxoft\"],\n Btyw6ap: [\"f1b5xrmd\", \"f1831rx6\"],\n w1pwid: [\"f1831rx6\", \"f1b5xrmd\"],\n Brwvgy3: \"fd94n53\",\n yadkgm: \"f1e0wld5\"\n },\n neutral: {\n gwxt9v: \"fqlf3fd\",\n v3aym: [\"f9dpb3h\", \"fw2muls\"],\n Bc736ss: \"f1yat0gj\",\n Bk6ri7n: [\"fw2muls\", \"f9dpb3h\"],\n Bk5ld8o: \"f7nae3y\",\n c4eypz: [\"fkbere7\", \"fa97sf3\"],\n felo30: \"fmtyzcc\",\n Eshu5l: [\"fa97sf3\", \"fkbere7\"],\n Bjwas2f: \"fb6zhgp\",\n Bn1d65q: [\"fyowp6c\", \"fz08sq8\"],\n Bxeuatn: \"f9dii88\",\n n51gp8: [\"fz08sq8\", \"fyowp6c\"],\n Beo2b4z: [\"f1afxoft\", \"flqq2yx\"],\n h6lo6r: [\"flqq2yx\", \"f1afxoft\"],\n Btyw6ap: [\"f1b5xrmd\", \"f1831rx6\"],\n w1pwid: [\"f1831rx6\", \"f1b5xrmd\"],\n Brwvgy3: \"fd94n53\",\n yadkgm: \"f1e0wld5\",\n De3pzq: \"fq5gl1p\",\n sj55zd: \"f1cgsbmv\",\n Jwef8y: \"f1uqaxdt\",\n ecr2s2: \"fa9o754\",\n g2u3we: \"frmsihh\",\n h3c5rm: [\"frttxa5\", \"f11o2r7f\"],\n B9xav0g: \"fem5et0\",\n zhjwy3: [\"f11o2r7f\", \"frttxa5\"]\n },\n none: {}\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1ewtqcl{box-sizing:border-box;}\", \".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}\", \".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}\", \".fz36nt7[data-fui-focus-visible]{outline-width:2px;}\", \".f9znhxp[data-fui-focus-visible]{outline-style:solid;}\", \".fqrak0z[data-fui-focus-visible]{outline-color:var(--colorStrokeFocus2);}\", \".f1o2ludy[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusMedium);}\", \".f1kjnpwc[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusMedium);}\", \".fxmnebo[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusMedium);}\", \".f1witrsb[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusMedium);}\", \".f13cic75[data-fui-focus-within]:focus-within{background-color:var(--colorSubtleBackgroundHover);}\", \".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}\", \".fg706s2{border-bottom-style:solid;}\", \".frpde29{border-bottom-color:var(--colorNeutralStroke2);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".f16xkysk{background-color:var(--colorBrandBackground2);}\", \".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}\", \".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}\", \".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}\", \".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}\", \".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}\", \".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}\", \".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}\", \".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}\", \".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}\", \".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}\"],\n a: [\".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}\", \".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}\", \".f15ngxrw:active .fui-TableCellActions{opacity:1;}\", \".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}\", \".ftepret:active{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}\"],\n h: [\".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}\", \".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}\", \".f1uorfem:hover .fui-TableCellActions{opacity:1;}\", \".fw60kww:hover .fui-TableSelectionCell{opacity:1;}\", \".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}\"],\n m: [[\"@media (forced-colors: active){.fqlf3fd{border-top-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f9dpb3h{border-right-width:2px;}.fw2muls{border-left-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yat0gj{border-bottom-width:2px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f7nae3y{border-top-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fa97sf3{border-left-style:solid;}.fkbere7{border-right-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fmtyzcc{border-bottom-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fb6zhgp{border-top-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fyowp6c{border-right-color:transparent;}.fz08sq8{border-left-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f9dii88{border-bottom-color:transparent;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1afxoft{border-bottom-right-radius:var(--borderRadiusMedium);}.flqq2yx{border-bottom-left-radius:var(--borderRadiusMedium);}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1831rx6{border-top-left-radius:var(--borderRadiusMedium);}.f1b5xrmd{border-top-right-radius:var(--borderRadiusMedium);}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fd94n53{box-sizing:border-box;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1e0wld5:focus-visible{outline-offset:-4px;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\n/**\n * Apply styling to the TableRow slots based on the state\n */\nexport const useTableRowStyles_unstable = state => {\n const styles = useStyles();\n const layoutStyles = {\n table: useTableLayoutStyles(),\n flex: useFlexLayoutStyles()\n };\n state.root.className = mergeClasses(tableRowClassNames.root, styles.root, !state.isHeaderRow && styles.rootInteractive, styles[state.size], state.noNativeElements ? layoutStyles.flex.root : layoutStyles.table.root, styles[state.appearance], state.appearance === 'none' && !state.isHeaderRow && styles.noAppearanceFocusWithin, state.root.className);\n return state;\n};\n//# sourceMappingURL=useTableRowStyles.styles.js.map"],"names":["tableRowClassName","tableRowClassNames","useTableRowStyles_unstable","root","useTableLayoutStyles","__styles","mc9l5x","d","useFlexLayoutStyles","Bt984gj","useStyles","sj55zd","B7ck84d","Bconypa","B6guboy","Bn4voq9","g9k6zt","Bfpq7zp","kdpuga","Bw81rd7","B6xbmo0","dm238s","noAppearanceFocusWithin","Bm5rygw","rootInteractive","ecr2s2","lj723h","B43xm9u","i921ia","Jwef8y","Bi91k9c","Bpt6rm4","ff6mpl","medium","Bn0qgzm","oivjwe","B9xav0g","small","Be2twd7","brand","De3pzq","g2u3we","h3c5rm","zhjwy3","gwxt9v","v3aym","Bc736ss","Bk6ri7n","Bk5ld8o","c4eypz","felo30","Eshu5l","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","Beo2b4z","h6lo6r","Btyw6ap","w1pwid","Brwvgy3","yadkgm","neutral","none","a","h","m","state","styles","layoutStyles","table","flex","className","mergeClasses","isHeaderRow","size","noNativeElements","appearance"],"mappings":";;;;;;;;;;;IAKaA,iBAAiB;eAAjBA;;IACAC,kBAAkB;eAAlBA;;IAuJAC,0BAA0B;eAA1BA;;;uBA7JsC;AAK5C,MAAMF,oBAAoB;AAC1B,MAAMC,qBAAqB;IAChCE,MAAMH;AACR;AACA,MAAMI,uBAAuB,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IACjDF,MAAM;QACJG,QAAQ;IACV;AACF,GAAG;IACDC,GAAG;QAAC;KAAgC;AACtC;AACA,MAAMC,sBAAsB,WAAW,GAAEH,IAAAA,eAAQ,EAAC;IAChDF,MAAM;QACJG,QAAQ;QACRG,SAAS;IACX;AACF,GAAG;IACDF,GAAG;QAAC;QAA2B;KAAgC;AACjE;AACA;;CAEC,GACD,MAAMG,YAAY,WAAW,GAAEL,IAAAA,eAAQ,EAAC;IACtCF,MAAM;QACJQ,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,SAAS;QACTC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;YAAC;YAAY;SAAW;QACjCC,SAAS;YAAC;YAAW;SAAW;QAChCC,QAAQ;YAAC;YAAY;SAAU;IACjC;IACAC,yBAAyB;QACvBC,SAAS;IACX;IACAC,iBAAiB;QACfC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;IACV;IACAC,QAAQ;QACNC,SAAS;QACTC,QAAQ;QACRC,SAAS;IACX;IACAC,OAAO;QACLH,SAAS;QACTC,QAAQ;QACRC,SAAS;IACX;IACA,eAAe;QACbE,SAAS;IACX;IACAC,OAAO;QACLC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAW;QAC/BN,SAAS;QACTO,QAAQ;YAAC;YAAY;SAAU;QAC/BlB,QAAQ;QACRmB,QAAQ;QACRC,OAAO;YAAC;YAAW;SAAU;QAC7BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;YAAC;YAAY;SAAU;QAChCC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,SAAS;YAAC;YAAY;SAAW;QACjCC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;QACTC,QAAQ;IACV;IACAC,SAAS;QACPlB,QAAQ;QACRC,OAAO;YAAC;YAAW;SAAU;QAC7BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;QACTC,SAAS;YAAC;YAAW;SAAU;QAC/BC,SAAS;QACTC,QAAQ;YAAC;YAAW;SAAU;QAC9BC,SAAS;YAAC;YAAY;SAAU;QAChCC,QAAQ;YAAC;YAAW;SAAW;QAC/BC,SAAS;YAAC;YAAY;SAAW;QACjCC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;QACTC,QAAQ;QACRrB,QAAQ;QACR7B,QAAQ;QACRkB,QAAQ;QACRJ,QAAQ;QACRgB,QAAQ;QACRC,QAAQ;YAAC;YAAW;SAAW;QAC/BN,SAAS;QACTO,QAAQ;YAAC;YAAY;SAAU;IACjC;IACAoB,MAAM,CAAC;AACT,GAAG;IACDxD,GAAG;QAAC;QAAmD;QAAqC;QAAqF;QAAmF;QAAwD;QAA0D;QAA6E;QAA4F;QAA2F;QAAwF;QAAwF;QAAsG;QAA0D;QAAwC;QAA6D;QAA+C;QAA6D;QAAyE;QAA0E;QAA0E;QAA2E;QAAoE;QAAyD;QAAgE;QAAkE;QAAkE;KAAkE;IACt0DyD,GAAG;QAAC;QAA2E;QAAkE;QAAsD;QAAuD;QAAkF;KAA0E;IAC1ZC,GAAG;QAAC;QAAwE;QAA8D;QAAqD;QAAsD;KAA0E;IAC/TC,GAAG;QAAC;YAAC;YAAmE;gBACtEA,GAAG;YACL;SAAE;QAAE;YAAC;YAAqG;gBACxGA,GAAG;YACL;SAAE;QAAE;YAAC;YAAuE;gBAC1EA,GAAG;YACL;SAAE;QAAE;YAAC;YAAqE;gBACxEA,GAAG;YACL;SAAE;QAAE;YAAC;YAAyG;gBAC5GA,GAAG;YACL;SAAE;QAAE;YAAC;YAAwE;gBAC3EA,GAAG;YACL;SAAE;QAAE;YAAC;YAA2E;gBAC9EA,GAAG;YACL;SAAE;QAAE;YAAC;YAAqH;gBACxHA,GAAG;YACL;SAAE;QAAE;YAAC;YAA8E;gBACjFA,GAAG;YACL;SAAE;QAAE;YAAC;YAAkK;gBACrKA,GAAG;YACL;SAAE;QAAE;YAAC;YAA6J;gBAChKA,GAAG;YACL;SAAE;QAAE;YAAC;YAAoE;gBACvEA,GAAG;YACL;SAAE;QAAE;YAAC;YAAiF;gBACpFA,GAAG;YACL;SAAE;KAAC;AACL;AAIO,MAAMhE,6BAA6BiE,CAAAA;IACxC,MAAMC,SAAS1D;IACf,MAAM2D,eAAe;QACnBC,OAAOlE;QACPmE,MAAM/D;IACR;IACA2D,MAAMhE,IAAI,CAACqE,SAAS,GAAGC,IAAAA,mBAAY,EAACxE,mBAAmBE,IAAI,EAAEiE,OAAOjE,IAAI,EAAE,CAACgE,MAAMO,WAAW,IAAIN,OAAO5C,eAAe,EAAE4C,MAAM,CAACD,MAAMQ,IAAI,CAAC,EAAER,MAAMS,gBAAgB,GAAGP,aAAaE,IAAI,CAACpE,IAAI,GAAGkE,aAAaC,KAAK,CAACnE,IAAI,EAAEiE,MAAM,CAACD,MAAMU,UAAU,CAAC,EAAEV,MAAMU,UAAU,KAAK,UAAU,CAACV,MAAMO,WAAW,IAAIN,OAAO9C,uBAAuB,EAAE6C,MAAMhE,IAAI,CAACqE,SAAS;IAC1V,OAAOL;AACT,GACA,oDAAoD"}
@@ -4,18 +4,20 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "TableSelectionCell", {
6
6
  enumerable: true,
7
- get: ()=>TableSelectionCell
7
+ get: function() {
8
+ return TableSelectionCell;
9
+ }
8
10
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
11
13
  const _useTableSelectionCell = require("./useTableSelectionCell");
12
14
  const _renderTableSelectionCell = require("./renderTableSelectionCell");
13
- const _useTableSelectionCellStylesStyles = require("./useTableSelectionCellStyles.styles");
14
- const _reactSharedContexts = require("@fluentui/react-shared-contexts");
15
+ const _useTableSelectionCellStylesstyles = require("./useTableSelectionCellStyles.styles");
16
+ const _reactsharedcontexts = require("@fluentui/react-shared-contexts");
15
17
  const TableSelectionCell = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
16
18
  const state = (0, _useTableSelectionCell.useTableSelectionCell_unstable)(props, ref);
17
- (0, _useTableSelectionCellStylesStyles.useTableSelectionCellStyles_unstable)(state);
18
- (0, _reactSharedContexts.useCustomStyleHook_unstable)('useTableSelectionCellStyles_unstable')(state);
19
+ (0, _useTableSelectionCellStylesstyles.useTableSelectionCellStyles_unstable)(state);
20
+ (0, _reactsharedcontexts.useCustomStyleHook_unstable)('useTableSelectionCellStyles_unstable')(state);
19
21
  return (0, _renderTableSelectionCell.renderTableSelectionCell_unstable)(state);
20
22
  });
21
23
  TableSelectionCell.displayName = 'TableSelectionCell';
@@ -1 +1 @@
1
- {"version":3,"sources":["TableSelectionCell.js"],"sourcesContent":["import * as React from 'react';\nimport { useTableSelectionCell_unstable } from './useTableSelectionCell';\nimport { renderTableSelectionCell_unstable } from './renderTableSelectionCell';\nimport { useTableSelectionCellStyles_unstable } from './useTableSelectionCellStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * TableSelectionCell component\n */ export const TableSelectionCell = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useTableSelectionCell_unstable(props, ref);\n useTableSelectionCellStyles_unstable(state);\n useCustomStyleHook_unstable('useTableSelectionCellStyles_unstable')(state);\n return renderTableSelectionCell_unstable(state);\n});\nTableSelectionCell.displayName = 'TableSelectionCell';\n"],"names":["TableSelectionCell","React","forwardRef","props","ref","state","useTableSelectionCell_unstable","useTableSelectionCellStyles_unstable","useCustomStyleHook_unstable","renderTableSelectionCell_unstable","displayName"],"mappings":";;;;+BAOiBA;;aAAAA;;;6DAPM;uCACwB;0CACG;mDACG;qCACT;AAGjC,MAAMA,qBAAqB,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IAC/E,MAAMC,QAAQC,IAAAA,qDAA8B,EAACH,OAAOC;IACpDG,IAAAA,uEAAoC,EAACF;IACrCG,IAAAA,gDAA2B,EAAC,wCAAwCH;IACpE,OAAOI,IAAAA,2DAAiC,EAACJ;AAC7C;AACAL,mBAAmBU,WAAW,GAAG"}
1
+ {"version":3,"sources":["TableSelectionCell.js"],"sourcesContent":["import * as React from 'react';\nimport { useTableSelectionCell_unstable } from './useTableSelectionCell';\nimport { renderTableSelectionCell_unstable } from './renderTableSelectionCell';\nimport { useTableSelectionCellStyles_unstable } from './useTableSelectionCellStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * TableSelectionCell component\n */ export const TableSelectionCell = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useTableSelectionCell_unstable(props, ref);\n useTableSelectionCellStyles_unstable(state);\n useCustomStyleHook_unstable('useTableSelectionCellStyles_unstable')(state);\n return renderTableSelectionCell_unstable(state);\n});\nTableSelectionCell.displayName = 'TableSelectionCell';\n"],"names":["TableSelectionCell","React","forwardRef","props","ref","state","useTableSelectionCell_unstable","useTableSelectionCellStyles_unstable","useCustomStyleHook_unstable","renderTableSelectionCell_unstable","displayName"],"mappings":";;;;+BAOiBA;;;eAAAA;;;;iEAPM;uCACwB;0CACG;mDACG;qCACT;AAGjC,MAAMA,qBAAqB,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IACzE,MAAMC,QAAQC,IAAAA,qDAA8B,EAACH,OAAOC;IACpDG,IAAAA,uEAAoC,EAACF;IACrCG,IAAAA,gDAA2B,EAAC,wCAAwCH;IACpE,OAAOI,IAAAA,2DAAiC,EAACJ;AAC7C;AACAL,mBAAmBU,WAAW,GAAG"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./TableSelectionCell"), exports);
7
- _exportStar(require("./TableSelectionCell.types"), exports);
8
- _exportStar(require("./renderTableSelectionCell"), exports);
9
- _exportStar(require("./useTableSelectionCell"), exports);
10
- _exportStar(require("./useTableSelectionCellStyles.styles"), exports);
5
+ const _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./TableSelectionCell"), exports);
7
+ _export_star._(require("./TableSelectionCell.types"), exports);
8
+ _export_star._(require("./renderTableSelectionCell"), exports);
9
+ _export_star._(require("./useTableSelectionCell"), exports);
10
+ _export_star._(require("./useTableSelectionCellStyles.styles"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './TableSelectionCell';\nexport * from './TableSelectionCell.types';\nexport * from './renderTableSelectionCell';\nexport * from './useTableSelectionCell';\nexport * from './useTableSelectionCellStyles.styles';\n"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './TableSelectionCell';\nexport * from './TableSelectionCell.types';\nexport * from './renderTableSelectionCell';\nexport * from './useTableSelectionCell';\nexport * from './useTableSelectionCellStyles.styles';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA;uBACA;uBACA"}
@@ -1,14 +1,21 @@
1
- /** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
1
+ /** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
5
  Object.defineProperty(exports, "renderTableSelectionCell_unstable", {
6
6
  enumerable: true,
7
- get: ()=>renderTableSelectionCell_unstable
7
+ get: function() {
8
+ return renderTableSelectionCell_unstable;
9
+ }
8
10
  });
9
- const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
10
- const _reactUtilities = require("@fluentui/react-utilities");
11
+ const _jsxruntime = require("@fluentui/react-jsx-runtime/jsx-runtime");
12
+ const _reactutilities = require("@fluentui/react-utilities");
11
13
  const renderTableSelectionCell_unstable = (state)=>{
12
- (0, _reactUtilities.assertSlots)(state);
13
- return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(state.root, null, state.type === 'checkbox' && state.checkboxIndicator && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(state.checkboxIndicator, null), state.type === 'radio' && state.radioIndicator && /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(state.radioIndicator, null));
14
+ (0, _reactutilities.assertSlots)(state);
15
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(state.root, {
16
+ children: [
17
+ state.type === 'checkbox' && state.checkboxIndicator && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.checkboxIndicator, {}),
18
+ state.type === 'radio' && state.radioIndicator && /*#__PURE__*/ (0, _jsxruntime.jsx)(state.radioIndicator, {})
19
+ ]
20
+ });
14
21
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["renderTableSelectionCell.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of TableSelectionCell\n */ export const renderTableSelectionCell_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ createElement(state.root, null, state.type === 'checkbox' && state.checkboxIndicator && /*#__PURE__*/ createElement(state.checkboxIndicator, null), state.type === 'radio' && state.radioIndicator && /*#__PURE__*/ createElement(state.radioIndicator, null));\n};\n"],"names":["renderTableSelectionCell_unstable","state","assertSlots","createElement","root","type","checkboxIndicator","radioIndicator"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACvD;AAGjB,MAAMA,oCAAoC,CAACC,QAAQ;IAC1DC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,8BAAa,EAACF,MAAMG,IAAI,EAAE,IAAI,EAAEH,MAAMI,IAAI,KAAK,cAAcJ,MAAMK,iBAAiB,IAAI,WAAW,GAAGH,IAAAA,8BAAa,EAACF,MAAMK,iBAAiB,EAAE,IAAI,GAAGL,MAAMI,IAAI,KAAK,WAAWJ,MAAMM,cAAc,IAAI,WAAW,GAAGJ,IAAAA,8BAAa,EAACF,MAAMM,cAAc,EAAE,IAAI;AACrR"}
1
+ {"version":3,"sources":["renderTableSelectionCell.js"],"sourcesContent":["/** @jsxRuntime automatic */ /** @jsxImportSource @fluentui/react-jsx-runtime */ import { jsx as _jsx, jsxs as _jsxs } from \"@fluentui/react-jsx-runtime/jsx-runtime\";\nimport { assertSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of TableSelectionCell\n */ export const renderTableSelectionCell_unstable = (state)=>{\n assertSlots(state);\n return /*#__PURE__*/ _jsxs(state.root, {\n children: [\n state.type === 'checkbox' && state.checkboxIndicator && /*#__PURE__*/ _jsx(state.checkboxIndicator, {}),\n state.type === 'radio' && state.radioIndicator && /*#__PURE__*/ _jsx(state.radioIndicator, {})\n ]\n });\n};\n"],"names":["renderTableSelectionCell_unstable","state","assertSlots","_jsxs","root","children","type","checkboxIndicator","_jsx","radioIndicator"],"mappings":"AAAA,0BAA0B,GAAG,iDAAiD;;;;+BAI7DA;;;eAAAA;;;4BAJ2G;gCAChG;AAGjB,MAAMA,oCAAoC,CAACC;IAClDC,IAAAA,2BAAW,EAACD;IACZ,OAAO,WAAW,GAAGE,IAAAA,gBAAK,EAACF,MAAMG,IAAI,EAAE;QACnCC,UAAU;YACNJ,MAAMK,IAAI,KAAK,cAAcL,MAAMM,iBAAiB,IAAI,WAAW,GAAGC,IAAAA,eAAI,EAACP,MAAMM,iBAAiB,EAAE,CAAC;YACrGN,MAAMK,IAAI,KAAK,WAAWL,MAAMQ,cAAc,IAAI,WAAW,GAAGD,IAAAA,eAAI,EAACP,MAAMQ,cAAc,EAAE,CAAC;SAC/F;IACL;AACJ"}
@@ -4,42 +4,44 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "useTableSelectionCell_unstable", {
6
6
  enumerable: true,
7
- get: ()=>useTableSelectionCell_unstable
7
+ get: function() {
8
+ return useTableSelectionCell_unstable;
9
+ }
8
10
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
- const _reactUtilities = require("@fluentui/react-utilities");
12
- const _reactCheckbox = require("@fluentui/react-checkbox");
13
- const _reactRadio = require("@fluentui/react-radio");
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _reactutilities = require("@fluentui/react-utilities");
14
+ const _reactcheckbox = require("@fluentui/react-checkbox");
15
+ const _reactradio = require("@fluentui/react-radio");
14
16
  const _useTableCell = require("../TableCell/useTableCell");
15
17
  const _tableContext = require("../../contexts/tableContext");
16
18
  const useTableSelectionCell_unstable = (props, ref)=>{
17
19
  const tableCellState = (0, _useTableCell.useTableCell_unstable)(props, ref);
18
- const { noNativeElements } = (0, _tableContext.useTableContext)();
19
- const { type ='checkbox' , checked =false , subtle =false , hidden =false } = props;
20
+ const { noNativeElements } = (0, _tableContext.useTableContext)();
21
+ const { type = 'checkbox', checked = false, subtle = false, hidden = false } = props;
20
22
  return {
21
23
  ...tableCellState,
22
24
  components: {
23
25
  ...tableCellState.components,
24
- checkboxIndicator: _reactCheckbox.Checkbox,
25
- radioIndicator: _reactRadio.Radio
26
+ checkboxIndicator: _reactcheckbox.Checkbox,
27
+ radioIndicator: _reactradio.Radio
26
28
  },
27
- checkboxIndicator: _reactUtilities.slot.optional(props.checkboxIndicator, {
29
+ checkboxIndicator: _reactutilities.slot.optional(props.checkboxIndicator, {
28
30
  renderByDefault: type === 'checkbox',
29
31
  defaultProps: {
30
32
  checked: props.checked
31
33
  },
32
- elementType: _reactCheckbox.Checkbox
34
+ elementType: _reactcheckbox.Checkbox
33
35
  }),
34
- radioIndicator: _reactUtilities.slot.optional(props.radioIndicator, {
36
+ radioIndicator: _reactutilities.slot.optional(props.radioIndicator, {
35
37
  renderByDefault: type === 'radio',
36
38
  defaultProps: {
37
39
  checked: !!checked,
38
40
  input: {
39
- name: (0, _reactUtilities.useId)('table-selection-radio')
41
+ name: (0, _reactutilities.useId)('table-selection-radio')
40
42
  }
41
43
  },
42
- elementType: _reactRadio.Radio
44
+ elementType: _reactradio.Radio
43
45
  }),
44
46
  type,
45
47
  checked,
@@ -1 +1 @@
1
- {"version":3,"sources":["useTableSelectionCell.js"],"sourcesContent":["import * as React from 'react';\nimport { useId, slot } from '@fluentui/react-utilities';\nimport { Checkbox } from '@fluentui/react-checkbox';\nimport { Radio } from '@fluentui/react-radio';\nimport { useTableCell_unstable } from '../TableCell/useTableCell';\nimport { useTableContext } from '../../contexts/tableContext';\n/**\n * Create the state required to render TableSelectionCell.\n *\n * The returned state can be modified with hooks such as useTableSelectionCellStyles_unstable,\n * before being passed to renderTableSelectionCell_unstable.\n *\n * @param props - props from this instance of TableSelectionCell\n * @param ref - reference to root HTMLElement of TableSelectionCell\n */ export const useTableSelectionCell_unstable = (props, ref)=>{\n const tableCellState = useTableCell_unstable(props, ref);\n const { noNativeElements } = useTableContext();\n const { type ='checkbox' , checked =false , subtle =false , hidden =false } = props;\n return {\n ...tableCellState,\n components: {\n ...tableCellState.components,\n checkboxIndicator: Checkbox,\n radioIndicator: Radio\n },\n checkboxIndicator: slot.optional(props.checkboxIndicator, {\n renderByDefault: type === 'checkbox',\n defaultProps: {\n checked: props.checked\n },\n elementType: Checkbox\n }),\n radioIndicator: slot.optional(props.radioIndicator, {\n renderByDefault: type === 'radio',\n defaultProps: {\n checked: !!checked,\n input: {\n name: useId('table-selection-radio')\n }\n },\n elementType: Radio\n }),\n type,\n checked,\n noNativeElements,\n subtle,\n hidden\n };\n};\n"],"names":["useTableSelectionCell_unstable","props","ref","tableCellState","useTableCell_unstable","noNativeElements","useTableContext","type","checked","subtle","hidden","components","checkboxIndicator","Checkbox","radioIndicator","Radio","slot","optional","renderByDefault","defaultProps","elementType","input","name","useId"],"mappings":";;;;+BAciBA;;aAAAA;;;6DAdM;gCACK;+BACH;4BACH;8BACgB;8BACN;AASrB,MAAMA,iCAAiC,CAACC,OAAOC,MAAM;IAC5D,MAAMC,iBAAiBC,IAAAA,mCAAqB,EAACH,OAAOC;IACpD,MAAM,EAAEG,iBAAgB,EAAG,GAAGC,IAAAA,6BAAe;IAC7C,MAAM,EAAEC,MAAM,WAAU,EAAGC,SAAS,KAAK,CAAA,EAAGC,QAAQ,KAAK,CAAA,EAAGC,QAAQ,KAAK,CAAA,EAAG,GAAGT;IAC/E,OAAO;QACH,GAAGE,cAAc;QACjBQ,YAAY;YACR,GAAGR,eAAeQ,UAAU;YAC5BC,mBAAmBC,uBAAQ;YAC3BC,gBAAgBC,iBAAK;QACzB;QACAH,mBAAmBI,oBAAI,CAACC,QAAQ,CAAChB,MAAMW,iBAAiB,EAAE;YACtDM,iBAAiBX,SAAS;YAC1BY,cAAc;gBACVX,SAASP,MAAMO,OAAO;YAC1B;YACAY,aAAaP,uBAAQ;QACzB;QACAC,gBAAgBE,oBAAI,CAACC,QAAQ,CAAChB,MAAMa,cAAc,EAAE;YAChDI,iBAAiBX,SAAS;YAC1BY,cAAc;gBACVX,SAAS,CAAC,CAACA;gBACXa,OAAO;oBACHC,MAAMC,IAAAA,qBAAK,EAAC;gBAChB;YACJ;YACAH,aAAaL,iBAAK;QACtB;QACAR;QACAC;QACAH;QACAI;QACAC;IACJ;AACJ"}
1
+ {"version":3,"sources":["useTableSelectionCell.js"],"sourcesContent":["import * as React from 'react';\nimport { useId, slot } from '@fluentui/react-utilities';\nimport { Checkbox } from '@fluentui/react-checkbox';\nimport { Radio } from '@fluentui/react-radio';\nimport { useTableCell_unstable } from '../TableCell/useTableCell';\nimport { useTableContext } from '../../contexts/tableContext';\n/**\n * Create the state required to render TableSelectionCell.\n *\n * The returned state can be modified with hooks such as useTableSelectionCellStyles_unstable,\n * before being passed to renderTableSelectionCell_unstable.\n *\n * @param props - props from this instance of TableSelectionCell\n * @param ref - reference to root HTMLElement of TableSelectionCell\n */ export const useTableSelectionCell_unstable = (props, ref)=>{\n const tableCellState = useTableCell_unstable(props, ref);\n const { noNativeElements } = useTableContext();\n const { type = 'checkbox', checked = false, subtle = false, hidden = false } = props;\n return {\n ...tableCellState,\n components: {\n ...tableCellState.components,\n checkboxIndicator: Checkbox,\n radioIndicator: Radio\n },\n checkboxIndicator: slot.optional(props.checkboxIndicator, {\n renderByDefault: type === 'checkbox',\n defaultProps: {\n checked: props.checked\n },\n elementType: Checkbox\n }),\n radioIndicator: slot.optional(props.radioIndicator, {\n renderByDefault: type === 'radio',\n defaultProps: {\n checked: !!checked,\n input: {\n name: useId('table-selection-radio')\n }\n },\n elementType: Radio\n }),\n type,\n checked,\n noNativeElements,\n subtle,\n hidden\n };\n};\n"],"names":["useTableSelectionCell_unstable","props","ref","tableCellState","useTableCell_unstable","noNativeElements","useTableContext","type","checked","subtle","hidden","components","checkboxIndicator","Checkbox","radioIndicator","Radio","slot","optional","renderByDefault","defaultProps","elementType","input","name","useId"],"mappings":";;;;+BAciBA;;;eAAAA;;;;iEAdM;gCACK;+BACH;4BACH;8BACgB;8BACN;AASrB,MAAMA,iCAAiC,CAACC,OAAOC;IACtD,MAAMC,iBAAiBC,IAAAA,mCAAqB,EAACH,OAAOC;IACpD,MAAM,EAAEG,gBAAgB,EAAE,GAAGC,IAAAA,6BAAe;IAC5C,MAAM,EAAEC,OAAO,UAAU,EAAEC,UAAU,KAAK,EAAEC,SAAS,KAAK,EAAEC,SAAS,KAAK,EAAE,GAAGT;IAC/E,OAAO;QACH,GAAGE,cAAc;QACjBQ,YAAY;YACR,GAAGR,eAAeQ,UAAU;YAC5BC,mBAAmBC,uBAAQ;YAC3BC,gBAAgBC,iBAAK;QACzB;QACAH,mBAAmBI,oBAAI,CAACC,QAAQ,CAAChB,MAAMW,iBAAiB,EAAE;YACtDM,iBAAiBX,SAAS;YAC1BY,cAAc;gBACVX,SAASP,MAAMO,OAAO;YAC1B;YACAY,aAAaP,uBAAQ;QACzB;QACAC,gBAAgBE,oBAAI,CAACC,QAAQ,CAAChB,MAAMa,cAAc,EAAE;YAChDI,iBAAiBX,SAAS;YAC1BY,cAAc;gBACVX,SAAS,CAAC,CAACA;gBACXa,OAAO;oBACHC,MAAMC,IAAAA,qBAAK,EAAC;gBAChB;YACJ;YACAH,aAAaL,iBAAK;QACtB;QACAR;QACAC;QACAH;QACAI;QACAC;IACJ;AACJ"}
@@ -9,9 +9,15 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- CELL_WIDTH: ()=>CELL_WIDTH,
13
- tableSelectionCellClassNames: ()=>tableSelectionCellClassNames,
14
- useTableSelectionCellStyles_unstable: ()=>useTableSelectionCellStyles_unstable
12
+ CELL_WIDTH: function() {
13
+ return CELL_WIDTH;
14
+ },
15
+ tableSelectionCellClassNames: function() {
16
+ return tableSelectionCellClassNames;
17
+ },
18
+ useTableSelectionCellStyles_unstable: function() {
19
+ return useTableSelectionCellStyles_unstable;
20
+ }
15
21
  });
16
22
  const _react = require("@griffel/react");
17
23
  const CELL_WIDTH = 44;
@@ -20,7 +26,7 @@ const tableSelectionCellClassNames = {
20
26
  checkboxIndicator: 'fui-TableSelectionCell__checkboxIndicator',
21
27
  radioIndicator: 'fui-TableSelectionCell__radioIndicator'
22
28
  };
23
- const useTableLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
29
+ const useTableLayoutStyles = /*#__PURE__*/ (0, _react.__styles)({
24
30
  root: {
25
31
  mc9l5x: "f15pt5es",
26
32
  a9b677: "fksc0bp"
@@ -31,7 +37,7 @@ const useTableLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
31
37
  ".fksc0bp{width:44px;}"
32
38
  ]
33
39
  });
34
- const useFlexLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
40
+ const useFlexLayoutStyles = /*#__PURE__*/ (0, _react.__styles)({
35
41
  root: {
36
42
  mc9l5x: "f22iagw",
37
43
  Bh6795r: "fqerorx",
@@ -54,7 +60,7 @@ const useFlexLayoutStyles = /*#__PURE__*/ (0, _react["__styles"])({
54
60
  });
55
61
  /**
56
62
  * Styles for the root slot
57
- */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
63
+ */ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
58
64
  root: {
59
65
  fsow6f: "f17mccla",
60
66
  Huce71: "fz5stix",