@mypatientspace/chatbot-widget 1.0.69 → 1.0.70
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.
|
@@ -14865,7 +14865,7 @@ const Ba = () => {
|
|
|
14865
14865
|
/* @__PURE__ */ S.jsxs(g1, { fontFamily: s.fontFamily, children: [
|
|
14866
14866
|
A,
|
|
14867
14867
|
" v",
|
|
14868
|
-
"1.0.
|
|
14868
|
+
"1.0.70"
|
|
14869
14869
|
] })
|
|
14870
14870
|
] })
|
|
14871
14871
|
] }),
|
|
@@ -15364,9 +15364,16 @@ const Ba = () => {
|
|
|
15364
15364
|
font-family: ${({ fontFamily: l }) => l};
|
|
15365
15365
|
background-color: ${({ background: l }) => l};
|
|
15366
15366
|
|
|
15367
|
-
/*
|
|
15367
|
+
/* Thin scrollbar, visible only on hover */
|
|
15368
|
+
scrollbar-width: thin;
|
|
15369
|
+
scrollbar-color: transparent transparent;
|
|
15370
|
+
|
|
15371
|
+
&:hover {
|
|
15372
|
+
scrollbar-color: ${({ scrollbarThumb: l }) => l} transparent;
|
|
15373
|
+
}
|
|
15374
|
+
|
|
15368
15375
|
&::-webkit-scrollbar {
|
|
15369
|
-
width:
|
|
15376
|
+
width: 6px;
|
|
15370
15377
|
}
|
|
15371
15378
|
|
|
15372
15379
|
&::-webkit-scrollbar-track {
|
|
@@ -15374,13 +15381,16 @@ const Ba = () => {
|
|
|
15374
15381
|
}
|
|
15375
15382
|
|
|
15376
15383
|
&::-webkit-scrollbar-thumb {
|
|
15384
|
+
background-color: transparent;
|
|
15385
|
+
border-radius: 6px;
|
|
15386
|
+
transition: background-color 0.2s ease;
|
|
15387
|
+
}
|
|
15388
|
+
|
|
15389
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
15377
15390
|
background-color: ${({ scrollbarThumb: l }) => l};
|
|
15378
|
-
border-radius: 10px;
|
|
15379
|
-
border: 2px solid transparent;
|
|
15380
|
-
background-clip: padding-box;
|
|
15381
15391
|
}
|
|
15382
15392
|
|
|
15383
|
-
|
|
15393
|
+
&:hover::-webkit-scrollbar-thumb:hover {
|
|
15384
15394
|
background-color: ${({ scrollbarThumbHover: l }) => l};
|
|
15385
15395
|
}
|
|
15386
15396
|
`, J1 = U.div`
|
|
@@ -806,7 +806,7 @@ Error generating stack: `+a.message+`
|
|
|
806
806
|
display: flex;
|
|
807
807
|
align-items: center;
|
|
808
808
|
gap: 6px;
|
|
809
|
-
`,$0=()=>{const{close:l,config:u,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,startNewChat:y}=pa(),T=u.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",S=u.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=u.headerSubtitle||r?.chatUiConfig?.headerSubtitle,A=u.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return x.jsxs(C0,{theme:s,children:[x.jsxs(T0,{children:[x.jsx(E0,{theme:s,hasCustomIcon:!0,children:x.jsx(z0,{src:S,alt:""})}),x.jsxs(A0,{children:[x.jsx(M0,{fontFamily:s.fontFamily,children:T}),g&&x.jsx(_0,{fontFamily:s.fontFamily,children:g}),x.jsxs(w0,{fontFamily:s.fontFamily,children:[A," v","1.0.
|
|
809
|
+
`,$0=()=>{const{close:l,config:u,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,startNewChat:y}=pa(),T=u.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",S=u.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=u.headerSubtitle||r?.chatUiConfig?.headerSubtitle,A=u.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return x.jsxs(C0,{theme:s,children:[x.jsxs(T0,{children:[x.jsx(E0,{theme:s,hasCustomIcon:!0,children:x.jsx(z0,{src:S,alt:""})}),x.jsxs(A0,{children:[x.jsx(M0,{fontFamily:s.fontFamily,children:T}),g&&x.jsx(_0,{fontFamily:s.fontFamily,children:g}),x.jsxs(w0,{fontFamily:s.fontFamily,children:[A," v","1.0.70"]})]})]}),x.jsxs(O0,{children:[x.jsx(qu,{theme:s,onClick:y,"aria-label":"Start new chat",children:x.jsx($m,{size:16})}),x.jsx(qu,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?x.jsx(Xs,{size:16}):x.jsx(Gs,{size:16})}),u.floatingMode&&x.jsx(qu,{theme:s,onClick:l,"aria-label":"Minimize chat",children:x.jsx(Ys,{size:16})})]})]})},D0=H.div`
|
|
810
810
|
position: relative;
|
|
811
811
|
background-color: ${({theme:l})=>l.colors.background};
|
|
812
812
|
border-bottom: 1px solid ${({theme:l})=>l.colors.borderLight};
|
|
@@ -1103,9 +1103,16 @@ Error generating stack: `+a.message+`
|
|
|
1103
1103
|
font-family: ${({fontFamily:l})=>l};
|
|
1104
1104
|
background-color: ${({background:l})=>l};
|
|
1105
1105
|
|
|
1106
|
-
/*
|
|
1106
|
+
/* Thin scrollbar, visible only on hover */
|
|
1107
|
+
scrollbar-width: thin;
|
|
1108
|
+
scrollbar-color: transparent transparent;
|
|
1109
|
+
|
|
1110
|
+
&:hover {
|
|
1111
|
+
scrollbar-color: ${({scrollbarThumb:l})=>l} transparent;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1107
1114
|
&::-webkit-scrollbar {
|
|
1108
|
-
width:
|
|
1115
|
+
width: 6px;
|
|
1109
1116
|
}
|
|
1110
1117
|
|
|
1111
1118
|
&::-webkit-scrollbar-track {
|
|
@@ -1113,13 +1120,16 @@ Error generating stack: `+a.message+`
|
|
|
1113
1120
|
}
|
|
1114
1121
|
|
|
1115
1122
|
&::-webkit-scrollbar-thumb {
|
|
1123
|
+
background-color: transparent;
|
|
1124
|
+
border-radius: 6px;
|
|
1125
|
+
transition: background-color 0.2s ease;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
1116
1129
|
background-color: ${({scrollbarThumb:l})=>l};
|
|
1117
|
-
border-radius: 10px;
|
|
1118
|
-
border: 2px solid transparent;
|
|
1119
|
-
background-clip: padding-box;
|
|
1120
1130
|
}
|
|
1121
1131
|
|
|
1122
|
-
|
|
1132
|
+
&:hover::-webkit-scrollbar-thumb:hover {
|
|
1123
1133
|
background-color: ${({scrollbarThumbHover:l})=>l};
|
|
1124
1134
|
}
|
|
1125
1135
|
`,cy=H.div`
|
|
@@ -12758,7 +12758,7 @@ const Xp = [
|
|
|
12758
12758
|
/* @__PURE__ */ v.jsxs(Ip, { fontFamily: s.fontFamily, children: [
|
|
12759
12759
|
O,
|
|
12760
12760
|
" v",
|
|
12761
|
-
"1.0.
|
|
12761
|
+
"1.0.70"
|
|
12762
12762
|
] })
|
|
12763
12763
|
] })
|
|
12764
12764
|
] }),
|
|
@@ -13257,9 +13257,16 @@ const Xp = [
|
|
|
13257
13257
|
font-family: ${({ fontFamily: n }) => n};
|
|
13258
13258
|
background-color: ${({ background: n }) => n};
|
|
13259
13259
|
|
|
13260
|
-
/*
|
|
13260
|
+
/* Thin scrollbar, visible only on hover */
|
|
13261
|
+
scrollbar-width: thin;
|
|
13262
|
+
scrollbar-color: transparent transparent;
|
|
13263
|
+
|
|
13264
|
+
&:hover {
|
|
13265
|
+
scrollbar-color: ${({ scrollbarThumb: n }) => n} transparent;
|
|
13266
|
+
}
|
|
13267
|
+
|
|
13261
13268
|
&::-webkit-scrollbar {
|
|
13262
|
-
width:
|
|
13269
|
+
width: 6px;
|
|
13263
13270
|
}
|
|
13264
13271
|
|
|
13265
13272
|
&::-webkit-scrollbar-track {
|
|
@@ -13267,13 +13274,16 @@ const Xp = [
|
|
|
13267
13274
|
}
|
|
13268
13275
|
|
|
13269
13276
|
&::-webkit-scrollbar-thumb {
|
|
13277
|
+
background-color: transparent;
|
|
13278
|
+
border-radius: 6px;
|
|
13279
|
+
transition: background-color 0.2s ease;
|
|
13280
|
+
}
|
|
13281
|
+
|
|
13282
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
13270
13283
|
background-color: ${({ scrollbarThumb: n }) => n};
|
|
13271
|
-
border-radius: 10px;
|
|
13272
|
-
border: 2px solid transparent;
|
|
13273
|
-
background-clip: padding-box;
|
|
13274
13284
|
}
|
|
13275
13285
|
|
|
13276
|
-
|
|
13286
|
+
&:hover::-webkit-scrollbar-thumb:hover {
|
|
13277
13287
|
background-color: ${({ scrollbarThumbHover: n }) => n};
|
|
13278
13288
|
}
|
|
13279
13289
|
`, R1 = H.div`
|
|
@@ -82,7 +82,7 @@ Error generating stack: `+a.message+`
|
|
|
82
82
|
display: flex;
|
|
83
83
|
align-items: center;
|
|
84
84
|
gap: 6px;
|
|
85
|
-
`,xm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:y,startNewChat:S}=Wl(),C=c.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",x=c.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",m=c.headerSubtitle||r?.chatUiConfig?.headerSubtitle,_=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(fm,{theme:s,children:[v.jsxs(dm,{children:[v.jsx(hm,{theme:s,hasCustomIcon:!0,children:v.jsx(ym,{src:x,alt:""})}),v.jsxs(mm,{children:[v.jsx(gm,{fontFamily:s.fontFamily,children:C}),m&&v.jsx(pm,{fontFamily:s.fontFamily,children:m}),v.jsxs(vm,{fontFamily:s.fontFamily,children:[_," v","1.0.
|
|
85
|
+
`,xm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:y,startNewChat:S}=Wl(),C=c.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",x=c.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",m=c.headerSubtitle||r?.chatUiConfig?.headerSubtitle,_=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(fm,{theme:s,children:[v.jsxs(dm,{children:[v.jsx(hm,{theme:s,hasCustomIcon:!0,children:v.jsx(ym,{src:x,alt:""})}),v.jsxs(mm,{children:[v.jsx(gm,{fontFamily:s.fontFamily,children:C}),m&&v.jsx(pm,{fontFamily:s.fontFamily,children:m}),v.jsxs(vm,{fontFamily:s.fontFamily,children:[_," v","1.0.70"]})]})]}),v.jsxs(bm,{children:[v.jsx(nc,{theme:s,onClick:S,"aria-label":"Start new chat",children:v.jsx(om,{size:16})}),v.jsx(nc,{theme:s,onClick:y,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(gs,{size:16}):v.jsx(ys,{size:16})}),c.floatingMode&&v.jsx(nc,{theme:s,onClick:n,"aria-label":"Minimize chat",children:v.jsx(nm,{size:16})})]})]})},Sm=N.div`
|
|
86
86
|
position: relative;
|
|
87
87
|
background-color: ${({theme:n})=>n.colors.background};
|
|
88
88
|
border-bottom: 1px solid ${({theme:n})=>n.colors.borderLight};
|
|
@@ -379,9 +379,16 @@ Error generating stack: `+a.message+`
|
|
|
379
379
|
font-family: ${({fontFamily:n})=>n};
|
|
380
380
|
background-color: ${({background:n})=>n};
|
|
381
381
|
|
|
382
|
-
/*
|
|
382
|
+
/* Thin scrollbar, visible only on hover */
|
|
383
|
+
scrollbar-width: thin;
|
|
384
|
+
scrollbar-color: transparent transparent;
|
|
385
|
+
|
|
386
|
+
&:hover {
|
|
387
|
+
scrollbar-color: ${({scrollbarThumb:n})=>n} transparent;
|
|
388
|
+
}
|
|
389
|
+
|
|
383
390
|
&::-webkit-scrollbar {
|
|
384
|
-
width:
|
|
391
|
+
width: 6px;
|
|
385
392
|
}
|
|
386
393
|
|
|
387
394
|
&::-webkit-scrollbar-track {
|
|
@@ -389,13 +396,16 @@ Error generating stack: `+a.message+`
|
|
|
389
396
|
}
|
|
390
397
|
|
|
391
398
|
&::-webkit-scrollbar-thumb {
|
|
399
|
+
background-color: transparent;
|
|
400
|
+
border-radius: 6px;
|
|
401
|
+
transition: background-color 0.2s ease;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
392
405
|
background-color: ${({scrollbarThumb:n})=>n};
|
|
393
|
-
border-radius: 10px;
|
|
394
|
-
border: 2px solid transparent;
|
|
395
|
-
background-clip: padding-box;
|
|
396
406
|
}
|
|
397
407
|
|
|
398
|
-
|
|
408
|
+
&:hover::-webkit-scrollbar-thumb:hover {
|
|
399
409
|
background-color: ${({scrollbarThumbHover:n})=>n};
|
|
400
410
|
}
|
|
401
411
|
`,Im=N.div`
|
package/package.json
CHANGED