@solace-health/ui 0.9.7 → 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.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -432,6 +432,14 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
432
432
|
}
|
|
433
433
|
`,o2=({color:e=void 0,size:t="sm"})=>jsxRuntime.jsx(rt,{color:e,size:t,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.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__namespace.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=web.useSpring({from:{opacity:0},to:{opacity:1}});return jsxRuntime.jsx(web.animated.div,{style:i,children:jsxRuntime.jsx(lt__default.default,{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]=q5.useState();return q5.useEffect(()=>{new r1(i).getLottieFile({slug:n}).then(a=>{l(a);});},[]),s?jsxRuntime.jsx(Ct,{animationData:s,height:e,width:t,loop:o}):null};var ut=r__default.default(antd.Modal)`
|
|
434
434
|
border-radius: 20px;
|
|
435
|
+
|
|
436
|
+
@media (min-width: 621px) {
|
|
437
|
+
.ant-modal-body {
|
|
438
|
+
max-height: 80dvh;
|
|
439
|
+
overflow-y: auto;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
435
443
|
@media (max-width: 620px) {
|
|
436
444
|
max-width: 100dvw;
|
|
437
445
|
|
|
@@ -1437,7 +1445,6 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1437
1445
|
.ant-menu-submenu-title {
|
|
1438
1446
|
display: flex;
|
|
1439
1447
|
flex-direction: row;
|
|
1440
|
-
gap: 18px;
|
|
1441
1448
|
}
|
|
1442
1449
|
&& .ant-menu-title-content {
|
|
1443
1450
|
margin: 0px !important;
|