@kodaris/krubble-app-components 1.0.160 → 1.0.162

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.
@@ -5921,9 +5921,11 @@
5921
5921
  // Scroll the confirmation into view so the user actually sees the ask — an
5922
5922
  // agentic turn can stream many tool lines past the fold, leaving the prompt
5923
5923
  // below it. `block: 'end'` brings its bottom up to just above the composer.
5924
+ // Match on the alertdialog role: an earlier skill-offer card in the transcript
5925
+ // shares the .confirmation class and would otherwise win as the first match.
5924
5926
  if (this._inlineConfirm) {
5925
5927
  this.updateComplete.then(() => {
5926
- this._messagesEl?.querySelector('.confirmation')?.scrollIntoView({
5928
+ this._messagesEl?.querySelector('.confirmation[role="alertdialog"]')?.scrollIntoView({
5927
5929
  behavior: 'smooth',
5928
5930
  block: 'end',
5929
5931
  });
@@ -7736,11 +7738,25 @@
7736
7738
  box-sizing: border-box;
7737
7739
  }
7738
7740
 
7741
+ /* Shadow DOM blocks page selectors but not inherited properties, so every
7742
+ inheritable text property the host page sets on body would otherwise flow
7743
+ into the chatbot. Pin each one here so the chatbot looks the same on any
7744
+ page it is embedded in. */
7739
7745
  :host {
7740
7746
  display: block;
7741
7747
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
7742
7748
  font-size: 14px;
7749
+ font-weight: 400;
7750
+ font-style: normal;
7743
7751
  line-height: 1.6;
7752
+ letter-spacing: normal;
7753
+ word-spacing: normal;
7754
+ text-align: left;
7755
+ text-transform: none;
7756
+ text-indent: 0;
7757
+ text-shadow: none;
7758
+ white-space: normal;
7759
+ color: var(--kr-chatbot-text);
7744
7760
 
7745
7761
  --kr-chatbot-primary: #163052;
7746
7762
  --kr-chatbot-primary-hover: #1e4068;