@aceshooting/lyra-ui 7.4.0 → 7.5.0
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 +6 -0
- package/custom-elements.json +44 -2
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +11 -2
- package/dist/components/conversation/thread-list/thread-list.class.d.ts.map +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.js +43 -25
- package/dist/components/conversation/thread-list/thread-list.class.js.map +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +6 -0
- package/dist/components/forms/textarea/textarea.class.d.ts.map +1 -1
- package/dist/components/forms/textarea/textarea.class.js +16 -1
- package/dist/components/forms/textarea/textarea.class.js.map +1 -1
- package/dist/components/layout/virtual-list/virtual-list.styles.d.ts.map +1 -1
- package/dist/components/layout/virtual-list/virtual-list.styles.js +27 -7
- package/dist/components/layout/virtual-list/virtual-list.styles.js.map +1 -1
- package/llms/components/lr-textarea.md +5 -0
- package/llms/components/lr-thread-list.md +16 -4
- package/llms/components/lr-virtual-list.md +8 -7
- package/llms-full.txt +28 -10
- package/package.json +1 -1
- package/vscode-css-data.json +28 -0
- package/vscode-html-data.json +9 -2
- package/web-types.json +28 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 33352e4: Add readonly support to `lr-textarea`, themeable `lr-thread-list` excerpt highlights, durable virtual-row stacking for open action menus, and cross-browser adjacent-row keyboard navigation.
|
|
8
|
+
|
|
3
9
|
## 7.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/custom-elements.json
CHANGED
|
@@ -73918,6 +73918,28 @@
|
|
|
73918
73918
|
"kind": "class",
|
|
73919
73919
|
"description": "`<lr-thread-list>` — the conversation sidebar: a grouped, searchable list of chat sessions with\npin/archive/delete/rename affordances. *Data mode* (non-empty `threads`, or empty `threads` with\nnothing slotted) renders every row as a `<lr-conversation-item>` inside an internal\n`<lr-virtual-list>` — virtualized by construction, scroll position and per-row state survive a\n`threads` replacement; zero rows renders the built-in empty state. *Slotted mode* (empty `threads`\n*and* real slotted content) renders host-supplied `<lr-conversation-item>`s from the default slot\nas-is: no grouping, virtualization, or row actions in that mode — those are data-mode-only by design\n(shadow DOM cannot inject group headers between slotted children).\n\nNo thread CRUD or persistence: every mutation (`lr-thread-pin`/`-archive`/`-delete`/`-rename`) is\na controlled event carrying the *requested* new state — the host mutates `threads`.\n\nData mode: a host needing content with no home in `lr-conversation-item`'s own\n`title`/`excerpt`/`meta`/`actions` surface sets `wrapRow` to wrap the already-built row. For\ncommon row composition, `renderLeading`, `renderExcerpt`, `renderMeta`, and `renderRowContent`\nprovide focused virtualized render hooks -- `renderExcerpt` renders into the row item's own\n`excerpt` slot (winning over the plain-string `excerpt` property) for rich per-row content such\nas a highlighted search snippet. A host needing a fully custom\n`actions` surface itself — beyond `rowActions`'s closed `pin | archive | delete` set, e.g. a\n`<lr-menu>` with Rename/Delete — sets `renderActions` instead; its content is appended after any\nbuilt-in `rowActions` output in the same slot, and `wrapRow` continues to compose around the result.",
|
|
73920
73920
|
"name": "LyraThreadList",
|
|
73921
|
+
"cssProperties": [
|
|
73922
|
+
{
|
|
73923
|
+
"description": "Background of `<mark>` descendants returned by `renderExcerpt`.",
|
|
73924
|
+
"name": "--lr-thread-list-excerpt-highlight-background",
|
|
73925
|
+
"default": "var(--lr-color-warning-quiet)"
|
|
73926
|
+
},
|
|
73927
|
+
{
|
|
73928
|
+
"description": "Foreground of `<mark>` descendants returned by `renderExcerpt`.",
|
|
73929
|
+
"name": "--lr-thread-list-excerpt-highlight-foreground",
|
|
73930
|
+
"default": "inherit"
|
|
73931
|
+
},
|
|
73932
|
+
{
|
|
73933
|
+
"description": "Corner radius of `<mark>` descendants returned by `renderExcerpt`.",
|
|
73934
|
+
"name": "--lr-thread-list-excerpt-highlight-radius",
|
|
73935
|
+
"default": "var(--lr-radius-xs)"
|
|
73936
|
+
},
|
|
73937
|
+
{
|
|
73938
|
+
"description": "Padding of `<mark>` descendants returned by `renderExcerpt`.",
|
|
73939
|
+
"name": "--lr-thread-list-excerpt-highlight-padding",
|
|
73940
|
+
"default": "0"
|
|
73941
|
+
}
|
|
73942
|
+
],
|
|
73921
73943
|
"cssParts": [
|
|
73922
73944
|
{
|
|
73923
73945
|
"description": "The root.",
|
|
@@ -74348,7 +74370,7 @@
|
|
|
74348
74370
|
"type": {
|
|
74349
74371
|
"text": "(thread: ChatThread) => TemplateResult | undefined"
|
|
74350
74372
|
},
|
|
74351
|
-
"description": "Data mode only: appended after any built-in `rowActions` buttons in the same row's `actions`\nslot -- the escape hatch for a fully custom per-row action surface (e.g. a `<lr-menu>` with\nRename/Delete, mirroring an app's own richer row-action menu) that `rowActions`'s closed\n`pin | archive | delete` set can't express. Additive, not a replacement: both render together\nwhen `rowActions` is also non-empty, the same composition direction `wrapRow` already takes\nelsewhere on the row (it only ever adds content, never removes built-in output) -- set\n`rowActions` to `[]` (its default) to omit the built-in buttons and use only the callback's\ncontent. Receives the *current* thread on every render, re-invoked per row through the\nvirtualized `renderItem` path exactly like `wrapRow` -- never memoized or stale. Rendered as a\nDOM sibling of the row's own selectable region (`lr-conversation-item`'s `[part=\"option\"]`),\nthe same structural reason the built-in `rowActions` buttons don't also trigger `lr-select` --\nso ordinary Lyra controls returned here (`lr-menu`, `lr-icon-button`, etc.) fire their own\nevents normally without also selecting the row. Unset (the default)
|
|
74373
|
+
"description": "Data mode only: appended after any built-in `rowActions` buttons in the same row's `actions`\nslot -- the escape hatch for a fully custom per-row action surface (e.g. a `<lr-menu>` with\nRename/Delete, mirroring an app's own richer row-action menu) that `rowActions`'s closed\n`pin | archive | delete` set can't express. Additive, not a replacement: both render together\nwhen `rowActions` is also non-empty, the same composition direction `wrapRow` already takes\nelsewhere on the row (it only ever adds content, never removes built-in output) -- set\n`rowActions` to `[]` (its default) to omit the built-in buttons and use only the callback's\ncontent. Receives the *current* thread on every render, re-invoked per row through the\nvirtualized `renderItem` path exactly like `wrapRow` -- never memoized or stale. Rendered as a\nDOM sibling of the row's own selectable region (`lr-conversation-item`'s `[part=\"option\"]`),\nthe same structural reason the built-in `rowActions` buttons don't also trigger `lr-select` --\nso ordinary Lyra controls returned here (`lr-menu`, `lr-icon-button`, etc.) fire their own\nevents normally without also selecting the row. A nested open `lr-menu` also keeps its\nvirtual row above later rows even if focus temporarily leaves the menu. Unset (the default)\nleaves `rowActions`' output byte-for-byte unchanged."
|
|
74352
74374
|
},
|
|
74353
74375
|
{
|
|
74354
74376
|
"kind": "field",
|
|
@@ -128117,7 +128139,7 @@
|
|
|
128117
128139
|
"declarations": [
|
|
128118
128140
|
{
|
|
128119
128141
|
"kind": "class",
|
|
128120
|
-
"description": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()
|
|
128142
|
+
"description": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.\n`readonly` keeps the value focusable, selectable, copyable, and form-submittable while barring\nuser edits and constraint validation, matching the native textarea contract.",
|
|
128121
128143
|
"name": "LyraTextarea",
|
|
128122
128144
|
"cssProperties": [
|
|
128123
128145
|
{
|
|
@@ -128466,6 +128488,17 @@
|
|
|
128466
128488
|
"default": "''",
|
|
128467
128489
|
"attribute": "placeholder"
|
|
128468
128490
|
},
|
|
128491
|
+
{
|
|
128492
|
+
"kind": "field",
|
|
128493
|
+
"name": "readonly",
|
|
128494
|
+
"type": {
|
|
128495
|
+
"text": "boolean"
|
|
128496
|
+
},
|
|
128497
|
+
"default": "false",
|
|
128498
|
+
"description": "Forwards native read-only behavior to the internal textarea. The value remains focusable,\nselectable, copyable, and form-submittable; constraint validation is suspended until the\nproperty is unset.",
|
|
128499
|
+
"attribute": "readonly",
|
|
128500
|
+
"reflects": true
|
|
128501
|
+
},
|
|
128469
128502
|
{
|
|
128470
128503
|
"kind": "field",
|
|
128471
128504
|
"name": "required",
|
|
@@ -129159,6 +129192,15 @@
|
|
|
129159
129192
|
"default": "''",
|
|
129160
129193
|
"fieldName": "placeholder"
|
|
129161
129194
|
},
|
|
129195
|
+
{
|
|
129196
|
+
"name": "readonly",
|
|
129197
|
+
"type": {
|
|
129198
|
+
"text": "boolean"
|
|
129199
|
+
},
|
|
129200
|
+
"default": "false",
|
|
129201
|
+
"description": "Forwards native read-only behavior to the internal textarea. The value remains focusable,\nselectable, copyable, and form-submittable; constraint validation is suspended until the\nproperty is unset.",
|
|
129202
|
+
"fieldName": "readonly"
|
|
129203
|
+
},
|
|
129162
129204
|
{
|
|
129163
129205
|
"name": "required",
|
|
129164
129206
|
"type": {
|
|
@@ -127,6 +127,14 @@ export type ThreadBucketKey = 'pinned' | 'today' | 'yesterday' | 'previous7' | '
|
|
|
127
127
|
* @csspart row-item-meta - Data mode: the row item's `meta` wrapper.
|
|
128
128
|
* @csspart row-item-timestamp - Data mode: the row item's `<time>` element.
|
|
129
129
|
* @csspart row-item-actions - Data mode: the row item's `actions` wrapper.
|
|
130
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-background=var(--lr-color-warning-quiet)] -
|
|
131
|
+
* Background of `<mark>` descendants returned by `renderExcerpt`.
|
|
132
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-foreground=inherit] - Foreground of `<mark>`
|
|
133
|
+
* descendants returned by `renderExcerpt`.
|
|
134
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-radius=var(--lr-radius-xs)] - Corner radius of
|
|
135
|
+
* `<mark>` descendants returned by `renderExcerpt`.
|
|
136
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-padding=0] - Padding of `<mark>` descendants
|
|
137
|
+
* returned by `renderExcerpt`.
|
|
130
138
|
*/
|
|
131
139
|
export declare class LyraThreadList extends LyraElement<LyraThreadListEventMap> {
|
|
132
140
|
static styles: import("lit").CSSResultGroup[];
|
|
@@ -165,8 +173,9 @@ export declare class LyraThreadList extends LyraElement<LyraThreadListEventMap>
|
|
|
165
173
|
* DOM sibling of the row's own selectable region (`lr-conversation-item`'s `[part="option"]`),
|
|
166
174
|
* the same structural reason the built-in `rowActions` buttons don't also trigger `lr-select` --
|
|
167
175
|
* so ordinary Lyra controls returned here (`lr-menu`, `lr-icon-button`, etc.) fire their own
|
|
168
|
-
* events normally without also selecting the row.
|
|
169
|
-
*
|
|
176
|
+
* events normally without also selecting the row. A nested open `lr-menu` also keeps its
|
|
177
|
+
* virtual row above later rows even if focus temporarily leaves the menu. Unset (the default)
|
|
178
|
+
* leaves `rowActions`' output byte-for-byte unchanged. */
|
|
170
179
|
renderActions?: (thread: ChatThread) => TemplateResult;
|
|
171
180
|
/** Data mode only: renders non-interactive content in the row's leading slot, before its title
|
|
172
181
|
* and excerpt. The callback runs during the virtualized row render. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list.class.d.ts","sourceRoot":"","sources":["../../../../src/components/conversation/thread-list/thread-list.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAEnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAQhE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzC,eAAe,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC9D,mBAAmB,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACpE,kBAAkB,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChD,kBAAkB,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/D,kBAAkB,EAAE,WAAW,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtE,iBAAiB,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACpE;AAED,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,OAAO,GACP,WAAW,GACX,WAAW,GACX,YAAY,GACZ,SAAS,MAAM,EAAE,GACjB,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"thread-list.class.d.ts","sourceRoot":"","sources":["../../../../src/components/conversation/thread-list/thread-list.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EAEnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAQhE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzC,eAAe,EAAE,WAAW,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;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AGhB;IAEF;;4FAEwF;IACxF,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,iBAAiB,CAGvB;IAEF,OAAO,CAAC,OAAO,CAGb;IAEF,OAAO,CAAC,mBAAmB,CAMzB;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEF,OAAO,CAAC,YAAY;IAkBX,MAAM,IAAI,cAAc,CA0ChC;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,cAAc,CAAC;KAClC;CACF"}
|
|
@@ -10,9 +10,6 @@ import { LyraElement } from '../../../internal/lyra-element.js';
|
|
|
10
10
|
import { styles } from './thread-list.styles.js';
|
|
11
11
|
import { getDateTimeFormat, getNumberFormat, getPluralRules } from '../../../internal/intl-cache.js';
|
|
12
12
|
import { presenceTrueDefaultBooleanConverter as trueDefaultBooleanConverter } from '../../../internal/converters.js';
|
|
13
|
-
/** Only used when a keyboard nudge past the rendered window happens with no rendered row to measure
|
|
14
|
-
* -- roughly one default-density conversation row. */
|
|
15
|
-
const FALLBACK_ROW_HEIGHT_PX = 48;
|
|
16
13
|
const ICON_VIEW_BOX = '0 0 24 24';
|
|
17
14
|
const ICON_STROKE_WIDTH = '1.75';
|
|
18
15
|
// Mirrors the shared icon set's viewBox/stroke conventions (internal/icons.ts's
|
|
@@ -140,6 +137,14 @@ function defaultFilter(thread, query, locale) {
|
|
|
140
137
|
* @csspart row-item-meta - Data mode: the row item's `meta` wrapper.
|
|
141
138
|
* @csspart row-item-timestamp - Data mode: the row item's `<time>` element.
|
|
142
139
|
* @csspart row-item-actions - Data mode: the row item's `actions` wrapper.
|
|
140
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-background=var(--lr-color-warning-quiet)] -
|
|
141
|
+
* Background of `<mark>` descendants returned by `renderExcerpt`.
|
|
142
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-foreground=inherit] - Foreground of `<mark>`
|
|
143
|
+
* descendants returned by `renderExcerpt`.
|
|
144
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-radius=var(--lr-radius-xs)] - Corner radius of
|
|
145
|
+
* `<mark>` descendants returned by `renderExcerpt`.
|
|
146
|
+
* @cssprop [--lr-thread-list-excerpt-highlight-padding=0] - Padding of `<mark>` descendants
|
|
147
|
+
* returned by `renderExcerpt`.
|
|
143
148
|
*/
|
|
144
149
|
export class LyraThreadList extends LyraElement {
|
|
145
150
|
constructor() {
|
|
@@ -236,31 +241,44 @@ export class LyraThreadList extends LyraElement {
|
|
|
236
241
|
this.optionEl(rows[targetIndex])?.focus(); // safe: targetIndex in [0, rows.length) checked above
|
|
237
242
|
return;
|
|
238
243
|
}
|
|
239
|
-
// Past the currently-rendered edge
|
|
240
|
-
//
|
|
241
|
-
//
|
|
242
|
-
//
|
|
243
|
-
//
|
|
244
|
-
// `scroll` event dispatched into the child's shadow root would be a fabricated user gesture.
|
|
244
|
+
// Past the currently-rendered edge: resolve the exact adjacent thread in the child's complete
|
|
245
|
+
// item model, scroll that item into view, then focus it by stable id after the scroll has been
|
|
246
|
+
// folded into a render. Focusing an overscanned edge row may itself move the viewport; choosing
|
|
247
|
+
// whichever row happens to land at the new rendered edge can therefore skip several threads on
|
|
248
|
+
// browsers that apply that focus scroll later in the frame.
|
|
245
249
|
const list = this.virtualListEl;
|
|
246
|
-
|
|
247
|
-
if (!list || !container)
|
|
250
|
+
if (!list?.scrollContainer)
|
|
248
251
|
return;
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
container.scrollTop = before + (e.key === 'ArrowDown' ? rowHeight : -rowHeight);
|
|
252
|
-
// Already at that end of the list: nothing more will mount, and the focused row stays put.
|
|
253
|
-
if (container.scrollTop === before)
|
|
252
|
+
const currentRow = rows[currentIndex];
|
|
253
|
+
if (!currentRow)
|
|
254
254
|
return;
|
|
255
|
-
const
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
255
|
+
const items = list.items;
|
|
256
|
+
const currentItemIndex = items.findIndex((item) => item.kind === 'thread' && item.thread.id === currentRow.id);
|
|
257
|
+
if (currentItemIndex < 0)
|
|
258
|
+
return;
|
|
259
|
+
const direction = e.key === 'ArrowDown' ? 1 : -1;
|
|
260
|
+
let targetItemIndex = currentItemIndex + direction;
|
|
261
|
+
while (items[targetItemIndex]?.kind === 'group')
|
|
262
|
+
targetItemIndex += direction;
|
|
263
|
+
const targetItem = items[targetItemIndex];
|
|
264
|
+
if (!targetItem || targetItem.kind !== 'thread')
|
|
265
|
+
return;
|
|
266
|
+
const targetId = targetItem.thread.id;
|
|
267
|
+
list.scrollToIndex(targetItemIndex, { align: 'auto', behavior: 'auto' });
|
|
268
|
+
void (async () => {
|
|
269
|
+
// The browser may still have a focus-induced scroll queued for the old edge row. Give both
|
|
270
|
+
// that native scroll and the virtual list's coalesced scroll render a frame to settle; the
|
|
271
|
+
// second pass covers a measurement update that mounts the exact target one frame later.
|
|
272
|
+
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
273
|
+
await new Promise((resolve) => requestAnimationFrame(() => resolve()));
|
|
274
|
+
await list.updateComplete;
|
|
275
|
+
const targetRow = this.rowElements().find((row) => row.id === targetId);
|
|
276
|
+
if (!targetRow)
|
|
277
|
+
continue;
|
|
278
|
+
this.optionEl(targetRow)?.focus();
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
})();
|
|
264
282
|
};
|
|
265
283
|
this.renderRow = (item) => {
|
|
266
284
|
const thread = item;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list.class.js","sourceRoot":"","sources":["../../../../src/components/conversation/thread-list/thread-list.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,IAAI,EACJ,OAAO,EACP,GAAG,GAIJ,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO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B,CAAC;kDAAqC"}
|
|
1
|
+
{"version":3,"file":"thread-list.class.js","sourceRoot":"","sources":["../../../../src/components/conversation/thread-list/thread-list.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,IAAI,EACJ,OAAO,EACP,GAAG,GAIJ,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAIhE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACrG,OAAO,EAAE,mCAAmC,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AA4CrH,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEjC,gFAAgF;AAChF,+FAA+F;AAC/F,kGAAkG;AAClG,0FAA0F;AAC1F,oBAAoB;AACpB,SAAS,OAAO;IACd,OAAO,GAAG,CAAA;4CACgC,aAAa,mDAAmD,iBAAiB;;;;GAI1H,CAAC;AACJ,CAAC;AAED,SAAS,WAAW;IAClB,OAAO,GAAG,CAAA;4CACgC,aAAa,mDAAmD,iBAAiB;;;;;GAK1H,CAAC;AACJ,CAAC;AAED,SAAS,SAAS;IAChB,OAAO,GAAG,CAAA;4CACgC,aAAa,mDAAmD,iBAAiB;;;;;;;GAO1H,CAAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,MAAkB,EAAE,KAAa,EAAE,MAAc;IACtE,OAAO,CACL,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC;QACtD,CAAC,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,KAAK,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E,CAAC;wDAAkE;AAGjE;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;kDAAqC;AAGI;IAAvE,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDAAsB;AAGT;IAAnF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,2BAA2B,EAAE,CAAC;gDAAiB;AAMxD;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAAiB;AASY;IAAvE,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDAAsB;AAGjF;IAAX,QAAQ,EAAE;6CAAY;AAeS;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;+CAAuE;AAMrF;IAAhB,KAAK,EAAE;kDAAyB;AAChB;IAAhB,KAAK,EAAE;oDAA8B;AACrB;IAAhB,KAAK,EAAE;6DAAuC;AAEb;IAAjC,KAAK,CAAC,iBAAiB,CAAC;qDAAyC;AACjC;IAAhC,KAAK,CAAC,gBAAgB,CAAC;kDAAqC"}
|
|
@@ -36,6 +36,8 @@ declare const LyraTextarea_base: typeof LyraTextareaBase & (new (...args: any[])
|
|
|
36
36
|
*
|
|
37
37
|
* `minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this
|
|
38
38
|
* element's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.
|
|
39
|
+
* `readonly` keeps the value focusable, selectable, copyable, and form-submittable while barring
|
|
40
|
+
* user edits and constraint validation, matching the native textarea contract.
|
|
39
41
|
*
|
|
40
42
|
* @customElement lr-textarea
|
|
41
43
|
* @event input - Native-style composed event fired on every user-driven edit.
|
|
@@ -65,6 +67,10 @@ export declare class LyraTextarea extends LyraTextarea_base {
|
|
|
65
67
|
* grow-to-content mode with no manual drag handle (mirrors `wa-textarea`'s `resize="auto"`). */
|
|
66
68
|
resize: TextareaResize;
|
|
67
69
|
placeholder: string;
|
|
70
|
+
/** Forwards native read-only behavior to the internal textarea. The value remains focusable,
|
|
71
|
+
* selectable, copyable, and form-submittable; constraint validation is suspended until the
|
|
72
|
+
* property is unset. */
|
|
73
|
+
readonly: boolean;
|
|
68
74
|
label: string;
|
|
69
75
|
hint: string;
|
|
70
76
|
errorText: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.class.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/textarea/textarea.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAOhE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AACnD,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAEzE;;;oFAGoF;AAEpF,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC/B,UAAU,EAAE,WAAW,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3C,WAAW,EAAE,WAAW,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5C,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAC/B;AACD,cAAM,gBAAiB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CAEb;IAED,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAExG;IAED;gFAC4E;IAC5E,YAAY,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAahG,UAAmB,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAU3D;IAEQ,iBAAiB,IAAI,IAAI,CAWjC;IAEQ,oBAAoB,IAAI,IAAI,CAMpC;IAED;;;;;;;;;;;;;;;OAeG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI,CAyB/B;IAED,UAAmB,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAuBxD;IAEQ,iBAAiB,IAAI,IAAI,CAGjC;IAED,OAAO,CAAC,iBAAiB;IA0BzB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,OAAO,CAMb;IAEF,OAAO,CAAC,QAAQ,CAKd;IAEF,OAAO,CAAC,OAAO,CAEb;IAEF,OAAO,CAAC,MAAM,CAGZ;IAEF,OAAO,CAAC,gBAAgB,CAEtB;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEF,OAAO,CAAC,iBAAiB,CAEvB;IAEO,MAAM,IAAI,cAAc,CAqDhC;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,YAAY,CAAC;KAC7B;CACF"}
|
|
@@ -28,6 +28,8 @@ class LyraTextareaBase extends LyraElement {
|
|
|
28
28
|
*
|
|
29
29
|
* `minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this
|
|
30
30
|
* element's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.
|
|
31
|
+
* `readonly` keeps the value focusable, selectable, copyable, and form-submittable while barring
|
|
32
|
+
* user edits and constraint validation, matching the native textarea contract.
|
|
31
33
|
*
|
|
32
34
|
* @customElement lr-textarea
|
|
33
35
|
* @event input - Native-style composed event fired on every user-driven edit.
|
|
@@ -63,6 +65,10 @@ export class LyraTextarea extends FormAssociated(LyraTextareaBase) {
|
|
|
63
65
|
* grow-to-content mode with no manual drag handle (mirrors `wa-textarea`'s `resize="auto"`). */
|
|
64
66
|
this.resize = 'vertical';
|
|
65
67
|
this.placeholder = '';
|
|
68
|
+
/** Forwards native read-only behavior to the internal textarea. The value remains focusable,
|
|
69
|
+
* selectable, copyable, and form-submittable; constraint validation is suspended until the
|
|
70
|
+
* property is unset. */
|
|
71
|
+
this.readonly = false;
|
|
66
72
|
this.label = '';
|
|
67
73
|
this.hint = '';
|
|
68
74
|
this.errorText = '';
|
|
@@ -229,6 +235,10 @@ export class LyraTextarea extends FormAssociated(LyraTextareaBase) {
|
|
|
229
235
|
* `internal/length-constraints.ts`).
|
|
230
236
|
*/
|
|
231
237
|
updateValidity() {
|
|
238
|
+
if (this.readonly) {
|
|
239
|
+
this[SET_ANCHORED_VALIDITY]({});
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
232
242
|
if (this.required && this.value === '') {
|
|
233
243
|
this[SET_ANCHORED_VALIDITY]({ valueMissing: true }, this.localize('fieldRequired'));
|
|
234
244
|
return;
|
|
@@ -253,8 +263,9 @@ export class LyraTextarea extends FormAssociated(LyraTextareaBase) {
|
|
|
253
263
|
super.updated(changed);
|
|
254
264
|
// A constraint that tightens without a value write (`el.maxlength = 3` over an existing value)
|
|
255
265
|
// reaches the native textarea only on this render, so validity has to be recomputed after it.
|
|
256
|
-
if (changed.has('minlength') || changed.has('maxlength'))
|
|
266
|
+
if (changed.has('minlength') || changed.has('maxlength') || changed.has('readonly')) {
|
|
257
267
|
this.updateValidity();
|
|
268
|
+
}
|
|
258
269
|
if (changed.has('resize')) {
|
|
259
270
|
if (this.resize === 'auto') {
|
|
260
271
|
this.armResizeObserver();
|
|
@@ -358,6 +369,7 @@ export class LyraTextarea extends FormAssociated(LyraTextareaBase) {
|
|
|
358
369
|
.value=${this.value}
|
|
359
370
|
?required=${this.required}
|
|
360
371
|
?disabled=${this.effectiveDisabled}
|
|
372
|
+
?readonly=${this.readonly}
|
|
361
373
|
@input=${this.onInput}
|
|
362
374
|
@change=${this.onChange}
|
|
363
375
|
@focus=${this.onFocus}
|
|
@@ -382,6 +394,9 @@ __decorate([
|
|
|
382
394
|
__decorate([
|
|
383
395
|
property()
|
|
384
396
|
], LyraTextarea.prototype, "placeholder", void 0);
|
|
397
|
+
__decorate([
|
|
398
|
+
property({ type: Boolean, reflect: true })
|
|
399
|
+
], LyraTextarea.prototype, "readonly", void 0);
|
|
385
400
|
__decorate([
|
|
386
401
|
property()
|
|
387
402
|
], LyraTextarea.prototype, "label", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.class.js","sourceRoot":"","sources":["../../../../src/components/forms/textarea/textarea.class.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAA4C,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAmBtE,MAAM,gBAAiB,SAAQ,WAAiC;CAAG;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE;iDAAkB;AAIe;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAkB;AACjD;IAAX,QAAQ,EAAE;2CAAY;AACX;IAAX,QAAQ,EAAE;0CAAW;AACiB;IAAtC,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+CAAgB;AAGf;IAAtC,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;qDAAuC;AAGtB;IAAtD,QAAQ,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;gDAA4B;AAGpD;IAApB,QAAQ,EAAE;oDAA8B;AAGD;IAAvC,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;iDAAkB;AAE7C;IAAX,QAAQ,EAAE;0CAA6B;AAG5B;IAAX,QAAQ,EAAE;kDAAmB;AACiB;IAA9C,QAAQ,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;+CAAyB;AACZ;IAAjD,QAAQ,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;kDAA4B;AAQxC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAoB;AAOnB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAoB;AAE9B;IAAhB,KAAK,EAAE;iDAA6B;AACpB;IAAhB,KAAK,EAAE;kDAA8B;AACrB;IAAhB,KAAK,EAAE;kDAA8B;AACrB;IAAhB,KAAK,EAAE;6CAAyB;AAEN;IAA1B,KAAK,CAAC,UAAU,CAAC;gDAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/virtual-list/virtual-list.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"virtual-list.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/virtual-list/virtual-list.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAoIlB,CAAC"}
|
|
@@ -56,15 +56,35 @@ export const styles = css `
|
|
|
56
56
|
how high its own z-index is: that z-index only orders siblings inside the row's own context.
|
|
57
57
|
The last row always looks correct, which is why a small fixture never catches it.
|
|
58
58
|
|
|
59
|
-
:focus-within lifts the row
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
:focus-within lifts the row while something inside it holds focus. An open lr-menu is included
|
|
60
|
+
explicitly as well: opening a menu can trigger a virtual measurement/render pass after the
|
|
61
|
+
menu moves focus, and that pass can transiently drop focus to <body> while the fixed popup
|
|
62
|
+
remains open. Keying the layer to the popup's own durable open state prevents that valid
|
|
63
|
+
imperative-open path from falling back under later rows.
|
|
64
|
+
|
|
65
|
+
The value deliberately matches [part='group'] below rather than exceeding it, so the two land
|
|
66
|
+
on the same layer and DOM order decides: groups render before the rows, so an active row wins
|
|
67
|
+
while the group header remains non-interactive decoration. */
|
|
68
|
+
[part='row']:where(:focus-within, :has(lr-menu[open])) {
|
|
66
69
|
z-index: var(--lr-layer-content);
|
|
67
70
|
}
|
|
71
|
+
/* lr-thread-list's renderItem callback is rendered inside this shadow root, so descendant
|
|
72
|
+
content such as a rich excerpt's <mark> cannot be reached by the thread-list stylesheet or
|
|
73
|
+
by a consumer rule following ::part(row-excerpt). Keep the selector pinned to the callback's
|
|
74
|
+
dedicated part so marks in other virtualized row hooks retain their own semantics. The public
|
|
75
|
+
properties inherit from lr-thread-list through this host and remain component-scoped. */
|
|
76
|
+
[part='row'] [part~='row-excerpt'] mark {
|
|
77
|
+
background: var(
|
|
78
|
+
--lr-thread-list-excerpt-highlight-background,
|
|
79
|
+
var(--lr-color-warning-quiet)
|
|
80
|
+
);
|
|
81
|
+
color: var(--lr-thread-list-excerpt-highlight-foreground, inherit);
|
|
82
|
+
border-radius: var(
|
|
83
|
+
--lr-thread-list-excerpt-highlight-radius,
|
|
84
|
+
var(--lr-radius-xs)
|
|
85
|
+
);
|
|
86
|
+
padding: var(--lr-thread-list-excerpt-highlight-padding, 0);
|
|
87
|
+
}
|
|
68
88
|
[part='group'] {
|
|
69
89
|
position: absolute;
|
|
70
90
|
inset-inline: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-list.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/virtual-list/virtual-list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"virtual-list.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/virtual-list/virtual-list.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIxB,CAAC"}
|
|
@@ -30,6 +30,7 @@ submission/validation/reset via `name`/`value`/`disabled`/`required`/`checkValid
|
|
|
30
30
|
| `rows` | `rows` | `number` | `3` | Visible text rows. |
|
|
31
31
|
| `resize` | `resize` | `'none' \| 'vertical' \| 'both' \| 'auto'` | `'vertical'` | Native CSS `resize` behavior, plus `'auto'` (`ResizeObserver`-driven grow-to-content, no manual handle). |
|
|
32
32
|
| `placeholder` | `placeholder` | `string` | `''` | Placeholder text. |
|
|
33
|
+
| `readonly` | `readonly` | `boolean` | `false` | Native read-only behavior: prevents user edits while preserving focus, selection/copy, form submission, and silent programmatic editing methods. Reflected. |
|
|
33
34
|
| `label` | `label` | `string` | `''` | Visible label text. Unset: no label chrome renders. |
|
|
34
35
|
| `hint` | `hint` | `string` | `''` | Hint text below the field. |
|
|
35
36
|
| `errorText` | `error-text` | `string` | `''` | Error text below the field (overridden by slotted `error` content). |
|
|
@@ -53,6 +54,10 @@ submission/validation/reset via `name`/`value`/`disabled`/`required`/`checkValid
|
|
|
53
54
|
(from `maxlength`) — the complete set a native `<textarea>` can produce. Leaving `minlength` and
|
|
54
55
|
`maxlength` unset constrains nothing, exactly as before they existed.
|
|
55
56
|
|
|
57
|
+
While `readonly`, all three constraint flags are suspended and `checkValidity()` succeeds, matching
|
|
58
|
+
native textarea behavior. The value remains a successful form value and is restored by form reset;
|
|
59
|
+
unsetting `readonly` restores the applicable required and length constraints.
|
|
60
|
+
|
|
56
61
|
Two behaviors are worth knowing, both inherited from the platform and both shared with `lr-input`:
|
|
57
62
|
|
|
58
63
|
- **An empty value is never `tooShort`.** Native `minlength` only applies to a non-empty value, so
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
- **Class** `LyraThreadList`, also available unregistered from `@aceshooting/lyra-ui/components/conversation/thread-list/thread-list.class.js`
|
|
7
7
|
- **Family** `components/conversation/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Optional peers** none
|
|
9
|
-
- **Themeable via** 32 parts,
|
|
9
|
+
- **Themeable via** 32 parts, 4 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
10
10
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
11
|
|
|
12
12
|
---
|
|
@@ -65,13 +65,17 @@ icon — the item has no default slot to receive one); unset renders the built-i
|
|
|
65
65
|
`renderActions?: (thread: ChatThread) => TemplateResult` (attribute: false) — data mode only:
|
|
66
66
|
appends host-supplied content (re-invoked per row on every render, e.g. a `lr-menu` with custom
|
|
67
67
|
actions) after the built-in `rowActions` output in each row's `actions` slot; events it fires reach
|
|
68
|
-
the host normally and never trigger `lr-select`.
|
|
68
|
+
the host normally and never trigger `lr-select`. An open nested `lr-menu` keeps its virtual row
|
|
69
|
+
above later rows even if focus temporarily leaves the menu. Unset renders only the built-in
|
|
70
|
+
`rowActions`.
|
|
69
71
|
`renderLeading?: (thread: ChatThread) => TemplateResult` (attribute: false) — renders non-interactive
|
|
70
72
|
leading content in each virtualized row. `renderExcerpt?: (thread: ChatThread) => TemplateResult`
|
|
71
73
|
(attribute: false) — renders rich content into the row item's own `excerpt` slot, winning over the
|
|
72
74
|
plain-string `excerpt` property (e.g. a server-highlighted search-match snippet), while leaving the
|
|
73
|
-
built-in title layout and inline-rename affordance untouched.
|
|
74
|
-
|
|
75
|
+
built-in title layout and inline-rename affordance untouched. `<mark>` descendants returned by this
|
|
76
|
+
hook receive the default, component-themeable highlight treatment documented below.
|
|
77
|
+
`renderMeta?: (thread: ChatThread) => TemplateResult` (attribute: false) — appends structured
|
|
78
|
+
metadata in the row's meta region.
|
|
75
79
|
`renderRowContent?: (thread: ChatThread) => TemplateResult` (attribute: false) — replaces the
|
|
76
80
|
conversation item's title/excerpt/meta content area with custom non-interactive row content.
|
|
77
81
|
`formatGroupLabel?: (key: ThreadBucketKey, date?: Date) => string` (attribute: false) — overrides
|
|
@@ -114,6 +118,14 @@ prefix: `row-item-base`, `row-item-active-indicator`, `row-item-option`, `row-it
|
|
|
114
118
|
`row-item-title`, `row-item-title-input`, `row-item-rename-button`, `row-item-excerpt`,
|
|
115
119
|
`row-item-meta`, `row-item-timestamp`, `row-item-actions`.
|
|
116
120
|
|
|
121
|
+
**Themeable excerpt highlights:** `<mark>` descendants returned by `renderExcerpt` use
|
|
122
|
+
`--lr-thread-list-excerpt-highlight-background` (default `var(--lr-color-warning-quiet)`),
|
|
123
|
+
`--lr-thread-list-excerpt-highlight-foreground` (default `inherit`),
|
|
124
|
+
`--lr-thread-list-excerpt-highlight-radius` (default `var(--lr-radius-xs)`), and
|
|
125
|
+
`--lr-thread-list-excerpt-highlight-padding` (default `0`). These properties inherit through the
|
|
126
|
+
internal virtual-list shadow tree, so set them on `lr-thread-list` or any ancestor. They do not style
|
|
127
|
+
marks returned by `renderRowContent` or any other hook.
|
|
128
|
+
|
|
117
129
|
**Keep the two prefixes straight — they are different surfaces.** The `row-*` parts wrap *this*
|
|
118
130
|
component's own render-callback output (`wrapRow`, `renderLeading`, `renderExcerpt`,
|
|
119
131
|
`renderRowContent`, `renderMeta`, `renderActions`); the `row-item-*` parts are the row item's
|
|
@@ -222,18 +222,19 @@ history sidebar); it is not the right approach for a hundred-thousand-row list w
|
|
|
222
222
|
- A sticky band only appears when `renderStickyGroup` *and* at least one valid `groups` entry are
|
|
223
223
|
both present; `groups` alone renders positioned markers with nothing pinned, and
|
|
224
224
|
`renderStickyGroup` alone renders no overlay element at all.
|
|
225
|
-
- **A row that renders a popup needs the
|
|
225
|
+
- **A row that renders a popup needs the active-row lift, and this is why `[part='row']` has one.**
|
|
226
226
|
Each row carries `will-change: transform` (a compositor hint for the per-frame translate), which
|
|
227
227
|
makes every row its own stacking context. Rows otherwise carry no `z-index`, so they paint in DOM
|
|
228
228
|
order and each one paints over the previous. Anything a row renders that overflows its own box —
|
|
229
229
|
an `<lr-menu>` popup in a row-action menu, a tooltip, an outward focus ring — is therefore painted
|
|
230
230
|
*underneath* every following row, no matter how high its own `z-index` is: that `z-index` only
|
|
231
231
|
orders siblings inside the row's own context. The last row always looks correct, which is exactly
|
|
232
|
-
why a short fixture never catches it.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
232
|
+
why a short fixture never catches it. A row lifts to `--lr-layer-content` while something inside
|
|
233
|
+
it holds focus or while it contains an open `lr-menu`. The explicit menu-open branch covers
|
|
234
|
+
imperative opening and virtual measurement/render cycles, where focus can temporarily return to
|
|
235
|
+
the document while the popup remains visible. The value deliberately *matches*
|
|
236
|
+
`[part='group']`'s rather than exceeding it, so the two land on the same layer and DOM order
|
|
237
|
+
decides: groups render before the rows, so an active row wins while (and only while) it needs to,
|
|
238
|
+
which is right — a group header is a non-interactive `pointer-events: none` label.
|
|
238
239
|
|
|
239
240
|
---
|
package/llms-full.txt
CHANGED
|
@@ -1321,6 +1321,7 @@ submission/validation/reset via `name`/`value`/`disabled`/`required`/`checkValid
|
|
|
1321
1321
|
| `rows` | `rows` | `number` | `3` | Visible text rows. |
|
|
1322
1322
|
| `resize` | `resize` | `'none' \| 'vertical' \| 'both' \| 'auto'` | `'vertical'` | Native CSS `resize` behavior, plus `'auto'` (`ResizeObserver`-driven grow-to-content, no manual handle). |
|
|
1323
1323
|
| `placeholder` | `placeholder` | `string` | `''` | Placeholder text. |
|
|
1324
|
+
| `readonly` | `readonly` | `boolean` | `false` | Native read-only behavior: prevents user edits while preserving focus, selection/copy, form submission, and silent programmatic editing methods. Reflected. |
|
|
1324
1325
|
| `label` | `label` | `string` | `''` | Visible label text. Unset: no label chrome renders. |
|
|
1325
1326
|
| `hint` | `hint` | `string` | `''` | Hint text below the field. |
|
|
1326
1327
|
| `errorText` | `error-text` | `string` | `''` | Error text below the field (overridden by slotted `error` content). |
|
|
@@ -1344,6 +1345,10 @@ submission/validation/reset via `name`/`value`/`disabled`/`required`/`checkValid
|
|
|
1344
1345
|
(from `maxlength`) — the complete set a native `<textarea>` can produce. Leaving `minlength` and
|
|
1345
1346
|
`maxlength` unset constrains nothing, exactly as before they existed.
|
|
1346
1347
|
|
|
1348
|
+
While `readonly`, all three constraint flags are suspended and `checkValidity()` succeeds, matching
|
|
1349
|
+
native textarea behavior. The value remains a successful form value and is restored by form reset;
|
|
1350
|
+
unsetting `readonly` restores the applicable required and length constraints.
|
|
1351
|
+
|
|
1347
1352
|
Two behaviors are worth knowing, both inherited from the platform and both shared with `lr-input`:
|
|
1348
1353
|
|
|
1349
1354
|
- **An empty value is never `tooShort`.** Native `minlength` only applies to a non-empty value, so
|
|
@@ -6094,19 +6099,20 @@ history sidebar); it is not the right approach for a hundred-thousand-row list w
|
|
|
6094
6099
|
- A sticky band only appears when `renderStickyGroup` *and* at least one valid `groups` entry are
|
|
6095
6100
|
both present; `groups` alone renders positioned markers with nothing pinned, and
|
|
6096
6101
|
`renderStickyGroup` alone renders no overlay element at all.
|
|
6097
|
-
- **A row that renders a popup needs the
|
|
6102
|
+
- **A row that renders a popup needs the active-row lift, and this is why `[part='row']` has one.**
|
|
6098
6103
|
Each row carries `will-change: transform` (a compositor hint for the per-frame translate), which
|
|
6099
6104
|
makes every row its own stacking context. Rows otherwise carry no `z-index`, so they paint in DOM
|
|
6100
6105
|
order and each one paints over the previous. Anything a row renders that overflows its own box —
|
|
6101
6106
|
an `<lr-menu>` popup in a row-action menu, a tooltip, an outward focus ring — is therefore painted
|
|
6102
6107
|
*underneath* every following row, no matter how high its own `z-index` is: that `z-index` only
|
|
6103
6108
|
orders siblings inside the row's own context. The last row always looks correct, which is exactly
|
|
6104
|
-
why a short fixture never catches it.
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6109
|
+
why a short fixture never catches it. A row lifts to `--lr-layer-content` while something inside
|
|
6110
|
+
it holds focus or while it contains an open `lr-menu`. The explicit menu-open branch covers
|
|
6111
|
+
imperative opening and virtual measurement/render cycles, where focus can temporarily return to
|
|
6112
|
+
the document while the popup remains visible. The value deliberately *matches*
|
|
6113
|
+
`[part='group']`'s rather than exceeding it, so the two land on the same layer and DOM order
|
|
6114
|
+
decides: groups render before the rows, so an active row wins while (and only while) it needs to,
|
|
6115
|
+
which is right — a group header is a non-interactive `pointer-events: none` label.
|
|
6110
6116
|
|
|
6111
6117
|
---
|
|
6112
6118
|
|
|
@@ -14117,13 +14123,17 @@ icon — the item has no default slot to receive one); unset renders the built-i
|
|
|
14117
14123
|
`renderActions?: (thread: ChatThread) => TemplateResult` (attribute: false) — data mode only:
|
|
14118
14124
|
appends host-supplied content (re-invoked per row on every render, e.g. a `lr-menu` with custom
|
|
14119
14125
|
actions) after the built-in `rowActions` output in each row's `actions` slot; events it fires reach
|
|
14120
|
-
the host normally and never trigger `lr-select`.
|
|
14126
|
+
the host normally and never trigger `lr-select`. An open nested `lr-menu` keeps its virtual row
|
|
14127
|
+
above later rows even if focus temporarily leaves the menu. Unset renders only the built-in
|
|
14128
|
+
`rowActions`.
|
|
14121
14129
|
`renderLeading?: (thread: ChatThread) => TemplateResult` (attribute: false) — renders non-interactive
|
|
14122
14130
|
leading content in each virtualized row. `renderExcerpt?: (thread: ChatThread) => TemplateResult`
|
|
14123
14131
|
(attribute: false) — renders rich content into the row item's own `excerpt` slot, winning over the
|
|
14124
14132
|
plain-string `excerpt` property (e.g. a server-highlighted search-match snippet), while leaving the
|
|
14125
|
-
built-in title layout and inline-rename affordance untouched.
|
|
14126
|
-
|
|
14133
|
+
built-in title layout and inline-rename affordance untouched. `<mark>` descendants returned by this
|
|
14134
|
+
hook receive the default, component-themeable highlight treatment documented below.
|
|
14135
|
+
`renderMeta?: (thread: ChatThread) => TemplateResult` (attribute: false) — appends structured
|
|
14136
|
+
metadata in the row's meta region.
|
|
14127
14137
|
`renderRowContent?: (thread: ChatThread) => TemplateResult` (attribute: false) — replaces the
|
|
14128
14138
|
conversation item's title/excerpt/meta content area with custom non-interactive row content.
|
|
14129
14139
|
`formatGroupLabel?: (key: ThreadBucketKey, date?: Date) => string` (attribute: false) — overrides
|
|
@@ -14166,6 +14176,14 @@ prefix: `row-item-base`, `row-item-active-indicator`, `row-item-option`, `row-it
|
|
|
14166
14176
|
`row-item-title`, `row-item-title-input`, `row-item-rename-button`, `row-item-excerpt`,
|
|
14167
14177
|
`row-item-meta`, `row-item-timestamp`, `row-item-actions`.
|
|
14168
14178
|
|
|
14179
|
+
**Themeable excerpt highlights:** `<mark>` descendants returned by `renderExcerpt` use
|
|
14180
|
+
`--lr-thread-list-excerpt-highlight-background` (default `var(--lr-color-warning-quiet)`),
|
|
14181
|
+
`--lr-thread-list-excerpt-highlight-foreground` (default `inherit`),
|
|
14182
|
+
`--lr-thread-list-excerpt-highlight-radius` (default `var(--lr-radius-xs)`), and
|
|
14183
|
+
`--lr-thread-list-excerpt-highlight-padding` (default `0`). These properties inherit through the
|
|
14184
|
+
internal virtual-list shadow tree, so set them on `lr-thread-list` or any ancestor. They do not style
|
|
14185
|
+
marks returned by `renderRowContent` or any other hook.
|
|
14186
|
+
|
|
14169
14187
|
**Keep the two prefixes straight — they are different surfaces.** The `row-*` parts wrap *this*
|
|
14170
14188
|
component's own render-callback output (`wrapRow`, `renderLeading`, `renderExcerpt`,
|
|
14171
14189
|
`renderRowContent`, `renderMeta`, `renderActions`); the `row-item-*` parts are the row item's
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aceshooting/lyra-ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "Free, independent Lit web components: an open-source alternative to Shoelace and Web Awesome with accessible forms, dashboards, charts, and agent UI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
package/vscode-css-data.json
CHANGED
|
@@ -4460,6 +4460,34 @@
|
|
|
4460
4460
|
"value": "**`<lr-thinking-panel>`** (default: `var(--lr-size-16rem)`) — Cap on how tall the expanded reasoning transcript grows before `[part=\"body\"]` scrolls internally."
|
|
4461
4461
|
}
|
|
4462
4462
|
},
|
|
4463
|
+
{
|
|
4464
|
+
"name": "--lr-thread-list-excerpt-highlight-background",
|
|
4465
|
+
"description": {
|
|
4466
|
+
"kind": "markdown",
|
|
4467
|
+
"value": "**`<lr-thread-list>`** (default: `var(--lr-color-warning-quiet)`) — Background of `<mark>` descendants returned by `renderExcerpt`."
|
|
4468
|
+
}
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
"name": "--lr-thread-list-excerpt-highlight-foreground",
|
|
4472
|
+
"description": {
|
|
4473
|
+
"kind": "markdown",
|
|
4474
|
+
"value": "**`<lr-thread-list>`** (default: `inherit`) — Foreground of `<mark>` descendants returned by `renderExcerpt`."
|
|
4475
|
+
}
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
"name": "--lr-thread-list-excerpt-highlight-padding",
|
|
4479
|
+
"description": {
|
|
4480
|
+
"kind": "markdown",
|
|
4481
|
+
"value": "**`<lr-thread-list>`** (default: `0`) — Padding of `<mark>` descendants returned by `renderExcerpt`."
|
|
4482
|
+
}
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
"name": "--lr-thread-list-excerpt-highlight-radius",
|
|
4486
|
+
"description": {
|
|
4487
|
+
"kind": "markdown",
|
|
4488
|
+
"value": "**`<lr-thread-list>`** (default: `var(--lr-radius-xs)`) — Corner radius of `<mark>` descendants returned by `renderExcerpt`."
|
|
4489
|
+
}
|
|
4490
|
+
},
|
|
4463
4491
|
{
|
|
4464
4492
|
"name": "--lr-time-range-base-size",
|
|
4465
4493
|
"description": {
|
package/vscode-html-data.json
CHANGED
|
@@ -14773,7 +14773,7 @@
|
|
|
14773
14773
|
"name": "lr-textarea",
|
|
14774
14774
|
"description": {
|
|
14775
14775
|
"kind": "markdown",
|
|
14776
|
-
"value": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| `error` | Custom error content. |\n| `hint` | Custom hint content. |\n| `label` | Custom label content. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `error` | The error message. |\n| `form-control` | The outer wrapper around label, textarea, error and hint. |\n| `form-control-label` | The `<label>` element. |\n| `hint` | The hint message. |\n| `textarea` | The native `<textarea>` element. |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-textarea-max-block-size` (default: `none`) — Maximum auto-grown block size before the textarea scrolls."
|
|
14776
|
+
"value": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.\n`readonly` keeps the value focusable, selectable, copyable, and form-submittable while barring\nuser edits and constraint validation, matching the native textarea contract.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| `error` | Custom error content. |\n| `hint` | Custom hint content. |\n| `label` | Custom label content. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `error` | The error message. |\n| `form-control` | The outer wrapper around label, textarea, error and hint. |\n| `form-control-label` | The `<label>` element. |\n| `hint` | The hint message. |\n| `textarea` | The native `<textarea>` element. |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-textarea-max-block-size` (default: `none`) — Maximum auto-grown block size before the textarea scrolls."
|
|
14777
14777
|
},
|
|
14778
14778
|
"attributes": [
|
|
14779
14779
|
{
|
|
@@ -14881,6 +14881,13 @@
|
|
|
14881
14881
|
"value": "Type: `string` \nDefault: `''`"
|
|
14882
14882
|
}
|
|
14883
14883
|
},
|
|
14884
|
+
{
|
|
14885
|
+
"name": "readonly",
|
|
14886
|
+
"description": {
|
|
14887
|
+
"kind": "markdown",
|
|
14888
|
+
"value": "Forwards native read-only behavior to the internal textarea. The value remains focusable,\nselectable, copyable, and form-submittable; constraint validation is suspended until the\nproperty is unset.\n\nType: `boolean` \nDefault: `false`"
|
|
14889
|
+
}
|
|
14890
|
+
},
|
|
14884
14891
|
{
|
|
14885
14892
|
"name": "required",
|
|
14886
14893
|
"description": {
|
|
@@ -14966,7 +14973,7 @@
|
|
|
14966
14973
|
"name": "lr-thread-list",
|
|
14967
14974
|
"description": {
|
|
14968
14975
|
"kind": "markdown",
|
|
14969
|
-
"value": "`<lr-thread-list>` — the conversation sidebar: a grouped, searchable list of chat sessions with\npin/archive/delete/rename affordances. *Data mode* (non-empty `threads`, or empty `threads` with\nnothing slotted) renders every row as a `<lr-conversation-item>` inside an internal\n`<lr-virtual-list>` — virtualized by construction, scroll position and per-row state survive a\n`threads` replacement; zero rows renders the built-in empty state. *Slotted mode* (empty `threads`\n*and* real slotted content) renders host-supplied `<lr-conversation-item>`s from the default slot\nas-is: no grouping, virtualization, or row actions in that mode — those are data-mode-only by design\n(shadow DOM cannot inject group headers between slotted children).\n\nNo thread CRUD or persistence: every mutation (`lr-thread-pin`/`-archive`/`-delete`/`-rename`) is\na controlled event carrying the *requested* new state — the host mutates `threads`.\n\nData mode: a host needing content with no home in `lr-conversation-item`'s own\n`title`/`excerpt`/`meta`/`actions` surface sets `wrapRow` to wrap the already-built row. For\ncommon row composition, `renderLeading`, `renderExcerpt`, `renderMeta`, and `renderRowContent`\nprovide focused virtualized render hooks -- `renderExcerpt` renders into the row item's own\n`excerpt` slot (winning over the plain-string `excerpt` property) for rich per-row content such\nas a highlighted search snippet. A host needing a fully custom\n`actions` surface itself — beyond `rowActions`'s closed `pin | archive | delete` set, e.g. a\n`<lr-menu>` with Rename/Delete — sets `renderActions` instead; its content is appended after any\nbuilt-in `rowActions` output in the same slot, and `wrapRow` continues to compose around the result.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| (default) | Slotted mode only: host-supplied `lr-conversation-item`s, rendered in order. Each top-level assigned element that doesn't already carry an explicit `role` is given `role=\"listitem\"`, since `[part=\"list\"]` is `role=\"list\"` in this mode and `lr-conversation-item` deliberately doesn't self-apply that role (see its own class doc). |\n| `empty` | Replaces the built-in empty state. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `base` | The root. |\n| `empty` | The empty/no-matches state. |\n| `group-header` | A date/custom group header in data mode. |\n| `group-icon` | The decorative expand/collapse glyph. |\n| `group-label` | The group label inside `group-toggle`. |\n| `group-sticky` | `sticky-groups` only: the pinned copy of the current group's header, exported from the internal `lr-virtual-list`'s sticky layer. It wraps a full copy of the `group-header`/`group-toggle`/`group-label`/`group-icon` markup (which therefore styles both the real header row and the pinned copy), and carries `aria-hidden` — style it for the pinned band itself, e.g. a shadow or a border under the band. |\n| `group-toggle` | The controlled group expand/collapse button. |\n| `list` | The list region. |\n| `pin-glyph` | The small pin indicator shown in a pinned row's `meta` slot (data mode). |\n| `row` | Exported from the internal `lr-virtual-list`'s `row` part (data mode). |\n| `row-action` | A built-in pin/archive/delete icon button (data mode, when `rowActions` includes it). |\n| `row-actions` | The wrapper around built-in and `renderActions` output. |\n| `row-content` | The wrapper around `renderRowContent` output. |\n| `row-excerpt` | The wrapper around `renderExcerpt` output, slotted into the row item's own `excerpt` slot. |\n| `row-item-actions` | Data mode: the row item's `actions` wrapper. |\n| `row-item-active-indicator` | Data mode: the row item's decorative active indicator, exported from `lr-conversation-item`. |\n| `row-item-base` | Data mode: the row `<lr-conversation-item>`'s own `base` part — the box whose padding sets row height. `row-item-*` parts are the item's *internals*; the `row-*` parts above wrap this component's own callback output and are a different surface. Styling row density here replaces the older `::part(row) { --lr-theme-*: … }` workaround, which retheme'd the whole row subtree (`renderActions` popups included). |\n| `row-item-content` | Data mode: the row item's title/excerpt content column. |\n| `row-item-excerpt` | Data mode: the row item's excerpt line. |\n| `row-item-leading` | Data mode: the row item's `leading` wrapper. |\n| `row-item-meta` | Data mode: the row item's `meta` wrapper. |\n| `row-item-option` | Data mode: the row item's selectable `option` region. |\n| `row-item-rename-button` | Data mode: the row item's pencil/rename affordance. |\n| `row-item-timestamp` | Data mode: the row item's `<time>` element. |\n| `row-item-title` | Data mode: the row item's title text. |\n| `row-item-title-input` | Data mode: the row item's in-place rename `<input>`. |\n| `row-leading` | The wrapper around `renderLeading` output. |\n| `row-meta` | A wrapper around built-in or `renderMeta` metadata. |\n| `row-wrapper` | The wrapper around `wrapRow` output (data mode, only when `wrapRow` is set). Row-only: group headers are never passed through `wrapRow`, so they never carry it. |\n| `search` | The search field wrapper. |\n| `search-input` | The `<input type=\"search\">`. |\n| `viewport` | The real scroll container, exported from the internal `lr-virtual-list`. It fills this component's height with no consumer CSS (and falls back to `lr-virtual-list`'s own 24rem `--lr-virtual-list-height` default when the container has no resolvable height).
|
|
14976
|
+
"value": "`<lr-thread-list>` — the conversation sidebar: a grouped, searchable list of chat sessions with\npin/archive/delete/rename affordances. *Data mode* (non-empty `threads`, or empty `threads` with\nnothing slotted) renders every row as a `<lr-conversation-item>` inside an internal\n`<lr-virtual-list>` — virtualized by construction, scroll position and per-row state survive a\n`threads` replacement; zero rows renders the built-in empty state. *Slotted mode* (empty `threads`\n*and* real slotted content) renders host-supplied `<lr-conversation-item>`s from the default slot\nas-is: no grouping, virtualization, or row actions in that mode — those are data-mode-only by design\n(shadow DOM cannot inject group headers between slotted children).\n\nNo thread CRUD or persistence: every mutation (`lr-thread-pin`/`-archive`/`-delete`/`-rename`) is\na controlled event carrying the *requested* new state — the host mutates `threads`.\n\nData mode: a host needing content with no home in `lr-conversation-item`'s own\n`title`/`excerpt`/`meta`/`actions` surface sets `wrapRow` to wrap the already-built row. For\ncommon row composition, `renderLeading`, `renderExcerpt`, `renderMeta`, and `renderRowContent`\nprovide focused virtualized render hooks -- `renderExcerpt` renders into the row item's own\n`excerpt` slot (winning over the plain-string `excerpt` property) for rich per-row content such\nas a highlighted search snippet. A host needing a fully custom\n`actions` surface itself — beyond `rowActions`'s closed `pin | archive | delete` set, e.g. a\n`<lr-menu>` with Rename/Delete — sets `renderActions` instead; its content is appended after any\nbuilt-in `rowActions` output in the same slot, and `wrapRow` continues to compose around the result.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| (default) | Slotted mode only: host-supplied `lr-conversation-item`s, rendered in order. Each top-level assigned element that doesn't already carry an explicit `role` is given `role=\"listitem\"`, since `[part=\"list\"]` is `role=\"list\"` in this mode and `lr-conversation-item` deliberately doesn't self-apply that role (see its own class doc). |\n| `empty` | Replaces the built-in empty state. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `base` | The root. |\n| `empty` | The empty/no-matches state. |\n| `group-header` | A date/custom group header in data mode. |\n| `group-icon` | The decorative expand/collapse glyph. |\n| `group-label` | The group label inside `group-toggle`. |\n| `group-sticky` | `sticky-groups` only: the pinned copy of the current group's header, exported from the internal `lr-virtual-list`'s sticky layer. It wraps a full copy of the `group-header`/`group-toggle`/`group-label`/`group-icon` markup (which therefore styles both the real header row and the pinned copy), and carries `aria-hidden` — style it for the pinned band itself, e.g. a shadow or a border under the band. |\n| `group-toggle` | The controlled group expand/collapse button. |\n| `list` | The list region. |\n| `pin-glyph` | The small pin indicator shown in a pinned row's `meta` slot (data mode). |\n| `row` | Exported from the internal `lr-virtual-list`'s `row` part (data mode). |\n| `row-action` | A built-in pin/archive/delete icon button (data mode, when `rowActions` includes it). |\n| `row-actions` | The wrapper around built-in and `renderActions` output. |\n| `row-content` | The wrapper around `renderRowContent` output. |\n| `row-excerpt` | The wrapper around `renderExcerpt` output, slotted into the row item's own `excerpt` slot. |\n| `row-item-actions` | Data mode: the row item's `actions` wrapper. |\n| `row-item-active-indicator` | Data mode: the row item's decorative active indicator, exported from `lr-conversation-item`. |\n| `row-item-base` | Data mode: the row `<lr-conversation-item>`'s own `base` part — the box whose padding sets row height. `row-item-*` parts are the item's *internals*; the `row-*` parts above wrap this component's own callback output and are a different surface. Styling row density here replaces the older `::part(row) { --lr-theme-*: … }` workaround, which retheme'd the whole row subtree (`renderActions` popups included). |\n| `row-item-content` | Data mode: the row item's title/excerpt content column. |\n| `row-item-excerpt` | Data mode: the row item's excerpt line. |\n| `row-item-leading` | Data mode: the row item's `leading` wrapper. |\n| `row-item-meta` | Data mode: the row item's `meta` wrapper. |\n| `row-item-option` | Data mode: the row item's selectable `option` region. |\n| `row-item-rename-button` | Data mode: the row item's pencil/rename affordance. |\n| `row-item-timestamp` | Data mode: the row item's `<time>` element. |\n| `row-item-title` | Data mode: the row item's title text. |\n| `row-item-title-input` | Data mode: the row item's in-place rename `<input>`. |\n| `row-leading` | The wrapper around `renderLeading` output. |\n| `row-meta` | A wrapper around built-in or `renderMeta` metadata. |\n| `row-wrapper` | The wrapper around `wrapRow` output (data mode, only when `wrapRow` is set). Row-only: group headers are never passed through `wrapRow`, so they never carry it. |\n| `search` | The search field wrapper. |\n| `search-input` | The `<input type=\"search\">`. |\n| `viewport` | The real scroll container, exported from the internal `lr-virtual-list`. It fills this component's height with no consumer CSS (and falls back to `lr-virtual-list`'s own 24rem `--lr-virtual-list-height` default when the container has no resolvable height). |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-thread-list-excerpt-highlight-background` (default: `var(--lr-color-warning-quiet)`) — Background of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-foreground` (default: `inherit`) — Foreground of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-radius` (default: `var(--lr-radius-xs)`) — Corner radius of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-padding` (default: `0`) — Padding of `<mark>` descendants returned by `renderExcerpt`."
|
|
14970
14977
|
},
|
|
14971
14978
|
"attributes": [
|
|
14972
14979
|
{
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@aceshooting/lyra-ui",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.5.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -16422,7 +16422,7 @@
|
|
|
16422
16422
|
},
|
|
16423
16423
|
{
|
|
16424
16424
|
"name": "lr-textarea",
|
|
16425
|
-
"description": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| `error` | Custom error content. |\n| `hint` | Custom hint content. |\n| `label` | Custom label content. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `error` | The error message. |\n| `form-control` | The outer wrapper around label, textarea, error and hint. |\n| `form-control-label` | The `<label>` element. |\n| `hint` | The hint message. |\n| `textarea` | The native `<textarea>` element. |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-textarea-max-block-size` (default: `none`) — Maximum auto-grown block size before the textarea scrolls.",
|
|
16425
|
+
"description": "`<lr-textarea>` — a multiline plain-text input primitive, form-associated via the\n`FormAssociated` mixin (see `<lr-chat-composer>`/`<lr-date-input>` for the same shape), so it\nparticipates in native `<form>` submission/validation/reset like any other text control --\n`name`/`value`/`disabled`/`required`/`checkValidity()`/`reportValidity()` all come from that mixin.\n\nShips an opt-in `label`/`hint`/`errorText` form-control chrome (props + matching named slots +\n`form-control-label`/`hint`/`error` parts), mirroring `<lr-select>`'s exact pattern -- left\nunset, the chrome remains hidden. A consumer preferring their own form-field layout can still\nignore these and wrap the element. A host `aria-label` is forwarded to the internal textbox;\nexternal `aria-labelledby`/`aria-describedby` idrefs are not copied across the shadow boundary.\n\n`minlength`/`maxlength` are forwarded to the internal native `<textarea>` and bridged into this\nelement's own `ElementInternals` as `tooShort`/`tooLong` by `updateValidity()`.\n`readonly` keeps the value focusable, selectable, copyable, and form-submittable while barring\nuser edits and constraint validation, matching the native textarea contract.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| `error` | Custom error content. |\n| `hint` | Custom hint content. |\n| `label` | Custom label content. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `error` | The error message. |\n| `form-control` | The outer wrapper around label, textarea, error and hint. |\n| `form-control-label` | The `<label>` element. |\n| `hint` | The hint message. |\n| `textarea` | The native `<textarea>` element. |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-textarea-max-block-size` (default: `none`) — Maximum auto-grown block size before the textarea scrolls.",
|
|
16426
16426
|
"attributes": [
|
|
16427
16427
|
{
|
|
16428
16428
|
"name": "aria-label",
|
|
@@ -16544,6 +16544,15 @@
|
|
|
16544
16544
|
]
|
|
16545
16545
|
}
|
|
16546
16546
|
},
|
|
16547
|
+
{
|
|
16548
|
+
"name": "readonly",
|
|
16549
|
+
"description": "Forwards native read-only behavior to the internal textarea. The value remains focusable,\nselectable, copyable, and form-submittable; constraint validation is suspended until the\nproperty is unset.\n\nType: `boolean` \nDefault: `false`",
|
|
16550
|
+
"value": {
|
|
16551
|
+
"type": [
|
|
16552
|
+
"boolean"
|
|
16553
|
+
]
|
|
16554
|
+
}
|
|
16555
|
+
},
|
|
16547
16556
|
{
|
|
16548
16557
|
"name": "required",
|
|
16549
16558
|
"description": "Type: `boolean`",
|
|
@@ -16639,7 +16648,7 @@
|
|
|
16639
16648
|
},
|
|
16640
16649
|
{
|
|
16641
16650
|
"name": "lr-thread-list",
|
|
16642
|
-
"description": "`<lr-thread-list>` — the conversation sidebar: a grouped, searchable list of chat sessions with\npin/archive/delete/rename affordances. *Data mode* (non-empty `threads`, or empty `threads` with\nnothing slotted) renders every row as a `<lr-conversation-item>` inside an internal\n`<lr-virtual-list>` — virtualized by construction, scroll position and per-row state survive a\n`threads` replacement; zero rows renders the built-in empty state. *Slotted mode* (empty `threads`\n*and* real slotted content) renders host-supplied `<lr-conversation-item>`s from the default slot\nas-is: no grouping, virtualization, or row actions in that mode — those are data-mode-only by design\n(shadow DOM cannot inject group headers between slotted children).\n\nNo thread CRUD or persistence: every mutation (`lr-thread-pin`/`-archive`/`-delete`/`-rename`) is\na controlled event carrying the *requested* new state — the host mutates `threads`.\n\nData mode: a host needing content with no home in `lr-conversation-item`'s own\n`title`/`excerpt`/`meta`/`actions` surface sets `wrapRow` to wrap the already-built row. For\ncommon row composition, `renderLeading`, `renderExcerpt`, `renderMeta`, and `renderRowContent`\nprovide focused virtualized render hooks -- `renderExcerpt` renders into the row item's own\n`excerpt` slot (winning over the plain-string `excerpt` property) for rich per-row content such\nas a highlighted search snippet. A host needing a fully custom\n`actions` surface itself — beyond `rowActions`'s closed `pin | archive | delete` set, e.g. a\n`<lr-menu>` with Rename/Delete — sets `renderActions` instead; its content is appended after any\nbuilt-in `rowActions` output in the same slot, and `wrapRow` continues to compose around the result.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| (default) | Slotted mode only: host-supplied `lr-conversation-item`s, rendered in order. Each top-level assigned element that doesn't already carry an explicit `role` is given `role=\"listitem\"`, since `[part=\"list\"]` is `role=\"list\"` in this mode and `lr-conversation-item` deliberately doesn't self-apply that role (see its own class doc). |\n| `empty` | Replaces the built-in empty state. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `base` | The root. |\n| `empty` | The empty/no-matches state. |\n| `group-header` | A date/custom group header in data mode. |\n| `group-icon` | The decorative expand/collapse glyph. |\n| `group-label` | The group label inside `group-toggle`. |\n| `group-sticky` | `sticky-groups` only: the pinned copy of the current group's header, exported from the internal `lr-virtual-list`'s sticky layer. It wraps a full copy of the `group-header`/`group-toggle`/`group-label`/`group-icon` markup (which therefore styles both the real header row and the pinned copy), and carries `aria-hidden` — style it for the pinned band itself, e.g. a shadow or a border under the band. |\n| `group-toggle` | The controlled group expand/collapse button. |\n| `list` | The list region. |\n| `pin-glyph` | The small pin indicator shown in a pinned row's `meta` slot (data mode). |\n| `row` | Exported from the internal `lr-virtual-list`'s `row` part (data mode). |\n| `row-action` | A built-in pin/archive/delete icon button (data mode, when `rowActions` includes it). |\n| `row-actions` | The wrapper around built-in and `renderActions` output. |\n| `row-content` | The wrapper around `renderRowContent` output. |\n| `row-excerpt` | The wrapper around `renderExcerpt` output, slotted into the row item's own `excerpt` slot. |\n| `row-item-actions` | Data mode: the row item's `actions` wrapper. |\n| `row-item-active-indicator` | Data mode: the row item's decorative active indicator, exported from `lr-conversation-item`. |\n| `row-item-base` | Data mode: the row `<lr-conversation-item>`'s own `base` part — the box whose padding sets row height. `row-item-*` parts are the item's *internals*; the `row-*` parts above wrap this component's own callback output and are a different surface. Styling row density here replaces the older `::part(row) { --lr-theme-*: … }` workaround, which retheme'd the whole row subtree (`renderActions` popups included). |\n| `row-item-content` | Data mode: the row item's title/excerpt content column. |\n| `row-item-excerpt` | Data mode: the row item's excerpt line. |\n| `row-item-leading` | Data mode: the row item's `leading` wrapper. |\n| `row-item-meta` | Data mode: the row item's `meta` wrapper. |\n| `row-item-option` | Data mode: the row item's selectable `option` region. |\n| `row-item-rename-button` | Data mode: the row item's pencil/rename affordance. |\n| `row-item-timestamp` | Data mode: the row item's `<time>` element. |\n| `row-item-title` | Data mode: the row item's title text. |\n| `row-item-title-input` | Data mode: the row item's in-place rename `<input>`. |\n| `row-leading` | The wrapper around `renderLeading` output. |\n| `row-meta` | A wrapper around built-in or `renderMeta` metadata. |\n| `row-wrapper` | The wrapper around `wrapRow` output (data mode, only when `wrapRow` is set). Row-only: group headers are never passed through `wrapRow`, so they never carry it. |\n| `search` | The search field wrapper. |\n| `search-input` | The `<input type=\"search\">`. |\n| `viewport` | The real scroll container, exported from the internal `lr-virtual-list`. It fills this component's height with no consumer CSS (and falls back to `lr-virtual-list`'s own 24rem `--lr-virtual-list-height` default when the container has no resolvable height).
|
|
16651
|
+
"description": "`<lr-thread-list>` — the conversation sidebar: a grouped, searchable list of chat sessions with\npin/archive/delete/rename affordances. *Data mode* (non-empty `threads`, or empty `threads` with\nnothing slotted) renders every row as a `<lr-conversation-item>` inside an internal\n`<lr-virtual-list>` — virtualized by construction, scroll position and per-row state survive a\n`threads` replacement; zero rows renders the built-in empty state. *Slotted mode* (empty `threads`\n*and* real slotted content) renders host-supplied `<lr-conversation-item>`s from the default slot\nas-is: no grouping, virtualization, or row actions in that mode — those are data-mode-only by design\n(shadow DOM cannot inject group headers between slotted children).\n\nNo thread CRUD or persistence: every mutation (`lr-thread-pin`/`-archive`/`-delete`/`-rename`) is\na controlled event carrying the *requested* new state — the host mutates `threads`.\n\nData mode: a host needing content with no home in `lr-conversation-item`'s own\n`title`/`excerpt`/`meta`/`actions` surface sets `wrapRow` to wrap the already-built row. For\ncommon row composition, `renderLeading`, `renderExcerpt`, `renderMeta`, and `renderRowContent`\nprovide focused virtualized render hooks -- `renderExcerpt` renders into the row item's own\n`excerpt` slot (winning over the plain-string `excerpt` property) for rich per-row content such\nas a highlighted search snippet. A host needing a fully custom\n`actions` surface itself — beyond `rowActions`'s closed `pin | archive | delete` set, e.g. a\n`<lr-menu>` with Rename/Delete — sets `renderActions` instead; its content is appended after any\nbuilt-in `rowActions` output in the same slot, and `wrapRow` continues to compose around the result.\n\n---\n\n**Slots**\n\n| Name | Description |\n| --- | --- |\n| (default) | Slotted mode only: host-supplied `lr-conversation-item`s, rendered in order. Each top-level assigned element that doesn't already carry an explicit `role` is given `role=\"listitem\"`, since `[part=\"list\"]` is `role=\"list\"` in this mode and `lr-conversation-item` deliberately doesn't self-apply that role (see its own class doc). |\n| `empty` | Replaces the built-in empty state. |\n\n---\n\n**CSS Shadow Parts**\n\n| Name | Description |\n| --- | --- |\n| `base` | The root. |\n| `empty` | The empty/no-matches state. |\n| `group-header` | A date/custom group header in data mode. |\n| `group-icon` | The decorative expand/collapse glyph. |\n| `group-label` | The group label inside `group-toggle`. |\n| `group-sticky` | `sticky-groups` only: the pinned copy of the current group's header, exported from the internal `lr-virtual-list`'s sticky layer. It wraps a full copy of the `group-header`/`group-toggle`/`group-label`/`group-icon` markup (which therefore styles both the real header row and the pinned copy), and carries `aria-hidden` — style it for the pinned band itself, e.g. a shadow or a border under the band. |\n| `group-toggle` | The controlled group expand/collapse button. |\n| `list` | The list region. |\n| `pin-glyph` | The small pin indicator shown in a pinned row's `meta` slot (data mode). |\n| `row` | Exported from the internal `lr-virtual-list`'s `row` part (data mode). |\n| `row-action` | A built-in pin/archive/delete icon button (data mode, when `rowActions` includes it). |\n| `row-actions` | The wrapper around built-in and `renderActions` output. |\n| `row-content` | The wrapper around `renderRowContent` output. |\n| `row-excerpt` | The wrapper around `renderExcerpt` output, slotted into the row item's own `excerpt` slot. |\n| `row-item-actions` | Data mode: the row item's `actions` wrapper. |\n| `row-item-active-indicator` | Data mode: the row item's decorative active indicator, exported from `lr-conversation-item`. |\n| `row-item-base` | Data mode: the row `<lr-conversation-item>`'s own `base` part — the box whose padding sets row height. `row-item-*` parts are the item's *internals*; the `row-*` parts above wrap this component's own callback output and are a different surface. Styling row density here replaces the older `::part(row) { --lr-theme-*: … }` workaround, which retheme'd the whole row subtree (`renderActions` popups included). |\n| `row-item-content` | Data mode: the row item's title/excerpt content column. |\n| `row-item-excerpt` | Data mode: the row item's excerpt line. |\n| `row-item-leading` | Data mode: the row item's `leading` wrapper. |\n| `row-item-meta` | Data mode: the row item's `meta` wrapper. |\n| `row-item-option` | Data mode: the row item's selectable `option` region. |\n| `row-item-rename-button` | Data mode: the row item's pencil/rename affordance. |\n| `row-item-timestamp` | Data mode: the row item's `<time>` element. |\n| `row-item-title` | Data mode: the row item's title text. |\n| `row-item-title-input` | Data mode: the row item's in-place rename `<input>`. |\n| `row-leading` | The wrapper around `renderLeading` output. |\n| `row-meta` | A wrapper around built-in or `renderMeta` metadata. |\n| `row-wrapper` | The wrapper around `wrapRow` output (data mode, only when `wrapRow` is set). Row-only: group headers are never passed through `wrapRow`, so they never carry it. |\n| `search` | The search field wrapper. |\n| `search-input` | The `<input type=\"search\">`. |\n| `viewport` | The real scroll container, exported from the internal `lr-virtual-list`. It fills this component's height with no consumer CSS (and falls back to `lr-virtual-list`'s own 24rem `--lr-virtual-list-height` default when the container has no resolvable height). |\n\n---\n\n**CSS Custom Properties**\n\n- `--lr-thread-list-excerpt-highlight-background` (default: `var(--lr-color-warning-quiet)`) — Background of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-foreground` (default: `inherit`) — Foreground of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-radius` (default: `var(--lr-radius-xs)`) — Corner radius of `<mark>` descendants returned by `renderExcerpt`.\n- `--lr-thread-list-excerpt-highlight-padding` (default: `0`) — Padding of `<mark>` descendants returned by `renderExcerpt`.",
|
|
16643
16652
|
"attributes": [
|
|
16644
16653
|
{
|
|
16645
16654
|
"name": "active-id",
|
|
@@ -21230,6 +21239,22 @@
|
|
|
21230
21239
|
"name": "--lr-thinking-panel-max-block-size",
|
|
21231
21240
|
"description": "**`<lr-thinking-panel>`** (default: `var(--lr-size-16rem)`) — Cap on how tall the expanded reasoning transcript grows before `[part=\"body\"]` scrolls internally."
|
|
21232
21241
|
},
|
|
21242
|
+
{
|
|
21243
|
+
"name": "--lr-thread-list-excerpt-highlight-background",
|
|
21244
|
+
"description": "**`<lr-thread-list>`** (default: `var(--lr-color-warning-quiet)`) — Background of `<mark>` descendants returned by `renderExcerpt`."
|
|
21245
|
+
},
|
|
21246
|
+
{
|
|
21247
|
+
"name": "--lr-thread-list-excerpt-highlight-foreground",
|
|
21248
|
+
"description": "**`<lr-thread-list>`** (default: `inherit`) — Foreground of `<mark>` descendants returned by `renderExcerpt`."
|
|
21249
|
+
},
|
|
21250
|
+
{
|
|
21251
|
+
"name": "--lr-thread-list-excerpt-highlight-padding",
|
|
21252
|
+
"description": "**`<lr-thread-list>`** (default: `0`) — Padding of `<mark>` descendants returned by `renderExcerpt`."
|
|
21253
|
+
},
|
|
21254
|
+
{
|
|
21255
|
+
"name": "--lr-thread-list-excerpt-highlight-radius",
|
|
21256
|
+
"description": "**`<lr-thread-list>`** (default: `var(--lr-radius-xs)`) — Corner radius of `<mark>` descendants returned by `renderExcerpt`."
|
|
21257
|
+
},
|
|
21233
21258
|
{
|
|
21234
21259
|
"name": "--lr-time-range-base-size",
|
|
21235
21260
|
"description": "**`<lr-time-range>`** (default: `1.5rem*scale`) — Brush baseline block size."
|