@particle-academy/react-fancy 5.6.0 → 5.6.1

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 CHANGED
@@ -7027,8 +7027,8 @@ var IndexList = forwardRef(
7027
7027
  "data-react-fancy-index-row": "",
7028
7028
  className: "relative flex items-baseline gap-4 border-b border-zinc-200 py-3 last:border-b-0 dark:border-zinc-800",
7029
7029
  children: [
7030
- item.num != null && /* @__PURE__ */ jsx("span", { className: "shrink-0 font-mono text-xs tabular-nums text-zinc-400 dark:text-zinc-500", children: item.num }),
7031
- /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate font-medium text-zinc-900 dark:text-zinc-100", children: item.href ? /* @__PURE__ */ jsx(
7030
+ item.num != null && /* @__PURE__ */ jsx("span", { "data-react-fancy-index-num": "", className: "shrink-0 font-mono text-xs tabular-nums text-zinc-400 dark:text-zinc-500", children: item.num }),
7031
+ /* @__PURE__ */ jsx("span", { "data-react-fancy-index-title": "", className: "min-w-0 flex-1 truncate font-medium text-zinc-900 dark:text-zinc-100", children: item.href ? /* @__PURE__ */ jsx(
7032
7032
  Link,
7033
7033
  {
7034
7034
  href: item.href,
@@ -7036,8 +7036,8 @@ var IndexList = forwardRef(
7036
7036
  children: item.title
7037
7037
  }
7038
7038
  ) : item.title }),
7039
- item.meta != null && /* @__PURE__ */ jsx("span", { className: "shrink-0 truncate text-sm text-zinc-500 dark:text-zinc-400", children: item.meta }),
7040
- item.value != null && /* @__PURE__ */ jsx("span", { className: "ml-auto shrink-0 font-mono text-xs tabular-nums text-zinc-500 dark:text-zinc-400", children: item.value })
7039
+ item.meta != null && /* @__PURE__ */ jsx("span", { "data-react-fancy-index-meta": "", className: "shrink-0 truncate text-sm text-zinc-500 dark:text-zinc-400", children: item.meta }),
7040
+ item.value != null && /* @__PURE__ */ jsx("span", { "data-react-fancy-index-value": "", className: "ml-auto shrink-0 font-mono text-xs tabular-nums text-zinc-500 dark:text-zinc-400", children: item.value })
7041
7041
  ]
7042
7042
  },
7043
7043
  item.id ?? i
@@ -7072,6 +7072,7 @@ var StatRoot = forwardRef(
7072
7072
  /* @__PURE__ */ jsx(
7073
7073
  "div",
7074
7074
  {
7075
+ "data-react-fancy-stat-value": "",
7075
7076
  className: cn(
7076
7077
  "font-semibold leading-none tracking-tight text-zinc-900 tabular-nums dark:text-zinc-100",
7077
7078
  valueClasses[size]
@@ -7079,7 +7080,14 @@ var StatRoot = forwardRef(
7079
7080
  children: value
7080
7081
  }
7081
7082
  ),
7082
- label != null && /* @__PURE__ */ jsx("div", { className: "mt-1.5 font-mono text-xs uppercase tracking-wide text-zinc-500 dark:text-zinc-400", children: label })
7083
+ label != null && /* @__PURE__ */ jsx(
7084
+ "div",
7085
+ {
7086
+ "data-react-fancy-stat-label": "",
7087
+ className: "mt-1.5 font-mono text-xs uppercase tracking-wide text-zinc-500 dark:text-zinc-400",
7088
+ children: label
7089
+ }
7090
+ )
7083
7091
  ] }) });
7084
7092
  }
7085
7093
  );