@solace-health/ui 0.9.13 → 0.9.15
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 +13 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1418,7 +1418,7 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1418
1418
|
`,a=n__default.default.div`
|
|
1419
1419
|
position: relative;
|
|
1420
1420
|
margin-bottom: 24px;
|
|
1421
|
-
`;return jsxRuntime.jsxs(a,{children:[e&&jsxRuntime.jsx(l,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=h9;var
|
|
1421
|
+
`;return jsxRuntime.jsxs(a,{children:[e&&jsxRuntime.jsx(l,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=h9;var v9={Container:l3,Checkbox:_1,CheckboxGroup:s3,DateSelect:B3,TextInput:i1,TimeSelect:H3,Radio:P1,RadioGroup:m3,CardRadioGroup:f3,Select:g3,Signature:d3,Submit:h3,LocationSelect:M3,Keyword:z3,Toggle:l2};var H9=n__default.default(web.animated.div)`
|
|
1422
1422
|
max-height: ${({size:e})=>(e||58)+24}px;
|
|
1423
1423
|
padding: 12px;
|
|
1424
1424
|
display: flex;
|
|
@@ -1432,25 +1432,25 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1432
1432
|
&:hover {
|
|
1433
1433
|
border-radius: 40px;
|
|
1434
1434
|
}
|
|
1435
|
-
`,
|
|
1435
|
+
`,k9=n__default.default(web.animated.div)`
|
|
1436
1436
|
display: flex;
|
|
1437
1437
|
flex-direction: column;
|
|
1438
1438
|
flex-wrap: wrap;
|
|
1439
1439
|
min-width: 180px;
|
|
1440
1440
|
max-width: 180px;
|
|
1441
1441
|
margin-left: 12px;
|
|
1442
|
-
`,
|
|
1442
|
+
`,S9=n__default.default.span`
|
|
1443
1443
|
font-weight: 700;
|
|
1444
1444
|
letter-spacing: 0.157px;
|
|
1445
1445
|
color: #1d4339;
|
|
1446
|
-
`,
|
|
1446
|
+
`,V9=n__default.default.p`
|
|
1447
1447
|
font-size: 10px;
|
|
1448
1448
|
letter-spacing: 0.157px;
|
|
1449
1449
|
text-align: left;
|
|
1450
1450
|
margin: 0;
|
|
1451
1451
|
line-height: 12px;
|
|
1452
1452
|
color: #1d4339;
|
|
1453
|
-
`,
|
|
1453
|
+
`,Z9=({contentfulConfig:e,size:t=58})=>{let[o,r]=e3.useState(""),[i,s]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));e3.useEffect(()=>{new n1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[l,a]=web.useSpring(()=>({from:{opacity:0},delay:100})),C=u=>({width:u?198+t:t+24,backgroundColor:u?"#d4e2dd":"#fff"}),m=u=>({opacity:u?1:0}),f=()=>{s(C(!0)),a(m(!0));},c=()=>{s(C(!1)),a(m(!1));};return o?jsxRuntime.jsxs(H9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(k9,{style:l,children:[jsxRuntime.jsx(d.Body,{children:jsxRuntime.jsx(S9,{children:"Guaranteed Security"})}),jsxRuntime.jsx(d.Body,{size:"xs",children:jsxRuntime.jsx(V9,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},z9=Z9;function f2({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(v.Caret,{direction:"up",color:t})})}var F9=n__default.default(antd.Menu)`
|
|
1454
1454
|
.ant-menu-submenu {
|
|
1455
1455
|
background-color: #fff;
|
|
1456
1456
|
color: #555555 !important;
|
|
@@ -1490,12 +1490,16 @@ var a1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1490
1490
|
background-color: #fff !important;
|
|
1491
1491
|
color: #000 !important;
|
|
1492
1492
|
}
|
|
1493
|
-
`,
|
|
1493
|
+
`,R9=({children:e,...t})=>jsxRuntime.jsx(F9,{...t,expandIcon:o=>jsxRuntime.jsx(f2,{isActive:o.isOpen,color:"#555555"}),children:e}),D9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),E9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),O9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),A9={Container:R9,MenuDivider:E9,MenuItem:D9,SubMenuContainer:O9};
|
|
1494
1494
|
|
|
1495
1495
|
Object.defineProperty(exports, 'styled', {
|
|
1496
1496
|
enumerable: true,
|
|
1497
1497
|
get: function () { return n__default.default; }
|
|
1498
1498
|
});
|
|
1499
|
+
Object.defineProperty(exports, 'useFieldArray', {
|
|
1500
|
+
enumerable: true,
|
|
1501
|
+
get: function () { return reactHookForm.useFieldArray; }
|
|
1502
|
+
});
|
|
1499
1503
|
Object.defineProperty(exports, 'useForm', {
|
|
1500
1504
|
enumerable: true,
|
|
1501
1505
|
get: function () { return reactHookForm.useForm; }
|
|
@@ -1512,13 +1516,13 @@ exports.ContentfulLottieFileSlug = Ct;
|
|
|
1512
1516
|
exports.DateSelect = I1;
|
|
1513
1517
|
exports.Drawer = B0;
|
|
1514
1518
|
exports.ErrorTypography = o2;
|
|
1515
|
-
exports.Form =
|
|
1519
|
+
exports.Form = v9;
|
|
1516
1520
|
exports.Icons = v;
|
|
1517
1521
|
exports.LoadingSpinner = r2;
|
|
1518
1522
|
exports.LottieAnimation = xt;
|
|
1519
1523
|
exports.Menu = c1;
|
|
1520
1524
|
exports.Modal = Lt;
|
|
1521
|
-
exports.NavigationMenu =
|
|
1525
|
+
exports.NavigationMenu = A9;
|
|
1522
1526
|
exports.NumberedProgressSteps = _4;
|
|
1523
1527
|
exports.Progress = St;
|
|
1524
1528
|
exports.Segmented = _t;
|
|
@@ -1530,6 +1534,6 @@ exports.TimeSelect = a2;
|
|
|
1530
1534
|
exports.Toggle = l2;
|
|
1531
1535
|
exports.Tooltip = x4;
|
|
1532
1536
|
exports.Typography = d;
|
|
1533
|
-
exports.VantaLogo =
|
|
1537
|
+
exports.VantaLogo = z9;
|
|
1534
1538
|
//# sourceMappingURL=out.js.map
|
|
1535
1539
|
//# sourceMappingURL=index.cjs.map
|