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