@ni/ok-components 0.2.19 → 0.2.20

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.
@@ -97755,6 +97755,14 @@ focus outline in that case.
97755
97755
  display: none;
97756
97756
  }
97757
97757
 
97758
+ .start {
97759
+ display: block;
97760
+ }
97761
+
97762
+ .start.start-empty {
97763
+ display: none;
97764
+ }
97765
+
97758
97766
  .messages {
97759
97767
  flex: 1;
97760
97768
  display: flex;
@@ -97785,6 +97793,9 @@ focus outline in that case.
97785
97793
  <div class="toolbar ${x => (x.toolbarEmpty ? 'toolbar-empty' : '')}">
97786
97794
  <slot name="toolbar" ${slotted({ property: 'slottedToolbarElements' })}></slot>
97787
97795
  </div>
97796
+ <div class="start ${x => (x.startEmpty ? 'start-empty' : '')}">
97797
+ <slot name="start" ${slotted({ property: 'slottedStartElements' })}></slot>
97798
+ </div>
97788
97799
  <div class="messages"><slot></slot></div>
97789
97800
  <div class="input ${x => (x.inputEmpty ? 'input-empty' : '')}">
97790
97801
  <slot name="input" ${slotted({ property: 'slottedInputElements' })}>
@@ -97810,6 +97821,8 @@ focus outline in that case.
97810
97821
  this.inputEmpty = true;
97811
97822
  /** @internal */
97812
97823
  this.toolbarEmpty = true;
97824
+ /** @internal */
97825
+ this.startEmpty = true;
97813
97826
  }
97814
97827
  slottedInputElementsChanged(_prev, next) {
97815
97828
  this.inputEmpty = next === undefined || next.length === 0;
@@ -97817,6 +97830,9 @@ focus outline in that case.
97817
97830
  slottedToolbarElementsChanged(_prev, next) {
97818
97831
  this.toolbarEmpty = next === undefined || next.length === 0;
97819
97832
  }
97833
+ slottedStartElementsChanged(_prev, next) {
97834
+ this.startEmpty = next === undefined || next.length === 0;
97835
+ }
97820
97836
  }
97821
97837
  __decorate([
97822
97838
  attr
@@ -97833,6 +97849,12 @@ focus outline in that case.
97833
97849
  __decorate([
97834
97850
  observable
97835
97851
  ], ChatConversation.prototype, "slottedToolbarElements", void 0);
97852
+ __decorate([
97853
+ observable
97854
+ ], ChatConversation.prototype, "startEmpty", void 0);
97855
+ __decorate([
97856
+ observable
97857
+ ], ChatConversation.prototype, "slottedStartElements", void 0);
97836
97858
  const sprightChatConversation = ChatConversation.compose({
97837
97859
  baseName: 'chat-conversation',
97838
97860
  template: template$8,