@edel-finance/swap-widget 0.1.6-alpha → 0.1.7-alpha

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { buildSwapWidgetEmbedSnippet, buildSwapWidgetUrl, EDEL_SWAP_WIDGET_EVENTS, EDEL_SWAP_WIDGET_TAG, type EdelSwapWidgetElement, type EdelSwapWidgetErrorDetail, type EdelSwapWidgetEventMap, type EdelSwapWidgetSlippageDetail, type MountEdelSwapWidgetOptions, type MountedEdelSwapWidget, mountEdelSwapWidget, registerEdelSwapWidgetElement, SWAP_WIDGET_ORIGINS, type SwapWidgetEmbedOptions, type WidgetRootLike, } from "./embed.js";
2
- export { EdelBrandMark, type EdelBrandMarkProps, getTokenMonogram, isValidHttpsLogoUrl, KNOWN_TOKEN_LOGO_SYMBOLS, type KnownTokenLogoSymbol, TokenLogo, type TokenLogoProps, } from "./logos.js";
2
+ export { CantonChainBadge, EdelBrandMark, type EdelBrandMarkProps, getTokenDisplayName, getTokenMonogram, isValidHttpsLogoUrl, KNOWN_ASSET_NAMES, KNOWN_TOKEN_LOGO_SYMBOLS, type KnownTokenLogoSymbol, MAINNET_SPOT_LOGO_URLS, TokenLogo, type TokenLogoProps, TokenOnChainLogo, type TokenOnChainLogoProps, } from "./logos.js";
3
3
  export { ALPINE_FOREST_THEMES, type AlpineThemeTokens, getIsolatedWidgetCss, type SwapWidgetTheme, } from "./theme.js";
4
- export { DEFAULT_SWAP_ASSETS, DEFAULT_WIDGET_QUOTE_TTL_SECONDS, DEFAULT_WIDGET_SLIPPAGE_BPS, EdelSwapWidget, type EdelSwapWidgetProps, extractMarketLogoUrls, formatBps, formatPresetPercent, getStepState, parseCustomSlippagePercent, resolveInitialSlippageBps, SLIPPAGE_PRESETS_BPS, SWAP_STATUS_STEPS, } from "./widget.js";
4
+ export { DEFAULT_SWAP_ASSETS, DEFAULT_WIDGET_QUOTE_TTL_SECONDS, DEFAULT_WIDGET_SLIPPAGE_BPS, EdelSwapWidget, type EdelSwapWidgetProps, extractMarketLogoUrls, filterTokenOptions, formatBps, formatPresetPercent, getStepState, getSwapRailProgress, parseCustomSlippagePercent, resolveInitialSlippageBps, SLIPPAGE_PRESETS_BPS, SWAP_RAIL_STEPS, SWAP_STATUS_STEPS, type SwapRailProgress, } from "./widget.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export { buildSwapWidgetEmbedSnippet, buildSwapWidgetUrl, EDEL_SWAP_WIDGET_EVENTS, EDEL_SWAP_WIDGET_TAG, mountEdelSwapWidget, registerEdelSwapWidgetElement, SWAP_WIDGET_ORIGINS, } from "./embed.js";
2
- export { EdelBrandMark, getTokenMonogram, isValidHttpsLogoUrl, KNOWN_TOKEN_LOGO_SYMBOLS, TokenLogo, } from "./logos.js";
2
+ export { CantonChainBadge, EdelBrandMark, getTokenDisplayName, getTokenMonogram, isValidHttpsLogoUrl, KNOWN_ASSET_NAMES, KNOWN_TOKEN_LOGO_SYMBOLS, MAINNET_SPOT_LOGO_URLS, TokenLogo, TokenOnChainLogo, } from "./logos.js";
3
3
  export { ALPINE_FOREST_THEMES, getIsolatedWidgetCss, } from "./theme.js";
