@orangelogic/design-system 2.117.0 → 2.118.0

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.
@@ -23764,8 +23764,8 @@ let Ci = class extends kn {
23764
23764
  get skipCloseConfirm() {
23765
23765
  return localStorage.getItem(B8.SKIP_CLOSE_CONFIRM) === "true";
23766
23766
  }
23767
- runFirstUpdated() {
23768
- this.connect({}), this.animateChatbot();
23767
+ runConnectedCallback() {
23768
+ this.connect({}), this.isOpen && this.animateChatbot();
23769
23769
  }
23770
23770
  // #region Public methods
23771
23771
  connect({
@@ -23908,7 +23908,7 @@ let Ci = class extends kn {
23908
23908
  return;
23909
23909
  }
23910
23910
  if (this.isFullscreen) {
23911
- this.minimizedContent.style.opacity = "0", this.minimizedContent.style.visibility = "hidden", this.minimizedContent.style.height = "0", Vc(
23911
+ this.minimizedContent.style.setProperty("opacity", "0"), this.minimizedContent.style.setProperty("visibility", "hidden"), this.minimizedContent.style.setProperty("height", "0"), Vc(
23912
23912
  this.chatbot,
23913
23913
  {
23914
23914
  // @ts-expect-error TS2769
@@ -23953,11 +23953,11 @@ let Ci = class extends kn {
23953
23953
  },
23954
23954
  ww
23955
23955
  ).then(() => {
23956
- this.minimizedContent.style.height = "auto", this.minimizedContent.style.opacity = "1", this.minimizedContent.style.visibility = "visible";
23956
+ this.minimizedContent.style.setProperty("height", "auto"), this.minimizedContent.style.setProperty("opacity", "1"), this.minimizedContent.style.setProperty("visibility", "visible");
23957
23957
  });
23958
23958
  return;
23959
23959
  }
23960
- this.minimizedContent.style.opacity = "0", this.minimizedContent.style.visibility = "hidden", this.minimizedContent.style.height = "0", Vc(
23960
+ this.minimizedContent.style.setProperty("opacity", "0"), this.minimizedContent.style.setProperty("visibility", "hidden"), this.minimizedContent.style.setProperty("height", "0"), Vc(
23961
23961
  this.chatbot,
23962
23962
  {
23963
23963
  // @ts-expect-error TS2769
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.117.0",
4
+ "version": "2.118.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -86,7 +86,7 @@ export default class CxChatbot extends CortexElement {
86
86
  referenceNumberLimit: number;
87
87
  get skipCloseConfirm(): boolean;
88
88
  constructor();
89
- runFirstUpdated(): void;
89
+ runConnectedCallback(): void;
90
90
  connect({ botName, connection, conversationId, conversationPurpose, }: {
91
91
  botName?: string;
92
92
  connection?: string | signalR.HubConnection;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.117.0",
4
+ "version": "2.118.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {