zframes 0.6.0 → 0.7.0

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.
Files changed (131) hide show
  1. package/dist/index.js +130 -3
  2. package/package.json +6 -6
  3. package/runtime/assets/{bitcoin-dominance-CweHlZx7.js → bitcoin-dominance-rskkp4h2.js} +1 -1
  4. package/runtime/assets/{breakeven-CG9rKwgE.js → breakeven-DyCA3ya5.js} +1 -1
  5. package/runtime/assets/{breathing-cDundHq6.js → breathing-C8Y-Izs8.js} +1 -1
  6. package/runtime/assets/{btc-blocks-Do_nySHd.js → btc-blocks-BxS4aEAB.js} +1 -1
  7. package/runtime/assets/{btc-difficulty-vNbz5uRo.js → btc-difficulty-CNFxEiPh.js} +1 -1
  8. package/runtime/assets/{btc-fees-BmADLsmK.js → btc-fees-Db-5JKh9.js} +1 -1
  9. package/runtime/assets/{btc-hashrate-Wx2RAG-5.js → btc-hashrate-Dy2c30Gb.js} +1 -1
  10. package/runtime/assets/{btc-mempool-CTwbkMUR.js → btc-mempool-DFgUVk8y.js} +1 -1
  11. package/runtime/assets/{calculator-mvv6XpQC.js → calculator-v01_FkZv.js} +1 -1
  12. package/runtime/assets/chain-activity-CuA1eiPY.js +1 -0
  13. package/runtime/assets/{chart-utils-BYIZMM9J.js → chart-utils-Ct7WziT9.js} +1 -1
  14. package/runtime/assets/{checklist-CuEw3GpE.js → checklist-Be_y1aTE.js} +1 -1
  15. package/runtime/assets/{clock-Cjnwi03W.js → clock-BWFux5om.js} +1 -1
  16. package/runtime/assets/{coin-movers-Bcx1XR0F.js → coin-movers-BcXfoFc6.js} +1 -1
  17. package/runtime/assets/{countdown-Cdi5gSSu.js → countdown-CXSOeUWD.js} +1 -1
  18. package/runtime/assets/{cycle-shared-BOGcJDzT.js → cycle-shared-pyXzkgt1.js} +1 -1
  19. package/runtime/assets/{cycle-signals-CS629ZDc.js → cycle-signals-BrKJX2c6.js} +1 -1
  20. package/runtime/assets/{d3-xK4fOkBU.js → d3-Dr3MHXm3.js} +1 -1
  21. package/runtime/assets/{daily-analysis-DX8bVq85.js → daily-analysis-CWluVygw.js} +1 -1
  22. package/runtime/assets/{day-meter-DDfTuhms.js → day-meter-Bi5OZCC4.js} +1 -1
  23. package/runtime/assets/{defi-revenue-CpeAGwhb.js → defi-revenue-CFNSNfG7.js} +1 -1
  24. package/runtime/assets/dex-hot-pools-C4TrRB17.js +1 -0
  25. package/runtime/assets/dex-pool-treemap-DqvlN1Jo.js +1 -0
  26. package/runtime/assets/{dex-volume-chart-sHIuJACJ.js → dex-volume-chart-BLR-L_B0.js} +1 -1
  27. package/runtime/assets/{dex-volume-treemap-rSTrzz7O.js → dex-volume-treemap-qyEBx4ll.js} +1 -1
  28. package/runtime/assets/{dice-BrFORdjN.js → dice-CuzcQipj.js} +1 -1
  29. package/runtime/assets/{dino-game-BOV8mV1d.js → dino-game-CiGWzsag.js} +1 -1
  30. package/runtime/assets/{divider-C33tH1RU.js → divider-DvK5oM9v.js} +1 -1
  31. package/runtime/assets/{drawdy-BIb36JN9.js → drawdy-Bxr7eJ-7.js} +1 -1
  32. package/runtime/assets/{dxy-CRifEdp_.js → dxy-CVbZmRsT.js} +1 -1
  33. package/runtime/assets/editor-CQM8mtD8.css +1 -0
  34. package/runtime/assets/{editor-Dnp1eXvY.js → editor-EOEtB4_n.js} +1 -1
  35. package/runtime/assets/{etf-flows-BV10E2R-.js → etf-flows-Cl1WliDl.js} +1 -1
  36. package/runtime/assets/{etf-flows-chart-DHu8mkXm.js → etf-flows-chart-B4Im9TVy.js} +1 -1
  37. package/runtime/assets/{eth-staking-BqWeJq6F.js → eth-staking-_q2b8DEx.js} +1 -1
  38. package/runtime/assets/{eth-supply-CF-MgHjn.js → eth-supply-55OpYYBL.js} +1 -1
  39. package/runtime/assets/{fear-greed-DuDR56h2.js → fear-greed-CywOCckQ.js} +1 -1
  40. package/runtime/assets/{filings-feed-BpfO2yF6.js → filings-feed-CosEi4NL.js} +1 -1
  41. package/runtime/assets/{financial-stress-BfYJdlry.js → financial-stress-DBCae4TA.js} +1 -1
  42. package/runtime/assets/{flappy-bird-Dbb2UQBv.js → flappy-bird-CBVgwfgX.js} +1 -1
  43. package/runtime/assets/{fundamentals-CUnqjF--.js → fundamentals-zRwGUcmb.js} +1 -1
  44. package/runtime/assets/{funding-comparison-CMKxW1n-.js → funding-comparison-wCNoCb1H.js} +1 -1
  45. package/runtime/assets/{funding-heatmap-CZWnYF8Y.js → funding-heatmap-a4zdnKi9.js} +1 -1
  46. package/runtime/assets/{funding-rate-chart-C-tpwid_.js → funding-rate-chart-Da9WMKyJ.js} +1 -1
  47. package/runtime/assets/{fx-board-YAy44m5d.js → fx-board-CxhwDBHO.js} +1 -1
  48. package/runtime/assets/{heading-uIVBEE7K.js → heading-b5H33lig.js} +1 -1
  49. package/runtime/assets/{holiday-calendar-DCj83hi2.js → holiday-calendar-C77t3m6c.js} +1 -1
  50. package/runtime/assets/{image-CITPAmp0.js → image-C8ZSUHEx.js} +1 -1
  51. package/runtime/assets/{index-XGtH5pVY.css → index-BXLwJuoo.css} +1 -1
  52. package/runtime/assets/{index-CrmTiZaB.css → index-C-VdMqKb.css} +1 -1
  53. package/runtime/assets/index-DKixdHYB.js +1 -0
  54. package/runtime/assets/index-kB-TyxKi.js +1073 -0
  55. package/runtime/assets/{inflation-pulse-Bqa3-cuC.js → inflation-pulse-CoXcuabd.js} +1 -1
  56. package/runtime/assets/{journal-log-Bgjia8cQ.js → journal-log-BDu39CBE.js} +1 -1
  57. package/runtime/assets/{journal-open-Bm5gwWXz.js → journal-open-FejLOzlA.js} +1 -1
  58. package/runtime/assets/{journal-results-cEWe2pbe.js → journal-results-CtKy6MZM.js} +1 -1
  59. package/runtime/assets/{journal-score-vmfF-9bK.js → journal-score-Bd7IDYl4.js} +1 -1
  60. package/runtime/assets/{journal-ui-ApBNIq5_.js → journal-ui-C_htu3aM.js} +1 -1
  61. package/runtime/assets/{labor-market-azDXD-dR.js → labor-market-DR0j05Gy.js} +1 -1
  62. package/runtime/assets/{lightning-stats-nkyh2dOX.js → lightning-stats-botYMCIX.js} +1 -1
  63. package/runtime/assets/{link-grid-BEo4b54T.js → link-grid-DFuD6XVK.js} +1 -1
  64. package/runtime/assets/{ma-multiplier-BllDQMF5.js → ma-multiplier-s6ix-kL8.js} +1 -1
  65. package/runtime/assets/{macro-calendar-Ck0dJk4p.js → macro-calendar-Dhnx2n5Q.js} +1 -1
  66. package/runtime/assets/{market-cap-treemap-AxE2EYPO.js → market-cap-treemap-BWtivvac.js} +1 -1
  67. package/runtime/assets/{market-hours-BSwXtU8c.js → market-hours-wSrW5Elv.js} +1 -1
  68. package/runtime/assets/{marquee-1Zr5qDJP.js → marquee-NHBiLJUk.js} +1 -1
  69. package/runtime/assets/{mayer-multiple-DpBJNd4d.js → mayer-multiple-CZC5q6ra.js} +1 -1
  70. package/runtime/assets/{mini-line-chart-CHM5UBjJ.js → mini-line-chart-QWeuTPfP.js} +1 -1
  71. package/runtime/assets/{mining-pools-B-jxdTot.js → mining-pools-BxipfJmv.js} +1 -1
  72. package/runtime/assets/{mover-row-Dg96EIqq.js → mover-row-CUd1i2yt.js} +1 -1
  73. package/runtime/assets/{mvrv-Dx_S0TwE.js → mvrv-BIwCiyRN.js} +1 -1
  74. package/runtime/assets/{national-debt-BKVBHaqm.js → national-debt-DwC5azy3.js} +1 -1
  75. package/runtime/assets/{news-feed-C9itZmyp.js → news-feed-BhAsJ6gt.js} +1 -1
  76. package/runtime/assets/nft-collections-sD-yDfKU.js +1 -0
  77. package/runtime/assets/nft-treemap-Bqhk41Of.js +1 -0
  78. package/runtime/assets/{note-BtCnmuMo.js → note-C1-RPOvR.js} +1 -1
  79. package/runtime/assets/{nupl-aIjkc57m.js → nupl-U-WHVDJ0.js} +1 -1
  80. package/runtime/assets/{open-interest-C0ulogv6.js → open-interest-C0_M6MkH.js} +1 -1
  81. package/runtime/assets/{options-iv-CdUder3x.js → options-iv-CIHzBULM.js} +1 -1
  82. package/runtime/assets/{options-oi-strike-CvCZnMCR.js → options-oi-strike-Db8lP27S.js} +1 -1
  83. package/runtime/assets/{options-put-call-FuaDHJ-S.js → options-put-call-5ex7Ablt.js} +1 -1
  84. package/runtime/assets/{pi-cycle-BuCnLnIJ.js → pi-cycle-eACZGQhd.js} +1 -1
  85. package/runtime/assets/{pomodoro-DDBVVcSR.js → pomodoro-CaS6y-eQ.js} +1 -1
  86. package/runtime/assets/portfolio-allocation-NR-4wbGL.js +1 -0
  87. package/runtime/assets/{portfolio-common-Bi16i0aA.js → portfolio-common-Cfpnudvk.js} +1 -1
  88. package/runtime/assets/{portfolio-holdings-MyAinCzt.js → portfolio-holdings-D-SG9B5X.js} +1 -1
  89. package/runtime/assets/{portfolio-value-BPURwKf8.js → portfolio-value-DPKyirHc.js} +1 -1
  90. package/runtime/assets/{prediction-markets-Bzy51qnV.js → prediction-markets-Cnf0KZba.js} +1 -1
  91. package/runtime/assets/{price-chart-BOCD8ka3.js → price-chart-BEnpZLyb.js} +1 -1
  92. package/runtime/assets/{price-compare-DZlF-qhZ.js → price-compare-8LvkF-xq.js} +1 -1
  93. package/runtime/assets/{price-liveline-Bl7qCd5-.js → price-liveline-DkTeXuC2.js} +1 -1
  94. package/runtime/assets/{price-ticker-D2W4T02y.js → price-ticker-DgDJ3k4b.js} +1 -1
  95. package/runtime/assets/{protocol-fees-treemap-DiIt4bfo.js → protocol-fees-treemap-fvVOfUFt.js} +1 -1
  96. package/runtime/assets/{protocol-tvl-chart-CmzANiR7.js → protocol-tvl-chart-BfrszRqq.js} +1 -1
  97. package/runtime/assets/{protocol-tvl-treemap-BjNPrrtL.js → protocol-tvl-treemap-v5kaQdP4.js} +1 -1
  98. package/runtime/assets/{puell-multiple-BGrJX43r.js → puell-multiple-BdOLF9Wh.js} +1 -1
  99. package/runtime/assets/{quote-CRM3bfI7.js → quote-slpulzHo.js} +1 -1
  100. package/runtime/assets/{rates-board-Cb9rV0_-.js → rates-board-B6hHyiDM.js} +1 -1
  101. package/runtime/assets/{realized-price-CYlrFa0m.js → realized-price-dn6bApj-.js} +1 -1
  102. package/runtime/assets/{reserve-risk-Be98XUsD.js → reserve-risk-_07r_h5w.js} +1 -1
  103. package/runtime/assets/{returns-projector-D67a_yvC.js → returns-projector-NBs7iGAV.js} +1 -1
  104. package/runtime/assets/{risk-reward-C7WMz2od.js → risk-reward-Baq_TRho.js} +1 -1
  105. package/runtime/assets/{rsi-momentum-IglnulkJ.js → rsi-momentum-B6oTu5W6.js} +1 -1
  106. package/runtime/assets/{rules-card-DJs3fDVN.js → rules-card-D98hKEwY.js} +1 -1
  107. package/runtime/assets/{sector-performance-DVMaleLY.js → sector-performance-DlnYIM-L.js} +1 -1
  108. package/runtime/assets/{sector-treemap-B681nSi6.js → sector-treemap-C3sX3Q9o.js} +1 -1
  109. package/runtime/assets/{session-progress-CZO3LqUi.js → session-progress-BYwNuuP-.js} +1 -1
  110. package/runtime/assets/{short-volume-l8_9Yoh3.js → short-volume-CxBDSjP6.js} +1 -1
  111. package/runtime/assets/{snake-CifbTGlZ.js → snake-CGV0Kg4z.js} +1 -1
  112. package/runtime/assets/{sopr-Dw_oz-mC.js → sopr-DAn99w9D.js} +1 -1
  113. package/runtime/assets/{spotify-embed-BA0m1IRb.js → spotify-embed-BBfim9vk.js} +1 -1
  114. package/runtime/assets/{stablecoin-chains-Dd2LqqqY.js → stablecoin-chains-D4EKi_YR.js} +1 -1
  115. package/runtime/assets/{stablecoin-supply-DM4ogL4V.js → stablecoin-supply-1m6FGR7-.js} +1 -1
  116. package/runtime/assets/{stopwatch-Co72v-7u.js → stopwatch-CCqsSaII.js} +1 -1
  117. package/runtime/assets/{top-movers-CLmC2TNu.js → top-movers-CAqBZOUL.js} +1 -1
  118. package/runtime/assets/{treasury-auctions-Dl9fiRgf.js → treasury-auctions-Bl19yaM_.js} +1 -1
  119. package/runtime/assets/{treemap-leaf-Dn31k9S9.js → treemap-leaf-A45Ge4-e.js} +1 -1
  120. package/runtime/assets/{trending-coins-Cpx9T6cG.js → trending-coins-Dm9R9zGQ.js} +1 -1
  121. package/runtime/assets/{tvl-treemap-e610jE8k.js → tvl-treemap-CSM9ioUr.js} +1 -1
  122. package/runtime/assets/{utils-DaT-yT0k.js → utils-DxneYyA_.js} +1 -1
  123. package/runtime/assets/{video-CeKjM-cE.js → video-CkvIGlHg.js} +1 -1
  124. package/runtime/assets/{volume-profile-CiMFsIBu.js → volume-profile-UJPTgNwV.js} +1 -1
  125. package/runtime/assets/{yield-curve-DkB0u2_Q.js → yield-curve-DlXQg4sl.js} +1 -1
  126. package/runtime/assets/{yield-scanner-BP90untT.js → yield-scanner-Qm88hZuv.js} +1 -1
  127. package/runtime/index.html +2 -2
  128. package/runtime/assets/editor-CZoWRTJC.css +0 -1
  129. package/runtime/assets/index-Bx7RmzY8.js +0 -1
  130. package/runtime/assets/index-DyvZokhk.js +0 -1097
  131. package/runtime/assets/portfolio-allocation-DAnQk_h_.js +0 -1
