@solace-health/ui 0.9.31 → 0.9.33
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1020,7 +1020,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1020
1020
|
width: 100%;
|
|
1021
1021
|
height: 40px;
|
|
1022
1022
|
border-radius: 50%;
|
|
1023
|
-
cursor: ${e=>e?.previewOnly?"
|
|
1023
|
+
cursor: ${e=>e?.previewOnly?"default":"pointer"};
|
|
1024
1024
|
|
|
1025
1025
|
::after {
|
|
1026
1026
|
content: "";
|
|
@@ -1034,7 +1034,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1034
1034
|
+ label::after {
|
|
1035
1035
|
content: "";
|
|
1036
1036
|
position: absolute;
|
|
1037
|
-
background: ${e=>e?.previewOnly?"#EEEEEE":"
|
|
1037
|
+
background: ${e=>e?.previewOnly?"#EEEEEE":"none"};
|
|
1038
1038
|
left: 0px;
|
|
1039
1039
|
top: 0px;
|
|
1040
1040
|
width: 20px;
|
|
@@ -1079,7 +1079,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1079
1079
|
input[type="text"] {
|
|
1080
1080
|
margin: 0;
|
|
1081
1081
|
}
|
|
1082
|
-
`,F1=({option:e,name:t,inline:o,previewOnly:r,...n})=>{let{register:s}=useFormContext();return jsxs(c4,{inline:o,children:[jsx(f4,{type:"radio",value:e.value,previewOnly:r,disabled
|
|
1082
|
+
`,F1=({option:e,name:t,inline:o,previewOnly:r,...n})=>{let{register:s}=useFormContext();return jsxs(c4,{inline:o,children:[jsx(f4,{type:"radio",value:e.value,previewOnly:r,disabled:r,...s(t),...n}),jsx("label",{htmlFor:t,children:jsx(d.Body,{children:e.label})})]})},m3=({name:e,label:t,details:o="",options:r=[],inline:n=!1,allowOther:s=!1,previewOnly:l=!1,...a})=>jsxs(C4,{children:[jsx(g4,{size:"lg",children:t}),o&&jsx(u4,{children:o}),jsxs(m4,{inline:n,children:[r.map(c=>jsx(F1,{option:c,name:e,inline:n,previewOnly:l,...a},`${e}-${c.value}`)),s&&jsxs(h4,{children:[jsx(F1,{option:{label:"Other",value:"other"},name:e,inline:n,...a},e),jsx(s1,{name:`${e}_other`,...a})]})]})]}),x4=i.div`
|
|
1083
1083
|
width: 100%;
|
|
1084
1084
|
`,y4=({hasError:e,selected:t})=>e?"red":t?"#285E50":"#7f7f7f",b4=i.label`
|
|
1085
1085
|
display: flex;
|