kaleido-ui 0.1.113 → 0.1.115
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/web/index.cjs +3 -3
- package/dist/web/index.js +3 -3
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -1851,7 +1851,6 @@ function AssetCard({
|
|
|
1851
1851
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "mt-0.5 flex min-h-6 items-center justify-end gap-1", children: [
|
|
1852
1852
|
status && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(StatusBadge, { status }),
|
|
1853
1853
|
status && ticker && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-tiny text-muted-foreground", children: "\xB7" }),
|
|
1854
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "truncate text-tiny font-medium uppercase tracking-wide text-muted-foreground", children: ticker }),
|
|
1855
1854
|
showYield && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { title: "Yield Generating Asset", className: "text-success/90 flex items-center justify-center bg-success/10 rounded-full p-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1856
1855
|
"svg",
|
|
1857
1856
|
{
|
|
@@ -1868,7 +1867,8 @@ function AssetCard({
|
|
|
1868
1867
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12" })
|
|
1869
1868
|
]
|
|
1870
1869
|
}
|
|
1871
|
-
) })
|
|
1870
|
+
) }),
|
|
1871
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "truncate text-tiny font-medium uppercase tracking-wide text-muted-foreground", children: ticker })
|
|
1872
1872
|
] })
|
|
1873
1873
|
] })
|
|
1874
1874
|
] })
|
|
@@ -3843,7 +3843,7 @@ var import_react11 = require("react");
|
|
|
3843
3843
|
var import_react_dom = require("react-dom");
|
|
3844
3844
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
3845
3845
|
function NetworkMiniBadge({ iconUrl, label }) {
|
|
3846
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden"), children: iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3846
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden bg-card"), children: iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3847
3847
|
}
|
|
3848
3848
|
function readableTagColor(color) {
|
|
3849
3849
|
const raw = color.replace("#", "");
|
package/dist/web/index.js
CHANGED
|
@@ -1660,7 +1660,6 @@ function AssetCard({
|
|
|
1660
1660
|
/* @__PURE__ */ jsxs9("div", { className: "mt-0.5 flex min-h-6 items-center justify-end gap-1", children: [
|
|
1661
1661
|
status && /* @__PURE__ */ jsx20(StatusBadge, { status }),
|
|
1662
1662
|
status && ticker && /* @__PURE__ */ jsx20("span", { className: "text-tiny text-muted-foreground", children: "\xB7" }),
|
|
1663
|
-
/* @__PURE__ */ jsx20("p", { className: "truncate text-tiny font-medium uppercase tracking-wide text-muted-foreground", children: ticker }),
|
|
1664
1663
|
showYield && /* @__PURE__ */ jsx20("div", { title: "Yield Generating Asset", className: "text-success/90 flex items-center justify-center bg-success/10 rounded-full p-0.5", children: /* @__PURE__ */ jsxs9(
|
|
1665
1664
|
"svg",
|
|
1666
1665
|
{
|
|
@@ -1677,7 +1676,8 @@ function AssetCard({
|
|
|
1677
1676
|
/* @__PURE__ */ jsx20("path", { d: "M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12" })
|
|
1678
1677
|
]
|
|
1679
1678
|
}
|
|
1680
|
-
) })
|
|
1679
|
+
) }),
|
|
1680
|
+
/* @__PURE__ */ jsx20("p", { className: "truncate text-tiny font-medium uppercase tracking-wide text-muted-foreground", children: ticker })
|
|
1681
1681
|
] })
|
|
1682
1682
|
] })
|
|
1683
1683
|
] })
|
|
@@ -3658,7 +3658,7 @@ import { useState as useState11 } from "react";
|
|
|
3658
3658
|
import { createPortal } from "react-dom";
|
|
3659
3659
|
import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3660
3660
|
function NetworkMiniBadge({ iconUrl, label }) {
|
|
3661
|
-
return /* @__PURE__ */ jsx38("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden"), children: iconUrl ? /* @__PURE__ */ jsx38("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ jsx38("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3661
|
+
return /* @__PURE__ */ jsx38("span", { className: cn(iconBadgeOverlayClass, "overflow-hidden bg-card"), children: iconUrl ? /* @__PURE__ */ jsx38("img", { src: iconUrl, alt: label ?? "", className: "h-full w-full object-cover" }) : /* @__PURE__ */ jsx38("span", { className: "flex h-full w-full items-center justify-center bg-muted text-xxs font-bold uppercase leading-none text-muted-foreground", children: label?.charAt(0) }) });
|
|
3662
3662
|
}
|
|
3663
3663
|
function readableTagColor(color) {
|
|
3664
3664
|
const raw = color.replace("#", "");
|
package/package.json
CHANGED