@12ui/design 0.2.80 → 0.2.82

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 (324) hide show
  1. package/README.md +8 -9
  2. package/SKILL.md +2 -8
  3. package/dist/cli-capabilities.d.ts +2 -2
  4. package/dist/cli-capabilities.js +2 -2
  5. package/dist/cli-capabilities.js.map +1 -1
  6. package/dist/cli-help/design.d.ts +1 -1
  7. package/dist/cli-help/design.d.ts.map +1 -1
  8. package/dist/cli-help/design.js +0 -1
  9. package/dist/cli-help/design.js.map +1 -1
  10. package/dist/cli-help/index.d.ts +3 -3
  11. package/dist/cli-help/workflow.d.ts +2 -2
  12. package/dist/cli-help/workflow.js +4 -4
  13. package/dist/cli-help/workflow.js.map +1 -1
  14. package/dist/cli-usage.d.ts.map +1 -1
  15. package/dist/cli-usage.js +5 -4
  16. package/dist/cli-usage.js.map +1 -1
  17. package/dist/cli-workspace-draw.d.ts.map +1 -1
  18. package/dist/cli-workspace-draw.js +2 -0
  19. package/dist/cli-workspace-draw.js.map +1 -1
  20. package/dist/cli-workspace-runner.d.ts.map +1 -1
  21. package/dist/cli-workspace-runner.js +2 -1
  22. package/dist/cli-workspace-runner.js.map +1 -1
  23. package/dist/corpus-client.d.ts +3 -0
  24. package/dist/corpus-client.d.ts.map +1 -1
  25. package/dist/corpus-client.js +2 -0
  26. package/dist/corpus-client.js.map +1 -1
  27. package/dist/corpus-public-renditions.d.ts +33 -0
  28. package/dist/corpus-public-renditions.d.ts.map +1 -0
  29. package/dist/corpus-public-renditions.js +55 -0
  30. package/dist/corpus-public-renditions.js.map +1 -0
  31. package/dist/legacy-skill-catalog.d.ts.map +1 -1
  32. package/dist/legacy-skill-catalog.js +11 -0
  33. package/dist/legacy-skill-catalog.js.map +1 -1
  34. package/dist/mcp-slate-command.d.ts +0 -2
  35. package/dist/mcp-slate-command.d.ts.map +1 -1
  36. package/dist/mcp-slate-command.js +0 -4
  37. package/dist/mcp-slate-command.js.map +1 -1
  38. package/dist/mcp-slate-resource.d.ts.map +1 -1
  39. package/dist/mcp-slate-resource.js +6 -4
  40. package/dist/mcp-slate-resource.js.map +1 -1
  41. package/dist/mcp-slate-tool-defs.d.ts.map +1 -1
  42. package/dist/mcp-slate-tool-defs.js +8 -6
  43. package/dist/mcp-slate-tool-defs.js.map +1 -1
  44. package/dist/mcp-slate-tools.d.ts.map +1 -1
  45. package/dist/mcp-slate-tools.js +8 -1
  46. package/dist/mcp-slate-tools.js.map +1 -1
  47. package/dist/mcp-slate-ui-copy.d.ts +88 -208
  48. package/dist/mcp-slate-ui-copy.d.ts.map +1 -1
  49. package/dist/mcp-slate-ui-copy.js +58 -159
  50. package/dist/mcp-slate-ui-copy.js.map +1 -1
  51. package/dist/mcp-slate-ui-locales/de-DE.d.ts.map +1 -1
  52. package/dist/mcp-slate-ui-locales/de-DE.js +44 -83
  53. package/dist/mcp-slate-ui-locales/de-DE.js.map +1 -1
  54. package/dist/mcp-slate-ui-locales/es-419.d.ts.map +1 -1
  55. package/dist/mcp-slate-ui-locales/es-419.js +44 -83
  56. package/dist/mcp-slate-ui-locales/es-419.js.map +1 -1
  57. package/dist/mcp-slate-ui-locales/es-ES.d.ts.map +1 -1
  58. package/dist/mcp-slate-ui-locales/es-ES.js +44 -83
  59. package/dist/mcp-slate-ui-locales/es-ES.js.map +1 -1
  60. package/dist/mcp-slate-ui-locales/fr-FR.d.ts.map +1 -1
  61. package/dist/mcp-slate-ui-locales/fr-FR.js +44 -83
  62. package/dist/mcp-slate-ui-locales/fr-FR.js.map +1 -1
  63. package/dist/mcp-slate-ui-locales/hi-IN.d.ts.map +1 -1
  64. package/dist/mcp-slate-ui-locales/hi-IN.js +44 -83
  65. package/dist/mcp-slate-ui-locales/hi-IN.js.map +1 -1
  66. package/dist/mcp-slate-ui-locales/it-IT.d.ts.map +1 -1
  67. package/dist/mcp-slate-ui-locales/it-IT.js +44 -83
  68. package/dist/mcp-slate-ui-locales/it-IT.js.map +1 -1
  69. package/dist/mcp-slate-ui-locales/ja-JP.d.ts.map +1 -1
  70. package/dist/mcp-slate-ui-locales/ja-JP.js +44 -83
  71. package/dist/mcp-slate-ui-locales/ja-JP.js.map +1 -1
  72. package/dist/mcp-slate-ui-locales/ko-KR.d.ts.map +1 -1
  73. package/dist/mcp-slate-ui-locales/ko-KR.js +44 -83
  74. package/dist/mcp-slate-ui-locales/ko-KR.js.map +1 -1
  75. package/dist/mcp-slate-ui-locales/pt-BR.d.ts.map +1 -1
  76. package/dist/mcp-slate-ui-locales/pt-BR.js +44 -83
  77. package/dist/mcp-slate-ui-locales/pt-BR.js.map +1 -1
  78. package/dist/mcp-slate-ui-locales/zh-CN.d.ts.map +1 -1
  79. package/dist/mcp-slate-ui-locales/zh-CN.js +44 -83
  80. package/dist/mcp-slate-ui-locales/zh-CN.js.map +1 -1
  81. package/dist/mcp-slate-ui-locales/zh-TW.d.ts.map +1 -1
  82. package/dist/mcp-slate-ui-locales/zh-TW.js +44 -83
  83. package/dist/mcp-slate-ui-locales/zh-TW.js.map +1 -1
  84. package/dist/mcp-slate-ui-script-bridge.d.ts.map +1 -1
  85. package/dist/mcp-slate-ui-script-bridge.js +19 -7
  86. package/dist/mcp-slate-ui-script-bridge.js.map +1 -1
  87. package/dist/mcp-slate-ui-script-browser.d.ts.map +1 -1
  88. package/dist/mcp-slate-ui-script-browser.js +0 -3
  89. package/dist/mcp-slate-ui-script-browser.js.map +1 -1
  90. package/dist/mcp-slate-ui-script-designs.d.ts +17 -0
  91. package/dist/mcp-slate-ui-script-designs.d.ts.map +1 -0
  92. package/dist/mcp-slate-ui-script-designs.js +365 -0
  93. package/dist/mcp-slate-ui-script-designs.js.map +1 -0
  94. package/dist/mcp-slate-ui-script-edit.d.ts +9 -0
  95. package/dist/mcp-slate-ui-script-edit.d.ts.map +1 -0
  96. package/dist/mcp-slate-ui-script-edit.js +71 -0
  97. package/dist/mcp-slate-ui-script-edit.js.map +1 -0
  98. package/dist/mcp-slate-ui-script-inline.d.ts +3 -9
  99. package/dist/mcp-slate-ui-script-inline.d.ts.map +1 -1
  100. package/dist/mcp-slate-ui-script-inline.js +28 -155
  101. package/dist/mcp-slate-ui-script-inline.js.map +1 -1
  102. package/dist/mcp-slate-ui-script-inspiration-collage.d.ts +13 -12
  103. package/dist/mcp-slate-ui-script-inspiration-collage.d.ts.map +1 -1
  104. package/dist/mcp-slate-ui-script-inspiration-collage.js +24 -24
  105. package/dist/mcp-slate-ui-script-inspiration-collage.js.map +1 -1
  106. package/dist/mcp-slate-ui-script-inspiration-gallery.d.ts +23 -0
  107. package/dist/mcp-slate-ui-script-inspiration-gallery.d.ts.map +1 -0
  108. package/dist/mcp-slate-ui-script-inspiration-gallery.js +221 -0
  109. package/dist/mcp-slate-ui-script-inspiration-gallery.js.map +1 -0
  110. package/dist/mcp-slate-ui-script-inspiration-grid.d.ts +14 -21
  111. package/dist/mcp-slate-ui-script-inspiration-grid.d.ts.map +1 -1
  112. package/dist/mcp-slate-ui-script-inspiration-grid.js +124 -196
  113. package/dist/mcp-slate-ui-script-inspiration-grid.js.map +1 -1
  114. package/dist/mcp-slate-ui-script-inspiration.d.ts +8 -9
  115. package/dist/mcp-slate-ui-script-inspiration.d.ts.map +1 -1
  116. package/dist/mcp-slate-ui-script-inspiration.js +213 -130
  117. package/dist/mcp-slate-ui-script-inspiration.js.map +1 -1
  118. package/dist/mcp-slate-ui-script-l10n.d.ts.map +1 -1
  119. package/dist/mcp-slate-ui-script-l10n.js +2 -0
  120. package/dist/mcp-slate-ui-script-l10n.js.map +1 -1
  121. package/dist/mcp-slate-ui-script-more.d.ts +4 -33
  122. package/dist/mcp-slate-ui-script-more.d.ts.map +1 -1
  123. package/dist/mcp-slate-ui-script-more.js +6 -279
  124. package/dist/mcp-slate-ui-script-more.js.map +1 -1
  125. package/dist/mcp-slate-ui-script-pause.d.ts +10 -6
  126. package/dist/mcp-slate-ui-script-pause.d.ts.map +1 -1
  127. package/dist/mcp-slate-ui-script-pause.js +45 -30
  128. package/dist/mcp-slate-ui-script-pause.js.map +1 -1
  129. package/dist/mcp-slate-ui-script-references.d.ts +19 -0
  130. package/dist/mcp-slate-ui-script-references.d.ts.map +1 -0
  131. package/dist/mcp-slate-ui-script-references.js +102 -0
  132. package/dist/mcp-slate-ui-script-references.js.map +1 -0
  133. package/dist/mcp-slate-ui-script-remote.d.ts +13 -12
  134. package/dist/mcp-slate-ui-script-remote.d.ts.map +1 -1
  135. package/dist/mcp-slate-ui-script-remote.js +46 -27
  136. package/dist/mcp-slate-ui-script-remote.js.map +1 -1
  137. package/dist/mcp-slate-ui-script-scribble.d.ts +2 -2
  138. package/dist/mcp-slate-ui-script-scribble.js +7 -7
  139. package/dist/mcp-slate-ui-script-select.d.ts +4 -9
  140. package/dist/mcp-slate-ui-script-select.d.ts.map +1 -1
  141. package/dist/mcp-slate-ui-script-select.js +13 -37
  142. package/dist/mcp-slate-ui-script-select.js.map +1 -1
  143. package/dist/mcp-slate-ui-script-stage.d.ts +4 -10
  144. package/dist/mcp-slate-ui-script-stage.d.ts.map +1 -1
  145. package/dist/mcp-slate-ui-script-stage.js +28 -141
  146. package/dist/mcp-slate-ui-script-stage.js.map +1 -1
  147. package/dist/mcp-slate-ui-script-state.d.ts +1 -1
  148. package/dist/mcp-slate-ui-script-state.d.ts.map +1 -1
  149. package/dist/mcp-slate-ui-script-state.js +9 -4
  150. package/dist/mcp-slate-ui-script-state.js.map +1 -1
  151. package/dist/mcp-slate-ui-script-viewer.d.ts +18 -0
  152. package/dist/mcp-slate-ui-script-viewer.d.ts.map +1 -0
  153. package/dist/mcp-slate-ui-script-viewer.js +405 -0
  154. package/dist/mcp-slate-ui-script-viewer.js.map +1 -0
  155. package/dist/mcp-slate-ui-script.d.ts +4 -5
  156. package/dist/mcp-slate-ui-script.d.ts.map +1 -1
  157. package/dist/mcp-slate-ui-script.js +12 -13
  158. package/dist/mcp-slate-ui-script.js.map +1 -1
  159. package/dist/mcp-slate-ui-styles-designs.d.ts +10 -0
  160. package/dist/mcp-slate-ui-styles-designs.d.ts.map +1 -0
  161. package/dist/mcp-slate-ui-styles-designs.js +121 -0
  162. package/dist/mcp-slate-ui-styles-designs.js.map +1 -0
  163. package/dist/mcp-slate-ui-styles-inspiration.d.ts +13 -13
  164. package/dist/mcp-slate-ui-styles-inspiration.d.ts.map +1 -1
  165. package/dist/mcp-slate-ui-styles-inspiration.js +67 -33
  166. package/dist/mcp-slate-ui-styles-inspiration.js.map +1 -1
  167. package/dist/mcp-slate-ui-styles-pause.d.ts +2 -2
  168. package/dist/mcp-slate-ui-styles-pause.d.ts.map +1 -1
  169. package/dist/mcp-slate-ui-styles-pause.js +4 -8
  170. package/dist/mcp-slate-ui-styles-pause.js.map +1 -1
  171. package/dist/mcp-slate-ui-styles-stage.d.ts +3 -22
  172. package/dist/mcp-slate-ui-styles-stage.d.ts.map +1 -1
  173. package/dist/mcp-slate-ui-styles-stage.js +6 -74
  174. package/dist/mcp-slate-ui-styles-stage.js.map +1 -1
  175. package/dist/mcp-slate-ui-styles.d.ts +12 -19
  176. package/dist/mcp-slate-ui-styles.d.ts.map +1 -1
  177. package/dist/mcp-slate-ui-styles.js +97 -100
  178. package/dist/mcp-slate-ui-styles.js.map +1 -1
  179. package/dist/mcp-slate-ui.d.ts +12 -12
  180. package/dist/mcp-slate-ui.d.ts.map +1 -1
  181. package/dist/mcp-slate-ui.js +24 -23
  182. package/dist/mcp-slate-ui.js.map +1 -1
  183. package/dist/mcp-workflow-tools.js +2 -2
  184. package/dist/mcp-workflow-tools.js.map +1 -1
  185. package/dist/review-files-server.d.ts +8 -0
  186. package/dist/review-files-server.d.ts.map +1 -0
  187. package/dist/review-files-server.js +133 -0
  188. package/dist/review-files-server.js.map +1 -0
  189. package/dist/review-page-assets.d.ts +1 -1
  190. package/dist/review-page-assets.d.ts.map +1 -1
  191. package/dist/review-page-assets.js +3 -1
  192. package/dist/review-page-assets.js.map +1 -1
  193. package/dist/review-page.d.ts +8 -1
  194. package/dist/review-page.d.ts.map +1 -1
  195. package/dist/review-page.js +32 -21
  196. package/dist/review-page.js.map +1 -1
  197. package/dist/review-server-guard.d.ts +33 -0
  198. package/dist/review-server-guard.d.ts.map +1 -0
  199. package/dist/review-server-guard.js +65 -0
  200. package/dist/review-server-guard.js.map +1 -0
  201. package/dist/review-server.d.ts +2 -0
  202. package/dist/review-server.d.ts.map +1 -1
  203. package/dist/review-server.js +45 -74
  204. package/dist/review-server.js.map +1 -1
  205. package/dist/server.d.ts.map +1 -1
  206. package/dist/server.js +2 -0
  207. package/dist/server.js.map +1 -1
  208. package/dist/slate-actions.d.ts +22 -1
  209. package/dist/slate-actions.d.ts.map +1 -1
  210. package/dist/slate-actions.js +46 -2
  211. package/dist/slate-actions.js.map +1 -1
  212. package/dist/slate-browser-host.d.ts +8 -7
  213. package/dist/slate-browser-host.d.ts.map +1 -1
  214. package/dist/slate-browser-host.js +13 -10
  215. package/dist/slate-browser-host.js.map +1 -1
  216. package/dist/slate-browser-server.d.ts.map +1 -1
  217. package/dist/slate-browser-server.js +10 -4
  218. package/dist/slate-browser-server.js.map +1 -1
  219. package/dist/slate-commit.d.ts.map +1 -1
  220. package/dist/slate-commit.js +12 -5
  221. package/dist/slate-commit.js.map +1 -1
  222. package/dist/slate-handoff.d.ts.map +1 -1
  223. package/dist/slate-handoff.js +2 -3
  224. package/dist/slate-handoff.js.map +1 -1
  225. package/dist/slate-ids.d.ts +2 -1
  226. package/dist/slate-ids.d.ts.map +1 -1
  227. package/dist/slate-ids.js +3 -2
  228. package/dist/slate-ids.js.map +1 -1
  229. package/dist/slate-reference-ids.d.ts.map +1 -1
  230. package/dist/slate-reference-ids.js +1 -0
  231. package/dist/slate-reference-ids.js.map +1 -1
  232. package/dist/slate-round-prompt.d.ts +19 -0
  233. package/dist/slate-round-prompt.d.ts.map +1 -1
  234. package/dist/slate-round-prompt.js +22 -0
  235. package/dist/slate-round-prompt.js.map +1 -1
  236. package/dist/slate-round-runner.d.ts.map +1 -1
  237. package/dist/slate-round-runner.js +16 -12
  238. package/dist/slate-round-runner.js.map +1 -1
  239. package/dist/slate-round-search.d.ts.map +1 -1
  240. package/dist/slate-round-search.js +2 -0
  241. package/dist/slate-round-search.js.map +1 -1
  242. package/dist/slate-runtime.d.ts +3 -0
  243. package/dist/slate-runtime.d.ts.map +1 -1
  244. package/dist/slate-runtime.js +1 -0
  245. package/dist/slate-runtime.js.map +1 -1
  246. package/dist/slate-site-references-capture.d.ts +20 -0
  247. package/dist/slate-site-references-capture.d.ts.map +1 -0
  248. package/dist/slate-site-references-capture.js +119 -0
  249. package/dist/slate-site-references-capture.js.map +1 -0
  250. package/dist/slate-site-references-client.d.ts +35 -0
  251. package/dist/slate-site-references-client.d.ts.map +1 -0
  252. package/dist/slate-site-references-client.js +36 -0
  253. package/dist/slate-site-references-client.js.map +1 -0
  254. package/dist/slate-site-references-local.d.ts +6 -0
  255. package/dist/slate-site-references-local.d.ts.map +1 -0
  256. package/dist/slate-site-references-local.js +63 -0
  257. package/dist/slate-site-references-local.js.map +1 -0
  258. package/dist/slate-site-references-suggest.d.ts +36 -0
  259. package/dist/slate-site-references-suggest.d.ts.map +1 -0
  260. package/dist/slate-site-references-suggest.js +144 -0
  261. package/dist/slate-site-references-suggest.js.map +1 -0
  262. package/dist/slate-site-references.d.ts +57 -0
  263. package/dist/slate-site-references.d.ts.map +1 -0
  264. package/dist/slate-site-references.js +129 -0
  265. package/dist/slate-site-references.js.map +1 -0
  266. package/dist/slate-view-contract.d.ts +29 -1
  267. package/dist/slate-view-contract.d.ts.map +1 -1
  268. package/dist/slate-view.d.ts.map +1 -1
  269. package/dist/slate-view.js +5 -0
  270. package/dist/slate-view.js.map +1 -1
  271. package/dist/slate-workspace-parse.d.ts +2 -0
  272. package/dist/slate-workspace-parse.d.ts.map +1 -1
  273. package/dist/slate-workspace-parse.js +20 -3
  274. package/dist/slate-workspace-parse.js.map +1 -1
  275. package/dist/slate-workspace-types.d.ts +17 -2
  276. package/dist/slate-workspace-types.d.ts.map +1 -1
  277. package/dist/workflow/adapter-12ui.js +1 -1
  278. package/dist/workflow/adapter-12ui.js.map +1 -1
  279. package/dist/workflow/adapters.d.ts.map +1 -1
  280. package/dist/workflow/adapters.js +3 -3
  281. package/dist/workflow/adapters.js.map +1 -1
  282. package/dist/workflow/providers.js +2 -2
  283. package/dist/workflow/providers.js.map +1 -1
  284. package/dist/workflow/routing.d.ts +8 -1
  285. package/dist/workflow/routing.d.ts.map +1 -1
  286. package/dist/workflow/routing.js +9 -2
  287. package/dist/workflow/routing.js.map +1 -1
  288. package/dist/workflow/types.d.ts +5 -2
  289. package/dist/workflow/types.d.ts.map +1 -1
  290. package/dist/workflow/types.js.map +1 -1
  291. package/dist/workflow-transport.d.ts.map +1 -1
  292. package/dist/workflow-transport.js +4 -2
  293. package/dist/workflow-transport.js.map +1 -1
  294. package/dist/workspace-draw-messages.d.ts +27 -5
  295. package/dist/workspace-draw-messages.d.ts.map +1 -1
  296. package/dist/workspace-draw-messages.js +29 -3
  297. package/dist/workspace-draw-messages.js.map +1 -1
  298. package/dist/workspace-draw-run.d.ts +12 -0
  299. package/dist/workspace-draw-run.d.ts.map +1 -1
  300. package/dist/workspace-draw-run.js +47 -18
  301. package/dist/workspace-draw-run.js.map +1 -1
  302. package/dist/workspace-draw-types.d.ts +2 -1
  303. package/dist/workspace-draw-types.d.ts.map +1 -1
  304. package/dist/workspace-draw-types.js +1 -0
  305. package/dist/workspace-draw-types.js.map +1 -1
  306. package/dist/workspace-runner-main.d.ts +5 -0
  307. package/dist/workspace-runner-main.d.ts.map +1 -1
  308. package/dist/workspace-runner-main.js +15 -3
  309. package/dist/workspace-runner-main.js.map +1 -1
  310. package/open-design.json +2 -13
  311. package/package.json +1 -1
  312. package/skills/12ui-design/SKILL.md +7 -8
  313. package/dist/mcp-slate-ui-script-dialog.d.ts +0 -21
  314. package/dist/mcp-slate-ui-script-dialog.d.ts.map +0 -1
  315. package/dist/mcp-slate-ui-script-dialog.js +0 -351
  316. package/dist/mcp-slate-ui-script-dialog.js.map +0 -1
  317. package/dist/mcp-slate-ui-script-progress.d.ts +0 -7
  318. package/dist/mcp-slate-ui-script-progress.d.ts.map +0 -1
  319. package/dist/mcp-slate-ui-script-progress.js +0 -9
  320. package/dist/mcp-slate-ui-script-progress.js.map +0 -1
  321. package/dist/mcp-slate-ui-styles-dialog.d.ts +0 -20
  322. package/dist/mcp-slate-ui-styles-dialog.d.ts.map +0 -1
  323. package/dist/mcp-slate-ui-styles-dialog.js +0 -87
  324. package/dist/mcp-slate-ui-styles-dialog.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-slate-ui-styles-designs.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-designs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GhD,CAAC"}
