kaleido-ui 0.1.90 → 0.1.92

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.
@@ -1707,8 +1707,14 @@ var ASSET_COLORS = {
1707
1707
  var LOCAL_ICONS = {
1708
1708
  BTC: "/icons/bitcoin/bitcoin-logo.svg",
1709
1709
  ARKADE: "/icons/arkade/arkade-icon.svg",
1710
- RGB: "/icons/rgb/rgb-logo.svg",
1711
- SPARK: "/icons/spark/Asterisk/Spark Asterisk White.svg"
1710
+ // Bundled data-URIs (protocolIcons) — host apps don't serve /icons/rgb or
1711
+ // /icons/liquid, and a missing host asset renders as a permanently broken
1712
+ // image (onError bails early for local icons). protocolIcons is a Partial
1713
+ // for type reasons but these keys are always defined.
1714
+ RGB: protocolIcons.RGB20,
1715
+ SPARK: "/icons/spark/Asterisk/Spark Asterisk White.svg",
1716
+ LIQUID: protocolIcons.Liquid,
1717
+ "L-BTC": protocolIcons.Liquid
1712
1718
  };
1713
1719
  function AssetIcon({ ticker, logoUri, cdnBaseUrl, size = 40, className }) {
1714
1720
  const normTicker = ticker.toUpperCase();
@@ -7481,6 +7487,16 @@ var NETWORK_CONFIG = {
7481
7487
  qrBorder: "border-network-arkade/30",
7482
7488
  qrGlow: qrGlowStyle(colors.network.arkade),
7483
7489
  icon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("img", { src: "/icons/arkade/arkade-icon.svg", className: "h-3 w-3 rounded-sm", alt: "" })
7490
+ },
7491
+ liquid: {
7492
+ label: "Liquid",
7493
+ color: colors.network.liquid,
7494
+ bg: "bg-network-liquid/15",
7495
+ text: "text-network-liquid",
7496
+ border: "border-network-liquid/40",
7497
+ qrBorder: "border-network-liquid/30",
7498
+ qrGlow: qrGlowStyle(colors.network.liquid),
7499
+ icon: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(LiquidNetworkIcon, { className: "h-3 w-3" })
7484
7500
  }
7485
7501
  };
7486
7502
  var ACCOUNT_META = {
@@ -7641,6 +7657,15 @@ var NETWORK_INFO = {
7641
7657
  "Boarding address accepts on-chain Bitcoin and joins the next round",
7642
7658
  "VTXOs require periodic refresh to stay valid"
7643
7659
  ]
7660
+ },
7661
+ liquid: {
7662
+ title: "Liquid",
7663
+ detail: "Bitcoin sidechain transaction (L-BTC or Liquid assets). One confidential address receives any Liquid asset.",
7664
+ bullets: [
7665
+ "Blocks every minute; ~2 confirmations to settle",
7666
+ "Amounts are confidential on-chain by default",
7667
+ "Sender needs a Liquid wallet (L-BTC or Liquid assets)"
7668
+ ]
7644
7669
  }
7645
7670
  };
