@homebound/beam 3.36.0 → 3.37.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.js CHANGED
@@ -16167,7 +16167,7 @@ function TableCardView(props) {
16167
16167
  paddingBottom: "pb3",
16168
16168
  paddingRight: "pr3",
16169
16169
  paddingLeft: "pl3",
16170
- width: "w_330px",
16170
+ width: "w100",
16171
16171
  height: "h100",
16172
16172
  boxShadow: "bshBasic",
16173
16173
  backgroundColor: ["bgColor_var", {
@@ -16240,6 +16240,7 @@ var runningInJest = false;
16240
16240
  function setRunningInJest() {
16241
16241
  runningInJest = true;
16242
16242
  }
16243
+ var CARD_MIN_WIDTH_PX = 280;
16243
16244
  var defaults = {
16244
16245
  style: defaultStyle,
16245
16246
  stickyHeader: false
@@ -16757,7 +16758,18 @@ function CardView({
16757
16758
  const validatedScrollIndex = savedScrollIndex !== void 0 && savedScrollIndex > 0 && savedScrollIndex < cardRows.length ? savedScrollIndex : void 0;
16758
16759
  const virtuosoKey = !!validatedScrollIndex && cardRows.length > 0 ? "with-data" : "virtuoso";
16759
16760
  if (runningInJest) {
16760
- return /* @__PURE__ */ jsx87("div", { className: "pt2 pb2", children: /* @__PURE__ */ jsx87("div", { className: "dg gtc_repeat_auto_fill_330px jcc gap3 pt3 pb3 pr3 pl3", children: cardRows }) });
16761
+ return /* @__PURE__ */ jsx87("div", { className: "pt2 pb2", children: /* @__PURE__ */ jsx87("div", { ...trussProps52({
16762
+ display: "dg",
16763
+ gridTemplateColumns: ["gtc_var", {
16764
+ "--gridTemplateColumns": maybeCssVar31(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
16765
+ }],
16766
+ justifyContent: "jcc",
16767
+ gap: "gap3",
16768
+ paddingTop: "pt3",
16769
+ paddingBottom: "pb3",
16770
+ paddingRight: "pr3",
16771
+ paddingLeft: "pl3"
16772
+ }), children: cardRows }) });
16761
16773
  }
16762
16774
  return /* @__PURE__ */ jsx87("div", { className: "pt2 pb2 h100", children: /* @__PURE__ */ createElement2(VirtuosoGrid, { useWindowScroll: inDocumentScrollLayout && !customScrollParent, ...customScrollParent ? {
16763
16775
  customScrollParent
@@ -16770,7 +16782,9 @@ function CardView({
16770
16782
  }, ref) {
16771
16783
  return /* @__PURE__ */ jsx87("div", { ref, ...mergeProps21(void 0, style, {
16772
16784
  display: "dg",
16773
- gridTemplateColumns: "gtc_repeat_auto_fill_330px",
16785
+ gridTemplateColumns: ["gtc_var", {
16786
+ "--gridTemplateColumns": maybeCssVar31(`repeat(auto-fill, minmax(${CARD_MIN_WIDTH_PX}px, 1fr))`)
16787
+ }],
16774
16788
  justifyContent: "jcc",
16775
16789
  gap: "gap3",
16776
16790
  paddingTop: "pt3",