@rehagro/ui 1.0.54 → 1.0.55
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.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4322,6 +4322,7 @@ function TableInner({
|
|
|
4322
4322
|
style: {
|
|
4323
4323
|
width: column.width,
|
|
4324
4324
|
maxWidth: column.maxWidth,
|
|
4325
|
+
backgroundColor: column.headerBgColor ?? headerStyle?.backgroundColor,
|
|
4325
4326
|
...rowPaddingStyle
|
|
4326
4327
|
},
|
|
4327
4328
|
className: [
|
|
@@ -4332,10 +4333,17 @@ function TableInner({
|
|
|
4332
4333
|
column.sortable ? "rh-cursor-pointer rh-select-none hover:rh-text-text" : ""
|
|
4333
4334
|
].filter(Boolean).join(" "),
|
|
4334
4335
|
onClick: () => handleSort(column),
|
|
4335
|
-
children: /* @__PURE__ */ jsxs(
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4336
|
+
children: /* @__PURE__ */ jsxs(
|
|
4337
|
+
"span",
|
|
4338
|
+
{
|
|
4339
|
+
className: "rh-inline-flex rh-items-center",
|
|
4340
|
+
style: column.headerTextColor ? { ...headerTextStyleInline, color: column.headerTextColor } : headerTextStyleInline,
|
|
4341
|
+
children: [
|
|
4342
|
+
column.header,
|
|
4343
|
+
renderSortIcon(column)
|
|
4344
|
+
]
|
|
4345
|
+
}
|
|
4346
|
+
)
|
|
4339
4347
|
},
|
|
4340
4348
|
column.key
|
|
4341
4349
|
))
|