@@ -1,18 +1,18 @@
1
1
  /**
2
- * The Inspiration tab. The reference tiles are a collage: the script places each
3
- * tile at its picture's own aspect ratio in bands as wide as the grid
4
- * (`mcp-slate-ui-script-inspiration-collage.ts` holds the sizes), so the grid is
5
- * a positioned box and its tiles are absolute; the picture fills its tile (the
6
- * `.thumb` rule contains it, so a recorded ratio that is off shows the whole
7
- * picture). A reference a round used carries a badge at its lower left and
8
- * a ring in the accent colour inside its edge; a selected one keeps the outer
9
- * ring and the check at its upper right, so the two read apart when a tile is
10
- * both.
2
+ * The Inspiration tab, its gallery and the large view (the References tab reuses the gallery and the large view).
11
3
  *
12
- * In the card the results scroll inside themselves (the host grows the frame
13
- * and never scrolls the thread, so a long page would push the card out of
14
- * sight); Generate sits under them. In the workspace the page scrolls and
15
- * Generate sticks to the bottom of the window.
4
+ * - The gallery is a column of collage blocks, one per page: the script places each tile at its picture's own aspect
5
+ * ratio in bands as wide as the grid (`mcp-slate-ui-script-inspiration-collage.ts` holds the sizes and the gap), so a
6
+ * block is a positioned box and its tiles are absolute; the picture fills its tile. No captions.
7
+ * - A selected tile is unmistakable: a thick ring in the host's accent hugging the picture (an overlay, so nothing
8
+ * shifts in the packed collage, with a hairline of the ground inside it so it reads on a dark screenshot too) and a
9
+ * filled check in the top-left corner. The expand control sits in the top-right corner: it shows on hover where
10
+ * there is a pointer, and always on a touch screen.
11
+ * - In the card the results scroll inside themselves (the host grows the frame and never scrolls the thread, so a long
12
+ * page would push the card out of sight) and the tray sits under them; in the workspace the page scrolls and the
13
+ * tray sticks to the bottom of the window.
14
+ * - The large view covers the frame in the workspace's own colours, like the Designs tab's: a bar with the position,
15
+ * Select or Selected and close, then the picture on a quiet port with previous and next at its sides.
16
16
  */
