@theoremjs/react 0.0.0-stage → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +246 -2
  3. package/client/attachment-hover-preview.d.ts +11 -0
  4. package/client/attachment-hover-preview.js +36 -0
  5. package/client/audio-level.d.ts +5 -0
  6. package/client/audio-level.js +24 -0
  7. package/client/composer-attachments.d.ts +30 -0
  8. package/client/composer-attachments.js +33 -0
  9. package/client/composer-drawer.d.ts +19 -0
  10. package/client/composer-drawer.js +15 -0
  11. package/client/composer-hints.d.ts +25 -0
  12. package/client/composer-hints.js +20 -0
  13. package/client/composer-primary.d.ts +16 -0
  14. package/client/composer-primary.js +25 -0
  15. package/client/decision-transport.d.ts +48 -0
  16. package/client/decision-transport.js +102 -0
  17. package/client/decode-composer-draft.d.ts +11 -0
  18. package/client/decode-composer-draft.js +12 -0
  19. package/client/encode-composer-draft.d.ts +9 -0
  20. package/client/encode-composer-draft.js +34 -0
  21. package/client/encode-files.d.ts +18 -0
  22. package/client/encode-files.js +54 -0
  23. package/client/failure.d.ts +32 -0
  24. package/client/failure.js +34 -0
  25. package/client/generation-selection.d.ts +15 -0
  26. package/client/generation-selection.js +24 -0
  27. package/client/host-call.d.ts +51 -0
  28. package/client/host-call.js +42 -0
  29. package/client/host-transport.d.ts +68 -0
  30. package/client/host-transport.js +74 -0
  31. package/client/image-output.d.ts +6 -0
  32. package/client/image-output.js +13 -0
  33. package/client/index.d.ts +20 -0
  34. package/client/index.js +18 -0
  35. package/client/ink-waveform.d.ts +17 -0
  36. package/client/ink-waveform.js +69 -0
  37. package/client/live/apply-live-turn-tool-event.d.ts +14 -0
  38. package/client/live/apply-live-turn-tool-event.js +39 -0
  39. package/client/live/live-captions.d.ts +23 -0
  40. package/client/live/live-captions.js +70 -0
  41. package/client/live/live-mic-forward.d.ts +29 -0
  42. package/client/live/live-mic-forward.js +37 -0
  43. package/client/live/live-state.d.ts +11 -0
  44. package/client/live/live-state.js +20 -0
  45. package/client/live/live-tool.d.ts +11 -0
  46. package/client/live/live-tool.js +1 -0
  47. package/client/live/live-video.d.ts +10 -0
  48. package/client/live/live-video.js +71 -0
  49. package/client/live/run-live-tool-call.d.ts +17 -0
  50. package/client/live/run-live-tool-call.js +32 -0
  51. package/client/live-client.d.ts +141 -0
  52. package/client/live-client.js +638 -0
  53. package/client/live-errors.d.ts +2 -0
  54. package/client/live-errors.js +9 -0
  55. package/client/live-messages.d.ts +110 -0
  56. package/client/live-messages.js +67 -0
  57. package/client/mic-capture.d.ts +4 -0
  58. package/client/mic-capture.js +6 -0
  59. package/client/oauth-popup.d.ts +26 -0
  60. package/client/oauth-popup.js +30 -0
  61. package/client/pcm-downsample.d.ts +4 -0
  62. package/client/pcm-downsample.js +45 -0
  63. package/client/run-commit.d.ts +61 -0
  64. package/client/run-commit.js +124 -0
  65. package/client/run-session.d.ts +80 -0
  66. package/client/run-session.js +215 -0
  67. package/client/schema-fields.d.ts +63 -0
  68. package/client/schema-fields.js +178 -0
  69. package/client/shaped-data.d.ts +118 -0
  70. package/client/shaped-data.js +314 -0
  71. package/client/source-citations.d.ts +13 -0
  72. package/client/source-citations.js +56 -0
  73. package/client/state-fields.d.ts +16 -0
  74. package/client/state-fields.js +44 -0
  75. package/client/tool-result.d.ts +78 -0
  76. package/client/tool-result.js +275 -0
  77. package/client/tool-resume.d.ts +33 -0
  78. package/client/tool-resume.js +11 -0
  79. package/client/trace-feed.d.ts +13 -0
  80. package/client/trace-feed.js +18 -0
  81. package/client/trace-story.d.ts +163 -0
  82. package/client/trace-story.js +416 -0
  83. package/client/trace-view.d.ts +130 -0
  84. package/client/trace-view.js +293 -0
  85. package/client/transcript-groups.d.ts +114 -0
  86. package/client/transcript-groups.js +167 -0
  87. package/client/transcript-scroll.d.ts +7 -0
  88. package/client/transcript-scroll.js +6 -0
  89. package/client/transport.d.ts +176 -0
  90. package/client/transport.js +256 -0
  91. package/client/turn-client.d.ts +35 -0
  92. package/client/turn-client.js +93 -0
  93. package/client/voice-label.d.ts +2 -0
  94. package/client/voice-label.js +15 -0
  95. package/client/voice-recorder.d.ts +27 -0
  96. package/client/voice-recorder.js +165 -0
  97. package/client/walk-away.d.ts +34 -0
  98. package/client/walk-away.js +48 -0
  99. package/client/wire-line.d.ts +56 -0
  100. package/client/wire-line.js +90 -0
  101. package/client/worklets/mic-capture.js +16 -0
  102. package/components/InkWaveform.d.ts +10 -0
  103. package/components/InkWaveform.js +108 -0
  104. package/components/live/use-live-runner-controls.d.ts +48 -0
  105. package/components/live/use-live-runner-controls.js +100 -0
  106. package/components/live/use-live-runner-model.d.ts +45 -0
  107. package/components/live/use-live-runner-model.js +175 -0
  108. package/components/live/use-live-runner-ui.d.ts +65 -0
  109. package/components/live/use-live-runner-ui.js +159 -0
  110. package/components/live/use-live-session-client.d.ts +41 -0
  111. package/components/live/use-live-session-client.js +123 -0
  112. package/components/use-composer-voice.d.ts +28 -0
  113. package/components/use-composer-voice.js +90 -0
  114. package/components/use-editor-selection.d.ts +3 -0
  115. package/components/use-editor-selection.js +16 -0
  116. package/components/use-voice-playback.d.ts +16 -0
  117. package/components/use-voice-playback.js +68 -0
  118. package/hooks/use-described.d.ts +8 -0
  119. package/hooks/use-described.js +23 -0
  120. package/hooks/use-theorem-chat-actions.d.ts +75 -0
  121. package/hooks/use-theorem-chat-actions.js +265 -0
  122. package/hooks/use-theorem-chat-state.d.ts +66 -0
  123. package/hooks/use-theorem-chat-state.js +118 -0
  124. package/hooks/use-theorem-chat.d.ts +63 -0
  125. package/hooks/use-theorem-chat.js +340 -0
  126. package/hooks/use-theorem-decision.d.ts +23 -0
  127. package/hooks/use-theorem-decision.js +75 -0
  128. package/hooks/use-theorem-host.d.ts +44 -0
  129. package/hooks/use-theorem-host.js +117 -0
  130. package/hooks/use-theorem-interface.d.ts +19 -0
  131. package/hooks/use-theorem-interface.js +25 -0
  132. package/hooks/use-trace-records.d.ts +4 -0
  133. package/hooks/use-trace-records.js +7 -0
  134. package/index.d.ts +14 -0
  135. package/index.js +14 -0
  136. package/live.d.ts +8 -0
  137. package/live.js +10 -0
  138. package/package.json +73 -4
  139. package/server/credential-store.d.ts +24 -0
  140. package/server/credential-store.js +14 -0
  141. package/server/decision-handler.d.ts +34 -0
  142. package/server/decision-handler.js +55 -0
  143. package/server/handler.d.ts +114 -0
  144. package/server/handler.js +568 -0
  145. package/server/json-response.d.ts +2 -0
  146. package/server/json-response.js +7 -0
  147. package/server/mod.d.ts +16 -0
  148. package/server/mod.js +15 -0
  149. package/server/request-check.d.ts +16 -0
  150. package/server/request-check.js +34 -0
  151. package/server/session-store.d.ts +74 -0
  152. package/server/session-store.js +49 -0
  153. package/server/steer-inbox.d.ts +35 -0
  154. package/server/steer-inbox.js +52 -0
  155. package/server/walk-away.d.ts +22 -0
  156. package/server/walk-away.js +41 -0
  157. package/styles/ink-controls.css +134 -0
  158. package/ui/ChatComposerBar.d.ts +39 -0
  159. package/ui/ChatComposerBar.js +251 -0
  160. package/ui/ChatTranscript.d.ts +30 -0
  161. package/ui/ChatTranscript.js +474 -0
  162. package/ui/ConsoleFrame.d.ts +47 -0
  163. package/ui/ConsoleFrame.js +46 -0
  164. package/ui/DecisionAnswers.d.ts +15 -0
  165. package/ui/DecisionAnswers.js +102 -0
  166. package/ui/LiveRunner.d.ts +28 -0
  167. package/ui/LiveRunner.js +193 -0
  168. package/ui/SchemaFields.d.ts +10 -0
  169. package/ui/SchemaFields.js +122 -0
  170. package/ui/ShapedData.d.ts +11 -0
  171. package/ui/ShapedData.js +151 -0
  172. package/ui/SidePanel.d.ts +57 -0
  173. package/ui/SidePanel.js +50 -0
  174. package/ui/StateFields.d.ts +36 -0
  175. package/ui/StateFields.js +96 -0
  176. package/ui/TheoremChat.d.ts +71 -0
  177. package/ui/TheoremChat.js +146 -0
  178. package/ui/TheoremDecision.d.ts +38 -0
  179. package/ui/TheoremDecision.js +87 -0
  180. package/ui/TheoremHost.d.ts +38 -0
  181. package/ui/TheoremHost.js +150 -0
  182. package/ui/ToolGateCard.d.ts +28 -0
  183. package/ui/ToolGateCard.js +100 -0
  184. package/ui/ToolResult.d.ts +10 -0
  185. package/ui/ToolResult.js +60 -0
  186. package/ui/ToolResultCharts.d.ts +5 -0
  187. package/ui/ToolResultCharts.js +86 -0
  188. package/ui/TraceCharts.d.ts +13 -0
  189. package/ui/TraceCharts.js +235 -0
  190. package/ui/TraceGuardrails.d.ts +10 -0
  191. package/ui/TraceGuardrails.js +56 -0
  192. package/ui/TraceInspector.d.ts +6 -0
  193. package/ui/TraceInspector.js +189 -0
  194. package/ui/TraceInspectorPanel.d.ts +24 -0
  195. package/ui/TraceInspectorPanel.js +57 -0
  196. package/ui/TraceOverview.d.ts +34 -0
  197. package/ui/TraceOverview.js +96 -0
  198. package/ui/TraceSpanDetail.d.ts +10 -0
  199. package/ui/TraceSpanDetail.js +188 -0
  200. package/ui/TraceStory.d.ts +20 -0
  201. package/ui/TraceStory.js +107 -0
  202. package/ui/TraceValues.d.ts +36 -0
  203. package/ui/TraceValues.js +113 -0
  204. package/ui/TraceWaterfall.d.ts +13 -0
  205. package/ui/TraceWaterfall.js +132 -0
  206. package/ui/VoiceNote.d.ts +12 -0
  207. package/ui/VoiceNote.js +28 -0
  208. package/ui/built/theme.css +774 -0
  209. package/ui/built/theorem.d.ts +13 -0
  210. package/ui/built/theorem.js +631 -0
  211. package/ui/built/theorem.variants.d.ts +16 -0
  212. package/ui/disclosure-motion.d.ts +6 -0
  213. package/ui/disclosure-motion.js +163 -0
  214. package/ui/icons.d.ts +4 -0
  215. package/ui/icons.js +37 -0
  216. package/ui/index.d.ts +25 -0
  217. package/ui/index.js +29 -0
  218. package/ui/labels-provider.d.ts +16 -0
  219. package/ui/labels-provider.js +61 -0
  220. package/ui/labels.d.ts +1153 -0
  221. package/ui/labels.js +603 -0
  222. package/ui/theme.d.ts +10 -0
  223. package/ui/theme.js +13 -0
  224. package/ui/theorem-theme.d.ts +10 -0
  225. package/ui/theorem-theme.js +83 -0
  226. package/ui/trace-palette.d.ts +24 -0
  227. package/ui/trace-palette.js +24 -0
  228. package/ui/trace-patterns.d.ts +32 -0
  229. package/ui/trace-patterns.js +44 -0
  230. package/ui/transcript-copy-text.d.ts +4 -0
  231. package/ui/transcript-copy-text.js +39 -0
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @generated by `astryx theme build` — do not edit manually.
3
+ * Source: src/ui/theorem-theme.ts
4
+ * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
+ * CLI: @astryxdesign/cli@0.6.3
6
+ * Core: @astryxdesign/core@0.6.3
7
+ */
8
+
9
+ /// <reference path="./theorem.variants.d.ts" />
10
+ import type { DefinedTheme } from '@astryxdesign/core/theme';
11
+ import type { IconRegistry } from '@astryxdesign/core/Icon';
12
+ export declare const tablerIcons: IconRegistry;
13
+ export declare const theoremTheme: DefinedTheme;
@@ -0,0 +1,631 @@
1
+ /**
2
+ * @generated by `astryx theme build` — do not edit manually.
3
+ * Source: src/ui/theorem-theme.ts
4
+ * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
+ * CLI: @astryxdesign/cli@0.6.3
6
+ * Core: @astryxdesign/core@0.6.3
7
+ */
8
+
9
+ import { tablerIcons } from "../icons.js";
10
+ /**
11
+ * theorem theme — built by `npx astryx theme build`
12
+ * Import the CSS file alongside this module:
13
+ *
14
+ * import { theoremTheme } from './theorem';
15
+ * import './theorem.css';
16
+ */
17
+ export const theoremTheme = {
18
+ name: 'theorem',
19
+ __built: true,
20
+ tokens: {
21
+ "--font-size-4xs": "0.375rem",
22
+ "--font-size-3xs": "0.4375rem",
23
+ "--font-size-2xs": "0.5rem",
24
+ "--font-size-xs": "0.625rem",
25
+ "--font-size-sm": "0.75rem",
26
+ "--font-size-base": "0.875rem",
27
+ "--font-size-lg": "1.0625rem",
28
+ "--font-size-xl": "1.25rem",
29
+ "--font-size-2xl": "1.5rem",
30
+ "--font-size-3xl": "1.8125rem",
31
+ "--font-size-4xl": "2.1875rem",
32
+ "--font-size-5xl": "2.625rem",
33
+ "--text-heading-1-size": "var(--font-size-2xl)",
34
+ "--text-heading-1-weight": "var(--font-weight-semibold)",
35
+ "--text-heading-1-leading": "1.3333",
36
+ "--text-heading-2-size": "var(--font-size-xl)",
37
+ "--text-heading-2-weight": "var(--font-weight-semibold)",
38
+ "--text-heading-2-leading": "1.4",
39
+ "--text-heading-3-size": "var(--font-size-lg)",
40
+ "--text-heading-3-weight": "var(--font-weight-bold)",
41
+ "--text-heading-3-leading": "1.4118",
42
+ "--text-heading-4-size": "var(--font-size-base)",
43
+ "--text-heading-4-weight": "var(--font-weight-bold)",
44
+ "--text-heading-4-leading": "1.4286",
45
+ "--text-heading-5-size": "var(--font-size-sm)",
46
+ "--text-heading-5-weight": "var(--font-weight-semibold)",
47
+ "--text-heading-5-leading": "1.6667",
48
+ "--text-heading-6-size": "var(--font-size-xs)",
49
+ "--text-heading-6-weight": "var(--font-weight-semibold)",
50
+ "--text-heading-6-leading": "1.6",
51
+ "--text-body-size": "var(--font-size-base)",
52
+ "--text-body-weight": "var(--font-weight-normal)",
53
+ "--text-body-leading": "1.4286",
54
+ "--text-large-size": "var(--font-size-lg)",
55
+ "--text-large-weight": "var(--font-weight-semibold)",
56
+ "--text-large-leading": "1.4118",
57
+ "--text-label-size": "var(--font-size-base)",
58
+ "--text-label-weight": "var(--font-weight-medium)",
59
+ "--text-label-leading": "1.4286",
60
+ "--text-code-size": "var(--font-size-base)",
61
+ "--text-code-weight": "var(--font-weight-normal)",
62
+ "--text-code-leading": "1.4286",
63
+ "--text-supporting-size": "var(--font-size-sm)",
64
+ "--text-supporting-weight": "var(--font-weight-normal)",
65
+ "--text-supporting-leading": "1.6667",
66
+ "--text-display-1-size": "var(--font-size-5xl)",
67
+ "--text-display-1-weight": "var(--font-weight-normal)",
68
+ "--text-display-1-leading": "1.2381",
69
+ "--text-display-2-size": "var(--font-size-4xl)",
70
+ "--text-display-2-weight": "var(--font-weight-normal)",
71
+ "--text-display-2-leading": "1.2571",
72
+ "--text-display-3-size": "var(--font-size-3xl)",
73
+ "--text-display-3-weight": "var(--font-weight-normal)",
74
+ "--text-display-3-leading": "1.3793",
75
+ "--duration-fast-min": "95ms",
76
+ "--duration-fast": "125ms",
77
+ "--duration-fast-max": "165ms",
78
+ "--duration-medium-min": "225ms",
79
+ "--duration-medium": "300ms",
80
+ "--duration-medium-max": "400ms",
81
+ "--duration-slow-min": "525ms",
82
+ "--duration-slow": "700ms",
83
+ "--duration-slow-max": "935ms",
84
+ "--font-family-body": "Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
85
+ "--font-family-heading": "Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
86
+ "--font-family-code": "ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
87
+ "--color-syntax-keyword": "light-dark(#6b187c, #efa8ff)",
88
+ "--color-syntax-string": "light-dark(#0b5615, #a4d6a3)",
89
+ "--color-syntax-comment": "light-dark(#6a6a6a, #9e9e9e)",
90
+ "--color-syntax-number": "light-dark(#733100, #ffb37e)",
91
+ "--color-syntax-function": "light-dark(#00458c, #a1caff)",
92
+ "--color-syntax-type": "light-dark(#6b187c, #efa8ff)",
93
+ "--color-syntax-variable": "light-dark(#111111, #e2e2e2)",
94
+ "--color-syntax-operator": "light-dark(#6a6a6a, #9e9e9e)",
95
+ "--color-syntax-constant": "light-dark(#733100, #ffb37e)",
96
+ "--color-syntax-tag": "light-dark(#8a0011, #ffaea7)",
97
+ "--color-syntax-attribute": "light-dark(#584400, #eec448)",
98
+ "--color-syntax-property": "light-dark(#005348, #90d7c8)",
99
+ "--color-syntax-punctuation": "light-dark(#6a6a6a, #9e9e9e)",
100
+ "--color-syntax-background": "light-dark(#ffffff, #111111)",
101
+ "--color-background-surface": "light-dark(#ffffff, #262626)",
102
+ "--color-background-body": "light-dark(#f1f1f1, #1b1b1b)",
103
+ "--color-background-card": "light-dark(#ffffff, #1b1b1b)",
104
+ "--color-background-popover": "light-dark(#ffffff, #1b1b1b)",
105
+ "--color-background-muted": "light-dark(#f1f1f1, #1b1b1b)",
106
+ "--color-accent": "light-dark(#1b1b1b, #f1f1f1)",
107
+ "--color-accent-muted": "light-dark(#f1f1f1, #262626)",
108
+ "--color-neutral": "light-dark(#0000000F, #ffffff1A)",
109
+ "--color-overlay": "light-dark(#00000080, #000000CC)",
110
+ "--color-overlay-hover": "light-dark(#0000000D, #ffffff0D)",
111
+ "--color-overlay-pressed": "light-dark(#0000001A, #ffffff1A)",
112
+ "--color-text-primary": "light-dark(#000000, #ffffff)",
113
+ "--color-text-secondary": "light-dark(#474747, #9e9e9e)",
114
+ "--color-text-disabled": "light-dark(#919191, #525252)",
115
+ "--color-text-accent": "light-dark(#1b1b1b, #f1f1f1)",
116
+ "--color-on-dark": "#ffffff",
117
+ "--color-on-light": "#111111",
118
+ "--color-on-accent": "light-dark(#ffffff, #111111)",
119
+ "--color-on-success": "light-dark(#ffffff, #111111)",
120
+ "--color-on-error": "light-dark(#ffffff, #111111)",
121
+ "--color-on-warning": "#111111",
122
+ "--color-icon-accent": "light-dark(#1b1b1b, #f1f1f1)",
123
+ "--color-icon-primary": "light-dark(#000000, #ffffff)",
124
+ "--color-icon-secondary": "light-dark(#6a6a6a, #9e9e9e)",
125
+ "--color-icon-disabled": "light-dark(#919191, #525252)",
126
+ "--color-success": "light-dark(#00490b, #a4d6a3)",
127
+ "--color-error": "light-dark(#76000c, #ffc4be)",
128
+ "--color-warning": "light-dark(#4b3900, #f8d36a)",
129
+ "--color-success-muted": "light-dark(#bce0bb, #90ca903D)",
130
+ "--color-error-muted": "light-dark(#ffc4be, #ff98903D)",
131
+ "--color-warning-muted": "light-dark(#fae19e, #e2b6233D)",
132
+ "--color-border": "light-dark(#00000014, #ffffff1A)",
133
+ "--color-border-emphasized": "light-dark(#d4d4d4, #525252)",
134
+ "--color-skeleton": "light-dark(#f1f1f1, #525252)",
135
+ "--color-shadow": "light-dark(#0000001A, #0000004D)",
136
+ "--color-tint-hover": "light-dark(black, white)",
137
+ "--color-background-red": "light-dark(#ffc4be, #5b2b28)",
138
+ "--color-border-red": "light-dark(#ffaea7, #fa6762)",
139
+ "--color-icon-red": "light-dark(#76000c, #ff9890)",
140
+ "--color-text-red": "light-dark(#76000c, #ffaea7)",
141
+ "--color-background-orange": "light-dark(#ffc7a1, #503424)",
142
+ "--color-border-orange": "light-dark(#ffc7a1, #df843f)",
143
+ "--color-icon-orange": "light-dark(#622700, #ff9e55)",
144
+ "--color-text-orange": "light-dark(#622700, #ffb37e)",
145
+ "--color-background-yellow": "light-dark(#fae19e, #453a1c)",
146
+ "--color-border-yellow": "light-dark(#e3c36c, #c29900)",
147
+ "--color-icon-yellow": "light-dark(#4b3900, #e2b623)",
148
+ "--color-text-yellow": "light-dark(#4b3900, #eec448)",
149
+ "--color-background-green": "light-dark(#bce0bb, #2b422b)",
150
+ "--color-border-green": "light-dark(#aad4a9, #6ab26b)",
151
+ "--color-icon-green": "light-dark(#00490b, #90ca90)",
152
+ "--color-text-green": "light-dark(#00490b, #90ca90)",
153
+ "--color-background-teal": "light-dark(#a9e2d6, #28413c)",
154
+ "--color-border-teal": "light-dark(#90d7c8, #4fb1a0)",
155
+ "--color-icon-teal": "light-dark(#00463d, #81c9bb)",
156
+ "--color-text-teal": "light-dark(#00463d, #90d7c8)",
157
+ "--color-background-cyan": "light-dark(#9ae2f4, #274046)",
158
+ "--color-border-cyan": "light-dark(#85d5e9, #49adc4)",
159
+ "--color-icon-cyan": "light-dark(#004351, #71c7dd)",
160
+ "--color-text-cyan": "light-dark(#004351, #85d5e9)",
161
+ "--color-background-blue": "light-dark(#b9d7ff, #253c5a)",
162
+ "--color-border-blue": "light-dark(#a1caff, #5aa0f8)",
163
+ "--color-icon-blue": "light-dark(#003978, #88bcff)",
164
+ "--color-text-blue": "light-dark(#003978, #a1caff)",
165
+ "--color-background-purple": "light-dark(#f7d5ff, #4a2f51)",
166
+ "--color-border-purple": "light-dark(#f3bfff, #d885eb)",
167
+ "--color-icon-purple": "light-dark(#5c0e6c, #e496f6)",
168
+ "--color-text-purple": "light-dark(#5c0e6c, #eaacf8)",
169
+ "--color-background-pink": "light-dark(#ffc0d7, #572b3d)",
170
+ "--color-border-pink": "light-dark(#ffc0d7, #fc78b1)",
171
+ "--color-icon-pink": "light-dark(#70003f, #fd92bd)",
172
+ "--color-text-pink": "light-dark(#70003f, #ffa9ca)",
173
+ "--color-background-gray": "light-dark(#e2e2e2, #303030)",
174
+ "--color-border-gray": "light-dark(#d4d4d4, #262626)",
175
+ "--color-icon-gray": "light-dark(#474747, #9e9e9e)",
176
+ "--color-text-gray": "light-dark(#1b1b1b, #d4d4d4)",
177
+ "--radius-none": "0px",
178
+ "--radius-inner": "0.375rem",
179
+ "--radius-element": "0.625rem",
180
+ "--radius-container": "0.75rem",
181
+ "--radius-page": "1.75rem",
182
+ "--radius-full": "9999px",
183
+ "--shadow-low": "0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))",
184
+ "--shadow-med": "0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))",
185
+ "--shadow-high": "0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))",
186
+ "--shadow-inset-hover": "inset 0px 0px 0px 2px #0074e24D",
187
+ "--shadow-inset-selected": "inset 0px 0px 0px 2px #0074e280",
188
+ "--shadow-inset-success": "inset 0px 0px 0px 2px #2f7d334D",
189
+ "--shadow-inset-warning": "inset 0px 0px 0px 2px #f8d36a4D",
190
+ "--shadow-inset-error": "inset 0px 0px 0px 2px #de47454D"
191
+ },
192
+ localTokens: {
193
+ "--astryx-theme-neutral-color-status-fill-accent": "light-dark(#0074e2, #6d9cfe)",
194
+ "--astryx-theme-neutral-color-status-fill-success": "light-dark(#198100, #64af4c)",
195
+ "--astryx-theme-neutral-color-status-fill-warning": "#ffce2f",
196
+ "--astryx-theme-neutral-color-status-fill-error": "light-dark(#c9303a, #ff705d)",
197
+ "--astryx-theme-neutral-color-status-muted-accent": "light-dark(#b9d7ff, #88bcff3D)",
198
+ "--astryx-theme-neutral-color-on-tint-neutral": "light-dark(#fafafa4D, #0a0a0a4D)",
199
+ "--astryx-theme-neutral-color-on-tint-overlay-hover": "light-dark(#fafafa1A, #0a0a0a1A)",
200
+ "--astryx-theme-neutral-color-on-tint-overlay-pressed": "light-dark(#fafafa33, #0a0a0a33)",
201
+ "--astryx-theme-neutral-color-destructive-overlay-hover": "light-dark(#ff7f770D, #ee736c0D)",
202
+ "--astryx-theme-neutral-color-destructive-overlay-pressed": "light-dark(#ff7f771A, #ee736c1A)"
203
+ },
204
+ __localTokenOwners: {
205
+ "--astryx-theme-neutral-color-status-fill-accent": "neutral",
206
+ "--astryx-theme-neutral-color-status-fill-success": "neutral",
207
+ "--astryx-theme-neutral-color-status-fill-warning": "neutral",
208
+ "--astryx-theme-neutral-color-status-fill-error": "neutral",
209
+ "--astryx-theme-neutral-color-status-muted-accent": "neutral",
210
+ "--astryx-theme-neutral-color-on-tint-neutral": "neutral",
211
+ "--astryx-theme-neutral-color-on-tint-overlay-hover": "neutral",
212
+ "--astryx-theme-neutral-color-on-tint-overlay-pressed": "neutral",
213
+ "--astryx-theme-neutral-color-destructive-overlay-hover": "neutral",
214
+ "--astryx-theme-neutral-color-destructive-overlay-pressed": "neutral"
215
+ },
216
+ __localTokenLineage: ["neutral","theorem"],
217
+ components: {
218
+ "heading": {
219
+ "level:1": {
220
+ "fontFamily": "var(--font-family-heading)",
221
+ "fontSize": "var(--text-heading-1-size)",
222
+ "fontWeight": "var(--text-heading-1-weight)",
223
+ "lineHeight": "var(--text-heading-1-leading)"
224
+ },
225
+ "level:2": {
226
+ "fontFamily": "var(--font-family-heading)",
227
+ "fontSize": "var(--text-heading-2-size)",
228
+ "fontWeight": "var(--text-heading-2-weight)",
229
+ "lineHeight": "var(--text-heading-2-leading)"
230
+ },
231
+ "level:3": {
232
+ "fontFamily": "var(--font-family-heading)",
233
+ "fontSize": "var(--text-heading-3-size)",
234
+ "fontWeight": "var(--text-heading-3-weight)",
235
+ "lineHeight": "var(--text-heading-3-leading)"
236
+ },
237
+ "level:4": {
238
+ "fontFamily": "var(--font-family-heading)",
239
+ "fontSize": "var(--text-heading-4-size)",
240
+ "fontWeight": "var(--text-heading-4-weight)",
241
+ "lineHeight": "var(--text-heading-4-leading)"
242
+ },
243
+ "level:5": {
244
+ "fontFamily": "var(--font-family-heading)",
245
+ "fontSize": "var(--text-heading-5-size)",
246
+ "fontWeight": "var(--text-heading-5-weight)",
247
+ "lineHeight": "var(--text-heading-5-leading)"
248
+ },
249
+ "level:6": {
250
+ "fontFamily": "var(--font-family-heading)",
251
+ "fontSize": "var(--text-heading-6-size)",
252
+ "fontWeight": "var(--text-heading-6-weight)",
253
+ "lineHeight": "var(--text-heading-6-leading)"
254
+ },
255
+ "type:display-1": {
256
+ "fontFamily": "var(--font-family-heading)",
257
+ "fontSize": "var(--text-display-1-size)",
258
+ "lineHeight": "var(--text-display-1-leading)"
259
+ },
260
+ "type:display-2": {
261
+ "fontFamily": "var(--font-family-heading)",
262
+ "fontSize": "var(--text-display-2-size)",
263
+ "lineHeight": "var(--text-display-2-leading)"
264
+ },
265
+ "type:display-3": {
266
+ "fontFamily": "var(--font-family-heading)",
267
+ "fontSize": "var(--text-display-3-size)",
268
+ "lineHeight": "var(--text-display-3-leading)"
269
+ }
270
+ },
271
+ "text": {
272
+ "type:body": {
273
+ "fontFamily": "var(--font-family-body)",
274
+ "fontSize": "var(--text-body-size)",
275
+ "lineHeight": "var(--text-body-leading)"
276
+ },
277
+ "type:large": {
278
+ "fontFamily": "var(--font-family-body)",
279
+ "fontSize": "var(--text-large-size)",
280
+ "lineHeight": "var(--text-large-leading)"
281
+ },
282
+ "type:label": {
283
+ "fontFamily": "var(--font-family-body)",
284
+ "fontSize": "var(--text-label-size)",
285
+ "lineHeight": "var(--text-label-leading)"
286
+ },
287
+ "type:code": {
288
+ "fontFamily": "var(--font-family-code)",
289
+ "fontSize": "var(--text-code-size)",
290
+ "lineHeight": "var(--text-code-leading)"
291
+ },
292
+ "type:supporting": {
293
+ "fontFamily": "var(--font-family-body)",
294
+ "fontSize": "var(--text-supporting-size)",
295
+ "lineHeight": "var(--text-supporting-leading)"
296
+ },
297
+ "type:display-1": {
298
+ "fontFamily": "var(--font-family-heading)",
299
+ "fontSize": "var(--text-display-1-size)",
300
+ "lineHeight": "var(--text-display-1-leading)"
301
+ },
302
+ "type:display-2": {
303
+ "fontFamily": "var(--font-family-heading)",
304
+ "fontSize": "var(--text-display-2-size)",
305
+ "lineHeight": "var(--text-display-2-leading)"
306
+ },
307
+ "type:display-3": {
308
+ "fontFamily": "var(--font-family-heading)",
309
+ "fontSize": "var(--text-display-3-size)",
310
+ "lineHeight": "var(--text-display-3-leading)"
311
+ }
312
+ },
313
+ "button": {
314
+ "variant:destructive": {
315
+ "backgroundColor": "var(--color-error-muted)",
316
+ "color": "var(--color-error)",
317
+ "--color-overlay-hover": "var(--astryx-theme-neutral-color-destructive-overlay-hover)",
318
+ "--color-overlay-pressed": "var(--astryx-theme-neutral-color-destructive-overlay-pressed)"
319
+ }
320
+ },
321
+ "badge": {
322
+ "variant:info": {
323
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-accent)",
324
+ "color": "var(--color-on-accent)"
325
+ },
326
+ "variant:neutral": {
327
+ "backgroundColor": "var(--color-background-gray)",
328
+ "color": "var(--color-text-gray)"
329
+ },
330
+ "variant:success": {
331
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-success)",
332
+ "color": "var(--color-on-success)"
333
+ },
334
+ "variant:warning": {
335
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-warning)",
336
+ "color": "var(--color-on-warning)"
337
+ },
338
+ "variant:error": {
339
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-error)",
340
+ "color": "var(--color-on-error)"
341
+ },
342
+ "variant:red": {
343
+ "backgroundColor": "var(--color-background-red)",
344
+ "color": "var(--color-text-red)"
345
+ },
346
+ "variant:orange": {
347
+ "backgroundColor": "var(--color-background-orange)",
348
+ "color": "var(--color-text-orange)"
349
+ },
350
+ "variant:yellow": {
351
+ "backgroundColor": "var(--color-background-yellow)",
352
+ "color": "var(--color-text-yellow)"
353
+ },
354
+ "variant:green": {
355
+ "backgroundColor": "var(--color-background-green)",
356
+ "color": "var(--color-text-green)"
357
+ },
358
+ "variant:teal": {
359
+ "backgroundColor": "var(--color-background-teal)",
360
+ "color": "var(--color-text-teal)"
361
+ },
362
+ "variant:cyan": {
363
+ "backgroundColor": "var(--color-background-cyan)",
364
+ "color": "var(--color-text-cyan)"
365
+ },
366
+ "variant:blue": {
367
+ "backgroundColor": "var(--color-background-blue)",
368
+ "color": "var(--color-text-blue)"
369
+ },
370
+ "variant:purple": {
371
+ "backgroundColor": "var(--color-background-purple)",
372
+ "color": "var(--color-text-purple)"
373
+ },
374
+ "variant:pink": {
375
+ "backgroundColor": "var(--color-background-pink)",
376
+ "color": "var(--color-text-pink)"
377
+ },
378
+ "variant:gray": {
379
+ "backgroundColor": "var(--color-background-gray)",
380
+ "color": "var(--color-text-gray)"
381
+ }
382
+ },
383
+ "status-dot": {
384
+ "variant:success": {
385
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-success)"
386
+ },
387
+ "variant:warning": {
388
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-warning)"
389
+ },
390
+ "variant:error": {
391
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-error)"
392
+ },
393
+ "variant:accent": {
394
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-accent)"
395
+ }
396
+ },
397
+ "avatar-status-dot": {
398
+ "variant:success": {
399
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-success)"
400
+ },
401
+ "variant:error": {
402
+ "backgroundColor": "var(--astryx-theme-neutral-color-status-fill-error)"
403
+ }
404
+ },
405
+ "segmented-control": {
406
+ "base": {
407
+ "padding": "var(--spacing-1)"
408
+ }
409
+ },
410
+ "segmented-control-item": {
411
+ "size:sm": {
412
+ "height": "calc(var(--size-element-sm) - 8px)"
413
+ },
414
+ "size:md": {
415
+ "height": "calc(var(--size-element-md) - 8px)"
416
+ },
417
+ "size:lg": {
418
+ "height": "calc(var(--size-element-lg) - 8px)"
419
+ },
420
+ "selected": {
421
+ "boxShadow": "none"
422
+ }
423
+ },
424
+ "banner": {
425
+ "base": {
426
+ "--color-neutral": "var(--astryx-theme-neutral-color-on-tint-neutral)",
427
+ "--color-overlay-hover": "var(--astryx-theme-neutral-color-on-tint-overlay-hover)",
428
+ "--color-overlay-pressed": "var(--astryx-theme-neutral-color-on-tint-overlay-pressed)"
429
+ },
430
+ "status:info": {
431
+ "--color-accent-muted": "var(--astryx-theme-neutral-color-status-muted-accent)",
432
+ "--color-text-primary": "var(--color-text-blue)",
433
+ "--color-text-secondary": "var(--color-text-blue)",
434
+ "--color-accent": "var(--color-text-blue)"
435
+ },
436
+ "status:success": {
437
+ "--color-text-primary": "var(--color-text-green)",
438
+ "--color-text-secondary": "var(--color-text-green)",
439
+ "--color-success": "var(--color-text-green)"
440
+ },
441
+ "status:warning": {
442
+ "--color-text-primary": "var(--color-text-yellow)",
443
+ "--color-text-secondary": "var(--color-text-yellow)",
444
+ "--color-warning": "var(--color-text-yellow)"
445
+ },
446
+ "status:error": {
447
+ "--color-text-primary": "var(--color-text-red)",
448
+ "--color-text-secondary": "var(--color-text-red)",
449
+ "--color-error": "var(--color-text-red)"
450
+ }
451
+ },
452
+ "step-indicator": {
453
+ "status:accent": {
454
+ "--color-accent": "var(--astryx-theme-neutral-color-status-fill-accent)"
455
+ },
456
+ "status:success": {
457
+ "--color-success": "var(--astryx-theme-neutral-color-status-fill-success)"
458
+ },
459
+ "status:warning": {
460
+ "--color-warning": "var(--astryx-theme-neutral-color-status-fill-warning)"
461
+ },
462
+ "status:error": {
463
+ "--color-error": "var(--astryx-theme-neutral-color-status-fill-error)"
464
+ }
465
+ },
466
+ "switch": {
467
+ "base": {
468
+ "--color-background-gray": "var(--color-border-emphasized)"
469
+ }
470
+ },
471
+ "progress-bar": {
472
+ "base": {
473
+ "--color-background-muted": "var(--color-border-emphasized)"
474
+ },
475
+ "variant:accent": {
476
+ "--color-accent": "var(--astryx-theme-neutral-color-status-fill-accent)"
477
+ },
478
+ "variant:success": {
479
+ "--color-success": "var(--astryx-theme-neutral-color-status-fill-success)"
480
+ },
481
+ "variant:warning": {
482
+ "--color-warning": "var(--astryx-theme-neutral-color-status-fill-warning)"
483
+ },
484
+ "variant:error": {
485
+ "--color-error": "var(--astryx-theme-neutral-color-status-fill-error)"
486
+ }
487
+ },
488
+ "card": {
489
+ "base": {
490
+ "padding": "var(--spacing-3)"
491
+ }
492
+ },
493
+ "section": {
494
+ "base": {
495
+ "padding": "var(--spacing-3)"
496
+ }
497
+ },
498
+ "lightbox": {
499
+ "base": {
500
+ "padding": "var(--spacing-12)",
501
+ "::backdrop": {
502
+ "backgroundColor": "light-dark(#00000059, #00000099)"
503
+ }
504
+ }
505
+ },
506
+ "collapsible-content": {
507
+ "base": {
508
+ "display": "block",
509
+ "overflow": "clip",
510
+ "interpolateSize": "allow-keywords",
511
+ "transition": "height var(--duration-medium) var(--ease-standard), padding-top var(--duration-medium) var(--ease-standard), content-visibility var(--duration-medium) allow-discrete",
512
+ ":where([aria-expanded=\"false\"] + *)": {
513
+ "height": "0",
514
+ "paddingTop": "0",
515
+ "contentVisibility": "hidden"
516
+ }
517
+ }
518
+ },
519
+ "citation": {
520
+ "base": {
521
+ ":where(*) > [aria-hidden=\"true\"]": {
522
+ "backgroundColor": "transparent",
523
+ "borderWidth": "0",
524
+ "borderRadius": "0"
525
+ },
526
+ ":where(*) > [aria-hidden=\"true\"] > img": {
527
+ "width": "100%",
528
+ "height": "100%"
529
+ }
530
+ }
531
+ },
532
+ "chat-tool-calls": {
533
+ "base": {
534
+ ":where(*) [role=\"button\"][aria-expanded] > span:not(:first-child):not(:has(svg))": {
535
+ "alignSelf": "baseline"
536
+ }
537
+ }
538
+ },
539
+ "layout-panel": {
540
+ "base": {
541
+ ":where([role=\"complementary\"])": {
542
+ "transition": "width var(--duration-medium) var(--ease-standard)"
543
+ },
544
+ ":where([data-resizing] + [role=\"complementary\"])": {
545
+ "transition": "none"
546
+ }
547
+ }
548
+ }
549
+ },
550
+ __onDark: {
551
+ "tokens": {
552
+ "color-scheme": "dark",
553
+ "--color-text-primary": "var(--color-on-dark)",
554
+ "--color-icon-primary": "var(--color-on-dark)",
555
+ "--color-accent": "var(--color-on-dark)"
556
+ }
557
+ },
558
+ __onLight: {
559
+ "tokens": {
560
+ "color-scheme": "light",
561
+ "--color-text-primary": "var(--color-on-light)",
562
+ "--color-icon-primary": "var(--color-on-light)",
563
+ "--color-accent": "var(--color-on-light)"
564
+ }
565
+ },
566
+ __adaptations: {
567
+ "widthBreakpoints": {
568
+ "sm": 640,
569
+ "md": 768,
570
+ "lg": 1024,
571
+ "xl": 1280,
572
+ "2xl": 1536
573
+ },
574
+ "rules": [
575
+ {
576
+ "when": {
577
+ "motion": "reduce"
578
+ },
579
+ "value": {
580
+ "components": {
581
+ "collapsible-content": {
582
+ "base": {
583
+ "transition": "none"
584
+ }
585
+ },
586
+ "layout-panel": {
587
+ "base": {
588
+ ":where([role=\"complementary\"])": {
589
+ "transition": "none"
590
+ }
591
+ }
592
+ }
593
+ }
594
+ }
595
+ }
596
+ ]
597
+ },
598
+ __axes: {
599
+ "typography": {
600
+ "scale": {
601
+ "base": 14,
602
+ "ratio": 1.2
603
+ },
604
+ "body": {
605
+ "family": "Figtree",
606
+ "fallbacks": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif"
607
+ },
608
+ "heading": {
609
+ "family": "Figtree",
610
+ "fallbacks": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
611
+ "weights": {
612
+ "3": "bold",
613
+ "4": "bold"
614
+ }
615
+ },
616
+ "code": {
617
+ "family": "ui-monospace",
618
+ "fallbacks": "\"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace"
619
+ }
620
+ },
621
+ "motion": {
622
+ "fast": 125,
623
+ "medium": 300,
624
+ "slow": 700,
625
+ "ratio": 0.75
626
+ }
627
+ },
628
+ icons: tablerIcons,
629
+ };
630
+
631
+ export { tablerIcons };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @generated by `astryx theme build` — do not edit manually.
3
+ * Source: src/ui/theorem-theme.ts
4
+ * Command: astryx theme build src/ui/theorem-theme.ts --out src/ui/built/theme.css
5
+ * CLI: @astryxdesign/cli@0.6.3
6
+ * Core: @astryxdesign/core@0.6.3
7
+ */
8
+
9
+ // Generated by astryx theme build
10
+ export {};
11
+
12
+ declare module '@astryxdesign/core/Badge' {
13
+ interface BadgeVariantMap {
14
+ 'gray': true;
15
+ }
16
+ }
@@ -0,0 +1,6 @@
1
+ import { type RefObject } from 'react';
2
+ /**
3
+ * Eases every disclosure under `ref` open and shut. `onOpened` runs once the
4
+ * new panel is in the DOM, with a promise for its motion finishing.
5
+ */
6
+ export declare function useDisclosureMotion(ref: RefObject<HTMLElement | null>, onOpened?: (trigger: Element, panel: HTMLElement, motion: Promise<unknown>) => void): void;