@homebound/beam 4.47.2 → 4.47.4
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 +13 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6612,9 +6612,6 @@ function memoizedTableStyles() {
|
|
|
6612
6612
|
color: ["color_var", {
|
|
6613
6613
|
"--color": "var(--b-on-surface)"
|
|
6614
6614
|
}],
|
|
6615
|
-
backgroundColor: ["bgColor_var", {
|
|
6616
|
-
"--backgroundColor": "var(--b-surface)"
|
|
6617
|
-
}],
|
|
6618
6615
|
alignItems: ["ai_var", {
|
|
6619
6616
|
"--alignItems": maybeCssVar_1(alignItems)
|
|
6620
6617
|
}],
|
|
@@ -6633,11 +6630,17 @@ function memoizedTableStyles() {
|
|
|
6633
6630
|
"--height": `${inlineEditing ? 48 : 36}px`
|
|
6634
6631
|
}]
|
|
6635
6632
|
},
|
|
6636
|
-
...
|
|
6637
|
-
backgroundColor: ["
|
|
6638
|
-
"--
|
|
6639
|
-
}]
|
|
6640
|
-
|
|
6633
|
+
...{
|
|
6634
|
+
backgroundColor: ["bgColor_var", {
|
|
6635
|
+
"--backgroundColor": "var(--b-surface)"
|
|
6636
|
+
}],
|
|
6637
|
+
...cellHighlight ? {
|
|
6638
|
+
backgroundColor: ["bgColor_var h_bgColor_var", {
|
|
6639
|
+
"--backgroundColor": "var(--b-surface)",
|
|
6640
|
+
"--h_backgroundColor": "var(--b-surface-hover)"
|
|
6641
|
+
}]
|
|
6642
|
+
} : {}
|
|
6643
|
+
}
|
|
6641
6644
|
},
|
|
6642
6645
|
firstCellCss: bordered ? {
|
|
6643
6646
|
borderLeftStyle: "bls_solid",
|
|
@@ -14729,7 +14732,7 @@ function VirtualGridTableView({
|
|
|
14729
14732
|
}), children: fetchMoreInProgress && /* @__PURE__ */ jsx54("div", { className: "h5 df aic jcc", children: /* @__PURE__ */ jsx54(Loader, { size: "xs" }) }) });
|
|
14730
14733
|
}
|
|
14731
14734
|
}), [columns, fetchMoreInProgress, id, stickyOffset, style, xss]);
|
|
14732
|
-
const virtuosoKey =
|
|
14735
|
+
const virtuosoKey = visibleDataRows.length > 0 ? "with-data" : "virtuoso";
|
|
14733
14736
|
return /* @__PURE__ */ jsx54(
|
|
14734
14737
|
Virtuoso,
|
|
14735
14738
|
{
|
|
@@ -14826,7 +14829,7 @@ function CardView({
|
|
|
14826
14829
|
} = useScrollStorage(id, persistScrollPosition);
|
|
14827
14830
|
const savedScrollIndex = getScrollIndex();
|
|
14828
14831
|
const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < cardRows.length ? savedScrollIndex : void 0;
|
|
14829
|
-
const virtuosoKey =
|
|
14832
|
+
const virtuosoKey = cardRows.length > 0 ? "with-data" : "virtuoso";
|
|
14830
14833
|
if (runningInJest) {
|
|
14831
14834
|
return /* @__PURE__ */ jsx54("div", { ...trussProps34({
|
|
14832
14835
|
...{
|