kaleido-ui 0.1.27 → 0.1.28
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 +7 -3
- package/dist/web/index.d.cts +4 -1
- package/dist/web/index.d.ts +4 -1
- package/dist/web/index.js +7 -3
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -2515,7 +2515,8 @@ function AccountSettingsRow({
|
|
|
2515
2515
|
description,
|
|
2516
2516
|
onClick,
|
|
2517
2517
|
hideNetworkChip = false,
|
|
2518
|
-
accent = false
|
|
2518
|
+
accent = false,
|
|
2519
|
+
beta = false
|
|
2519
2520
|
}) {
|
|
2520
2521
|
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2521
2522
|
"button",
|
|
@@ -2530,8 +2531,11 @@ function AccountSettingsRow({
|
|
|
2530
2531
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(AccountHeaderIcons, { accountId }),
|
|
2531
2532
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "min-w-0 flex-1", children: [
|
|
2532
2533
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
|
|
2533
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { children: [
|
|
2534
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.
|
|
2534
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "min-w-0", children: [
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2536
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "text-sm font-bold text-white", children: title }),
|
|
2537
|
+
beta && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "rounded-full bg-warning/15 px-1.5 py-0.5 text-tiny font-bold uppercase tracking-wider text-warning", children: "Beta" })
|
|
2538
|
+
] }),
|
|
2535
2539
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
|
|
2536
2540
|
] }),
|
|
2537
2541
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon2, { name: "chevron_right", size: "sm", className: "text-white/40" })
|
package/dist/web/index.d.cts
CHANGED
|
@@ -476,7 +476,7 @@ declare function TransferRouteCard({ label, summary, eta, feeHint, }: {
|
|
|
476
476
|
declare function ExpandIcon({ expanded }: {
|
|
477
477
|
expanded: boolean;
|
|
478
478
|
}): react_jsx_runtime.JSX.Element;
|
|
479
|
-
declare function AccountSettingsRow({ accountId, title, status, network, description, onClick, hideNetworkChip, accent, }: {
|
|
479
|
+
declare function AccountSettingsRow({ accountId, title, status, network, description, onClick, hideNetworkChip, accent, beta, }: {
|
|
480
480
|
accountId: AccountSettingsProtocol;
|
|
481
481
|
title: string;
|
|
482
482
|
status: 'ready' | 'offline' | 'optional' | string;
|
|
@@ -489,6 +489,9 @@ declare function AccountSettingsRow({ accountId, title, status, network, descrip
|
|
|
489
489
|
/** Render the row with the per-account accent gradient (used on the
|
|
490
490
|
Settings main page so account rows mirror dashboard asset cards). */
|
|
491
491
|
accent?: boolean;
|
|
492
|
+
/** Show a small BETA chip next to the title — used for accounts that
|
|
493
|
+
haven't graduated to mainnet yet (e.g. RGB on testchains only). */
|
|
494
|
+
beta?: boolean;
|
|
492
495
|
}): react_jsx_runtime.JSX.Element;
|
|
493
496
|
|
|
494
497
|
interface AccountCapabilitiesCardProps {
|
package/dist/web/index.d.ts
CHANGED
|
@@ -476,7 +476,7 @@ declare function TransferRouteCard({ label, summary, eta, feeHint, }: {
|
|
|
476
476
|
declare function ExpandIcon({ expanded }: {
|
|
477
477
|
expanded: boolean;
|
|
478
478
|
}): react_jsx_runtime.JSX.Element;
|
|
479
|
-
declare function AccountSettingsRow({ accountId, title, status, network, description, onClick, hideNetworkChip, accent, }: {
|
|
479
|
+
declare function AccountSettingsRow({ accountId, title, status, network, description, onClick, hideNetworkChip, accent, beta, }: {
|
|
480
480
|
accountId: AccountSettingsProtocol;
|
|
481
481
|
title: string;
|
|
482
482
|
status: 'ready' | 'offline' | 'optional' | string;
|
|
@@ -489,6 +489,9 @@ declare function AccountSettingsRow({ accountId, title, status, network, descrip
|
|
|
489
489
|
/** Render the row with the per-account accent gradient (used on the
|
|
490
490
|
Settings main page so account rows mirror dashboard asset cards). */
|
|
491
491
|
accent?: boolean;
|
|
492
|
+
/** Show a small BETA chip next to the title — used for accounts that
|
|
493
|
+
haven't graduated to mainnet yet (e.g. RGB on testchains only). */
|
|
494
|
+
beta?: boolean;
|
|
492
495
|
}): react_jsx_runtime.JSX.Element;
|
|
493
496
|
|
|
494
497
|
interface AccountCapabilitiesCardProps {
|
package/dist/web/index.js
CHANGED
|
@@ -2360,7 +2360,8 @@ function AccountSettingsRow({
|
|
|
2360
2360
|
description,
|
|
2361
2361
|
onClick,
|
|
2362
2362
|
hideNetworkChip = false,
|
|
2363
|
-
accent = false
|
|
2363
|
+
accent = false,
|
|
2364
|
+
beta = false
|
|
2364
2365
|
}) {
|
|
2365
2366
|
return /* @__PURE__ */ jsx30(
|
|
2366
2367
|
"button",
|
|
@@ -2375,8 +2376,11 @@ function AccountSettingsRow({
|
|
|
2375
2376
|
/* @__PURE__ */ jsx30(AccountHeaderIcons, { accountId }),
|
|
2376
2377
|
/* @__PURE__ */ jsxs18("div", { className: "min-w-0 flex-1", children: [
|
|
2377
2378
|
/* @__PURE__ */ jsxs18("div", { className: "flex items-center justify-between gap-3", children: [
|
|
2378
|
-
/* @__PURE__ */ jsxs18("div", { children: [
|
|
2379
|
-
/* @__PURE__ */
|
|
2379
|
+
/* @__PURE__ */ jsxs18("div", { className: "min-w-0", children: [
|
|
2380
|
+
/* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-2", children: [
|
|
2381
|
+
/* @__PURE__ */ jsx30("p", { className: "text-sm font-bold text-white", children: title }),
|
|
2382
|
+
beta && /* @__PURE__ */ jsx30("span", { className: "rounded-full bg-warning/15 px-1.5 py-0.5 text-tiny font-bold uppercase tracking-wider text-warning", children: "Beta" })
|
|
2383
|
+
] }),
|
|
2380
2384
|
/* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-muted-foreground", children: description })
|
|
2381
2385
|
] }),
|
|
2382
2386
|
/* @__PURE__ */ jsx30(Icon2, { name: "chevron_right", size: "sm", className: "text-white/40" })
|
package/package.json
CHANGED