@fluentui/react-table 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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 +58 -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 +19 -19
- package/dist/metadata/api/api-root.json +0 -1
- package/dist/metadata/index.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/Table.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type TableSlots = {\n root: Slot<'table', 'div'>;\n};\n\nexport type TableContextValue = {\n /**\n * Affects the sizes of all table subcomponents\n * @default medium\n */\n size: 'extra-small' | 'small' | 'medium';\n\n /**\n * Render all table elements as divs instead of semantic table elements\n * Using divs no longer uses `display: table` layout but `display: flex`\n * @default false\n */\n noNativeElements: boolean;\n\n /**\n * Whether the table is sortable\n * @default false\n */\n sortable: boolean;\n};\n\nexport type SortDirection = 'ascending' | 'descending';\n\nexport type TableContextValues = {\n table: TableContextValue;\n};\n\n/**\n * Table Props\n */\nexport type TableProps = ComponentProps<TableSlots> & Partial<TableContextValue>;\n\n/**\n * State used in rendering Table\n */\nexport type TableState = ComponentState<TableSlots> &\n Pick<Required<TableProps>, 'size' | 'noNativeElements'> &\n TableContextValue;\n"],"names":[],"mappings":"AAsCA;;CAEC,GACD,WAEoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/index.ts"],"sourcesContent":["export { Table } from './Table';\nexport type {\n SortDirection,\n TableContextValue,\n TableContextValues,\n TableProps,\n TableSlots,\n TableState,\n} from './Table.types';\nexport { renderTable_unstable } from './renderTable';\nexport { useTable_unstable } from './useTable';\nexport { tableClassName, tableClassNames, useTableStyles_unstable } from './useTableStyles.styles';\n"],"names":["Table","renderTable_unstable","useTable_unstable","tableClassName","tableClassNames","useTableStyles_unstable"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAShC,SAASC,oBAAoB,QAAQ,mBAAgB;AACrD,SAASC,iBAAiB,QAAQ,gBAAa;AAC/C,SAASC,cAAc,EAAEC,eAAe,EAAEC,uBAAuB,QAAQ,6BAA0B"}
|
|
@@ -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 { TableContextProvider } from "../../contexts/tableContext.js";
|
|
4
4
|
/**
|
|
5
5
|
* Render the final JSX of Table
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/renderTable.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 { TableState, TableSlots, TableContextValues } from './Table.types';\nimport { TableContextProvider } from '../../contexts/tableContext';\n\n/**\n * Render the final JSX of Table\n */\nexport const renderTable_unstable = (state: TableState, contextValues: TableContextValues): JSXElement => {\n assertSlots<TableSlots>(state);\n\n return (\n <TableContextProvider value={contextValues.table}>\n <state.root />\n </TableContextProvider>\n );\n};\n"],"names":["assertSlots","TableContextProvider","renderTable_unstable","state","contextValues","value","table","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD,SAASC,oBAAoB,QAAQ,iCAA8B;AAEnE;;CAEC,GACD,OAAO,MAAMC,uBAAuB,CAACC,OAAmBC;IACtDJ,YAAwBG;IAExB,qBACE,KAACF;QAAqBI,OAAOD,cAAcE,KAAK;kBAC9C,cAAA,KAACH,MAAMI,IAAI;;AAGjB,EAAE"}
|
|
@@ -8,9 +8,8 @@ import { getIntrinsicElementProps, slot } from "@fluentui/react-utilities";
|
|
|
8
8
|
* @param props - props from this instance of Table
|
|
9
9
|
* @param ref - reference to root HTMLElement of Table
|
|
10
10
|
*/ export const useTable_unstable = (props, ref)=>{
|
|
11
|
-
var _props_as;
|
|
11
|
+
var _props_as, _props_size, _props_noNativeElements, _props_sortable;
|
|
12
12
|
const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : props.noNativeElements) ? 'div' : 'table';
|
|
13
|
-
var _props_size, _props_noNativeElements, _props_sortable;
|
|
14
13
|
return {
|
|
15
14
|
components: {
|
|
16
15
|
root: rootComponent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/useTable.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TableProps, TableState } from './Table.types';\n\n/**\n * Create the state required to render Table.\n *\n * The returned state can be modified with hooks such as useTableStyles_unstable,\n * before being passed to renderTable_unstable.\n *\n * @param props - props from this instance of Table\n * @param ref - reference to root HTMLElement of Table\n */\nexport const useTable_unstable = (props: TableProps, ref: React.Ref<HTMLElement>): TableState => {\n const rootComponent = props.as ?? props.noNativeElements ? 'div' : 'table';\n\n return {\n components: {\n root: rootComponent,\n },\n root: slot.always(\n getIntrinsicElementProps(rootComponent, {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLDivElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLDivElement>,\n role: rootComponent === 'div' ? 'table' : undefined,\n ...props,\n }),\n { elementType: rootComponent },\n ),\n size: props.size ?? 'medium',\n noNativeElements: props.noNativeElements ?? false,\n sortable: props.sortable ?? false,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useTable_unstable","props","ref","rootComponent","as","noNativeElements","components","root","always","role","undefined","elementType","size","sortable"],"mappings":"AACA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,oBAAoB,CAACC,OAAmBC;QAC7BD,WAiBdA,aACYA,yBACRA;IAnBZ,MAAME,gBAAgBF,EAAAA,YAAAA,MAAMG,EAAE,cAARH,uBAAAA,YAAYA,MAAMI,gBAAgB,IAAG,QAAQ;IAEnE,OAAO;QACLC,YAAY;YACVC,MAAMJ;QACR;QACAI,MAAMR,KAAKS,MAAM,CACfV,yBAAyBK,eAAe;YACtC,SAAS;YACT,4EAA4E;YAC5E,4FAA4F;YAC5FD,KAAKA;YACLO,MAAMN,kBAAkB,QAAQ,UAAUO;YAC1C,GAAGT,KAAK;QACV,IACA;YAAEU,aAAaR;QAAc;QAE/BS,IAAI,GAAEX,cAAAA,MAAMW,IAAI,cAAVX,yBAAAA,cAAc;QACpBI,gBAAgB,GAAEJ,0BAAAA,MAAMI,gBAAgB,cAAtBJ,qCAAAA,0BAA0B;QAC5CY,QAAQ,GAAEZ,kBAAAA,MAAMY,QAAQ,cAAdZ,6BAAAA,kBAAkB;IAC9B;AACF,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/useTableContextValues.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { TableContextValues, TableState } from './Table.types';\n\nexport function useTableContextValues_unstable(state: TableState): TableContextValues {\n const { size, noNativeElements, sortable } = state;\n\n const tableContext = React.useMemo(\n () => ({\n noNativeElements,\n size,\n sortable,\n }),\n [noNativeElements, size, sortable],\n );\n\n return {\n table: tableContext,\n };\n}\n"],"names":["React","useTableContextValues_unstable","state","size","noNativeElements","sortable","tableContext","useMemo","table"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAG/B,OAAO,SAASC,+BAA+BC,KAAiB;IAC9D,MAAM,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,QAAQ,EAAE,GAAGH;IAE7C,MAAMI,eAAeN,MAAMO,OAAO,CAChC,IAAO,CAAA;YACLH;YACAD;YACAE;QACF,CAAA,GACA;QAACD;QAAkBD;QAAME;KAAS;IAGpC,OAAO;QACLG,OAAOF;IACT;AACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./Table.module.css";
|
|
3
|
+
export const tableClassName = 'fui-Table';
|
|
4
|
+
export const tableClassNames = {
|
|
5
|
+
root: 'fui-Table'
|
|
6
|
+
};
|
|
7
|
+
export const useTableStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableClassNames.root, styles.root, styles[state.noNativeElements ? 'flex' : 'table'], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/useTableStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableSlots, TableState } from './Table.types';\nimport styles from './Table.module.css';\n\nexport const tableClassName = 'fui-Table';\n\nexport const tableClassNames: SlotClassNames<TableSlots> = {\n root: 'fui-Table',\n};\n\nexport const useTableStyles_unstable = (state: TableState): TableState => {\n state.root.className = clsx(\n tableClassNames.root,\n styles.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableClassName","tableClassNames","root","useTableStyles_unstable","state","className","noNativeElements"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,qBAAqB;AAExC,OAAO,MAAMC,iBAAiB,YAAY;AAE1C,OAAO,MAAMC,kBAA8C;IACzDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,0BAA0B,CAACC;IACtCA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,gBAAgBC,IAAI,EACpBH,OAAOG,IAAI,EACXH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./Table.module.css";
|
|
3
|
+
export const tableClassName = 'fui-Table';
|
|
4
|
+
export const tableClassNames = {
|
|
5
|
+
root: 'fui-Table'
|
|
6
|
+
};
|
|
7
|
+
export const useTableStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableClassNames.root, styles.root, styles[state.noNativeElements ? 'flex' : 'table'], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/useTableStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableSlots, TableState } from './Table.types';\nimport styles from './Table.module.css';\n\nexport const tableClassName = 'fui-Table';\n\nexport const tableClassNames: SlotClassNames<TableSlots> = {\n root: 'fui-Table',\n};\n\nexport const useTableStyles_unstable = (state: TableState): TableState => {\n state.root.className = clsx(\n tableClassNames.root,\n styles.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableClassName","tableClassNames","root","useTableStyles_unstable","state","className","noNativeElements"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,qBAAqB;AAExC,OAAO,MAAMC,iBAAiB,YAAY;AAE1C,OAAO,MAAMC,kBAA8C;IACzDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,0BAA0B,CAACC;IACtCA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,gBAAgBC,IAAI,EACpBH,OAAOG,IAAI,EACXH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/Table/useTableStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TableSlots, TableState } from './Table.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const tableClassName = 'fui-Table';\nexport const tableClassNames: SlotClassNames<TableSlots> = {\n root: 'fui-Table',\n};\n\nconst useTableLayoutStyles = makeStyles({\n root: {\n display: 'table',\n verticalAlign: 'middle',\n width: '100%',\n tableLayout: 'fixed',\n },\n});\n\nconst useFlexLayoutStyles = makeStyles({\n root: {\n display: 'block',\n },\n});\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n borderCollapse: 'collapse',\n backgroundColor: tokens.colorSubtleBackground,\n },\n});\n\n/**\n * Apply styling to the Table slots based on the state\n */\nexport const useTableStyles_unstable = (state: TableState): TableState => {\n const styles = useStyles();\n const layoutStyles = {\n table: useTableLayoutStyles(),\n flex: useFlexLayoutStyles(),\n };\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n tableClassName,\n styles.root,\n state.noNativeElements ? layoutStyles.flex.root : layoutStyles.table.root,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tokens","tableClassName","tableClassNames","root","useTableLayoutStyles","display","verticalAlign","width","tableLayout","useFlexLayoutStyles","useStyles","borderCollapse","backgroundColor","colorSubtleBackground","useTableStyles_unstable","state","styles","layoutStyles","table","flex","className","noNativeElements"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAC1D,SAASC,MAAM,QAAQ,wBAAwB;AAI/C,OAAO,MAAMC,iBAAiB,YAAY;AAC1C,OAAO,MAAMC,kBAA8C;IACzDC,MAAM;AACR,EAAE;AAEF,MAAMC,uBAAuBN,WAAW;IACtCK,MAAM;QACJE,SAAS;QACTC,eAAe;QACfC,OAAO;QACPC,aAAa;IACf;AACF;AAEA,MAAMC,sBAAsBX,WAAW;IACrCK,MAAM;QACJE,SAAS;IACX;AACF;AAEA;;CAEC,GACD,MAAMK,YAAYZ,WAAW;IAC3BK,MAAM;QACJQ,gBAAgB;QAChBC,iBAAiBZ,OAAOa,qBAAqB;IAC/C;AACF;AAEA;;CAEC,GACD,OAAO,MAAMC,0BAA0B,CAACC;IACtC,MAAMC,SAASN;IACf,MAAMO,eAAe;QACnBC,OAAOd;QACPe,MAAMV;IACR;IACA,oDAAoD;IACpDM,MAAMZ,IAAI,CAACiB,SAAS,GAAGrB,aACrBE,gBACAe,OAAOb,IAAI,EACXY,MAAMM,gBAAgB,GAAGJ,aAAaE,IAAI,CAAChB,IAAI,GAAGc,aAAaC,KAAK,CAACf,IAAI,EACzEY,MAAMZ,IAAI,CAACiB,SAAS;IAGtB,OAAOL;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/TableBody.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTableBody_unstable } from './useTableBody';\nimport { renderTableBody_unstable } from './renderTableBody';\nimport { useTableBodyStyles_unstable } from './useTableBodyStyles.styles';\nimport type { TableBodyProps } from './TableBody.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TableBody component\n */\nexport const TableBody: ForwardRefComponent<TableBodyProps> = React.forwardRef((props, ref) => {\n const state = useTableBody_unstable(props, ref);\n\n useTableBodyStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTableBodyStyles_unstable')(state);\n\n return renderTableBody_unstable(state);\n});\n\nTableBody.displayName = 'TableBody';\n"],"names":["React","useTableBody_unstable","renderTableBody_unstable","useTableBodyStyles_unstable","useCustomStyleHook_unstable","TableBody","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,iCAA8B;AAG1E,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,0BAAiDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACrF,MAAMC,QAAQR,sBAAsBM,OAAOC;IAE3CL,4BAA4BM;IAE5BL,4BAA4B,+BAA+BK;IAE3D,OAAOP,yBAAyBO;AAClC,GAAG;AAEHJ,UAAUK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/TableBody.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport type { TableContextValue } from '../Table/Table.types';\n\nexport type TableBodySlots = {\n root: Slot<'tbody', 'div'>;\n};\n\n/**\n * TableBody Props\n */\nexport type TableBodyProps = ComponentProps<TableBodySlots>;\n\n/**\n * State used in rendering TableBody\n */\nexport type TableBodyState = ComponentState<TableBodySlots> & Pick<TableContextValue, 'noNativeElements'>;\n"],"names":[],"mappings":"AAYA;;CAEC,GACD,WAA0G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/index.ts"],"sourcesContent":["export { TableBody } from './TableBody';\nexport type { TableBodyProps, TableBodySlots, TableBodyState } from './TableBody.types';\nexport { renderTableBody_unstable } from './renderTableBody';\nexport { useTableBody_unstable } from './useTableBody';\nexport { tableBodyClassName, tableBodyClassNames, useTableBodyStyles_unstable } from './useTableBodyStyles.styles';\n"],"names":["TableBody","renderTableBody_unstable","useTableBody_unstable","tableBodyClassName","tableBodyClassNames","useTableBodyStyles_unstable"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAc;AAExC,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,kBAAkB,EAAEC,mBAAmB,EAAEC,2BAA2B,QAAQ,iCAA8B"}
|
|
@@ -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
|
/**
|
|
4
4
|
* Render the final JSX of TableBody
|
|
5
5
|
*/ export const renderTableBody_unstable = (state)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/renderTableBody.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 { TableBodyState, TableBodySlots } from './TableBody.types';\n\n/**\n * Render the final JSX of TableBody\n */\nexport const renderTableBody_unstable = (state: TableBodyState): JSXElement => {\n assertSlots<TableBodySlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderTableBody_unstable","state","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,2BAA2B,CAACC;IACvCF,YAA4BE;IAE5B,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
|
@@ -10,8 +10,8 @@ import { useTableContext } from "../../contexts/tableContext.js";
|
|
|
10
10
|
* @param props - props from this instance of TableBody
|
|
11
11
|
* @param ref - reference to root HTMLElement of TableBody
|
|
12
12
|
*/ export const useTableBody_unstable = (props, ref)=>{
|
|
13
|
-
const { noNativeElements } = useTableContext();
|
|
14
13
|
var _props_as;
|
|
14
|
+
const { noNativeElements } = useTableContext();
|
|
15
15
|
const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : noNativeElements) ? 'div' : 'tbody';
|
|
16
16
|
return {
|
|
17
17
|
components: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/useTableBody.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TableBodyProps, TableBodyState } from './TableBody.types';\nimport { useTableContext } from '../../contexts/tableContext';\n\n/**\n * Create the state required to render TableBody.\n *\n * The returned state can be modified with hooks such as useTableBodyStyles_unstable,\n * before being passed to renderTableBody_unstable.\n *\n * @param props - props from this instance of TableBody\n * @param ref - reference to root HTMLElement of TableBody\n */\nexport const useTableBody_unstable = (props: TableBodyProps, ref: React.Ref<HTMLElement>): TableBodyState => {\n const { noNativeElements } = useTableContext();\n const rootComponent = props.as ?? noNativeElements ? 'div' : 'tbody';\n\n return {\n components: {\n root: rootComponent,\n },\n root: slot.always(\n getIntrinsicElementProps(rootComponent, {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLDivElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLDivElement>,\n role: rootComponent === 'div' ? 'rowgroup' : undefined,\n ...props,\n }),\n { elementType: rootComponent },\n ),\n noNativeElements,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useTableContext","useTableBody_unstable","props","ref","noNativeElements","rootComponent","as","components","root","always","role","undefined","elementType"],"mappings":"AAAA;AAGA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAE3E,SAASC,eAAe,QAAQ,iCAA8B;AAE9D;;;;;;;;CAQC,GACD,OAAO,MAAMC,wBAAwB,CAACC,OAAuBC;QAErCD;IADtB,MAAM,EAAEE,gBAAgB,EAAE,GAAGJ;IAC7B,MAAMK,gBAAgBH,EAAAA,YAAAA,MAAMI,EAAE,cAARJ,uBAAAA,YAAYE,oBAAmB,QAAQ;IAE7D,OAAO;QACLG,YAAY;YACVC,MAAMH;QACR;QACAG,MAAMT,KAAKU,MAAM,CACfX,yBAAyBO,eAAe;YACtC,SAAS;YACT,4EAA4E;YAC5E,4FAA4F;YAC5FF,KAAKA;YACLO,MAAML,kBAAkB,QAAQ,aAAaM;YAC7C,GAAGT,KAAK;QACV,IACA;YAAEU,aAAaP;QAAc;QAE/BD;IACF;AACF,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableBody.module.css";
|
|
3
|
+
export const tableBodyClassName = 'fui-TableBody';
|
|
4
|
+
export const tableBodyClassNames = {
|
|
5
|
+
root: 'fui-TableBody'
|
|
6
|
+
};
|
|
7
|
+
export const useTableBodyStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableBodyClassNames.root, styles[state.noNativeElements ? 'flex' : 'table'], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/useTableBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableBodySlots, TableBodyState } from './TableBody.types';\nimport styles from './TableBody.module.css';\n\nexport const tableBodyClassName = 'fui-TableBody';\n\nexport const tableBodyClassNames: SlotClassNames<TableBodySlots> = {\n root: 'fui-TableBody',\n};\n\nexport const useTableBodyStyles_unstable = (state: TableBodyState): TableBodyState => {\n state.root.className = clsx(\n tableBodyClassNames.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableBodyClassName","tableBodyClassNames","root","useTableBodyStyles_unstable","state","className","noNativeElements"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,qBAAqB,gBAAgB;AAElD,OAAO,MAAMC,sBAAsD;IACjEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,oBAAoBC,IAAI,EACxBH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableBody.module.css";
|
|
3
|
+
export const tableBodyClassName = 'fui-TableBody';
|
|
4
|
+
export const tableBodyClassNames = {
|
|
5
|
+
root: 'fui-TableBody'
|
|
6
|
+
};
|
|
7
|
+
export const useTableBodyStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableBodyClassNames.root, styles[state.noNativeElements ? 'flex' : 'table'], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/useTableBodyStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableBodySlots, TableBodyState } from './TableBody.types';\nimport styles from './TableBody.module.css';\n\nexport const tableBodyClassName = 'fui-TableBody';\n\nexport const tableBodyClassNames: SlotClassNames<TableBodySlots> = {\n root: 'fui-TableBody',\n};\n\nexport const useTableBodyStyles_unstable = (state: TableBodyState): TableBodyState => {\n state.root.className = clsx(\n tableBodyClassNames.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableBodyClassName","tableBodyClassNames","root","useTableBodyStyles_unstable","state","className","noNativeElements"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,qBAAqB,gBAAgB;AAElD,OAAO,MAAMC,sBAAsD;IACjEC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,8BAA8B,CAACC;IAC1CA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,oBAAoBC,IAAI,EACxBH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableBody/useTableBodyStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { mergeClasses, makeStyles } from '@griffel/react';\nimport type { TableBodySlots, TableBodyState } from './TableBody.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nconst useTableLayoutStyles = makeStyles({\n root: {\n display: 'table-row-group',\n },\n});\n\nconst useFlexLayoutStyles = makeStyles({\n root: {\n display: 'block',\n },\n});\n\nexport const tableBodyClassName = 'fui-TableBody';\nexport const tableBodyClassNames: SlotClassNames<TableBodySlots> = {\n root: 'fui-TableBody',\n};\n\n/**\n * Apply styling to the TableBody slots based on the state\n */\nexport const useTableBodyStyles_unstable = (state: TableBodyState): TableBodyState => {\n const layoutStyles = {\n table: useTableLayoutStyles(),\n flex: useFlexLayoutStyles(),\n };\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n tableBodyClassName,\n state.noNativeElements ? layoutStyles.flex.root : layoutStyles.table.root,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["mergeClasses","makeStyles","useTableLayoutStyles","root","display","useFlexLayoutStyles","tableBodyClassName","tableBodyClassNames","useTableBodyStyles_unstable","state","layoutStyles","table","flex","className","noNativeElements"],"mappings":"AAAA;AAEA,SAASA,YAAY,EAAEC,UAAU,QAAQ,iBAAiB;AAI1D,MAAMC,uBAAuBD,WAAW;IACtCE,MAAM;QACJC,SAAS;IACX;AACF;AAEA,MAAMC,sBAAsBJ,WAAW;IACrCE,MAAM;QACJC,SAAS;IACX;AACF;AAEA,OAAO,MAAME,qBAAqB,gBAAgB;AAClD,OAAO,MAAMC,sBAAsD;IACjEJ,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMK,8BAA8B,CAACC;IAC1C,MAAMC,eAAe;QACnBC,OAAOT;QACPU,MAAMP;IACR;IACA,oDAAoD;IACpDI,MAAMN,IAAI,CAACU,SAAS,GAAGb,aACrBM,oBACAG,MAAMK,gBAAgB,GAAGJ,aAAaE,IAAI,CAACT,IAAI,GAAGO,aAAaC,KAAK,CAACR,IAAI,EACzEM,MAAMN,IAAI,CAACU,SAAS;IAGtB,OAAOJ;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/TableCell.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTableCell_unstable } from './useTableCell';\nimport { renderTableCell_unstable } from './renderTableCell';\nimport { useTableCellStyles_unstable } from './useTableCellStyles.styles';\nimport type { TableCellProps } from './TableCell.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TableCell component\n */\nexport const TableCell: ForwardRefComponent<TableCellProps> = React.forwardRef((props, ref) => {\n const state = useTableCell_unstable(props, ref);\n\n useTableCellStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTableCellStyles_unstable')(state);\n\n return renderTableCell_unstable(state);\n});\n\nTableCell.displayName = 'TableCell';\n"],"names":["React","useTableCell_unstable","renderTableCell_unstable","useTableCellStyles_unstable","useCustomStyleHook_unstable","TableCell","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,2BAA2B,QAAQ,iCAA8B;AAG1E,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,0BAAiDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACrF,MAAMC,QAAQR,sBAAsBM,OAAOC;IAE3CL,4BAA4BM;IAE5BL,4BAA4B,+BAA+BK;IAE3D,OAAOP,yBAAyBO;AAClC,GAAG;AAEHJ,UAAUK,WAAW,GAAG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@layer fluentui {
|
|
2
|
+
.root {
|
|
3
|
+
position: relative;
|
|
4
|
+
padding: 0 var(--spacingHorizontalS);
|
|
5
|
+
}
|
|
6
|
+
.root[data-fui-focus-visible] {
|
|
7
|
+
outline: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
8
|
+
border-radius: var(--borderRadiusMedium);
|
|
9
|
+
}
|
|
10
|
+
.table {
|
|
11
|
+
display: table-cell;
|
|
12
|
+
vertical-align: middle;
|
|
13
|
+
height: var(--fui-TableCell--height);
|
|
14
|
+
}
|
|
15
|
+
.flex {
|
|
16
|
+
display: flex;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
align-items: center;
|
|
19
|
+
flex: 1 1 0px;
|
|
20
|
+
min-height: var(--fui-TableCell--height);
|
|
21
|
+
}
|
|
22
|
+
.medium {
|
|
23
|
+
--fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalM));
|
|
24
|
+
}
|
|
25
|
+
.small {
|
|
26
|
+
--fui-TableCell--height: calc(var(--spacingVerticalXXXL) + var(--spacingVerticalXXS));
|
|
27
|
+
}
|
|
28
|
+
.extra-small {
|
|
29
|
+
--fui-TableCell--height: var(--spacingVerticalXXL);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/TableCell.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport type { TableContextValue } from '../Table/Table.types';\n\nexport type TableCellSlots = {\n root: Slot<'td', 'div'>;\n};\n\n/**\n * TableCell Props\n */\nexport type TableCellProps = ComponentProps<TableCellSlots> & {};\n\n/**\n * State used in rendering TableCell\n */\nexport type TableCellState = ComponentState<TableCellSlots> & Pick<TableContextValue, 'noNativeElements' | 'size'>;\n"],"names":[],"mappings":"AAYA;;CAEC,GACD,WAAmH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/index.ts"],"sourcesContent":["export { TableCell } from './TableCell';\nexport type { TableCellProps, TableCellSlots, TableCellState } from './TableCell.types';\nexport { renderTableCell_unstable } from './renderTableCell';\nexport { useTableCell_unstable } from './useTableCell';\nexport { tableCellClassName, tableCellClassNames, useTableCellStyles_unstable } from './useTableCellStyles.styles';\n"],"names":["TableCell","renderTableCell_unstable","useTableCell_unstable","tableCellClassName","tableCellClassNames","useTableCellStyles_unstable"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAc;AAExC,SAASC,wBAAwB,QAAQ,uBAAoB;AAC7D,SAASC,qBAAqB,QAAQ,oBAAiB;AACvD,SAASC,kBAAkB,EAAEC,mBAAmB,EAAEC,2BAA2B,QAAQ,iCAA8B"}
|
|
@@ -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
|
/**
|
|
4
4
|
* Render the final JSX of TableCell
|
|
5
5
|
*/ export const renderTableCell_unstable = (state)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/renderTableCell.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 { TableCellState, TableCellSlots } from './TableCell.types';\n\n/**\n * Render the final JSX of TableCell\n */\nexport const renderTableCell_unstable = (state: TableCellState): JSXElement => {\n assertSlots<TableCellSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderTableCell_unstable","state","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,2BAA2B,CAACC;IACvCF,YAA4BE;IAE5B,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
|
@@ -10,8 +10,8 @@ import { useTableContext } from "../../contexts/tableContext.js";
|
|
|
10
10
|
* @param props - props from this instance of TableCell
|
|
11
11
|
* @param ref - reference to root HTMLElement of TableCell
|
|
12
12
|
*/ export const useTableCell_unstable = (props, ref)=>{
|
|
13
|
-
const { noNativeElements, size } = useTableContext();
|
|
14
13
|
var _props_as;
|
|
14
|
+
const { noNativeElements, size } = useTableContext();
|
|
15
15
|
const rootComponent = ((_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : noNativeElements) ? 'div' : 'td';
|
|
16
16
|
return {
|
|
17
17
|
components: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/useTableCell.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TableCellProps, TableCellState } from './TableCell.types';\nimport { useTableContext } from '../../contexts/tableContext';\n\n/**\n * Create the state required to render TableCell.\n *\n * The returned state can be modified with hooks such as useTableCellStyles_unstable,\n * before being passed to renderTableCell_unstable.\n *\n * @param props - props from this instance of TableCell\n * @param ref - reference to root HTMLElement of TableCell\n */\nexport const useTableCell_unstable = (props: TableCellProps, ref: React.Ref<HTMLElement>): TableCellState => {\n const { noNativeElements, size } = useTableContext();\n\n const rootComponent = props.as ?? noNativeElements ? 'div' : 'td';\n\n return {\n components: {\n root: rootComponent,\n },\n root: slot.always(\n getIntrinsicElementProps(rootComponent, {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLDivElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLDivElement>,\n role: rootComponent === 'div' ? 'cell' : undefined,\n ...props,\n }),\n { elementType: rootComponent },\n ),\n noNativeElements,\n size,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useTableContext","useTableCell_unstable","props","ref","noNativeElements","size","rootComponent","as","components","root","always","role","undefined","elementType"],"mappings":"AAAA;AAGA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAE3E,SAASC,eAAe,QAAQ,iCAA8B;AAE9D;;;;;;;;CAQC,GACD,OAAO,MAAMC,wBAAwB,CAACC,OAAuBC;QAGrCD;IAFtB,MAAM,EAAEE,gBAAgB,EAAEC,IAAI,EAAE,GAAGL;IAEnC,MAAMM,gBAAgBJ,EAAAA,YAAAA,MAAMK,EAAE,cAARL,uBAAAA,YAAYE,oBAAmB,QAAQ;IAE7D,OAAO;QACLI,YAAY;YACVC,MAAMH;QACR;QACAG,MAAMV,KAAKW,MAAM,CACfZ,yBAAyBQ,eAAe;YACtC,SAAS;YACT,4EAA4E;YAC5E,4FAA4F;YAC5FH,KAAKA;YACLQ,MAAML,kBAAkB,QAAQ,SAASM;YACzC,GAAGV,KAAK;QACV,IACA;YAAEW,aAAaP;QAAc;QAE/BF;QACAC;IACF;AACF,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableCell.module.css";
|
|
3
|
+
export const tableCellClassName = 'fui-TableCell';
|
|
4
|
+
export const tableCellClassNames = {
|
|
5
|
+
root: tableCellClassName
|
|
6
|
+
};
|
|
7
|
+
export const useTableCellStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableCellClassNames.root, styles.root, styles[state.noNativeElements ? 'flex' : 'table'], styles[state.size], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/useTableCellStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableCellSlots, TableCellState } from './TableCell.types';\nimport styles from './TableCell.module.css';\n\nexport const tableCellClassName = 'fui-TableCell';\n\nexport const tableCellClassNames: SlotClassNames<TableCellSlots> = {\n root: tableCellClassName,\n};\n\nexport const useTableCellStyles_unstable = (state: TableCellState): TableCellState => {\n state.root.className = clsx(\n tableCellClassNames.root,\n styles.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n styles[state.size],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableCellClassName","tableCellClassNames","root","useTableCellStyles_unstable","state","className","noNativeElements","size"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,qBAAqB,gBAAgB;AAElD,OAAO,MAAMC,sBAAsD;IACjEC,MAAMF;AACR,EAAE;AAEF,OAAO,MAAMG,8BAA8B,CAACC;IAC1CA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,oBAAoBC,IAAI,EACxBH,OAAOG,IAAI,EACXH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDP,MAAM,CAACK,MAAMG,IAAI,CAAC,EAClBH,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableCell.module.css";
|
|
3
|
+
export const tableCellClassName = 'fui-TableCell';
|
|
4
|
+
export const tableCellClassNames = {
|
|
5
|
+
root: tableCellClassName
|
|
6
|
+
};
|
|
7
|
+
export const useTableCellStyles_unstable = (state)=>{
|
|
8
|
+
state.root.className = clsx(tableCellClassNames.root, styles.root, styles[state.noNativeElements ? 'flex' : 'table'], styles[state.size], state.root.className);
|
|
9
|
+
return state;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/useTableCellStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableCellSlots, TableCellState } from './TableCell.types';\nimport styles from './TableCell.module.css';\n\nexport const tableCellClassName = 'fui-TableCell';\n\nexport const tableCellClassNames: SlotClassNames<TableCellSlots> = {\n root: tableCellClassName,\n};\n\nexport const useTableCellStyles_unstable = (state: TableCellState): TableCellState => {\n state.root.className = clsx(\n tableCellClassNames.root,\n styles.root,\n styles[state.noNativeElements ? 'flex' : 'table'],\n styles[state.size],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableCellClassName","tableCellClassNames","root","useTableCellStyles_unstable","state","className","noNativeElements","size"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,yBAAyB;AAE5C,OAAO,MAAMC,qBAAqB,gBAAgB;AAElD,OAAO,MAAMC,sBAAsD;IACjEC,MAAMF;AACR,EAAE;AAEF,OAAO,MAAMG,8BAA8B,CAACC;IAC1CA,MAAMF,IAAI,CAACG,SAAS,GAAGP,KACrBG,oBAAoBC,IAAI,EACxBH,OAAOG,IAAI,EACXH,MAAM,CAACK,MAAME,gBAAgB,GAAG,SAAS,QAAQ,EACjDP,MAAM,CAACK,MAAMG,IAAI,CAAC,EAClBH,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCell/useTableCellStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';\nimport type { TableCellSlots, TableCellState } from './TableCell.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const tableCellClassName = 'fui-TableCell';\nexport const tableCellClassNames: SlotClassNames<TableCellSlots> = {\n root: tableCellClassName,\n};\n\nconst useTableLayoutStyles = makeStyles({\n root: {\n display: 'table-cell',\n verticalAlign: 'middle',\n },\n\n medium: {\n height: '44px',\n },\n\n small: {\n height: '34px',\n },\n\n 'extra-small': {\n height: '24px',\n },\n});\n\nconst useFlexLayoutStyles = makeStyles({\n root: {\n display: 'flex',\n minWidth: '0px',\n alignItems: 'center',\n flex: '1 1 0px',\n },\n\n medium: {\n minHeight: '44px',\n },\n\n small: {\n minHeight: '34px',\n },\n\n 'extra-small': {\n minHeight: '24px',\n },\n});\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n position: 'relative',\n padding: `0px ${tokens.spacingHorizontalS}`,\n\n ...createCustomFocusIndicatorStyle(\n { outline: `2px solid ${tokens.colorStrokeFocus2}`, borderRadius: tokens.borderRadiusMedium },\n { selector: 'focus' },\n ),\n },\n});\n\n/**\n * Apply styling to the TableCell slots based on the state\n */\nexport const useTableCellStyles_unstable = (state: TableCellState): TableCellState => {\n const styles = useStyles();\n const layoutStyles = {\n table: useTableLayoutStyles(),\n flex: useFlexLayoutStyles(),\n };\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n tableCellClassNames.root,\n styles.root,\n state.noNativeElements ? layoutStyles.flex.root : layoutStyles.table.root,\n state.noNativeElements ? layoutStyles.flex[state.size] : layoutStyles.table[state.size],\n state.root.className,\n );\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tokens","createCustomFocusIndicatorStyle","tableCellClassName","tableCellClassNames","root","useTableLayoutStyles","display","verticalAlign","medium","height","small","useFlexLayoutStyles","minWidth","alignItems","flex","minHeight","useStyles","position","padding","spacingHorizontalS","outline","colorStrokeFocus2","borderRadius","borderRadiusMedium","selector","useTableCellStyles_unstable","state","styles","layoutStyles","table","className","noNativeElements","size"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAC1D,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,SAASC,+BAA+B,QAAQ,0BAA0B;AAI1E,OAAO,MAAMC,qBAAqB,gBAAgB;AAClD,OAAO,MAAMC,sBAAsD;IACjEC,MAAMF;AACR,EAAE;AAEF,MAAMG,uBAAuBP,WAAW;IACtCM,MAAM;QACJE,SAAS;QACTC,eAAe;IACjB;IAEAC,QAAQ;QACNC,QAAQ;IACV;IAEAC,OAAO;QACLD,QAAQ;IACV;IAEA,eAAe;QACbA,QAAQ;IACV;AACF;AAEA,MAAME,sBAAsBb,WAAW;IACrCM,MAAM;QACJE,SAAS;QACTM,UAAU;QACVC,YAAY;QACZC,MAAM;IACR;IAEAN,QAAQ;QACNO,WAAW;IACb;IAEAL,OAAO;QACLK,WAAW;IACb;IAEA,eAAe;QACbA,WAAW;IACb;AACF;AAEA;;CAEC,GACD,MAAMC,YAAYlB,WAAW;IAC3BM,MAAM;QACJa,UAAU;QACVC,SAAS,CAAC,IAAI,EAAElB,OAAOmB,kBAAkB,EAAE;QAE3C,GAAGlB,gCACD;YAAEmB,SAAS,CAAC,UAAU,EAAEpB,OAAOqB,iBAAiB,EAAE;YAAEC,cAActB,OAAOuB,kBAAkB;QAAC,GAC5F;YAAEC,UAAU;QAAQ,EACrB;IACH;AACF;AAEA;;CAEC,GACD,OAAO,MAAMC,8BAA8B,CAACC;IAC1C,MAAMC,SAASX;IACf,MAAMY,eAAe;QACnBC,OAAOxB;QACPS,MAAMH;IACR;IACA,oDAAoD;IACpDe,MAAMtB,IAAI,CAAC0B,SAAS,GAAG/B,aACrBI,oBAAoBC,IAAI,EACxBuB,OAAOvB,IAAI,EACXsB,MAAMK,gBAAgB,GAAGH,aAAad,IAAI,CAACV,IAAI,GAAGwB,aAAaC,KAAK,CAACzB,IAAI,EACzEsB,MAAMK,gBAAgB,GAAGH,aAAad,IAAI,CAACY,MAAMM,IAAI,CAAC,GAAGJ,aAAaC,KAAK,CAACH,MAAMM,IAAI,CAAC,EACvFN,MAAMtB,IAAI,CAAC0B,SAAS;IAEtB,OAAOJ;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/TableCellActions.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTableCellActions_unstable } from './useTableCellActions';\nimport { renderTableCellActions_unstable } from './renderTableCellActions';\nimport { useTableCellActionsStyles_unstable } from './useTableCellActionsStyles.styles';\nimport type { TableCellActionsProps } from './TableCellActions.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TableCellActions component\n */\nexport const TableCellActions: ForwardRefComponent<TableCellActionsProps> = React.forwardRef((props, ref) => {\n const state = useTableCellActions_unstable(props, ref);\n\n useTableCellActionsStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTableCellActionsStyles_unstable')(state);\n\n return renderTableCellActions_unstable(state);\n});\n\nTableCellActions.displayName = 'TableCellActions';\n"],"names":["React","useTableCellActions_unstable","renderTableCellActions_unstable","useTableCellActionsStyles_unstable","useCustomStyleHook_unstable","TableCellActions","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,4BAA4B,QAAQ,2BAAwB;AACrE,SAASC,+BAA+B,QAAQ,8BAA2B;AAC3E,SAASC,kCAAkC,QAAQ,wCAAqC;AAGxF,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,iCAA+DL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACnG,MAAMC,QAAQR,6BAA6BM,OAAOC;IAElDL,mCAAmCM;IAEnCL,4BAA4B,sCAAsCK;IAElE,OAAOP,gCAAgCO;AACzC,GAAG;AAEHJ,iBAAiBK,WAAW,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/TableCellActions.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type TableCellActionsSlots = {\n root: Slot<'div'>;\n};\n\n/**\n * TableCellActions Props\n */\nexport type TableCellActionsProps = ComponentProps<TableCellActionsSlots> & {\n /**\n * When true, the actions are always visible regardless of row hover.\n * Can be useful keeping the actions visible when a popout surface is opened.\n */\n visible?: boolean;\n};\n\n/**\n * State used in rendering TableCellActions\n */\nexport type TableCellActionsState = ComponentState<TableCellActionsSlots> &\n Pick<Required<TableCellActionsProps>, 'visible'>;\n"],"names":[],"mappings":"AAiBA;;CAEC,GACD,WACmD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/index.ts"],"sourcesContent":["export { TableCellActions } from './TableCellActions';\nexport type { TableCellActionsProps, TableCellActionsSlots, TableCellActionsState } from './TableCellActions.types';\nexport { renderTableCellActions_unstable } from './renderTableCellActions';\nexport { useTableCellActions_unstable } from './useTableCellActions';\nexport { tableCellActionsClassNames, useTableCellActionsStyles_unstable } from './useTableCellActionsStyles.styles';\n"],"names":["TableCellActions","renderTableCellActions_unstable","useTableCellActions_unstable","tableCellActionsClassNames","useTableCellActionsStyles_unstable"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,wBAAqB;AAEtD,SAASC,+BAA+B,QAAQ,8BAA2B;AAC3E,SAASC,4BAA4B,QAAQ,2BAAwB;AACrE,SAASC,0BAA0B,EAAEC,kCAAkC,QAAQ,wCAAqC"}
|
|
@@ -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
|
/**
|
|
4
4
|
* Render the final JSX of TableCellActions
|
|
5
5
|
*/ export const renderTableCellActions_unstable = (state)=>{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/renderTableCellActions.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 { TableCellActionsState, TableCellActionsSlots } from './TableCellActions.types';\n\n/**\n * Render the final JSX of TableCellActions\n */\nexport const renderTableCellActions_unstable = (state: TableCellActionsState): JSXElement => {\n assertSlots<TableCellActionsSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderTableCellActions_unstable","state","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GACjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,kCAAkC,CAACC;IAC9CF,YAAmCE;IAEnC,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/useTableCellActions.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TableCellActionsProps, TableCellActionsState } from './TableCellActions.types';\n\n/**\n * Create the state required to render TableCellActions.\n *\n * The returned state can be modified with hooks such as useTableCellActionsStyles_unstable,\n * before being passed to renderTableCellActions_unstable.\n *\n * @param props - props from this instance of TableCellActions\n * @param ref - reference to root HTMLElement of TableCellActions\n */\nexport const useTableCellActions_unstable = (\n props: TableCellActionsProps,\n ref: React.Ref<HTMLElement>,\n): TableCellActionsState => {\n return {\n components: {\n root: 'div',\n },\n root: slot.always(\n getIntrinsicElementProps('div', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLDivElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLDivElement>,\n ...props,\n }),\n { elementType: 'div' },\n ),\n visible: props.visible ?? false,\n };\n};\n"],"names":["getIntrinsicElementProps","slot","useTableCellActions_unstable","props","ref","components","root","always","elementType","visible"],"mappings":"AACA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,+BAA+B,CAC1CC,OACAC;QAgBWD;IAdX,OAAO;QACLE,YAAY;YACVC,MAAM;QACR;QACAA,MAAML,KAAKM,MAAM,CACfP,yBAAyB,OAAO;YAC9B,SAAS;YACT,4EAA4E;YAC5E,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEK,aAAa;QAAM;QAEvBC,OAAO,GAAEN,iBAAAA,MAAMM,OAAO,cAAbN,4BAAAA,iBAAiB;IAC5B;AACF,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableCellActions.module.css";
|
|
3
|
+
export const tableCellActionsClassNames = {
|
|
4
|
+
root: 'fui-TableCellActions'
|
|
5
|
+
};
|
|
6
|
+
export const useTableCellActionsStyles_unstable = (state)=>{
|
|
7
|
+
state.root.className = clsx(tableCellActionsClassNames.root, styles.root, state.visible && styles.visible, state.root.className);
|
|
8
|
+
return state;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/useTableCellActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableCellActionsSlots, TableCellActionsState } from './TableCellActions.types';\nimport styles from './TableCellActions.module.css';\n\nexport const tableCellActionsClassNames: SlotClassNames<TableCellActionsSlots> = {\n root: 'fui-TableCellActions',\n};\n\nexport const useTableCellActionsStyles_unstable = (state: TableCellActionsState): TableCellActionsState => {\n state.root.className = clsx(\n tableCellActionsClassNames.root,\n styles.root,\n state.visible && styles.visible,\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableCellActionsClassNames","root","useTableCellActionsStyles_unstable","state","className","visible"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,6BAAoE;IAC/EC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,qCAAqC,CAACC;IACjDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,2BAA2BC,IAAI,EAC/BF,OAAOE,IAAI,EACXE,MAAME,OAAO,IAAIN,OAAOM,OAAO,EAC/BF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { clsx } from "clsx";
|
|
2
|
+
import styles from "./TableCellActions.module.css";
|
|
3
|
+
export const tableCellActionsClassNames = {
|
|
4
|
+
root: 'fui-TableCellActions'
|
|
5
|
+
};
|
|
6
|
+
export const useTableCellActionsStyles_unstable = (state)=>{
|
|
7
|
+
state.root.className = clsx(tableCellActionsClassNames.root, styles.root, state.visible && styles.visible, state.root.className);
|
|
8
|
+
return state;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/useTableCellActionsStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TableCellActionsSlots, TableCellActionsState } from './TableCellActions.types';\nimport styles from './TableCellActions.module.css';\n\nexport const tableCellActionsClassNames: SlotClassNames<TableCellActionsSlots> = {\n root: 'fui-TableCellActions',\n};\n\nexport const useTableCellActionsStyles_unstable = (state: TableCellActionsState): TableCellActionsState => {\n state.root.className = clsx(\n tableCellActionsClassNames.root,\n styles.root,\n state.visible && styles.visible,\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","tableCellActionsClassNames","root","useTableCellActionsStyles_unstable","state","className","visible"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,gCAAgC;AAEnD,OAAO,MAAMC,6BAAoE;IAC/EC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,qCAAqC,CAACC;IACjDA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,2BAA2BC,IAAI,EAC/BF,OAAOE,IAAI,EACXE,MAAME,OAAO,IAAIN,OAAOM,OAAO,EAC/BF,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellActions/useTableCellActionsStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport type { TableCellActionsSlots, TableCellActionsState } from './TableCellActions.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const tableCellActionsClassNames: SlotClassNames<TableCellActionsSlots> = {\n root: 'fui-TableCellActions',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n backgroundColor: 'inherit',\n position: 'absolute',\n right: '0px',\n top: '50%',\n transform: 'translateY(-50%)',\n opacity: 0,\n marginLeft: 'auto',\n },\n\n visible: {\n opacity: 1,\n },\n});\n\n/**\n * Apply styling to the TableCellActions slots based on the state\n */\nexport const useTableCellActionsStyles_unstable = (state: TableCellActionsState): TableCellActionsState => {\n const styles = useStyles();\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n tableCellActionsClassNames.root,\n styles.root,\n state.visible && styles.visible,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tableCellActionsClassNames","root","useStyles","backgroundColor","position","right","top","transform","opacity","marginLeft","visible","useTableCellActionsStyles_unstable","state","styles","className"],"mappings":"AAAA;AAEA,SAASA,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAI1D,OAAO,MAAMC,6BAAoE;IAC/EC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,MAAMC,YAAYJ,WAAW;IAC3BG,MAAM;QACJE,iBAAiB;QACjBC,UAAU;QACVC,OAAO;QACPC,KAAK;QACLC,WAAW;QACXC,SAAS;QACTC,YAAY;IACd;IAEAC,SAAS;QACPF,SAAS;IACX;AACF;AAEA;;CAEC,GACD,OAAO,MAAMG,qCAAqC,CAACC;IACjD,MAAMC,SAASX;IACf,oDAAoD;IACpDU,MAAMX,IAAI,CAACa,SAAS,GAAGf,aACrBC,2BAA2BC,IAAI,EAC/BY,OAAOZ,IAAI,EACXW,MAAMF,OAAO,IAAIG,OAAOH,OAAO,EAC/BE,MAAMX,IAAI,CAACa,SAAS;IAGtB,OAAOF;AACT,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../../src/components/TableCellLayout/TableCellLayout.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTableCellLayout_unstable } from './useTableCellLayout';\nimport { renderTableCellLayout_unstable } from './renderTableCellLayout';\nimport { useTableCellLayoutStyles_unstable } from './useTableCellLayoutStyles.styles';\nimport { useTableCellLayoutContextValues_unstable } from './useTableCellLayoutContextValues';\nimport type { TableCellLayoutProps } from './TableCellLayout.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * TableCellLayout component\n */\nexport const TableCellLayout: ForwardRefComponent<TableCellLayoutProps> = React.forwardRef((props, ref) => {\n const state = useTableCellLayout_unstable(props, ref);\n\n useTableCellLayoutStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTableCellLayoutStyles_unstable')(state);\n\n return renderTableCellLayout_unstable(state, useTableCellLayoutContextValues_unstable(state));\n});\n\nTableCellLayout.displayName = 'TableCellLayout';\n"],"names":["React","useTableCellLayout_unstable","renderTableCellLayout_unstable","useTableCellLayoutStyles_unstable","useTableCellLayoutContextValues_unstable","useCustomStyleHook_unstable","TableCellLayout","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,2BAA2B,QAAQ,0BAAuB;AACnE,SAASC,8BAA8B,QAAQ,6BAA0B;AACzE,SAASC,iCAAiC,QAAQ,uCAAoC;AACtF,SAASC,wCAAwC,QAAQ,uCAAoC;AAG7F,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,gCAA6DN,MAAMO,UAAU,CAAC,CAACC,OAAOC;IACjG,MAAMC,QAAQT,4BAA4BO,OAAOC;IAEjDN,kCAAkCO;IAElCL,4BAA4B,qCAAqCK;IAEjE,OAAOR,+BAA+BQ,OAAON,yCAAyCM;AACxF,GAAG;AAEHJ,gBAAgBK,WAAW,GAAG"}
|