@enegelai/bot-widget 1.12.1 → 1.12.2

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.
package/dist/index.es.js CHANGED
@@ -339,7 +339,7 @@ const Ke = /* @__PURE__ */ aa(Ua), Wa = X`
339
339
  color: var(--sl-color-neutral-600);
340
340
  width: 420px;
341
341
  overflow: hidden;
342
- display: flex;
342
+ display: none;
343
343
  flex-direction: column;
344
344
  justify-content: space-between;
345
345
  align-items: center;
@@ -352,7 +352,6 @@ const Ke = /* @__PURE__ */ aa(Ua), Wa = X`
352
352
  right: 25px;
353
353
  bottom: 100px;
354
354
  background: rgb(255, 255, 255);
355
- overflow: hidden;
356
355
 
357
356
  box-shadow: rgba(148, 149, 150, 0.2) 20px 20px 40px 20px;
358
357
 
@@ -371,6 +370,10 @@ const Ke = /* @__PURE__ */ aa(Ua), Wa = X`
371
370
  //animation: fadeIn 0.1s ease-in-out;
372
371
  }
373
372
 
373
+ .cb-wrapper.cb-open {
374
+ display: flex;
375
+ }
376
+
374
377
  .cb-alert-box {
375
378
  width: 100%;
376
379
  box-sizing: border-box;
@@ -6567,7 +6570,7 @@ let j = class extends te {
6567
6570
  }
6568
6571
  render() {
6569
6572
  return p.disabled && !this.alwaysOpen ? (Me.info("Bot is disabled until settings are loaded"), null) : g`
6570
- <div class="cb-wrapper" style="${p.open ? "display:flex" : "display:none"}" part="wrapper" exportparts="wrapper">
6573
+ <div class="cb-wrapper${p.open ? " cb-open" : ""}" part="wrapper${p.open ? " open" : ""}" exportparts="wrapper${p.open ? " open" : ""}">
6571
6574
  <cb-header title="${this.name}" exportparts="header, header-logo, header-title, header-close"></cb-header>
6572
6575
  <cb-message-list
6573
6576
  .messages=${p.messages}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enegelai/bot-widget",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "Enegel.ai Bot Widget",
5
5
  "scripts": {
6
6
  "dev": "vite",