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.
Files changed (163) hide show
  1. package/AGENT-COMPONENTS.md +65 -65
  2. package/ASSISTANT.md +35 -35
  3. package/JSON.md +11 -11
  4. package/README.md +413 -385
  5. package/THIRD_PARTY_NOTICES.md +8 -0
  6. package/dist/src/chat/assistant-composer.js +58 -98
  7. package/dist/src/chat/assistant-content.d.ts +1 -3
  8. package/dist/src/chat/assistant-content.js +36 -44
  9. package/dist/src/chat/assistant-markdown.js +4 -8
  10. package/dist/src/chat/assistant-question.js +13 -14
  11. package/dist/src/chat/assistant.js +27 -26
  12. package/dist/src/chat/attachments.d.ts +3 -2
  13. package/dist/src/chat/attachments.js +43 -34
  14. package/dist/src/chat/composer-panel.d.ts +16 -0
  15. package/dist/src/chat/composer-panel.js +11 -0
  16. package/dist/src/chat/composer.d.ts +7 -3
  17. package/dist/src/chat/composer.js +71 -22
  18. package/dist/src/chat/conversation.js +2 -2
  19. package/dist/src/chat/index.d.ts +1 -0
  20. package/dist/src/chat/index.js +1 -0
  21. package/dist/src/chat/message-list.js +1 -1
  22. package/dist/src/chat/message.js +3 -3
  23. package/dist/src/chat/question.js +1 -1
  24. package/dist/src/chat/sources.js +1 -1
  25. package/dist/src/chat/task.js +9 -15
  26. package/dist/src/chat/tool-call.js +7 -14
  27. package/dist/src/components/accordion.d.ts +24 -0
  28. package/dist/src/components/accordion.js +50 -0
  29. package/dist/src/components/action-rail.d.ts +19 -0
  30. package/dist/src/components/action-rail.js +13 -0
  31. package/dist/src/components/add-button.js +1 -1
  32. package/dist/src/components/alert.d.ts +2 -0
  33. package/dist/src/components/alert.js +2 -1
  34. package/dist/src/components/app-bar.d.ts +17 -0
  35. package/dist/src/components/app-bar.js +10 -0
  36. package/dist/src/components/avatar.d.ts +22 -0
  37. package/dist/src/components/avatar.js +44 -0
  38. package/dist/src/components/breadcrumb.js +1 -1
  39. package/dist/src/components/checkbox.d.ts +6 -2
  40. package/dist/src/components/checkbox.js +36 -8
  41. package/dist/src/components/choice-group.d.ts +1 -0
  42. package/dist/src/components/choice-group.js +12 -17
  43. package/dist/src/components/choice-select.d.ts +3 -1
  44. package/dist/src/components/choice-select.js +56 -54
  45. package/dist/src/components/code-block.d.ts +3 -3
  46. package/dist/src/components/code-block.js +31 -27
  47. package/dist/src/components/context-menu.d.ts +16 -0
  48. package/dist/src/components/context-menu.js +49 -0
  49. package/dist/src/components/credential-source.js +12 -12
  50. package/dist/src/components/diff-block.js +1 -1
  51. package/dist/src/components/disclosure.d.ts +2 -2
  52. package/dist/src/components/disclosure.js +1 -1
  53. package/dist/src/components/hover-card.js +2 -2
  54. package/dist/src/components/image-lightbox.js +3 -3
  55. package/dist/src/components/image-preview.js +1 -1
  56. package/dist/src/components/index.d.ts +12 -0
  57. package/dist/src/components/index.js +12 -0
  58. package/dist/src/components/json-block.js +2 -2
  59. package/dist/src/components/json-tree.js +3 -3
  60. package/dist/src/components/link.d.ts +13 -0
  61. package/dist/src/components/link.js +9 -0
  62. package/dist/src/components/list-group.d.ts +1 -1
  63. package/dist/src/components/menu-button.d.ts +13 -0
  64. package/dist/src/components/menu-button.js +10 -0
  65. package/dist/src/components/menu.d.ts +4 -0
  66. package/dist/src/components/menu.js +3 -3
  67. package/dist/src/components/meta-row.d.ts +34 -0
  68. package/dist/src/components/meta-row.js +61 -0
  69. package/dist/src/components/nav-item.js +2 -5
  70. package/dist/src/components/number-input.d.ts +29 -0
  71. package/dist/src/components/number-input.js +137 -0
  72. package/dist/src/components/output-block.js +8 -15
  73. package/dist/src/components/page-frame.d.ts +6 -2
  74. package/dist/src/components/page-frame.js +2 -2
  75. package/dist/src/components/path-picker.js +9 -14
  76. package/dist/src/components/pill.js +2 -5
  77. package/dist/src/components/popover.js +4 -4
  78. package/dist/src/components/process-group.d.ts +2 -2
  79. package/dist/src/components/progress.d.ts +15 -0
  80. package/dist/src/components/progress.js +12 -0
  81. package/dist/src/components/rail-item.d.ts +2 -2
  82. package/dist/src/components/rail-section.d.ts +1 -1
  83. package/dist/src/components/read-block.js +2 -2
  84. package/dist/src/components/resource-card.d.ts +1 -1
  85. package/dist/src/components/resource-link.d.ts +1 -1
  86. package/dist/src/components/risk-confirmation.js +2 -5
  87. package/dist/src/components/search-block.js +2 -3
  88. package/dist/src/components/segmented-control.js +3 -3
  89. package/dist/src/components/skeleton-boundary.js +4 -7
  90. package/dist/src/components/slider.d.ts +22 -0
  91. package/dist/src/components/slider.js +49 -0
  92. package/dist/src/components/table.d.ts +41 -0
  93. package/dist/src/components/table.js +146 -0
  94. package/dist/src/components/tabs.d.ts +1 -1
  95. package/dist/src/components/tabs.js +11 -20
  96. package/dist/src/components/terminal-block.js +6 -6
  97. package/dist/src/components/text-shimmer.js +2 -5
  98. package/dist/src/components/web-block.js +3 -3
  99. package/dist/src/components/work-card.d.ts +2 -2
  100. package/dist/src/components/work-card.js +1 -1
  101. package/dist/src/icons/README.md +13 -2
  102. package/dist/src/icons/icon-frame.d.ts +11 -0
  103. package/dist/src/icons/icon-frame.js +4 -0
  104. package/dist/src/icons/icon-source.d.ts +17 -0
  105. package/dist/src/icons/icon-source.js +6 -0
  106. package/dist/src/icons/icon.d.ts +44 -37
  107. package/dist/src/icons/icon.js +55 -128
  108. package/dist/src/icons/index.d.ts +1 -0
  109. package/dist/src/icons/index.js +1 -0
  110. package/dist/src/icons/lucide.d.ts +1 -0
  111. package/dist/src/icons/lucide.js +4 -0
  112. package/dist/src/registry/index.d.ts +99 -5
  113. package/dist/src/registry/index.js +28 -3
  114. package/dist/src/shared/execution-state.js +7 -7
  115. package/dist/src/theme/chat/composer-panel.styles.d.ts +1 -0
  116. package/dist/src/theme/chat/composer-panel.styles.js +47 -0
  117. package/dist/src/theme/chat/composer.styles.js +69 -60
  118. package/dist/src/theme/chat/task.styles.js +5 -6
  119. package/dist/src/theme/components/accordion.styles.d.ts +1 -0
  120. package/dist/src/theme/components/accordion.styles.js +63 -0
  121. package/dist/src/theme/components/action-rail.styles.d.ts +1 -0
  122. package/dist/src/theme/components/action-rail.styles.js +47 -0
  123. package/dist/src/theme/components/alert.styles.js +42 -1
  124. package/dist/src/theme/components/app-bar.styles.d.ts +1 -0
  125. package/dist/src/theme/components/app-bar.styles.js +48 -0
  126. package/dist/src/theme/components/avatar.styles.d.ts +1 -0
  127. package/dist/src/theme/components/avatar.styles.js +52 -0
  128. package/dist/src/theme/components/button.styles.js +9 -0
  129. package/dist/src/theme/components/card.styles.js +2 -0
  130. package/dist/src/theme/components/code-block.styles.js +7 -0
  131. package/dist/src/theme/components/context-menu.styles.d.ts +1 -0
  132. package/dist/src/theme/components/context-menu.styles.js +14 -0
  133. package/dist/src/theme/components/dialog.styles.js +7 -0
  134. package/dist/src/theme/components/link.styles.d.ts +1 -0
  135. package/dist/src/theme/components/link.styles.js +33 -0
  136. package/dist/src/theme/components/list-group.styles.js +1 -0
  137. package/dist/src/theme/components/menu.styles.js +9 -3
  138. package/dist/src/theme/components/meta-row.styles.d.ts +1 -0
  139. package/dist/src/theme/components/meta-row.styles.js +66 -0
  140. package/dist/src/theme/components/number-input.styles.d.ts +1 -0
  141. package/dist/src/theme/components/number-input.styles.js +106 -0
  142. package/dist/src/theme/components/output-block.styles.js +9 -0
  143. package/dist/src/theme/components/page-frame.styles.js +7 -1
  144. package/dist/src/theme/components/page-header.styles.js +7 -0
  145. package/dist/src/theme/components/progress.styles.d.ts +1 -0
  146. package/dist/src/theme/components/progress.styles.js +71 -0
  147. package/dist/src/theme/components/resource-card.styles.js +7 -0
  148. package/dist/src/theme/components/slider.styles.d.ts +1 -0
  149. package/dist/src/theme/components/slider.styles.js +129 -0
  150. package/dist/src/theme/components/table.styles.d.ts +1 -0
  151. package/dist/src/theme/components/table.styles.js +156 -0
  152. package/dist/src/theme/components/tag.styles.js +3 -3
  153. package/dist/src/theme/components/toggle.styles.js +10 -0
  154. package/dist/src/theme/components/toolbar.styles.js +7 -0
  155. package/dist/src/theme/index.d.ts +15 -15
  156. package/dist/src/theme/index.js +24 -0
  157. package/dist/src/theme/palette.d.ts +1 -1
  158. package/dist/src/theme/palette.js +1 -1
  159. package/dist/src/theme/shared/code-highlight.tokens.d.ts +6 -6
  160. package/dist/src/theme/shared/code-highlight.tokens.js +6 -6
  161. package/dist/src/theme/tokens.d.ts +7 -7
  162. package/dist/src/theme/tokens.js +14 -8
  163. package/package.json +9 -4
