@homebound/beam 3.46.0 → 3.47.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 +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17592,7 +17592,7 @@ function CardView({
|
|
|
17592
17592
|
paddingLeft: "pl3"
|
|
17593
17593
|
}), children: cardRows }) });
|
|
17594
17594
|
}
|
|
17595
|
-
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "
|
|
17595
|
+
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
17596
|
customScrollParent
|
|
17597
17597
|
} : {}, ...validatedScrollIndex !== void 0 ? {
|
|
17598
17598
|
initialTopMostItemIndex: validatedScrollIndex
|
|
@@ -21362,7 +21362,15 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21362
21362
|
}
|
|
21363
21363
|
};
|
|
21364
21364
|
}
|
|
21365
|
-
return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", {
|
|
21365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { ...(0, import_runtime86.trussProps)({
|
|
21366
|
+
display: "df",
|
|
21367
|
+
flexDirection: "fdc",
|
|
21368
|
+
gap: "gap1",
|
|
21369
|
+
paddingBottom: "pb2",
|
|
21370
|
+
...view === "card" ? {
|
|
21371
|
+
paddingBottom: "pb3"
|
|
21372
|
+
} : {}
|
|
21373
|
+
}), children: [
|
|
21366
21374
|
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { ...(0, import_runtime86.trussProps)({
|
|
21367
21375
|
display: "df",
|
|
21368
21376
|
gap: "gap1",
|
|
@@ -21373,7 +21381,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21373
21381
|
paddingRight: "pr3"
|
|
21374
21382
|
} : {}
|
|
21375
21383
|
}), children: [
|
|
21376
|
-
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df
|
|
21384
|
+
/* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df gap_12px aic", children: [
|
|
21377
21385
|
!sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("div", { className: "w_244px", children: searchTextField }),
|
|
21378
21386
|
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
21387
|
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 +21390,7 @@ function GridTableLayoutActionsComponent(props) {
|
|
|
21382
21390
|
/* @__PURE__ */ (0, import_jsx_runtime156.jsx)(Icon, { icon: showFilters ? "chevronUp" : "chevronDown" })
|
|
21383
21391
|
] }), variant: "secondaryBlack", onClick: () => setShowFilters(!showFilters), active: showFilters, ...testId.filterButton })
|
|
21384
21392
|
] }),
|
|
21385
|
-
(hasHideableColumns || withCardView) && /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df
|
|
21393
|
+
(hasHideableColumns || withCardView) && /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("div", { className: "df gap_12px", children: [
|
|
21386
21394
|
hasHideableColumns && view === "list" && columns && api && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(EditColumnsButton, { columns, api, tooltip: "Display columns" }),
|
|
21387
21395
|
withCardView && view !== void 0 && setView && /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(ViewToggleButton, { view, onChange: setView })
|
|
21388
21396
|
] })
|