infinity-ui-elements 1.8.42 → 1.8.43
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/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4299,8 +4299,8 @@ function TableBody({ rows, enableRowSelection, size, variant, showRowHover, cell
|
|
|
4299
4299
|
"bg-surface-fill-neutral-moderate", onRowClick && "cursor-pointer", isRowHovered &&
|
|
4300
4300
|
showRowHover &&
|
|
4301
4301
|
"bg-surface-fill-neutral-moderate", getRowClassName(row.original)), onClick: handleClick, onMouseEnter: () => setHoveredRow(row.id), onMouseLeave: () => setHoveredRow(null), children: [enableRowSelection && (jsx("td", { className: cn(tableCellVariants({ size }), "w-10", cellClassName), style: {
|
|
4302
|
-
paddingTop: "
|
|
4303
|
-
paddingBottom: "
|
|
4302
|
+
paddingTop: "16px",
|
|
4303
|
+
paddingBottom: "16px",
|
|
4304
4304
|
}, children: jsx(Checkbox, { checked: row.getIsSelected(), isIndeterminate: row.getIsSomeSelected(), onChange: row.getToggleSelectedHandler(), onClick: (e) => e.stopPropagation(), "aria-label": `Select row ${row.id}` }) })), row.getVisibleCells().map((cell, cellIndex) => {
|
|
4305
4305
|
const isCellFocused = focusedCell?.rowId === row.id &&
|
|
4306
4306
|
focusedCell?.cellId === cell.id;
|
|
@@ -4314,10 +4314,10 @@ function TableBody({ rows, enableRowSelection, size, variant, showRowHover, cell
|
|
|
4314
4314
|
minWidth: cell.column.columnDef.minSize,
|
|
4315
4315
|
maxWidth: cell.column.columnDef.maxSize,
|
|
4316
4316
|
}),
|
|
4317
|
-
paddingTop: "
|
|
4318
|
-
paddingBottom: "
|
|
4317
|
+
paddingTop: "16px",
|
|
4318
|
+
paddingBottom: "16px",
|
|
4319
4319
|
...(isFirstCell && { paddingLeft: "24px" }),
|
|
4320
|
-
...(isLastCell && { paddingRight: "
|
|
4320
|
+
...(isLastCell && { paddingRight: "16px" }),
|
|
4321
4321
|
}, tabIndex: 0, onFocus: () => setFocusedCell({ rowId: row.id, cellId: cell.id }), onBlur: () => setFocusedCell(null), children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id));
|
|
4322
4322
|
})] }, row.id));
|
|
4323
4323
|
}) }));
|