@homebound/beam 3.44.0 → 3.45.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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5377,7 +5377,7 @@ type GridStyle = {
|
|
|
5377
5377
|
keptGroupRowCss?: Properties;
|
|
5378
5378
|
/** Defines styles for the last row `keptGroup` to provide separation from the rest of the table */
|
|
5379
5379
|
keptLastRowCss?: Properties;
|
|
5380
|
-
/** Applied to every cell of a runtime-pinned row — the
|
|
5380
|
+
/** Applied to every cell of a runtime-pinned row — the blue highlight for the pinned section. */
|
|
5381
5381
|
pinnedRowCss?: Properties;
|
|
5382
5382
|
};
|
|
5383
5383
|
type GridStyleDef = {
|
package/dist/index.d.ts
CHANGED
|
@@ -5377,7 +5377,7 @@ type GridStyle = {
|
|
|
5377
5377
|
keptGroupRowCss?: Properties;
|
|
5378
5378
|
/** Defines styles for the last row `keptGroup` to provide separation from the rest of the table */
|
|
5379
5379
|
keptLastRowCss?: Properties;
|
|
5380
|
-
/** Applied to every cell of a runtime-pinned row — the
|
|
5380
|
+
/** Applied to every cell of a runtime-pinned row — the blue highlight for the pinned section. */
|
|
5381
5381
|
pinnedRowCss?: Properties;
|
|
5382
5382
|
};
|
|
5383
5383
|
type GridStyleDef = {
|
package/dist/index.js
CHANGED
|
@@ -7380,7 +7380,7 @@ function PinToggle({ rowId }) {
|
|
|
7380
7380
|
{
|
|
7381
7381
|
...tid[rowId],
|
|
7382
7382
|
icon: "pin",
|
|
7383
|
-
|
|
7383
|
+
color: isPinned ? "rgba(37, 99, 235, 1)" /* Blue600 */ : void 0,
|
|
7384
7384
|
label: isPinned ? "Unpin row" : "Pin row",
|
|
7385
7385
|
onClick: () => tableState.togglePinned(rowId)
|
|
7386
7386
|
}
|
|
@@ -8512,11 +8512,11 @@ function memoizedTableStyles() {
|
|
|
8512
8512
|
keptLastRowCss: {
|
|
8513
8513
|
boxShadow: "boxShadow_inset_0px_14px_8px_11px_rgba_63_63_63_18"
|
|
8514
8514
|
},
|
|
8515
|
-
// Pinned rows get a
|
|
8515
|
+
// Pinned rows get a blue highlight; the standard `betweenRowsCss` bottom border (not a
|
|
8516
8516
|
// shadow) already separates the pinned section from the body.
|
|
8517
8517
|
pinnedRowCss: {
|
|
8518
8518
|
backgroundColor: ["bgColor_var", {
|
|
8519
|
-
"--backgroundColor": maybeCssVar12("rgba(
|
|
8519
|
+
"--backgroundColor": maybeCssVar12("rgba(239, 246, 255, 1)" /* Blue50 */)
|
|
8520
8520
|
}]
|
|
8521
8521
|
}
|
|
8522
8522
|
};
|
|
@@ -8932,7 +8932,7 @@ function RowImpl(props) {
|
|
|
8932
8932
|
...isGridCellContent(maybeContent) && maybeContent.css ? maybeContent.css : {},
|
|
8933
8933
|
// Apply kept last row styling per-cell
|
|
8934
8934
|
...isLastKeptRow && style.keptLastRowCss,
|
|
8935
|
-
// Apply the
|
|
8935
|
+
// Apply the blue highlight to every runtime-pinned row's cells (wins over `isActive`)
|
|
8936
8936
|
...pinned && style.pinnedRowCss,
|
|
8937
8937
|
// Apply cell highlight styles to active cell and hover
|
|
8938
8938
|
...{
|