4
- export { DEFAULT_SWAP_ASSETS, DEFAULT_WIDGET_QUOTE_TTL_SECONDS, DEFAULT_WIDGET_SLIPPAGE_BPS, EdelSwapWidget, extractMarketLogoUrls, formatBps, formatPresetPercent, getStepState, parseCustomSlippagePercent, resolveInitialSlippageBps, SLIPPAGE_PRESETS_BPS, SWAP_STATUS_STEPS, } from "./widget.js";
4
+ export { DEFAULT_SWAP_ASSETS, DEFAULT_WIDGET_QUOTE_TTL_SECONDS, DEFAULT_WIDGET_SLIPPAGE_BPS, EdelSwapWidget, extractMarketLogoUrls, filterTokenOptions, formatBps, formatPresetPercent, getStepState, getSwapRailProgress, parseCustomSlippagePercent, resolveInitialSlippageBps, SLIPPAGE_PRESETS_BPS, SWAP_RAIL_STEPS, SWAP_STATUS_STEPS, } from "./widget.js";
package/dist/logos.d.ts CHANGED
@@ -1,5 +1,16 @@
1
1
  export declare const KNOWN_TOKEN_LOGO_SYMBOLS: readonly ["USDCx", "CC", "EDELx", "NVDAe", "SPYe", "QQQe", "SPCXe", "ANTe", "TTWOe", "ETH", "BTC"];
2
2
  export type KnownTokenLogoSymbol = (typeof KNOWN_TOKEN_LOGO_SYMBOLS)[number];
3
+ /** Human-readable display names for Edel Markets Spot & Canton assets. */
4
+ export declare const KNOWN_ASSET_NAMES: Readonly<Record<string, string>>;
5
+ /**
6
+ * Canonical MainNet Spot market logo URLs served by https://mainnet.edel-api.xyz/v2/markets.
7
+ * Used as fallback hydration and in Storybook fixtures so every preview matches MainNet/TestNet 1:1.
8
+ */
9
+ export declare const MAINNET_SPOT_LOGO_URLS: Readonly<Record<string, string>>;
10
+ /**
11
+ * Resolve the display name for a token symbol.
12
+ */
13
+ export declare function getTokenDisplayName(symbol: string, fallbackName?: string): string;
3
14
  /**
4
15
  * Derive a crisp 2-3 character uppercase monogram for fallback token badges.
5
16
  * Strips trailing lowercase wrapper suffixes (e.g. `e` or `x`) just like Edel Markets.
@@ -30,3 +41,19 @@ export declare function isValidHttpsLogoUrl(url: unknown): url is string;
30
41
  * self-contained inline SVG on load error or when no logoUrl is available.
31
42
  */
32
43
  export declare function TokenLogo({ symbol, size, className, logoUrl }: TokenLogoProps): import("react").JSX.Element;
44
+ /**
45
+ * Official Canton network chain mini-badge SVG (verbatim from edel-markets-frontend
46
+ * `apps/trade/public/brand/bridge/chains/canton.svg`, Shadow DOM safe).
47
+ */
48
+ export declare function CantonChainBadge({ size }: {
49
+ size?: number;
50
+ }): import("react").JSX.Element;
51
+ export interface TokenOnChainLogoProps extends TokenLogoProps {
52
+ /** Whether to render the Canton chain mini-badge in the bottom-right corner. Defaults to true. */
53
+ showChainBadge?: boolean;
54
+ }
55
+ /**
56
+ * Token logo paired with the Canton network mini-badge in the bottom-right corner,
57
+ * matching edel-markets-frontend's `TokenOnChain` component 1:1.
58
+ */
59
+ export declare function TokenOnChainLogo({ symbol, size, className, logoUrl, showChainBadge, }: TokenOnChainLogoProps): import("react").JSX.Element;
package/dist/logos.js CHANGED
@@ -13,6 +13,42 @@ export const KNOWN_TOKEN_LOGO_SYMBOLS = [
13
13
  "ETH",
14
14
  "BTC",
15
15
  ];
