anentrypoint-design 0.0.293 → 0.0.295
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/app-shell.css +31 -20
- package/chat.css +12 -0
- package/dist/247420.css +43 -20
- package/dist/247420.js +15 -15
- package/package.json +1 -1
- package/src/components/sessions.js +13 -0
- package/src/components.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.295",
|
|
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",
|
|
@@ -140,6 +140,19 @@ export function SessionMeta({ items = [] } = {}) {
|
|
|
140
140
|
].filter(Boolean))));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
// AgentListSkeleton — placeholder shimmer rows shown while the agent picker's
|
|
144
|
+
// list is loading, so it doesn't flash from a bare spinner to a full list
|
|
145
|
+
// (same predictable-perceived-perf pattern as FileSkeleton). `rows` controls
|
|
146
|
+
// how many ghost rows render; each mimics a Row's icon+title+meta footprint.
|
|
147
|
+
export function AgentListSkeleton({ rows = 5 } = {}) {
|
|
148
|
+
return h('div', { class: 'ds-agent-list-skeleton', 'aria-hidden': 'true' },
|
|
149
|
+
...Array.from({ length: Math.max(1, rows) }, (_, i) => h('div', { key: 'ags' + i, class: 'ds-agent-row-skeleton' },
|
|
150
|
+
h('span', { class: 'ds-skel ds-skel-icon' }),
|
|
151
|
+
h('span', { class: 'ds-skel ds-skel-title' }),
|
|
152
|
+
h('span', { class: 'ds-skel ds-skel-meta' }))),
|
|
153
|
+
h('span', { key: 'st', class: 'ds-agent-list-skeleton-status', role: 'status', 'aria-live': 'polite' }, 'loading agents…'));
|
|
154
|
+
}
|
|
155
|
+
|
|
143
156
|
// SessionCard — one running session in the live dashboard. Status dot, agent /
|
|
144
157
|
// model / cwd, elapsed, live counter, last activity, and per-session controls
|
|
145
158
|
// that each act on this session's id independently.
|
package/src/components.js
CHANGED
|
@@ -28,7 +28,7 @@ export {
|
|
|
28
28
|
export { AgentChat, MESSAGE_CAP } from './components/agent-chat.js';
|
|
29
29
|
|
|
30
30
|
export {
|
|
31
|
-
ConversationList, SessionCard, SessionDashboard, SessionMeta, fmtDuration
|
|
31
|
+
ConversationList, SessionCard, SessionDashboard, SessionMeta, fmtDuration, AgentListSkeleton
|
|
32
32
|
} from './components/sessions.js';
|
|
33
33
|
|
|
34
34
|
export { ContextPane } from './components/context-pane.js';
|