@adia-ai/web-modules 0.4.6 → 0.4.7
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
CHANGED
|
@@ -11,6 +11,12 @@ Built from `@adia-ai/web-components` primitives.
|
|
|
11
11
|
|
|
12
12
|
_No pending changes._
|
|
13
13
|
|
|
14
|
+
## [0.4.7] - 2026-05-12
|
|
15
|
+
|
|
16
|
+
### Changed — `chat/chat-thread.yaml` populates `synonyms.tags` (§72)
|
|
17
|
+
|
|
18
|
+
The composite `chat-thread.yaml` picks up the alias array previously held in the retired `@adia-ai/a2ui-corpus/patterns/_components.json` — `chat`, `conversation`, `messages`, `chat-log`, `message-thread`. Sidecar regenerated by `npm run components`. Mirrors the per-component yaml sweep on `@adia-ai/web-components` for §72 (the §65 carry-over from v0.4.6).
|
|
19
|
+
|
|
14
20
|
## [0.4.6] - 2026-05-12
|
|
15
21
|
|
|
16
22
|
### Fixed — `<editor-sidebar>` resize-state detection via `:has()`
|
|
@@ -1,89 +1,98 @@
|
|
|
1
|
-
# Edit this file; run `npm run build:components` to regenerate a2ui.json.
|
|
2
1
|
$schema: ../../../../scripts/schemas/component.yaml.schema.json
|
|
3
2
|
name: ChatThread
|
|
4
3
|
tag: chat-thread
|
|
5
4
|
component: ChatThread
|
|
6
5
|
category: container
|
|
7
6
|
version: 1
|
|
8
|
-
description:
|
|
9
|
-
|
|
7
|
+
description: 'Module-tier chat message thread container — replaces legacy
|
|
8
|
+
|
|
10
9
|
<section data-chat-messages> per ADR-0023. Owns scroll-to-bottom
|
|
10
|
+
|
|
11
11
|
on new message (with user-scroll-up suspension), [streaming] and
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
[empty] reflected attributes, and a stable target for the host''s
|
|
14
|
+
|
|
13
15
|
message rendering pipeline.
|
|
14
16
|
|
|
17
|
+
|
|
15
18
|
Sits inside <chat-shell> as the central scroll surface. Authors
|
|
19
|
+
|
|
16
20
|
compose <chat-empty> as an optional first child for the empty
|
|
21
|
+
|
|
17
22
|
state; message children are appended dynamically by the host.
|
|
18
23
|
|
|
24
|
+
|
|
19
25
|
Backwards compat — <chat-shell> still recognizes the legacy
|
|
26
|
+
|
|
20
27
|
<section data-chat-messages> shape via :is() selector. New code
|
|
28
|
+
|
|
21
29
|
should prefer <chat-thread>.
|
|
22
30
|
|
|
31
|
+
'
|
|
23
32
|
props:
|
|
24
33
|
streaming:
|
|
25
|
-
description:
|
|
26
|
-
|
|
34
|
+
description: 'Reflected — set by the host while an LLM response is streaming.
|
|
35
|
+
|
|
27
36
|
Consumers can style streaming-mode (e.g. cursor blink) via
|
|
37
|
+
|
|
28
38
|
:has(chat-thread[streaming]) or attribute selectors.
|
|
39
|
+
|
|
40
|
+
'
|
|
29
41
|
type: boolean
|
|
30
42
|
default: false
|
|
31
43
|
reflect: true
|
|
32
|
-
|
|
33
44
|
empty:
|
|
34
|
-
description:
|
|
35
|
-
|
|
45
|
+
description: 'Reflected — set when zero message children. Drives the
|
|
46
|
+
|
|
36
47
|
<chat-empty> visibility via CSS — no JS toggling needed.
|
|
48
|
+
|
|
49
|
+
'
|
|
37
50
|
type: boolean
|
|
38
51
|
default: true
|
|
39
52
|
reflect: true
|
|
40
|
-
|
|
41
53
|
events: {}
|
|
42
|
-
|
|
43
54
|
slots:
|
|
44
55
|
default:
|
|
45
|
-
description:
|
|
46
|
-
|
|
47
|
-
<chat-shell>'s rendering pipeline) plus an optional first
|
|
48
|
-
<chat-empty> sibling for the empty state.
|
|
49
|
-
|
|
56
|
+
description: Default — message children (typically appended dynamically by <chat-shell>'s rendering pipeline) plus an
|
|
57
|
+
optional first <chat-empty> sibling for the empty state.
|
|
50
58
|
states:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
- name: idle
|
|
60
|
+
description: Default, no streaming.
|
|
61
|
+
- name: streaming
|
|
62
|
+
attribute: streaming
|
|
63
|
+
description: Host is actively streaming an LLM response.
|
|
64
|
+
- name: empty
|
|
65
|
+
attribute: empty
|
|
66
|
+
description: Zero message children — empty state visible.
|
|
60
67
|
traits: []
|
|
61
|
-
|
|
62
68
|
a2ui:
|
|
63
69
|
rules:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
divs as children.
|
|
69
|
-
- >-
|
|
70
|
-
Place <chat-empty> as an optional first child for the empty
|
|
71
|
-
state; the [empty] reflected attribute drives its visibility
|
|
72
|
-
via CSS (no JS toggling).
|
|
73
|
-
|
|
70
|
+
- chat-thread is the bespoke replacement for legacy <section data-chat-messages> inside <chat-shell>. Use it for the message
|
|
71
|
+
scroll surface; the host appends dynamic message divs as children.
|
|
72
|
+
- Place <chat-empty> as an optional first child for the empty state; the [empty] reflected attribute drives its visibility
|
|
73
|
+
via CSS (no JS toggling).
|
|
74
74
|
keywords:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
- chat-thread
|
|
76
|
+
- message-list
|
|
77
|
+
- conversation
|
|
78
|
+
- thread
|
|
79
|
+
- scroll-surface
|
|
81
80
|
synonyms:
|
|
82
|
-
thread:
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
thread:
|
|
82
|
+
- conversation
|
|
83
|
+
- dialogue
|
|
84
|
+
- chat-log
|
|
85
|
+
- transcript
|
|
86
|
+
message-list:
|
|
87
|
+
- messages
|
|
88
|
+
- message-stream
|
|
89
|
+
tags:
|
|
90
|
+
- Chat
|
|
91
|
+
- conversation
|
|
92
|
+
- chat-log
|
|
93
|
+
- message-thread
|
|
85
94
|
related:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
95
|
+
- ChatShell
|
|
96
|
+
- ChatEmpty
|
|
97
|
+
- ChatComposer
|
|
98
|
+
- ChatSidebar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-modules",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "AdiaUI composite custom elements — shell, chat, editor, runtime clusters built from @adia-ai/web-components primitives. Subpath exports per cluster.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|