meowtail 0.2.0-alpha.0 → 0.2.0-alpha.2
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/AGENT-COMPONENTS.md +65 -65
- package/ASSISTANT.md +35 -35
- package/JSON.md +11 -11
- package/README.md +413 -385
- package/THIRD_PARTY_NOTICES.md +8 -0
- package/dist/src/chat/assistant-composer.js +58 -98
- package/dist/src/chat/assistant-content.d.ts +1 -3
- package/dist/src/chat/assistant-content.js +36 -44
- package/dist/src/chat/assistant-markdown.js +4 -8
- package/dist/src/chat/assistant-question.js +13 -14
- package/dist/src/chat/assistant.js +27 -26
- package/dist/src/chat/attachments.d.ts +3 -2
- package/dist/src/chat/attachments.js +43 -34
- package/dist/src/chat/composer-panel.d.ts +16 -0
- package/dist/src/chat/composer-panel.js +11 -0
- package/dist/src/chat/composer.d.ts +7 -3
- package/dist/src/chat/composer.js +71 -22
- package/dist/src/chat/conversation.js +2 -2
- package/dist/src/chat/index.d.ts +1 -0
- package/dist/src/chat/index.js +1 -0
- package/dist/src/chat/message-list.js +1 -1
- package/dist/src/chat/message.js +3 -3
- package/dist/src/chat/question.js +1 -1
- package/dist/src/chat/sources.js +1 -1
- package/dist/src/chat/task.js +9 -15
- package/dist/src/chat/tool-call.js +7 -14
- package/dist/src/components/accordion.d.ts +24 -0
- package/dist/src/components/accordion.js +50 -0
- package/dist/src/components/action-rail.d.ts +19 -0
- package/dist/src/components/action-rail.js +13 -0
- package/dist/src/components/add-button.js +1 -1
- package/dist/src/components/alert.d.ts +2 -0
- package/dist/src/components/alert.js +2 -1
- package/dist/src/components/app-bar.d.ts +17 -0
- package/dist/src/components/app-bar.js +10 -0
- package/dist/src/components/avatar.d.ts +22 -0
- package/dist/src/components/avatar.js +44 -0
- package/dist/src/components/breadcrumb.js +1 -1
- package/dist/src/components/checkbox.d.ts +6 -2
- package/dist/src/components/checkbox.js +36 -8
- package/dist/src/components/choice-group.d.ts +1 -0
- package/dist/src/components/choice-group.js +12 -17
- package/dist/src/components/choice-select.d.ts +3 -1
- package/dist/src/components/choice-select.js +56 -54
- package/dist/src/components/code-block.d.ts +3 -3
- package/dist/src/components/code-block.js +31 -27
- package/dist/src/components/context-menu.d.ts +16 -0
- package/dist/src/components/context-menu.js +49 -0
- package/dist/src/components/credential-source.js +12 -12
- package/dist/src/components/diff-block.js +1 -1
- package/dist/src/components/disclosure.d.ts +2 -2
- package/dist/src/components/disclosure.js +1 -1
- package/dist/src/components/hover-card.js +2 -2
- package/dist/src/components/image-lightbox.js +3 -3
- package/dist/src/components/image-preview.js +1 -1
- package/dist/src/components/index.d.ts +12 -0
- package/dist/src/components/index.js +12 -0
- package/dist/src/components/json-block.js +2 -2
- package/dist/src/components/json-tree.js +3 -3
- package/dist/src/components/link.d.ts +13 -0
- package/dist/src/components/link.js +9 -0
- package/dist/src/components/list-group.d.ts +1 -1
- package/dist/src/components/menu-button.d.ts +13 -0
- package/dist/src/components/menu-button.js +10 -0
- package/dist/src/components/menu.d.ts +4 -0
- package/dist/src/components/menu.js +3 -3
- package/dist/src/components/meta-row.d.ts +34 -0
- package/dist/src/components/meta-row.js +61 -0
- package/dist/src/components/nav-item.js +2 -5
- package/dist/src/components/number-input.d.ts +29 -0
- package/dist/src/components/number-input.js +137 -0
- package/dist/src/components/output-block.js +8 -15
- package/dist/src/components/page-frame.d.ts +6 -2
- package/dist/src/components/page-frame.js +2 -2
- package/dist/src/components/path-picker.js +9 -14
- package/dist/src/components/pill.js +2 -5
- package/dist/src/components/popover.js +4 -4
- package/dist/src/components/process-group.d.ts +2 -2
- package/dist/src/components/progress.d.ts +15 -0
- package/dist/src/components/progress.js +12 -0
- package/dist/src/components/rail-item.d.ts +2 -2
- package/dist/src/components/rail-section.d.ts +1 -1
- package/dist/src/components/read-block.js +2 -2
- package/dist/src/components/resource-card.d.ts +1 -1
- package/dist/src/components/resource-link.d.ts +1 -1
- package/dist/src/components/risk-confirmation.js +2 -5
- package/dist/src/components/search-block.js +2 -3
- package/dist/src/components/segmented-control.js +3 -3
- package/dist/src/components/skeleton-boundary.js +4 -7
- package/dist/src/components/slider.d.ts +22 -0
- package/dist/src/components/slider.js +49 -0
- package/dist/src/components/table.d.ts +41 -0
- package/dist/src/components/table.js +146 -0
- package/dist/src/components/tabs.d.ts +1 -1
- package/dist/src/components/tabs.js +11 -20
- package/dist/src/components/terminal-block.js +6 -6
- package/dist/src/components/text-shimmer.js +2 -5
- package/dist/src/components/web-block.js +3 -3
- package/dist/src/components/work-card.d.ts +2 -2
- package/dist/src/components/work-card.js +1 -1
- package/dist/src/icons/README.md +13 -2
- package/dist/src/icons/icon-frame.d.ts +11 -0
- package/dist/src/icons/icon-frame.js +4 -0
- package/dist/src/icons/icon-source.d.ts +17 -0
- package/dist/src/icons/icon-source.js +6 -0
- package/dist/src/icons/icon.d.ts +44 -37
- package/dist/src/icons/icon.js +55 -128
- package/dist/src/icons/index.d.ts +1 -0
- package/dist/src/icons/index.js +1 -0
- package/dist/src/icons/lucide.d.ts +1 -0
- package/dist/src/icons/lucide.js +4 -0
- package/dist/src/registry/index.d.ts +99 -5
- package/dist/src/registry/index.js +28 -3
- package/dist/src/shared/execution-state.js +7 -7
- package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -0
- package/dist/src/theme/chat/composer-panel.styles.js +47 -0
- package/dist/src/theme/chat/composer.styles.js +69 -60
- package/dist/src/theme/chat/task.styles.js +5 -6
- package/dist/src/theme/components/accordion.styles.d.ts +1 -0
- package/dist/src/theme/components/accordion.styles.js +63 -0
- package/dist/src/theme/components/action-rail.styles.d.ts +1 -0
- package/dist/src/theme/components/action-rail.styles.js +47 -0
- package/dist/src/theme/components/alert.styles.js +42 -1
- package/dist/src/theme/components/app-bar.styles.d.ts +1 -0
- package/dist/src/theme/components/app-bar.styles.js +48 -0
- package/dist/src/theme/components/avatar.styles.d.ts +1 -0
- package/dist/src/theme/components/avatar.styles.js +52 -0
- package/dist/src/theme/components/button.styles.js +9 -0
- package/dist/src/theme/components/card.styles.js +2 -0
- package/dist/src/theme/components/code-block.styles.js +7 -0
- package/dist/src/theme/components/context-menu.styles.d.ts +1 -0
- package/dist/src/theme/components/context-menu.styles.js +14 -0
- package/dist/src/theme/components/dialog.styles.js +7 -0
- package/dist/src/theme/components/link.styles.d.ts +1 -0
- package/dist/src/theme/components/link.styles.js +33 -0
- package/dist/src/theme/components/list-group.styles.js +1 -0
- package/dist/src/theme/components/menu.styles.js +9 -3
- package/dist/src/theme/components/meta-row.styles.d.ts +1 -0
- package/dist/src/theme/components/meta-row.styles.js +66 -0
- package/dist/src/theme/components/number-input.styles.d.ts +1 -0
- package/dist/src/theme/components/number-input.styles.js +106 -0
- package/dist/src/theme/components/output-block.styles.js +9 -0
- package/dist/src/theme/components/page-frame.styles.js +7 -1
- package/dist/src/theme/components/page-header.styles.js +7 -0
- package/dist/src/theme/components/progress.styles.d.ts +1 -0
- package/dist/src/theme/components/progress.styles.js +71 -0
- package/dist/src/theme/components/resource-card.styles.js +7 -0
- package/dist/src/theme/components/slider.styles.d.ts +1 -0
- package/dist/src/theme/components/slider.styles.js +129 -0
- package/dist/src/theme/components/table.styles.d.ts +1 -0
- package/dist/src/theme/components/table.styles.js +156 -0
- package/dist/src/theme/components/tag.styles.js +3 -3
- package/dist/src/theme/components/toggle.styles.js +10 -0
- package/dist/src/theme/components/toolbar.styles.js +7 -0
- package/dist/src/theme/index.d.ts +15 -15
- package/dist/src/theme/index.js +24 -0
- package/dist/src/theme/palette.d.ts +1 -1
- package/dist/src/theme/palette.js +1 -1
- package/dist/src/theme/shared/code-highlight.tokens.d.ts +6 -6
- package/dist/src/theme/shared/code-highlight.tokens.js +6 -6
- package/dist/src/theme/tokens.d.ts +7 -7
- package/dist/src/theme/tokens.js +14 -8
- package/package.json +9 -4
package/dist/src/icons/icon.js
CHANGED
|
@@ -1,135 +1,62 @@
|
|
|
1
|
-
// Fragment is required by the classic JSX transform for the
|
|
1
|
+
// Fragment is required by the classic JSX transform for the local settings group.
|
|
2
2
|
// eslint-disable-next-line no-unused-vars
|
|
3
3
|
import { h, Fragment } from "meowjsx";
|
|
4
|
-
|
|
4
|
+
import { ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Brain, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Copy, ExternalLink, Eye, File, FileText, Folder, FolderOpen, Gauge, History, List, ListChecks, LoaderCircle, Map, Mic, Menu, MessageSquare, Minus, Network, NotebookTabs, PanelLeft, Paperclip, Plus, RefreshCw, Search, ShieldCheck, Square, Terminal, Timer, UserRound, Wrench, X, Database, } from "lucide";
|
|
5
|
+
import { IconFrame } from "./icon-frame.js";
|
|
6
|
+
function renderNodes(nodes) {
|
|
7
|
+
return nodes.map(([tag, attrs]) => h(tag, attrs));
|
|
8
|
+
}
|
|
9
|
+
// Local optical tuning: the upstream gear reads larger and rounder at the
|
|
10
|
+
// standard theme's 16px icon size, so the semantic set keeps this adjustment.
|
|
11
|
+
const settings = () => (h(Fragment, null,
|
|
12
|
+
h("path", { d: "M9.5 3h5l.6 2.5 2.2 1.3 2.5-.7 2.5 4.3-1.9 1.8v2.6l1.9 1.8-2.5 4.3-2.5-.7-2.2 1.3-.6 2.5h-5l-.6-2.5-2.2-1.3-2.5.7-2.5-4.3 1.9-1.8v-2.6l-1.9-1.8 2.5-4.3 2.5.7 2.2-1.3z", transform: "translate(0 -1.5) scale(1 .95)" }),
|
|
13
|
+
h("circle", { cx: "12", cy: "12", r: "3" })));
|
|
5
14
|
const shapes = {
|
|
6
|
-
terminal: () =>
|
|
7
|
-
menu: () =>
|
|
8
|
-
settings
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"arrow-left": () => (h(Fragment, null,
|
|
50
|
-
h("path", { d: "m12 19-7-7 7-7" }),
|
|
51
|
-
h("path", { d: "M19 12H5" }))),
|
|
52
|
-
"arrow-right": () => (h(Fragment, null,
|
|
53
|
-
h("path", { d: "M5 12h14" }),
|
|
54
|
-
h("path", { d: "m12 5 7 7-7 7" }))),
|
|
55
|
-
"arrow-up-right": () => (h(Fragment, null,
|
|
56
|
-
h("path", { d: "M7 7h10v10" }),
|
|
57
|
-
h("path", { d: "M7 17 17 7" }))),
|
|
58
|
-
"file-text": () => (h(Fragment, null,
|
|
59
|
-
h("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
60
|
-
h("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }),
|
|
61
|
-
h("path", { d: "M10 9H8" }),
|
|
62
|
-
h("path", { d: "M16 13H8" }),
|
|
63
|
-
h("path", { d: "M16 17H8" }))),
|
|
64
|
-
file: () => (h(Fragment, null,
|
|
65
|
-
h("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }),
|
|
66
|
-
h("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" }))),
|
|
67
|
-
folder: () => (h(Fragment, null,
|
|
68
|
-
h("path", { d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }))),
|
|
69
|
-
"folder-open": () => (h(Fragment, null,
|
|
70
|
-
h("path", { d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2" }))),
|
|
71
|
-
copy: () => (h(Fragment, null,
|
|
72
|
-
h("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
|
73
|
-
h("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" }))),
|
|
74
|
-
x: () => (h(Fragment, null,
|
|
75
|
-
h("path", { d: "M18 6 6 18" }),
|
|
76
|
-
h("path", { d: "m6 6 12 12" }))),
|
|
77
|
-
"chevron-down": () => (h(Fragment, null,
|
|
78
|
-
h("path", { d: "m6 9 6 6 6-6" }))),
|
|
79
|
-
"chevron-left": () => (h(Fragment, null,
|
|
80
|
-
h("path", { d: "m15 18-6-6 6-6" }))),
|
|
81
|
-
"chevron-right": () => (h(Fragment, null,
|
|
82
|
-
h("path", { d: "m9 18 6-6-6-6" }))),
|
|
83
|
-
"chevron-up": () => (h(Fragment, null,
|
|
84
|
-
h("path", { d: "m18 15-6-6-6 6" }))),
|
|
85
|
-
search: () => (h(Fragment, null,
|
|
86
|
-
h("path", { d: "m21 21-4.34-4.34" }),
|
|
87
|
-
h("circle", { cx: "11", cy: "11", r: "8" }))),
|
|
88
|
-
plus: () => (h(Fragment, null,
|
|
89
|
-
h("path", { d: "M5 12h14" }),
|
|
90
|
-
h("path", { d: "M12 5v14" }))),
|
|
91
|
-
minus: () => (h(Fragment, null,
|
|
92
|
-
h("path", { d: "M5 12h14" }))),
|
|
93
|
-
"panel-left": () => (h(Fragment, null,
|
|
94
|
-
h("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
|
|
95
|
-
h("path", { d: "M9 3v18" }))),
|
|
96
|
-
list: () => (h(Fragment, null,
|
|
97
|
-
h("path", { d: "M3 5h.01" }),
|
|
98
|
-
h("path", { d: "M3 12h.01" }),
|
|
99
|
-
h("path", { d: "M3 19h.01" }),
|
|
100
|
-
h("path", { d: "M8 5h13" }),
|
|
101
|
-
h("path", { d: "M8 12h13" }),
|
|
102
|
-
h("path", { d: "M8 19h13" }))),
|
|
103
|
-
network: () => (h(Fragment, null,
|
|
104
|
-
h("rect", { x: "16", y: "16", width: "6", height: "6", rx: "1" }),
|
|
105
|
-
h("rect", { x: "2", y: "16", width: "6", height: "6", rx: "1" }),
|
|
106
|
-
h("rect", { x: "9", y: "2", width: "6", height: "6", rx: "1" }),
|
|
107
|
-
h("path", { d: "M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3" }),
|
|
108
|
-
h("path", { d: "M12 12V8" }))),
|
|
109
|
-
"external-link": () => (h(Fragment, null,
|
|
110
|
-
h("path", { d: "M15 3h6v6" }),
|
|
111
|
-
h("path", { d: "M10 14 21 3" }),
|
|
112
|
-
h("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }))),
|
|
113
|
-
brain: () => (h(Fragment, null,
|
|
114
|
-
h("path", { d: "M12 18V5" }),
|
|
115
|
-
h("path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4" }),
|
|
116
|
-
h("path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5" }),
|
|
117
|
-
h("path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77" }),
|
|
118
|
-
h("path", { d: "M18 18a4 4 0 0 0 2-7.464" }),
|
|
119
|
-
h("path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517" }),
|
|
120
|
-
h("path", { d: "M6 18a4 4 0 0 1-2-7.464" }),
|
|
121
|
-
h("path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77" }))),
|
|
122
|
-
eye: () => (h(Fragment, null,
|
|
123
|
-
h("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }),
|
|
124
|
-
h("circle", { cx: "12", cy: "12", r: "3" }))),
|
|
125
|
-
wrench: () => (h(Fragment, null,
|
|
126
|
-
h("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" }))),
|
|
127
|
-
"loader-circle": () => (h(Fragment, null,
|
|
128
|
-
h("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }))),
|
|
129
|
-
square: () => (h(Fragment, null,
|
|
130
|
-
h("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }))),
|
|
15
|
+
terminal: () => renderNodes(Terminal),
|
|
16
|
+
menu: () => renderNodes(Menu),
|
|
17
|
+
settings,
|
|
18
|
+
"arrow-up": () => renderNodes(ArrowUp),
|
|
19
|
+
"list-checks": () => renderNodes(ListChecks),
|
|
20
|
+
"message-square": () => renderNodes(MessageSquare),
|
|
21
|
+
map: () => renderNodes(Map),
|
|
22
|
+
"user-round": () => renderNodes(UserRound),
|
|
23
|
+
"notebook-tabs": () => renderNodes(NotebookTabs),
|
|
24
|
+
"refresh-cw": () => renderNodes(RefreshCw),
|
|
25
|
+
paperclip: () => renderNodes(Paperclip),
|
|
26
|
+
"arrow-down": () => renderNodes(ArrowDown),
|
|
27
|
+
"arrow-left": () => renderNodes(ArrowLeft),
|
|
28
|
+
"arrow-right": () => renderNodes(ArrowRight),
|
|
29
|
+
"arrow-up-right": () => renderNodes(ArrowUpRight),
|
|
30
|
+
"file-text": () => renderNodes(FileText),
|
|
31
|
+
file: () => renderNodes(File),
|
|
32
|
+
folder: () => renderNodes(Folder),
|
|
33
|
+
"folder-open": () => renderNodes(FolderOpen),
|
|
34
|
+
copy: () => renderNodes(Copy),
|
|
35
|
+
x: () => renderNodes(X),
|
|
36
|
+
"chevron-down": () => renderNodes(ChevronDown),
|
|
37
|
+
"chevron-left": () => renderNodes(ChevronLeft),
|
|
38
|
+
"chevron-right": () => renderNodes(ChevronRight),
|
|
39
|
+
"chevron-up": () => renderNodes(ChevronUp),
|
|
40
|
+
search: () => renderNodes(Search),
|
|
41
|
+
plus: () => renderNodes(Plus),
|
|
42
|
+
minus: () => renderNodes(Minus),
|
|
43
|
+
"panel-left": () => renderNodes(PanelLeft),
|
|
44
|
+
list: () => renderNodes(List),
|
|
45
|
+
network: () => renderNodes(Network),
|
|
46
|
+
"external-link": () => renderNodes(ExternalLink),
|
|
47
|
+
brain: () => renderNodes(Brain),
|
|
48
|
+
eye: () => renderNodes(Eye),
|
|
49
|
+
wrench: () => renderNodes(Wrench),
|
|
50
|
+
"loader-circle": () => renderNodes(LoaderCircle),
|
|
51
|
+
square: () => renderNodes(Square),
|
|
52
|
+
mic: () => renderNodes(Mic),
|
|
53
|
+
"shield-check": () => renderNodes(ShieldCheck),
|
|
54
|
+
gauge: () => renderNodes(Gauge),
|
|
55
|
+
timer: () => renderNodes(Timer),
|
|
56
|
+
database: () => renderNodes(Database),
|
|
57
|
+
history: () => renderNodes(History),
|
|
131
58
|
};
|
|
132
59
|
export const iconNames = Object.keys(shapes);
|
|
133
60
|
export function Icon({ name, size = 18, className, label }) {
|
|
134
|
-
return (h(
|
|
61
|
+
return (h(IconFrame, { size: size, className: className, label: label, dataIcon: name }, shapes[name]()));
|
|
135
62
|
}
|
|
@@ -8,3 +8,4 @@ export { SearchIcon } from "./search.js";
|
|
|
8
8
|
export { TasksIcon } from "./tasks.js";
|
|
9
9
|
export { FileTypeIcon, classifyFileType, fileExtension, type FileTypeKind, type FileTypeIconProps, } from "./file-type-icon.js";
|
|
10
10
|
export { Icon, iconNames, type IconName, type IconProps } from "./icon.js";
|
|
11
|
+
export { IconSource, type IconNode, type IconSourceProps } from "./icon-source.js";
|
package/dist/src/icons/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "lucide";
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { chatTaskContract } from "../chat/task.js";
|
|
2
2
|
import { type Runtime, type RuntimePlugin } from "meowjsx";
|
|
3
3
|
import { pageFrameContract } from "../components/page-frame.js";
|
|
4
|
+
import { appBarContract } from "../components/app-bar.js";
|
|
4
5
|
import { regionLayoutContract } from "../components/region-layout.js";
|
|
5
6
|
import { imagePreviewContract } from "../components/image-preview.js";
|
|
6
7
|
import { segmentedControlContract, textShimmerContract, riskConfirmationContract, webBlockContract, jsonTreeContract, jsonBlockContract, imageLightboxContract, shortcutKeysContract, pathLabelContract, stateDotContract, hoverCardContract } from "../components/index.js";
|
|
7
|
-
import { menuContract, toastContract } from "../components/index.js";
|
|
8
|
+
import { menuContract, toastContract, contextMenuContract } from "../components/index.js";
|
|
8
9
|
import { outputBlockContract } from "../components/output-block.js";
|
|
9
10
|
import { terminalBlockContract, readBlockContract, diffBlockContract, searchBlockContract } from "../components/index.js";
|
|
10
|
-
import { codeBlockContract, itemContract, fieldGroupContract, tabsContract, breadcrumbContract, alertContract, skeletonBoundaryContract, spinnerContract, descriptionListContract, descriptionItemContract, tooltipContract, buttonContract, dialogHeaderContract, dialogPanelContract, emptyStateContract, fieldContract, iconButtonContract, toolbarContract, checkboxContract, switchContract, choiceSelectContract, choiceGroupContract, popoverContract, searchInputContract, pathPickerContract, disclosureContract, navItemContract, statusDotContract, statusContract, tagContract, processGroupContract, processStepContract, workCardContract, iconRailContract, railItemContract, railSectionContract, detailSectionContract, timelineContract, timelineItemContract, resourceLinkContract, pageHeaderContract, windowTitleBarContract, listGroupContract, listRowContract, resourceCardContract, drawerContract } from "../components/index.js";
|
|
11
|
-
import { assistantViewContract, chatBubbleContract, chatConversationContract, chatAttachmentsContract, chatProcessContract, chatQuestionContract, chatSourcesContract, chatComposerContract, chatHeaderContract, chatMessageContract, chatMessageListContract, chatStatusContract, chatToolCallContract } from "../chat/index.js";
|
|
11
|
+
import { codeBlockContract, itemContract, fieldGroupContract, tabsContract, breadcrumbContract, alertContract, skeletonBoundaryContract, spinnerContract, descriptionListContract, descriptionItemContract, tooltipContract, buttonContract, dialogHeaderContract, dialogPanelContract, emptyStateContract, fieldContract, iconButtonContract, toolbarContract, actionRailContract, metaRowContract, numberInputContract, checkboxContract, switchContract, sliderContract, progressContract, avatarContract, linkContract, accordionContract, tableContract, choiceSelectContract, choiceGroupContract, popoverContract, searchInputContract, pathPickerContract, disclosureContract, navItemContract, statusDotContract, statusContract, tagContract, processGroupContract, processStepContract, workCardContract, iconRailContract, railItemContract, railSectionContract, detailSectionContract, timelineContract, timelineItemContract, resourceLinkContract, pageHeaderContract, windowTitleBarContract, listGroupContract, listRowContract, resourceCardContract, drawerContract } from "../components/index.js";
|
|
12
|
+
import { assistantViewContract, chatBubbleContract, chatConversationContract, chatAttachmentsContract, chatProcessContract, chatQuestionContract, chatSourcesContract, chatComposerContract, composerPanelContract, chatHeaderContract, chatMessageContract, chatMessageListContract, chatStatusContract, chatToolCallContract } from "../chat/index.js";
|
|
12
13
|
import { assistantStepsContract } from "../chat/assistant-content.js";
|
|
13
14
|
import { assistantMarkdownContract } from "../chat/assistant-markdown.js";
|
|
14
15
|
import { assistantComposerContract } from "../chat/assistant-composer.js";
|
|
15
16
|
import { assistantQuestionContract } from "../chat/assistant-question.js";
|
|
16
17
|
export declare const MeowUIComponent: {
|
|
17
18
|
readonly PageFrame: "page-frame";
|
|
19
|
+
readonly AppBar: "app-bar";
|
|
18
20
|
readonly RegionLayout: "region-layout";
|
|
19
21
|
readonly Pill: "pill";
|
|
20
22
|
readonly ImagePreview: "image-preview";
|
|
@@ -30,6 +32,7 @@ export declare const MeowUIComponent: {
|
|
|
30
32
|
readonly StateDot: "state-dot";
|
|
31
33
|
readonly HoverCard: "hover-card";
|
|
32
34
|
readonly Menu: "menu";
|
|
35
|
+
readonly ContextMenu: "context-menu";
|
|
33
36
|
readonly Toast: "toast";
|
|
34
37
|
readonly TerminalBlock: "terminal-block";
|
|
35
38
|
readonly ReadBlock: "read-block";
|
|
@@ -62,12 +65,19 @@ export declare const MeowUIComponent: {
|
|
|
62
65
|
readonly Button: "button";
|
|
63
66
|
readonly IconButton: "icon-button";
|
|
64
67
|
readonly Toolbar: "toolbar";
|
|
68
|
+
readonly ActionRail: "action-rail";
|
|
69
|
+
readonly MetaRow: "meta-row";
|
|
65
70
|
readonly EmptyState: "empty-state";
|
|
66
71
|
readonly Card: "card";
|
|
67
72
|
readonly Badge: "badge";
|
|
68
73
|
readonly Input: "input";
|
|
74
|
+
readonly NumberInput: "number-input";
|
|
69
75
|
readonly Checkbox: "checkbox";
|
|
70
76
|
readonly Switch: "switch";
|
|
77
|
+
readonly Slider: "slider";
|
|
78
|
+
readonly Progress: "progress";
|
|
79
|
+
readonly Avatar: "avatar";
|
|
80
|
+
readonly Link: "link";
|
|
71
81
|
readonly Select: "select";
|
|
72
82
|
readonly ChoiceSelect: "choice-select";
|
|
73
83
|
readonly ChoiceGroup: "choice-group";
|
|
@@ -75,6 +85,8 @@ export declare const MeowUIComponent: {
|
|
|
75
85
|
readonly SearchInput: "search-input";
|
|
76
86
|
readonly PathPicker: "path-picker";
|
|
77
87
|
readonly Disclosure: "disclosure";
|
|
88
|
+
readonly Accordion: "accordion";
|
|
89
|
+
readonly Table: "table";
|
|
78
90
|
readonly Textarea: "textarea";
|
|
79
91
|
readonly Field: "field";
|
|
80
92
|
readonly Separator: "separator";
|
|
@@ -95,6 +107,7 @@ export declare const MeowUIComponent: {
|
|
|
95
107
|
readonly ChatMessage: "chat-message";
|
|
96
108
|
readonly ChatMessageActions: "chat-message-actions";
|
|
97
109
|
readonly ChatComposer: "chat-composer";
|
|
110
|
+
readonly ComposerPanel: "composer-panel";
|
|
98
111
|
readonly ChatToolCall: "chat-tool-call";
|
|
99
112
|
readonly ChatTask: "chat-task";
|
|
100
113
|
readonly StatusDot: "status-dot";
|
|
@@ -121,11 +134,14 @@ export declare const MeowUIComponent: {
|
|
|
121
134
|
};
|
|
122
135
|
export declare const meowUIComponents: readonly [{
|
|
123
136
|
readonly name: "page-frame";
|
|
124
|
-
readonly parts: readonly ["root", "toolbar", "header", "body"];
|
|
137
|
+
readonly parts: readonly ["root", "toolbar", "header", "notice", "body", "footer"];
|
|
125
138
|
readonly styleProps: import("meowcss/meowjsx").StylePropsBinding<import("meowcss").Options<{
|
|
126
139
|
readonly variant: readonly ["page", "workspace"];
|
|
127
140
|
readonly scrollOwner: readonly ["content", "layout"];
|
|
128
141
|
}>>;
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "app-bar";
|
|
144
|
+
readonly parts: readonly ["root", "identity", "title", "status", "actions"];
|
|
129
145
|
}, {
|
|
130
146
|
readonly name: "region-layout";
|
|
131
147
|
readonly parts: readonly ["root", "back", "grid", "region", "content"];
|
|
@@ -171,6 +187,9 @@ export declare const meowUIComponents: readonly [{
|
|
|
171
187
|
}, {
|
|
172
188
|
readonly name: "menu";
|
|
173
189
|
readonly parts: readonly ["root", "item", "icon", "label", "shortcut", "group", "heading", "separator", "branch"];
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "context-menu";
|
|
192
|
+
readonly parts: readonly ["root"];
|
|
174
193
|
}, {
|
|
175
194
|
readonly name: "toast";
|
|
176
195
|
readonly parts: readonly ["root", "icon", "message", "actions"];
|
|
@@ -195,6 +214,30 @@ export declare const meowUIComponents: readonly [{
|
|
|
195
214
|
}, {
|
|
196
215
|
readonly name: "switch";
|
|
197
216
|
readonly parts: readonly ["root", "input", "track", "thumb", "label"];
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "slider";
|
|
219
|
+
readonly parts: readonly ["root", "control", "track", "thumb", "value"];
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "progress";
|
|
222
|
+
readonly parts: readonly ["root", "bar"];
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "avatar";
|
|
225
|
+
readonly parts: readonly ["root", "image", "initials"];
|
|
226
|
+
readonly styleProps: import("meowcss/meowjsx").StylePropsBinding<import("meowcss").Options<{
|
|
227
|
+
readonly size: readonly ["small", "default", "large"];
|
|
228
|
+
}>>;
|
|
229
|
+
}, {
|
|
230
|
+
readonly name: "link";
|
|
231
|
+
readonly parts: readonly ["root"];
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "accordion";
|
|
234
|
+
readonly parts: readonly ["root", "item"];
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "table";
|
|
237
|
+
readonly parts: readonly ["root", "scroller", "table", "header", "heading", "sort", "resize", "body", "row", "cell", "select"];
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "number-input";
|
|
240
|
+
readonly parts: readonly ["root", "decrement", "control", "increment"];
|
|
198
241
|
}, {
|
|
199
242
|
readonly name: "code-block";
|
|
200
243
|
readonly parts: readonly ["root", "header", "language", "actions", "content", "code", "feedback"];
|
|
@@ -231,6 +274,7 @@ export declare const meowUIComponents: readonly [{
|
|
|
231
274
|
readonly parts: readonly ["root", "title", "body", "actions"];
|
|
232
275
|
readonly styleProps: import("meowcss/meowjsx").StylePropsBinding<import("meowcss").Options<{
|
|
233
276
|
readonly tone: readonly ["info", "success", "warning", "danger"];
|
|
277
|
+
readonly layout: readonly ["block", "bar"];
|
|
234
278
|
}>>;
|
|
235
279
|
}, {
|
|
236
280
|
readonly name: "skeleton";
|
|
@@ -327,6 +371,16 @@ export declare const meowUIComponents: readonly [{
|
|
|
327
371
|
}, {
|
|
328
372
|
readonly name: "toolbar";
|
|
329
373
|
readonly parts: readonly ["root"];
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "action-rail";
|
|
376
|
+
readonly parts: readonly ["root", "leading", "trailing", "submit"];
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "meta-row";
|
|
379
|
+
readonly parts: readonly ["root", "item", "icon", "label", "separator", "progress"];
|
|
380
|
+
readonly styleProps: import("meowcss/meowjsx").StylePropsBinding<import("meowcss").Options<{
|
|
381
|
+
readonly align: readonly ["start", "center"];
|
|
382
|
+
readonly progressTone: readonly ["neutral", "accent"];
|
|
383
|
+
}>>;
|
|
330
384
|
}, {
|
|
331
385
|
readonly name: "empty-state";
|
|
332
386
|
readonly parts: readonly ["root", "illustration", "title", "description", "action"];
|
|
@@ -438,10 +492,14 @@ export declare const meowUIComponents: readonly [{
|
|
|
438
492
|
readonly parts: readonly ["root"];
|
|
439
493
|
}, {
|
|
440
494
|
readonly name: "chat-composer";
|
|
441
|
-
readonly parts: readonly ["root", "attachments", "field", "input", "hint", "actions", "trailing", "submit"];
|
|
495
|
+
readonly parts: readonly ["root", "surface", "attachments", "field", "input", "hint", "actions", "trailing", "submit"];
|
|
442
496
|
readonly styleProps: import("meowcss/meowjsx").StylePropsBinding<import("meowcss").Options<{
|
|
443
497
|
readonly layout: readonly ["stacked", "inline", "hero"];
|
|
498
|
+
readonly surface: readonly ["default", "none"];
|
|
444
499
|
}>>;
|
|
500
|
+
}, {
|
|
501
|
+
readonly name: "composer-panel";
|
|
502
|
+
readonly parts: readonly ["root", "surface", "meta"];
|
|
445
503
|
}, {
|
|
446
504
|
readonly name: "chat-tool-call";
|
|
447
505
|
readonly parts: readonly ["root", "header", "icon", "label", "summary", "status", "chevron", "detail", "body", "input", "output", "outputSummary", "actions"];
|
|
@@ -518,6 +576,9 @@ declare module "meowjsx" {
|
|
|
518
576
|
"page-frame": {
|
|
519
577
|
parts: (typeof pageFrameContract.parts)[number];
|
|
520
578
|
};
|
|
579
|
+
"app-bar": {
|
|
580
|
+
parts: (typeof appBarContract.parts)[number];
|
|
581
|
+
};
|
|
521
582
|
"region-layout": {
|
|
522
583
|
parts: (typeof regionLayoutContract.parts)[number];
|
|
523
584
|
};
|
|
@@ -563,6 +624,9 @@ declare module "meowjsx" {
|
|
|
563
624
|
menu: {
|
|
564
625
|
parts: (typeof menuContract.parts)[number];
|
|
565
626
|
};
|
|
627
|
+
"context-menu": {
|
|
628
|
+
parts: (typeof contextMenuContract.parts)[number];
|
|
629
|
+
};
|
|
566
630
|
toast: {
|
|
567
631
|
parts: (typeof toastContract.parts)[number];
|
|
568
632
|
};
|
|
@@ -662,6 +726,12 @@ declare module "meowjsx" {
|
|
|
662
726
|
toolbar: {
|
|
663
727
|
parts: (typeof toolbarContract.parts)[number];
|
|
664
728
|
};
|
|
729
|
+
"action-rail": {
|
|
730
|
+
parts: (typeof actionRailContract.parts)[number];
|
|
731
|
+
};
|
|
732
|
+
"meta-row": {
|
|
733
|
+
parts: (typeof metaRowContract.parts)[number];
|
|
734
|
+
};
|
|
665
735
|
"empty-state": {
|
|
666
736
|
parts: (typeof emptyStateContract.parts)[number];
|
|
667
737
|
};
|
|
@@ -674,12 +744,27 @@ declare module "meowjsx" {
|
|
|
674
744
|
input: {
|
|
675
745
|
parts: "root";
|
|
676
746
|
};
|
|
747
|
+
"number-input": {
|
|
748
|
+
parts: (typeof numberInputContract.parts)[number];
|
|
749
|
+
};
|
|
677
750
|
checkbox: {
|
|
678
751
|
parts: (typeof checkboxContract.parts)[number];
|
|
679
752
|
};
|
|
680
753
|
switch: {
|
|
681
754
|
parts: (typeof switchContract.parts)[number];
|
|
682
755
|
};
|
|
756
|
+
slider: {
|
|
757
|
+
parts: (typeof sliderContract.parts)[number];
|
|
758
|
+
};
|
|
759
|
+
progress: {
|
|
760
|
+
parts: (typeof progressContract.parts)[number];
|
|
761
|
+
};
|
|
762
|
+
avatar: {
|
|
763
|
+
parts: (typeof avatarContract.parts)[number];
|
|
764
|
+
};
|
|
765
|
+
link: {
|
|
766
|
+
parts: (typeof linkContract.parts)[number];
|
|
767
|
+
};
|
|
683
768
|
select: {
|
|
684
769
|
parts: "root";
|
|
685
770
|
};
|
|
@@ -701,6 +786,12 @@ declare module "meowjsx" {
|
|
|
701
786
|
disclosure: {
|
|
702
787
|
parts: (typeof disclosureContract.parts)[number];
|
|
703
788
|
};
|
|
789
|
+
accordion: {
|
|
790
|
+
parts: (typeof accordionContract.parts)[number];
|
|
791
|
+
};
|
|
792
|
+
table: {
|
|
793
|
+
parts: (typeof tableContract.parts)[number];
|
|
794
|
+
};
|
|
704
795
|
textarea: {
|
|
705
796
|
parts: "root";
|
|
706
797
|
};
|
|
@@ -773,6 +864,9 @@ declare module "meowjsx" {
|
|
|
773
864
|
"chat-composer": {
|
|
774
865
|
parts: (typeof chatComposerContract.parts)[number];
|
|
775
866
|
};
|
|
867
|
+
"composer-panel": {
|
|
868
|
+
parts: (typeof composerPanelContract.parts)[number];
|
|
869
|
+
};
|
|
776
870
|
"chat-tool-call": {
|
|
777
871
|
parts: (typeof chatToolCallContract.parts)[number];
|
|
778
872
|
};
|
|
@@ -2,21 +2,23 @@ import { chatTaskContract } from "../chat/task.js";
|
|
|
2
2
|
import { defaultRuntime } from "meowjsx";
|
|
3
3
|
import { pillContract } from "../components/pill.js";
|
|
4
4
|
import { pageFrameContract } from "../components/page-frame.js";
|
|
5
|
+
import { appBarContract } from "../components/app-bar.js";
|
|
5
6
|
import { regionLayoutContract } from "../components/region-layout.js";
|
|
6
7
|
import { imagePreviewContract } from "../components/image-preview.js";
|
|
7
8
|
import { createStylePropsPlugin } from "meowcss/meowjsx";
|
|
8
9
|
import { segmentedControlContract, textShimmerContract, riskConfirmationContract, webBlockContract, jsonTreeContract, jsonBlockContract, imageLightboxContract, shortcutKeysContract, pathLabelContract, stateDotContract, hoverCardContract, } from "../components/index.js";
|
|
9
|
-
import { menuContract, toastContract } from "../components/index.js";
|
|
10
|
+
import { menuContract, toastContract, contextMenuContract } from "../components/index.js";
|
|
10
11
|
import { outputBlockContract } from "../components/output-block.js";
|
|
11
12
|
import { terminalBlockContract, readBlockContract, diffBlockContract, searchBlockContract, } from "../components/index.js";
|
|
12
|
-
import { codeBlockContract, itemContract, fieldGroupContract, tabsContract, breadcrumbContract, alertContract, skeletonContract, skeletonBoundaryContract, spinnerContract, stackContract, layoutItemContract, descriptionListContract, descriptionItemContract, inlineContract, gridContract, containerContract, cardHeaderContract, cardTitleContract, cardDescriptionContract, cardContentContract, cardFooterContract, cardActionContract, aspectRatioContract, tooltipContract, badgeContract, buttonContract, cardContract, dialogActionsContract, dialogContract, dialogHeaderContract, dialogPanelContract, emptyStateContract, fieldContract, iconButtonContract, toolbarContract, inputContract, checkboxContract, switchContract, selectContract, choiceSelectContract, choiceGroupContract, popoverContract, searchInputContract, pathPickerContract, disclosureContract, navItemContract, separatorContract, textareaContract, statusDotContract, statusContract, tagContract, processGroupContract, processStepContract, workCardContract, iconRailContract, railItemContract, railSectionContract, detailSectionContract, timelineContract, timelineItemContract, resourceLinkContract, pageHeaderContract, windowTitleBarContract, listGroupContract, listRowContract, resourceCardContract, drawerContract, } from "../components/index.js";
|
|
13
|
-
import { assistantViewContract, chatBubbleContract, chatConversationContract, chatAttachmentsContract, chatProcessContract, chatQuestionContract, chatSourcesContract, chatComposerContract, chatFrameContract, chatHeaderContract, chatMessageActionsContract, chatMessageContract, chatMessageListContract, chatStatusContract, chatToolCallContract, } from "../chat/index.js";
|
|
13
|
+
import { codeBlockContract, itemContract, fieldGroupContract, tabsContract, breadcrumbContract, alertContract, skeletonContract, skeletonBoundaryContract, spinnerContract, stackContract, layoutItemContract, descriptionListContract, descriptionItemContract, inlineContract, gridContract, containerContract, cardHeaderContract, cardTitleContract, cardDescriptionContract, cardContentContract, cardFooterContract, cardActionContract, aspectRatioContract, tooltipContract, badgeContract, buttonContract, cardContract, dialogActionsContract, dialogContract, dialogHeaderContract, dialogPanelContract, emptyStateContract, fieldContract, iconButtonContract, toolbarContract, actionRailContract, metaRowContract, inputContract, numberInputContract, checkboxContract, switchContract, sliderContract, progressContract, avatarContract, linkContract, accordionContract, tableContract, selectContract, choiceSelectContract, choiceGroupContract, popoverContract, searchInputContract, pathPickerContract, disclosureContract, navItemContract, separatorContract, textareaContract, statusDotContract, statusContract, tagContract, processGroupContract, processStepContract, workCardContract, iconRailContract, railItemContract, railSectionContract, detailSectionContract, timelineContract, timelineItemContract, resourceLinkContract, pageHeaderContract, windowTitleBarContract, listGroupContract, listRowContract, resourceCardContract, drawerContract, } from "../components/index.js";
|
|
14
|
+
import { assistantViewContract, chatBubbleContract, chatConversationContract, chatAttachmentsContract, chatProcessContract, chatQuestionContract, chatSourcesContract, chatComposerContract, composerPanelContract, chatFrameContract, chatHeaderContract, chatMessageActionsContract, chatMessageContract, chatMessageListContract, chatStatusContract, chatToolCallContract, } from "../chat/index.js";
|
|
14
15
|
import { assistantStepsContract } from "../chat/assistant-content.js";
|
|
15
16
|
import { assistantMarkdownContract } from "../chat/assistant-markdown.js";
|
|
16
17
|
import { assistantComposerContract } from "../chat/assistant-composer.js";
|
|
17
18
|
import { assistantQuestionContract } from "../chat/assistant-question.js";
|
|
18
19
|
export const MeowUIComponent = {
|
|
19
20
|
PageFrame: pageFrameContract.name,
|
|
21
|
+
AppBar: appBarContract.name,
|
|
20
22
|
RegionLayout: regionLayoutContract.name,
|
|
21
23
|
Pill: pillContract.name,
|
|
22
24
|
ImagePreview: imagePreviewContract.name,
|
|
@@ -32,6 +34,7 @@ export const MeowUIComponent = {
|
|
|
32
34
|
StateDot: stateDotContract.name,
|
|
33
35
|
HoverCard: hoverCardContract.name,
|
|
34
36
|
Menu: menuContract.name,
|
|
37
|
+
ContextMenu: contextMenuContract.name,
|
|
35
38
|
Toast: toastContract.name,
|
|
36
39
|
TerminalBlock: terminalBlockContract.name,
|
|
37
40
|
ReadBlock: readBlockContract.name,
|
|
@@ -64,12 +67,19 @@ export const MeowUIComponent = {
|
|
|
64
67
|
Button: buttonContract.name,
|
|
65
68
|
IconButton: iconButtonContract.name,
|
|
66
69
|
Toolbar: toolbarContract.name,
|
|
70
|
+
ActionRail: actionRailContract.name,
|
|
71
|
+
MetaRow: metaRowContract.name,
|
|
67
72
|
EmptyState: emptyStateContract.name,
|
|
68
73
|
Card: cardContract.name,
|
|
69
74
|
Badge: badgeContract.name,
|
|
70
75
|
Input: inputContract.name,
|
|
76
|
+
NumberInput: numberInputContract.name,
|
|
71
77
|
Checkbox: checkboxContract.name,
|
|
72
78
|
Switch: switchContract.name,
|
|
79
|
+
Slider: sliderContract.name,
|
|
80
|
+
Progress: progressContract.name,
|
|
81
|
+
Avatar: avatarContract.name,
|
|
82
|
+
Link: linkContract.name,
|
|
73
83
|
Select: selectContract.name,
|
|
74
84
|
ChoiceSelect: choiceSelectContract.name,
|
|
75
85
|
ChoiceGroup: choiceGroupContract.name,
|
|
@@ -77,6 +87,8 @@ export const MeowUIComponent = {
|
|
|
77
87
|
SearchInput: searchInputContract.name,
|
|
78
88
|
PathPicker: pathPickerContract.name,
|
|
79
89
|
Disclosure: disclosureContract.name,
|
|
90
|
+
Accordion: accordionContract.name,
|
|
91
|
+
Table: tableContract.name,
|
|
80
92
|
Textarea: textareaContract.name,
|
|
81
93
|
Field: fieldContract.name,
|
|
82
94
|
Separator: separatorContract.name,
|
|
@@ -97,6 +109,7 @@ export const MeowUIComponent = {
|
|
|
97
109
|
ChatMessage: chatMessageContract.name,
|
|
98
110
|
ChatMessageActions: chatMessageActionsContract.name,
|
|
99
111
|
ChatComposer: chatComposerContract.name,
|
|
112
|
+
ComposerPanel: composerPanelContract.name,
|
|
100
113
|
ChatToolCall: chatToolCallContract.name,
|
|
101
114
|
ChatTask: chatTaskContract.name,
|
|
102
115
|
StatusDot: statusDotContract.name,
|
|
@@ -123,6 +136,7 @@ export const MeowUIComponent = {
|
|
|
123
136
|
};
|
|
124
137
|
export const meowUIComponents = [
|
|
125
138
|
pageFrameContract,
|
|
139
|
+
appBarContract,
|
|
126
140
|
regionLayoutContract,
|
|
127
141
|
pillContract,
|
|
128
142
|
imagePreviewContract,
|
|
@@ -138,6 +152,7 @@ export const meowUIComponents = [
|
|
|
138
152
|
stateDotContract,
|
|
139
153
|
hoverCardContract,
|
|
140
154
|
menuContract,
|
|
155
|
+
contextMenuContract,
|
|
141
156
|
toastContract,
|
|
142
157
|
outputBlockContract,
|
|
143
158
|
terminalBlockContract,
|
|
@@ -146,6 +161,13 @@ export const meowUIComponents = [
|
|
|
146
161
|
searchBlockContract,
|
|
147
162
|
checkboxContract,
|
|
148
163
|
switchContract,
|
|
164
|
+
sliderContract,
|
|
165
|
+
progressContract,
|
|
166
|
+
avatarContract,
|
|
167
|
+
linkContract,
|
|
168
|
+
accordionContract,
|
|
169
|
+
tableContract,
|
|
170
|
+
numberInputContract,
|
|
149
171
|
codeBlockContract,
|
|
150
172
|
choiceGroupContract,
|
|
151
173
|
chatQuestionContract,
|
|
@@ -177,6 +199,8 @@ export const meowUIComponents = [
|
|
|
177
199
|
buttonContract,
|
|
178
200
|
iconButtonContract,
|
|
179
201
|
toolbarContract,
|
|
202
|
+
actionRailContract,
|
|
203
|
+
metaRowContract,
|
|
180
204
|
emptyStateContract,
|
|
181
205
|
cardContract,
|
|
182
206
|
badgeContract,
|
|
@@ -210,6 +234,7 @@ export const meowUIComponents = [
|
|
|
210
234
|
chatMessageContract,
|
|
211
235
|
chatMessageActionsContract,
|
|
212
236
|
chatComposerContract,
|
|
237
|
+
composerPanelContract,
|
|
213
238
|
chatToolCallContract,
|
|
214
239
|
chatTaskContract,
|
|
215
240
|
statusDotContract,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export function executionStateLabel(state) {
|
|
2
2
|
switch (state) {
|
|
3
3
|
case "queued":
|
|
4
|
-
return "
|
|
4
|
+
return "Queued";
|
|
5
5
|
case "running":
|
|
6
|
-
return "
|
|
6
|
+
return "Running";
|
|
7
7
|
case "waiting":
|
|
8
|
-
return "
|
|
8
|
+
return "Waiting";
|
|
9
9
|
case "error":
|
|
10
|
-
return "
|
|
10
|
+
return "Error";
|
|
11
11
|
case "cancelled":
|
|
12
|
-
return "
|
|
12
|
+
return "Canceled";
|
|
13
13
|
case "unknown":
|
|
14
|
-
return "
|
|
14
|
+
return "Unconfirmed result";
|
|
15
15
|
default:
|
|
16
|
-
return "
|
|
16
|
+
return "Completed";
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export function executionStateTone(state) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const composerPanelStyles: import("meowcss/meowjsx").CSSFragment;
|