@solace-health/ui 0.9.49 → 0.9.51

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 CHANGED
@@ -257,7 +257,7 @@ var s1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
257
257
  left: 2px;
258
258
  right: 0;
259
259
  z-index: -1;
260
- `,y5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(Yt,{children:[jsxRuntime.jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsxs("g",{id:"Group 1507",children:[jsxRuntime.jsx("path",{id:"Rectangle 286",d:"M0 4C0 2.89543 0.895431 2 2 2H6.75C7.7165 2 8.5 2.7835 8.5 3.75C8.5 4.7165 9.2835 5.5 10.25 5.5H20.75C21.1642 5.5 21.5 5.16421 21.5 4.75C21.5 4.33579 21.8358 4 22.25 4H25.5C26.6046 4 27.5 4.89543 27.5 6V23C27.5 24.1046 26.6046 25 25.5 25H22.5C21.3954 25 20.5 25.8954 20.5 27V30.4506C20.5 31.5743 19.5746 32.4774 18.4512 32.45L1.95123 32.0476C0.865985 32.0211 0 31.1338 0 30.0482V4Z",fill:"url(#paint0_linear_20862_2629)"}),jsxRuntime.jsx("path",{id:"Vector",d:"M24.7 32.32L28.18 28.84V5.64H24.7M7.3 5.64H3.82V30.58C3.82 31.5411 4.59894 32.32 5.56 32.32H22.38V28.84C22.38 28.26 22.8997 27.68 23.54 27.68H25.86M24.7 3.32H28.18C29.34 3.32 30.5 4.48 30.5 5.64V32.32C30.5 33.48 29.34 34.64 28.18 34.64H3.82C2.66 34.64 1.5 33.48 1.5 32.32V5.64C1.5 4.48 2.66 3.32 3.82 3.32H7.3M13.7963 25.8889H18.0926M13.7963 22.6667H20.2407M13.7963 19.4444H23.463M13.7963 16.2222H21.3148M13.7963 13H22.3889M9.5 25.8889H10.5741M9.5 22.6667H10.5741M9.5 19.4444H10.5741M9.5 16.2222H10.5741M9.5 13H10.5741M18.8414 3.32C18.5729 1.99644 17.403 1 16 1C14.597 1 13.4271 1.99644 13.1586 3.32H9.62V6.8H22.38V3.32H18.8414ZM16 3.32C15.6793 3.32 15.42 3.57984 15.42 3.9C15.42 4.22016 15.6793 4.48 16 4.48C16.3207 4.48 16.58 4.22016 16.58 3.9C16.58 3.57984 16.3207 3.32 16 3.32Z",stroke:"#555555",strokeLinecap:"round",strokeLinejoin:"round"})]})}),jsxRuntime.jsx(qt,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var eo=a__default.default.div`
260
+ `,y5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(Yt,{children:[jsxRuntime.jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsxs("g",{id:"Group 1507",children:[jsxRuntime.jsx("path",{id:"Rectangle 286",d:"M0 4C0 2.89543 0.895431 2 2 2H6.75C7.7165 2 8.5 2.7835 8.5 3.75C8.5 4.7165 9.2835 5.5 10.25 5.5H20.75C21.1642 5.5 21.5 5.16421 21.5 4.75C21.5 4.33579 21.8358 4 22.25 4H25.5C26.6046 4 27.5 4.89543 27.5 6V23C27.5 24.1046 26.6046 25 25.5 25H22.5C21.3954 25 20.5 25.8954 20.5 27V30.4506C20.5 31.5743 19.5746 32.4774 18.4512 32.45L1.95123 32.0476C0.865985 32.0211 0 31.1338 0 30.0482V4Z",fill:"url(#paint0_linear_20862_2629)"}),jsxRuntime.jsx("path",{id:"Vector",d:"M24.7 32.32L28.18 28.84V5.64H24.7M7.3 5.64H3.82V30.58C3.82 31.5411 4.59894 32.32 5.56 32.32H22.38V28.84C22.38 28.26 22.8997 27.68 23.54 27.68H25.86M24.7 3.32H28.18C29.34 3.32 30.5 4.48 30.5 5.64V32.32C30.5 33.48 29.34 34.64 28.18 34.64H3.82C2.66 34.64 1.5 33.48 1.5 32.32V5.64C1.5 4.48 2.66 3.32 3.82 3.32H7.3M13.7963 25.8889H18.0926M13.7963 22.6667H20.2407M13.7963 19.4444H23.463M13.7963 16.2222H21.3148M13.7963 13H22.3889M9.5 25.8889H10.5741M9.5 22.6667H10.5741M9.5 19.4444H10.5741M9.5 16.2222H10.5741M9.5 13H10.5741M18.8414 3.32C18.5729 1.99644 17.403 1 16 1C14.597 1 13.4271 1.99644 13.1586 3.32H9.62V6.8H22.38V3.32H18.8414ZM16 3.32C15.6793 3.32 15.42 3.57984 15.42 3.9C15.42 4.22016 15.6793 4.48 16 4.48C16.3207 4.48 16.58 4.22016 16.58 3.9C16.58 3.57984 16.3207 3.32 16 3.32Z",stroke:t,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})]})}),jsxRuntime.jsx(qt,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var eo=a__default.default.div`
261
261
  position: relative;
