@tulipfarm/sprout 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +183 -2
  3. package/dist/components/accordion.d.ts +28 -0
  4. package/dist/components/accordion.js +26 -0
  5. package/dist/components/alert-dialog.d.ts +60 -0
  6. package/dist/components/alert-dialog.js +69 -0
  7. package/dist/components/alert.d.ts +30 -0
  8. package/dist/components/alert.js +35 -0
  9. package/dist/components/aspect-ratio.d.ts +7 -0
  10. package/dist/components/aspect-ratio.js +6 -0
  11. package/dist/components/attachment.d.ts +118 -0
  12. package/dist/components/attachment.js +285 -0
  13. package/dist/components/avatar.d.ts +32 -0
  14. package/dist/components/avatar.js +73 -0
  15. package/dist/components/badge.d.ts +21 -0
  16. package/dist/components/badge.js +27 -0
  17. package/dist/components/brand-icon.d.ts +28 -0
  18. package/dist/components/brand-icon.js +82 -0
  19. package/dist/components/breadcrumb.d.ts +29 -0
  20. package/dist/components/breadcrumb.js +44 -0
  21. package/dist/components/button-group.d.ts +28 -0
  22. package/dist/components/button-group.js +36 -0
  23. package/dist/components/button.d.ts +79 -0
  24. package/dist/components/button.js +93 -0
  25. package/dist/components/calendar.d.ts +27 -0
  26. package/dist/components/calendar.js +107 -0
  27. package/dist/components/canvas.d.ts +78 -0
  28. package/dist/components/canvas.js +180 -0
  29. package/dist/components/card.d.ts +43 -0
  30. package/dist/components/card.js +42 -0
  31. package/dist/components/carousel.d.ts +57 -0
  32. package/dist/components/carousel.js +422 -0
  33. package/dist/components/chart.d.ts +112 -0
  34. package/dist/components/chart.js +172 -0
  35. package/dist/components/chat-confirmation.d.ts +42 -0
  36. package/dist/components/chat-confirmation.js +62 -0
  37. package/dist/components/chat-input.d.ts +94 -0
  38. package/dist/components/chat-input.js +279 -0
  39. package/dist/components/chat-plan.d.ts +21 -0
  40. package/dist/components/chat-plan.js +35 -0
  41. package/dist/components/chat-sources.d.ts +64 -0
  42. package/dist/components/chat-sources.js +66 -0
  43. package/dist/components/checkbox.d.ts +16 -0
  44. package/dist/components/checkbox.js +17 -0
  45. package/dist/components/choice-list.d.ts +53 -0
  46. package/dist/components/choice-list.js +36 -0
  47. package/dist/components/code-block.d.ts +35 -0
  48. package/dist/components/code-block.js +64 -0
  49. package/dist/components/collapsible.d.ts +24 -0
  50. package/dist/components/collapsible.js +27 -0
  51. package/dist/components/combobox.d.ts +95 -0
  52. package/dist/components/combobox.js +106 -0
  53. package/dist/components/command.d.ts +94 -0
  54. package/dist/components/command.js +414 -0
  55. package/dist/components/context-menu.d.ts +57 -0
  56. package/dist/components/context-menu.js +60 -0
  57. package/dist/components/dialog.d.ts +60 -0
  58. package/dist/components/dialog.js +79 -0
  59. package/dist/components/direction.d.ts +6 -0
  60. package/dist/components/direction.js +6 -0
  61. package/dist/components/dropdown-menu.d.ts +62 -0
  62. package/dist/components/dropdown-menu.js +59 -0
  63. package/dist/components/field.d.ts +117 -0
  64. package/dist/components/field.js +150 -0
  65. package/dist/components/file-explorer.d.ts +27 -0
  66. package/dist/components/file-explorer.js +300 -0
  67. package/dist/components/file-viewer.d.ts +137 -0
  68. package/dist/components/file-viewer.js +400 -0
  69. package/dist/components/form.d.ts +87 -0
  70. package/dist/components/form.js +55 -0
  71. package/dist/components/glass-banner.d.ts +27 -0
  72. package/dist/components/glass-banner.js +116 -0
  73. package/dist/components/gradient-banner.d.ts +37 -0
  74. package/dist/components/gradient-banner.js +43 -0
  75. package/dist/components/hover-card.d.ts +27 -0
  76. package/dist/components/hover-card.js +26 -0
  77. package/dist/components/input-group.d.ts +68 -0
  78. package/dist/components/input-group.js +88 -0
  79. package/dist/components/input-otp.d.ts +38 -0
  80. package/dist/components/input-otp.js +43 -0
  81. package/dist/components/input.d.ts +16 -0
  82. package/dist/components/input.js +18 -0
  83. package/dist/components/kbd.d.ts +12 -0
  84. package/dist/components/kbd.js +11 -0
  85. package/dist/components/label.d.ts +8 -0
  86. package/dist/components/label.js +10 -0
  87. package/dist/components/mention-list.d.ts +54 -0
  88. package/dist/components/mention-list.js +31 -0
  89. package/dist/components/menubar.d.ts +64 -0
  90. package/dist/components/menubar.js +68 -0
  91. package/dist/components/message-actions.d.ts +34 -0
  92. package/dist/components/message-actions.js +68 -0
  93. package/dist/components/message-response.d.ts +20 -0
  94. package/dist/components/message-response.js +46 -0
  95. package/dist/components/message-scroller.d.ts +71 -0
  96. package/dist/components/message-scroller.js +217 -0
  97. package/dist/components/message.d.ts +49 -0
  98. package/dist/components/message.js +59 -0
  99. package/dist/components/navigation-menu.d.ts +45 -0
  100. package/dist/components/navigation-menu.js +54 -0
  101. package/dist/components/notice-banner.d.ts +14 -0
  102. package/dist/components/notice-banner.js +11 -0
  103. package/dist/components/page-content.d.ts +7 -0
  104. package/dist/components/page-content.js +9 -0
  105. package/dist/components/page-header.d.ts +37 -0
  106. package/dist/components/page-header.js +53 -0
  107. package/dist/components/pagination.d.ts +29 -0
  108. package/dist/components/pagination.js +29 -0
  109. package/dist/components/plan-outline.d.ts +60 -0
  110. package/dist/components/plan-outline.js +108 -0
  111. package/dist/components/popover.d.ts +34 -0
  112. package/dist/components/popover.js +35 -0
  113. package/dist/components/progress.d.ts +27 -0
  114. package/dist/components/progress.js +35 -0
  115. package/dist/components/prompt-list.d.ts +23 -0
  116. package/dist/components/prompt-list.js +11 -0
  117. package/dist/components/questionnaire.d.ts +148 -0
  118. package/dist/components/questionnaire.js +1002 -0
  119. package/dist/components/radio-group.d.ts +16 -0
  120. package/dist/components/radio-group.js +21 -0
  121. package/dist/components/reasoning-effort.d.ts +24 -0
  122. package/dist/components/reasoning-effort.js +269 -0
  123. package/dist/components/resizable.d.ts +67 -0
  124. package/dist/components/resizable.js +536 -0
  125. package/dist/components/result-card.d.ts +58 -0
  126. package/dist/components/result-card.js +88 -0
  127. package/dist/components/review-card.d.ts +62 -0
  128. package/dist/components/review-card.js +49 -0
  129. package/dist/components/rich-text-editor.d.ts +51 -0
  130. package/dist/components/rich-text-editor.js +248 -0
  131. package/dist/components/schema-diagram.d.ts +52 -0
  132. package/dist/components/schema-diagram.js +226 -0
  133. package/dist/components/scroll-area.d.ts +22 -0
  134. package/dist/components/scroll-area.js +19 -0
  135. package/dist/components/search-dialog.d.ts +103 -0
  136. package/dist/components/search-dialog.js +65 -0
  137. package/dist/components/search-field.d.ts +17 -0
  138. package/dist/components/search-field.js +27 -0
  139. package/dist/components/select.d.ts +57 -0
  140. package/dist/components/select.js +57 -0
  141. package/dist/components/selection-slot.d.ts +18 -0
  142. package/dist/components/selection-slot.js +53 -0
  143. package/dist/components/separator.d.ts +48 -0
  144. package/dist/components/separator.js +54 -0
  145. package/dist/components/settings-list.d.ts +26 -0
  146. package/dist/components/settings-list.js +17 -0
  147. package/dist/components/sheet.d.ts +70 -0
  148. package/dist/components/sheet.js +77 -0
  149. package/dist/components/sidebar.d.ts +70 -0
  150. package/dist/components/sidebar.js +187 -0
  151. package/dist/components/skeleton.d.ts +31 -0
  152. package/dist/components/skeleton.js +32 -0
  153. package/dist/components/slider.d.ts +17 -0
  154. package/dist/components/slider.js +24 -0
  155. package/dist/components/spinner.d.ts +37 -0
  156. package/dist/components/spinner.js +43 -0
  157. package/dist/components/state-panel-samples.d.ts +25 -0
  158. package/dist/components/state-panel-samples.js +423 -0
  159. package/dist/components/state-panel.d.ts +35 -0
  160. package/dist/components/state-panel.js +29 -0
  161. package/dist/components/state-sample.d.ts +63 -0
  162. package/dist/components/state-sample.js +42 -0
  163. package/dist/components/switch.d.ts +12 -0
  164. package/dist/components/switch.js +14 -0
  165. package/dist/components/table-nuqs.d.ts +16 -0
  166. package/dist/components/table-nuqs.js +59 -0
  167. package/dist/components/table.d.ts +120 -0
  168. package/dist/components/table.js +663 -0
  169. package/dist/components/tabs.d.ts +37 -0
  170. package/dist/components/tabs.js +36 -0
  171. package/dist/components/textarea.d.ts +18 -0
  172. package/dist/components/textarea.js +19 -0
  173. package/dist/components/toast.d.ts +45 -0
  174. package/dist/components/toast.js +83 -0
  175. package/dist/components/toggle-group.d.ts +30 -0
  176. package/dist/components/toggle-group.js +39 -0
  177. package/dist/components/toggle.d.ts +27 -0
  178. package/dist/components/toggle.js +21 -0
  179. package/dist/components/tool-activity.d.ts +79 -0
  180. package/dist/components/tool-activity.js +226 -0
  181. package/dist/components/toolbar-status.d.ts +21 -0
  182. package/dist/components/toolbar-status.js +14 -0
  183. package/dist/components/tooltip.d.ts +31 -0
  184. package/dist/components/tooltip.js +99 -0
  185. package/dist/components/typed-text.d.ts +17 -0
  186. package/dist/components/typed-text.js +56 -0
  187. package/dist/index.d.ts +90 -0
  188. package/dist/index.js +90 -0
  189. package/dist/internal/brand-glyphs.d.ts +370 -0
  190. package/dist/internal/brand-glyphs.js +262 -0
  191. package/dist/internal/classes.d.ts +3 -0
  192. package/dist/internal/classes.js +20 -0
  193. package/dist/internal/code-tokens.d.ts +4 -0
  194. package/dist/internal/code-tokens.js +34 -0
  195. package/dist/internal/fieldset.d.ts +6 -0
  196. package/dist/internal/fieldset.js +38 -0
  197. package/dist/internal/file-kind.d.ts +4 -0
  198. package/dist/internal/file-kind.js +62 -0
  199. package/dist/internal/languages.d.ts +7 -0
  200. package/dist/internal/languages.js +1010 -0
  201. package/dist/internal/message-scroller.d.ts +102 -0
  202. package/dist/internal/message-scroller.js +637 -0
  203. package/dist/internal/pressable.d.ts +2 -0
  204. package/dist/internal/pressable.js +29 -0
  205. package/dist/internal/syntax.d.ts +14 -0
  206. package/dist/internal/syntax.js +137 -0
  207. package/dist/styles/accordion.css +102 -0
  208. package/dist/styles/alert-dialog.css +198 -0
  209. package/dist/styles/alert.css +149 -0
  210. package/dist/styles/aspect-ratio.css +8 -0
  211. package/dist/styles/attachment.css +700 -0
  212. package/dist/styles/avatar.css +186 -0
  213. package/dist/styles/badge.css +178 -0
  214. package/dist/styles/brand-icon.css +104 -0
  215. package/dist/styles/breadcrumb.css +121 -0
  216. package/dist/styles/button-group.css +113 -0
  217. package/dist/styles/button.css +380 -0
  218. package/dist/styles/calendar.css +295 -0
  219. package/dist/styles/canvas.css +313 -0
  220. package/dist/styles/card.css +146 -0
  221. package/dist/styles/carousel.css +107 -0
  222. package/dist/styles/chart.css +227 -0
  223. package/dist/styles/chat-confirmation.css +29 -0
  224. package/dist/styles/chat-input.css +240 -0
  225. package/dist/styles/chat-plan.css +109 -0
  226. package/dist/styles/chat-sources.css +191 -0
  227. package/dist/styles/checkbox.css +122 -0
  228. package/dist/styles/choice-list.css +343 -0
  229. package/dist/styles/code-block.css +211 -0
  230. package/dist/styles/collapsible.css +72 -0
  231. package/dist/styles/combobox.css +347 -0
  232. package/dist/styles/command.css +233 -0
  233. package/dist/styles/context-menu.css +151 -0
  234. package/dist/styles/dialog.css +237 -0
  235. package/dist/styles/dropdown-menu.css +150 -0
  236. package/dist/styles/field.css +340 -0
  237. package/dist/styles/file-explorer.css +517 -0
  238. package/dist/styles/file-viewer.css +375 -0
  239. package/dist/styles/form.css +155 -0
  240. package/dist/styles/glass-banner.css +308 -0
  241. package/dist/styles/gradient-banner.css +256 -0
  242. package/dist/styles/hover-card.css +95 -0
  243. package/dist/styles/index.css +268 -0
  244. package/dist/styles/input-group.css +285 -0
  245. package/dist/styles/input-otp.css +138 -0
  246. package/dist/styles/input.css +98 -0
  247. package/dist/styles/kbd.css +59 -0
  248. package/dist/styles/label.css +89 -0
  249. package/dist/styles/mention-list.css +166 -0
  250. package/dist/styles/menubar.css +226 -0
  251. package/dist/styles/message-actions.css +83 -0
  252. package/dist/styles/message-response.css +176 -0
  253. package/dist/styles/message-scroller.css +136 -0
  254. package/dist/styles/message.css +310 -0
  255. package/dist/styles/navigation-menu.css +291 -0
  256. package/dist/styles/notice-banner.css +68 -0
  257. package/dist/styles/page-content.css +21 -0
  258. package/dist/styles/page-header.css +156 -0
  259. package/dist/styles/pagination.css +72 -0
  260. package/dist/styles/plan-outline.css +393 -0
  261. package/dist/styles/popover.css +140 -0
  262. package/dist/styles/progress.css +93 -0
  263. package/dist/styles/prompt-list.css +165 -0
  264. package/dist/styles/questionnaire.css +308 -0
  265. package/dist/styles/radio-group.css +119 -0
  266. package/dist/styles/reasoning-effort.css +157 -0
  267. package/dist/styles/resizable.css +108 -0
  268. package/dist/styles/result-card.css +215 -0
  269. package/dist/styles/review-card.css +235 -0
  270. package/dist/styles/rich-text-editor.css +169 -0
  271. package/dist/styles/schema-diagram.css +419 -0
  272. package/dist/styles/scroll-area.css +77 -0
  273. package/dist/styles/search-dialog.css +280 -0
  274. package/dist/styles/search-field.css +17 -0
  275. package/dist/styles/select.css +285 -0
  276. package/dist/styles/selection-slot.css +31 -0
  277. package/dist/styles/separator.css +206 -0
  278. package/dist/styles/settings-list.css +81 -0
  279. package/dist/styles/sheet.css +361 -0
  280. package/dist/styles/sidebar.css +363 -0
  281. package/dist/styles/skeleton.css +80 -0
  282. package/dist/styles/slider.css +142 -0
  283. package/dist/styles/spinner.css +39 -0
  284. package/dist/styles/state-panel-samples.css +41 -0
  285. package/dist/styles/state-panel.css +173 -0
  286. package/dist/styles/state-sample.css +285 -0
  287. package/dist/styles/switch.css +128 -0
  288. package/dist/styles/table.css +604 -0
  289. package/dist/styles/tabs.css +223 -0
  290. package/dist/styles/textarea.css +77 -0
  291. package/dist/styles/themes/chatgpt.css +125 -0
  292. package/dist/styles/themes/claude.css +125 -0
  293. package/dist/styles/themes/cloudflare.css +125 -0
  294. package/dist/styles/themes/discord.css +125 -0
  295. package/dist/styles/themes/github.css +125 -0
  296. package/dist/styles/themes/grok.css +125 -0
  297. package/dist/styles/themes/linear.css +126 -0
  298. package/dist/styles/themes/neutral.css +125 -0
  299. package/dist/styles/themes/notion.css +125 -0
  300. package/dist/styles/themes/perplexity.css +125 -0
  301. package/dist/styles/themes/raycast.css +125 -0
  302. package/dist/styles/themes/spotify.css +125 -0
  303. package/dist/styles/themes/stripe.css +125 -0
  304. package/dist/styles/themes/supabase.css +125 -0
  305. package/dist/styles/themes/tulipfarm.css +115 -0
  306. package/dist/styles/themes/vercel.css +126 -0
  307. package/dist/styles/toast.css +197 -0
  308. package/dist/styles/toggle-group.css +161 -0
  309. package/dist/styles/toggle.css +119 -0
  310. package/dist/styles/tool-activity.css +396 -0
  311. package/dist/styles/toolbar-status.css +52 -0
  312. package/dist/styles/tooltip.css +122 -0
  313. package/dist/styles/typed-text.css +17 -0
  314. package/package.json +452 -4
