@solace-health/ui 0.9.18 → 0.9.20

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 CHANGED
@@ -1426,7 +1426,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1426
1426
  `,l=n__default.default.div`
1427
1427
  position: relative;
1428
1428
  margin-bottom: 24px;
1429
- `;return jsxRuntime.jsxs(l,{children:[e&&jsxRuntime.jsx(a,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=M9;var V9={Container:l3,Checkbox:_1,CheckboxGroup:s3,DateSelect:B3,TextInput:s1,TimeSelect:H3,Radio:P1,RadioGroup:m3,CardRadioGroup:f3,Select:g3,Signature:d3,Submit:h3,LocationSelect:M3,Keyword:z3,Toggle:l2};var _9=n__default.default(web.animated.div)`
1429
+ `;return jsxRuntime.jsxs(l,{children:[e&&jsxRuntime.jsx(a,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=M9;var Z9={Container:l3,Checkbox:_1,CheckboxGroup:s3,DateSelect:B3,TextInput:s1,TimeSelect:H3,Radio:P1,RadioGroup:m3,CardRadioGroup:f3,Select:g3,Signature:d3,Submit:h3,LocationSelect:M3,Keyword:z3,Toggle:l2};var B9=n__default.default(web.animated.div)`
1430
1430
  max-height: ${({size:e})=>(e||58)+24}px;
1431
1431
  padding: 12px;
1432
1432
  display: flex;
@@ -1440,25 +1440,25 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1440
1440
  &:hover {
1441
1441
  border-radius: 40px;
1442
1442
  }
1443
- `,B9=n__default.default(web.animated.div)`
1443
+ `,P9=n__default.default(web.animated.div)`
1444
1444
  display: flex;
1445
1445
  flex-direction: column;
1446
1446
  flex-wrap: wrap;
1447
1447
  min-width: 180px;
1448
1448
  max-width: 180px;
1449
1449
  margin-left: 12px;
1450
- `,P9=n__default.default.span`
1450
+ `,F9=n__default.default.span`
1451
1451
  font-weight: 700;
1452
1452
  letter-spacing: 0.157px;
1453
1453
  color: #1d4339;
1454
- `,F9=n__default.default.p`
1454
+ `,E9=n__default.default.p`
1455
1455
  font-size: 10px;
1456
1456
  letter-spacing: 0.157px;
1457
1457
  text-align: left;
1458
1458
  margin: 0;
1459
1459
  line-height: 12px;
1460
1460
  color: #1d4339;
1461
- `,E9=({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 i1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[a,l]=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)),l(m(!0));},c=()=>{s(C(!1)),l(m(!1));};return o?jsxRuntime.jsxs(_9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(B9,{style:a,children:[jsxRuntime.jsx(d.Body,{children:jsxRuntime.jsx(P9,{children:"Guaranteed Security"})}),jsxRuntime.jsx(d.Body,{size:"xs",children:jsxRuntime.jsx(F9,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},R9=E9;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 T9=n__default.default(antd.Menu)`
1461
+ `,R9=({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 i1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[a,l]=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)),l(m(!0));},c=()=>{s(C(!1)),l(m(!1));};return o?jsxRuntime.jsxs(B9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(P9,{style:a,children:[jsxRuntime.jsx(d.Body,{children:jsxRuntime.jsx(F9,{children:"Guaranteed Security"})}),jsxRuntime.jsx(d.Body,{size:"xs",children:jsxRuntime.jsx(E9,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},D9=R9;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 I9=n__default.default(antd.Menu)`
1462
1462
  .ant-menu-submenu {
1463
1463
  background-color: #fff;
1464
1464
  color: #555555 !important;
@@ -1498,12 +1498,16 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1498
1498
  background-color: #fff !important;
1499
1499
  color: #000 !important;
1500
1500
  }
1501
- `,I9=({children:e,...t})=>jsxRuntime.jsx(T9,{...t,expandIcon:o=>jsxRuntime.jsx(f2,{isActive:o.isOpen,color:"#555555"}),children:e}),G9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),$9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),N9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),U9={Container:I9,MenuDivider:$9,MenuItem:G9,SubMenuContainer:N9};
1501
+ `,G9=({children:e,...t})=>jsxRuntime.jsx(I9,{...t,expandIcon:o=>jsxRuntime.jsx(f2,{isActive:o.isOpen,color:"#555555"}),children:e}),$9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),N9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),U9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),W9={Container:G9,MenuDivider:N9,MenuItem:$9,SubMenuContainer:U9};
1502
1502
 
1503
1503
  Object.defineProperty(exports, 'styled', {
1504
1504
  enumerable: true,
1505
1505
  get: function () { return n__default.default; }
1506
1506
  });
1507
+ Object.defineProperty(exports, 'FormProvider', {
1508
+ enumerable: true,
1509
+ get: function () { return reactHookForm.FormProvider; }
1510
+ });
1507
1511
  Object.defineProperty(exports, 'useFieldArray', {
1508
1512
  enumerable: true,
1509
1513
  get: function () { return reactHookForm.useFieldArray; }
@@ -1524,13 +1528,13 @@ exports.ContentfulLottieFileSlug = vt;
1524
1528
  exports.DateSelect = I1;
1525
1529
  exports.Drawer = R0;
1526
1530
  exports.ErrorTypography = o2;
1527
- exports.Form = V9;
1531
+ exports.Form = Z9;
1528
1532
  exports.Icons = v;
1529
1533
  exports.LoadingSpinner = r2;
1530
1534
  exports.LottieAnimation = Zt;
1531
1535
  exports.Menu = c1;
1532
1536
  exports.Modal = Et;
1533
- exports.NavigationMenu = U9;
1537
+ exports.NavigationMenu = W9;
1534
1538
  exports.NumberedProgressSteps = D4;
1535
1539
  exports.Pill = xt;
1536
1540
  exports.Progress = At;
@@ -1543,6 +1547,6 @@ exports.TimeSelect = a2;
1543
1547
  exports.Toggle = l2;
1544
1548
  exports.Tooltip = K;
1545
1549
  exports.Typography = d;
1546
- exports.VantaLogo = R9;
1550
+ exports.VantaLogo = D9;
1547
1551
  //# sourceMappingURL=out.js.map
1548
1552
  //# sourceMappingURL=index.cjs.map