17
17
  export declare const SLATE_UI_INSPIRATION_STYLES: string;
18
18
  //# sourceMappingURL=mcp-slate-ui-styles-inspiration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-inspiration.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-inspiration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,2BAA2B,QAyBvC,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-inspiration.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-inspiration.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,2BAA2B,QA2DvC,CAAC"}
@@ -1,43 +1,77 @@
1
1
  /**
2
- * The Inspiration tab. The reference tiles are a collage: the script places each
3
- * tile at its picture's own aspect ratio in bands as wide as the grid
4
- * (`mcp-slate-ui-script-inspiration-collage.ts` holds the sizes), so the grid is
5
- * a positioned box and its tiles are absolute; the picture fills its tile (the
6
- * `.thumb` rule contains it, so a recorded ratio that is off shows the whole
7
- * picture). A reference a round used carries a badge at its lower left and
8
- * a ring in the accent colour inside its edge; a selected one keeps the outer
9
- * ring and the check at its upper right, so the two read apart when a tile is
10
- * both.
2
+ * The Inspiration tab, its gallery and the large view (the References tab reuses the gallery and the large view).
11
3
  *
12
- * In the card the results scroll inside themselves (the host grows the frame
13
- * and never scrolls the thread, so a long page would push the card out of
14
- * sight); Generate sits under them. In the workspace the page scrolls and
15
- * Generate sticks to the bottom of the window.
4
+ * - The gallery is a column of collage blocks, one per page: the script places each tile at its picture's own aspect
5
+ * ratio in bands as wide as the grid (`mcp-slate-ui-script-inspiration-collage.ts` holds the sizes and the gap), so a
6
+ * block is a positioned box and its tiles are absolute; the picture fills its tile. No captions.
7
+ * - A selected tile is unmistakable: a thick ring in the host's accent hugging the picture (an overlay, so nothing
8
+ * shifts in the packed collage, with a hairline of the ground inside it so it reads on a dark screenshot too) and a
9
+ * filled check in the top-left corner. The expand control sits in the top-right corner: it shows on hover where
10
+ * there is a pointer, and always on a touch screen.
11
+ * - In the card the results scroll inside themselves (the host grows the frame and never scrolls the thread, so a long
12
+ * page would push the card out of sight) and the tray sits under them; in the workspace the page scrolls and the
13
+ * tray sticks to the bottom of the window.
14
+ * - The large view covers the frame in the workspace's own colours, like the Designs tab's: a bar with the position,
15
+ * Select or Selected and close, then the picture on a quiet port with previous and next at its sides.
16
16
  */