@@ -0,0 +1,393 @@
1
+ @layer components {
2
+ .sprout-plan-outline {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 20px;
6
+ min-width: 0;
7
+ color: var(--sprout-text);
8
+ font-family: var(--sprout-font);
9
+ }
10
+ .sprout-plan-outline-header {
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 12px;
14
+ min-width: 0;
15
+ }
16
+ .sprout-plan-outline-heading {
17
+ display: flex;
18
+ align-items: flex-start;
19
+ justify-content: space-between;
20
+ gap: 12px;
21
+ }
22
+ .sprout-plan-outline-title {
23
+ min-width: 0;
24
+ margin: 0;
25
+ font-size: var(--sprout-text-base);
26
+ font-weight: 500;
27
+ line-height: 1.5rem;
28
+ text-wrap: balance;
29
+ overflow-wrap: anywhere;
30
+ }
31
+ .sprout-plan-outline-status {
32
+ margin-top: 2px;
33
+ flex-shrink: 0;
34
+ }
35
+ .sprout-plan-outline-brief,
36
+ .sprout-plan-outline-empty {
37
+ max-width: 65ch;
38
+ margin: 0;
39
+ color: var(--sprout-muted);
40
+ font-size: var(--sprout-text-sm);
41
+ line-height: 1.25rem;
42
+ overflow-wrap: anywhere;
43
+ }
44
+ .sprout-plan-outline-progress {
45
+ display: flex;
46
+ flex-direction: column;
47
+ gap: 8px;
48
+ }
49
+ .sprout-plan-outline-rail {
50
+ display: flex;
51
+ gap: 2px;
52
+ height: 4px;
53
+ overflow: hidden;
54
+ border-radius: 999px;
55
+ }
56
+ .sprout-plan-outline-segment {
57
+ flex: 1;
58
+ min-width: 2px;
59
+ background: var(--sprout-input);
60
+ }
61
+ .sprout-plan-outline-segment:first-child {
62
+ border-start-start-radius: 999px;
63
+ border-end-start-radius: 999px;
64
+ }
65
+ .sprout-plan-outline-segment:last-child {
66
+ border-start-end-radius: 999px;
67
+ border-end-end-radius: 999px;
68
+ }
69
+ .sprout-plan-outline-segment[data-mark="running"] {
70
+ background: var(--sprout-info);
71
+ }
72
+ .sprout-plan-outline-segment[data-mark="attention"] {
73
+ background: var(--sprout-warning);
74
+ }
75
+ .sprout-plan-outline-segment[data-mark="blocked"] {
76
+ background: color-mix(in oklab, var(--sprout-muted) 40%, transparent);
77
+ }
78
+ .sprout-plan-outline-segment[data-mark="done"] {
79
+ background: var(--sprout-success);
80
+ }
81
+ .sprout-plan-outline-segment[data-mark="failed"] {
82
+ background: var(--sprout-danger);
83
+ }
84
+ .sprout-plan-outline-progress-text {
85
+ margin: 0;
86
+ color: var(--sprout-muted);
87
+ font-size: var(--sprout-text-xs);
88
+ line-height: 1rem;
89
+ font-variant-numeric: tabular-nums;
90
+ }
91
+
92
+ .sprout-plan-outline-list {
93
+ display: flex;
94
+ flex-direction: column;
95
+ margin: 0;
96
+ padding: 0;
97
+ list-style: none;
98
+ }
99
+ .sprout-plan-outline-sublist {
100
+ margin-inline-start: 7px;
101
+ padding-inline-start: 10px;
102
+ border-inline-start: 1px solid var(--sprout-line);
103
+ }
104
+ @media (min-width: 640px) {
105
+ .sprout-plan-outline-sublist {
106
+ padding-inline-start: 14px;
107
+ }
108
+ }
109
+ .sprout-plan-outline-task {
110
+ min-width: 0;
111
+ scroll-margin-top: 16px;
112
+ border-radius: var(--sprout-radius-control);
113
+ }
114
+ .sprout-plan-outline-task:focus {
115
+ outline: none;
116
+ }
117
+ .sprout-plan-outline-task:focus-visible {
118
+ outline: var(--sprout-focus-width) solid var(--sprout-focus-ring);
119
+ outline-offset: -1px;
120
+ }
121
+ .sprout-plan-outline-row {
122
+ box-sizing: border-box;
123
+ display: flex;
124
+ align-items: flex-start;
125
+ gap: 10px;
126
+ width: 100%;
127
+ padding-block: 8px;
128
+ }
129
+ .sprout-plan-outline-trigger {
130
+ width: calc(100% + 16px);
131
+ margin-inline: -8px;
132
+ padding-inline: 8px;
133
+ border: 0;
134
+ border-radius: var(--sprout-radius-control);
135
+ background: transparent;
136
+ color: inherit;
137
+ font: inherit;
138
+ text-align: start;
139
+ cursor: pointer;
140
+ -webkit-tap-highlight-color: transparent;
141
+ }
142
+ .sprout-plan-outline-trigger:hover {
143
+ background: var(--sprout-hover);
144
+ }
145
+ .sprout-plan-outline-trigger:focus-visible {
146
+ outline: var(--sprout-focus-width) solid var(--sprout-focus-ring);
147
+ outline-offset: -1px;
148
+ }
149
+ .sprout-plan-outline-mark {
150
+ display: inline-flex;
151
+ flex-shrink: 0;
152
+ align-items: center;
153
+ justify-content: center;
154
+ width: 16px;
155
+ height: 16px;
156
+ margin-top: 2px;
157
+ color: var(--sprout-muted);
158
+ }
159
+ .sprout-plan-outline-mark .sprout-spinner {
160
+ width: 14px;
161
+ height: 14px;
162
+ }
163
+ [data-mark="running"] > .sprout-plan-outline-row .sprout-plan-outline-mark {
164
+ color: var(--sprout-info);
165
+ }
166
+ [data-mark="attention"] > .sprout-plan-outline-row .sprout-plan-outline-mark {
167
+ color: var(--sprout-warning);
168
+ }
169
+ [data-mark="done"] > .sprout-plan-outline-row .sprout-plan-outline-mark {
170
+ color: var(--sprout-success);
171
+ }
172
+ [data-mark="failed"] > .sprout-plan-outline-row .sprout-plan-outline-mark {
173
+ color: var(--sprout-danger);
174
+ }
175
+ .sprout-plan-outline-text {
176
+ display: flex;
177
+ flex: 1;
178
+ flex-direction: column;
179
+ gap: 2px;
180
+ min-width: 0;
181
+ }
182
+ .sprout-plan-outline-task-title {
183
+ font-size: var(--sprout-text-sm);
184
+ line-height: 1.25rem;
185
+ overflow-wrap: anywhere;
186
+ }
187
+ [data-kind="group"]
188
+ > .sprout-plan-outline-row
189
+ .sprout-plan-outline-task-title {
190
+ font-weight: 500;
191
+ }
192
+ [data-mark="cancelled"]
193
+ > .sprout-plan-outline-row
194
+ .sprout-plan-outline-task-title {
195
+ color: var(--sprout-muted);
196
+ text-decoration: line-through;
197
+ text-decoration-color: color-mix(
198
+ in oklab,
199
+ var(--sprout-muted) 60%,
200
+ transparent
201
+ );
202
+ }
203
+ .sprout-plan-outline-assignee {
204
+ display: flex;
205
+ align-items: center;
206
+ gap: 4px;
207
+ min-width: 0;
208
+ color: var(--sprout-muted);
209
+ font-size: var(--sprout-text-xs);
210
+ line-height: 1rem;
211
+ }
212
+ .sprout-plan-outline-assignee > svg {
213
+ flex-shrink: 0;
214
+ }
215
+ .sprout-plan-outline-assignee > span {
216
+ min-width: 0;
217
+ overflow-wrap: anywhere;
218
+ }
219
+ .sprout-plan-outline-label {
220
+ flex-shrink: 0;
221
+ max-width: 45%;
222
+ padding-top: 2px;
223
+ color: var(--sprout-muted);
224
+ font-size: var(--sprout-text-xs);
225
+ line-height: 1rem;
226
+ text-align: end;
227
+ }
228
+ [data-mark="attention"]
229
+ > .sprout-plan-outline-row
230
+ .sprout-plan-outline-label {
231
+ color: var(--sprout-warning);
232
+ font-weight: 500;
233
+ }
234
+ [data-mark="failed"] > .sprout-plan-outline-row .sprout-plan-outline-label {
235
+ color: var(--sprout-danger);
236
+ }
237
+ .sprout-plan-outline-chevron {
238
+ flex-shrink: 0;
239
+ margin-top: 2px;
240
+ color: var(--sprout-muted);
241
+ }
242
+ .sprout-plan-outline-trigger[data-panel-open] .sprout-plan-outline-chevron {
243
+ transform: rotate(90deg);
244
+ }
245
+ :dir(rtl) .sprout-plan-outline-chevron {
246
+ scale: -1 1;
247
+ }
248
+
249
+ /* The inline bleed keeps nested row hover and focus rings inside the clip. */
250
+ .sprout-plan-outline-panel {
251
+ height: var(--collapsible-panel-height);
252
+ margin-inline: -8px;
253
+ padding-inline: 8px;
254
+ overflow: hidden;
255
+ }
256
+ .sprout-plan-outline-panel[data-starting-style],
257
+ .sprout-plan-outline-panel[data-ending-style] {
258
+ height: 0;
259
+ opacity: 0;
260
+ }
261
+ .sprout-plan-outline-group-brief,
262
+ .sprout-plan-outline-group-empty {
263
+ max-width: 65ch;
264
+ margin: 0 0 4px;
265
+ margin-inline-start: 26px;
266
+ color: var(--sprout-muted);
267
+ font-size: var(--sprout-text-xs);
268
+ line-height: 1rem;
269
+ overflow-wrap: anywhere;
270
+ }
271
+ .sprout-plan-outline-group-empty {
272
+ margin-bottom: 0;
273
+ padding-bottom: 8px;
274
+ }
275
+ .sprout-plan-outline-detail {
276
+ display: flex;
277
+ flex-direction: column;
278
+ gap: 12px;
279
+ margin: 0 0 8px;
280
+ margin-inline-start: 26px;
281
+ padding-bottom: 12px;
282
+ border-bottom: 1px solid var(--sprout-line);
283
+ font-size: var(--sprout-text-sm);
284
+ line-height: 1.25rem;
285
+ }
286
+ .sprout-plan-outline-detail p {
287
+ margin: 0;
288
+ overflow-wrap: anywhere;
289
+ }
290
+ [data-mark="failed"]
291
+ > .sprout-plan-outline-panel
292
+ > .sprout-plan-outline-detail
293
+ > .sprout-plan-outline-reason {
294
+ color: var(--sprout-danger);
295
+ }
296
+ .sprout-plan-outline-task-brief {
297
+ max-width: 65ch;
298
+ color: var(--sprout-muted);
299
+ }
300
+ .sprout-plan-outline-field {
301
+ display: flex;
302
+ flex-direction: column;
303
+ gap: 4px;
304
+ }
305
+ .sprout-plan-outline-detail .sprout-plan-outline-field-title {
306
+ font-size: var(--sprout-text-xs);
307
+ font-weight: 500;
308
+ line-height: 1rem;
309
+ }
310
+ .sprout-plan-outline-criteria,
311
+ .sprout-plan-outline-dependencies {
312
+ display: flex;
313
+ flex-direction: column;
314
+ gap: 4px;
315
+ margin: 0;
316
+ padding: 0;
317
+ }
318
+ .sprout-plan-outline-criteria {
319
+ padding-inline-start: 16px;
320
+ color: var(--sprout-muted);
321
+ list-style: disc;
322
+ }
323
+ .sprout-plan-outline-criteria > li {
324
+ overflow-wrap: anywhere;
325
+ }
326
+ .sprout-plan-outline-criteria > li::marker {
327
+ color: color-mix(in oklab, var(--sprout-muted) 60%, transparent);
328
+ }
329
+ .sprout-plan-outline-dependencies {
330
+ list-style: none;
331
+ }
332
+ .sprout-plan-outline-dependencies > li {
333
+ display: flex;
334
+ flex-wrap: wrap;
335
+ align-items: baseline;
336
+ gap: 0 8px;
337
+ }
338
+ .sprout-plan-outline-link {
339
+ min-width: 0;
340
+ border-radius: 2px;
341
+ color: var(--sprout-primary);
342
+ text-decoration: none;
343
+ text-underline-offset: 4px;
344
+ overflow-wrap: anywhere;
345
+ }
346
+ .sprout-plan-outline-link:hover {
347
+ text-decoration: underline;
348
+ }
349
+ .sprout-plan-outline-link:focus-visible {
350
+ outline: var(--sprout-focus-width) solid var(--sprout-focus-ring);
351
+ outline-offset: 0;
352
+ }
353
+ .sprout-plan-outline-dependency-label {
354
+ color: var(--sprout-muted);
355
+ font-size: var(--sprout-text-xs);
356
+ line-height: 1rem;
357
+ }
358
+ .sprout-plan-outline-action {
359
+ display: flex;
360
+ flex-wrap: wrap;
361
+ gap: 8px;
362
+ min-width: 0;
363
+ }
364
+
365
+ @media (prefers-reduced-motion: no-preference) {
366
+ .sprout-plan-outline-segment {
367
+ transition: background-color var(--sprout-motion-normal, 180ms)
368
+ var(--sprout-motion-ease, ease-out);
369
+ }
370
+ .sprout-plan-outline-trigger {
371
+ transition: background-color var(--sprout-motion-fast, 120ms)
372
+ var(--sprout-motion-ease, ease-out);
373
+ }
374
+ .sprout-plan-outline-chevron {
375
+ transition: transform var(--sprout-motion-fast, 120ms)
376
+ var(--sprout-motion-ease, ease-out);
377
+ }
378
+ .sprout-plan-outline-panel {
379
+ transition:
380
+ height var(--sprout-motion-normal, 180ms)
381
+ var(--sprout-motion-ease, ease-out),
382
+ opacity var(--sprout-motion-fast, 120ms) ease-out;
383
+ }
384
+ }
385
+ @media (forced-colors: active) {
386
+ .sprout-plan-outline-segment {
387
+ background: GrayText;
388
+ }
389
+ .sprout-plan-outline-segment[data-mark="done"] {
390
+ background: CanvasText;
391
+ }
392
+ }
393
+ }
@@ -0,0 +1,140 @@
1
+ @layer components {
2
+ .sprout-popover-positioner {
3
+ z-index: 50;
4
+ isolation: isolate;
5
+ outline: none;
6
+ }
7
+
8
+ .sprout-popover-content {
9
+ --sprout-popover-shift: 4px;
10
+ box-sizing: border-box;
11
+ display: flex;
12
+ flex-direction: column;
13
+ gap: 10px;
14
+ width: 18rem;
15
+ max-width: var(--available-width);
16
+ padding: 10px;
17
+ border: 1px solid var(--sprout-line);
18
+ border-radius: var(--sprout-radius-panel);
19
+ background: var(--sprout-surface);
20
+ color: var(--sprout-text);
21
+ box-shadow: var(--sprout-shadow-overlay);
22
+ font-family: var(--sprout-font);
23
+ font-size: var(--sprout-text-sm);
24
+ line-height: 1.25rem;
25
+ overflow-wrap: anywhere;
26
+ outline: none;
27
+ transform-origin: var(--transform-origin);
28
+ }
29
+ .sprout-popover-content :where(p) {
30
+ margin: 0;
31
+ }
32
+
33
+ .sprout-popover-menu,
34
+ .sprout-popover-picker,
35
+ .sprout-popover-panel,
36
+ .sprout-popover-work-list,
37
+ .sprout-popover-bud {
38
+ gap: 0;
39
+ padding: 0;
40
+ }
41
+ .sprout-popover-menu {
42
+ width: 24rem;
43
+ }
44
+ .sprout-popover-panel,
45
+ .sprout-popover-work-list {
46
+ width: min(32rem, calc(100vw - 2rem));
47
+ }
48
+ .sprout-popover-work-list {
49
+ max-height: min(36rem, var(--available-height));
50
+ overflow: hidden;
51
+ }
52
+ .sprout-popover-app-actions {
53
+ width: 20rem;
54
+ max-height: var(--available-height);
55
+ padding: 16px;
56
+ overflow-y: auto;
57
+ overscroll-behavior: contain;
58
+ scrollbar-width: thin;
59
+ }
60
+ .sprout-popover-bud {
61
+ width: min(24rem, calc(100vw - 2rem));
62
+ height: min(26rem, calc(100dvh - 7rem));
63
+ max-height: var(--available-height);
64
+ overflow: hidden;
65
+ }
66
+ .sprout-popover-positioner[hidden] {
67
+ display: none;
68
+ }
69
+
70
+ .sprout-popover-header {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 2px;
74
+ min-width: 0;
75
+ font-size: var(--sprout-text-sm);
76
+ }
77
+ .sprout-popover-title {
78
+ margin: 0;
79
+ color: var(--sprout-text);
80
+ font-size: var(--sprout-text-sm);
81
+ font-weight: 500;
82
+ line-height: 1.25rem;
83
+ }
84
+ .sprout-popover-description {
85
+ margin: 0;
86
+ color: var(--sprout-muted);
87
+ font-size: var(--sprout-text-sm);
88
+ line-height: 1.25rem;
89
+ }
90
+
91
+ @media (forced-colors: active) {
92
+ .sprout-popover-content {
93
+ border-color: CanvasText;
94
+ }
95
+ }
96
+
97
+ @media (prefers-reduced-motion: no-preference) {
98
+ .sprout-popover-content {
99
+ transition:
100
+ opacity var(--sprout-motion-fast) var(--sprout-motion-ease),
101
+ scale var(--sprout-motion-fast) var(--sprout-motion-ease),
102
+ translate var(--sprout-motion-fast) var(--sprout-motion-ease);
103
+ }
104
+ .sprout-popover-content[data-starting-style],
105
+ .sprout-popover-content[data-ending-style] {
106
+ opacity: 0;
107
+ scale: 0.96;
108
+ }
109
+ .sprout-popover-content[data-side="bottom"]:is(
110
+ [data-starting-style],
111
+ [data-ending-style]
112
+ ) {
113
+ translate: 0 calc(var(--sprout-popover-shift) * -1);
114
+ }
115
+ .sprout-popover-content[data-side="top"]:is(
116
+ [data-starting-style],
117
+ [data-ending-style]
118
+ ) {
119
+ translate: 0 var(--sprout-popover-shift);
120
+ }
121
+ .sprout-popover-content:is(
122
+ [data-side="right"],
123
+ [data-side="inline-end"]
124
+ ):is([data-starting-style], [data-ending-style]) {
125
+ translate: calc(var(--sprout-popover-shift) * -1) 0;
126
+ }
127
+ .sprout-popover-content:is(
128
+ [data-side="left"],
129
+ [data-side="inline-start"]
130
+ ):is([data-starting-style], [data-ending-style]) {
131
+ translate: var(--sprout-popover-shift) 0;
132
+ }
133
+ .sprout-popover-content:is(
134
+ .sprout-popover-app-actions,
135
+ .sprout-popover-bud
136
+ ) {
137
+ transition-duration: var(--sprout-motion-normal);
138
+ }
139
+ }
140
+ }
@@ -0,0 +1,93 @@
1
+ @layer components {
2
+ .sprout-progress {
3
+ --sprout-progress-direction: 1;
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ align-items: baseline;
7
+ gap: 8px 12px;
8
+ width: 100%;
9
+ min-width: 0;
10
+ font-family: var(--sprout-font);
11
+ }
12
+ .sprout-progress:dir(rtl) {
13
+ --sprout-progress-direction: -1;
14
+ }
15
+
16
+ .sprout-progress-label {
17
+ min-width: 0;
18
+ overflow-wrap: anywhere;
19
+ font-size: var(--sprout-text-sm);
20
+ font-weight: 500;
21
+ line-height: 1.25rem;
22
+ color: var(--sprout-text);
23
+ }
24
+
25
+ .sprout-progress-value {
26
+ margin-inline-start: auto;
27
+ font-size: var(--sprout-text-sm);
28
+ line-height: 1.25rem;
29
+ font-variant-numeric: tabular-nums;
30
+ color: var(--sprout-muted);
31
+ }
32
+
33
+ .sprout-progress-track {
34
+ position: relative;
35
+ display: flex;
36
+ align-items: center;
37
+ flex-basis: 100%;
38
+ width: 100%;
39
+ height: 4px;
40
+ overflow: hidden;
41
+ border-radius: 999px;
42
+ background-color: var(--sprout-secondary);
43
+ }
44
+
45
+ .sprout-progress-indicator {
46
+ height: 100%;
47
+ border-radius: inherit;
48
+ background-color: var(--sprout-primary);
49
+ }
50
+ .sprout-progress-indicator[data-indeterminate] {
51
+ position: absolute;
52
+ inset-block: 0;
53
+ inset-inline-start: 0;
54
+ width: 40%;
55
+ animation: sprout-progress-slide 1.4s var(--sprout-motion-ease, ease-in-out)
56
+ infinite;
57
+ }
58
+
59
+ @keyframes sprout-progress-slide {
60
+ from {
61
+ translate: calc(-100% * var(--sprout-progress-direction)) 0;
62
+ }
63
+ to {
64
+ translate: calc(250% * var(--sprout-progress-direction)) 0;
65
+ }
66
+ }
67
+
68
+ @media (prefers-reduced-motion: no-preference) {
69
+ .sprout-progress-indicator {
70
+ transition: width var(--sprout-motion-normal, 180ms)
71
+ var(--sprout-motion-ease, ease-out);
72
+ }
73
+ }
74
+
75
+ /* Still, the unknown amount reads as a faint full track, not a value. */
76
+ @media (prefers-reduced-motion: reduce) {
77
+ .sprout-progress-indicator[data-indeterminate] {
78
+ width: 100%;
79
+ opacity: 0.4;
80
+ animation: none;
81
+ }
82
+ }
83
+
84
+ @media (forced-colors: active) {
85
+ .sprout-progress-track {
86
+ border: 1px solid CanvasText;
87
+ background-color: Canvas;
88
+ }
89
+ .sprout-progress-indicator {
90
+ background-color: Highlight;
91
+ }
92
+ }
93
+ }