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.js
CHANGED
|
@@ -4320,8 +4320,8 @@ function TableBody({ rows, enableRowSelection, size, variant, showRowHover, cell
|
|
|
4320
4320
|
"bg-surface-fill-neutral-moderate", onRowClick && "cursor-pointer", isRowHovered &&
|
|
4321
4321
|
showRowHover &&
|
|
4322
4322
|
"bg-surface-fill-neutral-moderate", getRowClassName(row.original)), onClick: handleClick, onMouseEnter: () => setHoveredRow(row.id), onMouseLeave: () => setHoveredRow(null), children: [enableRowSelection && (jsxRuntime.jsx("td", { className: cn(tableCellVariants({ size }), "w-10", cellClassName), style: {
|
|
4323
|
-
paddingTop: "
|
|
4324
|
-
paddingBottom: "
|
|
4323
|
+
paddingTop: "16px",
|
|
4324
|
+
paddingBottom: "16px",
|
|
4325
4325
|
}, children: jsxRuntime.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) => {
|
|
4326
4326
|
const isCellFocused = focusedCell?.rowId === row.id &&
|
|
4327
4327
|
focusedCell?.cellId === cell.id;
|
|
@@ -4335,10 +4335,10 @@ function TableBody({ rows, enableRowSelection, size, variant, showRowHover, cell
|
|
|
4335
4335
|
minWidth: cell.column.columnDef.minSize,
|
|
4336
4336
|
maxWidth: cell.column.columnDef.maxSize,
|
|
4337
4337
|
}),
|
|
4338
|
-
paddingTop: "
|
|
4339
|
-
paddingBottom: "
|
|
4338
|
+
paddingTop: "16px",
|
|
4339
|
+
paddingBottom: "16px",
|
|
4340
4340
|
...(isFirstCell && { paddingLeft: "24px" }),
|
|
4341
|
-
...(isLastCell && { paddingRight: "
|
|
4341
|
+
...(isLastCell && { paddingRight: "16px" }),
|
|
4342
4342
|
}, tabIndex: 0, onFocus: () => setFocusedCell({ rowId: row.id, cellId: cell.id }), onBlur: () => setFocusedCell(null), children: reactTable.flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id));
|
|
4343
4343
|
})] }, row.id));
|
|
4344
4344
|
}) }));
|