17
17
  export const SLATE_UI_INSPIRATION_STYLES = String.raw `
18
- .searchrow { display: flex; gap: 8px; min-width: 0; }
19
- .searchrow .query { flex: 1 1 0; min-width: 0; }
20
18
  .insp { container-type: inline-size; }
21
- .insphow { margin: 6px 0 0; font-size: 12px; color: var(--text2); overflow-wrap: anywhere; }
22
- .insp .status:empty { min-height: 0; margin: 0; }
23
- .results { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
19
+ .refs { container-type: inline-size; }
20
+ .insp > .status { margin: 0 0 10px; }
21
+ .results { min-width: 0; }
24
22
  /* The gutter is kept, so the scroll bar coming and going never changes the collage's width. */
25
- .insp.card .results { max-height: max(360px, 75cqw); overflow-y: auto; scrollbar-gutter: stable; padding: 3px; margin-top: 9px; }
26
- .refhead { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
27
- .refgrid { position: relative; }
28
- .refgrid > .refbtn, .refgrid > .skeleton { position: absolute; }
29
- .skeleton { border-radius: 6px; background: var(--bg2); }
30
- .refbtn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
31
- /* Drawn over the picture, which fills the tile and would hide an inset shadow on the button itself. */
32
- .refbtn.used::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ring); pointer-events: none; }
33
- .check { position: absolute; top: 6px; right: 6px; display: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--inverse); color: var(--inverse-text); }
23
+ .insp.card .results { max-height: max(360px, 72cqw); overflow-y: auto; scrollbar-gutter: stable; padding: 2px; }
24
+ .gallery { display: flex; flex-direction: column; gap: 16px; min-width: 0; transition: opacity .15s; }
25
+ .insp.searching .gallery { opacity: .45; }
26
+ .gend { height: 1px; }
27
+ .refgrid { position: relative; min-width: 0; }
28
+ .refgrid > .gtile { position: absolute; }
29
+ .refbtn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); background: var(--fill); overflow: hidden; cursor: pointer; }
30
+ button.refbtn:hover:not(:disabled) { background: var(--fill); }
31
+ .gtile .thumb:not([src]) { visibility: hidden; }
32
+ .refbtn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--border2); pointer-events: none; }
33
+ .refbtn[aria-pressed="true"]::after { box-shadow: inset 0 0 0 3px var(--ring), inset 0 0 0 4.5px var(--bg); animation: picked .16s ease-out both; }
34
+ @keyframes picked { from { opacity: 0; } to { opacity: 1; } }
35
+ .refbtn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
36
+ .check { position: absolute; top: 10px; left: 10px; z-index: 1; display: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--inverse-text); background: var(--accent-solid); box-shadow: 0 0 0 2px var(--bg); }
34
37
  .refbtn[aria-pressed="true"] .check { display: grid; }
35
- .usedbadge { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 1px 8px; border-radius: 9px; background: var(--inverse); color: var(--inverse-text); font-size: 11px; font-weight: 600; line-height: 16px; text-align: left; overflow-wrap: anywhere; }
36
- .placeholder { display: grid; place-items: center; min-height: 160px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--text2); padding: 16px; text-align: center; }
37
- .inspbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); background: var(--bg); }
38
- .inspbar .help { flex: 1 1 200px; min-width: 0; }
39
- .inspbar button { flex: none; }
38
+ .zoombtn { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; color: var(--text); background: var(--bg); box-shadow: var(--elev); }
39
+ button.zoombtn:hover:not(:disabled) { background: var(--bg); color: var(--text); }
40
+ .zoombtn svg { width: 15px; height: 15px; }
41
+ @media (hover: hover) { .gtile .zoombtn { opacity: 0; transition: opacity .12s; } .gtile:hover .zoombtn, .gtile .zoombtn:focus-visible { opacity: 1; } }
42
+ .skelgrid:empty { display: none; }
43
+ .skelgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
44
+ .skelgrid > .skeleton { height: 160px; border-radius: var(--radius); }
45
+ .placeholder { display: grid; place-items: center; min-height: 160px; border-radius: var(--radius); background: var(--fill); color: var(--text2); padding: 16px; text-align: center; font-size: var(--fs-sm); }
46
+ /* The tray: the picks, the countdown while a round waits, and the one action. */
47
+ .tray { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border2); background: var(--bg); min-width: 0; }
48
+ .traypicks { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
49
+ .traypicks:empty { display: none; }
50
+ .traypick { position: relative; width: 54px; height: 38px; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: var(--fill); box-shadow: inset 0 0 0 2px var(--ring); }
51
+ .traypick .thumb { border-radius: inherit; }
52
+ .trayx { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: var(--text); background: var(--bg); box-shadow: var(--elev); }
53
+ .trayx svg { width: 9px; height: 9px; }
54
+ .trayclock { font-size: var(--fs-sm); color: var(--text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
55
+ .trayclock:empty { display: none; }
56
+ .tray > button { flex: none; margin-left: auto; padding: 8px 18px; border-radius: 999px; }
40
57
  /* Sticky in the workspace, and 4 px wider than the grid on each side, so a selected tile's ring never shows past it. */
41
- .insp.stage .inspbar { position: sticky; bottom: 0; z-index: 1; margin: 12px -4px 0; padding: 10px 4px 12px; }
58
+ .insp.stage .tray { position: sticky; bottom: 0; z-index: 3; margin: 16px -4px 0; padding: 12px 4px 14px; }
59
+ /* The large view. */
60
+ .bigview { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 16px; background: var(--bg); color: var(--text); }
61
+ .bvbar { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; }
62
+ .bvcount { font-size: var(--fs-sm); color: var(--text2); font-variant-numeric: tabular-nums; }
63
+ .bvpick { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; }
64
+ .bvpick.on { border-color: var(--ring); box-shadow: inset 0 0 0 1px var(--ring); }
65
+ .bvpick.on svg { color: var(--accent-solid); }
66
+ .bvview { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px 64px; border-radius: 12px; background: var(--fill); }
67
+ .bvimg { display: block; max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; box-shadow: var(--elev-lg); user-select: none; -webkit-user-drag: none; }
68
+ .bvimg:not([src]) { visibility: hidden; }
69
+ button.bvnav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--text); background: var(--bg); box-shadow: var(--elev); }
70
+ button.bvnav:hover:not(:disabled) { background: var(--bg); }
71
+ .bvnav:disabled { opacity: .3; }
72
+ .bvprev { left: 12px; }
73
+ .bvnext { right: 12px; }
74
+ @media (max-width: 560px) { .bigview { padding: 8px; } .bvview { padding: 8px 8px 64px; } .bvimg { max-height: calc(100vh - 150px); } button.bvnav { top: auto; bottom: 10px; transform: none; } .bvprev { left: calc(50% - 50px); } .bvnext { right: calc(50% - 50px); } }
75
+ @media (prefers-reduced-motion: reduce) { .refbtn[aria-pressed="true"]::after { animation: none; } .gallery { transition: none; } .gtile .zoombtn { transition: none; } }
42
76
  `;