16
+ /** Human-readable display names for Edel Markets Spot & Canton assets. */
17
+ export const KNOWN_ASSET_NAMES = {
18
+ USDCx: "USD Coin (Canton)",
19
+ CC: "Canton Coin",
20
+ EDELx: "Edel Token",
21
+ NVDAe: "NVIDIA Token",
22
+ SPYe: "S&P 500 Token",
23
+ QQQe: "Nasdaq 100 Token",
24
+ SPCXe: "SpaceX Token",
25
+ ANTe: "Anthropic Token",
26
+ TTWOe: "Take-Two Token",
27
+ ETH: "Ethereum",
28
+ BTC: "Bitcoin",
29
+ };
30
+ /**
31
+ * Canonical MainNet Spot market logo URLs served by https://mainnet.edel-api.xyz/v2/markets.
32
+ * Used as fallback hydration and in Storybook fixtures so every preview matches MainNet/TestNet 1:1.
33
+ */
34
+ export const MAINNET_SPOT_LOGO_URLS = {
35
+ ANTe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/ANTe/8bc9ce9480dbfc3d28dec69c678bd2ad82f00b1b7d64fc51d1b452f343a5fab2.png",
36
+ CC: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/CC/6fd7361736ae91fb020514aaf13f8f54bbbcc1e6af6c07a4ec6f1dc66a2f01ac.png",
37
+ EDELx: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/EDELx/c154c3058c198a47412a96499125f7e9d0739abfef1745c8a9f534db7372d831.png",
38
+ NVDAe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/NVDAe/1bd2b458c46bc021a4de27ca5270c0cf8d03774c4965d6d9053a19451caa5b30.png",
39
+ QQQe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/QQQe/3ac2253d6335e49d502e2c3d4436175f6a744f3ba64f9b8e9835188da3a9f40f.png",
40
+ SPCXe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/SPCXe/a25ac7435b310daab040d0e5db228b1e64b6a3a45486eb76b7454cc41442c50e.png",
41
+ SPYe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/SPYe/9b28e1b8f8f331b3fc55cf603d5fdaa5208543f1c5688a7faba5e5dcf5cf486b.png",
42
+ TTWOe: "https://bhdrneuruse570eo.public.blob.vercel-storage.com/market-logos/TTWOe/6d301d44dec5bd30c85ec2d93a76cbc24288e002a6a7ff4373796c22036b2d46.png",
43
+ };
44
+ /**
45
+ * Resolve the display name for a token symbol.
46
+ */
47
+ export function getTokenDisplayName(symbol, fallbackName) {
48
+ if (fallbackName?.trim())
49
+ return fallbackName.trim();
50
+ return KNOWN_ASSET_NAMES[symbol] ?? `${symbol} (Canton)`;
51
+ }
16
52
  /**
17
53
  * Derive a crisp 2-3 character uppercase monogram for fallback token badges.
18
54
  * Strips trailing lowercase wrapper suffixes (e.g. `e` or `x`) just like Edel Markets.
@@ -100,5 +136,26 @@ export function TokenLogo({ symbol, size = 22, className, logoUrl }) {
100
136
  return (_jsxs("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, "aria-hidden": "true", focusable: "false", "data-token-logo": symbol, children: [_jsx("circle", { cx: "16", cy: "16", r: "16", fill: "#F7931A" }), _jsx("text", { x: "16", y: "21.5", textAnchor: "middle", fill: "#FFFFFF", fontSize: "16", fontWeight: "800", fontFamily: "-apple-system, BlinkMacSystemFont, Inter, sans-serif", children: "\u20BF" })] }));
101
137
  }
102
138
  const monogram = getTokenMonogram(symbol);
103
- return (_jsxs("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, "aria-hidden": "true", focusable: "false", "data-token-logo": symbol, "data-token-logo-fallback": "true", children: [_jsx("circle", { cx: "16", cy: "16", r: "15.25", fill: "#12261E", stroke: "#2A5241", strokeWidth: "1.5" }), _jsx("text", { x: "16", y: "19.6", textAnchor: "middle", fill: "#52E0A8", fontSize: monogram.length >= 3 ? "9.5" : "11.5", fontWeight: "700", fontFamily: "-apple-system, BlinkMacSystemFont, Inter, sans-serif", children: monogram })] }));
139
+ return (_jsxs("svg", { width: size, height: size, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, "aria-hidden": "true", focusable: "false", "data-token-logo": symbol, "data-token-logo-fallback": "true", children: [_jsx("circle", { cx: "16", cy: "16", r: "15.25", fill: "#12261E", stroke: "#2A5241", strokeWidth: "1.5" }), _jsx("text", { x: "16", y: "19.6", textAnchor: "middle", fill: "#8bfbd5", fontSize: monogram.length >= 3 ? "9.5" : "11.5", fontWeight: "700", fontFamily: "-apple-system, BlinkMacSystemFont, Inter, sans-serif", children: monogram })] }));
140
+ }
141
+ /**
142
+ * Official Canton network chain mini-badge SVG (verbatim from edel-markets-frontend
143
+ * `apps/trade/public/brand/bridge/chains/canton.svg`, Shadow DOM safe).
144
+ */
145
+ export function CantonChainBadge({ size = 12 }) {
146
+ const clipId = useId();
147
+ return (_jsxs("svg", { width: size, height: size, viewBox: "0 0 512 512", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", focusable: "false", "data-chain-badge": "canton", style: { display: "block", borderRadius: "50%" }, children: [_jsx("defs", { children: _jsx("clipPath", { id: clipId, children: _jsx("circle", { cx: "256", cy: "256", r: "256" }) }) }), _jsxs("g", { clipPath: `url(#${clipId})`, children: [_jsx("rect", { width: "512", height: "512", fill: "#f3ff97" }), _jsx("path", { d: "M364.88441,307.73299l-6.56929,6.56929c-46.56818,34.73862-68.607,35.45496-93.99604,35.45496-27.66964,0-53.51797-7.77619-75.4906-21.26563-.94822-.58233-1.8879-1.17278-2.81947-1.77989-.04142-.02497-.09137-.05827-.1332-.08325-.88974-.5738-1.77136-1.15593-2.64445-1.75471-.56568-.38254-1.13096-.7736-1.69664-1.17278-2.0211-1.4138-4.00038-2.87754-5.93823-4.38291-.27452-.21604-.54863-.43228-.82314-.65685-.07513-.04995-.14985-.10822-.21645-.16629-.66517-.52406-1.3141-1.04811-1.96262-1.58862-.85685-.69847-1.70476-1.4138-2.53643-2.13724-.72365-.61563-1.43918-1.2475-2.14577-1.87978-.01665-.01665-.0333-.02477-.04183-.04142-.32406-.28284-.64852-.58233-.96446-.87329-.69035-.62375-1.3807-1.26415-2.0544-1.90455-.5738-.54883-1.13948-1.08953-1.69664-1.64669-.26599-.24954-.52385-.50741-.7736-.76507-.66517-.65705-1.32222-1.32243-1.97075-1.99613-.00853,0-.00853-.00832-.00853-.00832-.76507-.79004-1.52202-1.59674-2.27044-2.40343-.04142-.04162-.07472-.08325-.11655-.12467-.63187-.68203-1.25563-1.3807-1.87125-2.07917-.15797-.1665-.30741-.33279-.44873-.50741-.66558-.74862-1.3141-1.50537-1.9545-2.27044-.707-.83999-1.414-1.68831-2.09582-2.55328,0,0-.01665-.00832-.01665-.01665-.6404-.79004-1.27268-1.59674-1.8879-2.40343-.26599-.34091-.53238-.69035-.79837-1.03959-.29929-.39918-.59898-.79857-.88974-1.19776-.15837-.20792-.30781-.41583-.45766-.62375-.33259-.44893-.65705-.89806-.97299-1.3472-.20792-.28284-.40771-.56548-.6071-.85664-.34111-.47391-.66517-.95634-.98964-1.43045-.31634-.45746-.62375-.90659-.93157-1.36385-2.27856-3.40992-4.41621-6.92787-6.40401-10.53738-.28264-.5072-.55715-1.02294-.83167-1.53847-.76507-1.42212-1.50537-2.85277-2.21196-4.29987-.20792-.42416-.41583-.84812-.61563-1.27248-.29929-.6071-.59045-1.23085-.87309-1.84628-.22457-.48223-.44101-.95634-.65705-1.43877-.23309-.5072-.45726-1.02294-.68223-1.53847-.17462-.39918-.34924-.79837-.51533-1.19755-.15797-.36609-.31634-.7403-.46578-1.11451-.17462-.40751-.34111-.81502-.5072-1.22253-.1332-.32446-.26639-.65705-.39106-.98964-.14132-.35776-.28264-.707-.41583-1.06476-.21604-.5405-.42396-1.08933-.62375-1.63816-.41583-1.11451-.81502-2.23734-1.20608-3.35997-.16609-.48243-.33259-.96487-.49055-1.4473-.12467-.36589-.24122-.73177-.35736-1.10598l45.82463,45.82483c-3.24343-9.94673-5.30595-20.41731-6.02107-31.2623l-46.24899-46.24919c-.00853-.04975-.00853-.09137-.00853-.14132-.05807-.56548-.0999-1.13928-.14132-1.71329-.05807-.7068-.0999-1.40547-.14132-2.11247-.0999-1.61339-.17462-3.2351-.21645-4.85682-.01665-.56548-.0333-1.12283-.04142-1.68831-.00853-.78172-.01665-1.56364-.01665-2.34536,0-1.69664.0333-3.39307.08325-5.08159l46.7229,46.7233c.49908-7.49334,1.63004-14.80375,3.35185-21.88958l-47.48837-47.48817c.15797-.83167.32446-1.66334.5072-2.48688.04995-.24934.0999-.49055.15797-.7401.09178-.47411.1998-.93989.30781-1.39715.12467-.5738.25787-1.13948.39918-1.70496.00853-.04995.02518-.10822.04142-.15797.1665-.71532.34964-1.43045.53238-2.14577.10843-.39918.20792-.79837.31634-1.19755.10802-.39918.20792-.79004.32406-1.18923.15797-.57401.32446-1.14781.49908-1.72161.10802-.36609.21645-.73197.33259-1.09786l.00853.00832,48.04553,48.04553c2.18719-6.0296,4.79875-11.85128,7.80908-17.42342l-48.97669-48.97709c1.8879-4.13337,6.22087-12.07585,6.22087-12.07585l49.68369,49.68409c.23309-.35776,11.36885-7.13578,16.01815-9.23161,17.59784-7.95913,37.79098-12.47503,59.25641-12.47503,33.59934,0,64.0718,11.07768,86.40179,29.06679l13.31523,13.31503,36.56013-36.56013,12.59158-12.59158-45.61712-45.61691c-12.32559-13.12376-27.14579-23.92713-43.72109-31.66169-11.46834-5.36422-23.77728-9.25638-36.67627-11.43545l49.61709,49.61749c-6.00442-.8735-12.14204-1.414-18.39621-1.61359l-49.92531-49.92511c-1.83796-.07472-3.68403-.10802-5.53904-.10802-6.31224,0-12.52458.40751-18.61265,1.18923l49.84206,49.84186c-5.17316.59045-10.25454,1.42212-15.21126,2.47836l-49.58419-49.58399c-6.59487,1.56364-13.01554,3.59287-19.21163,6.0296l49.11841,49.11841c-4.5157,1.61339-8.89049,3.41805-13.11543,5.41417l-48.76877-48.76918c-5.4891,2.80282-10.77027,5.95488-15.81836,9.42287l48.34481,48.34481c-3.64261,2.35369-7.12726,4.86534-10.42916,7.52664l-48.14542-48.14522c-4.59083,3.79246-8.94856,7.86755-13.02366,12.20884l48.11172,48.11192c-2.95226,3.20201-5.67996,6.54533-8.15019,10.01333l-48.35334-48.35314c-2.03044,2.59166-3.96423,5.25823-5.81112,7.98634-2.19694,1.34415-5.45295,3.44241-7.00462,4.44707-39.87868,25.72366-66.28417,70.53388-66.28417,121.51523,0,47.31315,22.74582,89.31202,57.89966,115.66755l20.27761,20.27741c8.61598,11.49372,18.77874,21.66461,30.17236,30.17256,9.58937,7.16056,20.0433,13.14873,31.17134,17.74768l-50.36591-50.36571c7.68441,3.19348,15.70993,5.73843,23.99332,7.56806l50.28307,50.29119h.00812c8.99851,1.96262,18.30484,3.06048,27.83573,3.21013l-50.14094-50.13302c1.11431.02497,2.22861.04162,3.34333.04162,4.97336,0,9.88013-.24954,14.7203-.74842l49.9915,49.9915c7.06919-.78172,13.98893-2.09582,20.72553-3.89215l-49.78399-49.78379c4.74067-1.20588,9.38957-2.63633,13.93045-4.30799l49.64227,49.63394c5.81356-2.20384,11.46062-4.79042,16.89124-7.72624l-49.43435-49.44267c4.09175-2.12892,8.07547-4.45783,11.926-6.96929l49.30968,49.30948c6.1628-4.11672,12.00966-8.69922,17.49022-13.71401l-49.11841-49.11841c2.01176-1.79816,5.13336-4.51936,8.86856-7.78999l48.63314,48.63314.02477.02497,44.74403-44.74383-48.64451-48.6443Z", fill: "#030206" })] })] }));
148
+ }
149
+ /**
150
+ * Token logo paired with the Canton network mini-badge in the bottom-right corner,
151
+ * matching edel-markets-frontend's `TokenOnChain` component 1:1.
152
+ */
153
+ export function TokenOnChainLogo({ symbol, size = 24, className, logoUrl, showChainBadge = true, }) {
154
+ const badge = Math.round(size * 0.46);
155
+ const normalized = symbol.trim().toUpperCase();
156
+ const shouldBadge = showChainBadge && normalized !== "CC";
157
+ if (!shouldBadge) {
158
+ return _jsx(TokenLogo, { symbol: symbol, size: size, className: className, logoUrl: logoUrl });
159
+ }
160
+ return (_jsxs("span", { className: "edel-sw-on-chain", style: { width: size, height: size }, "aria-hidden": "true", children: [_jsx(TokenLogo, { symbol: symbol, size: size, className: className, logoUrl: logoUrl }), _jsx("span", { className: "edel-sw-on-chain-badge", style: { width: badge + 4, height: badge + 4 }, children: _jsx(CantonChainBadge, { size: badge }) })] }));
104
161
  }
package/dist/theme.d.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  /**
2
2
  * Alpine Forest II theme tokens and CSS-isolated style sheet for @edel-finance/swap-widget.
3
3
  *
4
+ * Visual tokens, radii, spacing, and typography are lifted directly from
5
+ * edel-markets-frontend's Alpine Forest II Deposit Bridge modal so the embeddable
6
+ * swap widget matches the production trading terminal 1:1.
7
+ *
4
8
  * All rules are scoped to `.edel-sw-root` with an explicit reset so the widget
5
9
  * never inherits or leaks styles when embedded in SuperNova, Loop, or partner dApps.
6
10
  */
@@ -8,19 +12,33 @@ export type SwapWidgetTheme = "dark" | "light";
8
12
  export interface AlpineThemeTokens {
9
13
  bg: string;
10
14
  cardBg: string;
15
+ panel2: string;
11
16
  surfaceBg: string;
12
17
  surfaceHover: string;
18
+ surface4: string;
13
19
  border: string;
14
20
  borderStrong: string;
21
+ textStrong: string;
15
22
  text: string;
23
+ text2: string;
16
24
  textMuted: string;
17
25
  accent: string;
26
+ accentRgb: string;
27
+ tintRgb: string;
18
28
  accentHover: string;
19
29
  accentText: string;
30
+ buttonPrimaryBg: string;
31
+ buttonPrimaryHover: string;
32
+ buttonPrimaryText: string;
33
+ buttonDisabledBg: string;
34
+ buttonDisabledText: string;
20
35
  success: string;
21
36
  warning: string;
22
37
  danger: string;
38
+ dangerSoft: string;
39
+ dangerLine: string;
23
40
  shadow: string;
41
+ shadowPop: string;
24
42
  }
25
43
  export declare const ALPINE_FOREST_THEMES: Record<SwapWidgetTheme, AlpineThemeTokens>;
26
44
  export declare function getIsolatedWidgetCss(theme: SwapWidgetTheme): string;