@@ -0,0 +1,156 @@
1
+ import { css, partSelector } from "meowcss/meowjsx";
2
+ import { uiTokens } from "../tokens.js";
3
+ import { tableContract } from "../../components/table.js";
4
+ import { accentTokens, layerTokens, lineTokens, radiusTokens } from "../palette.js";
5
+ const part = (name) => partSelector(tableContract, name);
6
+ export const tableStyles = css `
7
+ ${part("root")} {
8
+ min-width: 0;
9
+ color: ${uiTokens.foreground};
10
+ font: ${uiTokens.fontBody}/1.5 ${uiTokens.font};
11
+ }
12
+ ${part("scroller")} {
13
+ overflow: auto;
14
+ border: ${lineTokens.width} solid ${lineTokens.edge};
15
+ border-radius: ${radiusTokens.card};
16
+ background: ${layerTokens.raised};
17
+ }
18
+ ${part("table")} {
19
+ width: 100%;
20
+ min-width: 24rem;
21
+ border-collapse: collapse;
22
+ table-layout: fixed;
23
+ }
24
+ ${part("heading")},
25
+ ${part("cell")} {
26
+ box-sizing: border-box;
27
+ min-width: 0;
28
+ padding: 10px 14px;
29
+ overflow-wrap: anywhere;
30
+ text-align: start;
31
+ vertical-align: middle;
32
+ }
33
+ ${part("heading")}[data-align="end"],
34
+ ${part("cell")}[data-align="end"] {
35
+ text-align: end;
36
+ }
37
+ ${part("heading")} {
38
+ position: sticky;
39
+ top: 0;
40
+ z-index: 1;
41
+ padding-block: 8px;
42
+ color: ${uiTokens.mutedForeground};
43
+ font-size: ${uiTokens.fontCaption};
44
+ font-weight: 600;
45
+ letter-spacing: 0.01em;
46
+ white-space: nowrap;
47
+ background: ${layerTokens.sunken};
48
+ }
49
+ ${part("heading")}:last-child ${part("resize")}::after {
50
+ opacity: 0;
51
+ }
52
+ ${part("sort")} {
53
+ appearance: none;
54
+ display: inline-flex;
55
+ align-items: center;
56
+ gap: 8px;
57
+ width: 100%;
58
+ min-height: 20px;
59
+ margin: 0;
60
+ padding: 0;
61
+ border: 0;
62
+ background: transparent;
63
+ color: inherit;
64
+ font: inherit;
65
+ text-align: inherit;
66
+ cursor: pointer;
67
+ }
68
+ ${part("heading")}[data-align="end"] ${part("sort")} {
69
+ justify-content: flex-end;
70
+ }
71
+ ${part("sort")} svg {
72
+ display: block;
73
+ width: 12px;
74
+ height: 12px;
75
+ flex: none;
76
+ color: ${uiTokens.subtleForeground};
77
+ }
78
+ ${part("heading")}[aria-sort="ascending"] ${part("sort")},
79
+ ${part("heading")}[aria-sort="descending"] ${part("sort")} {
80
+ color: ${uiTokens.foreground};
81
+ }
82
+ ${part("heading")}[aria-sort="ascending"] ${part("sort")} svg,
83
+ ${part("heading")}[aria-sort="descending"] ${part("sort")} svg {
84
+ color: currentColor;
85
+ }
86
+ ${part("sort")}:focus-visible {
87
+ outline: 2px solid ${uiTokens.focus};
88
+ outline-offset: 2px;
89
+ border-radius: 2px;
90
+ }
91
+ ${part("resize")} {
92
+ position: absolute;
93
+ inset-block: 0;
94
+ inset-inline-end: 0;
95
+ width: 10px;
96
+ cursor: col-resize;
97
+ }
98
+ ${part("resize")}::after {
99
+ content: "";
100
+ position: absolute;
101
+ inset-block: 8px;
102
+ inset-inline-end: 4px;
103
+ width: 1px;
104
+ background: ${lineTokens.divider};
105
+ transition:
106
+ background-color ${uiTokens.durationResponse} ${uiTokens.ease},
107
+ width ${uiTokens.durationResponse} ${uiTokens.ease};
108
+ }
109
+ @media (hover: hover) {
110
+ ${part("heading")}:hover ${part("resize")}::after,
111
+ ${part("resize")}:hover::after {
112
+ background: ${uiTokens.mutedForeground};
113
+ opacity: 1;
114
+ }
115
+ ${part("resize")}:hover::after {
116
+ width: 2px;
117
+ }
118
+ }
119
+ ${part("body")} ${part("row")} ${part("cell")} {
120
+ transition: background-color ${uiTokens.durationResponse} ${uiTokens.ease};
121
+ }
122
+ ${part("row")} + ${part("row")} ${part("cell")} {
123
+ border-top: ${lineTokens.width} solid ${lineTokens.divider};
124
+ }
125
+ @media (hover: hover) {
126
+ ${part("body")} ${part("row")}:hover ${part("cell")} {
127
+ background: ${uiTokens.hover};
128
+ }
129
+ }
130
+ ${part("body")} ${part("row")}[data-selected="true"] ${part("cell")} {
131
+ background: ${accentTokens.selected};
132
+ }
133
+ @media (hover: hover) {
134
+ ${part("body")} ${part("row")}[data-selected="true"]:hover ${part("cell")} {
135
+ background: color-mix(in srgb, ${accentTokens.selected} 70%, ${uiTokens.hover});
136
+ }
137
+ }
138
+ ${part("body")} ${part("row")}:has(input:disabled) ${part("cell")} {
139
+ color: ${uiTokens.subtleForeground};
140
+ }
141
+ ${part("cell")}[data-table-select],
142
+ ${part("heading")}:has(${part("select")}) {
143
+ width: 44px;
144
+ padding-inline: 12px;
145
+ }
146
+ ${part("select")} {
147
+ display: grid;
148
+ place-items: center;
149
+ }
150
+ @media (prefers-reduced-motion: reduce) {
151
+ ${part("body")} ${part("row")} ${part("cell")},
152
+ ${part("resize")}::after {
153
+ transition: none;
154
+ }
155
+ }
156
+ `;
@@ -1,7 +1,7 @@
1
1
  import { css, partSelector } from "meowcss/meowjsx";
