@solace-health/ui 0.10.115 → 0.10.116
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -968,12 +968,12 @@ Valid keys: `+JSON.stringify(Object.keys(d),null," "));var l2=f2(P,z,E,T,w+"."+
|
|
|
968
968
|
line-height: normal;
|
|
969
969
|
`,f9=({steps:C})=>{let e=C.map((t,o)=>jsxRuntime.jsxs(Xr,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx(qr,{children:o+1})}),jsxRuntime.jsxs(Jr,{children:[jsxRuntime.jsx(Yr,{children:t.title}),jsxRuntime.jsx(Kr,{children:t.description})]})]},t.title));return jsxRuntime.jsx(Wr,{children:e})};var jr={Horizontal:p9,Vertical:f9};var tn=I__default.default(antd.Tag)`
|
|
970
970
|
font-size: 16px;
|
|
971
|
-
height:
|
|
972
|
-
padding:
|
|
971
|
+
line-height: 16px;
|
|
972
|
+
padding: ${({padding:C})=>C||"4px 10px"};
|
|
973
973
|
border-radius: 24px;
|
|
974
974
|
${C=>C.textcolor&&`color: ${C.textcolor} !important;`}
|
|
975
975
|
${C=>C.bordercolor&&`border-color: ${C.bordercolor} !important;`}
|
|
976
|
-
`,on=({children:C,status:e="default",icon:t=null})=>{let
|
|
976
|
+
`,on=({children:C,status:e="default",icon:t=null,padding:o=void 0})=>{let L=Ri.useMemo(()=>{let r="#EEEEEE",n="#000000",i;switch(e){case"success":r="#E9F0EE",n="#285E50";break;case"error":r="#DA4D54",n="#FFFFFF";break;case"warning":r="#F4E5CA";break;case"processing":r="#F4E5CA";break;case"label":i="#000",r="#ffffff";break;default:r="#EEEEEE";}return {bdrColor:i,bgColor:r,textcolor:n}},[e]);return jsxRuntime.jsx(tn,{color:L.bgColor,icon:t,textcolor:L.textcolor,bordercolor:L.bdrColor,padding:o,children:C})},Ln=on;var an=({percent:C=75,type:e="circle",strokeColor:t="#3F937C",strokeLinecap:o="butt",...L})=>jsxRuntime.jsx(antd.Space,{wrap:!0,children:jsxRuntime.jsx(antd.Progress,{type:e,percent:C,strokeLinecap:o,strokeColor:t,"aria-label":"progress-loader","aria-labelledby":"progress",...L})});var pn=C=>jsxRuntime.jsx(antd.Badge.Ribbon,{...C}),dn=pn;var un=I__default.default.div`
|
|
977
977
|
${({displaySmall:C,searchValue:e})=>C&&e===""&&`
|
|
978
978
|
:has(input:not(input:focus)) {
|
|
979
979
|
height: 50px;
|