@underverse-ui/underverse 1.0.189 → 1.0.190
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/api-reference.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -25859,7 +25859,7 @@ function DataTableHeader({
|
|
|
25859
25859
|
const columnLabel = getColumnLabel(col.title) || col.key;
|
|
25860
25860
|
const sortByText = sortByLabel ?? gi18n.sortBy ?? "Sort by";
|
|
25861
25861
|
const sortLabel = `${sortByText} ${columnLabel}`;
|
|
25862
|
-
const useEndIcon = col.iconPosition === "end";
|
|
25862
|
+
const useEndIcon = (col.iconPosition ?? "end") === "end";
|
|
25863
25863
|
const titleContent = /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: cn("flex items-center gap-1", useEndIcon && "flex-1 justify-between"), children: [
|
|
25864
25864
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: cn("font-medium whitespace-nowrap select-text", headerTitleClass), children: col.title }),
|
|
25865
25865
|
col.sortable && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|