reifyui 0.1.0 → 0.2.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/README.md +5 -3
- package/dist/index.cjs +344 -170
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.js +344 -170
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/styles/tasks.css +59 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reifyui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "The open-source rendering & interaction layer for agentic applications. Stream and render any agent's output as polished, application-native UI
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "The open-source rendering & interaction layer for agentic applications. Stream and render any agent's output as polished, application-native UI \u2014 model-agnostic, framework-agnostic, design-system-native. The foundation for building generative-UI and agent products.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"generative-ui",
|
package/styles/tasks.css
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* TaskList — master list beside a conversation. Theme-driven: every colour comes from the
|
|
2
|
+
theme variables in styles/themes/*.css, so this inherits the host app's palette. */
|
|
3
|
+
.rui-tasks { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 8px; }
|
|
4
|
+
.rui-tasks-header { padding: 0 2px; }
|
|
5
|
+
|
|
6
|
+
.rui-tasks-new {
|
|
7
|
+
appearance: none; cursor: pointer; width: 100%;
|
|
8
|
+
padding: 9px 12px; border-radius: 8px; border: 1px solid transparent;
|
|
9
|
+
background: var(--rui-accent, #285aff); color: #fff;
|
|
10
|
+
font: inherit; font-weight: 600; font-size: 13px;
|
|
11
|
+
}
|
|
12
|
+
.rui-tasks-new:hover { filter: brightness(1.05); }
|
|
13
|
+
|
|
14
|
+
.rui-tasks-filters { display: flex; gap: 6px; }
|
|
15
|
+
.rui-tasks-search, .rui-tasks-status {
|
|
16
|
+
font: inherit; font-size: 13px; padding: 7px 9px; border-radius: 8px;
|
|
17
|
+
border: 1px solid var(--rui-border, #e3e5e8);
|
|
18
|
+
background: var(--rui-surface, #fff); color: var(--rui-text, #1a1a1a);
|
|
19
|
+
}
|
|
20
|
+
.rui-tasks-search { flex: 1; min-width: 0; }
|
|
21
|
+
.rui-tasks-search:focus, .rui-tasks-status:focus {
|
|
22
|
+
outline: none; border-color: var(--rui-accent, #285aff);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rui-tasks-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
|
|
26
|
+
.rui-tasks-empty { padding: 18px 10px; text-align: center; font-size: 13px; color: var(--rui-text-dim, #6b7280); }
|
|
27
|
+
|
|
28
|
+
.rui-task {
|
|
29
|
+
display: flex; align-items: center; gap: 8px; cursor: pointer;
|
|
30
|
+
padding: 9px 10px; border-radius: 8px; border: 1px solid transparent;
|
|
31
|
+
}
|
|
32
|
+
.rui-task:hover { background: var(--rui-surface-hover, #f5f6f8); }
|
|
33
|
+
.rui-task.is-selected {
|
|
34
|
+
background: var(--rui-surface-hover, #f5f6f8);
|
|
35
|
+
border-color: var(--rui-border, #e3e5e8);
|
|
36
|
+
}
|
|
37
|
+
.rui-task-main { flex: 1; min-width: 0; }
|
|
38
|
+
.rui-task-title {
|
|
39
|
+
font-size: 13px; font-weight: 500; color: var(--rui-text, #1a1a1a);
|
|
40
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
41
|
+
}
|
|
42
|
+
.rui-task-meta {
|
|
43
|
+
display: flex; align-items: center; gap: 6px; margin-top: 3px;
|
|
44
|
+
font-size: 11px; color: var(--rui-text-dim, #6b7280);
|
|
45
|
+
}
|
|
46
|
+
.rui-task-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rui-text-dim, #9aa1ab); flex: none; }
|
|
47
|
+
.rui-task-dot.is-working { background: var(--rui-accent, #285aff); }
|
|
48
|
+
.rui-task-dot.is-done { background: var(--rui-ok, #16a34a); }
|
|
49
|
+
.rui-task-dot.is-failed { background: var(--rui-danger, #dc2626); }
|
|
50
|
+
.rui-task-status { text-transform: capitalize; }
|
|
51
|
+
.rui-task-time { margin-left: auto; }
|
|
52
|
+
|
|
53
|
+
.rui-task-del {
|
|
54
|
+
appearance: none; border: 0; background: transparent; cursor: pointer;
|
|
55
|
+
color: var(--rui-text-dim, #9aa1ab); font-size: 17px; line-height: 1;
|
|
56
|
+
padding: 2px 6px; border-radius: 6px; opacity: 0; flex: none;
|
|
57
|
+
}
|
|
58
|
+
.rui-task:hover .rui-task-del { opacity: 1; }
|
|
59
|
+
.rui-task-del:hover { background: var(--rui-surface, #fff); color: var(--rui-danger, #dc2626); }
|