@artooi/ag-ui-web-component 0.33.0 → 0.33.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/CHANGELOG.md +33 -1
- package/dist/ag-ui-web-component.bundle.js +37 -22
- package/dist/ag-ui-web-component.bundle.js.map +2 -2
- package/dist/index.js +17 -2
- package/dist/index.js.map +2 -2
- package/dist/ui/styles.d.ts +1 -1
- package/dist/ui/styles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ui/styles.ts +16 -1
- package/src/version.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -6602,7 +6602,22 @@ var STYLES = `
|
|
|
6602
6602
|
border-radius: var(--_msg-radius);
|
|
6603
6603
|
line-height: 1.4;
|
|
6604
6604
|
white-space: pre-wrap;
|
|
6605
|
-
word-break
|
|
6605
|
+
/* overflow-wrap, not word-break, and the difference is the whole reason a
|
|
6606
|
+
markdown table used to be unreadable.
|
|
6607
|
+
|
|
6608
|
+
Both stop one long unbroken token blowing out the bubble, which is all this
|
|
6609
|
+
is for. But word-break: break-word is the legacy spelling of "break
|
|
6610
|
+
anywhere", and breaking anywhere drops the *min-content* width of every
|
|
6611
|
+
descendant to one character. A table's column algorithm takes min-content
|
|
6612
|
+
as an input, so the table always fitted max-width: 100%, the overflow-x:
|
|
6613
|
+
auto below it never had anything to scroll, and the columns absorbed the
|
|
6614
|
+
pressure by rendering one letter per line instead. A seven-column header
|
|
6615
|
+
came out 162px tall.
|
|
6616
|
+
|
|
6617
|
+
overflow-wrap: break-word breaks a word only when it would otherwise
|
|
6618
|
+
overflow its line, and leaves min-content alone -- so the bubble is still
|
|
6619
|
+
protected and the table is free to be wider than the panel and scroll. */
|
|
6620
|
+
overflow-wrap: break-word;
|
|
6606
6621
|
}
|
|
6607
6622
|
|
|
6608
6623
|
/* \u2500\u2500 Incoming-text animations (data-text-animation) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
@@ -14628,7 +14643,7 @@ function setControlValue(el2, value) {
|
|
|
14628
14643
|
}
|
|
14629
14644
|
|
|
14630
14645
|
// src/version.ts
|
|
14631
|
-
var VERSION = "0.33.
|
|
14646
|
+
var VERSION = "0.33.1";
|
|
14632
14647
|
export {
|
|
14633
14648
|
ATTACHMENT_EVENT,
|
|
14634
14649
|
AgUiChat,
|