@fluentui/react-table 9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0 → 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -16
- package/README.md +17 -0
- package/lib/components/DataGrid/DataGrid.js.map +1 -1
- package/lib/components/DataGrid/DataGrid.module.css +1 -0
- package/lib/components/DataGrid/DataGrid.types.js.map +1 -1
- package/lib/components/DataGrid/index.js.map +1 -1
- package/lib/components/DataGrid/renderDataGrid.js.map +1 -1
- package/lib/components/DataGrid/useDataGrid.js +1 -1
- package/lib/components/DataGrid/useDataGrid.js.map +1 -1
- package/lib/components/DataGrid/useDataGridContextValues.js.map +1 -1
- package/lib/components/DataGrid/useDataGridStyles.styles.css.js +13 -0
- package/lib/components/DataGrid/useDataGridStyles.styles.css.js.map +1 -0
- package/lib/components/DataGrid/useDataGridStyles.styles.raw.css.js +13 -0
- package/lib/components/DataGrid/useDataGridStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGrid/useDataGridStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridBody/DataGridBody.js.map +1 -1
- package/lib/components/DataGridBody/DataGridBody.module.css +1 -0
- package/lib/components/DataGridBody/DataGridBody.types.js.map +1 -1
- package/lib/components/DataGridBody/index.js.map +1 -1
- package/lib/components/DataGridBody/renderDataGridBody.js +2 -2
- package/lib/components/DataGridBody/renderDataGridBody.js.map +1 -1
- package/lib/components/DataGridBody/useDataGridBody.js.map +1 -1
- package/lib/components/DataGridBody/useDataGridBodyStyles.styles.css.js +13 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.styles.raw.css.js +13 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridCell/DataGridCell.js.map +1 -1
- package/lib/components/DataGridCell/DataGridCell.module.css +1 -0
- package/lib/components/DataGridCell/DataGridCell.types.js.map +1 -1
- package/lib/components/DataGridCell/index.js.map +1 -1
- package/lib/components/DataGridCell/renderDataGridCell.js.map +1 -1
- package/lib/components/DataGridCell/useDataGridCell.js.map +1 -1
- package/lib/components/DataGridCell/useDataGridCellStyles.styles.css.js +13 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.styles.raw.css.js +13 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridHeader/DataGridHeader.js.map +1 -1
- package/lib/components/DataGridHeader/DataGridHeader.module.css +1 -0
- package/lib/components/DataGridHeader/DataGridHeader.types.js.map +1 -1
- package/lib/components/DataGridHeader/index.js.map +1 -1
- package/lib/components/DataGridHeader/renderDataGridHeader.js.map +1 -1
- package/lib/components/DataGridHeader/useDataGridHeader.js.map +1 -1
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.styles.css.js +13 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.css.js +13 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.js.map +1 -1
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.module.css +1 -0
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.types.js.map +1 -1
- package/lib/components/DataGridHeaderCell/index.js.map +1 -1
- package/lib/components/DataGridHeaderCell/renderDataGridHeaderCell.js.map +1 -1
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCell.js.map +1 -1
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.css.js +28 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.css.js +28 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridRow/DataGridRow.js.map +1 -1
- package/lib/components/DataGridRow/DataGridRow.module.css +6 -0
- package/lib/components/DataGridRow/DataGridRow.types.js.map +1 -1
- package/lib/components/DataGridRow/index.js.map +1 -1
- package/lib/components/DataGridRow/renderDataGridRow.js +2 -2
- package/lib/components/DataGridRow/renderDataGridRow.js.map +1 -1
- package/lib/components/DataGridRow/useDataGridRow.js.map +1 -1
- package/lib/components/DataGridRow/useDataGridRowStyles.styles.css.js +20 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.styles.raw.css.js +20 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.styles.raw.js.map +1 -1
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.js.map +1 -1
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.module.css +1 -0
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.types.js.map +1 -1
- package/lib/components/DataGridSelectionCell/index.js.map +1 -1
- package/lib/components/DataGridSelectionCell/renderDataGridSelectionCell.js.map +1 -1
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCell.js.map +1 -1
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.css.js +23 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.css.js.map +1 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.css.js +23 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.js.map +1 -1
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Table.module.css +15 -0
- package/lib/components/Table/Table.types.js.map +1 -1
- package/lib/components/Table/index.js.map +1 -1
- package/lib/components/Table/renderTable.js +2 -2
- package/lib/components/Table/renderTable.js.map +1 -1
- package/lib/components/Table/useTable.js +1 -2
- package/lib/components/Table/useTable.js.map +1 -1
- package/lib/components/Table/useTableContextValues.js.map +1 -1
- package/lib/components/Table/useTableStyles.styles.css.js +10 -0
- package/lib/components/Table/useTableStyles.styles.css.js.map +1 -0
- package/lib/components/Table/useTableStyles.styles.raw.css.js +10 -0
- package/lib/components/Table/useTableStyles.styles.raw.css.js.map +1 -0
- package/lib/components/Table/useTableStyles.styles.raw.js.map +1 -1
- package/lib/components/TableBody/TableBody.js.map +1 -1
- package/lib/components/TableBody/TableBody.module.css +8 -0
- package/lib/components/TableBody/TableBody.types.js.map +1 -1
- package/lib/components/TableBody/index.js.map +1 -1
- package/lib/components/TableBody/renderTableBody.js +2 -2
- package/lib/components/TableBody/renderTableBody.js.map +1 -1
- package/lib/components/TableBody/useTableBody.js +1 -1
- package/lib/components/TableBody/useTableBody.js.map +1 -1
- package/lib/components/TableBody/useTableBodyStyles.styles.css.js +10 -0
- package/lib/components/TableBody/useTableBodyStyles.styles.css.js.map +1 -0
- package/lib/components/TableBody/useTableBodyStyles.styles.raw.css.js +10 -0
- package/lib/components/TableBody/useTableBodyStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableBody/useTableBodyStyles.styles.raw.js.map +1 -1
- package/lib/components/TableCell/TableCell.js.map +1 -1
- package/lib/components/TableCell/TableCell.module.css +31 -0
- package/lib/components/TableCell/TableCell.types.js.map +1 -1
- package/lib/components/TableCell/index.js.map +1 -1
- package/lib/components/TableCell/renderTableCell.js +2 -2
- package/lib/components/TableCell/renderTableCell.js.map +1 -1
- package/lib/components/TableCell/useTableCell.js +1 -1
- package/lib/components/TableCell/useTableCell.js.map +1 -1
- package/lib/components/TableCell/useTableCellStyles.styles.css.js +10 -0
- package/lib/components/TableCell/useTableCellStyles.styles.css.js.map +1 -0
- package/lib/components/TableCell/useTableCellStyles.styles.raw.css.js +10 -0
- package/lib/components/TableCell/useTableCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableCell/useTableCellStyles.styles.raw.js.map +1 -1
- package/lib/components/TableCellActions/TableCellActions.js.map +1 -1
- package/lib/components/TableCellActions/TableCellActions.module.css +14 -0
- package/lib/components/TableCellActions/TableCellActions.types.js.map +1 -1
- package/lib/components/TableCellActions/index.js.map +1 -1
- package/lib/components/TableCellActions/renderTableCellActions.js +2 -2
- package/lib/components/TableCellActions/renderTableCellActions.js.map +1 -1
- package/lib/components/TableCellActions/useTableCellActions.js.map +1 -1
- package/lib/components/TableCellActions/useTableCellActionsStyles.styles.css.js +9 -0
- package/lib/components/TableCellActions/useTableCellActionsStyles.styles.css.js.map +1 -0
- package/lib/components/TableCellActions/useTableCellActionsStyles.styles.raw.css.js +9 -0
- package/lib/components/TableCellActions/useTableCellActionsStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableCellActions/useTableCellActionsStyles.styles.raw.js.map +1 -1
- package/lib/components/TableCellLayout/TableCellLayout.js.map +1 -1
- package/lib/components/TableCellLayout/TableCellLayout.module.css +46 -0
- package/lib/components/TableCellLayout/TableCellLayout.types.js.map +1 -1
- package/lib/components/TableCellLayout/index.js.map +1 -1
- package/lib/components/TableCellLayout/renderTableCellLayout.js +2 -2
- package/lib/components/TableCellLayout/renderTableCellLayout.js.map +1 -1
- package/lib/components/TableCellLayout/useTableCellLayout.js.map +1 -1
- package/lib/components/TableCellLayout/useTableCellLayoutContextValues.js.map +1 -1
- package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.css.js +25 -0
- package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.css.js.map +1 -0
- package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.css.js +25 -0
- package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.js.map +1 -1
- package/lib/components/TableHeader/TableHeader.js.map +1 -1
- package/lib/components/TableHeader/TableHeader.module.css +8 -0
- package/lib/components/TableHeader/TableHeader.types.js.map +1 -1
- package/lib/components/TableHeader/index.js.map +1 -1
- package/lib/components/TableHeader/renderTableHeader.js +2 -2
- package/lib/components/TableHeader/renderTableHeader.js.map +1 -1
- package/lib/components/TableHeader/useTableHeader.js +1 -1
- package/lib/components/TableHeader/useTableHeader.js.map +1 -1
- package/lib/components/TableHeader/useTableHeaderStyles.styles.css.js +10 -0
- package/lib/components/TableHeader/useTableHeaderStyles.styles.css.js.map +1 -0
- package/lib/components/TableHeader/useTableHeaderStyles.styles.raw.css.js +10 -0
- package/lib/components/TableHeader/useTableHeaderStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableHeader/useTableHeaderStyles.styles.raw.js.map +1 -1
- package/lib/components/TableHeaderCell/TableHeaderCell.js.map +1 -1
- package/lib/components/TableHeaderCell/TableHeaderCell.module.css +59 -0
- package/lib/components/TableHeaderCell/TableHeaderCell.types.js.map +1 -1
- package/lib/components/TableHeaderCell/index.js.map +1 -1
- package/lib/components/TableHeaderCell/renderTableHeaderCell.js +2 -2
- package/lib/components/TableHeaderCell/renderTableHeaderCell.js.map +1 -1
- package/lib/components/TableHeaderCell/useTableHeaderCell.js +1 -2
- package/lib/components/TableHeaderCell/useTableHeaderCell.js.map +1 -1
- package/lib/components/TableHeaderCell/useTableHeaderCellStyles.styles.css.js +20 -0
- package/lib/components/TableHeaderCell/useTableHeaderCellStyles.styles.css.js.map +1 -0
- package/lib/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.css.js +20 -0
- package/lib/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.js.map +1 -1
- package/lib/components/TableResizeHandle/TableResizeHandle.js.map +1 -1
- package/lib/components/TableResizeHandle/TableResizeHandle.module.css +32 -0
- package/lib/components/TableResizeHandle/TableResizeHandle.types.js.map +1 -1
- package/lib/components/TableResizeHandle/index.js.map +1 -1
- package/lib/components/TableResizeHandle/renderTableResizeHandle.js +2 -2
- package/lib/components/TableResizeHandle/renderTableResizeHandle.js.map +1 -1
- package/lib/components/TableResizeHandle/useTableResizeHandle.js.map +1 -1
- package/lib/components/TableResizeHandle/useTableResizeHandleStyles.styles.css.js +9 -0
- package/lib/components/TableResizeHandle/useTableResizeHandleStyles.styles.css.js.map +1 -0
- package/lib/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.css.js +9 -0
- package/lib/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.js.map +1 -1
- package/lib/components/TableRow/TableRow.js.map +1 -1
- package/lib/components/TableRow/TableRow.module.css +76 -0
- package/lib/components/TableRow/TableRow.types.js.map +1 -1
- package/lib/components/TableRow/index.js.map +1 -1
- package/lib/components/TableRow/renderTableRow.js +2 -2
- package/lib/components/TableRow/renderTableRow.js.map +1 -1
- package/lib/components/TableRow/useTableRow.js +1 -2
- package/lib/components/TableRow/useTableRow.js.map +1 -1
- package/lib/components/TableRow/useTableRowStyles.styles.css.js +10 -0
- package/lib/components/TableRow/useTableRowStyles.styles.css.js.map +1 -0
- package/lib/components/TableRow/useTableRowStyles.styles.raw.css.js +10 -0
- package/lib/components/TableRow/useTableRowStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableRow/useTableRowStyles.styles.raw.js.map +1 -1
- package/lib/components/TableSelectionCell/TableSelectionCell.js.map +1 -1
- package/lib/components/TableSelectionCell/TableSelectionCell.module.css +37 -0
- package/lib/components/TableSelectionCell/TableSelectionCell.types.js.map +1 -1
- package/lib/components/TableSelectionCell/index.js.map +1 -1
- package/lib/components/TableSelectionCell/renderTableSelectionCell.js +2 -2
- package/lib/components/TableSelectionCell/renderTableSelectionCell.js.map +1 -1
- package/lib/components/TableSelectionCell/useTableSelectionCell.js.map +1 -1
- package/lib/components/TableSelectionCell/useTableSelectionCellStyles.styles.css.js +18 -0
- package/lib/components/TableSelectionCell/useTableSelectionCellStyles.styles.css.js.map +1 -0
- package/lib/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.css.js +18 -0
- package/lib/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.css.js.map +1 -0
- package/lib/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.js.map +1 -1
- package/lib/contexts/columnIdContext.js.map +1 -1
- package/lib/contexts/dataGridContext.js.map +1 -1
- package/lib/contexts/rowIdContext.js.map +1 -1
- package/lib/contexts/tableContext.js.map +1 -1
- package/lib/contexts/tableHeaderContext.js.map +1 -1
- package/lib/hooks/createColumn.js.map +1 -1
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/types.js.map +1 -1
- package/lib/hooks/useKeyboardResizing.js.map +1 -1
- package/lib/hooks/useMeasureElement.js.map +1 -1
- package/lib/hooks/useTableColumnResizeMouseHandler.js.map +1 -1
- package/lib/hooks/useTableColumnResizeState.js.map +1 -1
- package/lib/hooks/useTableColumnSizing.js.map +1 -1
- package/lib/hooks/useTableCompositeNavigation.js.map +1 -1
- package/lib/hooks/useTableFeatures.js +2 -2
- package/lib/hooks/useTableFeatures.js.map +1 -1
- package/lib/hooks/useTableSelection.js +4 -4
- package/lib/hooks/useTableSelection.js.map +1 -1
- package/lib/hooks/useTableSort.js.map +1 -1
- package/lib/utils/columnResizeUtils.js +6 -6
- package/lib/utils/columnResizeUtils.js.map +1 -1
- package/lib/utils/isColumnSortable.js.map +1 -1
- package/lib-commonjs/DataGrid.cjs +7 -7
- package/lib-commonjs/DataGridBody.cjs +6 -6
- package/lib-commonjs/DataGridCell.cjs +6 -6
- package/lib-commonjs/DataGridHeader.cjs +6 -6
- package/lib-commonjs/DataGridHeaderCell.cjs +6 -6
- package/lib-commonjs/DataGridRow.cjs +6 -6
- package/lib-commonjs/DataGridSelectionCell.cjs +6 -6
- package/lib-commonjs/Table.cjs +7 -7
- package/lib-commonjs/TableBody.cjs +7 -7
- package/lib-commonjs/TableCell.cjs +7 -7
- package/lib-commonjs/TableCellActions.cjs +6 -6
- package/lib-commonjs/TableCellLayout.cjs +6 -6
- package/lib-commonjs/TableCellPrimaryLayout.cjs +6 -6
- package/lib-commonjs/TableHeader.cjs +7 -7
- package/lib-commonjs/TableHeaderCell.cjs +7 -7
- package/lib-commonjs/TableResizeHandle.cjs +6 -6
- package/lib-commonjs/TableRow.cjs +7 -7
- package/lib-commonjs/TableSelectionCell.cjs +7 -7
- package/lib-commonjs/components/DataGrid/DataGrid.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/DataGrid.module.css +1 -0
- package/lib-commonjs/components/DataGrid/DataGrid.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/index.cjs +7 -7
- package/lib-commonjs/components/DataGrid/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/renderDataGrid.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/useDataGrid.cjs +1 -1
- package/lib-commonjs/components/DataGrid/useDataGrid.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/useDataGridContextValues.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.css.cjs +31 -0
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.raw.css.cjs +31 -0
- package/lib-commonjs/components/DataGrid/useDataGridStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/DataGridBody.module.css +1 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/index.cjs +6 -6
- package/lib-commonjs/components/DataGridBody/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/renderDataGridBody.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/useDataGridBody.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.css.cjs +31 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.raw.css.cjs +31 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/DataGridCell.module.css +1 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/index.cjs +6 -6
- package/lib-commonjs/components/DataGridCell/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/renderDataGridCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/useDataGridCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.css.cjs +31 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.raw.css.cjs +31 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.module.css +1 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/index.cjs +6 -6
- package/lib-commonjs/components/DataGridHeader/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/renderDataGridHeader.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/useDataGridHeader.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.css.cjs +31 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.css.cjs +31 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.module.css +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/index.cjs +6 -6
- package/lib-commonjs/components/DataGridHeaderCell/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/renderDataGridHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.css.cjs +46 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.css.cjs +46 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/DataGridRow.module.css +6 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/index.cjs +6 -6
- package/lib-commonjs/components/DataGridRow/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/renderDataGridRow.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/useDataGridRow.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.css.cjs +39 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.raw.css.cjs +39 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.module.css +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.types.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/index.cjs +6 -6
- package/lib-commonjs/components/DataGridSelectionCell/index.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/renderDataGridSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.cjs +3 -3
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.css.cjs +41 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.css.cjs +41 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/Table/Table.cjs.map +1 -1
- package/lib-commonjs/components/Table/Table.module.css +15 -0
- package/lib-commonjs/components/Table/Table.types.cjs.map +1 -1
- package/lib-commonjs/components/Table/index.cjs +7 -7
- package/lib-commonjs/components/Table/index.cjs.map +1 -1
- package/lib-commonjs/components/Table/renderTable.cjs.map +1 -1
- package/lib-commonjs/components/Table/useTable.cjs +1 -2
- package/lib-commonjs/components/Table/useTable.cjs.map +1 -1
- package/lib-commonjs/components/Table/useTableContextValues.cjs.map +1 -1
- package/lib-commonjs/components/Table/useTableStyles.styles.cjs +4 -4
- package/lib-commonjs/components/Table/useTableStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Table/useTableStyles.styles.css.cjs +32 -0
- package/lib-commonjs/components/Table/useTableStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/Table/useTableStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/Table/useTableStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/Table/useTableStyles.styles.raw.css.cjs +32 -0
- package/lib-commonjs/components/Table/useTableStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableBody/TableBody.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/TableBody.module.css +8 -0
- package/lib-commonjs/components/TableBody/TableBody.types.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/index.cjs +7 -7
- package/lib-commonjs/components/TableBody/index.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/renderTableBody.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/useTableBody.cjs +1 -1
- package/lib-commonjs/components/TableBody/useTableBody.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.css.cjs +32 -0
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.raw.css.cjs +32 -0
- package/lib-commonjs/components/TableBody/useTableBodyStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCell/TableCell.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/TableCell.module.css +31 -0
- package/lib-commonjs/components/TableCell/TableCell.types.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/index.cjs +7 -7
- package/lib-commonjs/components/TableCell/index.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/renderTableCell.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/useTableCell.cjs +1 -1
- package/lib-commonjs/components/TableCell/useTableCell.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.css.cjs +32 -0
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.raw.css.cjs +32 -0
- package/lib-commonjs/components/TableCell/useTableCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCellActions/TableCellActions.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/TableCellActions.module.css +14 -0
- package/lib-commonjs/components/TableCellActions/TableCellActions.types.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/index.cjs +6 -6
- package/lib-commonjs/components/TableCellActions/index.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/renderTableCellActions.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/useTableCellActions.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.css.cjs +28 -0
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.raw.css.cjs +28 -0
- package/lib-commonjs/components/TableCellActions/useTableCellActionsStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCellLayout/TableCellLayout.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/TableCellLayout.module.css +46 -0
- package/lib-commonjs/components/TableCellLayout/TableCellLayout.types.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/index.cjs +6 -6
- package/lib-commonjs/components/TableCellLayout/index.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/renderTableCellLayout.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/useTableCellLayout.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutContextValues.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.css.cjs +44 -0
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.css.cjs +44 -0
- package/lib-commonjs/components/TableCellLayout/useTableCellLayoutStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableHeader/TableHeader.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/TableHeader.module.css +8 -0
- package/lib-commonjs/components/TableHeader/TableHeader.types.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/index.cjs +7 -7
- package/lib-commonjs/components/TableHeader/index.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/renderTableHeader.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/useTableHeader.cjs +1 -1
- package/lib-commonjs/components/TableHeader/useTableHeader.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.css.cjs +32 -0
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.raw.css.cjs +32 -0
- package/lib-commonjs/components/TableHeader/useTableHeaderStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.module.css +59 -0
- package/lib-commonjs/components/TableHeaderCell/TableHeaderCell.types.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/index.cjs +7 -7
- package/lib-commonjs/components/TableHeaderCell/index.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/renderTableHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCell.cjs +1 -2
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCell.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.css.cjs +42 -0
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.css.cjs +42 -0
- package/lib-commonjs/components/TableHeaderCell/useTableHeaderCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.module.css +32 -0
- package/lib-commonjs/components/TableResizeHandle/TableResizeHandle.types.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/index.cjs +6 -6
- package/lib-commonjs/components/TableResizeHandle/index.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/renderTableResizeHandle.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandle.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.cjs +3 -3
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.css.cjs +28 -0
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.cjs +3 -3
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.css.cjs +28 -0
- package/lib-commonjs/components/TableResizeHandle/useTableResizeHandleStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableRow/TableRow.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/TableRow.module.css +76 -0
- package/lib-commonjs/components/TableRow/TableRow.types.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/index.cjs +7 -7
- package/lib-commonjs/components/TableRow/index.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/renderTableRow.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/useTableRow.cjs +1 -2
- package/lib-commonjs/components/TableRow/useTableRow.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.css.cjs +32 -0
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.raw.css.cjs +32 -0
- package/lib-commonjs/components/TableRow/useTableRowStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.module.css +37 -0
- package/lib-commonjs/components/TableSelectionCell/TableSelectionCell.types.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/index.cjs +7 -7
- package/lib-commonjs/components/TableSelectionCell/index.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/renderTableSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCell.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.cjs +4 -4
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.css.cjs +40 -0
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.css.cjs.map +1 -0
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.cjs +4 -4
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.cjs.map +1 -1
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.css.cjs +40 -0
- package/lib-commonjs/components/TableSelectionCell/useTableSelectionCellStyles.styles.raw.css.cjs.map +1 -0
- package/lib-commonjs/contexts/columnIdContext.cjs +4 -4
- package/lib-commonjs/contexts/columnIdContext.cjs.map +1 -1
- package/lib-commonjs/contexts/dataGridContext.cjs +4 -4
- package/lib-commonjs/contexts/dataGridContext.cjs.map +1 -1
- package/lib-commonjs/contexts/rowIdContext.cjs +4 -4
- package/lib-commonjs/contexts/rowIdContext.cjs.map +1 -1
- package/lib-commonjs/contexts/tableContext.cjs +4 -4
- package/lib-commonjs/contexts/tableContext.cjs.map +1 -1
- package/lib-commonjs/contexts/tableHeaderContext.cjs +3 -3
- package/lib-commonjs/contexts/tableHeaderContext.cjs.map +1 -1
- package/lib-commonjs/hooks/createColumn.cjs.map +1 -1
- package/lib-commonjs/hooks/index.cjs +13 -13
- package/lib-commonjs/hooks/index.cjs.map +1 -1
- package/lib-commonjs/hooks/types.cjs.map +1 -1
- package/lib-commonjs/hooks/useKeyboardResizing.cjs.map +1 -1
- package/lib-commonjs/hooks/useMeasureElement.cjs +3 -3
- package/lib-commonjs/hooks/useMeasureElement.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableColumnResizeMouseHandler.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableColumnResizeState.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableColumnSizing.cjs +3 -3
- package/lib-commonjs/hooks/useTableColumnSizing.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableCompositeNavigation.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableFeatures.cjs +5 -5
- package/lib-commonjs/hooks/useTableFeatures.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableSelection.cjs +8 -8
- package/lib-commonjs/hooks/useTableSelection.cjs.map +1 -1
- package/lib-commonjs/hooks/useTableSort.cjs +4 -4
- package/lib-commonjs/hooks/useTableSort.cjs.map +1 -1
- package/lib-commonjs/index.cjs +110 -110
- package/lib-commonjs/index.cjs.map +1 -1
- package/lib-commonjs/utils/columnResizeUtils.cjs +15 -15
- package/lib-commonjs/utils/columnResizeUtils.cjs.map +1 -1
- package/lib-commonjs/utils/isColumnSortable.cjs.map +1 -1
- package/package.json +17 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,43 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-table
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 03 Nov 2026 14:03:02 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.19.22..@fluentui/react-table_v9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0)
|
|
9
|
+
Tue, 03 Nov 2026 14:03:02 GMT
|
|
11
10
|
|
|
12
11
|
### Changes
|
|
13
12
|
|
|
14
|
-
- Release 9.
|
|
15
|
-
- Bump @fluentui/keyboard-keys to v9.
|
|
16
|
-
- Bump @fluentui/react-aria to v9.
|
|
17
|
-
- Bump @fluentui/react-avatar to v9.
|
|
18
|
-
- Bump @fluentui/react-checkbox to v9.
|
|
19
|
-
- Bump @fluentui/react-context-selector to v9.
|
|
20
|
-
- Bump @fluentui/react-jsx-runtime to v9.
|
|
21
|
-
- Bump @fluentui/react-radio to v9.
|
|
22
|
-
- Bump @fluentui/react-shared-contexts to v9.
|
|
23
|
-
- Bump @fluentui/react-tabster to v9.
|
|
24
|
-
- Bump @fluentui/react-theme to v9.
|
|
25
|
-
- Bump @fluentui/react-utilities to v9.
|
|
13
|
+
- Release 9.75.1-experimental.css-modules.20261103-d6c85ee2a9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui/keyboard-keys to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
- Bump @fluentui/react-aria to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-avatar to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-checkbox to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-context-selector to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-jsx-runtime to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-radio to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-shared-contexts to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-tabster to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
- Bump @fluentui/react-theme to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
24
|
+
- Bump @fluentui/react-utilities to v9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
25
|
+
|
|
26
|
+
## [9.19.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.19.23)
|
|
27
|
+
|
|
28
|
+
Mon, 19 Oct 2026 16:49:01 GMT
|
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.19.22..@fluentui/react-table_v9.19.23)
|
|
30
|
+
|
|
31
|
+
### Patches
|
|
32
|
+
|
|
33
|
+
- Bump @fluentui/react-aria to v9.17.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
34
|
+
- Bump @fluentui/react-avatar to v9.11.9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
35
|
+
- Bump @fluentui/react-checkbox to v9.6.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
36
|
+
- Bump @fluentui/react-context-selector to v9.2.21 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
37
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
38
|
+
- Bump @fluentui/react-radio to v9.6.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
39
|
+
- Bump @fluentui/react-tabster to v9.26.19 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
40
|
+
- Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
26
41
|
|
|
27
42
|
## [9.19.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.19.22)
|
|
28
43
|
|
package/README.md
CHANGED
|
@@ -553,3 +553,20 @@ export const Default = () => {
|
|
|
553
553
|
);
|
|
554
554
|
};
|
|
555
555
|
```
|
|
556
|
+
|
|
557
|
+
## Opt-in CSS Modules styles
|
|
558
|
+
|
|
559
|
+
Each Table and DataGrid style module has a sibling `.styles.css.ts` alternative
|
|
560
|
+
and layered stylesheet. Griffel remains the default. Configure a narrowly scoped
|
|
561
|
+
bundler replacement for both `.styles` source imports and `.styles.js` published
|
|
562
|
+
imports; the replacement must also cover the Table hooks composed by DataGrid.
|
|
563
|
+
The package ships these CSS assets in both module formats and marks only CSS as
|
|
564
|
+
side-effectful. Theme variables must be provided by FluentProvider.
|
|
565
|
+
|
|
566
|
+
The alternatives preserve the native table and flex layouts, size and selection
|
|
567
|
+
states, Tabster focus attributes, and stable slot classes. Checkbox, Radio,
|
|
568
|
+
Avatar, and other rendered components retain their own styling and must be
|
|
569
|
+
selected separately when a fully CSS-styled subtree is required. Hook tests
|
|
570
|
+
exercise class mapping, not browser styling parity; browser interaction, RTL,
|
|
571
|
+
forced-colors, SSR, and visual-regression validation remain required before a
|
|
572
|
+
default switch.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/DataGrid.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDataGrid_unstable } from './useDataGrid';\nimport { renderDataGrid_unstable } from './renderDataGrid';\nimport { useDataGridStyles_unstable } from './useDataGridStyles.styles';\nimport type { DataGridProps } from './DataGrid.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useDataGridContextValues_unstable } from './useDataGridContextValues';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * DataGrid component\n */\nexport const DataGrid: ForwardRefComponent<DataGridProps> = React.forwardRef((props, ref) => {\n const state = useDataGrid_unstable(props, ref);\n\n useDataGridStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDataGridStyles_unstable')(state);\n\n return renderDataGrid_unstable(state, useDataGridContextValues_unstable(state));\n});\n\nDataGrid.displayName = 'DataGrid';\n"],"names":["React","useDataGrid_unstable","renderDataGrid_unstable","useDataGridStyles_unstable","useDataGridContextValues_unstable","useCustomStyleHook_unstable","DataGrid","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,0BAA0B,QAAQ,gCAA6B;AAGxE,SAASC,iCAAiC,QAAQ,gCAA6B;AAC/E,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,yBAA+CN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACnF,MAAMC,QAAQT,qBAAqBO,OAAOC;IAE1CN,2BAA2BO;IAE3BL,4BAA4B,8BAA8BK;IAE1D,OAAOR,wBAAwBQ,OAAON,kCAAkCM;AAC1E,GAAG;AAEHJ,SAASK,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer fluent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/DataGrid.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { SelectionHookParams, SelectionMode } from '@fluentui/react-utilities';\nimport type { TabsterDOMAttribute } from '@fluentui/react-tabster';\nimport type { TableContextValues, TableProps, TableSlots, TableState } from '../Table/Table.types';\nimport type {\n SortState,\n TableFeaturesState,\n UseTableSortOptions,\n OnSelectionChangeData,\n TableColumnSizingOptions,\n TableColumnId,\n} from '../../hooks';\nimport type { TableRowProps } from '../TableRow/TableRow.types';\n\nexport type DataGridSlots = TableSlots;\n\nexport type DataGridFocusMode = 'none' | 'cell' | 'row_unstable' | 'composite';\n\nexport type DataGridContextValues = TableContextValues & {\n dataGrid: DataGridContextValue;\n};\n\n// Use any here since we can't know the user types\n// The user is responsible for narrowing the type downstream\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type DataGridContextValue = TableFeaturesState<any> & {\n /**\n * How focus navigation will work in the datagrid\n * @default cell\n */\n focusMode: DataGridFocusMode;\n\n /**\n * Lets child components know if rows selection is enabled\n * @see selectionMode prop enables row selection on the component\n */\n selectableRows: boolean;\n\n /**\n * Enables subtle selection style\n * @default false\n */\n subtleSelection: boolean;\n\n /**\n * Row appearance when selected\n * @default brand\n */\n selectionAppearance: TableRowProps['appearance'];\n\n /**\n * Enables column resizing\n */\n resizableColumns?: boolean;\n\n compositeRowTabsterAttribute: TabsterDOMAttribute;\n};\n\n/**\n * DataGrid Props\n */\nexport type DataGridProps = TableProps &\n Pick<DataGridContextValue, 'items' | 'columns' | 'getRowId'> &\n Pick<Partial<DataGridContextValue>, 'focusMode' | 'subtleSelection' | 'selectionAppearance' | 'resizableColumns'> &\n Pick<UseTableSortOptions, 'sortState' | 'defaultSortState'> &\n Pick<SelectionHookParams, 'defaultSelectedItems' | 'selectedItems'> & {\n /* eslint-disable @nx/workspace-consistent-callback-type -- can't change type of existing callback */\n onSortChange?: (e: React.MouseEvent, sortState: SortState) => void;\n onSelectionChange?: (e: React.MouseEvent | React.KeyboardEvent, data: OnSelectionChangeData) => void;\n /* eslint-enable @nx/workspace-consistent-callback-type */\n\n /**\n * Enables row selection and sets the selection mode\n * @default false\n */\n selectionMode?: SelectionMode;\n /**\n * Options for column resizing, specific for each column\n */\n columnSizingOptions?: TableColumnSizingOptions;\n /**\n * A callback triggered when a column is resized.\n */\n // eslint-disable-next-line @nx/workspace-consistent-callback-type -- can't change type of existing callback\n onColumnResize?: (\n e: KeyboardEvent | TouchEvent | MouseEvent | undefined,\n data: { columnId: TableColumnId; width: number },\n ) => void;\n /**\n * For column resizing. Allows for a container size to be adjusted by a number of pixels, to make\n * sure the columns don't overflow the table.\n * By default, this value is calculated internally based on other props, but can be overriden.\n */\n containerWidthOffset?: number;\n\n /**\n * Custom options for column resizing.\n */\n resizableColumnsOptions?: {\n /**\n * If true, columns will be auto-fitted to the container width.\n * @default true\n * */\n autoFitColumns?: boolean;\n };\n };\n\n/**\n * State used in rendering DataGrid\n */\nexport type DataGridState = TableState & { tableState: TableFeaturesState<unknown> } & Pick<\n DataGridContextValue,\n | 'focusMode'\n | 'selectableRows'\n | 'subtleSelection'\n | 'selectionAppearance'\n | 'getRowId'\n | 'resizableColumns'\n | 'compositeRowTabsterAttribute'\n >;\n"],"names":[],"mappings":"AA2GA;;CAEC,GACD,WASI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/index.ts"],"sourcesContent":["export { DataGrid } from './DataGrid';\nexport type {\n DataGridContextValue,\n DataGridContextValues,\n DataGridFocusMode,\n DataGridProps,\n DataGridSlots,\n DataGridState,\n} from './DataGrid.types';\nexport { renderDataGrid_unstable } from './renderDataGrid';\nexport { useDataGrid_unstable } from './useDataGrid';\nexport { dataGridClassNames, useDataGridStyles_unstable } from './useDataGridStyles.styles';\nexport { useDataGridContextValues_unstable } from './useDataGridContextValues';\n"],"names":["DataGrid","renderDataGrid_unstable","useDataGrid_unstable","dataGridClassNames","useDataGridStyles_unstable","useDataGridContextValues_unstable"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AAStC,SAASC,uBAAuB,QAAQ,sBAAmB;AAC3D,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,kBAAkB,EAAEC,0BAA0B,QAAQ,gCAA6B;AAC5F,SAASC,iCAAiC,QAAQ,gCAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/renderDataGrid.tsx"],"sourcesContent":["import * as React from 'react';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DataGridContextValues, DataGridState } from './DataGrid.types';\nimport { renderTable_unstable } from '../Table/renderTable';\nimport { DataGridContextProvider } from '../../contexts/dataGridContext';\n\n/**\n * Render the final JSX of DataGrid\n */\n\nexport const renderDataGrid_unstable = (state: DataGridState, contextValues: DataGridContextValues): JSXElement => {\n return (\n <DataGridContextProvider value={contextValues.dataGrid}>\n {renderTable_unstable(state, contextValues)}\n </DataGridContextProvider>\n );\n};\n"],"names":["React","renderTable_unstable","DataGridContextProvider","renderDataGrid_unstable","state","contextValues","value","dataGrid"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAG/B,SAASC,oBAAoB,QAAQ,0BAAuB;AAC5D,SAASC,uBAAuB,QAAQ,oCAAiC;AAEzE;;CAEC,GAED,OAAO,MAAMC,0BAA0B,CAACC,OAAsBC;IAC5D,qBACE,oBAACH;QAAwBI,OAAOD,cAAcE,QAAQ;OACnDN,qBAAqBG,OAAOC;AAGnC,EAAE"}
|
|
@@ -15,13 +15,13 @@ import { CELL_WIDTH } from "../TableSelectionCell/index.js";
|
|
|
15
15
|
* @param props - props from this instance of DataGrid
|
|
16
16
|
* @param ref - reference to root HTMLElement of DataGrid
|
|
17
17
|
*/ export const useDataGrid_unstable = (props, ref)=>{
|
|
18
|
+
var _resizableColumnsOptions_autoFitColumns;
|
|
18
19
|
const { items, columns, focusMode = 'cell', selectionMode, onSortChange, onSelectionChange, defaultSortState, sortState, selectedItems, defaultSelectedItems, subtleSelection = false, selectionAppearance = 'brand', getRowId, resizableColumns, columnSizingOptions, onColumnResize, containerWidthOffset, resizableColumnsOptions = {} } = props;
|
|
19
20
|
const widthOffset = containerWidthOffset !== null && containerWidthOffset !== void 0 ? containerWidthOffset : selectionMode ? -CELL_WIDTH : 0;
|
|
20
21
|
const gridTabsterAttribute = useArrowNavigationGroup({
|
|
21
22
|
axis: 'grid'
|
|
22
23
|
});
|
|
23
24
|
const { onTableKeyDown: onCompositeKeyDown, tableTabsterAttribute: compositeTabsterAttribute, tableRowTabsterAttribute: compositeRowTabsterAttribute } = useTableCompositeNavigation();
|
|
24
|
-
var _resizableColumnsOptions_autoFitColumns;
|
|
25
25
|
const tableState = useTableFeatures({
|
|
26
26
|
items,
|
|
27
27
|
columns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/useDataGrid.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useArrowNavigationGroup, useFocusFinders } from '@fluentui/react-tabster';\nimport type { DataGridProps, DataGridState } from './DataGrid.types';\nimport { useTable_unstable } from '../Table/useTable';\nimport { useEventCallback, useMergedRefs } from '@fluentui/react-utilities';\nimport { End, Home } from '@fluentui/keyboard-keys';\nimport {\n useTableFeatures,\n useTableSort,\n useTableSelection,\n useTableColumnSizing_unstable,\n useTableCompositeNavigation,\n} from '../../hooks';\nimport { CELL_WIDTH } from '../TableSelectionCell';\n\n/**\n * Create the state required to render DataGrid.\n *\n * The returned state can be modified with hooks such as useDataGridStyles_unstable,\n * before being passed to renderDataGrid_unstable.\n *\n * @param props - props from this instance of DataGrid\n * @param ref - reference to root HTMLElement of DataGrid\n */\nexport const useDataGrid_unstable = (props: DataGridProps, ref: React.Ref<HTMLElement>): DataGridState => {\n const {\n items,\n columns,\n focusMode = 'cell',\n selectionMode,\n onSortChange,\n onSelectionChange,\n defaultSortState,\n sortState,\n selectedItems,\n defaultSelectedItems,\n subtleSelection = false,\n selectionAppearance = 'brand',\n getRowId,\n resizableColumns,\n columnSizingOptions,\n onColumnResize,\n containerWidthOffset,\n resizableColumnsOptions = {},\n } = props;\n\n const widthOffset = containerWidthOffset ?? (selectionMode ? -CELL_WIDTH : 0);\n\n const gridTabsterAttribute = useArrowNavigationGroup({\n axis: 'grid',\n });\n\n const {\n onTableKeyDown: onCompositeKeyDown,\n tableTabsterAttribute: compositeTabsterAttribute,\n tableRowTabsterAttribute: compositeRowTabsterAttribute,\n } = useTableCompositeNavigation();\n\n const tableState = useTableFeatures({ items, columns, getRowId }, [\n useTableSort({\n defaultSortState,\n sortState,\n onSortChange,\n }),\n useTableSelection({\n defaultSelectedItems,\n selectedItems,\n onSelectionChange,\n selectionMode: selectionMode ?? 'multiselect',\n }),\n useTableColumnSizing_unstable({\n onColumnResize,\n columnSizingOptions,\n // The selection cell is not part of the columns, therefore its width needs to be subtracted\n // from the container to make sure the columns don't overflow the table.\n containerWidthOffset: widthOffset,\n // Disables automatic resizing of columns when the container overflows.\n // This allows the sum of the columns to be larger than the container.\n autoFitColumns: resizableColumnsOptions.autoFitColumns ?? true,\n }),\n ]);\n\n const innerRef = React.useRef<HTMLDivElement>(null);\n const { findFirstFocusable, findLastFocusable } = useFocusFinders();\n const onKeyDown = useEventCallback((e: React.KeyboardEvent<HTMLTableElement>) => {\n props.onKeyDown?.(e);\n focusMode === 'composite' && onCompositeKeyDown(e);\n\n // handle ctrl+home and ctrl+end\n if (!innerRef.current || !e.ctrlKey || e.defaultPrevented) {\n return;\n }\n\n if (e.key === Home) {\n const firstRow = innerRef.current.querySelector('[role=\"row\"]') as HTMLElement | null;\n if (firstRow) {\n findFirstFocusable(firstRow)?.focus();\n }\n }\n\n if (e.key === End) {\n const rows = innerRef.current.querySelectorAll('[role=\"row\"]');\n if (rows.length) {\n const lastRow = rows.item(rows.length - 1);\n findLastFocusable(lastRow as HTMLElement)?.focus();\n }\n }\n });\n\n const baseTableState = useTable_unstable(\n {\n role: 'grid',\n as: 'div',\n noNativeElements: true,\n ...(focusMode === 'cell' && gridTabsterAttribute),\n ...(focusMode === 'composite' && compositeTabsterAttribute),\n ...props,\n onKeyDown,\n ...(resizableColumns ? tableState.columnSizing_unstable.getTableProps(props) : {}),\n },\n useMergedRefs(ref, tableState.tableRef, innerRef),\n );\n\n return {\n ...baseTableState,\n focusMode,\n tableState,\n selectableRows: !!selectionMode,\n subtleSelection,\n selectionAppearance,\n resizableColumns,\n compositeRowTabsterAttribute,\n };\n};\n"],"names":["React","useArrowNavigationGroup","useFocusFinders","useTable_unstable","useEventCallback","useMergedRefs","End","Home","useTableFeatures","useTableSort","useTableSelection","useTableColumnSizing_unstable","useTableCompositeNavigation","CELL_WIDTH","useDataGrid_unstable","props","ref","resizableColumnsOptions","items","columns","focusMode","selectionMode","onSortChange","onSelectionChange","defaultSortState","sortState","selectedItems","defaultSelectedItems","subtleSelection","selectionAppearance","getRowId","resizableColumns","columnSizingOptions","onColumnResize","containerWidthOffset","widthOffset","gridTabsterAttribute","axis","onTableKeyDown","onCompositeKeyDown","tableTabsterAttribute","compositeTabsterAttribute","tableRowTabsterAttribute","compositeRowTabsterAttribute","tableState","autoFitColumns","innerRef","useRef","findFirstFocusable","findLastFocusable","onKeyDown","e","current","ctrlKey","defaultPrevented","key","firstRow","querySelector","focus","rows","querySelectorAll","length","lastRow","item","baseTableState","role","as","noNativeElements","columnSizing_unstable","getTableProps","tableRef","selectableRows"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,uBAAuB,EAAEC,eAAe,QAAQ,0BAA0B;AAEnF,SAASC,iBAAiB,QAAQ,uBAAoB;AACtD,SAASC,gBAAgB,EAAEC,aAAa,QAAQ,4BAA4B;AAC5E,SAASC,GAAG,EAAEC,IAAI,QAAQ,0BAA0B;AACpD,SACEC,gBAAgB,EAChBC,YAAY,EACZC,iBAAiB,EACjBC,6BAA6B,EAC7BC,2BAA2B,QACtB,uBAAc;AACrB,SAASC,UAAU,QAAQ,iCAAwB;AAEnD;;;;;;;;CAQC,GACD,OAAO,MAAMC,uBAAuB,CAACC,OAAsBC;QAsDrCC;IArDpB,MAAM,EACJC,KAAK,EACLC,OAAO,EACPC,YAAY,MAAM,EAClBC,aAAa,EACbC,YAAY,EACZC,iBAAiB,EACjBC,gBAAgB,EAChBC,SAAS,EACTC,aAAa,EACbC,oBAAoB,EACpBC,kBAAkB,KAAK,EACvBC,sBAAsB,OAAO,EAC7BC,QAAQ,EACRC,gBAAgB,EAChBC,mBAAmB,EACnBC,cAAc,EACdC,oBAAoB,EACpBjB,0BAA0B,CAAC,CAAC,EAC7B,GAAGF;IAEJ,MAAMoB,cAAcD,iCAAAA,kCAAAA,uBAAyBb,gBAAgB,CAACR,aAAa;IAE3E,MAAMuB,uBAAuBnC,wBAAwB;QACnDoC,MAAM;IACR;IAEA,MAAM,EACJC,gBAAgBC,kBAAkB,EAClCC,uBAAuBC,yBAAyB,EAChDC,0BAA0BC,4BAA4B,EACvD,GAAG/B;IAEJ,MAAMgC,aAAapC,iBAAiB;QAAEU;QAAOC;QAASW;IAAS,GAAG;QAChErB,aAAa;YACXe;YACAC;YACAH;QACF;QACAZ,kBAAkB;YAChBiB;YACAD;YACAH;YACAF,aAAa,EAAEA,0BAAAA,2BAAAA,gBAAiB;QAClC;QACAV,8BAA8B;YAC5BsB;YACAD;YACA,4FAA4F;YAC5F,wEAAwE;YACxEE,sBAAsBC;YACtB,uEAAuE;YACvE,sEAAsE;YACtEU,cAAc,GAAE5B,0CAAAA,wBAAwB4B,cAAc,cAAtC5B,qDAAAA,0CAA0C;QAC5D;KACD;IAED,MAAM6B,WAAW9C,MAAM+C,MAAM,CAAiB;IAC9C,MAAM,EAAEC,kBAAkB,EAAEC,iBAAiB,EAAE,GAAG/C;IAClD,MAAMgD,YAAY9C,iBAAiB,CAAC+C;YAClCpC;SAAAA,mBAAAA,MAAMmC,SAAS,cAAfnC,uCAAAA,sBAAAA,OAAkBoC;QAClB/B,cAAc,eAAemB,mBAAmBY;QAEhD,gCAAgC;QAChC,IAAI,CAACL,SAASM,OAAO,IAAI,CAACD,EAAEE,OAAO,IAAIF,EAAEG,gBAAgB,EAAE;YACzD;QACF;QAEA,IAAIH,EAAEI,GAAG,KAAKhD,MAAM;YAClB,MAAMiD,WAAWV,SAASM,OAAO,CAACK,aAAa,CAAC;YAChD,IAAID,UAAU;oBACZR;iBAAAA,sBAAAA,mBAAmBQ,uBAAnBR,0CAAAA,oBAA8BU,KAAK;YACrC;QACF;QAEA,IAAIP,EAAEI,GAAG,KAAKjD,KAAK;YACjB,MAAMqD,OAAOb,SAASM,OAAO,CAACQ,gBAAgB,CAAC;YAC/C,IAAID,KAAKE,MAAM,EAAE;oBAEfZ;gBADA,MAAMa,UAAUH,KAAKI,IAAI,CAACJ,KAAKE,MAAM,GAAG;iBACxCZ,qBAAAA,kBAAkBa,sBAAlBb,yCAAAA,mBAA2CS,KAAK;YAClD;QACF;IACF;IAEA,MAAMM,iBAAiB7D,kBACrB;QACE8D,MAAM;QACNC,IAAI;QACJC,kBAAkB;QAClB,GAAI/C,cAAc,UAAUgB,oBAAoB;QAChD,GAAIhB,cAAc,eAAeqB,yBAAyB;QAC1D,GAAG1B,KAAK;QACRmC;QACA,GAAInB,mBAAmBa,WAAWwB,qBAAqB,CAACC,aAAa,CAACtD,SAAS,CAAC,CAAC;IACnF,GACAV,cAAcW,KAAK4B,WAAW0B,QAAQ,EAAExB;IAG1C,OAAO;QACL,GAAGkB,cAAc;QACjB5C;QACAwB;QACA2B,gBAAgB,CAAC,CAAClD;QAClBO;QACAC;QACAE;QACAY;IACF;AACF,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/useDataGridContextValues.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTableContextValues_unstable } from '../Table/useTableContextValues';\nimport type { DataGridContextValues, DataGridState } from './DataGrid.types';\n\nexport function useDataGridContextValues_unstable(state: DataGridState): DataGridContextValues {\n const tableContextValues = useTableContextValues_unstable(state);\n const {\n tableState,\n focusMode,\n selectableRows,\n subtleSelection,\n selectionAppearance,\n resizableColumns,\n compositeRowTabsterAttribute,\n } = state;\n\n const dataGrid = React.useMemo(\n () => ({\n ...tableState,\n focusMode,\n selectableRows,\n subtleSelection,\n selectionAppearance,\n resizableColumns,\n compositeRowTabsterAttribute,\n }),\n [\n tableState,\n focusMode,\n selectableRows,\n subtleSelection,\n selectionAppearance,\n resizableColumns,\n compositeRowTabsterAttribute,\n ],\n );\n\n return {\n ...tableContextValues,\n dataGrid,\n };\n}\n"],"names":["React","useTableContextValues_unstable","useDataGridContextValues_unstable","state","tableContextValues","tableState","focusMode","selectableRows","subtleSelection","selectionAppearance","resizableColumns","compositeRowTabsterAttribute","dataGrid","useMemo"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,8BAA8B,QAAQ,oCAAiC;AAGhF,OAAO,SAASC,kCAAkCC,KAAoB;IACpE,MAAMC,qBAAqBH,+BAA+BE;IAC1D,MAAM,EACJE,UAAU,EACVC,SAAS,EACTC,cAAc,EACdC,eAAe,EACfC,mBAAmB,EACnBC,gBAAgB,EAChBC,4BAA4B,EAC7B,GAAGR;IAEJ,MAAMS,WAAWZ,MAAMa,OAAO,CAC5B,IAAO,CAAA;YACL,GAAGR,UAAU;YACbC;YACAC;YACAC;YACAC;YACAC;YACAC;QACF,CAAA,GACA;QACEN;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IAGH,OAAO;QACL,GAAGP,kBAAkB;QACrBQ;IACF;AACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableStyles_unstable } from "../Table/useTableStyles.styles.css.js";
|
|
4
|
+
import "./DataGrid.module.css";
|
|
5
|
+
export const dataGridClassNames = {
|
|
6
|
+
root: 'fui-DataGrid'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridStyles_unstable = (state)=>{
|
|
9
|
+
useTableStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/useDataGridStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridSlots, DataGridState } from './DataGrid.types';\nimport { useTableStyles_unstable } from '../Table/useTableStyles.styles.css';\nimport './DataGrid.module.css';\n\nexport const dataGridClassNames: SlotClassNames<DataGridSlots> = {\n root: 'fui-DataGrid',\n};\n\nexport const useDataGridStyles_unstable = (state: DataGridState): DataGridState => {\n useTableStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableStyles_unstable","dataGridClassNames","root","useDataGridStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,uBAAuB,QAAQ,wCAAqC;AAC7E,OAAO,wBAAwB;AAE/B,OAAO,MAAMC,qBAAoD;IAC/DC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,6BAA6B,CAACC;IACzCJ,wBAAwBI;IACxB,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,mBAAmBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IACzE,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableStyles_unstable } from "../Table/useTableStyles.styles.css.js";
|
|
4
|
+
import "./DataGrid.module.css";
|
|
5
|
+
export const dataGridClassNames = {
|
|
6
|
+
root: 'fui-DataGrid'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridStyles_unstable = (state)=>{
|
|
9
|
+
useTableStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/useDataGridStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridSlots, DataGridState } from './DataGrid.types';\nimport { useTableStyles_unstable } from '../Table/useTableStyles.styles.css';\nimport './DataGrid.module.css';\n\nexport const dataGridClassNames: SlotClassNames<DataGridSlots> = {\n root: 'fui-DataGrid',\n};\n\nexport const useDataGridStyles_unstable = (state: DataGridState): DataGridState => {\n useTableStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableStyles_unstable","dataGridClassNames","root","useDataGridStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,uBAAuB,QAAQ,wCAAqC;AAC7E,OAAO,wBAAwB;AAE/B,OAAO,MAAMC,qBAAoD;IAC/DC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,6BAA6B,CAACC;IACzCJ,wBAAwBI;IACxB,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,mBAAmBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IACzE,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGrid/useDataGridStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@griffel/react';\nimport type { DataGridSlots, DataGridState } from './DataGrid.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { useTableStyles_unstable } from '../Table/useTableStyles.styles';\n\nexport const dataGridClassNames: SlotClassNames<DataGridSlots> = {\n root: 'fui-DataGrid',\n};\n\n/**\n * Apply styling to the DataGrid slots based on the state\n */\nexport const useDataGridStyles_unstable = (state: DataGridState): DataGridState => {\n useTableStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(dataGridClassNames.root, state.root.className);\n\n return state;\n};\n"],"names":["mergeClasses","useTableStyles_unstable","dataGridClassNames","root","useDataGridStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,uBAAuB,QAAQ,oCAAiC;AAEzE,OAAO,MAAMC,qBAAoD;IAC/DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,6BAA6B,CAACC;IACzCJ,wBAAwBI;IACxB,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,aAAaE,mBAAmBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAEjF,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/DataGridBody.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDataGridBody_unstable } from './useDataGridBody';\nimport { renderDataGridBody_unstable } from './renderDataGridBody';\nimport { useDataGridBodyStyles_unstable } from './useDataGridBodyStyles.styles';\nimport type { DataGridBodyProps } from './DataGridBody.types';\nimport type { ForwardRefComponent, JSXElement } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * DataGridBody component\n */\nexport const DataGridBody: ForwardRefComponent<DataGridBodyProps> &\n (<TItem>(props: DataGridBodyProps<TItem>) => JSXElement) = React.forwardRef<HTMLElement, DataGridBodyProps>(\n (props, ref) => {\n const state = useDataGridBody_unstable(props, ref);\n\n useDataGridBodyStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDataGridBodyStyles_unstable')(state);\n\n return renderDataGridBody_unstable(state);\n },\n) as ForwardRefComponent<DataGridBodyProps> & (<TItem>(props: DataGridBodyProps<TItem>) => JSXElement);\n\nDataGridBody.displayName = 'DataGridBody';\n"],"names":["React","useDataGridBody_unstable","renderDataGridBody_unstable","useDataGridBodyStyles_unstable","useCustomStyleHook_unstable","DataGridBody","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,8BAA8B,QAAQ,oCAAiC;AAGhF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,6BACgDL,MAAMM,UAAU,CAC3E,CAACC,OAAOC;IACN,MAAMC,QAAQR,yBAAyBM,OAAOC;IAE9CL,+BAA+BM;IAE/BL,4BAA4B,kCAAkCK;IAE9D,OAAOP,4BAA4BO;AACrC,GACqG;AAEvGJ,aAAaK,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer fluent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/DataGridBody.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { TableRowData } from '../../hooks';\nimport type { TableBodySlots, TableBodyProps, TableBodyState } from '../TableBody/TableBody.types';\n\nexport type DataGridBodySlots = TableBodySlots;\n\nexport type RowRenderFunction<TItem = unknown> = (row: TableRowData<TItem>, ...rest: unknown[]) => React.ReactNode;\n\n/**\n * DataGridBody Props\n */\nexport type DataGridBodyProps<TItem = unknown> = Omit<TableBodyProps, 'children'> & {\n /**\n * Render function for rows\n */\n children: RowRenderFunction<TItem>;\n};\n\n/**\n * State used in rendering DataGridBody\n */\nexport type DataGridBodyState = TableBodyState & {\n rows: TableRowData<unknown>[];\n\n renderRow: RowRenderFunction;\n};\n"],"names":[],"mappings":"AAkBA;;CAEC,GACD,WAIE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/index.ts"],"sourcesContent":["export { DataGridBody } from './DataGridBody';\nexport type { DataGridBodyProps, DataGridBodySlots, DataGridBodyState, RowRenderFunction } from './DataGridBody.types';\nexport { renderDataGridBody_unstable } from './renderDataGridBody';\nexport { useDataGridBody_unstable } from './useDataGridBody';\nexport { dataGridBodyClassNames, useDataGridBodyStyles_unstable } from './useDataGridBodyStyles.styles';\n"],"names":["DataGridBody","renderDataGridBody_unstable","useDataGridBody_unstable","dataGridBodyClassNames","useDataGridBodyStyles_unstable"],"mappings":"AAAA,SAASA,YAAY,QAAQ,oBAAiB;AAE9C,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,sBAAsB,EAAEC,8BAA8B,QAAQ,oCAAiC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { assertSlots } from "@fluentui/react-utilities";
|
|
1
|
+
import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
+
import { assertSlots } from "@fluentui/react-utilities";
|
|
3
3
|
import { TableRowIdContextProvider } from "../../contexts/rowIdContext.js";
|
|
4
4
|
/**
|
|
5
5
|
* Render the final JSX of DataGridBody
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/renderDataGridBody.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { DataGridBodyState, DataGridBodySlots } from './DataGridBody.types';\nimport { TableRowIdContextProvider } from '../../contexts/rowIdContext';\n\n/**\n * Render the final JSX of DataGridBody\n */\nexport const renderDataGridBody_unstable = (state: DataGridBodyState): JSXElement => {\n assertSlots<DataGridBodySlots>(state);\n\n return (\n <state.root>\n {state.rows.map(row => (\n <TableRowIdContextProvider key={row.rowId} value={row.rowId}>\n {state.renderRow(row)}\n </TableRowIdContextProvider>\n ))}\n </state.root>\n );\n};\n"],"names":["assertSlots","TableRowIdContextProvider","renderDataGridBody_unstable","state","root","rows","map","row","value","rowId","renderRow"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,yBAAyB,QAAQ,iCAA8B;AAExE;;CAEC,GACD,OAAO,MAAMC,8BAA8B,CAACC;IAC1CH,YAA+BG;IAE/B,qBACE,KAACA,MAAMC,IAAI;kBACRD,MAAME,IAAI,CAACC,GAAG,CAACC,CAAAA,oBACd,KAACN;gBAA0CO,OAAOD,IAAIE,KAAK;0BACxDN,MAAMO,SAAS,CAACH;eADaA,IAAIE,KAAK;;AAMjD,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/useDataGridBody.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport type { DataGridBodyProps, DataGridBodyState } from './DataGridBody.types';\nimport { useTableBody_unstable } from '../TableBody/useTableBody';\nimport { useDataGridContext_unstable } from '../../contexts/dataGridContext';\nimport { useTableContext } from '../../contexts/tableContext';\n\n/**\n * Create the state required to render DataGridBody.\n *\n * The returned state can be modified with hooks such as useDataGridBodyStyles_unstable,\n * before being passed to renderDataGridBody_unstable.\n *\n * @param props - props from this instance of DataGridBody\n * @param ref - reference to root HTMLElement of DataGridBody\n */\nexport const useDataGridBody_unstable = (props: DataGridBodyProps, ref: React.Ref<HTMLElement>): DataGridBodyState => {\n const { sortable } = useTableContext();\n const getRows = useDataGridContext_unstable(ctx => ctx.getRows);\n const sort = useDataGridContext_unstable(ctx => ctx.sort.sort);\n const rows = sortable ? sort(getRows()) : getRows();\n\n const baseState = useTableBody_unstable({ ...props, children: null, as: 'div' }, ref);\n return {\n ...baseState,\n rows,\n renderRow: props.children,\n };\n};\n"],"names":["useTableBody_unstable","useDataGridContext_unstable","useTableContext","useDataGridBody_unstable","props","ref","sortable","getRows","ctx","sort","rows","baseState","children","as","renderRow"],"mappings":"AAAA;AAIA,SAASA,qBAAqB,QAAQ,+BAA4B;AAClE,SAASC,2BAA2B,QAAQ,oCAAiC;AAC7E,SAASC,eAAe,QAAQ,iCAA8B;AAE9D;;;;;;;;CAQC,GACD,OAAO,MAAMC,2BAA2B,CAACC,OAA0BC;IACjE,MAAM,EAAEC,QAAQ,EAAE,GAAGJ;IACrB,MAAMK,UAAUN,4BAA4BO,CAAAA,MAAOA,IAAID,OAAO;IAC9D,MAAME,OAAOR,4BAA4BO,CAAAA,MAAOA,IAAIC,IAAI,CAACA,IAAI;IAC7D,MAAMC,OAAOJ,WAAWG,KAAKF,aAAaA;IAE1C,MAAMI,YAAYX,sBAAsB;QAAE,GAAGI,KAAK;QAAEQ,UAAU;QAAMC,IAAI;IAAM,GAAGR;IACjF,OAAO;QACL,GAAGM,SAAS;QACZD;QACAI,WAAWV,MAAMQ,QAAQ;IAC3B;AACF,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableBodyStyles_unstable } from "../TableBody/useTableBodyStyles.styles.css.js";
|
|
4
|
+
import "./DataGridBody.module.css";
|
|
5
|
+
export const dataGridBodyClassNames = {
|
|
6
|
+
root: 'fui-DataGridBody'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridBodyStyles_unstable = (state)=>{
|
|
9
|
+
useTableBodyStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridBodyClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/useDataGridBodyStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridBodySlots, DataGridBodyState } from './DataGridBody.types';\nimport { useTableBodyStyles_unstable } from '../TableBody/useTableBodyStyles.styles.css';\nimport './DataGridBody.module.css';\n\nexport const dataGridBodyClassNames: SlotClassNames<DataGridBodySlots> = {\n root: 'fui-DataGridBody',\n};\n\nexport const useDataGridBodyStyles_unstable = (state: DataGridBodyState): DataGridBodyState => {\n useTableBodyStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridBodyClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableBodyStyles_unstable","dataGridBodyClassNames","root","useDataGridBodyStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,2BAA2B,QAAQ,gDAA6C;AACzF,OAAO,4BAA4B;AAEnC,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC7E,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableBodyStyles_unstable } from "../TableBody/useTableBodyStyles.styles.css.js";
|
|
4
|
+
import "./DataGridBody.module.css";
|
|
5
|
+
export const dataGridBodyClassNames = {
|
|
6
|
+
root: 'fui-DataGridBody'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridBodyStyles_unstable = (state)=>{
|
|
9
|
+
useTableBodyStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridBodyClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/useDataGridBodyStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridBodySlots, DataGridBodyState } from './DataGridBody.types';\nimport { useTableBodyStyles_unstable } from '../TableBody/useTableBodyStyles.styles.css';\nimport './DataGridBody.module.css';\n\nexport const dataGridBodyClassNames: SlotClassNames<DataGridBodySlots> = {\n root: 'fui-DataGridBody',\n};\n\nexport const useDataGridBodyStyles_unstable = (state: DataGridBodyState): DataGridBodyState => {\n useTableBodyStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridBodyClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableBodyStyles_unstable","dataGridBodyClassNames","root","useDataGridBodyStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,2BAA2B,QAAQ,gDAA6C;AACzF,OAAO,4BAA4B;AAEnC,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC7E,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridBody/useDataGridBodyStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@griffel/react';\nimport type { DataGridBodySlots, DataGridBodyState } from './DataGridBody.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { useTableBodyStyles_unstable } from '../TableBody/useTableBodyStyles.styles';\n\nexport const dataGridBodyClassNames: SlotClassNames<DataGridBodySlots> = {\n root: 'fui-DataGridBody',\n};\n\n/**\n * Apply styling to the DataGridBody slots based on the state\n */\nexport const useDataGridBodyStyles_unstable = (state: DataGridBodyState): DataGridBodyState => {\n useTableBodyStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(dataGridBodyClassNames.root, state.root.className);\n\n return state;\n};\n"],"names":["mergeClasses","useTableBodyStyles_unstable","dataGridBodyClassNames","root","useDataGridBodyStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,2BAA2B,QAAQ,4CAAyC;AAErF,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,aAAaE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAErF,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/DataGridCell.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDataGridCell_unstable } from './useDataGridCell';\nimport { renderDataGridCell_unstable } from './renderDataGridCell';\nimport { useDataGridCellStyles_unstable } from './useDataGridCellStyles.styles';\nimport type { DataGridCellProps } from './DataGridCell.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * DataGridCell component\n */\nexport const DataGridCell: ForwardRefComponent<DataGridCellProps> = React.forwardRef((props, ref) => {\n const state = useDataGridCell_unstable(props, ref);\n\n useDataGridCellStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDataGridCellStyles_unstable')(state);\n\n return renderDataGridCell_unstable(state);\n});\n\nDataGridCell.displayName = 'DataGridCell';\n"],"names":["React","useDataGridCell_unstable","renderDataGridCell_unstable","useDataGridCellStyles_unstable","useCustomStyleHook_unstable","DataGridCell","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,8BAA8B,QAAQ,oCAAiC;AAGhF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,6BAAuDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3F,MAAMC,QAAQR,yBAAyBM,OAAOC;IAE9CL,+BAA+BM;IAE/BL,4BAA4B,kCAAkCK;IAE9D,OAAOP,4BAA4BO;AACrC,GAAG;AAEHJ,aAAaK,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer fluent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/DataGridCell.types.ts"],"sourcesContent":["import type { TableCellProps, TableCellSlots, TableCellState } from '../TableCell/TableCell.types';\n\nexport type DataGridCellSlots = TableCellSlots;\n\n/**\n * Used when there are nested focusble elements inside a focusable cell\n * - `group`: Enter keypress moves focus inside the cell, focus is trapped inside the cell until Escape keypress\n * - `cell`: The cell is focusable - if there are focusable elements in the cell use `group`\n * - `none`: The cell is not focusable\n */\nexport type DataGridCellFocusMode = 'group' | 'none' | 'cell';\n\n/**\n * DataGridCell Props\n */\nexport type DataGridCellProps = TableCellProps & {\n /**\n * Used when there are nested focusble elements inside a focusable cell\n * - `group`: Enter keypress moves focus inside the cell, focus is trapped inside the cell until Escape keypress\n * - `cell`: The cell is focusable - if there are focusable elements in the cell use `group`\n * - `none`: The cell is not focusable\n * @default cell\n */\n focusMode?: DataGridCellFocusMode;\n};\n\n/**\n * State used in rendering DataGridCell\n */\nexport type DataGridCellState = TableCellState;\n"],"names":[],"mappings":"AA0BA;;CAEC,GACD,WAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/index.ts"],"sourcesContent":["export { DataGridCell } from './DataGridCell';\nexport type {\n DataGridCellFocusMode,\n DataGridCellProps,\n DataGridCellSlots,\n DataGridCellState,\n} from './DataGridCell.types';\nexport { renderDataGridCell_unstable } from './renderDataGridCell';\nexport { useDataGridCell_unstable } from './useDataGridCell';\nexport { dataGridCellClassNames, useDataGridCellStyles_unstable } from './useDataGridCellStyles.styles';\n"],"names":["DataGridCell","renderDataGridCell_unstable","useDataGridCell_unstable","dataGridCellClassNames","useDataGridCellStyles_unstable"],"mappings":"AAAA,SAASA,YAAY,QAAQ,oBAAiB;AAO9C,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,sBAAsB,EAAEC,8BAA8B,QAAQ,oCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/renderDataGridCell.tsx"],"sourcesContent":["import type { JSXElement } from '@fluentui/react-utilities';\nimport type { DataGridCellState } from './DataGridCell.types';\nimport { renderTableCell_unstable } from '../TableCell/renderTableCell';\n\n/**\n * Render the final JSX of DataGridCell\n */\nexport const renderDataGridCell_unstable = (state: DataGridCellState): JSXElement => {\n return renderTableCell_unstable(state);\n};\n"],"names":["renderTableCell_unstable","renderDataGridCell_unstable","state"],"mappings":"AAEA,SAASA,wBAAwB,QAAQ,kCAA+B;AAExE;;CAEC,GACD,OAAO,MAAMC,8BAA8B,CAACC;IAC1C,OAAOF,yBAAyBE;AAClC,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/useDataGridCell.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { useFocusableGroup } from '@fluentui/react-tabster';\nimport type { DataGridCellProps, DataGridCellState } from './DataGridCell.types';\nimport { useTableCell_unstable } from '../TableCell/useTableCell';\nimport { useDataGridContext_unstable } from '../../contexts/dataGridContext';\nimport { useColumnIdContext } from '../../contexts/columnIdContext';\n\n/**\n * Create the state required to render DataGridCell.\n *\n * The returned state can be modified with hooks such as useDataGridCellStyles_unstable,\n * before being passed to renderDataGridCell_unstable.\n *\n * @param props - props from this instance of DataGridCell\n * @param ref - reference to root HTMLElement of DataGridCell\n */\nexport const useDataGridCell_unstable = (props: DataGridCellProps, ref: React.Ref<HTMLElement>): DataGridCellState => {\n const { focusMode = 'cell' } = props;\n const columnId = useColumnIdContext();\n const tabbable = useDataGridContext_unstable(\n ctx => (ctx.focusMode === 'cell' || ctx.focusMode === 'composite') && focusMode !== 'none',\n );\n const resizableColumns = useDataGridContext_unstable(ctx => ctx.resizableColumns);\n const getTableCellProps = useDataGridContext_unstable(ctx => {\n return ctx.columnSizing_unstable.getTableCellProps;\n });\n const focusableGroupAttr = useFocusableGroup({ tabBehavior: 'limited-trap-focus' });\n return useTableCell_unstable(\n {\n as: 'div',\n role: 'gridcell',\n ...(focusMode === 'group' && focusableGroupAttr),\n tabIndex: tabbable ? 0 : undefined,\n ...(resizableColumns ? getTableCellProps(columnId) : {}),\n ...props,\n },\n ref,\n );\n};\n"],"names":["useFocusableGroup","useTableCell_unstable","useDataGridContext_unstable","useColumnIdContext","useDataGridCell_unstable","props","ref","focusMode","columnId","tabbable","ctx","resizableColumns","getTableCellProps","columnSizing_unstable","focusableGroupAttr","tabBehavior","as","role","tabIndex","undefined"],"mappings":"AAAA;AAGA,SAASA,iBAAiB,QAAQ,0BAA0B;AAE5D,SAASC,qBAAqB,QAAQ,+BAA4B;AAClE,SAASC,2BAA2B,QAAQ,oCAAiC;AAC7E,SAASC,kBAAkB,QAAQ,oCAAiC;AAEpE;;;;;;;;CAQC,GACD,OAAO,MAAMC,2BAA2B,CAACC,OAA0BC;IACjE,MAAM,EAAEC,YAAY,MAAM,EAAE,GAAGF;IAC/B,MAAMG,WAAWL;IACjB,MAAMM,WAAWP,4BACfQ,CAAAA,MAAO,AAACA,CAAAA,IAAIH,SAAS,KAAK,UAAUG,IAAIH,SAAS,KAAK,WAAU,KAAMA,cAAc;IAEtF,MAAMI,mBAAmBT,4BAA4BQ,CAAAA,MAAOA,IAAIC,gBAAgB;IAChF,MAAMC,oBAAoBV,4BAA4BQ,CAAAA;QACpD,OAAOA,IAAIG,qBAAqB,CAACD,iBAAiB;IACpD;IACA,MAAME,qBAAqBd,kBAAkB;QAAEe,aAAa;IAAqB;IACjF,OAAOd,sBACL;QACEe,IAAI;QACJC,MAAM;QACN,GAAIV,cAAc,WAAWO,kBAAkB;QAC/CI,UAAUT,WAAW,IAAIU;QACzB,GAAIR,mBAAmBC,kBAAkBJ,YAAY,CAAC,CAAC;QACvD,GAAGH,KAAK;IACV,GACAC;AAEJ,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableCellStyles_unstable } from "../TableCell/useTableCellStyles.styles.css.js";
|
|
4
|
+
import "./DataGridCell.module.css";
|
|
5
|
+
export const dataGridCellClassNames = {
|
|
6
|
+
root: 'fui-DataGridCell'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridCellStyles_unstable = (state)=>{
|
|
9
|
+
useTableCellStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridCellClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/useDataGridCellStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridCellSlots, DataGridCellState } from './DataGridCell.types';\nimport { useTableCellStyles_unstable } from '../TableCell/useTableCellStyles.styles.css';\nimport './DataGridCell.module.css';\n\nexport const dataGridCellClassNames: SlotClassNames<DataGridCellSlots> = {\n root: 'fui-DataGridCell',\n};\n\nexport const useDataGridCellStyles_unstable = (state: DataGridCellState): DataGridCellState => {\n useTableCellStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridCellClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableCellStyles_unstable","dataGridCellClassNames","root","useDataGridCellStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,2BAA2B,QAAQ,gDAA6C;AACzF,OAAO,4BAA4B;AAEnC,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC7E,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableCellStyles_unstable } from "../TableCell/useTableCellStyles.styles.css.js";
|
|
4
|
+
import "./DataGridCell.module.css";
|
|
5
|
+
export const dataGridCellClassNames = {
|
|
6
|
+
root: 'fui-DataGridCell'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridCellStyles_unstable = (state)=>{
|
|
9
|
+
useTableCellStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridCellClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/useDataGridCellStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DataGridCellSlots, DataGridCellState } from './DataGridCell.types';\nimport { useTableCellStyles_unstable } from '../TableCell/useTableCellStyles.styles.css';\nimport './DataGridCell.module.css';\n\nexport const dataGridCellClassNames: SlotClassNames<DataGridCellSlots> = {\n root: 'fui-DataGridCell',\n};\n\nexport const useDataGridCellStyles_unstable = (state: DataGridCellState): DataGridCellState => {\n useTableCellStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(dataGridCellClassNames.root, state.root.className);\n return state;\n};\n"],"names":["clsx","useTableCellStyles_unstable","dataGridCellClassNames","root","useDataGridCellStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAG5B,SAASC,2BAA2B,QAAQ,gDAA6C;AACzF,OAAO,4BAA4B;AAEnC,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KAAKE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAC7E,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridCell/useDataGridCellStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { mergeClasses } from '@griffel/react';\nimport type { DataGridCellSlots, DataGridCellState } from './DataGridCell.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport { useTableCellStyles_unstable } from '../TableCell/useTableCellStyles.styles';\n\nexport const dataGridCellClassNames: SlotClassNames<DataGridCellSlots> = {\n root: 'fui-DataGridCell',\n};\n\n/**\n * Apply styling to the DataGridCell slots based on the state\n */\nexport const useDataGridCellStyles_unstable = (state: DataGridCellState): DataGridCellState => {\n useTableCellStyles_unstable(state);\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(dataGridCellClassNames.root, state.root.className);\n\n return state;\n};\n"],"names":["mergeClasses","useTableCellStyles_unstable","dataGridCellClassNames","root","useDataGridCellStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,2BAA2B,QAAQ,4CAAyC;AAErF,OAAO,MAAMC,yBAA4D;IACvEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iCAAiC,CAACC;IAC7CJ,4BAA4BI;IAC5B,oDAAoD;IACpDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,aAAaE,uBAAuBC,IAAI,EAAEE,MAAMF,IAAI,CAACG,SAAS;IAErF,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridHeader/DataGridHeader.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDataGridHeader_unstable } from './useDataGridHeader';\nimport { renderDataGridHeader_unstable } from './renderDataGridHeader';\nimport { useDataGridHeaderStyles_unstable } from './useDataGridHeaderStyles.styles';\nimport type { DataGridHeaderProps } from './DataGridHeader.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * DataGridHeader component\n */\nexport const DataGridHeader: ForwardRefComponent<DataGridHeaderProps> = React.forwardRef((props, ref) => {\n const state = useDataGridHeader_unstable(props, ref);\n\n useDataGridHeaderStyles_unstable(state);\n\n useCustomStyleHook_unstable('useDataGridHeaderStyles_unstable')(state);\n\n return renderDataGridHeader_unstable(state);\n});\n\nDataGridHeader.displayName = 'DataGridHeader';\n"],"names":["React","useDataGridHeader_unstable","renderDataGridHeader_unstable","useDataGridHeaderStyles_unstable","useCustomStyleHook_unstable","DataGridHeader","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,0BAA0B,QAAQ,yBAAsB;AACjE,SAASC,6BAA6B,QAAQ,4BAAyB;AACvE,SAASC,gCAAgC,QAAQ,sCAAmC;AAGpF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,+BAA2DL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC/F,MAAMC,QAAQR,2BAA2BM,OAAOC;IAEhDL,iCAAiCM;IAEjCL,4BAA4B,oCAAoCK;IAEhE,OAAOP,8BAA8BO;AACvC,GAAG;AAEHJ,eAAeK,WAAW,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer fluent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridHeader/DataGridHeader.types.ts"],"sourcesContent":["import type { TableHeaderProps, TableHeaderSlots, TableHeaderState } from '../TableHeader/TableHeader.types';\n\nexport type DataGridHeaderSlots = TableHeaderSlots;\n\n/**\n * DataGridHeader Props\n */\nexport type DataGridHeaderProps = TableHeaderProps;\n\n/**\n * State used in rendering DataGridHeader\n */\nexport type DataGridHeaderState = TableHeaderState;\n"],"names":[],"mappings":"AASA;;CAEC,GACD,WAAmD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridHeader/index.ts"],"sourcesContent":["export { DataGridHeader } from './DataGridHeader';\nexport type { DataGridHeaderProps, DataGridHeaderSlots, DataGridHeaderState } from './DataGridHeader.types';\nexport { renderDataGridHeader_unstable } from './renderDataGridHeader';\nexport { useDataGridHeader_unstable } from './useDataGridHeader';\nexport { dataGridHeaderClassNames, useDataGridHeaderStyles_unstable } from './useDataGridHeaderStyles.styles';\n"],"names":["DataGridHeader","renderDataGridHeader_unstable","useDataGridHeader_unstable","dataGridHeaderClassNames","useDataGridHeaderStyles_unstable"],"mappings":"AAAA,SAASA,cAAc,QAAQ,sBAAmB;AAElD,SAASC,6BAA6B,QAAQ,4BAAyB;AACvE,SAASC,0BAA0B,QAAQ,yBAAsB;AACjE,SAASC,wBAAwB,EAAEC,gCAAgC,QAAQ,sCAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridHeader/renderDataGridHeader.tsx"],"sourcesContent":["import type { JSXElement } from '@fluentui/react-utilities';\nimport { renderTableHeader_unstable } from '../TableHeader/renderTableHeader';\nimport type { DataGridHeaderState } from './DataGridHeader.types';\n\n/**\n * Render the final JSX of DataGridHeader\n */\nexport const renderDataGridHeader_unstable = (state: DataGridHeaderState): JSXElement => {\n return renderTableHeader_unstable(state);\n};\n"],"names":["renderTableHeader_unstable","renderDataGridHeader_unstable","state"],"mappings":"AACA,SAASA,0BAA0B,QAAQ,sCAAmC;AAG9E;;CAEC,GACD,OAAO,MAAMC,gCAAgC,CAACC;IAC5C,OAAOF,2BAA2BE;AACpC,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/DataGridHeader/useDataGridHeader.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport type { DataGridHeaderProps, DataGridHeaderState } from './DataGridHeader.types';\nimport { useTableHeader_unstable } from '../TableHeader/useTableHeader';\n\n/**\n * Create the state required to render DataGridHeader.\n *\n * The returned state can be modified with hooks such as useDataGridHeaderStyles_unstable,\n * before being passed to renderDataGridHeader_unstable.\n *\n * @param props - props from this instance of DataGridHeader\n * @param ref - reference to root HTMLElement of DataGridHeader\n */\nexport const useDataGridHeader_unstable = (\n props: DataGridHeaderProps,\n ref: React.Ref<HTMLElement>,\n): DataGridHeaderState => {\n return useTableHeader_unstable({ ...props, as: 'div' }, ref);\n};\n"],"names":["useTableHeader_unstable","useDataGridHeader_unstable","props","ref","as"],"mappings":"AAAA;AAIA,SAASA,uBAAuB,QAAQ,mCAAgC;AAExE;;;;;;;;CAQC,GACD,OAAO,MAAMC,6BAA6B,CACxCC,OACAC;IAEA,OAAOH,wBAAwB;QAAE,GAAGE,KAAK;QAAEE,IAAI;IAAM,GAAGD;AAC1D,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { clsx } from "clsx";
|
|
3
|
+
import { useTableHeaderStyles_unstable } from "../TableHeader/useTableHeaderStyles.styles.css.js";
|
|
4
|
+
import "./DataGridHeader.module.css";
|
|
5
|
+
export const dataGridHeaderClassNames = {
|
|
6
|
+
root: 'fui-DataGridHeader'
|
|
7
|
+
};
|
|
8
|
+
export const useDataGridHeaderStyles_unstable = (state)=>{
|
|
9
|
+
useTableHeaderStyles_unstable(state);
|
|
10
|
+
// eslint-disable-next-line react-hooks/immutability
|
|
11
|
+
state.root.className = clsx(dataGridHeaderClassNames.root, state.root.className);
|
|
12
|
+
return state;
|
|
13
|
+
};
|