@mypatientspace/chatbot-widget 1.0.41 → 1.0.42

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.
@@ -13210,6 +13210,7 @@ const Lp = R.memo(function() {
13210
13210
  font-weight: ${S.fontWeight.semibold};
13211
13211
  color: ${S.colors.text};
13212
13212
  margin-bottom: ${S.spacing.xs};
13213
+ padding: 0;
13213
13214
  `,
13214
13215
  subtitle: L`
13215
13216
  font-size: ${S.fontSize.sm};
@@ -13221,7 +13222,6 @@ const Lp = R.memo(function() {
13221
13222
  background: ${S.colors.panelBackground};
13222
13223
  border-radius: ${S.borderRadius.xl};
13223
13224
  box-shadow: 0 4px 24px rgba(60, 77, 115, 0.1);
13224
- overflow: hidden;
13225
13225
  position: relative;
13226
13226
 
13227
13227
  /* Override widget's fixed positioning to absolute within container */
@@ -14033,7 +14033,7 @@ const gn = () => {
14033
14033
  _ && /* @__PURE__ */ K.jsxs(hb, { fontFamily: s.fontFamily, children: [
14034
14034
  _,
14035
14035
  " v",
14036
- "1.0.41"
14036
+ "1.0.42"
14037
14037
  ] })
14038
14038
  ] })
14039
14039
  ] }),
@@ -14612,6 +14612,7 @@ const gn = () => {
14612
14612
  flex-direction: column;
14613
14613
  width: ${({ floatingMode: u }) => u ? "380px" : "100%"};
14614
14614
  height: ${({ floatingMode: u }) => u ? "520px" : "100%"};
14615
+ max-height: ${({ floatingMode: u }) => u ? "calc(100vh - 100px)" : "100%"};
14615
14616
  background-color: ${({ theme: u }) => u.colors.background};
14616
14617
  border-radius: ${({ theme: u, floatingMode: o }) => o ? u.borderRadius : "0"};
14617
14618
  box-shadow: ${({ theme: u, floatingMode: o }) => o ? u.shadow : "none"};
@@ -468,6 +468,7 @@ Error generating stack: `+a.message+`
468
468
  font-weight: ${S.fontWeight.semibold};
469
469
  color: ${S.colors.text};
470
470
  margin-bottom: ${S.spacing.xs};
471
+ padding: 0;
471
472
  `,subtitle:X`
472
473
  font-size: ${S.fontSize.sm};
473
474
  color: ${S.colors.textLight};
@@ -477,7 +478,6 @@ Error generating stack: `+a.message+`
477
478
  background: ${S.colors.panelBackground};
478
479
  border-radius: ${S.borderRadius.xl};
479
480
  box-shadow: 0 4px 24px rgba(60, 77, 115, 0.1);
480
- overflow: hidden;
481
481
  position: relative;
482
482
 
483
483
  /* Override widget's fixed positioning to absolute within container */
@@ -594,7 +594,7 @@ Error generating stack: `+a.message+`
594
594
  &:active {
595
595
  background-color: rgba(255, 255, 255, 0.4);
596
596
  }
597
- `,Hy=()=>{const{close:u,config:o,theme:s,assistant:r}=_a(),d=o.headerTitle||r?.chatUiConfig?.avatarTitle||"Chat",g=o.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL,v=o.headerSubtitle||r?.chatUiConfig?.headerSubtitle,M=o.brandingText||r?.chatUiConfig?.brandingText;return k.jsxs(_y,{theme:s,children:[k.jsxs(My,{children:[g&&k.jsx(Oy,{theme:s,hasCustomIcon:!0,children:k.jsx(Dy,{src:g,alt:""})}),k.jsxs(Ry,{children:[k.jsx(By,{fontFamily:s.fontFamily,children:d}),v&&k.jsx(Uy,{fontFamily:s.fontFamily,children:v}),M&&k.jsxs(Ny,{fontFamily:s.fontFamily,children:[M," v","1.0.41"]})]})]}),o.floatingMode&&k.jsx(wy,{theme:s,onClick:u,"aria-label":"Minimize chat",children:k.jsx(Mf,{size:20})})]})},qy=bt.div`
597
+ `,Hy=()=>{const{close:u,config:o,theme:s,assistant:r}=_a(),d=o.headerTitle||r?.chatUiConfig?.avatarTitle||"Chat",g=o.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL,v=o.headerSubtitle||r?.chatUiConfig?.headerSubtitle,M=o.brandingText||r?.chatUiConfig?.brandingText;return k.jsxs(_y,{theme:s,children:[k.jsxs(My,{children:[g&&k.jsx(Oy,{theme:s,hasCustomIcon:!0,children:k.jsx(Dy,{src:g,alt:""})}),k.jsxs(Ry,{children:[k.jsx(By,{fontFamily:s.fontFamily,children:d}),v&&k.jsx(Uy,{fontFamily:s.fontFamily,children:v}),M&&k.jsxs(Ny,{fontFamily:s.fontFamily,children:[M," v","1.0.42"]})]})]}),o.floatingMode&&k.jsx(wy,{theme:s,onClick:u,"aria-label":"Minimize chat",children:k.jsx(Mf,{size:20})})]})},qy=bt.div`
598
598
  display: flex;
599
599
  gap: 8px;
600
600
  padding: 12px 16px;
@@ -947,6 +947,7 @@ Error generating stack: `+a.message+`
947
947
  flex-direction: column;
948
948
  width: ${({floatingMode:u})=>u?"380px":"100%"};
949
949
  height: ${({floatingMode:u})=>u?"520px":"100%"};
950
+ max-height: ${({floatingMode:u})=>u?"calc(100vh - 100px)":"100%"};
950
951
  background-color: ${({theme:u})=>u.colors.background};
951
952
  border-radius: ${({theme:u,floatingMode:o})=>o?u.borderRadius:"0"};
952
953
  box-shadow: ${({theme:u,floatingMode:o})=>o?u.shadow:"none"};
@@ -12425,7 +12425,7 @@ const ig = [
12425
12425
  D && /* @__PURE__ */ K.jsxs(hg, { fontFamily: o.fontFamily, children: [
12426
12426
  D,
12427
12427
  " v",
12428
- "1.0.41"
12428
+ "1.0.42"
12429
12429
  ] })
12430
12430
  ] })