@@ -1 +0,0 @@
1
- import{r as m,j as t}from"./react-qoZPGuNy.js";import{f as R,g as j,h as A}from"./index-DyvZokhk.js";import{f as v,b as S}from"./format-CfAcS4D8.js";import{P as F,u as M,a as P}from"./portfolio-common-Bi16i0aA.js";import{F as G}from"./ui-Bq3RQsdJ.js";import{C as y}from"./chart-utils-BYIZMM9J.js";import{s as p,p as E,a as h,o as _}from"./d3-xK4fOkBU.js";const B=["#FF1F5F","#81FE90"],L=({data:a,width:r=270,height:o=270,innerRadius:s=90,outerRadius:n=100,colors:e=B,children:l})=>{const d=m.useRef(null);return m.useEffect(()=>{if(!d.current||!a.length)return;p(d.current).selectAll("*").remove();const g=p(d.current),b=r/2,N=o/2,u=g.append("defs");u.append("filter").attr("id","glow").append("feGaussianBlur").attr("stdDeviation","3").attr("result","coloredBlur"),u.select("#glow").append("feMerge").selectAll("feMergeNode").data(["coloredBlur","SourceGraphic"]).enter().append("feMergeNode").attr("in",i=>i),u.append("filter").attr("id","glow-layer").append("feGaussianBlur").attr("stdDeviation","6").attr("result","glowBlur"),u.select("#glow-layer").append("feColorMatrix").attr("type","matrix").attr("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0").attr("result","glowColor");const k=E().value(i=>i.value).padAngle(.02),w=h().innerRadius(s).outerRadius(n).cornerRadius(100),C=h().innerRadius(s).outerRadius(n).cornerRadius(100),x=_().domain(a.map((i,c)=>c.toString())).range(e),f=g.append("g").attr("transform",`translate(${b}, ${N})`).selectAll("g").data(k(a)).enter().append("g");f.append("path").attr("class","glow-layer").attr("d",C).attr("fill",(i,c)=>x(c.toString())).attr("filter","url(#glow-layer)").style("opacity",0).style("pointer-events","none"),f.append("path").attr("class","main-slice").attr("d",w).attr("fill",(i,c)=>x(c.toString())).attr("stroke","none"),f.on("mouseenter",function(){p(this).select(".glow-layer").transition().duration(300).style("opacity",1)}).on("mouseleave",function(){p(this).select(".glow-layer").transition().duration(300).style("opacity",0)})},[a,r,o,s,n,e]),t.jsxs("div",{className:"relative flex flex-col items-center justify-center rounded-full",style:{background:"linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%)"},children:[t.jsx("svg",{ref:d,width:r,height:o,className:"relative z-10"}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:l}),t.jsx("div",{className:"pointer-events-none absolute inset-0 rounded-full",style:{background:"linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%)",maskImage:"radial-gradient(farthest-side, transparent calc(100% - 1px),#fff 0)",WebkitMaskComposite:"destination-out",maskComposite:"exclude"}}),t.jsx("div",{className:"pointer-events-none absolute inset-[10%] rounded-full",style:{background:"linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%)",maskImage:"radial-gradient(farthest-side, transparent calc(100% - 1px),#fff 0)",WebkitMaskComposite:"destination-out",maskComposite:"exclude"}})]})},O=m.memo(L);j.schema;function $({portfolio:a,config:r}){const{priced:o}=M(a.holdings),s=m.useMemo(()=>o.map((e,l)=>({name:A(e.symbol),value:e.value??0,color:y[l%y.length]})).filter(e=>e.value>0).sort((e,l)=>l.value-e.value),[o]),n=s.reduce((e,l)=>e+l.value,0);return s.length===0?t.jsx(G,{children:"no live prices yet"}):t.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[t.jsx(O,{data:s,width:200,height:200,innerRadius:58,outerRadius:92,colors:s.map(e=>e.color),children:t.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[t.jsx(P,{portfolio:a,config:r,className:"caption text-soft"}),t.jsx("span",{className:"metric-lg text-strong",children:v(n)})]})}),t.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-5 gap-y-1.5",children:s.map(e=>t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:e.color}}),t.jsx("span",{className:"body-sm text-soft",children:e.name}),t.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:S(e.value/n*100,1)}),t.jsx("span",{className:"caption text-soft tabular-nums",children:v(e.value)})]},e.name))})]})}function I({config:a}){return t.jsx(F,{config:a,loadingLabel:"loading allocation…",children:r=>t.jsx($,{portfolio:r,config:a})})}const q=R({...j,component:I});export{q as portfolioAllocationFrame};