kwant-ui 3.26.8 → 3.26.9

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.es.js CHANGED
@@ -4515,7 +4515,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
4515
4515
  fill: ${t||L.green.green500};
4516
4516
  }
4517
4517
  `}
4518
- `,WW=n=>{const{data:a,category:c,weight:i,iconWidth:o=16,iconHeight:s=16,unit:l="%",customData:h,color:v,noChangeMessage:p}=n,u=`${a?Math.abs(a):0} ${l}`;return e(UW,{className:"stat_data_container",danger:a<0,color:v,children:0===a?e(Oe,{category:"caption",weight:"medium",color:A.grey.grey500,children:p||"• No change"}):t(r,{children:[e(Kt,{icon:a<0?"arrow_downward":"arrow_upward",height:s,width:o}),e(Oe,{category:c||"caption",weight:i||"regular",children:e("span",{children:h||u})})]})})},$W=({x:t,y:r})=>e("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",x:t,y:r,children:e("rect",{x:"1.5",y:"1",width:"14",height:"14",rx:"7",fill:"#2DA170",stroke:"white","stroke-width":"2"})}),XW=({x:t,y:r})=>e("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",x:t,y:r,children:e("rect",{x:"10.5",y:"1.58579",width:"11.8995",height:"11.8995",transform:"rotate(45 10.5 1.58579)",fill:"#F5D945",stroke:"white","stroke-width":"2"})}),KW=(e,t)=>e+t/2,qW=n.div`
4518
+ `,WW=n=>{const{data:a,category:c,weight:i,iconWidth:o=16,iconHeight:s=16,unit:l="%",customData:h,color:v,noChangeMessage:p}=n,u=`${a?Math.abs(a):0} ${l}`;return e(UW,{className:"stat_data_container",danger:a<0,color:v,children:0!==a||h?t(r,{children:[e(Kt,{icon:a<0?"arrow_downward":"arrow_upward",height:s,width:o}),e(Oe,{category:c||"caption",weight:i||"regular",children:e("span",{children:h||u})})]}):e(Oe,{category:"caption",weight:"medium",color:A.grey.grey500,children:p||"• No change"})})},$W=({x:t,y:r})=>e("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",x:t,y:r,children:e("rect",{x:"1.5",y:"1",width:"14",height:"14",rx:"7",fill:"#2DA170",stroke:"white","stroke-width":"2"})}),XW=({x:t,y:r})=>e("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",x:t,y:r,children:e("rect",{x:"10.5",y:"1.58579",width:"11.8995",height:"11.8995",transform:"rotate(45 10.5 1.58579)",fill:"#F5D945",stroke:"white","stroke-width":"2"})}),KW=(e,t)=>e+t/2,qW=n.div`
4519
4519
  width: 100%;
4520
4520
  height: 1px;
4521
4521
  background: #5f758f;