@mypatientspace/chatbot-widget 1.0.76 → 1.0.77

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.
@@ -14873,7 +14873,9 @@ const Da = () => {
14873
14873
  display: flex;
14874
14874
  align-items: center;
14875
14875
  justify-content: space-between;
14876
- padding: 16px;
14876
+ height: 64px;
14877
+ padding: 0 16px;
14878
+ flex-shrink: 0;
14877
14879
  background-color: ${({ theme: l }) => l.colors.secondary};
14878
14880
  color: ${({ theme: l }) => l.colors.headerText};
14879
14881
  border-radius: ${({ theme: l }) => l.borderRadius} ${({ theme: l }) => l.borderRadius} 0 0;
@@ -14964,7 +14966,7 @@ const Da = () => {
14964
14966
  /* @__PURE__ */ v.jsxs(y1, { fontFamily: s.fontFamily, children: [
14965
14967
  A,
14966
14968
  " v",
14967
- "1.0.76"
14969
+ "1.0.77"
14968
14970
  ] })
14969
14971
  ] })
14970
14972
  ] }),
@@ -736,7 +736,9 @@ Error generating stack: `+a.message+`
736
736
  display: flex;
737
737
  align-items: center;
738
738
  justify-content: space-between;
739
- padding: 16px;
739
+ height: 64px;
740
+ padding: 0 16px;
741
+ flex-shrink: 0;
740
742
  background-color: ${({theme:l})=>l.colors.secondary};
741
743
  color: ${({theme:l})=>l.colors.headerText};
742
744
  border-radius: ${({theme:l})=>l.borderRadius} ${({theme:l})=>l.borderRadius} 0 0;
@@ -816,7 +818,7 @@ Error generating stack: `+a.message+`
816
818
  @media (max-width: 420px) {
817
819
  ${({floatingMode:l})=>l&&"display: none;"}
818
820
  }
819
- `,Hy=()=>{const{close:l,config:r,theme:s,assistant:u,isExpanded:d,toggleExpanded:h,requestNewChat:y}=pa(),T=r.headerTitle||u?.chatUiConfig?.avatarTitle||"AI Doctor",S=r.headerIcon||u?.chatUiConfig?.avatarImage?.iconURL||u?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=r.headerSubtitle||u?.chatUiConfig?.headerSubtitle,A=r.brandingText||u?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(My,{theme:s,floatingMode:r.floatingMode,children:[v.jsxs(wy,{children:[v.jsx(_y,{theme:s,hasCustomIcon:!0,children:v.jsx(Oy,{src:S,alt:""})}),v.jsxs($y,{children:[v.jsx(By,{fontFamily:s.fontFamily,children:T}),g&&v.jsx(Dy,{fontFamily:s.fontFamily,children:g}),v.jsxs(Ry,{fontFamily:s.fontFamily,children:[A," v","1.0.76"]})]})]}),v.jsxs(Ny,{children:[v.jsx(Ji,{theme:s,onClick:y,"aria-label":"Start new chat",children:v.jsx(Dm,{size:16})}),!r.hideExpandButton&&v.jsx(jy,{floatingMode:r.floatingMode,children:v.jsx(Ji,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(Ws,{size:16}):v.jsx(Ks,{size:16})})}),r.showCloseSlot?v.jsx(Ji,{theme:s,"aria-label":"Close chat slot"}):r.floatingMode?v.jsx(Ji,{theme:s,onClick:l,"aria-label":"Close chat",children:v.jsx(Ll,{size:16})}):null]})]})},ky=R.div`
821
+ `,Hy=()=>{const{close:l,config:r,theme:s,assistant:u,isExpanded:d,toggleExpanded:h,requestNewChat:y}=pa(),T=r.headerTitle||u?.chatUiConfig?.avatarTitle||"AI Doctor",S=r.headerIcon||u?.chatUiConfig?.avatarImage?.iconURL||u?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=r.headerSubtitle||u?.chatUiConfig?.headerSubtitle,A=r.brandingText||u?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(My,{theme:s,floatingMode:r.floatingMode,children:[v.jsxs(wy,{children:[v.jsx(_y,{theme:s,hasCustomIcon:!0,children:v.jsx(Oy,{src:S,alt:""})}),v.jsxs($y,{children:[v.jsx(By,{fontFamily:s.fontFamily,children:T}),g&&v.jsx(Dy,{fontFamily:s.fontFamily,children:g}),v.jsxs(Ry,{fontFamily:s.fontFamily,children:[A," v","1.0.77"]})]})]}),v.jsxs(Ny,{children:[v.jsx(Ji,{theme:s,onClick:y,"aria-label":"Start new chat",children:v.jsx(Dm,{size:16})}),!r.hideExpandButton&&v.jsx(jy,{floatingMode:r.floatingMode,children:v.jsx(Ji,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(Ws,{size:16}):v.jsx(Ks,{size:16})})}),r.showCloseSlot?v.jsx(Ji,{theme:s,"aria-label":"Close chat slot"}):r.floatingMode?v.jsx(Ji,{theme:s,onClick:l,"aria-label":"Close chat",children:v.jsx(Ll,{size:16})}):null]})]})},ky=R.div`
820
822
  position: relative;
