kaleido-ui 0.1.62 → 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.
@@ -7323,7 +7323,7 @@ var NETWORK_CONFIG = {
7323
7323
  };
7324
7324
  var ACCOUNT_META = {
7325
7325
  RGB: {
7326
- shortLabel: "RLN",
7326
+ shortLabel: "RGB",
7327
7327
  accentBg: "bg-primary/10",
7328
7328
  accentText: "text-primary",
7329
7329
  accentBorder: "border-primary/30",
@@ -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
  );
@@ -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[];
@@ -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
@@ -7146,7 +7146,7 @@ var NETWORK_CONFIG = {
7146
7146
  };
7147
7147
  var ACCOUNT_META = {
7148
7148
  RGB: {
7149
- shortLabel: "RLN",
7149
+ shortLabel: "RGB",
7150
7150
  accentBg: "bg-primary/10",
7151
7151
  accentText: "text-primary",
7152
7152
  accentBorder: "border-primary/30",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.62",
3
+ "version": "0.1.64",
4
4
  "description": "KaleidoSwap shared UI library — design tokens, web components (Tailwind + Radix), and React Native components extending WDK UI Kit",
5
5
  "license": "MIT",
6
6
  "type": "module",