43
77
  //# sourceMappingURL=mcp-slate-ui-styles-inspiration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-inspiration.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-inspiration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;CAyBpD,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-inspiration.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-inspiration.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DpD,CAAC"}
@@ -2,8 +2,8 @@
2
2
  * The inspiration pause's bar (mcp-slate-ui-script-pause.ts): the words of the countdown with Change and Continue at
3
3
  * their right, and a thin line under them that shortens once a second. Calm by design: no colour but the line's, no
4
4
  * animation but the line's one-second step, and none at all when motion is reduced (the line then jumps). In the card
5
- * the bar sits above the large image; in the workspace it is as wide as the picture; in the Inspiration tab it sits at
6
- * the foot, under the line that says how the options take the references. A tile of the waiting round shows the
5
+ * the bar sits above the large image; in the workspace it is as wide as the picture. In the Inspiration tab the tray
6
+ * carries the countdown and Continue instead (mcp-slate-ui-styles-inspiration.ts). A tile of the waiting round shows the
7
7
  * reference it will be drawn from, dimmed a little, so it never reads as a finished design.
8
8
  */
9
9
  export declare const SLATE_UI_PAUSE_STYLES: string;
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-pause.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-pause.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,QAejC,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-pause.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-pause.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,QAWjC,CAAC"}
@@ -2,24 +2,20 @@
2
2
  * The inspiration pause's bar (mcp-slate-ui-script-pause.ts): the words of the countdown with Change and Continue at