262
262
  `,to=a__default.default(web.animated.div)`
263
263
  position: absolute;
@@ -1292,7 +1292,7 @@ var s1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1292
1292
  text-align: start;
1293
1293
  `,d8=a__default.default(d.Body)`
1294
1294
  margin-bottom: 12px;
1295
- `,C8=({label:e="",name:t,details:o="",placeholder:r="",className:n="",options:i=[],disabled:s=!1,mode:l=void 0,previewOnly:m=!1,isLabelBold:C=!0,formOptions:c={},onChange:g=()=>null,containerStyle:f={},allowClear:u=!0,loading:b=!1,value:y=void 0,defaultValue:M=void 0})=>{let k=reactHookForm.useFormContext();k.register(t,c);let R=x=>{k.setValue(t,x),k.trigger(t),g(x);},Y=(x,w)=>(w?.label?.toString().toLowerCase()??"").includes(x.toLowerCase()),E=(x,w)=>{let p=x?.label?.toString().toLowerCase()??"",h=w?.label?.toString().toLowerCase()??"";return p.localeCompare(h)};return jsxRuntime.jsxs(l8,{style:f,children:[e&&jsxRuntime.jsx(p8,{size:"lg",isLabelBold:C,children:e}),o&&jsxRuntime.jsx(d8,{children:o}),jsxRuntime.jsx(antd.Select,{allowClear:u,loading:b,mode:l,showSearch:!0,onChange:R,placeholder:r,options:i,disabled:s||m,className:n,value:y,defaultValue:M,style:{width:"100%"},filterOption:Y,filterSort:E})]})},se=C8;var u8=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let n=reactHookForm.useFormContext(),{isValid:i}=n.formState,l=web.useSpring((o?i:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:l,...r,children:jsxRuntime.jsx(J1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},le=u8;var v8=a__default.default.div`
1295
+ `,C8=({label:e="",name:t,details:o="",placeholder:r="",className:n="",options:i=[],disabled:s=!1,mode:l=void 0,previewOnly:m=!1,isLabelBold:C=!0,formOptions:c={},onChange:g=()=>null,containerStyle:f={},allowClear:u=!0,loading:b=!1,value:y=void 0,defaultValue:M=void 0})=>{let k=reactHookForm.useFormContext();k.register(t,c);let R=x=>{k.setValue(t,x),k.trigger(t),g(x);},Y=(x,w)=>(w?.label?.toString().toLowerCase()??"").includes(x.toLowerCase()),E=(x,w)=>{let p=x?.label?.toString().toLowerCase()??"",h=w?.label?.toString().toLowerCase()??"";return p.localeCompare(h)};return jsxRuntime.jsxs(l8,{style:f,children:[e&&jsxRuntime.jsx(p8,{size:"lg",isLabelBold:C,children:e}),o&&jsxRuntime.jsx(d8,{children:o}),jsxRuntime.jsx(antd.Select,{allowClear:u,loading:b,mode:l,showSearch:!0,onChange:R,placeholder:r,options:i,disabled:s||m,className:n,value:y,defaultValue:M,style:{width:"100%"},filterOption:Y,filterSort:E,popupClassName:n})]})},se=C8;var u8=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let n=reactHookForm.useFormContext(),{isValid:i}=n.formState,l=web.useSpring((o?i:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:l,...r,children:jsxRuntime.jsx(J1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},le=u8;var v8=a__default.default.div`
1296
1296
  position: relative;
1297
1297
  margin-bottom: 24px;
1298
1298
  z-index: 20;