@solace-health/ui 0.9.19 → 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 +13 -9
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/package.json +1 -1
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
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
1450
|
+
`,F9=n__default.default.span`
|
|
1451
1451
|
font-weight: 700;
|
|
1452
1452
|
letter-spacing: 0.157px;
|
|
1453
1453
|
color: #1d4339;
|
|
1454
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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 =
|
|
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 =
|
|
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 =
|
|
1550
|
+
exports.VantaLogo = D9;
|
|
1547
1551
|
//# sourceMappingURL=out.js.map
|
|
1548
1552
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -12,7 +12,7 @@ import * as preact_hooks from 'preact/hooks';
|
|
|
12
12
|
import * as _emotion_react from '@emotion/react';
|
|
13
13
|
import * as react_hook_form from 'react-hook-form';
|
|
14
14
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
|
-
export { useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
15
|
+
export { FormProvider, useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
16
16
|
import { MenuDividerProps } from 'antd/es/menu';
|
|
17
17
|
import { MenuItemType } from 'antd/es/menu/hooks/useItems';
|
|
18
18
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as preact_hooks from 'preact/hooks';
|
|
|
12
12
|
import * as _emotion_react from '@emotion/react';
|
|
13
13
|
import * as react_hook_form from 'react-hook-form';
|
|
14
14
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
|
-
export { useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
15
|
+
export { FormProvider, useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
16
16
|
import { MenuDividerProps } from 'antd/es/menu';
|
|
17
17
|
import { MenuItemType } from 'antd/es/menu/hooks/useItems';
|
|
18
18
|
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import '@emotion/react';
|
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { animated, useSpring, config } from '@react-spring/web';
|
|
7
7
|
import { useFormContext, get, Controller, useForm, FormProvider } from 'react-hook-form';
|
|
8
|
-
export { useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
8
|
+
export { FormProvider, useFieldArray, useForm, useFormContext } from 'react-hook-form';
|
|
9
9
|
import e3, { useState, useEffect, useMemo, useRef, useCallback } from 'react';
|
|
10
10
|
import b1 from 'dayjs';
|
|
11
11
|
import Ht from 'react-lottie-player';
|
|
@@ -1399,7 +1399,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1399
1399
|
`,l=n.div`
|
|
1400
1400
|
position: relative;
|
|
1401
1401
|
margin-bottom: 24px;
|
|
1402
|
-
`;return jsxs(l,{children:[e&&jsx(a,{size:"lg",isLabelBold:t,children:e}),jsx(Controller,{render:({field:C})=>jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=M9;var
|
|
1402
|
+
`;return jsxs(l,{children:[e&&jsx(a,{size:"lg",isLabelBold:t,children:e}),jsx(Controller,{render:({field:C})=>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(animated.div)`
|
|
1403
1403
|
max-height: ${({size:e})=>(e||58)+24}px;
|
|
1404
1404
|
padding: 12px;
|
|
1405
1405
|
display: flex;
|
|
@@ -1413,25 +1413,25 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1413
1413
|
&:hover {
|
|
1414
1414
|
border-radius: 40px;
|
|
1415
1415
|
}
|
|
1416
|
-
`,
|
|
1416
|
+
`,P9=n(animated.div)`
|
|
1417
1417
|
display: flex;
|
|
1418
1418
|
flex-direction: column;
|
|
1419
1419
|
flex-wrap: wrap;
|
|
1420
1420
|
min-width: 180px;
|
|
1421
1421
|
max-width: 180px;
|
|
1422
1422
|
margin-left: 12px;
|
|
1423
|
-
`,
|
|
1423
|
+
`,F9=n.span`
|
|
1424
1424
|
font-weight: 700;
|
|
1425
1425
|
letter-spacing: 0.157px;
|
|
1426
1426
|
color: #1d4339;
|
|
1427
|
-
`,
|
|
1427
|
+
`,E9=n.p`
|
|
1428
1428
|
font-size: 10px;
|
|
1429
1429
|
letter-spacing: 0.157px;
|
|
1430
1430
|
text-align: left;
|
|
1431
1431
|
margin: 0;
|
|
1432
1432
|
line-height: 12px;
|
|
1433
1433
|
color: #1d4339;
|
|
1434
|
-
`,
|
|
1434
|
+
`,R9=({contentfulConfig:e,size:t=58})=>{let[o,r]=useState(""),[i,s]=useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));useEffect(()=>{new i1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[a,l]=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?jsxs(B9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxs(P9,{style:a,children:[jsx(d.Body,{children:jsx(F9,{children:"Guaranteed Security"})}),jsx(d.Body,{size:"xs",children: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=useSpring(e?{transform:"rotate(0deg)",config:config.stiff}:{transform:"rotate(180deg)",config:config.stiff});return jsx(animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsx(v.Caret,{direction:"up",color:t})})}var I9=n(Menu)`
|
|
1435
1435
|
.ant-menu-submenu {
|
|
1436
1436
|
background-color: #fff;
|
|
1437
1437
|
color: #555555 !important;
|
|
@@ -1471,8 +1471,8 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
1471
1471
|
background-color: #fff !important;
|
|
1472
1472
|
color: #000 !important;
|
|
1473
1473
|
}
|
|
1474
|
-
`,
|
|
1474
|
+
`,G9=({children:e,...t})=>jsx(I9,{...t,expandIcon:o=>jsx(f2,{isActive:o.isOpen,color:"#555555"}),children:e}),$9=({children:e,...t})=>jsx(Menu.Item,{...t,children:e}),N9=e=>jsx(Menu.Divider,{...e}),U9=({children:e,...t})=>jsx(Menu.SubMenu,{...t,children:e}),W9={Container:G9,MenuDivider:N9,MenuItem:$9,SubMenuContainer:U9};
|
|
1475
1475
|
|
|
1476
|
-
export { i0 as Avatar, T1 as Button, Z0 as Collapse, i1 as Contentful, vt as ContentfulLottieFileSlug, I1 as DateSelect, R0 as Drawer, o2 as ErrorTypography,
|
|
1476
|
+
export { i0 as Avatar, T1 as Button, Z0 as Collapse, i1 as Contentful, vt as ContentfulLottieFileSlug, I1 as DateSelect, R0 as Drawer, o2 as ErrorTypography, Z9 as Form, v as Icons, r2 as LoadingSpinner, Zt as LottieAnimation, c1 as Menu, Et as Modal, W9 as NavigationMenu, D4 as NumberedProgressSteps, xt as Pill, At as Progress, Gt as Segmented, g2 as Size, Nt as SolaceLogo, G3 as SolaceThemeProvider, Xt as Tabs, a2 as TimeSelect, l2 as Toggle, K as Tooltip, d as Typography, D9 as VantaLogo };
|
|
1477
1477
|
//# sourceMappingURL=out.js.map
|
|
1478
1478
|
//# sourceMappingURL=index.js.map
|