@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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -136,9 +136,9 @@ declare const _default$5: {
|
|
|
136
136
|
checked?: boolean | undefined;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element;
|
|
138
138
|
ErrorExclamation: () => react_jsx_runtime.JSX.Element;
|
|
139
|
-
Form: ({ active, color }: {
|
|
140
|
-
active
|
|
141
|
-
color
|
|
139
|
+
Form: ({ active, color, }: {
|
|
140
|
+
active: boolean;
|
|
141
|
+
color: string;
|
|
142
142
|
}) => react_jsx_runtime.JSX.Element;
|
|
143
143
|
FramedPainting: ({ active, color }: {
|
|
144
144
|
active?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -136,9 +136,9 @@ declare const _default$5: {
|
|
|
136
136
|
checked?: boolean | undefined;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element;
|
|
138
138
|
ErrorExclamation: () => react_jsx_runtime.JSX.Element;
|
|
139
|
-
Form: ({ active, color }: {
|
|
140
|
-
active
|
|
141
|
-
color
|
|
139
|
+
Form: ({ active, color, }: {
|
|
140
|
+
active: boolean;
|
|
141
|
+
color: string;
|
|
142
142
|
}) => react_jsx_runtime.JSX.Element;
|
|
143
143
|
FramedPainting: ({ active, color }: {
|
|
144
144
|
active?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -230,7 +230,7 @@ var s1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
230
230
|
left: 2px;
|
|
231
231
|
right: 0;
|
|
232
232
|
z-index: -1;
|
|
233
|
-
`,y5=({active:e=!1,color:t="#555555"})=>{let o=useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxs(Yt,{children:[jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 1507",children:[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)"}),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:"
|
|
233
|
+
`,y5=({active:e=!1,color:t="#555555"})=>{let o=useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxs(Yt,{children:[jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 1507",children:[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)"}),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"})]})}),jsx(qt,{style:o,children:jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[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)"}),jsx("defs",{children:jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{stopColor:"#AFC8BF"}),jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var eo=a.div`
|
|
234
234
|
position: relative;
|
|
235
235
|
`,to=a(animated.div)`
|
|
236
236
|
position: absolute;
|
|
@@ -1265,7 +1265,7 @@ var s1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1265
1265
|
text-align: start;
|
|
1266
1266
|
`,d8=a(d.Body)`
|
|
1267
1267
|
margin-bottom: 12px;
|
|
1268
|
-
`,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=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 jsxs(l8,{style:f,children:[e&&jsx(p8,{size:"lg",isLabelBold:C,children:e}),o&&jsx(d8,{children:o}),jsx(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=useFormContext(),{isValid:i}=n.formState,l=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 jsx(animated.div,{style:l,...r,children:jsx(J1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},le=u8;var v8=a.div`
|
|
1268
|
+
`,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=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 jsxs(l8,{style:f,children:[e&&jsx(p8,{size:"lg",isLabelBold:C,children:e}),o&&jsx(d8,{children:o}),jsx(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=useFormContext(),{isValid:i}=n.formState,l=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 jsx(animated.div,{style:l,...r,children:jsx(J1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},le=u8;var v8=a.div`
|
|
1269
1269
|
position: relative;
|
|
1270
1270
|
margin-bottom: 24px;
|
|
1271
1271
|
z-index: 20;
|