anentrypoint-design 0.0.349 → 0.0.350
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/247420.js +2 -2
- package/package.json +1 -1
- package/src/components/agent-chat.js +1 -1
- package/src/components/chat.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.350",
|
|
4
4
|
"description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/247420.js",
|
|
@@ -473,7 +473,7 @@ export function AgentChat(props = {}) {
|
|
|
473
473
|
: null;
|
|
474
474
|
|
|
475
475
|
const threadBody = h('div', { class: 'agentchat-thread-wrap' },
|
|
476
|
-
h('div', { class: 'agentchat-thread', ref: threadRef(messages.length), role: 'log', 'aria-label': 'conversation' },
|
|
476
|
+
h('div', { class: 'agentchat-thread', ref: threadRef(messages.length), role: 'log', 'aria-label': 'conversation', 'aria-live': 'polite', 'aria-relevant': 'additions' },
|
|
477
477
|
emptyState,
|
|
478
478
|
earlierRow,
|
|
479
479
|
...rows.filter(Boolean),
|
package/src/components/chat.js
CHANGED
|
@@ -530,7 +530,7 @@ export function Chat({ title = 'chat', sub, messages = [], composer, header, sug
|
|
|
530
530
|
? h('span', { class: 'sub', 'aria-live': 'polite' }, msgCount + (msgCount === 1 ? ' message' : ' messages'))
|
|
531
531
|
: null
|
|
532
532
|
),
|
|
533
|
-
h('div', { class: 'chat-thread', ref: threadRef, role: 'log', 'aria-label': 'chat messages' },
|
|
533
|
+
h('div', { class: 'chat-thread', ref: threadRef, role: 'log', 'aria-label': 'chat messages', 'aria-live': 'polite', 'aria-relevant': 'additions' },
|
|
534
534
|
messages.length === 0
|
|
535
535
|
? h('div', { key: '_empty', class: 'chat-empty', role: 'status' },
|
|
536
536
|
h('p', { class: 'chat-empty-title' }, t('chat.startConversation', 'start a conversation')),
|
|
@@ -578,7 +578,7 @@ export function AICat({ name = 'aicat', messages = [], thinking, composer, statu
|
|
|
578
578
|
? h('span', { class: 'sub', 'aria-live': 'polite' }, messages.length + (messages.length === 1 ? ' turn' : ' turns'))
|
|
579
579
|
: null
|
|
580
580
|
),
|
|
581
|
-
h('div', { class: 'chat-thread', ref: threadRef, role: 'log', 'aria-label': 'conversation turns' },
|
|
581
|
+
h('div', { class: 'chat-thread', ref: threadRef, role: 'log', 'aria-label': 'conversation turns', 'aria-live': 'polite', 'aria-relevant': 'additions' },
|
|
582
582
|
...all.map((m, i) => ChatMessage({ ...m, key: m.key != null ? m.key : i }))
|
|
583
583
|
),
|
|
584
584
|
composer || null
|