@mypatientspace/chatbot-widget 1.0.37 → 1.0.39

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.
@@ -13194,8 +13194,12 @@ const Lp = R.memo(function() {
13194
13194
  background: ${S.colors.pageBackground};
13195
13195
  position: relative;
13196
13196
  height: 100%;
13197
- min-height: ${S.layout.minPreviewHeight};
13198
13197
  overflow: hidden;
13198
+
13199
+ @media (max-width: ${S.breakpoints.mobile}) {
13200
+ height: auto;
13201
+ min-height: ${S.layout.minPreviewHeight};
13202
+ }
13199
13203
  `,
13200
13204
  header: L`
13201
13205
  margin-bottom: ${S.spacing.md};
@@ -13213,7 +13217,7 @@ const Lp = R.memo(function() {
13213
13217
  `,
13214
13218
  container: L`
13215
13219
  flex: 1;
13216
- min-height: 500px;
13220
+ min-height: 0;
13217
13221
  background: ${S.colors.panelBackground};
13218
13222
  border-radius: ${S.borderRadius.xl};
13219
13223
  box-shadow: 0 4px 24px rgba(60, 77, 115, 0.1);
@@ -13223,7 +13227,6 @@ const Lp = R.memo(function() {
13223
13227
  /* Override widget's fixed positioning to absolute within container */
13224
13228
  .chatbot-widget-container {
13225
13229
  position: absolute !important;
13226
- inset: 0;
13227
13230
  }
13228
13231
  `,
13229
13232
  containerFloating: L`
@@ -13290,12 +13293,12 @@ const Lp = R.memo(function() {
13290
13293
  display: grid;
13291
13294
  grid-template-columns: ${S.layout.controlsPanelWidth} 1fr;
13292
13295
  height: 100%;
13293
- min-height: ${S.layout.minPreviewHeight};
13294
13296
  width: 100%;
13295
13297
 
13296
13298
  @media (max-width: ${S.breakpoints.mobile}) {
13297
13299
  grid-template-columns: 1fr;
13298
13300
  height: auto;
13301
+ min-height: 100%;
13299
13302
  }
13300
13303
  `,
13301
13304
  layoutPreviewOnly: L`
@@ -14030,7 +14033,7 @@ const gn = () => {
14030
14033
  _ && /* @__PURE__ */ K.jsxs(hb, { fontFamily: s.fontFamily, children: [
14031
14034
  _,
14032
14035
  " v",
14033
- "1.0.37"
14036
+ "1.0.39"
14034
14037
  ] })
14035
14038
  ] })
14036
14039
  ] }),
@@ -454,8 +454,12 @@ Error generating stack: `+a.message+`
454
454
  background: ${S.colors.pageBackground};
455
455
  position: relative;
456
456
  height: 100%;
457
- min-height: ${S.layout.minPreviewHeight};
458
457
  overflow: hidden;
458
+
459
+ @media (max-width: ${S.breakpoints.mobile}) {
460
+ height: auto;
461
+ min-height: ${S.layout.minPreviewHeight};
462
+ }
459
463
  `,header:X`
460
464
  margin-bottom: ${S.spacing.md};
461
465
  flex-shrink: 0;
@@ -469,7 +473,7 @@ Error generating stack: `+a.message+`
469
473
  color: ${S.colors.textLight};
470
474
  `,container:X`
471
475
  flex: 1;
472
- min-height: 500px;
476
+ min-height: 0;
473
477
  background: ${S.colors.panelBackground};
474
478
  border-radius: ${S.borderRadius.xl};
475
479
  box-shadow: 0 4px 24px rgba(60, 77, 115, 0.1);
@@ -479,7 +483,6 @@ Error generating stack: `+a.message+`
479
483
  /* Override widget's fixed positioning to absolute within container */
480
484
  .chatbot-widget-container {
481
485
  position: absolute !important;
482
- inset: 0;
483
486
  }
484
487
  `,containerFloating:X`
485
488
  background: transparent;
@@ -502,12 +505,12 @@ Error generating stack: `+a.message+`
502
505
  display: grid;
503
506
  grid-template-columns: ${S.layout.controlsPanelWidth} 1fr;
504
507
  height: 100%;
505
- min-height: ${S.layout.minPreviewHeight};
506
508
  width: 100%;
507
509
 
508
510
  @media (max-width: ${S.breakpoints.mobile}) {
509
511
  grid-template-columns: 1fr;
510
512
  height: auto;
513
+ min-height: 100%;
511
514
  }
512
515
  `,layoutPreviewOnly:X`
513
516
  grid-template-columns: 1fr;
@@ -591,7 +594,7 @@ Error generating stack: `+a.message+`
591
594
  &:active {
592
595
  background-color: rgba(255, 255, 255, 0.4);
593
596
  }
594
- `,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.37"]})]})]}),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.39"]})]})]}),o.floatingMode&&k.jsx(wy,{theme:s,onClick:u,"aria-label":"Minimize chat",children:k.jsx(Mf,{size:20})})]})},qy=bt.div`
595
598
  display: flex;
596
599
  gap: 8px;
597
600
  padding: 12px 16px;