cr-ui-lib 1.1.68 → 1.1.69
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.js +4 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4497,7 +4497,7 @@ var TableHeader = ({
|
|
|
4497
4497
|
hasCustomClass && customClass,
|
|
4498
4498
|
!hasCustomClass && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center space-x-2 text-[#131414]", children: [
|
|
4499
4499
|
iconHeader,
|
|
4500
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[14px] font-semibold text-content", children: title }),
|
|
4500
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[14px] font-semibold text-content antialiased tracking-normal leading-none", children: title }),
|
|
4501
4501
|
hasTooltip && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4502
4502
|
"span",
|
|
4503
4503
|
{
|
|
@@ -4989,13 +4989,7 @@ var DynamicTableV2 = ({
|
|
|
4989
4989
|
className: "min-w-full",
|
|
4990
4990
|
style: { tableLayout: "fixed" },
|
|
4991
4991
|
children: [
|
|
4992
|
-
/* @__PURE__ */ jsxRuntime.jsx("colgroup", { children: columns.map((column, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
4993
|
-
"col",
|
|
4994
|
-
{
|
|
4995
|
-
style: { width: column.width || "150px" }
|
|
4996
|
-
},
|
|
4997
|
-
i
|
|
4998
|
-
)) }),
|
|
4992
|
+
/* @__PURE__ */ jsxRuntime.jsx("colgroup", { children: columns.map((column, i) => /* @__PURE__ */ jsxRuntime.jsx("col", { style: { width: column.width || "150px" } }, i)) }),
|
|
4999
4993
|
!isDisableTableHeader && /* @__PURE__ */ jsxRuntime.jsx("thead", { className: "border-b-2 bg-white sticky top-0 z-10", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: columns.map((column, columnIndex) => {
|
|
5000
4994
|
var _a2, _b2;
|
|
5001
4995
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5029,7 +5023,7 @@ var DynamicTableV2 = ({
|
|
|
5029
5023
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5030
5024
|
"span",
|
|
5031
5025
|
{
|
|
5032
|
-
className: `${column.isCenteredText && "h-[25px] flex flex-center"} items-center ${column.tableHeaderFontSize ? column.tableHeaderFontSize : "text-[12px]"} font-semibold text-[#131414]`,
|
|
5026
|
+
className: `${column.isCenteredText && "h-[25px] flex flex-center"} items-center ${column.tableHeaderFontSize ? column.tableHeaderFontSize : "text-[12px]"} font-semibold text-[#131414] antialiased tracking-normal leading-none`,
|
|
5033
5027
|
children: column.name
|
|
5034
5028
|
}
|
|
5035
5029
|
),
|
|
@@ -5070,7 +5064,7 @@ var DynamicTableV2 = ({
|
|
|
5070
5064
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5071
5065
|
"td",
|
|
5072
5066
|
{
|
|
5073
|
-
className: `${(_a2 = tableHeaderCustom == null ? void 0 : tableHeaderCustom.px) != null ? _a2 : "px-1"} py-[5px] whitespace-normal text-[12px] font-normal items-center text-[#131414] break-all
|
|
5067
|
+
className: `${(_a2 = tableHeaderCustom == null ? void 0 : tableHeaderCustom.px) != null ? _a2 : "px-1"} py-[5px] whitespace-normal antialiased tracking-normal leading-none text-[12px] font-normal items-center text-[#131414] break-all
|
|
5074
5068
|
${columnIndex === 0 ? " pl-[24px] " : ""} ${columnIndex === columns.length - 1 ? " pr-[24px] " : ""}
|
|
5075
5069
|
${(_b2 = tableBodyDesign == null ? void 0 : tableBodyDesign.className) != null ? _b2 : ""}
|
|
5076
5070
|
`,
|