821
823
  background-color: ${({theme:l})=>l.colors.background};
822
824
  border-bottom: 1px solid ${({theme:l})=>l.colors.borderLight};
@@ -12702,7 +12702,9 @@ const Qg = [
12702
12702
  display: flex;
12703
12703
  align-items: center;
12704
12704
  justify-content: space-between;
12705
- padding: 16px;
12705
+ height: 64px;
12706
+ padding: 0 16px;
12707
+ flex-shrink: 0;
12706
12708
  background-color: ${({ theme: n }) => n.colors.secondary};
12707
12709
  color: ${({ theme: n }) => n.colors.headerText};
12708
12710
  border-radius: ${({ theme: n }) => n.borderRadius} ${({ theme: n }) => n.borderRadius} 0 0;
@@ -12793,7 +12795,7 @@ const Qg = [
12793
12795
  /* @__PURE__ */ v.jsxs(Ig, { fontFamily: s.fontFamily, children: [
12794
12796
  M,
12795
12797
  " v",
12796
- "1.0.76"
12798
+ "1.0.77"
12797
12799
  ] })
12798
12800
  ] })
12799
12801
  ] }),
@@ -12,7 +12,9 @@ Error generating stack: `+a.message+`
12
12
  display: flex;
13
13
  align-items: center;
14
14
  justify-content: space-between;
15
- padding: 16px;
15
+ height: 64px;
16
+ padding: 0 16px;
17
+ flex-shrink: 0;
16
18
  background-color: ${({theme:n})=>n.colors.secondary};
17
19
  color: ${({theme:n})=>n.colors.headerText};
18
20
  border-radius: ${({theme:n})=>n.borderRadius} ${({theme:n})=>n.borderRadius} 0 0;
@@ -92,7 +94,7 @@ Error generating stack: `+a.message+`
92
94
  @media (max-width: 420px) {
93
95
  ${({floatingMode:n})=>n&&"display: none;"}
94
96
  }
95
- `,Cm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,requestNewChat:S}=Jl(),A=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,O=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(mm,{theme:s,floatingMode:c.floatingMode,children:[v.jsxs(pm,{children:[v.jsx(gm,{theme:s,hasCustomIcon:!0,children:v.jsx(vm,{src:x,alt:""})}),v.jsxs(bm,{children:[v.jsx(xm,{fontFamily:s.fontFamily,children:A}),m&&v.jsx(Sm,{fontFamily:s.fontFamily,children:m}),v.jsxs(Tm,{fontFamily:s.fontFamily,children:[O," v","1.0.76"]})]})]}),v.jsxs(Em,{children:[v.jsx(Si,{theme:s,onClick:S,"aria-label":"Start new chat",children:v.jsx(fm,{size:16})}),!c.hideExpandButton&&v.jsx(zm,{floatingMode:c.floatingMode,children:v.jsx(Si,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(xs,{size:16}):v.jsx(vs,{size:16})})}),c.showCloseSlot?v.jsx(Si,{theme:s,"aria-label":"Close chat slot"}):c.floatingMode?v.jsx(Si,{theme:s,onClick:n,"aria-label":"Close chat",children:v.jsx(xi,{size:16})}):null]})]})},Am=R.div`
97
+ `,Cm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,requestNewChat:S}=Jl(),A=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,O=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(mm,{theme:s,floatingMode:c.floatingMode,children:[v.jsxs(pm,{children:[v.jsx(gm,{theme:s,hasCustomIcon:!0,children:v.jsx(vm,{src:x,alt:""})}),v.jsxs(bm,{children:[v.jsx(xm,{fontFamily:s.fontFamily,children:A}),m&&v.jsx(Sm,{fontFamily:s.fontFamily,children:m}),v.jsxs(Tm,{fontFamily:s.fontFamily,children:[O," v","1.0.77"]})]})]}),v.jsxs(Em,{children:[v.jsx(Si,{theme:s,onClick:S,"aria-label":"Start new chat",children:v.jsx(fm,{size:16})}),!c.hideExpandButton&&v.jsx(zm,{floatingMode:c.floatingMode,children:v.jsx(Si,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(xs,{size:16}):v.jsx(vs,{size:16})})}),c.showCloseSlot?v.jsx(Si,{theme:s,"aria-label":"Close chat slot"}):c.floatingMode?v.jsx(Si,{theme:s,onClick:n,"aria-label":"Close chat",children:v.jsx(xi,{size:16})}):null]})]})},Am=R.div`
96
98
  position: relative;
97
99
  background-color: ${({theme:n})=>n.colors.background};
98
100
  border-bottom: 1px solid ${({theme:n})=>n.colors.borderLight};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mypatientspace/chatbot-widget",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "description": "Embeddable healthcare chatbot widget for websites and mobile apps",
5
5
  "type": "module",
6
6
  "main": "dist/mypatientspace-widget.umd.js",