@ai-matrx/records-ui 0.116.9 → 0.116.10

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
@@ -2462,7 +2462,9 @@ function OpenCell({
2462
2462
  // A one-line control sits centred on the row; a multi-line box hangs from the cell's top and
2463
2463
  // grows downward over the rows below (Airtable's expanded long-text cell), never up over the
2464
2464
  // header (D10: centred, its first lines sat 58px above the cell, outside it).
2465
- multiline ? "top-0 rounded-md bg-card shadow-md" : "top-1/2 -translate-y-1/2",
2465
+ // …and its words wrap: the one-line frame sets `white-space: nowrap` on every descendant, so the
2466
+ // textarea scrolled sideways on one line (live, after the clip was lifted).
2467
+ multiline ? "top-0 rounded-md bg-card shadow-md [&_textarea]:![white-space:pre-wrap] [&_textarea]:![overflow-wrap:anywhere]" : "top-1/2 -translate-y-1/2",
2466
2468
  // A box reaching over the next column is opaque, so what it covers never shows through it
2467
2469
  // (the calendar button sat over the Actions cell's copy icon, both drawn).
2468
2470
  widens && "rounded-md bg-card shadow-sm",
@@ -13808,7 +13810,8 @@ function GridBody({
13808
13810
  ...classicInCard || embeddedMore || loadAll.rows ? { hidePagination: true } : {},
13809
13811
  ...embedded ? { appearance: "embedded" } : {},
13810
13812
  tableClassName: cn13(
13811
- !look.wrap && lines === 1 && "[&_tbody_td]:max-w-[28rem] [&_tbody_td]:overflow-hidden [&_tbody_td]:text-ellipsis [&_tbody_td]:whitespace-nowrap! [&_tbody_td_*]:whitespace-nowrap!",
13813
+ !look.wrap && lines === 1 && "[&_tbody_td]:max-w-[28rem] [&_tbody_td]:overflow-hidden [&_tbody_td]:text-ellipsis [&_tbody_td]:whitespace-nowrap! [&_tbody_td_*:not(textarea)]:whitespace-nowrap!",
13814
+ // (A textarea is only ever an OPEN long-text editor, whose words must wrap — records walk D10.)
13812
13815
  embedded && EMBEDDED_TABLE_CLASS,
13813
13816
  embedded && !calculationChosen && EMBEDDED_PLAIN_FOOTER_CLASS
13814
13817
  ),