7646
7671
  function NetworkInfoDisclosure({
@@ -1423,7 +1423,7 @@ declare const KaleidoScopeHeroAnimation: FC<KaleidoScopeHeroAnimationProps>;
1423
1423
 
1424
1424
  type DepositAccountId = 'RGB' | 'SPARK' | 'ARKADE' | 'LIQUID';
1425
1425
  type DepositTransferMethod = 'bitcoin_l1' | 'lightning' | 'spark' | 'arkade' | 'boarding' | 'submarine_swap';
1426
- type DepositNetworkKey = 'onchain' | 'lightning' | 'spark' | 'arkade';
1426
+ type DepositNetworkKey = 'onchain' | 'lightning' | 'spark' | 'arkade' | 'liquid';
1427
1427
  interface DepositNetworkConfigEntry {
1428
1428
  label: string;
1429
1429
  color: string;
@@ -1423,7 +1423,7 @@ declare const KaleidoScopeHeroAnimation: FC<KaleidoScopeHeroAnimationProps>;
1423
1423
 
1424
1424
  type DepositAccountId = 'RGB' | 'SPARK' | 'ARKADE' | 'LIQUID';
1425
1425
  type DepositTransferMethod = 'bitcoin_l1' | 'lightning' | 'spark' | 'arkade' | 'boarding' | 'submarine_swap';
1426
- type DepositNetworkKey = 'onchain' | 'lightning' | 'spark' | 'arkade';
1426
+ type DepositNetworkKey = 'onchain' | 'lightning' | 'spark' | 'arkade' | 'liquid';
1427
1427
  interface DepositNetworkConfigEntry {
1428
1428
  label: string;
1429
1429
  color: string;
package/dist/web/index.js CHANGED
@@ -1519,8 +1519,14 @@ var ASSET_COLORS = {
1519
1519
  var LOCAL_ICONS = {
1520
1520
  BTC: "/icons/bitcoin/bitcoin-logo.svg",
1521
1521
  ARKADE: "/icons/arkade/arkade-icon.svg",
1522
- RGB: "/icons/rgb/rgb-logo.svg",
1523
- SPARK: "/icons/spark/Asterisk/Spark Asterisk White.svg"
1522
+ // Bundled data-URIs (protocolIcons) — host apps don't serve /icons/rgb or
1523
+ // /icons/liquid, and a missing host asset renders as a permanently broken
1524
+ // image (onError bails early for local icons). protocolIcons is a Partial
1525
+ // for type reasons but these keys are always defined.
1526
+ RGB: protocolIcons.RGB20,
1527
+ SPARK: "/icons/spark/Asterisk/Spark Asterisk White.svg",
1528
+ LIQUID: protocolIcons.Liquid,
1529
+ "L-BTC": protocolIcons.Liquid
1524
1530
  };
1525
1531
  function AssetIcon({ ticker, logoUri, cdnBaseUrl, size = 40, className }) {
1526
1532
  const normTicker = ticker.toUpperCase();
@@ -7299,6 +7305,16 @@ var NETWORK_CONFIG = {
7299
7305
  qrBorder: "border-network-arkade/30",
7300
7306
  qrGlow: qrGlowStyle(colors.network.arkade),
7301
7307
  icon: /* @__PURE__ */ jsx75("img", { src: "/icons/arkade/arkade-icon.svg", className: "h-3 w-3 rounded-sm", alt: "" })
7308
+ },
7309
+ liquid: {
7310
+ label: "Liquid",
7311
+ color: colors.network.liquid,
7312
+ bg: "bg-network-liquid/15",
7313
+ text: "text-network-liquid",
7314
+ border: "border-network-liquid/40",
7315
+ qrBorder: "border-network-liquid/30",
7316
+ qrGlow: qrGlowStyle(colors.network.liquid),
7317
+ icon: /* @__PURE__ */ jsx75(LiquidNetworkIcon, { className: "h-3 w-3" })
7302
7318
  }
7303
7319
  };
7304
7320
  var ACCOUNT_META = {
@@ -7459,6 +7475,15 @@ var NETWORK_INFO = {
7459
7475
  "Boarding address accepts on-chain Bitcoin and joins the next round",
7460
7476
  "VTXOs require periodic refresh to stay valid"
7461
7477
  ]
7478
+ },
7479
+ liquid: {
7480
+ title: "Liquid",
7481
+ detail: "Bitcoin sidechain transaction (L-BTC or Liquid assets). One confidential address receives any Liquid asset.",
7482
+ bullets: [
7483
+ "Blocks every minute; ~2 confirmations to settle",
7484
+ "Amounts are confidential on-chain by default",
7485
+ "Sender needs a Liquid wallet (L-BTC or Liquid assets)"
7486
+ ]
7462
7487
  }
7463
7488
  };
7464
7489
  function NetworkInfoDisclosure({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
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",