@solace-health/ui 0.10.606 → 0.10.608

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.
@@ -376,3 +376,7 @@
376
376
  @utility bg-toast-error {
377
377
  background: linear-gradient(272deg, #F1C8CB -0.22%, #EEF1F1 99.78%);
378
378
  }
379
+
380
+ @utility bg-toast-info {
381
+ background: linear-gradient(272deg, var(--Colors-Grey-200, #EDEDED) 57.07%, var(--Colors-Base-White, #FFF) 99.78%);
382
+ }
@@ -0,0 +1,2 @@
1
+ import {LuLoaderCircle,LuCircleX,LuTriangleAlert,LuCircleAlert,LuCircleCheck}from'react-icons/lu';import {Toaster}from'sonner';export{toast as a}from'sonner';import {jsx}from'react/jsx-runtime';var m=({...r})=>jsx(Toaster,{className:"toaster group",icons:{success:jsx(LuCircleCheck,{className:"size-5 text-green-700"}),info:jsx(LuCircleAlert,{className:"size-5 text-gray-700"}),warning:jsx(LuTriangleAlert,{className:"text-gold-500 size-5"}),error:jsx(LuCircleX,{className:"size-5 text-red-600"}),loading:jsx(LuLoaderCircle,{className:"size-5 animate-spin text-green-600"})},toastOptions:{style:{fontFamily:"var(--font-lato)",fontSize:"0.875rem"},classNames:{default:"rounded-sm! border text-primary! text-sm!",success:"bg-toast-success! border-green-500!",error:"bg-toast-error! border-red-600!",warning:"bg-gold-100! border-gold-500!",info:"bg-toast-info! border-gray-300!"}},...r});export{m as b};//# sourceMappingURL=chunk-BAN2U7YX.js.map
2
+ //# sourceMappingURL=chunk-BAN2U7YX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/v2/toast/toaster.tsx"],"names":["Toaster","props","jsx","Sonner","LuCircleCheck","LuCircleAlert","LuTriangleAlert","LuCircleX","LuLoaderCircle"],"mappings":"kMASA,IAAMA,CAAAA,CAAU,CAAC,CAAE,GAAGC,CAAM,CAAA,GAExBC,GAAAA,CAACC,QAAA,CACC,SAAA,CAAU,gBACV,KAAA,CAAO,CACL,QAASD,GAAAA,CAACE,aAAAA,CAAA,CAAc,SAAA,CAAU,uBAAA,CAAwB,EAC1D,IAAA,CAAMF,GAAAA,CAACG,aAAAA,CAAA,CAAc,SAAA,CAAU,sBAAA,CAAuB,EACtD,OAAA,CAASH,GAAAA,CAACI,gBAAA,CAAgB,SAAA,CAAU,uBAAuB,CAAA,CAC3D,KAAA,CAAOJ,IAACK,SAAAA,CAAA,CAAU,UAAU,qBAAA,CAAsB,CAAA,CAClD,QAASL,GAAAA,CAACM,cAAAA,CAAA,CAAe,SAAA,CAAU,oCAAA,CAAqC,CAC1E,CAAA,CACA,YAAA,CAAc,CACZ,KAAA,CAAO,CACL,WAAY,kBAAA,CACZ,QAAA,CAAU,UACZ,CAAA,CACA,UAAA,CAAY,CACV,OAAA,CAAS,2CAAA,CACT,QAAS,qCAAA,CACT,KAAA,CAAO,kCACP,OAAA,CAAS,+BAAA,CACT,KAAM,iCACR,CACF,CAAA,CACC,GAAGP,CAAAA,CACN","file":"chunk-BAN2U7YX.js","sourcesContent":["import {\n LuCircleAlert,\n LuCircleCheck,\n LuCircleX,\n LuLoaderCircle,\n LuTriangleAlert,\n} from 'react-icons/lu';\nimport { Toaster as Sonner, type ToasterProps, toast } from 'sonner';\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n return (\n <Sonner\n className=\"toaster group\"\n icons={{\n success: <LuCircleCheck className=\"size-5 text-green-700\" />,\n info: <LuCircleAlert className=\"size-5 text-gray-700\" />,\n warning: <LuTriangleAlert className=\"text-gold-500 size-5\" />,\n error: <LuCircleX className=\"size-5 text-red-600\" />,\n loading: <LuLoaderCircle className=\"size-5 animate-spin text-green-600\" />,\n }}\n toastOptions={{\n style: {\n fontFamily: 'var(--font-lato)',\n fontSize: '0.875rem',\n },\n classNames: {\n default: 'rounded-sm! border text-primary! text-sm!',\n success: 'bg-toast-success! border-green-500!',\n error: 'bg-toast-error! border-red-600!',\n warning: 'bg-gold-100! border-gold-500!',\n info: 'bg-toast-info! border-gray-300!',\n },\n }}\n {...props}\n />\n );\n};\n\nexport { Toaster, toast };\n"]}
@@ -0,0 +1,2 @@
1
+ 'use strict';var lu=require('react-icons/lu'),sonner=require('sonner'),jsxRuntime=require('react/jsx-runtime');var m=({...r})=>jsxRuntime.jsx(sonner.Toaster,{className:"toaster group",icons:{success:jsxRuntime.jsx(lu.LuCircleCheck,{className:"size-5 text-green-700"}),info:jsxRuntime.jsx(lu.LuCircleAlert,{className:"size-5 text-gray-700"}),warning:jsxRuntime.jsx(lu.LuTriangleAlert,{className:"text-gold-500 size-5"}),error:jsxRuntime.jsx(lu.LuCircleX,{className:"size-5 text-red-600"}),loading:jsxRuntime.jsx(lu.LuLoaderCircle,{className:"size-5 animate-spin text-green-600"})},toastOptions:{style:{fontFamily:"var(--font-lato)",fontSize:"0.875rem"},classNames:{default:"rounded-sm! border text-primary! text-sm!",success:"bg-toast-success! border-green-500!",error:"bg-toast-error! border-red-600!",warning:"bg-gold-100! border-gold-500!",info:"bg-toast-info! border-gray-300!"}},...r});Object.defineProperty(exports,"a",{enumerable:true,get:function(){return sonner.toast}});exports.b=m;//# sourceMappingURL=chunk-OCM6L6SZ.cjs.map
2
+ //# sourceMappingURL=chunk-OCM6L6SZ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/v2/toast/toaster.tsx"],"names":["Toaster","props","jsx","Sonner","LuCircleCheck","LuCircleAlert","LuTriangleAlert","LuCircleX","LuLoaderCircle"],"mappings":"+GASA,IAAMA,CAAAA,CAAU,CAAC,CAAE,GAAGC,CAAM,CAAA,GAExBC,cAAAA,CAACC,eAAA,CACC,SAAA,CAAU,gBACV,KAAA,CAAO,CACL,QAASD,cAAAA,CAACE,gBAAAA,CAAA,CAAc,SAAA,CAAU,uBAAA,CAAwB,EAC1D,IAAA,CAAMF,cAAAA,CAACG,gBAAAA,CAAA,CAAc,SAAA,CAAU,sBAAA,CAAuB,EACtD,OAAA,CAASH,cAAAA,CAACI,mBAAA,CAAgB,SAAA,CAAU,uBAAuB,CAAA,CAC3D,KAAA,CAAOJ,eAACK,YAAAA,CAAA,CAAU,UAAU,qBAAA,CAAsB,CAAA,CAClD,QAASL,cAAAA,CAACM,iBAAAA,CAAA,CAAe,SAAA,CAAU,oCAAA,CAAqC,CAC1E,CAAA,CACA,YAAA,CAAc,CACZ,KAAA,CAAO,CACL,WAAY,kBAAA,CACZ,QAAA,CAAU,UACZ,CAAA,CACA,UAAA,CAAY,CACV,OAAA,CAAS,2CAAA,CACT,QAAS,qCAAA,CACT,KAAA,CAAO,kCACP,OAAA,CAAS,+BAAA,CACT,KAAM,iCACR,CACF,CAAA,CACC,GAAGP,CAAAA,CACN","file":"chunk-OCM6L6SZ.cjs","sourcesContent":["import {\n LuCircleAlert,\n LuCircleCheck,\n LuCircleX,\n LuLoaderCircle,\n LuTriangleAlert,\n} from 'react-icons/lu';\nimport { Toaster as Sonner, type ToasterProps, toast } from 'sonner';\n\nconst Toaster = ({ ...props }: ToasterProps) => {\n return (\n <Sonner\n className=\"toaster group\"\n icons={{\n success: <LuCircleCheck className=\"size-5 text-green-700\" />,\n info: <LuCircleAlert className=\"size-5 text-gray-700\" />,\n warning: <LuTriangleAlert className=\"text-gold-500 size-5\" />,\n error: <LuCircleX className=\"size-5 text-red-600\" />,\n loading: <LuLoaderCircle className=\"size-5 animate-spin text-green-600\" />,\n }}\n toastOptions={{\n style: {\n fontFamily: 'var(--font-lato)',\n fontSize: '0.875rem',\n },\n classNames: {\n default: 'rounded-sm! border text-primary! text-sm!',\n success: 'bg-toast-success! border-green-500!',\n error: 'bg-toast-error! border-red-600!',\n warning: 'bg-gold-100! border-gold-500!',\n info: 'bg-toast-info! border-gray-300!',\n },\n }}\n {...props}\n />\n );\n};\n\nexport { Toaster, toast };\n"]}