@homebound/beam 4.22.0 → 4.22.2
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 +21 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -11
- package/dist/index.js.map +1 -1
- package/dist/truss.css +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7577,7 +7577,6 @@ function ExpandableHeader(props) {
|
|
|
7577
7577
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { ...(0, import_runtime11.trussProps)({
|
|
7578
7578
|
display: "df",
|
|
7579
7579
|
alignItems: "aic",
|
|
7580
|
-
minWidth: "mw0",
|
|
7581
7580
|
pointerEvents: "pen",
|
|
7582
7581
|
...applyStickyStyles ? {
|
|
7583
7582
|
position: "sticky",
|
|
@@ -7598,7 +7597,7 @@ function ExpandableHeader(props) {
|
|
|
7598
7597
|
}]
|
|
7599
7598
|
} : {}
|
|
7600
7599
|
}), children: [
|
|
7601
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "tal oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 usn", "aria-hidden": true, children: title }),
|
|
7600
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "tal oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 usn mwminc", "aria-hidden": true, children: title }),
|
|
7602
7601
|
tooltipEl && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "relative df aic pea", children: tooltipEl })
|
|
7603
7602
|
] }),
|
|
7604
7603
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { ...(0, import_runtime11.trussProps)({
|
|
@@ -7663,13 +7662,12 @@ function SortHeader(props) {
|
|
|
7663
7662
|
display: "df",
|
|
7664
7663
|
alignItems: "aic",
|
|
7665
7664
|
height: "h100",
|
|
7666
|
-
userSelect: "usn"
|
|
7667
|
-
minWidth: "mw0"
|
|
7665
|
+
userSelect: "usn"
|
|
7668
7666
|
},
|
|
7669
7667
|
...xss
|
|
7670
7668
|
}), ...hoverProps, children: [
|
|
7671
7669
|
iconOnLeft && sortButton,
|
|
7672
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { type: "button", ...tid, onClick: toggleSort, className: "bsn bw_0 bgTransparent pt0 pb0 pr0 pl0
|
|
7670
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("button", { type: "button", ...tid, onClick: toggleSort, className: "bsn bw_0 bgTransparent pt0 pb0 pr0 pl0 cur_pointer ta_inherit fw_inherit c_inherit usn df aic h100 ol_0 fv_bshFocus", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", children: content2 }) }),
|
|
7673
7671
|
tooltipEl,
|
|
7674
7672
|
!iconOnLeft && sortButton
|
|
7675
7673
|
] });
|
|
@@ -7720,13 +7718,13 @@ function toContent(maybeContent, isHeader, canSortColumn, isClientSideSorting, s
|
|
|
7720
7718
|
"--height": `${expandableHeaderRowHeight}px`
|
|
7721
7719
|
}]
|
|
7722
7720
|
}), children: [
|
|
7723
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: content2 }),
|
|
7721
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", children: content2 }),
|
|
7724
7722
|
tooltipEl
|
|
7725
7723
|
] })
|
|
7726
7724
|
);
|
|
7727
7725
|
} else if (!isContentEmpty(content2) && isHeader && typeof content2 === "string") {
|
|
7728
7726
|
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
|
|
7729
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", title: content2, children: content2 }),
|
|
7727
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", title: content2, children: content2 }),
|
|
7730
7728
|
tooltipEl
|
|
7731
7729
|
] });
|
|
7732
7730
|
} else if (!isHeader && content2 && style?.presentationSettings?.wrap === false && typeof content2 === "string") {
|
|
@@ -9856,10 +9854,22 @@ function dragHandleColumn(columnDef) {
|
|
|
9856
9854
|
onDragOver
|
|
9857
9855
|
} = dragData;
|
|
9858
9856
|
return {
|
|
9859
|
-
content: row.draggable ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9857
|
+
content: row.draggable ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
9858
|
+
"div",
|
|
9859
|
+
{
|
|
9860
|
+
draggable: row.draggable,
|
|
9861
|
+
onDragStart: (evt) => {
|
|
9862
|
+
ref.current && evt.dataTransfer.setDragImage(ref.current, 0, 0);
|
|
9863
|
+
return onDragStart?.(row, evt);
|
|
9864
|
+
},
|
|
9865
|
+
onDragEnd: (evt) => onDragEnd?.(row, evt),
|
|
9866
|
+
onDrop: (evt) => onDrop?.(row, evt),
|
|
9867
|
+
onDragEnter: (evt) => onDragEnter?.(row, evt),
|
|
9868
|
+
onDragOver: (evt) => onDragOver?.(row, evt),
|
|
9869
|
+
className: "mla mra cur_pointer",
|
|
9870
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { icon: "drag", inc: 2.25 })
|
|
9871
|
+
}
|
|
9872
|
+
) : void 0
|
|
9863
9873
|
};
|
|
9864
9874
|
};
|
|
9865
9875
|
});
|