kaleido-ui 0.1.63 → 0.1.64
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 -2
- package/dist/web/index.d.cts +3 -1
- package/dist/web/index.d.ts +3 -1
- package/dist/web/index.js +3 -2
- package/package.json +1 -1
package/dist/web/index.cjs
CHANGED
|
@@ -7413,7 +7413,8 @@ function CopyIcon({ copied }) {
|
|
|
7413
7413
|
function AccountChoiceChip({
|
|
7414
7414
|
account,
|
|
7415
7415
|
active,
|
|
7416
|
-
onClick
|
|
7416
|
+
onClick,
|
|
7417
|
+
label
|
|
7417
7418
|
}) {
|
|
7418
7419
|
const meta = ACCOUNT_META[account];
|
|
7419
7420
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
@@ -7428,7 +7429,7 @@ function AccountChoiceChip({
|
|
|
7428
7429
|
),
|
|
7429
7430
|
children: [
|
|
7430
7431
|
meta.icon,
|
|
7431
|
-
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: meta.shortLabel })
|
|
7432
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: label ?? meta.shortLabel })
|
|
7432
7433
|
]
|
|
7433
7434
|
}
|
|
7434
7435
|
);
|
package/dist/web/index.d.cts
CHANGED
|
@@ -1357,10 +1357,12 @@ declare function PaidOverlay(): react_jsx_runtime.JSX.Element;
|
|
|
1357
1357
|
declare function CopyIcon({ copied }: {
|
|
1358
1358
|
copied: boolean;
|
|
1359
1359
|
}): react_jsx_runtime.JSX.Element;
|
|
1360
|
-
declare function AccountChoiceChip({ account, active, onClick, }: {
|
|
1360
|
+
declare function AccountChoiceChip({ account, active, onClick, label, }: {
|
|
1361
1361
|
account: DepositAccountId;
|
|
1362
1362
|
active: boolean;
|
|
1363
1363
|
onClick: () => void;
|
|
1364
|
+
/** Override the short label, e.g. "RLN" vs "RGB" for the RGB account's backing. */
|
|
1365
|
+
label?: string;
|
|
1364
1366
|
}): react_jsx_runtime.JSX.Element;
|
|
1365
1367
|
declare function NetworkInfoDisclosure({ networks, className, }: {
|
|
1366
1368
|
networks: DepositNetworkKey[];
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1357,10 +1357,12 @@ declare function PaidOverlay(): react_jsx_runtime.JSX.Element;
|
|
|
1357
1357
|
declare function CopyIcon({ copied }: {
|
|
1358
1358
|
copied: boolean;
|
|
1359
1359
|
}): react_jsx_runtime.JSX.Element;
|
|
1360
|
-
declare function AccountChoiceChip({ account, active, onClick, }: {
|
|
1360
|
+
declare function AccountChoiceChip({ account, active, onClick, label, }: {
|
|
1361
1361
|
account: DepositAccountId;
|
|
1362
1362
|
active: boolean;
|
|
1363
1363
|
onClick: () => void;
|
|
1364
|
+
/** Override the short label, e.g. "RLN" vs "RGB" for the RGB account's backing. */
|
|
1365
|
+
label?: string;
|
|
1364
1366
|
}): react_jsx_runtime.JSX.Element;
|
|
1365
1367
|
declare function NetworkInfoDisclosure({ networks, className, }: {
|
|
1366
1368
|
networks: DepositNetworkKey[];
|
package/dist/web/index.js
CHANGED
|
@@ -7236,7 +7236,8 @@ function CopyIcon({ copied }) {
|
|
|
7236
7236
|
function AccountChoiceChip({
|
|
7237
7237
|
account,
|
|
7238
7238
|
active,
|
|
7239
|
-
onClick
|
|
7239
|
+
onClick,
|
|
7240
|
+
label
|
|
7240
7241
|
}) {
|
|
7241
7242
|
const meta = ACCOUNT_META[account];
|
|
7242
7243
|
return /* @__PURE__ */ jsxs59(
|
|
@@ -7251,7 +7252,7 @@ function AccountChoiceChip({
|
|
|
7251
7252
|
),
|
|
7252
7253
|
children: [
|
|
7253
7254
|
meta.icon,
|
|
7254
|
-
/* @__PURE__ */ jsx73("span", { children: meta.shortLabel })
|
|
7255
|
+
/* @__PURE__ */ jsx73("span", { children: label ?? meta.shortLabel })
|
|
7255
7256
|
]
|
|
7256
7257
|
}
|
|
7257
7258
|
);
|
package/package.json
CHANGED