@pollinations/ui 0.1.0-alpha.5 → 0.1.0-alpha.7

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
@@ -2501,7 +2501,7 @@ function CopyField({
2501
2501
  className
2502
2502
  ),
2503
2503
  children: (copied) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
2504
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "polli:min-w-0 polli:flex-1 polli:select-all polli:break-all", children: copied ? "Copied" : display ?? String(value) }),
2504
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "polli:min-w-0 polli:flex-1 polli:select-all polli:break-all", children: copied ? "Copied" : display ?? (typeof value === "string" ? value : label) }),
2505
2505
  /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2506
2506
  "span",
2507
2507
  {