@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.js
CHANGED
|
@@ -7097,7 +7097,6 @@ function ExpandableHeader(props) {
|
|
|
7097
7097
|
/* @__PURE__ */ jsxs6("span", { ...trussProps8({
|
|
7098
7098
|
display: "df",
|
|
7099
7099
|
alignItems: "aic",
|
|
7100
|
-
minWidth: "mw0",
|
|
7101
7100
|
pointerEvents: "pen",
|
|
7102
7101
|
...applyStickyStyles ? {
|
|
7103
7102
|
position: "sticky",
|
|
@@ -7118,7 +7117,7 @@ function ExpandableHeader(props) {
|
|
|
7118
7117
|
}]
|
|
7119
7118
|
} : {}
|
|
7120
7119
|
}), children: [
|
|
7121
|
-
/* @__PURE__ */ jsx12("span", { className: "tal oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 usn", "aria-hidden": true, children: title }),
|
|
7120
|
+
/* @__PURE__ */ jsx12("span", { className: "tal oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 usn mwminc", "aria-hidden": true, children: title }),
|
|
7122
7121
|
tooltipEl && /* @__PURE__ */ jsx12("span", { className: "relative df aic pea", children: tooltipEl })
|
|
7123
7122
|
] }),
|
|
7124
7123
|
/* @__PURE__ */ jsx12("span", { ...trussProps8({
|
|
@@ -7183,13 +7182,12 @@ function SortHeader(props) {
|
|
|
7183
7182
|
display: "df",
|
|
7184
7183
|
alignItems: "aic",
|
|
7185
7184
|
height: "h100",
|
|
7186
|
-
userSelect: "usn"
|
|
7187
|
-
minWidth: "mw0"
|
|
7185
|
+
userSelect: "usn"
|
|
7188
7186
|
},
|
|
7189
7187
|
...xss
|
|
7190
7188
|
}), ...hoverProps, children: [
|
|
7191
7189
|
iconOnLeft && sortButton,
|
|
7192
|
-
/* @__PURE__ */ jsx13("button", { type: "button", ...tid, onClick: toggleSort, className: "bsn bw_0 bgTransparent pt0 pb0 pr0 pl0
|
|
7190
|
+
/* @__PURE__ */ jsx13("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__ */ jsx13("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", children: content2 }) }),
|
|
7193
7191
|
tooltipEl,
|
|
7194
7192
|
!iconOnLeft && sortButton
|
|
7195
7193
|
] });
|
|
@@ -7240,13 +7238,13 @@ function toContent(maybeContent, isHeader, canSortColumn, isClientSideSorting, s
|
|
|
7240
7238
|
"--height": `${expandableHeaderRowHeight}px`
|
|
7241
7239
|
}]
|
|
7242
7240
|
}), children: [
|
|
7243
|
-
/* @__PURE__ */ jsx14("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: content2 }),
|
|
7241
|
+
/* @__PURE__ */ jsx14("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", children: content2 }),
|
|
7244
7242
|
tooltipEl
|
|
7245
7243
|
] })
|
|
7246
7244
|
);
|
|
7247
7245
|
} else if (!isContentEmpty(content2) && isHeader && typeof content2 === "string") {
|
|
7248
7246
|
return /* @__PURE__ */ jsxs8(Fragment4, { children: [
|
|
7249
|
-
/* @__PURE__ */ jsx14("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", title: content2, children: content2 }),
|
|
7247
|
+
/* @__PURE__ */ jsx14("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2 mwminc", title: content2, children: content2 }),
|
|
7250
7248
|
tooltipEl
|
|
7251
7249
|
] });
|
|
7252
7250
|
} else if (!isHeader && content2 && style?.presentationSettings?.wrap === false && typeof content2 === "string") {
|
|
@@ -9376,10 +9374,22 @@ function dragHandleColumn(columnDef) {
|
|
|
9376
9374
|
onDragOver
|
|
9377
9375
|
} = dragData;
|
|
9378
9376
|
return {
|
|
9379
|
-
content: row.draggable ? /* @__PURE__ */ jsx26(
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9377
|
+
content: row.draggable ? /* @__PURE__ */ jsx26(
|
|
9378
|
+
"div",
|
|
9379
|
+
{
|
|
9380
|
+
draggable: row.draggable,
|
|
9381
|
+
onDragStart: (evt) => {
|
|
9382
|
+
ref.current && evt.dataTransfer.setDragImage(ref.current, 0, 0);
|
|
9383
|
+
return onDragStart?.(row, evt);
|
|
9384
|
+
},
|
|
9385
|
+
onDragEnd: (evt) => onDragEnd?.(row, evt),
|
|
9386
|
+
onDrop: (evt) => onDrop?.(row, evt),
|
|
9387
|
+
onDragEnter: (evt) => onDragEnter?.(row, evt),
|
|
9388
|
+
onDragOver: (evt) => onDragOver?.(row, evt),
|
|
9389
|
+
className: "mla mra cur_pointer",
|
|
9390
|
+
children: /* @__PURE__ */ jsx26(Icon, { icon: "drag", inc: 2.25 })
|
|
9391
|
+
}
|
|
9392
|
+
) : void 0
|
|
9383
9393
|
};
|
|
9384
9394
|
};
|
|
9385
9395
|
});
|