@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.cjs
CHANGED
|
@@ -14878,8 +14878,7 @@ function SelectCardShell(props) {
|
|
|
14878
14878
|
paddingRight: "pr2",
|
|
14879
14879
|
paddingTop: "pt3",
|
|
14880
14880
|
paddingBottom: "pb3",
|
|
14881
|
-
textAlign: "tac"
|
|
14882
|
-
maxWidth: "maxw_192px"
|
|
14881
|
+
textAlign: "tac"
|
|
14883
14882
|
} : {
|
|
14884
14883
|
alignItems: "aifs",
|
|
14885
14884
|
gap: "gap_4px",
|
|
@@ -15114,7 +15113,7 @@ function getSelectCardOptionsCss(view, hasDescription) {
|
|
|
15114
15113
|
} : {
|
|
15115
15114
|
display: "dg",
|
|
15116
15115
|
gridTemplateColumns: ["gtc_var", {
|
|
15117
|
-
"--gridTemplateColumns": (0, import_runtime54.maybeCssVar)(`repeat(auto-fill, ${cardWidth}px)`)
|
|
15116
|
+
"--gridTemplateColumns": (0, import_runtime54.maybeCssVar)(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
|
|
15118
15117
|
}],
|
|
15119
15118
|
gap: "gap2"
|
|
15120
15119
|
};
|
|
@@ -17592,7 +17591,7 @@ function CardView({
|
|
|
17592
17591
|
paddingLeft: "pl3"
|
|
17593
17592
|
}), children: cardRows }) });
|
|
17594
17593
|
}
|
|
17595
|
-
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "
|
|
17594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "pb2 h100", children: /* @__PURE__ */ (0, import_react86.createElement)(import_react_virtuoso2.VirtuosoGrid, { useWindowScroll: inDocumentScrollLayout && !customScrollParent, ...customScrollParent ? {
|
|
17596
17595
|
customScrollParent
|
|
17597
17596
|
} : {}, ...validatedScrollIndex !== void 0 ? {
|
|
17598
17597
|
initialTopMostItemIndex: validatedScrollIndex
|
|
@@ -21362,7 +21361,15 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21362
21361
|
}
|
|
21363
21362
|
};
|
|
21364
21363
|
}
|
|
21365
|
-
return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", {
|
|
21364
|
+
return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { ...(0, import_runtime86.trussProps)({
|
|
21365
|
+
display: "df",
|
|
21366
|
+
flexDirection: "fdc",
|
|
21367
|
+
gap: "gap1",
|
|
21368
|
+
paddingBottom: "pb2",
|
|
21369
|
+
...view === "card" ? {
|
|
21370
|
+
paddingBottom: "pb3"
|
|
21371
|
+
} : {}
|
|
21372
|
+
}), children: [
|
|
21366
21373
|
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { ...(0, import_runtime86.trussProps)({
|
|
21367
21374
|
display: "df",
|
|
21368
21375
|
gap: "gap1",
|
|
@@ -21373,7 +21380,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21373
21380
|
paddingRight: "pr3"
|
|
21374
21381
|
} : {}
|
|
21375
21382
|
}), children: [
|
|
21376
|
-
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df
|
|
21383
|
+
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df gap_12px aic", children: [
|
|
21377
21384
|
!sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("div", { className: "w_244px", children: searchTextField }),
|
|
21378
21385
|
sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(IconButton, { variant: "outline", icon: searchValue ? "searchBadged" : "search", label: "Search", onClick: () => setShowSearch(!showSearch), active: showSearch, ...testId.searchButton }),
|
|
21379
21386
|
sm && hasFilters && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(IconButton, { variant: "outline", icon: activeFilterCount > 0 ? "filterBadged" : "filter", label: "Filter", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterSmallButton }),
|
|
@@ -21382,7 +21389,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21382
21389
|
/* @__PURE__ */ (0, import_jsx_runtime156.jsx)(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
21383
21390
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
21384
21391
|
] }),
|
|
21385
|
-
(hasHideableColumns || withCardView) && /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df
|
|
21392
|
+
(hasHideableColumns || withCardView) && /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df gap_12px", children: [
|
|
21386
21393
|
hasHideableColumns && view === "list" && columns && api && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(EditColumnsButton, { columns, api, tooltip: "Display columns" }),
|
|
21387
21394
|
withCardView && view !== void 0 && setView && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(ViewToggleButton, { view, onChange: setView })
|
|
21388
21395
|
] })
|