@megha-ui/react 1.2.545 → 1.2.547
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.
|
@@ -1485,7 +1485,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1485
1485
|
display: "block",
|
|
1486
1486
|
border: gridBorder ? "1px solid #f0f0f0" : "none",
|
|
1487
1487
|
overflow: calculateVisible && gridGroupBy ? "visible" : "auto",
|
|
1488
|
-
fontWeight: 500,
|
|
1489
1488
|
whiteSpace: "nowrap",
|
|
1490
1489
|
height: `calc(100% - ${removalHeight})`,
|
|
1491
1490
|
position: "relative",
|
|
@@ -235,6 +235,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
235
235
|
position: "sticky",
|
|
236
236
|
top: 0,
|
|
237
237
|
zIndex: 1,
|
|
238
|
+
fontWeight: 500
|
|
238
239
|
}, id: "header", children: [bulkSelect && (_jsx("div", { style: Object.assign(Object.assign({}, cellStyle), { textTransform: "uppercase", padding: "0.5rem", textAlign: "left", whiteSpace: "nowrap", textOverflow: "ellipsis" }), children: _jsx(Checkbox, { selected: allRowsSelected, onChange: () => toggleSelectAll(), noLabel: true, wrapperClass: checkboxWrapper }) })), groupByKeys.map((_groupBy) => {
|
|
239
240
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62;
|
|
240
241
|
return (_jsx(_Fragment, { children: headerColumns.find((column) => column.key === _groupBy) && (_jsxs("div", { className: `${sortable &&
|
|
@@ -168,7 +168,7 @@ const GridRow = ({ item, rowStyle, cellStyle, rowHeight, bulkSelect, selectedRow
|
|
|
168
168
|
var _a;
|
|
169
169
|
return checkAvailableForTooltip((_a = item.id.value.toString()) !== null && _a !== void 0 ? _a : colIndex.toString());
|
|
170
170
|
}, children: ["+", " ", cellData.value.toString().split(">>").slice(3)
|
|
171
|
-
.length, " ", "more", _jsx(Tooltip, { className: "custom-tooltip",
|
|
171
|
+
.length, " ", "more", _jsx(Tooltip, { className: "custom-tooltip", id: (_b = item.id.value.toString()) !== null && _b !== void 0 ? _b : colIndex.toString(), place: "top" })] }))] })) : (_jsxs(_Fragment, { children: [_jsxs("span", { "data-tooltip-id": (_c = item.id.value.toString()) !== null && _c !== void 0 ? _c : colIndex.toString(), "data-tooltip-html": `<div class="flex flex-col">${cellData.value
|
|
172
172
|
.toString()
|
|
173
173
|
.split(">>")
|
|
174
174
|
.map((item) => `<div>${item}</div>`)
|
package/package.json
CHANGED