@julseb-lib/react 1.0.3 → 1.0.5
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 +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +28 -28
package/dist/index.js
CHANGED
|
@@ -1831,7 +1831,7 @@ var Table = ({
|
|
|
1831
1831
|
{
|
|
1832
1832
|
ref,
|
|
1833
1833
|
className: clsx(
|
|
1834
|
-
"table bg-background w-full h-[1px] border-collapse border-spacing-0 table-fixed
|
|
1834
|
+
"table bg-background w-full h-[1px] border-collapse border-spacing-0 table-fixed",
|
|
1835
1835
|
TEXT_BASE_CLASSES,
|
|
1836
1836
|
"text-(length:--font-size-small)",
|
|
1837
1837
|
genLinkColor["primary"],
|
|
@@ -1859,13 +1859,16 @@ var Table = ({
|
|
|
1859
1859
|
headers && /* @__PURE__ */ jsx17("thead", { className: clsx(genVAlign[vAlign]), children: /* @__PURE__ */ jsx17("tr", { className: clsx(genVAlign[vAlign]), children: headers.map((header) => /* @__PURE__ */ jsx17(
|
|
1860
1860
|
"th",
|
|
1861
1861
|
{
|
|
1862
|
-
className: clsx(
|
|
1862
|
+
className: clsx(
|
|
1863
|
+
genVAlign[vAlign],
|
|
1864
|
+
"no-scrollbar"
|
|
1865
|
+
),
|
|
1863
1866
|
children: linkify && typeof header === "string" ? linkifyText(header, blank) : header
|
|
1864
1867
|
},
|
|
1865
1868
|
uuid2()
|
|
1866
1869
|
)) }) }),
|
|
1867
|
-
data ? /* @__PURE__ */ jsx17("tbody", { className: clsx(genVAlign[vAlign]), children: data.map((row) => /* @__PURE__ */ jsx17("tr", { children: row.map((col) => /* @__PURE__ */ jsx17("td", { children: linkify && typeof col === "string" ? linkifyText(col, blank) : col }, uuid2())) }, uuid2())) }) : /* @__PURE__ */ jsx17("tbody", { children }),
|
|
1868
|
-
footers && /* @__PURE__ */ jsx17("tfoot", { children: /* @__PURE__ */ jsx17("tr", { children: footers.map((footer) => /* @__PURE__ */ jsx17("td", { children: linkify && typeof footer === "string" ? linkifyText(footer, blank) : footer }, uuid2())) }) })
|
|
1870
|
+
data ? /* @__PURE__ */ jsx17("tbody", { className: clsx(genVAlign[vAlign]), children: data.map((row) => /* @__PURE__ */ jsx17("tr", { children: row.map((col) => /* @__PURE__ */ jsx17("td", { className: "no-scrollbar", children: linkify && typeof col === "string" ? linkifyText(col, blank) : col }, uuid2())) }, uuid2())) }) : /* @__PURE__ */ jsx17("tbody", { children }),
|
|
1871
|
+
footers && /* @__PURE__ */ jsx17("tfoot", { children: /* @__PURE__ */ jsx17("tr", { children: footers.map((footer) => /* @__PURE__ */ jsx17("td", { className: "no-scrollbar", children: linkify && typeof footer === "string" ? linkifyText(footer, blank) : footer }, uuid2())) }) })
|
|
1869
1872
|
]
|
|
1870
1873
|
}
|
|
1871
1874
|
);
|
|
@@ -69747,7 +69750,7 @@ var CodeContainer = ({
|
|
|
69747
69750
|
"pre",
|
|
69748
69751
|
{
|
|
69749
69752
|
style,
|
|
69750
|
-
className: "relative max-w-full overflow-x-scroll
|
|
69753
|
+
className: "relative max-w-full overflow-x-scroll no-scrollbar",
|
|
69751
69754
|
children: tokens.map((line, i) => /* @__PURE__ */ jsxs296("div", { ...getLineProps({ line }), children: [
|
|
69752
69755
|
showNumbers && /* @__PURE__ */ jsx371("span", { className: "mr-6", children: i + 1 }),
|
|
69753
69756
|
line.map((token, key) => /* @__PURE__ */ jsx371(
|