meowtail 0.1.0 → 0.2.0-alpha.1
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 +117 -0
- package/ASSISTANT.md +39 -19
- package/JSON.md +12 -5
- package/README.md +462 -349
- package/THIRD_PARTY_NOTICES.md +8 -0
- package/dist/src/chat/assistant-composer.js +3 -5
- package/dist/src/chat/assistant-content.d.ts +2 -0
- package/dist/src/chat/assistant-content.js +51 -3
- package/dist/src/chat/assistant-types.d.ts +39 -1
- package/dist/src/chat/assistant.d.ts +1 -1
- package/dist/src/chat/assistant.js +6 -3
- package/dist/src/chat/attachments.js +9 -5
- package/dist/src/chat/composer-panel.d.ts +17 -0
- package/dist/src/chat/composer-panel.js +12 -0
- package/dist/src/chat/composer.d.ts +2 -0
- package/dist/src/chat/composer.js +5 -2
- package/dist/src/chat/conversation.d.ts +4 -1
- package/dist/src/chat/conversation.js +7 -4
- package/dist/src/chat/index.d.ts +5 -2
- package/dist/src/chat/index.js +2 -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.d.ts +29 -0
- package/dist/src/chat/task.js +53 -0
- package/dist/src/chat/tool-call.d.ts +33 -8
- package/dist/src/chat/tool-call.js +70 -26
- 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/breadcrumb.js +1 -1
- package/dist/src/components/choice-select.js +1 -1
- package/dist/src/components/code-block.js +6 -6
- package/dist/src/components/credential-source.js +12 -12
- package/dist/src/components/diff-block.js +1 -1
- package/dist/src/components/grid.js +1 -0
- 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 +4 -0
- package/dist/src/components/index.js +4 -0
- package/dist/src/components/inline.js +1 -0
- package/dist/src/components/json-block.js +2 -2
- package/dist/src/components/json-tree.js +3 -3
- package/dist/src/components/layout-item.js +2 -1
- package/dist/src/components/layout-types.d.ts +1 -1
- package/dist/src/components/list-group.d.ts +1 -1
- package/dist/src/components/menu.js +5 -5
- package/dist/src/components/meta-row.d.ts +33 -0
- package/dist/src/components/meta-row.js +45 -0
- package/dist/src/components/output-block.d.ts +5 -3
- package/dist/src/components/output-block.js +35 -25
- 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 +4 -4
- package/dist/src/components/process-group.d.ts +2 -2
- 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/search-block.js +2 -3
- package/dist/src/components/stack.js +1 -0
- package/dist/src/components/status.d.ts +16 -0
- package/dist/src/components/status.js +8 -0
- package/dist/src/components/terminal-block.js +6 -6
- 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/json/catalog.d.ts +88 -2
- package/dist/src/json/catalog.js +33 -1
- package/dist/src/registry/index.d.ts +54 -4
- package/dist/src/registry/index.js +16 -2
- package/dist/src/shared/execution-state.d.ts +7 -0
- package/dist/src/shared/execution-state.js +36 -0
- package/dist/src/theme/base.styles.js +15 -0
- package/dist/src/theme/chat/assistant.styles.js +21 -9
- package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -0
- package/dist/src/theme/chat/composer-panel.styles.js +44 -0
- package/dist/src/theme/chat/composer.styles.js +39 -7
- package/dist/src/theme/chat/conversation.styles.js +15 -7
- package/dist/src/theme/chat/records.styles.js +79 -7
- package/dist/src/theme/chat/task.styles.d.ts +1 -0
- package/dist/src/theme/chat/task.styles.js +87 -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/card.styles.js +9 -3
- package/dist/src/theme/components/code-block.styles.js +7 -0
- package/dist/src/theme/components/dialog.styles.js +7 -0
- package/dist/src/theme/components/field.styles.js +4 -0
- package/dist/src/theme/components/list-group.styles.js +10 -11
- 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/output-block.styles.js +17 -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/resource-card.styles.js +15 -3
- package/dist/src/theme/components/status.styles.d.ts +1 -0
- package/dist/src/theme/components/status.styles.js +25 -0
- package/dist/src/theme/components/tag.styles.js +3 -3
- package/dist/src/theme/components/toolbar.styles.js +7 -0
- package/dist/src/theme/index.d.ts +148 -0
- package/dist/src/theme/index.js +173 -159
- package/dist/src/theme/palette.d.ts +1 -1
- package/dist/src/theme/palette.js +1 -1
- package/dist/src/theme/shared/code-highlight.styles.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 +17 -6
package/dist/src/theme/index.js
CHANGED
|
@@ -1,168 +1,182 @@
|
|
|
1
1
|
import { defineTheme } from "meowcss/meowjsx";
|
|
2
|
-
import { assistantStyles } from "./chat/assistant.styles";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
2
|
+
import { assistantStyles } from "./chat/assistant.styles.js";
|
|
3
|
+
import { chatTaskStyles } from "./chat/task.styles.js";
|
|
4
|
+
import { baseStyles, cornerShapeStyles } from "./base.styles.js";
|
|
5
|
+
import { pillStyles } from "./components/pill.styles.js";
|
|
6
|
+
import { imagePreviewStyles } from "./components/image-preview.styles.js";
|
|
7
|
+
import { outputBlockStyles } from "./components/output-block.styles.js";
|
|
8
|
+
import { webBlockStyles } from "./components/web-block.styles.js";
|
|
9
|
+
import { jsonStyles } from "./components/json.styles.js";
|
|
10
|
+
import { imageLightboxStyles } from "./components/image-lightbox.styles.js";
|
|
11
|
+
import { shortcutKeysStyles } from "./components/shortcut-keys.styles.js";
|
|
12
|
+
import { pathLabelStyles } from "./components/path-label.styles.js";
|
|
13
|
+
import { stateDotStyles } from "./components/state-dot.styles.js";
|
|
14
|
+
import { hoverCardStyles } from "./components/hover-card.styles.js";
|
|
15
|
+
import { menuStyles } from "./components/menu.styles.js";
|
|
16
|
+
import { toastStyles } from "./components/toast.styles.js";
|
|
16
17
|
import { standardOptions, uiTokens, chatTokens, alertTokens } from "./tokens.js";
|
|
17
|
-
import { choiceSelectStyles } from "./components/choice-select.styles";
|
|
18
|
-
import { tooltipStyles } from "./components/tooltip.styles";
|
|
19
|
-
import { alertStyles } from "./components/alert.styles";
|
|
20
|
-
import { toolbarStyles } from "./components/toolbar.styles";
|
|
21
|
-
import { chatAttachmentsStyles } from "./chat/attachments.styles";
|
|
22
|
-
import { fieldGroupStyles } from "./components/field-group.styles";
|
|
23
|
-
import { cardStyles } from "./components/card.styles";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
18
|
+
import { choiceSelectStyles } from "./components/choice-select.styles.js";
|
|
19
|
+
import { tooltipStyles } from "./components/tooltip.styles.js";
|
|
20
|
+
import { alertStyles } from "./components/alert.styles.js";
|
|
21
|
+
import { toolbarStyles } from "./components/toolbar.styles.js";
|
|
22
|
+
import { chatAttachmentsStyles } from "./chat/attachments.styles.js";
|
|
23
|
+
import { fieldGroupStyles } from "./components/field-group.styles.js";
|
|
24
|
+
import { cardStyles } from "./components/card.styles.js";
|
|
25
|
+
import { actionRailStyles } from "./components/action-rail.styles.js";
|
|
26
|
+
import { metaRowStyles } from "./components/meta-row.styles.js";
|
|
27
|
+
import { popoverStyles } from "./components/popover.styles.js";
|
|
28
|
+
import { tabsStyles } from "./components/tabs.styles.js";
|
|
29
|
+
import { choiceGroupStyles } from "./components/choice-group.styles.js";
|
|
30
|
+
import { chatConversationStyles } from "./chat/conversation.styles.js";
|
|
31
|
+
import { disclosureStyles } from "./components/disclosure.styles.js";
|
|
32
|
+
import { searchInputStyles } from "./components/search-input.styles.js";
|
|
33
|
+
import { pathPickerStyles } from "./components/path-picker.styles.js";
|
|
34
|
+
import { chatQuestionStyles } from "./chat/question.styles.js";
|
|
35
|
+
import { spinnerStyles } from "./components/spinner.styles.js";
|
|
36
|
+
import { skeletonStyles } from "./components/skeleton.styles.js";
|
|
37
|
+
import { chatHeaderStyles } from "./chat/header.styles.js";
|
|
38
|
+
import { chatStatusStyles } from "./chat/status.styles.js";
|
|
39
|
+
import { chatFrameStyles } from "./chat/frame.styles.js";
|
|
40
|
+
import { chatMessageStyles } from "./chat/message.styles.js";
|
|
41
|
+
import { chatComposerStyles } from "./chat/composer.styles.js";
|
|
42
|
+
import { composerPanelStyles } from "./chat/composer-panel.styles.js";
|
|
43
|
+
import { chatRecordsStyles } from "./chat/records.styles.js";
|
|
44
|
+
import { codeBlockStyles } from "./components/code-block.styles.js";
|
|
45
|
+
import { layoutStyles } from "./components/layout.styles.js";
|
|
46
|
+
import { descriptionListStyles } from "./components/description-list.styles.js";
|
|
47
|
+
import { pageFrameStyles } from "./components/page-frame.styles.js";
|
|
48
|
+
import { appBarStyles } from "./components/app-bar.styles.js";
|
|
49
|
+
import { regionLayoutStyles } from "./components/region-layout.styles.js";
|
|
50
|
+
import { buttonStyles } from "./components/button.styles.js";
|
|
51
|
+
import { dialogStyles } from "./components/dialog.styles.js";
|
|
52
|
+
import { nativeInputStyles } from "./components/native-input.styles.js";
|
|
53
|
+
import { fieldStyles } from "./components/field.styles.js";
|
|
54
|
+
import { badgeStyles } from "./components/badge.styles.js";
|
|
55
|
+
import { separatorStyles } from "./components/separator.styles.js";
|
|
56
|
+
import { emptyStateStyles } from "./components/empty-state.styles.js";
|
|
57
|
+
import { navItemStyles } from "./components/nav-item.styles.js";
|
|
58
|
+
import { iconsStyles } from "./icons/icons.styles.js";
|
|
59
|
+
import { breadcrumbStyles } from "./components/breadcrumb.styles.js";
|
|
60
|
+
import { itemStyles } from "./components/item.styles.js";
|
|
61
|
+
import { toggleStyles } from "./components/toggle.styles.js";
|
|
62
|
+
import { segmentedControlStyles } from "./components/segmented-control.styles.js";
|
|
63
|
+
import { textShimmerStyles } from "./components/text-shimmer.styles.js";
|
|
64
|
+
import { riskConfirmationStyles } from "./components/risk-confirmation.styles.js";
|
|
65
|
+
import { codeHighlightStyles } from "./shared/code-highlight.styles.js";
|
|
66
|
+
import { codeHighlightTokens } from "./shared/code-highlight.tokens.js";
|
|
62
67
|
import { accentTokens, statusTokens, radiusTokens, lineTokens, layerTokens } from "./palette.js";
|
|
63
|
-
import { statusDotStyles } from "./components/status-dot.styles";
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
68
|
+
import { statusDotStyles } from "./components/status-dot.styles.js";
|
|
69
|
+
import { statusStyles } from "./components/status.styles.js";
|
|
70
|
+
import { tagStyles } from "./components/tag.styles.js";
|
|
71
|
+
import { processGroupStyles } from "./components/process-group.styles.js";
|
|
72
|
+
import { workCardStyles } from "./components/work-card.styles.js";
|
|
73
|
+
import { iconRailStyles } from "./components/icon-rail.styles.js";
|
|
74
|
+
import { detailSectionStyles } from "./components/detail-section.styles.js";
|
|
75
|
+
import { timelineStyles } from "./components/timeline.styles.js";
|
|
76
|
+
import { resourceLinkStyles } from "./components/resource-link.styles.js";
|
|
77
|
+
import { pageHeaderStyles } from "./components/page-header.styles.js";
|
|
78
|
+
import { listGroupStyles } from "./components/list-group.styles.js";
|
|
79
|
+
import { resourceCardStyles } from "./components/resource-card.styles.js";
|
|
80
|
+
import { resourceCardTokens } from "./components/resource-card.tokens.js";
|
|
81
|
+
import { drawerStyles } from "./components/drawer.styles.js";
|
|
82
|
+
import { windowTitleBarStyles } from "./components/window-title-bar.styles.js";
|
|
77
83
|
export { standardOptions, uiTokens, chatTokens, logoTokens } from "./tokens.js";
|
|
78
84
|
export { accentTokens, statusTokens, radiusTokens, lineTokens, layerTokens } from "./palette.js";
|
|
85
|
+
export const standardThemeTokens = [
|
|
86
|
+
uiTokens,
|
|
87
|
+
chatTokens,
|
|
88
|
+
alertTokens,
|
|
89
|
+
codeHighlightTokens,
|
|
90
|
+
accentTokens,
|
|
91
|
+
statusTokens,
|
|
92
|
+
radiusTokens,
|
|
93
|
+
lineTokens,
|
|
94
|
+
layerTokens,
|
|
95
|
+
resourceCardTokens,
|
|
96
|
+
];
|
|
97
|
+
export const standardThemeStyles = [
|
|
98
|
+
assistantStyles,
|
|
99
|
+
chatTaskStyles,
|
|
100
|
+
statusDotStyles,
|
|
101
|
+
statusStyles,
|
|
102
|
+
tagStyles,
|
|
103
|
+
processGroupStyles,
|
|
104
|
+
workCardStyles,
|
|
105
|
+
iconRailStyles,
|
|
106
|
+
detailSectionStyles,
|
|
107
|
+
timelineStyles,
|
|
108
|
+
resourceLinkStyles,
|
|
109
|
+
pageHeaderStyles,
|
|
110
|
+
listGroupStyles,
|
|
111
|
+
resourceCardStyles,
|
|
112
|
+
drawerStyles,
|
|
113
|
+
windowTitleBarStyles,
|
|
114
|
+
pillStyles,
|
|
115
|
+
cornerShapeStyles,
|
|
116
|
+
segmentedControlStyles,
|
|
117
|
+
textShimmerStyles,
|
|
118
|
+
riskConfirmationStyles,
|
|
119
|
+
codeHighlightStyles,
|
|
120
|
+
webBlockStyles,
|
|
121
|
+
jsonStyles,
|
|
122
|
+
imageLightboxStyles,
|
|
123
|
+
popoverStyles,
|
|
124
|
+
shortcutKeysStyles,
|
|
125
|
+
pathLabelStyles,
|
|
126
|
+
stateDotStyles,
|
|
127
|
+
hoverCardStyles,
|
|
128
|
+
menuStyles,
|
|
129
|
+
toastStyles,
|
|
130
|
+
outputBlockStyles,
|
|
131
|
+
buttonStyles,
|
|
132
|
+
actionRailStyles,
|
|
133
|
+
metaRowStyles,
|
|
134
|
+
dialogStyles,
|
|
135
|
+
nativeInputStyles,
|
|
136
|
+
fieldStyles,
|
|
137
|
+
badgeStyles,
|
|
138
|
+
separatorStyles,
|
|
139
|
+
emptyStateStyles,
|
|
140
|
+
navItemStyles,
|
|
141
|
+
toggleStyles,
|
|
142
|
+
codeBlockStyles,
|
|
143
|
+
itemStyles,
|
|
144
|
+
toolbarStyles,
|
|
145
|
+
tabsStyles,
|
|
146
|
+
breadcrumbStyles,
|
|
147
|
+
alertStyles,
|
|
148
|
+
skeletonStyles,
|
|
149
|
+
spinnerStyles,
|
|
150
|
+
layoutStyles,
|
|
151
|
+
descriptionListStyles,
|
|
152
|
+
pageFrameStyles,
|
|
153
|
+
appBarStyles,
|
|
154
|
+
regionLayoutStyles,
|
|
155
|
+
cardStyles,
|
|
156
|
+
fieldGroupStyles,
|
|
157
|
+
choiceGroupStyles,
|
|
158
|
+
tooltipStyles,
|
|
159
|
+
choiceSelectStyles,
|
|
160
|
+
chatHeaderStyles,
|
|
161
|
+
chatStatusStyles,
|
|
162
|
+
chatFrameStyles,
|
|
163
|
+
chatMessageStyles,
|
|
164
|
+
chatComposerStyles,
|
|
165
|
+
composerPanelStyles,
|
|
166
|
+
chatRecordsStyles,
|
|
167
|
+
chatQuestionStyles,
|
|
168
|
+
chatConversationStyles,
|
|
169
|
+
chatAttachmentsStyles,
|
|
170
|
+
imagePreviewStyles,
|
|
171
|
+
iconsStyles,
|
|
172
|
+
searchInputStyles,
|
|
173
|
+
pathPickerStyles,
|
|
174
|
+
disclosureStyles,
|
|
175
|
+
baseStyles,
|
|
176
|
+
];
|
|
79
177
|
export const standardTheme = defineTheme({
|
|
80
178
|
options: standardOptions,
|
|
81
179
|
defaults: { scheme: "auto" },
|
|
82
|
-
tokens:
|
|
83
|
-
|
|
84
|
-
chatTokens,
|
|
85
|
-
alertTokens,
|
|
86
|
-
codeHighlightTokens,
|
|
87
|
-
accentTokens,
|
|
88
|
-
statusTokens,
|
|
89
|
-
radiusTokens,
|
|
90
|
-
lineTokens,
|
|
91
|
-
layerTokens,
|
|
92
|
-
resourceCardTokens,
|
|
93
|
-
],
|
|
94
|
-
styles: [
|
|
95
|
-
assistantStyles,
|
|
96
|
-
statusDotStyles,
|
|
97
|
-
tagStyles,
|
|
98
|
-
processGroupStyles,
|
|
99
|
-
workCardStyles,
|
|
100
|
-
iconRailStyles,
|
|
101
|
-
detailSectionStyles,
|
|
102
|
-
timelineStyles,
|
|
103
|
-
resourceLinkStyles,
|
|
104
|
-
pageHeaderStyles,
|
|
105
|
-
listGroupStyles,
|
|
106
|
-
resourceCardStyles,
|
|
107
|
-
drawerStyles,
|
|
108
|
-
windowTitleBarStyles,
|
|
109
|
-
pillStyles,
|
|
110
|
-
cornerShapeStyles,
|
|
111
|
-
segmentedControlStyles,
|
|
112
|
-
textShimmerStyles,
|
|
113
|
-
riskConfirmationStyles,
|
|
114
|
-
codeHighlightStyles,
|
|
115
|
-
webBlockStyles,
|
|
116
|
-
jsonStyles,
|
|
117
|
-
imageLightboxStyles,
|
|
118
|
-
popoverStyles,
|
|
119
|
-
shortcutKeysStyles,
|
|
120
|
-
pathLabelStyles,
|
|
121
|
-
stateDotStyles,
|
|
122
|
-
hoverCardStyles,
|
|
123
|
-
menuStyles,
|
|
124
|
-
toastStyles,
|
|
125
|
-
outputBlockStyles,
|
|
126
|
-
buttonStyles,
|
|
127
|
-
dialogStyles,
|
|
128
|
-
nativeInputStyles,
|
|
129
|
-
fieldStyles,
|
|
130
|
-
badgeStyles,
|
|
131
|
-
separatorStyles,
|
|
132
|
-
emptyStateStyles,
|
|
133
|
-
navItemStyles,
|
|
134
|
-
toggleStyles,
|
|
135
|
-
codeBlockStyles,
|
|
136
|
-
itemStyles,
|
|
137
|
-
toolbarStyles,
|
|
138
|
-
tabsStyles,
|
|
139
|
-
breadcrumbStyles,
|
|
140
|
-
alertStyles,
|
|
141
|
-
skeletonStyles,
|
|
142
|
-
spinnerStyles,
|
|
143
|
-
layoutStyles,
|
|
144
|
-
descriptionListStyles,
|
|
145
|
-
pageFrameStyles,
|
|
146
|
-
regionLayoutStyles,
|
|
147
|
-
cardStyles,
|
|
148
|
-
fieldGroupStyles,
|
|
149
|
-
choiceGroupStyles,
|
|
150
|
-
tooltipStyles,
|
|
151
|
-
choiceSelectStyles,
|
|
152
|
-
chatHeaderStyles,
|
|
153
|
-
chatStatusStyles,
|
|
154
|
-
chatFrameStyles,
|
|
155
|
-
chatMessageStyles,
|
|
156
|
-
chatComposerStyles,
|
|
157
|
-
chatRecordsStyles,
|
|
158
|
-
chatQuestionStyles,
|
|
159
|
-
chatConversationStyles,
|
|
160
|
-
chatAttachmentsStyles,
|
|
161
|
-
imagePreviewStyles,
|
|
162
|
-
iconsStyles,
|
|
163
|
-
searchInputStyles,
|
|
164
|
-
pathPickerStyles,
|
|
165
|
-
disclosureStyles,
|
|
166
|
-
baseStyles,
|
|
167
|
-
],
|
|
180
|
+
tokens: standardThemeTokens,
|
|
181
|
+
styles: standardThemeStyles,
|
|
168
182
|
});
|
|
@@ -51,5 +51,5 @@ export declare const layerTokens: import("meowcss").TokenRefs<{
|
|
|
51
51
|
readonly chip: readonly ["#f1f3f5", "rgb(255 255 255 / 8%)"];
|
|
52
52
|
readonly chipInk: readonly ["#61666b", "#cfd3d6"];
|
|
53
53
|
readonly code: readonly ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"];
|
|
54
|
-
readonly faint: readonly ["#
|
|
54
|
+
readonly faint: readonly ["#656a71", "#9aa0a7"];
|
|
55
55
|
}> & import("meowcss").TokenSet;
|
|
@@ -2,7 +2,7 @@ import { css, partSelector } from "meowcss/meowjsx";
|
|
|
2
2
|
import { uiTokens } from "../tokens.js";
|
|
3
3
|
import { codeBlockContract } from "../../components/code-block.js";
|
|
4
4
|
import { readBlockContract } from "../../components/read-block.js";
|
|
5
|
-
import { codeHighlightTokens } from "./code-highlight.tokens";
|
|
5
|
+
import { codeHighlightTokens } from "./code-highlight.tokens.js";
|
|
6
6
|
export const codeHighlightStyles = css `
|
|
7
7
|
${partSelector(codeBlockContract, "root")}, ${partSelector(readBlockContract, "root")} {
|
|
8
8
|
--meowui-code-foreground: ${uiTokens.foreground};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/** DeepSeek ui-theme/shiki.css palette; emitted through the standard scheme mechanism. */
|
|
2
2
|
export declare const codeHighlightTokens: import("meowcss").TokenRefs<{
|
|
3
|
-
readonly constant: readonly ["#
|
|
4
|
-
readonly string: readonly ["#
|
|
5
|
-
readonly comment: readonly ["#
|
|
6
|
-
readonly keyword: readonly ["#
|
|
7
|
-
readonly parameter: readonly ["#
|
|
3
|
+
readonly constant: readonly ["#1b64a8", "#4dabf7"];
|
|
4
|
+
readonly string: readonly ["#1e6b30", "#69db7c"];
|
|
5
|
+
readonly comment: readonly ["#656a71", "#adb5bd"];
|
|
6
|
+
readonly keyword: readonly ["#b02a5b", "#faa2c1"];
|
|
7
|
+
readonly parameter: readonly ["#b34700", "#ffa94d"];
|
|
8
8
|
readonly function: readonly ["#6741d9", "#b197fc"];
|
|
9
|
-
readonly stringExpression: readonly ["#
|
|
9
|
+
readonly stringExpression: readonly ["#1e6b30", "#8ce99a"];
|
|
10
10
|
readonly punctuation: readonly ["#495057", "#ced4da"];
|
|
11
11
|
readonly link: readonly ["#1971c2", "#74c0fc"];
|
|
12
12
|
}> & import("meowcss").TokenSet;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineTokens } from "meowcss";
|
|
2
2
|
/** DeepSeek ui-theme/shiki.css palette; emitted through the standard scheme mechanism. */
|
|
3
3
|
export const codeHighlightTokens = defineTokens("code-highlight", {
|
|
4
|
-
constant: ["#
|
|
5
|
-
string: ["#
|
|
6
|
-
comment: ["#
|
|
7
|
-
keyword: ["#
|
|
8
|
-
parameter: ["#
|
|
4
|
+
constant: ["#1b64a8", "#4dabf7"],
|
|
5
|
+
string: ["#1e6b30", "#69db7c"],
|
|
6
|
+
comment: ["#656a71", "#adb5bd"],
|
|
7
|
+
keyword: ["#b02a5b", "#faa2c1"],
|
|
8
|
+
parameter: ["#b34700", "#ffa94d"],
|
|
9
9
|
function: ["#6741d9", "#b197fc"],
|
|
10
|
-
stringExpression: ["#
|
|
10
|
+
stringExpression: ["#1e6b30", "#8ce99a"],
|
|
11
11
|
punctuation: ["#495057", "#ced4da"],
|
|
12
12
|
link: ["#1971c2", "#74c0fc"],
|
|
13
13
|
});
|
|
@@ -46,10 +46,10 @@ export declare const uiTokens: import("meowcss").TokenRefs<{
|
|
|
46
46
|
readonly toastSurface: readonly ["#353638", "#43454a"];
|
|
47
47
|
readonly toastForeground: "#ffffff";
|
|
48
48
|
readonly mutedForeground: readonly ["#61666b", "#adb2b8"];
|
|
49
|
-
readonly subtleForeground: "#
|
|
50
|
-
readonly captionForeground: readonly ["#
|
|
49
|
+
readonly subtleForeground: readonly ["#656a71", "#9aa0a7"];
|
|
50
|
+
readonly captionForeground: readonly ["#656a71", "#9aa0a7"];
|
|
51
51
|
readonly shimmer: readonly ["rgb(0 0 0 / 30%)", "rgb(255 255 255 / 45%)"];
|
|
52
|
-
readonly placeholder: readonly ["#
|
|
52
|
+
readonly placeholder: readonly ["#61666b", "#adb2b8"];
|
|
53
53
|
readonly border: readonly ["rgb(0 0 0 / 16%)", "rgb(255 255 255 / 20%)"];
|
|
54
54
|
readonly borderSubtle: readonly ["rgb(0 0 0 / 12%)", "rgb(255 255 255 / 16%)"];
|
|
55
55
|
readonly borderSoft: import("meowcss").ConditionalValue;
|
|
@@ -60,10 +60,10 @@ export declare const uiTokens: import("meowcss").TokenRefs<{
|
|
|
60
60
|
readonly primaryHover: readonly ["#43454a", "#ebeef2"];
|
|
61
61
|
readonly onPrimary: readonly ["#ffffff", "#0f1115"];
|
|
62
62
|
readonly primarySoft: readonly ["#ebeef2", "#43454a"];
|
|
63
|
-
readonly info: readonly ["#
|
|
64
|
-
readonly warning: "#
|
|
65
|
-
readonly success: "#
|
|
66
|
-
readonly danger: readonly ["#
|
|
63
|
+
readonly info: readonly ["#2f5fce", "#7aaaff"];
|
|
64
|
+
readonly warning: readonly ["#a85c00", "#f0a04b"];
|
|
65
|
+
readonly success: readonly ["#15803d", "#4ade80"];
|
|
66
|
+
readonly danger: readonly ["#d51d1d", "#f25a5a"];
|
|
67
67
|
readonly dangerAction: readonly ["#b91c1c", "#f25a5a"];
|
|
68
68
|
readonly onDanger: readonly ["#ffffff", "#0f1115"];
|
|
69
69
|
readonly focus: readonly ["#4176e6", "#7aaaff"];
|
package/dist/src/theme/tokens.js
CHANGED
|
@@ -5,6 +5,8 @@ import { accentTokens, layerTokens, lineTokens, radiusTokens } from "./palette.j
|
|
|
5
5
|
export const standardOptions = defineOptions("meowui", {});
|
|
6
6
|
/** Re-evaluate color aliases at a local scheme instead of inheriting resolved parent colors. */
|
|
7
7
|
const schemeAlias = (value) => standardOptions.by.scheme([value, value]);
|
|
8
|
+
/** Secondary ink that remains readable on input and page surfaces in both schemes. */
|
|
9
|
+
const mutedForeground = ["#61666b", "#adb2b8"];
|
|
8
10
|
export const uiTokens = defineTokens("ui", {
|
|
9
11
|
font: '-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif',
|
|
10
12
|
mono: '"SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei"',
|
|
@@ -51,11 +53,15 @@ export const uiTokens = defineTokens("ui", {
|
|
|
51
53
|
foreground: ["#0f1115", "#f9fafb"],
|
|
52
54
|
toastSurface: ["#353638", "#43454a"],
|
|
53
55
|
toastForeground: "#ffffff",
|
|
54
|
-
mutedForeground
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
mutedForeground,
|
|
57
|
+
// Metadata ink stays above the normal-text floor in both schemes; it is still
|
|
58
|
+
// lighter than the primary muted text so hierarchy survives.
|
|
59
|
+
subtleForeground: ["#656a71", "#9aa0a7"],
|
|
60
|
+
captionForeground: ["#656a71", "#9aa0a7"],
|
|
57
61
|
shimmer: ["rgb(0 0 0 / 30%)", "rgb(255 255 255 / 45%)"],
|
|
58
|
-
|
|
62
|
+
// Placeholder is text the reader must scan before typing; reuse the readable
|
|
63
|
+
// secondary ink instead of a near-white tint that only works as decoration.
|
|
64
|
+
placeholder: mutedForeground,
|
|
59
65
|
border: ["rgb(0 0 0 / 16%)", "rgb(255 255 255 / 20%)"],
|
|
60
66
|
borderSubtle: ["rgb(0 0 0 / 12%)", "rgb(255 255 255 / 16%)"],
|
|
61
67
|
borderSoft: schemeAlias(`${lineTokens.divider}`),
|
|
@@ -66,10 +72,10 @@ export const uiTokens = defineTokens("ui", {
|
|
|
66
72
|
primaryHover: ["#43454a", "#ebeef2"],
|
|
67
73
|
onPrimary: ["#ffffff", "#0f1115"],
|
|
68
74
|
primarySoft: ["#ebeef2", "#43454a"],
|
|
69
|
-
info: ["#
|
|
70
|
-
warning: "#
|
|
71
|
-
success: "#
|
|
72
|
-
danger: ["#
|
|
75
|
+
info: ["#2f5fce", "#7aaaff"],
|
|
76
|
+
warning: ["#a85c00", "#f0a04b"],
|
|
77
|
+
success: ["#15803d", "#4ade80"],
|
|
78
|
+
danger: ["#d51d1d", "#f25a5a"],
|
|
73
79
|
// Filled destructive actions are a Meowland extension: state red alone does
|
|
74
80
|
// not provide readable small labels, especially with white ink in dark mode.
|
|
75
81
|
dangerAction: ["#b91c1c", "#f25a5a"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meowtail",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"description": "meowtail library",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
+
"AGENT-COMPONENTS.md",
|
|
13
14
|
"README.md",
|
|
14
15
|
"ASSISTANT.md",
|
|
15
16
|
"JSON.md",
|
|
@@ -33,6 +34,10 @@
|
|
|
33
34
|
"types": "./dist/src/icons/index.d.ts",
|
|
34
35
|
"import": "./dist/src/icons/index.js"
|
|
35
36
|
},
|
|
37
|
+
"./icons/lucide": {
|
|
38
|
+
"types": "./dist/src/icons/lucide.d.ts",
|
|
39
|
+
"import": "./dist/src/icons/lucide.js"
|
|
40
|
+
},
|
|
36
41
|
"./registry": {
|
|
37
42
|
"types": "./dist/src/registry.d.ts",
|
|
38
43
|
"import": "./dist/src/registry.js"
|
|
@@ -49,16 +54,22 @@
|
|
|
49
54
|
"dependencies": {
|
|
50
55
|
"@floating-ui/dom": "^1.8.0",
|
|
51
56
|
"@shikijs/langs": "4.3.1",
|
|
57
|
+
"lucide": "1.59.0",
|
|
52
58
|
"shiki": "4.3.1",
|
|
53
59
|
"marked": "18.0.12"
|
|
54
60
|
},
|
|
55
61
|
"peerDependencies": {
|
|
56
|
-
"meowjsx": "^0.1.0",
|
|
57
|
-
"meowcss": "^0.1.0"
|
|
62
|
+
"meowjsx": "^0.1.0 || ^0.1.1-alpha.0",
|
|
63
|
+
"meowcss": "^0.1.0 || ^0.1.1-alpha.0"
|
|
58
64
|
},
|
|
59
65
|
"devDependencies": {
|
|
60
|
-
"meowjsx": "0.1.0",
|
|
61
|
-
"meowcss": "0.1.0",
|
|
62
|
-
"meowbook": "0.1.
|
|
66
|
+
"meowjsx": "0.1.1-alpha.0",
|
|
67
|
+
"meowcss": "0.1.1-alpha.0",
|
|
68
|
+
"meowbook": "0.1.2-alpha.1"
|
|
69
|
+
},
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "git+https://github.com/lidessen/meowland.git",
|
|
73
|
+
"directory": "packages/meowtail"
|
|
63
74
|
}
|
|
64
75
|
}
|