@mypatientspace/chatbot-widget 1.0.35 → 1.0.37

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