3
3
  * their right, and a thin line under them that shortens once a second. Calm by design: no colour but the line's, no
4
4
  * animation but the line's one-second step, and none at all when motion is reduced (the line then jumps). In the card
5
- * the bar sits above the large image; in the workspace it is as wide as the picture; in the Inspiration tab it sits at
6
- * the foot, under the line that says how the options take the references. A tile of the waiting round shows the
5
+ * the bar sits above the large image; in the workspace it is as wide as the picture. In the Inspiration tab the tray
6
+ * carries the countdown and Continue instead (mcp-slate-ui-styles-inspiration.ts). A tile of the waiting round shows the
7
7
  * reference it will be drawn from, dimmed a little, so it never reads as a finished design.
8
8
  */
9
9
  export const SLATE_UI_PAUSE_STYLES = String.raw `
10
10
  .pausebar { min-width: 0; }
11
- .pausebox { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; padding: 10px 12px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); overflow: hidden; }
11
+ .pausebox { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; padding: 10px 12px 12px; border-radius: var(--radius); background: var(--fill); overflow: hidden; }
12
12
  .pausetext { flex: 1 1 220px; min-width: 0; margin: 0; font-size: 13px; line-height: 1.4; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
13
13
  .pausebtns { display: flex; flex: none; gap: 8px; margin-left: auto; }
14
14
  .pausebtns button { flex: none; padding: 6px 14px; }
15
- .pauseline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bg3); }
15
+ .pauseline { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fill-hover); }
16
16
  .pauseline > span { display: block; height: 100%; background: var(--text2); transform-origin: left center; transition: transform 1s linear; }
17
17
  @media (prefers-reduced-motion: reduce) { .pauseline > span { transition: none; } }
18
18
  #pane-designs > .pausebar { margin-bottom: 12px; }
19
19
  #stage .main > .pausebar { width: var(--w); margin-left: auto; margin-right: auto; }
20
- .insp .pausebar { margin-top: 8px; }
21
- .insp.stage .pausebar { position: sticky; bottom: 0; z-index: 1; padding-bottom: 12px; background: var(--bg); }
22
- .pausechoice { margin-top: 12px; }
23
- .thumbbtn.paused .thumb, .opt.paused .thumb { opacity: .72; }
24
20
  `;
