anentrypoint-design 0.0.214 → 0.0.215

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anentrypoint-design",
3
- "version": "0.0.214",
3
+ "version": "0.0.215",
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",
@@ -91,7 +91,7 @@ function AgentControls({ agents, selectedAgent, models, selectedModel, busy, sta
91
91
  busy
92
92
  ? Btn({ key: 'stop', onClick: () => onStop && onStop(), children: 'stop', title: 'Stop streaming' })
93
93
  : Btn({ key: 'new', onClick: () => onNewChat && onNewChat(), children: 'new', title: 'New chat' }),
94
- h('span', { key: 'st', class: 'agentchat-status', role: 'status', 'aria-live': 'polite' },
94
+ h('span', { key: 'st', class: 'agentchat-status', role: 'status', 'aria-live': 'polite', 'aria-atomic': 'true' },
95
95
  h('span', { class: 'status-dot-disc ' + (busy ? 'status-dot-live' : ''), 'aria-hidden': 'true' }),
96
96
  h('span', {}, status || (busy ? 'streaming…' : 'ready'))),
97
97
  // Host-supplied transcript actions (copy-all / export-md / export-json):
@@ -373,7 +373,7 @@ export function AgentChat(props = {}) {
373
373
  CwdBar({ cwd, editing: cwdEditing, draft: cwdDraft, error: cwdError, checking: cwdChecking,
374
374
  onEdit: onCwdEdit, onSave: onCwdSave, onCancel: onCwdCancel, onClear: onCwdClear, onDraft: onCwdDraft }),
375
375
  ...(banners || []).filter(Boolean),
376
- h('div', { class: 'agentchat-head', role: 'banner' },
376
+ h('div', { class: 'agentchat-head' },
377
377
  h('h2', { class: 'agentchat-title' }, name + (selectedModel ? ' · ' + selectedModel : '')),
378
378
  h('span', { class: 'agentchat-sub', 'aria-live': 'polite' },
379
379
  // Derive the busy label from the same status prop the controls use, so a
@@ -185,6 +185,7 @@ export function WorksList({ works = [], openedIndex = -1, onToggle }) {
185
185
  w.meta != null ? h('span', {}, w.meta) : null,
186
186
  Icon(isOpen ? 'chevron-down' : 'chevron-right')),
187
187
  active: isOpen,
188
+ expanded: isOpen,
188
189
  onClick: () => onToggle && onToggle(isOpen ? -1 : i)
189
190
  }),
190
191
  isOpen ? h('div', { class: 'work-detail', 'data-work-index': String(i) },
@@ -271,9 +271,9 @@ function matchEvent(e, spec) {
271
271
 
272
272
  export function formatShortcut(combo) {
273
273
  const s = parseCombo(combo);
274
- const mod = s.mod ? (IS_MAC ? '' : 'Ctrl+') : '';
275
- const shift = s.shift ? (IS_MAC ? '⇧' : 'Shift+') : '';
276
- const alt = s.alt ? (IS_MAC ? '⌥' : 'Alt+') : '';
274
+ const mod = s.mod ? (IS_MAC ? 'Cmd+' : 'Ctrl+') : '';
275
+ const shift = s.shift ? 'Shift+' : '';
276
+ const alt = s.alt ? 'Alt+' : '';
277
277
  const key = s.key.length === 1 ? s.key.toUpperCase() : s.key;
278
278
  return mod + alt + shift + key;
279
279
  }
@@ -492,7 +492,7 @@ export function WorkspaceShell({ rail, sessions, main, pane, crumb, status, narr
492
492
  // (any button click inside) auto-closes it, mirroring AppShell.
493
493
  hasSessions
494
494
  ? h('div', { class: 'ws-sessions', role: 'complementary', 'aria-label': 'conversations',
495
- onclick: (e) => { if (narrow && e.target.closest('button, a')) closeWsDrawers(); } }, sessions)
495
+ onclick: (e) => { if (narrow && e.target.closest('button, a, [role="button"]')) closeWsDrawers(); } }, sessions)
496
496
  : null,
497
497
  // Primary content column, with an optional thin crumb bar on top. On
498
498
  // mobile the crumb hosts the drawer toggles (sessions on the left, pane