2
2
  import { tagContract, tagOptions } from "../../components/tag.js";
3
3
  import { uiTokens } from "../tokens.js";
4
- import { accentTokens, layerTokens, radiusTokens, statusTokens } from "../palette.js";
4
+ import { accentTokens, layerTokens, radiusTokens } from "../palette.js";
5
5
  const root = partSelector(tagContract, "root");
6
6
  export const tagStyles = css `
7
7
  ${root} {
@@ -24,8 +24,8 @@ export const tagStyles = css `
24
24
  font-weight: 600;
25
25
  }
26
26
  ${tagOptions.when({ tone: "warning" })} {
27
- background: ${statusTokens.warning};
28
- color: #fff;
27
+ background: ${uiTokens.warning};
28
+ color: ${uiTokens.onPrimary};
29
29
  font-weight: 600;
30
30
  }
31
31
  ${tagOptions.when({ kind: "count" })} {
@@ -63,6 +63,16 @@ export const toggleStyles = css `
63
63
  cursor: default;
64
64
  opacity: 0.5;
65
65
  }
66
+ ${partSelector(checkboxContract, "root")}[data-label-hidden] {
67
+ gap: 0;
68
+ }
69
+ ${partSelector(checkboxContract, "label")}[data-label-hidden] {
70
+ position: absolute;
71
+ width: 1px;
72
+ height: 1px;
73
+ overflow: hidden;
74
+ clip-path: inset(50%);
75
+ }
66
76
  @media (prefers-reduced-motion: reduce) {
67
77
  ${partSelector(switchContract, "thumb")} {
68
78
  transition: none;
@@ -19,4 +19,11 @@ export const toolbarStyles = css `
19
19
  :where(${partSelector(toolbarContract, "root")} > ${partSelector(iconButtonContract, "root")}) {
20
20
  flex: 0 0 auto;
21
21
  }
22
+
23
+ @media (pointer: coarse) {
24
+ ${partSelector(toolbarContract, "root")}[data-meowui-part] button {
25
+ min-width: 44px;
26
+ min-height: 44px;
27
+ }
28
+ }
22
29
  `;
@@ -46,10 +46,10 @@ export declare const standardThemeTokens: readonly [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: "#81858c";
50
- readonly captionForeground: readonly ["#adb2b8", "#81858c"];
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 ["#e1e5ee", "#81858c"];
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 standardThemeTokens: readonly [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 ["#4176e6", "#7aaaff"];
64
- readonly warning: "#dd8629";
65
- readonly success: "#22c55e";
66
- readonly danger: readonly ["#ec1313", "#f25a5a"];
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"];
@@ -100,13 +100,13 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
100
100
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
101
101
  readonly accent: import("meowcss").ConditionalValue;
102
102
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
103
- readonly constant: readonly ["#1c7ed6", "#4dabf7"];
104
- readonly string: readonly ["#2f9e44", "#69db7c"];
105
- readonly comment: readonly ["#868e96", "#adb5bd"];
106
- readonly keyword: readonly ["#d6336c", "#faa2c1"];
107
- readonly parameter: readonly ["#e8590c", "#ffa94d"];
103
+ readonly constant: readonly ["#1b64a8", "#4dabf7"];
104
+ readonly string: readonly ["#1e6b30", "#69db7c"];
105
+ readonly comment: readonly ["#656a71", "#adb5bd"];
106
+ readonly keyword: readonly ["#b02a5b", "#faa2c1"];
107
+ readonly parameter: readonly ["#b34700", "#ffa94d"];
108
108
  readonly function: readonly ["#6741d9", "#b197fc"];
109
- readonly stringExpression: readonly ["#2b8a3e", "#8ce99a"];
109
+ readonly stringExpression: readonly ["#1e6b30", "#8ce99a"];
110
110
  readonly punctuation: readonly ["#495057", "#ced4da"];
111
111
  readonly link: readonly ["#1971c2", "#74c0fc"];
112
112
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
@@ -142,10 +142,10 @@ export declare const standardThemeTokens: readonly [import("meowcss").TokenRefs<
142
142
  readonly chip: readonly ["#f1f3f5", "rgb(255 255 255 / 8%)"];
143
143
  readonly chipInk: readonly ["#61666b", "#cfd3d6"];
144
144
  readonly code: readonly ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"];
145
- readonly faint: readonly ["#adb2b8", "#61666b"];
145
+ readonly faint: readonly ["#656a71", "#9aa0a7"];
146
146
  }> & import("meowcss").TokenSet, import("meowcss").TokenRefs<{
147
147
  readonly inset: "18px";
148
148
  readonly gap: "14px";
149
149
  }> & import("meowcss").TokenSet];
150
- export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
150
+ export declare const standardThemeStyles: readonly [import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment, import("meowcss/meowjsx").CSSFragment];
151
151
  export declare const standardTheme: import("meowcss").ThemeDefinition;
@@ -22,6 +22,8 @@ import { toolbarStyles } from "./components/toolbar.styles.js";
22
22
  import { chatAttachmentsStyles } from "./chat/attachments.styles.js";
23
23
  import { fieldGroupStyles } from "./components/field-group.styles.js";
24
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";
25
27
  import { popoverStyles } from "./components/popover.styles.js";
26
28
  import { tabsStyles } from "./components/tabs.styles.js";
27
29
  import { choiceGroupStyles } from "./components/choice-group.styles.js";
@@ -37,11 +39,13 @@ import { chatStatusStyles } from "./chat/status.styles.js";
37
39
  import { chatFrameStyles } from "./chat/frame.styles.js";
38
40
  import { chatMessageStyles } from "./chat/message.styles.js";
39
41
  import { chatComposerStyles } from "./chat/composer.styles.js";
42
+ import { composerPanelStyles } from "./chat/composer-panel.styles.js";
40
43
  import { chatRecordsStyles } from "./chat/records.styles.js";
41
44
  import { codeBlockStyles } from "./components/code-block.styles.js";
42
45
  import { layoutStyles } from "./components/layout.styles.js";
43
46
  import { descriptionListStyles } from "./components/description-list.styles.js";
44
47
  import { pageFrameStyles } from "./components/page-frame.styles.js";
48
+ import { appBarStyles } from "./components/app-bar.styles.js";
45
49
  import { regionLayoutStyles } from "./components/region-layout.styles.js";
46
50
  import { buttonStyles } from "./components/button.styles.js";
47
51
  import { dialogStyles } from "./components/dialog.styles.js";
@@ -76,6 +80,14 @@ import { resourceCardStyles } from "./components/resource-card.styles.js";
76
80
  import { resourceCardTokens } from "./components/resource-card.tokens.js";
77
81
  import { drawerStyles } from "./components/drawer.styles.js";
78
82
  import { windowTitleBarStyles } from "./components/window-title-bar.styles.js";
83
+ import { progressStyles } from "./components/progress.styles.js";
84
+ import { avatarStyles } from "./components/avatar.styles.js";
85
+ import { linkStyles } from "./components/link.styles.js";
86
+ import { tableStyles } from "./components/table.styles.js";
87
+ import { sliderStyles } from "./components/slider.styles.js";
88
+ import { numberInputStyles } from "./components/number-input.styles.js";
89
+ import { accordionStyles } from "./components/accordion.styles.js";
90
+ import { contextMenuStyles } from "./components/context-menu.styles.js";
79
91
  export { standardOptions, uiTokens, chatTokens, logoTokens } from "./tokens.js";
80
92
  export { accentTokens, statusTokens, radiusTokens, lineTokens, layerTokens } from "./palette.js";
81
93
  export const standardThemeTokens = [
@@ -107,6 +119,12 @@ export const standardThemeStyles = [
107
119
  resourceCardStyles,
108
120
  drawerStyles,
109
121
  windowTitleBarStyles,
122
+ progressStyles,
123
+ avatarStyles,
124
+ linkStyles,
125
+ tableStyles,
126
+ numberInputStyles,
127
+ contextMenuStyles,
110
128
  pillStyles,
111
129
  cornerShapeStyles,
112
130
  segmentedControlStyles,
@@ -125,6 +143,8 @@ export const standardThemeStyles = [
125
143
  toastStyles,
126
144
  outputBlockStyles,
127
145
  buttonStyles,
146
+ actionRailStyles,
147
+ metaRowStyles,
128
148
  dialogStyles,
129
149
  nativeInputStyles,
130
150
  fieldStyles,
@@ -133,6 +153,7 @@ export const standardThemeStyles = [
133
153
  emptyStateStyles,
134
154
  navItemStyles,
135
155
  toggleStyles,
156
+ sliderStyles,
136
157
  codeBlockStyles,
137
158
  itemStyles,
138
159
  toolbarStyles,
@@ -144,6 +165,7 @@ export const standardThemeStyles = [
144
165
  layoutStyles,
145
166
  descriptionListStyles,
146
167
  pageFrameStyles,
168
+ appBarStyles,
147
169
  regionLayoutStyles,
148
170
  cardStyles,
149
171
  fieldGroupStyles,
@@ -155,6 +177,7 @@ export const standardThemeStyles = [
155
177
  chatFrameStyles,
156
178
  chatMessageStyles,
157
179
  chatComposerStyles,
180
+ composerPanelStyles,
158
181
  chatRecordsStyles,
159
182
  chatQuestionStyles,
160
183
  chatConversationStyles,
@@ -164,6 +187,7 @@ export const standardThemeStyles = [
164
187
  searchInputStyles,
165
188
  pathPickerStyles,
166
189
  disclosureStyles,
190
+ accordionStyles,
167
191
  baseStyles,
168
192
  ];
169
193
  export const standardTheme = defineTheme({
@@ -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 ["#adb2b8", "#61666b"];
54
+ readonly faint: readonly ["#656a71", "#9aa0a7"];
55
55
  }> & import("meowcss").TokenSet;
@@ -52,5 +52,5 @@ export const layerTokens = defineTokens("layer", {
52
52
  chip: ["#f1f3f5", "rgb(255 255 255 / 8%)"],
53
53
  chipInk: ["#61666b", "#cfd3d6"],
54
54
  code: ["rgb(0 0 0 / 5%)", "rgb(255 255 255 / 8%)"],
55
- faint: ["#adb2b8", "#61666b"],
55
+ faint: ["#656a71", "#9aa0a7"],
56
56
  });
@@ -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 ["#1c7ed6", "#4dabf7"];
4
- readonly string: readonly ["#2f9e44", "#69db7c"];
5
- readonly comment: readonly ["#868e96", "#adb5bd"];
6
- readonly keyword: readonly ["#d6336c", "#faa2c1"];
7
- readonly parameter: readonly ["#e8590c", "#ffa94d"];
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 ["#2b8a3e", "#8ce99a"];
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: ["#1c7ed6", "#4dabf7"],
5
- string: ["#2f9e44", "#69db7c"],
6
- comment: ["#868e96", "#adb5bd"],
7
- keyword: ["#d6336c", "#faa2c1"],
8
- parameter: ["#e8590c", "#ffa94d"],
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: ["#2b8a3e", "#8ce99a"],
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: "#81858c";
50
- readonly captionForeground: readonly ["#adb2b8", "#81858c"];
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 ["#e1e5ee", "#81858c"];
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 ["#4176e6", "#7aaaff"];
64
- readonly warning: "#dd8629";
65
- readonly success: "#22c55e";
66
- readonly danger: readonly ["#ec1313", "#f25a5a"];
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"];
@@ -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: ["#61666b", "#adb2b8"],
55
- subtleForeground: "#81858c",
56
- captionForeground: ["#adb2b8", "#81858c"],
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
- placeholder: ["#e1e5ee", "#81858c"],
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: ["#4176e6", "#7aaaff"],
70
- warning: "#dd8629",
71
- success: "#22c55e",
72
- danger: ["#ec1313", "#f25a5a"],
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.2.0-alpha.0",
3
+ "version": "0.2.0-alpha.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -34,6 +34,10 @@
34
34
  "types": "./dist/src/icons/index.d.ts",
35
35
  "import": "./dist/src/icons/index.js"
36
36
  },
37
+ "./icons/lucide": {
38
+ "types": "./dist/src/icons/lucide.d.ts",
39
+ "import": "./dist/src/icons/lucide.js"
40
+ },
37
41
  "./registry": {
38
42
  "types": "./dist/src/registry.d.ts",
39
43
  "import": "./dist/src/registry.js"
@@ -50,17 +54,18 @@
50
54
  "dependencies": {
51
55
  "@floating-ui/dom": "^1.8.0",
52
56
  "@shikijs/langs": "4.3.1",
57
+ "lucide": "1.59.0",
53
58
  "shiki": "4.3.1",
54
59
  "marked": "18.0.12"
55
60
  },
56
61
  "peerDependencies": {
57
- "meowjsx": "^0.1.0 || ^0.1.1-alpha.0",
62
+ "meowjsx": "^0.1.1-alpha.1",
58
63
  "meowcss": "^0.1.0 || ^0.1.1-alpha.0"
59
64
  },
60
65
  "devDependencies": {
61
- "meowjsx": "0.1.1-alpha.0",
66
+ "meowjsx": "0.1.1-alpha.1",
62
67
  "meowcss": "0.1.1-alpha.0",
63
- "meowbook": "0.1.2-alpha.0"
68
+ "meowbook": "0.1.2-alpha.1"
64
69
  },
65
70
  "repository": {
66
71
  "type": "git",