25
21
  //# sourceMappingURL=mcp-slate-ui-styles-pause.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-pause.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-pause.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;CAe9C,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-pause.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-pause.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;CAW9C,CAAC"}
@@ -1,26 +1,7 @@
1
1
  /**
2
- * The fullscreen workspace: the selection on the left, one large image with
3
- * its band and action row in the middle. The Generate more tile tops the
4
- * selection, a slim bar as wide as the thumbnails (rounds are newest first, so
5
- * it sits where the next round will land), and its panel opens under it, both
6
- * in the column's own flow: the column scrolls as one, the tile in reach at
7
- * its top, and nothing is pinned over a thumbnail. Fluid at any width
8
- * (`min-width: 0` on every grid and flex parent).
9
- *
10
- * The selection lists every round, each as a grid of equal columns no narrower
11
- * than --thumb-rail times the square root of the round's picture ratio (see
12
- * mcp-slate-ui-styles.ts), and each tile has its design's own ratio. Its
13
- * column is 168 px from 640px to 899px, where the image keeps its room in the
14
- * desktop app's default 708 px tab (one tile across); 320 px from 900px (one
15
- * 3:2 tile across, two 2:3 ones); 472 px from 1400px (two 3:2 tiles across,
16
- * three 2:3 ones). Below 640px the selection sits above the image, its rows
17
- * wrapping at the window's width and the rounds scrolling down inside a box
18
- * under half the window's height (the Generate more tile and its panel sit
19
- * above that box, at full height); nothing scrolls sideways.
20
- *
21
- * The action row is right-aligned and as wide as the picture (--ar is set by
22
- * the script on the shared parent), so Select, last, ends at the picture's
23
- * right edge.
2
+ * The fullscreen workspace: the prompt card, the tab row, then the selected tab at the window's width (the Designs tab
3
+ * and the large view are styled in mcp-slate-ui-styles-designs.ts). Fluid at any width (`min-width: 0` on every grid
4
+ * and flex parent); a wide window gets wider margins, as the inline card gets the host's.
24
5
  */
25
6
  export declare const SLATE_UI_STAGE_STYLES: string;
26
7
  //# sourceMappingURL=mcp-slate-ui-styles-stage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-stage.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-stage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,qBAAqB,QAwDjC,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-stage.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-stage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,QAOjC,CAAC"}
@@ -1,82 +1,14 @@
1
1
  /**
2
- * The fullscreen workspace: the selection on the left, one large image with
3
- * its band and action row in the middle. The Generate more tile tops the
4
- * selection, a slim bar as wide as the thumbnails (rounds are newest first, so
5
- * it sits where the next round will land), and its panel opens under it, both
6
- * in the column's own flow: the column scrolls as one, the tile in reach at
7
- * its top, and nothing is pinned over a thumbnail. Fluid at any width
8
- * (`min-width: 0` on every grid and flex parent).
9
- *
10
- * The selection lists every round, each as a grid of equal columns no narrower
11
- * than --thumb-rail times the square root of the round's picture ratio (see
12
- * mcp-slate-ui-styles.ts), and each tile has its design's own ratio. Its
13
- * column is 168 px from 640px to 899px, where the image keeps its room in the
14
- * desktop app's default 708 px tab (one tile across); 320 px from 900px (one
15
- * 3:2 tile across, two 2:3 ones); 472 px from 1400px (two 3:2 tiles across,
16
- * three 2:3 ones). Below 640px the selection sits above the image, its rows
17
- * wrapping at the window's width and the rounds scrolling down inside a box
18
- * under half the window's height (the Generate more tile and its panel sit
19
- * above that box, at full height); nothing scrolls sideways.
20
- *
21
- * The action row is right-aligned and as wide as the picture (--ar is set by
22
- * the script on the shared parent), so Select, last, ends at the picture's
23
- * right edge.
2
+ * The fullscreen workspace: the prompt card, the tab row, then the selected tab at the window's width (the Designs tab
3
+ * and the large view are styled in mcp-slate-ui-styles-designs.ts). Fluid at any width (`min-width: 0` on every grid
4
+ * and flex parent); a wide window gets wider margins, as the inline card gets the host's.
24
5
  */
