@julseb-lib/react 1.0.4 → 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 CHANGED
@@ -2072,7 +2072,7 @@ var Table = ({
2072
2072
  {
2073
2073
  ref,
2074
2074
  className: clsx(
2075
- "table bg-background w-full h-[1px] border-collapse border-spacing-0 table-fixed no-scrollbar [&_*]:no-scrollbar",
2075
+ "table bg-background w-full h-[1px] border-collapse border-spacing-0 table-fixed",
2076
2076
  TEXT_BASE_CLASSES,
2077
2077
  "text-(length:--font-size-small)",
2078
2078
  genLinkColor["primary"],
@@ -2100,13 +2100,16 @@ var Table = ({
2100
2100
  headers && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("thead", { className: clsx(genVAlign[vAlign]), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tr", { className: clsx(genVAlign[vAlign]), children: headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2101
2101
  "th",
2102
2102
  {
2103
- className: clsx(genVAlign[vAlign]),
2103
+ className: clsx(
2104
+ genVAlign[vAlign],
2105
+ "no-scrollbar"
2106
+ ),
2104
2107
  children: linkify && typeof header === "string" ? linkifyText(header, blank) : header
2105
2108
  },
2106
2109
  (0, import_utils17.uuid)()
2107
2110
  )) }) }),
2108
- data ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tbody", { className: clsx(genVAlign[vAlign]), children: data.map((row) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tr", { children: row.map((col) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { children: linkify && typeof col === "string" ? linkifyText(col, blank) : col }, (0, import_utils17.uuid)())) }, (0, import_utils17.uuid)())) }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tbody", { children }),
2109
- footers && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tfoot", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tr", { children: footers.map((footer) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { children: linkify && typeof footer === "string" ? linkifyText(footer, blank) : footer }, (0, import_utils17.uuid)())) }) })
2111
+ data ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tbody", { className: clsx(genVAlign[vAlign]), children: data.map((row) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tr", { children: row.map((col) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { className: "no-scrollbar", children: linkify && typeof col === "string" ? linkifyText(col, blank) : col }, (0, import_utils17.uuid)())) }, (0, import_utils17.uuid)())) }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tbody", { children }),
2112
+ footers && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tfoot", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("tr", { children: footers.map((footer) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { className: "no-scrollbar", children: linkify && typeof footer === "string" ? linkifyText(footer, blank) : footer }, (0, import_utils17.uuid)())) }) })
2110
2113
  ]
2111
2114
  }
2112
2115
  );
@@ -69909,7 +69912,7 @@ var CodeContainer = ({
69909
69912
  "pre",
69910
69913
  {
69911
69914
  style,
69912
- className: "relative max-w-full overflow-x-scroll hide-scrollbar",
69915
+ className: "relative max-w-full overflow-x-scroll no-scrollbar",
69913
69916
  children: tokens.map((line, i) => /* @__PURE__ */ (0, import_jsx_runtime372.jsxs)("div", { ...getLineProps({ line }), children: [
69914
69917
  showNumbers && /* @__PURE__ */ (0, import_jsx_runtime372.jsx)("span", { className: "mr-6", children: i + 1 }),
69915
69918
  line.map((token, key) => /* @__PURE__ */ (0, import_jsx_runtime372.jsx)(