kaleido-ui 0.1.91 → 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();
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.91",
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",