25
6
  export const SLATE_UI_STAGE_STYLES = String.raw `
26
- #stage { min-width: 0; max-width: 1800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
7
+ #stage { min-width: 0; max-width: 1800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
8
+ @media (min-width: 900px) { #stage { padding: 8px 16px; gap: 20px; } }
27
9
  #stage.hidden { display: none !important; }
28
- .stagehead { display: flex; align-items: center; gap: 12px; min-width: 0; }
29
- .stagebody { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; min-width: 0; align-items: start; }
30
- /* The selection is one column that scrolls as a whole: the Generate more tile, its panel when open, then the rounds.
31
- Nothing is pinned over it, so every tile shows whole when it is scrolled into view. The padding is room for a
32
- tile's ring and focus outline, which the scrolling column would otherwise cut. */
33
- .selection { min-width: 0; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 96px); overflow-y: auto; padding: 6px; }
34
- .rail { flex: none; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
35
- .moreslot, .morehost { flex: none; min-width: 0; }
36
- /* The panel keeps the column's whole width, reaching out over its side padding: a narrow column has little room. */
37
- .morehost { margin: 0 -6px; }
38
- .morehost:empty { display: none; }
39
- /* The tile here is a slim bar as wide as the thumbnails: the plus and the words on one line, wrapping when a language
40
- needs it, so it costs one row rather than a thumbnail's height and leaves no half-empty row of the grid. */
41
- .moreslot .moretile { flex-direction: row; gap: 8px; width: 100%; min-height: 40px; padding: 8px 12px; font-size: 13px; text-align: center; }
42
- .moreslot .moretile svg { flex: none; width: 18px; height: 18px; }
43
- .moreslot .moretile span { min-width: 0; overflow-wrap: anywhere; }
44
- .round { min-width: 0; }
45
- .roundhead { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
46
- /* Each round's options share the columns of the selection's grid. */
47
- .options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(var(--thumb-rail) * var(--shape, 1))), 1fr)); gap: 10px 8px; list-style: none; margin: 0; padding: 0; }
48
- .option { min-width: 0; }
49
- .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
50
- .chip { padding: 1px 7px; font-size: 11px; font-weight: 500; }
51
- .chip.selected { background: var(--inverse); color: var(--inverse-text); border-color: var(--inverse); }
52
- .main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
53
- #stage .main { --cap: max(240px, calc(100vh - 230px)); --w: min(100%, calc(var(--cap) * var(--ar, 100))); }
54
- #stage .band, #stage .actionrow, #stage .main > .status { width: var(--w); margin-left: auto; margin-right: auto; }
55
- .band { display: flex; align-items: center; gap: 12px; min-height: 28px; min-width: 0; font-size: 13px; color: var(--text2); }
56
- .bandtext { min-width: 0; overflow-wrap: anywhere; }
10
+ .stagebody { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
57
11
  .textbtn { flex: none; padding: 2px 6px; border: 0; background: none; font-weight: 600; text-decoration: underline; }
58
- .actionrow { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 0; }
59
- .actionrow button { flex: none; }
60
- #stage .main > .status { text-align: right; }
61
12
  .inspiration { min-width: 0; max-width: 1800px; width: 100%; margin: 0 auto; }
62
- @media (min-width: 1400px) {
63
- .stagebody { grid-template-columns: 472px minmax(0, 1fr); }
64
- }
65
- @media (max-width: 480px) {
66
- .actionrow { gap: 6px; }
67
- .actionrow button { flex: 1 1 auto; padding: 8px 9px; }
68
- #stage .main > .status { text-align: left; }
69
- }
70
- @media (max-width: 899px) {
71
- .stagebody { grid-template-columns: 168px minmax(0, 1fr); gap: 12px; }
72
- }
73
- @media (max-width: 639px) {
74
- .stagebody { grid-template-columns: minmax(0, 1fr); }
75
- /* The rounds scroll down inside a box under half the window, reaching out over the column's side padding so their
76
- tiles line up with the Generate more tile above them; the tile and its panel stay above the box at full height. */
77
- .selection { max-height: none; overflow: visible; padding: 0 6px; }
78
- .rail { max-height: 45vh; overflow-y: auto; margin: 0 -6px; padding: 6px; }
79
- #stage .main { --cap: 60vh; }
80
- }
81
13
  `;
82
14
  //# sourceMappingURL=mcp-slate-ui-styles-stage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles-stage.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-stage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD9C,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles-stage.js","sourceRoot":"","sources":["../src/mcp-slate-ui-styles-stage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAO9C,CAAC"}
@@ -1,25 +1,18 @@
1
1
  /**
2
- * The workspace view's stylesheet: base and inline card (the fullscreen stage
3
- * is in mcp-slate-ui-styles-stage.ts, the dialogs in
4
- * mcp-slate-ui-styles-dialog.ts). Host variables win; the fallbacks keep the
5
- * view usable when a host passes none. System fonts only, no external
6
- * requests.
2
+ * The workspace view's stylesheet: tokens, base and the shell (the prompt card and the tab row), shared by the inline
3
+ * card and the fullscreen workspace (the stage is in mcp-slate-ui-styles-stage.ts, the Designs tab and its large view in
4
+ * mcp-slate-ui-styles-designs.ts).
7
5
  *
8
- * The layout is fluid by construction: the view never asks the host for a
9
- * width. Every flex/grid parent sets `min-width: 0` so no child can push the
10
- * frame wider than its pane, and the thumbnails wrap onto as many rows as
11
- * they need: nothing scrolls sideways.
6
+ * Every colour, border, radius and font comes from the MCP Apps standard variables the host sends
7
+ * (`hostContext.styles.variables`, which Codex sends whole, resolved for its current theme and the person's accent),
8
+ * with a neutral light and dark fallback each, keyed on `color-scheme` through `light-dark()`: the theme is
9
+ * `[data-theme]` (set by the host's shell and by `hostContext.theme`), else `window.openai.theme` (the bridge sets the
10
+ * same attribute), else `prefers-color-scheme` (a plain browser: the `12ui workspace open` page). The accent is the host's
11
+ * ring colour (selection rings), a solid accent fills the check badges, and the primary button is ink, as Codex draws
12
+ * its own. No brand colour is written here; system fonts only, no external requests.
12
13
  *
13
- * A design's thumbnail has the design's own aspect ratio (`--ar`, set by the script on each tile from its picture, or
14
- * for an option still without one from what its round draws). The strip and each round of the selection are grids of
15
- * equal columns; a column is no narrower than a size token times the square root of the row's ratio (`--shape`, also
16
- * set by the script), so tiles of any ratio have about the same area, and the columns share out what is left. The
17
- * tokens, one place each: --thumb-card (the card's strip, 124 px under a 480 px card and 170 px from it, so a 3:2
18
- * design is at least 152 or 208 px wide, a 2:3 one 101 or 139, a square one 124 or 170; at least double the picture
19
- * a 144 px square tile used to show from 480 px) and --thumb-rail (the workspace's selection, 170 px, 124 px under a
20
- * 640 px window). The container queries read the card's own width
21
- * (`main`). Every thumbnail picture (designs, inspiration, the Based on picture and the reference chips) is
22
- * `object-fit: contain`, so the whole design shows and nothing is cropped or stretched.
14
+ * The layout is fluid by construction: the view never asks the host for a width. Every flex/grid parent sets
15
+ * `min-width: 0` so no child can push the frame wider than its pane, and nothing scrolls sideways.
23
16
  */
24
17
  export declare const SLATE_UI_STYLES: string;
25
18
  //# sourceMappingURL=mcp-slate-ui-styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-slate-ui-styles.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,eAAe,QA4H3B,CAAC"}
1
+ {"version":3,"file":"mcp-slate-ui-styles.d.ts","sourceRoot":"","sources":["../src/mcp-slate-ui-styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,QAgI3B,CAAC"}