@solace-health/ui 0.9.8 → 0.9.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.js CHANGED
@@ -405,6 +405,14 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
405
405
  }
406
406
  `,o2=({color:e=void 0,size:t="sm"})=>jsx(rt,{color:e,size:t,children:jsx("div",{className:"loader",children:jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var it=(o=>(o.LOADING_LISTINGS="loadingListings",o.LOADING_ACCOUNT="loadingAccount",o))(it||{}),r1=class{client;constructor(t){this.client=R5.createClient(t);}async getLottieFile({slug:t}){let n=(await this.client.getEntries({content_type:"lottie"})).items.find(i=>i.fields.slug===t);return n?n.fields.lottieFile:(console.warn(`Lottie file not found for slug ${t}`),null)}async getImage(t){let n=(await this.client.getEntries({content_type:"image"})).items.find(i=>i.fields.slug===t);return n?n.fields.image.fields.file.url:null}};var Ct=({animationData:e,height:t,width:o,loop:n})=>{let i=useSpring({from:{opacity:0},to:{opacity:1}});return jsx(animated.div,{style:i,children:jsx(lt,{loop:n,animationData:e,play:!0,style:{width:o,height:t},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})})},mt=({height:e,width:t,loop:o,slug:n,contentfulConfig:i})=>{let[s,l]=useState();return useEffect(()=>{new r1(i).getLottieFile({slug:n}).then(a=>{l(a);});},[]),s?jsx(Ct,{animationData:s,height:e,width:t,loop:o}):null};var ut=r(Modal)`
407
407
  border-radius: 20px;
408
+
409
+ @media (min-width: 621px) {
410
+ .ant-modal-body {
411
+ max-height: 80dvh;
412
+ overflow-y: auto;
413
+ }
414
+ }
415
+
408
416
  @media (max-width: 620px) {
409
417
  max-width: 100dvw;
410
418