kaleido-ui 0.1.85 → 0.1.87

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.
@@ -157,6 +157,25 @@ var colors = {
157
157
  thumbHover: "rgba(43, 238, 121, 0.55)",
158
158
  track: "transparent"
159
159
  },
160
+ /** External bridge chains — third-party brand colors for network tags.
161
+ * Keyed by the lowercase chain id the bridge API uses. */
162
+ bridgeChain: {
163
+ ethereum: "#627EEA",
164
+ base: "#0052FF",
165
+ arbitrum: "#28A0F0",
166
+ optimism: "#FF0420",
167
+ polygon: "#8247E5",
168
+ solana: "#9945FF",
169
+ tron: "#FF4B4B",
170
+ bitcoin: "#F7931A",
171
+ lightning: "#F6C343",
172
+ spark: "#FF6D00",
173
+ avalanche: "#E84142",
174
+ bsc: "#F0B90B",
175
+ litecoin: "#4A7BD4",
176
+ ton: "#0098EA",
177
+ monad: "#836EF9"
178
+ },
160
179
  /** Network / Layer */
161
180
  network: {
162
181
  bitcoin: "#F7931A",
@@ -459,6 +459,25 @@ declare const colors: {
459
459
  readonly thumbHover: "rgba(43, 238, 121, 0.55)";
460
460
  readonly track: "transparent";
461
461
  };
462
+ /** External bridge chains — third-party brand colors for network tags.
463
+ * Keyed by the lowercase chain id the bridge API uses. */
464
+ readonly bridgeChain: {
465
+ readonly ethereum: "#627EEA";
466
+ readonly base: "#0052FF";
467
+ readonly arbitrum: "#28A0F0";
468
+ readonly optimism: "#FF0420";
469
+ readonly polygon: "#8247E5";
470
+ readonly solana: "#9945FF";
471
+ readonly tron: "#FF4B4B";
472
+ readonly bitcoin: "#F7931A";
473
+ readonly lightning: "#F6C343";
474
+ readonly spark: "#FF6D00";
475
+ readonly avalanche: "#E84142";
476
+ readonly bsc: "#F0B90B";
477
+ readonly litecoin: "#4A7BD4";
478
+ readonly ton: "#0098EA";
479
+ readonly monad: "#836EF9";
480
+ };
462
481
  /** Network / Layer */
463
482
  readonly network: {
464
483
  readonly bitcoin: "#F7931A";
@@ -459,6 +459,25 @@ declare const colors: {
459
459
  readonly thumbHover: "rgba(43, 238, 121, 0.55)";
460
460
  readonly track: "transparent";
461
461
  };
462
+ /** External bridge chains — third-party brand colors for network tags.
463
+ * Keyed by the lowercase chain id the bridge API uses. */
464
+ readonly bridgeChain: {
465
+ readonly ethereum: "#627EEA";
466
+ readonly base: "#0052FF";
467
+ readonly arbitrum: "#28A0F0";
468
+ readonly optimism: "#FF0420";
469
+ readonly polygon: "#8247E5";
470
+ readonly solana: "#9945FF";
471
+ readonly tron: "#FF4B4B";
472
+ readonly bitcoin: "#F7931A";
473
+ readonly lightning: "#F6C343";
474
+ readonly spark: "#FF6D00";
475
+ readonly avalanche: "#E84142";
476
+ readonly bsc: "#F0B90B";
477
+ readonly litecoin: "#4A7BD4";
478
+ readonly ton: "#0098EA";
479
+ readonly monad: "#836EF9";
480
+ };
462
481
  /** Network / Layer */
463
482
  readonly network: {
464
483
  readonly bitcoin: "#F7931A";
@@ -79,6 +79,25 @@ var colors = {
79
79
  thumbHover: "rgba(43, 238, 121, 0.55)",
80
80
  track: "transparent"
81
81
  },
82
+ /** External bridge chains — third-party brand colors for network tags.
83
+ * Keyed by the lowercase chain id the bridge API uses. */
84
+ bridgeChain: {
85
+ ethereum: "#627EEA",
86
+ base: "#0052FF",
87
+ arbitrum: "#28A0F0",
88
+ optimism: "#FF0420",
89
+ polygon: "#8247E5",
90
+ solana: "#9945FF",
91
+ tron: "#FF4B4B",
92
+ bitcoin: "#F7931A",
93
+ lightning: "#F6C343",
94
+ spark: "#FF6D00",
95
+ avalanche: "#E84142",
96
+ bsc: "#F0B90B",
97
+ litecoin: "#4A7BD4",
98
+ ton: "#0098EA",
99
+ monad: "#836EF9"
100
+ },
82
101
  /** Network / Layer */
83
102
  network: {
84
103
  bitcoin: "#F7931A",
@@ -30,6 +30,7 @@ __export(tokens_exports, {
30
30
  fontWeight: () => fontWeight,
31
31
  gradient: () => gradient,
32
32
  iconBoxSize: () => iconBoxSize,
33
+ iconColors: () => iconColors,
33
34
  iconSize: () => iconSize,
34
35
  keyframes: () => keyframes,
35
36
  layer: () => layer,
@@ -158,6 +159,25 @@ var colors = {
158
159
  thumbHover: "rgba(43, 238, 121, 0.55)",
159
160
  track: "transparent"
160
161
  },
162
+ /** External bridge chains — third-party brand colors for network tags.
163
+ * Keyed by the lowercase chain id the bridge API uses. */
164
+ bridgeChain: {
165
+ ethereum: "#627EEA",
166
+ base: "#0052FF",
167
+ arbitrum: "#28A0F0",
168
+ optimism: "#FF0420",
169
+ polygon: "#8247E5",
170
+ solana: "#9945FF",
171
+ tron: "#FF4B4B",
172
+ bitcoin: "#F7931A",
173
+ lightning: "#F6C343",
174
+ spark: "#FF6D00",
175
+ avalanche: "#E84142",
176
+ bsc: "#F0B90B",
177
+ litecoin: "#4A7BD4",
178
+ ton: "#0098EA",
179
+ monad: "#836EF9"
180
+ },
161
181
  /** Network / Layer */
162
182
  network: {
163
183
  bitcoin: "#F7931A",
@@ -586,6 +606,37 @@ var themes = { light, dark };
586
606
  function makeTheme(mode) {
587
607
  return themes[mode];
588
608
  }
609
+
610
+ // src/tokens/icon-colors.generated.ts
611
+ var iconColors = {
612
+ "arbitrum": "#1C3249",
613
+ "avalanche": "#E84142",
614
+ "bitcoin": "#F7931A",
615
+ "bnb": "#F3BA2E",
616
+ "btc": "#F7931A",
617
+ "eth": "#ECEFF0",
618
+ "ethereum": "#ECEFF0",
619
+ "hypercore": "#072723",
620
+ "hyperevm": "#072723",
621
+ "lightning": "#F7931A",
622
+ "litecoin": "#385D9A",
623
+ "monad": "#6E54FF",
624
+ "optimism": "#FE0420",
625
+ "plasma": "#162F29",
626
+ "polygon": "#843BED",
627
+ "sol": "#2BD9B9",
628
+ "solana": "#9548FC",
629
+ "tempo": "#BFBFBF",
630
+ "ton": "#30A1F5",
631
+ "tron": "#FF0013",
632
+ "trx": "#FF0013",
633
+ "usdb": "#01875A",
634
+ "usdc": "#2775C9",
635
+ "usdce": "#2775CA",
636
+ "usdt": "#26A17B",
637
+ "xrp": "#23292F",
638
+ "zcash": "#ECB449"
639
+ };
589
640
  // Annotate the CommonJS export names for ESM import in node:
590
641
  0 && (module.exports = {
591
642
  animation,
@@ -598,6 +649,7 @@ function makeTheme(mode) {
598
649
  fontWeight,
599
650
  gradient,
600
651
  iconBoxSize,
652
+ iconColors,
601
653
  iconSize,
602
654
  keyframes,
603
655
  layer,
@@ -70,6 +70,25 @@ declare const colors: {
70
70
  readonly thumbHover: "rgba(43, 238, 121, 0.55)";
71
71
  readonly track: "transparent";
72
72
  };
73
+ /** External bridge chains — third-party brand colors for network tags.
74
+ * Keyed by the lowercase chain id the bridge API uses. */
75
+ readonly bridgeChain: {
76
+ readonly ethereum: "#627EEA";
77
+ readonly base: "#0052FF";
78
+ readonly arbitrum: "#28A0F0";
79
+ readonly optimism: "#FF0420";
80
+ readonly polygon: "#8247E5";
81
+ readonly solana: "#9945FF";
82
+ readonly tron: "#FF4B4B";
83
+ readonly bitcoin: "#F7931A";
84
+ readonly lightning: "#F6C343";
85
+ readonly spark: "#FF6D00";
86
+ readonly avalanche: "#E84142";
87
+ readonly bsc: "#F0B90B";
88
+ readonly litecoin: "#4A7BD4";
89
+ readonly ton: "#0098EA";
90
+ readonly monad: "#836EF9";
91
+ };
73
92
  /** Network / Layer */
74
93
  readonly network: {
75
94
  readonly bitcoin: "#F7931A";
@@ -552,4 +571,6 @@ declare const themes: Record<ThemeMode, KaleidoTheme>;
552
571
  /** Resolve the full palette for a mode. */
553
572
  declare function makeTheme(mode: ThemeMode): KaleidoTheme;
554
573
 
555
- export { type AppSemanticToken, type KaleidoTheme, type NativeTypeLevel, type ThemeMode, animation, appSemanticDark, appSemanticLight, appSemanticOrder, appStatusSubtleAlpha, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, makeTheme, nativeType, radius, shadow, sizing, themes, transition, typeScale };
574
+ declare const iconColors: Record<string, string>;
575
+
576
+ export { type AppSemanticToken, type KaleidoTheme, type NativeTypeLevel, type ThemeMode, animation, appSemanticDark, appSemanticLight, appSemanticOrder, appStatusSubtleAlpha, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconColors, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, makeTheme, nativeType, radius, shadow, sizing, themes, transition, typeScale };
@@ -70,6 +70,25 @@ declare const colors: {
70
70
  readonly thumbHover: "rgba(43, 238, 121, 0.55)";
71
71
  readonly track: "transparent";
72
72
  };
73
+ /** External bridge chains — third-party brand colors for network tags.
74
+ * Keyed by the lowercase chain id the bridge API uses. */
75
+ readonly bridgeChain: {
76
+ readonly ethereum: "#627EEA";
77
+ readonly base: "#0052FF";
78
+ readonly arbitrum: "#28A0F0";
79
+ readonly optimism: "#FF0420";
80
+ readonly polygon: "#8247E5";
81
+ readonly solana: "#9945FF";
82
+ readonly tron: "#FF4B4B";
83
+ readonly bitcoin: "#F7931A";
84
+ readonly lightning: "#F6C343";
85
+ readonly spark: "#FF6D00";
86
+ readonly avalanche: "#E84142";
87
+ readonly bsc: "#F0B90B";
88
+ readonly litecoin: "#4A7BD4";
89
+ readonly ton: "#0098EA";
90
+ readonly monad: "#836EF9";
91
+ };
73
92
  /** Network / Layer */
74
93
  readonly network: {
75
94
  readonly bitcoin: "#F7931A";
@@ -552,4 +571,6 @@ declare const themes: Record<ThemeMode, KaleidoTheme>;
552
571
  /** Resolve the full palette for a mode. */
553
572
  declare function makeTheme(mode: ThemeMode): KaleidoTheme;
554
573
 
555
- export { type AppSemanticToken, type KaleidoTheme, type NativeTypeLevel, type ThemeMode, animation, appSemanticDark, appSemanticLight, appSemanticOrder, appStatusSubtleAlpha, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, makeTheme, nativeType, radius, shadow, sizing, themes, transition, typeScale };
574
+ declare const iconColors: Record<string, string>;
575
+
576
+ export { type AppSemanticToken, type KaleidoTheme, type NativeTypeLevel, type ThemeMode, animation, appSemanticDark, appSemanticLight, appSemanticOrder, appStatusSubtleAlpha, colors, fontFamily, fontWeight, gradient, iconBoxSize, iconColors, iconSize, keyframes, layer, letterSpacing, lightSemanticColors, makeTheme, nativeType, radius, shadow, sizing, themes, transition, typeScale };
@@ -110,6 +110,25 @@ var colors = {
110
110
  thumbHover: "rgba(43, 238, 121, 0.55)",
111
111
  track: "transparent"
112
112
  },
113
+ /** External bridge chains — third-party brand colors for network tags.
114
+ * Keyed by the lowercase chain id the bridge API uses. */
115
+ bridgeChain: {
116
+ ethereum: "#627EEA",
117
+ base: "#0052FF",
118
+ arbitrum: "#28A0F0",
119
+ optimism: "#FF0420",
120
+ polygon: "#8247E5",
121
+ solana: "#9945FF",
122
+ tron: "#FF4B4B",
123
+ bitcoin: "#F7931A",
124
+ lightning: "#F6C343",
125
+ spark: "#FF6D00",
126
+ avalanche: "#E84142",
127
+ bsc: "#F0B90B",
128
+ litecoin: "#4A7BD4",
129
+ ton: "#0098EA",
130
+ monad: "#836EF9"
131
+ },
113
132
  /** Network / Layer */
114
133
  network: {
115
134
  bitcoin: "#F7931A",
@@ -538,6 +557,37 @@ var themes = { light, dark };
538
557
  function makeTheme(mode) {
539
558
  return themes[mode];
540
559
  }
560
+
561
+ // src/tokens/icon-colors.generated.ts
562
+ var iconColors = {
563
+ "arbitrum": "#1C3249",
564
+ "avalanche": "#E84142",
565
+ "bitcoin": "#F7931A",
566
+ "bnb": "#F3BA2E",
567
+ "btc": "#F7931A",
568
+ "eth": "#ECEFF0",
569
+ "ethereum": "#ECEFF0",
570
+ "hypercore": "#072723",
571
+ "hyperevm": "#072723",
572
+ "lightning": "#F7931A",
573
+ "litecoin": "#385D9A",
574
+ "monad": "#6E54FF",
575
+ "optimism": "#FE0420",
576
+ "plasma": "#162F29",
577
+ "polygon": "#843BED",
578
+ "sol": "#2BD9B9",
579
+ "solana": "#9548FC",
580
+ "tempo": "#BFBFBF",
581
+ "ton": "#30A1F5",
582
+ "tron": "#FF0013",
583
+ "trx": "#FF0013",
584
+ "usdb": "#01875A",
585
+ "usdc": "#2775C9",
586
+ "usdce": "#2775CA",
587
+ "usdt": "#26A17B",
588
+ "xrp": "#23292F",
589
+ "zcash": "#ECB449"
590
+ };
541
591
  export {
542
592
  animation,
543
593
  appSemanticDark,
@@ -549,6 +599,7 @@ export {
549
599
  fontWeight,
550
600
  gradient,
551
601
  iconBoxSize,
602
+ iconColors,
552
603
  iconSize,
553
604
  keyframes,
554
605
  layer,
@@ -7340,6 +7340,25 @@ var colors = {
7340
7340
  thumbHover: "rgba(43, 238, 121, 0.55)",
7341
7341
  track: "transparent"
7342
7342
  },
7343
+ /** External bridge chains — third-party brand colors for network tags.
7344
+ * Keyed by the lowercase chain id the bridge API uses. */
7345
+ bridgeChain: {
7346
+ ethereum: "#627EEA",
7347
+ base: "#0052FF",
7348
+ arbitrum: "#28A0F0",
7349
+ optimism: "#FF0420",
7350
+ polygon: "#8247E5",
7351
+ solana: "#9945FF",
7352
+ tron: "#FF4B4B",
7353
+ bitcoin: "#F7931A",
7354
+ lightning: "#F6C343",
7355
+ spark: "#FF6D00",
7356
+ avalanche: "#E84142",
7357
+ bsc: "#F0B90B",
7358
+ litecoin: "#4A7BD4",
7359
+ ton: "#0098EA",
7360
+ monad: "#836EF9"
7361
+ },
7343
7362
  /** Network / Layer */
7344
7363
  network: {
7345
7364
  bitcoin: "#F7931A",
package/dist/web/index.js CHANGED
@@ -7159,6 +7159,25 @@ var colors = {
7159
7159
  thumbHover: "rgba(43, 238, 121, 0.55)",
7160
7160
  track: "transparent"
7161
7161
  },
7162
+ /** External bridge chains — third-party brand colors for network tags.
7163
+ * Keyed by the lowercase chain id the bridge API uses. */
7164
+ bridgeChain: {
7165
+ ethereum: "#627EEA",
7166
+ base: "#0052FF",
7167
+ arbitrum: "#28A0F0",
7168
+ optimism: "#FF0420",
7169
+ polygon: "#8247E5",
7170
+ solana: "#9945FF",
7171
+ tron: "#FF4B4B",
7172
+ bitcoin: "#F7931A",
7173
+ lightning: "#F6C343",
7174
+ spark: "#FF6D00",
7175
+ avalanche: "#E84142",
7176
+ bsc: "#F0B90B",
7177
+ litecoin: "#4A7BD4",
7178
+ ton: "#0098EA",
7179
+ monad: "#836EF9"
7180
+ },
7162
7181
  /** Network / Layer */
7163
7182
  network: {
7164
7183
  bitcoin: "#F7931A",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaleido-ui",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
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",
@@ -117,6 +117,7 @@
117
117
  "autoprefixer": "^10.5.0",
118
118
  "class-variance-authority": "^0.7.1",
119
119
  "clsx": "^2.1.1",
120
+ "pngjs": "^7.0.0",
120
121
  "postcss": "^8.4.49",
121
122
  "react": "^19.0.0",
122
123
  "react-dom": "^19.0.0",