@solace-health/ui 0.9.32 → 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.cjs
CHANGED
|
@@ -1047,7 +1047,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1047
1047
|
width: 100%;
|
|
1048
1048
|
height: 40px;
|
|
1049
1049
|
border-radius: 50%;
|
|
1050
|
-
cursor: ${e=>e?.previewOnly?"
|
|
1050
|
+
cursor: ${e=>e?.previewOnly?"default":"pointer"};
|
|
1051
1051
|
|
|
1052
1052
|
::after {
|
|
1053
1053
|
content: "";
|
|
@@ -1061,7 +1061,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1061
1061
|
+ label::after {
|
|
1062
1062
|
content: "";
|
|
1063
1063
|
position: absolute;
|
|
1064
|
-
background: ${e=>e?.previewOnly?"#EEEEEE":"
|
|
1064
|
+
background: ${e=>e?.previewOnly?"#EEEEEE":"none"};
|
|
1065
1065
|
left: 0px;
|
|
1066
1066
|
top: 0px;
|
|
1067
1067
|
width: 20px;
|
|
@@ -1106,7 +1106,7 @@ var o1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1106
1106
|
input[type="text"] {
|
|
1107
1107
|
margin: 0;
|
|
1108
1108
|
}
|
|
1109
|
-
`,F1=({option:e,name:t,inline:o,previewOnly:r,...n})=>{let{register:s}=reactHookForm.useFormContext();return jsxRuntime.jsxs(c4,{inline:o,children:[jsxRuntime.jsx(f4,{type:"radio",value:e.value,previewOnly:r,disabled
|
|
1109
|
+
`,F1=({option:e,name:t,inline:o,previewOnly:r,...n})=>{let{register:s}=reactHookForm.useFormContext();return jsxRuntime.jsxs(c4,{inline:o,children:[jsxRuntime.jsx(f4,{type:"radio",value:e.value,previewOnly:r,disabled:r,...s(t),...n}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.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})=>jsxRuntime.jsxs(C4,{children:[jsxRuntime.jsx(g4,{size:"lg",children:t}),o&&jsxRuntime.jsx(u4,{children:o}),jsxRuntime.jsxs(m4,{inline:n,children:[r.map(c=>jsxRuntime.jsx(F1,{option:c,name:e,inline:n,previewOnly:l,...a},`${e}-${c.value}`)),s&&jsxRuntime.jsxs(h4,{children:[jsxRuntime.jsx(F1,{option:{label:"Other",value:"other"},name:e,inline:n,...a},e),jsxRuntime.jsx(s1,{name:`${e}_other`,...a})]})]})]}),x4=i__default.default.div`
|
|
1110
1110
|
width: 100%;
|
|
1111
1111
|
`,y4=({hasError:e,selected:t})=>e?"red":t?"#285E50":"#7f7f7f",b4=i__default.default.label`
|
|
1112
1112
|
display: flex;
|