@artooi/ag-ui-web-component 0.31.0 → 0.31.1

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.js CHANGED
@@ -5971,6 +5971,15 @@ var STYLES = `
5971
5971
  floating circle that would escape the host's layout. */
5972
5972
  :host([collapsed]) {
5973
5973
  pointer-events: none;
5974
+ /* A collapsed host has to be allowed to shrink, and in the layout hosts
5975
+ actually use it is not. Every collapse path here works by letting the host
5976
+ size to its content -- the in-flow ones set height: auto, the floating one
5977
+ leaves only the launcher -- and a flex or grid parent whose align-items is
5978
+ the default stretch value overrides all of it. The panel then hides and the box
5979
+ it occupied stays: a header bar over several hundred pixels of nothing.
5980
+ Every known consumer hit this, because putting the element in a flex column
5981
+ beside the page content is the obvious way to embed it. */
5982
+ align-self: start;
5974
5983
  }
5975
5984
 
5976
5985
  :host([collapsed]) .chat {
@@ -13640,7 +13649,7 @@ function setControlValue(el2, value) {
13640
13649
  }
13641
13650
 
13642
13651
  // src/version.ts
13643
- var VERSION = "0.31.0";
13652
+ var VERSION = "0.31.1";
13644
13653
  export {
13645
13654
  ATTACHMENT_EVENT,
13646
13655
  AgUiChat,