@julseb-lib/react 1.0.4 → 1.0.6

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
  );
@@ -69572,7 +69575,7 @@ var Header = ({
69572
69575
  links,
69573
69576
  nav,
69574
69577
  backgroundColor = "primary",
69575
- navMobileBackground,
69578
+ navMobileBackground = backgroundColor,
69576
69579
  textColor = "white",
69577
69580
  linksColor = "white",
69578
69581
  headerOpenMobileBackground = backgroundColor,
@@ -69621,7 +69624,7 @@ var Header = ({
69621
69624
  isMobile && /* @__PURE__ */ (0, import_jsx_runtime367.jsx)(HeaderSearch, { ...searchProps })
69622
69625
  ] }),
69623
69626
  className: clsx(
69624
- "z-999 flex gap-2 [&>a]:outline-none transition-all duration-200 ease-in-out",
69627
+ "z-999 flex gap-2 [&>a]:outline-none w-fit transition-all duration-200 ease-in-out",
69625
69628
  "fixed md:relative",
69626
69629
  "flex-col md:flex-row px-[5%] md:px-0",
69627
69630
  genRingColorChildren[linksColor],
@@ -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)(