12431
12431
  ] }),
@@ -13004,6 +13004,7 @@ const ig = [
13004
13004
  flex-direction: column;
13005
13005
  width: ${({ floatingMode: i }) => i ? "380px" : "100%"};
13006
13006
  height: ${({ floatingMode: i }) => i ? "520px" : "100%"};
13007
+ max-height: ${({ floatingMode: i }) => i ? "calc(100vh - 100px)" : "100%"};
13007
13008
  background-color: ${({ theme: i }) => i.colors.background};
13008
13009
  border-radius: ${({ theme: i, floatingMode: f }) => f ? i.borderRadius : "0"};
13009
13010
  box-shadow: ${({ theme: i, floatingMode: f }) => f ? i.shadow : "none"};
@@ -78,7 +78,7 @@ Error generating stack: `+a.message+`
78
78
  &:active {
79
79
  background-color: rgba(255, 255, 255, 0.4);
80
80
  }
81
- `,Lm=()=>{const{close:i,config:f,theme:s,assistant:r}=ca(),m=f.headerTitle||r?.chatUiConfig?.avatarTitle||"Chat",v=f.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL,E=f.headerSubtitle||r?.chatUiConfig?.headerSubtitle,D=f.brandingText||r?.chatUiConfig?.brandingText;return K.jsxs(Nm,{theme:s,children:[K.jsxs(Hm,{children:[v&&K.jsx(jm,{theme:s,hasCustomIcon:!0,children:K.jsx(qm,{src:v,alt:""})}),K.jsxs(Bm,{children:[K.jsx(Ym,{fontFamily:s.fontFamily,children:m}),E&&K.jsx(Gm,{fontFamily:s.fontFamily,children:E}),D&&K.jsxs(Xm,{fontFamily:s.fontFamily,children:[D," v","1.0.41"]})]})]}),f.floatingMode&&K.jsx(Qm,{theme:s,onClick:i,"aria-label":"Minimize chat",children:K.jsx(Om,{size:20})})]})},Zm=yt.div`
81
+ `,Lm=()=>{const{close:i,config:f,theme:s,assistant:r}=ca(),m=f.headerTitle||r?.chatUiConfig?.avatarTitle||"Chat",v=f.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL,E=f.headerSubtitle||r?.chatUiConfig?.headerSubtitle,D=f.brandingText||r?.chatUiConfig?.brandingText;return K.jsxs(Nm,{theme:s,children:[K.jsxs(Hm,{children:[v&&K.jsx(jm,{theme:s,hasCustomIcon:!0,children:K.jsx(qm,{src:v,alt:""})}),K.jsxs(Bm,{children:[K.jsx(Ym,{fontFamily:s.fontFamily,children:m}),E&&K.jsx(Gm,{fontFamily:s.fontFamily,children:E}),D&&K.jsxs(Xm,{fontFamily:s.fontFamily,children:[D," v","1.0.42"]})]})]}),f.floatingMode&&K.jsx(Qm,{theme:s,onClick:i,"aria-label":"Minimize chat",children:K.jsx(Om,{size:20})})]})},Zm=yt.div`
82
82
  display: flex;
83
83
  gap: 8px;
84
84
  padding: 12px 16px;
@@ -431,6 +431,7 @@ Error generating stack: `+a.message+`
431
431
  flex-direction: column;
432
432
  width: ${({floatingMode:i})=>i?"380px":"100%"};
433
433
  height: ${({floatingMode:i})=>i?"520px":"100%"};
434
+ max-height: ${({floatingMode:i})=>i?"calc(100vh - 100px)":"100%"};
434
435
  background-color: ${({theme:i})=>i.colors.background};
435
436
  border-radius: ${({theme:i,floatingMode:f})=>f?i.borderRadius:"0"};
436
437
  box-shadow: ${({theme:i,floatingMode:f})=>f?i.shadow:"none"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mypatientspace/chatbot-widget",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "Embeddable healthcare chatbot widget for websites and mobile apps",
5
5
  "type": "module",
6
6
  "main": "dist/mypatientspace-widget.umd.js",