lr-chatbot 0.29.12 → 0.29.14

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.
Files changed (3) hide show
  1. package/index.js +24 -3
  2. package/index.js.map +1 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -21276,18 +21276,23 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21276
21276
  --font-family: var(--lr-poppins);
21277
21277
  font-family: var(--font-family);
21278
21278
  }
21279
+
21279
21280
  :host #chat-wrapper {
21280
21281
  position: relative;
21281
21282
  }
21283
+
21282
21284
  :host #chat-element {
21283
21285
  height: 100% !important;
21284
21286
  max-width: var(--chat-sticky-width) !important;
21287
+
21285
21288
  @media (min-width: ${k(w.devices.mobile.max)}px) {
21286
21289
  width: 45vw !important;
21287
21290
  }
21291
+
21288
21292
  @media (min-width: ${k(w.devices.tablet.max)}px) {
21289
21293
  width: 35vw !important;
21290
21294
  }
21295
+
21291
21296
  @media (min-width: ${k(w.devices.laptop.max)}px) {
21292
21297
  width: 25vw !important;
21293
21298
  }
@@ -21298,28 +21303,36 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21298
21303
  font-family: var(--font-poppins);
21299
21304
  transform-origin: bottom;
21300
21305
  }
21306
+
21301
21307
  #chat-wrapper[data-sticky='true'] {
21302
21308
  position: fixed;
21303
21309
  bottom: 0;
21304
- right: var(--chat-sticky-offset-right);
21310
+ top: 0;
21311
+ margin-left: -8px;
21305
21312
  z-index: 10001;
21306
- width: var(--chat-sticky-width);
21307
21313
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.16), 0px 4px 8px 2px rgba(0, 0, 0, 0.08);
21314
+
21308
21315
  @media (min-width: ${k(w.devices.mobile.max)}px) {
21316
+ margin-left: inherit;
21317
+ top: inherit;
21309
21318
  --chat-sticky-width: max(45vw, --chat-sticky-min-width);
21310
21319
  --chat-sticky-offset-right: 100px;
21311
21320
  }
21321
+
21312
21322
  @media (min-width: ${k(w.devices.tablet.max)}px) {
21313
21323
  --chat-sticky-width: max(35vw, --chat-sticky-min-width);
21314
21324
  }
21325
+
21315
21326
  @media (min-width: ${k(w.devices.laptop.max)}px) {
21316
21327
  --chat-sticky-width: max(25vw, --chat-sticky-min-width);
21317
21328
  }
21318
21329
  }
21330
+
21319
21331
  #chat-wrapper[data-opened='false'] {
21320
21332
  bottom: -100%;
21321
21333
  opacity: 0;
21322
21334
  }
21335
+
21323
21336
  #chat-wrapper-menu {
21324
21337
  background-color: #cbd2ff;
21325
21338
  color: white;
@@ -21328,11 +21341,13 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21328
21341
  align-items: center;
21329
21342
  justify-content: space-between;
21330
21343
  color: ${k(w.colors.base.greys.tone900)};
21344
+
21331
21345
  @media (min-width: ${k(w.devices.mobile.max)}px) {
21332
21346
  border-top-left-radius: 4px;
21333
21347
  border-top-right-radius: 4px;
21334
21348
  }
21335
21349
  }
21350
+
21336
21351
  #chat-wrapper-menu-button-container {
21337
21352
  display: flex;
21338
21353
  align-items: center;
@@ -21342,6 +21357,7 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21342
21357
  color: currentColor;
21343
21358
  }
21344
21359
  }
21360
+
21345
21361
  #chat-wrapper-menu-title {
21346
21362
  font-size: 1.25rem;
21347
21363
  font-weight: 600;
@@ -21370,6 +21386,7 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21370
21386
  &:hover {
21371
21387
  transform: scale(1.1) translate(-50%, 0%);
21372
21388
  }
21389
+
21373
21390
  @media (min-width: ${k(w.devices.mobile.max)}px) {
21374
21391
  --chat-sticky-width: 45vw;
21375
21392
  --chat-sticky-offset-left: calc(
@@ -21384,9 +21401,11 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21384
21401
  transform: scale(1.1) translate(0%, 0%);
21385
21402
  }
21386
21403
  }
21404
+
21387
21405
  @media (min-width: ${k(w.devices.tablet.max)}px) {
21388
21406
  --chat-sticky-width: 35vw;
21389
21407
  }
21408
+
21390
21409
  @media (min-width: ${k(w.devices.laptop.max)}px) {
21391
21410
  --chat-sticky-width: 25vw;
21392
21411
  }
@@ -21413,11 +21432,13 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
21413
21432
  background-color: #f9f9fb;
21414
21433
  z-index: 1001;
21415
21434
  height: 100%;
21435
+
21416
21436
  p {
21417
21437
  font-size: 0.75rem;
21418
21438
  font-weight: 400;
21419
21439
  text-align: center;
21420
21440
  }
21441
+
21421
21442
  div {
21422
21443
  display: flex;
21423
21444
  flex-direction: column;
@@ -23104,7 +23125,7 @@ let It = class extends ge {
23104
23125
  qn(this, oi, t);
23105
23126
  }
23106
23127
  getVersion() {
23107
- return "LR Chatbot - v0.29.12";
23128
+ return "LR Chatbot - v0.29.14";
23108
23129
  }
23109
23130
  async connectedCallback() {
23110
23131
  super.connectedCallback(), this._conversationHistoryTask.run();