@ni/spright-components 6.2.1 → 6.3.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.
@@ -93780,6 +93780,11 @@ focus outline in that case.
93780
93780
  border: ${borderWidth} solid ${applicationBackgroundColor};
93781
93781
  }
93782
93782
 
93783
+ :host([appearance='overlay']) {
93784
+ background: none;
93785
+ border-color: transparent;
93786
+ }
93787
+
93783
93788
  .messages {
93784
93789
  flex: 1;
93785
93790
  display: flex;
@@ -93792,6 +93797,10 @@ focus outline in that case.
93792
93797
  overflow-y: auto;
93793
93798
  }
93794
93799
 
93800
+ :host([appearance='overlay']) .messages {
93801
+ background: none;
93802
+ }
93803
+
93795
93804
  .input {
93796
93805
  padding: ${borderWidth} ${standardPadding} ${standardPadding}
93797
93806
  ${standardPadding};
@@ -93813,12 +93822,20 @@ focus outline in that case.
93813
93822
  `;
93814
93823
  /* eslint-enable @typescript-eslint/indent */
93815
93824
 
93825
+ /**
93826
+ * Appearances of chat conversation.
93827
+ * @public
93828
+ */
93829
+ const ChatConversationAppearance = {
93830
+ default: undefined};
93831
+
93816
93832
  /**
93817
93833
  * A Spright component for displaying a series of chat messages
93818
93834
  */
93819
93835
  class ChatConversation extends FoundationElement {
93820
93836
  constructor() {
93821
93837
  super(...arguments);
93838
+ this.appearance = ChatConversationAppearance.default;
93822
93839
  /** @internal */
93823
93840
  this.inputEmpty = true;
93824
93841
  }
@@ -93826,6 +93843,9 @@ focus outline in that case.
93826
93843
  this.inputEmpty = !next?.length;
93827
93844
  }
93828
93845
  }
93846
+ __decorate([
93847
+ attr
93848
+ ], ChatConversation.prototype, "appearance", void 0);
93829
93849
  __decorate([
93830
93850
  observable
93831
93851
  ], ChatConversation.prototype, "inputEmpty", void 0);