@homebound/beam 3.46.0 → 3.47.1
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 +14 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/dist/truss.css +0 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14416,8 +14416,7 @@ function SelectCardShell(props) {
|
|
|
14416
14416
|
paddingRight: "pr2",
|
|
14417
14417
|
paddingTop: "pt3",
|
|
14418
14418
|
paddingBottom: "pb3",
|
|
14419
|
-
textAlign: "tac"
|
|
14420
|
-
maxWidth: "maxw_192px"
|
|
14419
|
+
textAlign: "tac"
|
|
14421
14420
|
} : {
|
|
14422
14421
|
alignItems: "aifs",
|
|
14423
14422
|
gap: "gap_4px",
|
|
@@ -14652,7 +14651,7 @@ function getSelectCardOptionsCss(view, hasDescription) {
|
|
|
14652
14651
|
} : {
|
|
14653
14652
|
display: "dg",
|
|
14654
14653
|
gridTemplateColumns: ["gtc_var", {
|
|
14655
|
-
"--gridTemplateColumns": maybeCssVar27(`repeat(auto-fill, ${cardWidth}px)`)
|
|
14654
|
+
"--gridTemplateColumns": maybeCssVar27(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
14656
14655
|
}],
|
|
14657
14656
|
gap: "gap2"
|
|
14658
14657
|
};
|
|
@@ -17130,7 +17129,7 @@ function CardView({
|
|
|
17130
17129
|
paddingLeft: "pl3"
|
|
17131
17130
|
}), children: cardRows }) });
|
|
17132
17131
|
}
|
|
17133
|
-
return /* @__PURE__ */ jsx95("div", { className: "
|
|
17132
|
+
return /* @__PURE__ */ jsx95("div", { className: "pb2 h100", children: /* @__PURE__ */ createElement2(VirtuosoGrid, { useWindowScroll: inDocumentScrollLayout && !customScrollParent, ...customScrollParent ? {
|
|
17134
17133
|
customScrollParent
|
|
17135
17134
|
} : {}, ...validatedScrollIndex !== void 0 ? {
|
|
17136
17135
|
initialTopMostItemIndex: validatedScrollIndex
|
|
@@ -20900,7 +20899,15 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
20900
20899
|
}
|
|
20901
20900
|
};
|
|
20902
20901
|
}
|
|
20903
|
-
return /* @__PURE__ */ jsxs75("div", {
|
|
20902
|
+
return /* @__PURE__ */ jsxs75("div", { ...trussProps78({
|
|
20903
|
+
display: "df",
|
|
20904
|
+
flexDirection: "fdc",
|
|
20905
|
+
gap: "gap1",
|
|
20906
|
+
paddingBottom: "pb2",
|
|
20907
|
+
...view === "card" ? {
|
|
20908
|
+
paddingBottom: "pb3"
|
|
20909
|
+
} : {}
|
|
20910
|
+
}), children: [
|
|
20904
20911
|
/* @__PURE__ */ jsxs75("div", { ...trussProps78({
|
|
20905
20912
|
display: "df",
|
|
20906
20913
|
gap: "gap1",
|
|
@@ -20911,7 +20918,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
20911
20918
|
paddingRight: "pr3"
|
|
20912
20919
|
} : {}
|
|
20913
20920
|
}), children: [
|
|
20914
|
-
/* @__PURE__ */ jsxs75("div", { className: "df
|
|
20921
|
+
/* @__PURE__ */ jsxs75("div", { className: "df gap_12px aic", children: [
|
|
20915
20922
|
!sm && hasSearch && /* @__PURE__ */ jsx156("div", { className: "w_244px", children: searchTextField }),
|
|
20916
20923
|
sm && hasSearch && /* @__PURE__ */ jsx156(IconButton, { variant: "outline", icon: searchValue ? "searchBadged" : "search", label: "Search", onClick: () => setShowSearch(!showSearch), active: showSearch, ...testId.searchButton }),
|
|
20917
20924
|
sm && hasFilters && /* @__PURE__ */ jsx156(IconButton, { variant: "outline", icon: activeFilterCount > 0 ? "filterBadged" : "filter", label: "Filter", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterSmallButton }),
|
|
@@ -20920,7 +20927,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
20920
20927
|
/* @__PURE__ */ jsx156(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
20921
20928
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
20922
20929
|
] }),
|
|
20923
|
-
(hasHideableColumns || withCardView) && /* @__PURE__ */ jsxs75("div", { className: "df
|
|
20930
|
+
(hasHideableColumns || withCardView) && /* @__PURE__ */ jsxs75("div", { className: "df gap_12px", children: [
|
|
20924
20931
|
hasHideableColumns && view === "list" && columns && api && /* @__PURE__ */ jsx156(EditColumnsButton, { columns, api, tooltip: "Display columns" }),
|
|
20925
20932
|
withCardView && view !== void 0 && setView && /* @__PURE__ */ jsx156(ViewToggleButton, { view, onChange: setView })
|
|
20926
20933
|
] })
|