@12ui/design 0.2.79 → 0.2.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/SKILL.md +2 -8
- package/dist/cli-help/design.d.ts +1 -1
- package/dist/cli-help/design.d.ts.map +1 -1
- package/dist/cli-help/design.js +0 -1
- package/dist/cli-help/design.js.map +1 -1
- package/dist/cli-help/index.d.ts +1 -1
- package/dist/cli-workspace-draw.d.ts.map +1 -1
- package/dist/cli-workspace-draw.js +2 -0
- package/dist/cli-workspace-draw.js.map +1 -1
- package/dist/cli-workspace-runner.d.ts.map +1 -1
- package/dist/cli-workspace-runner.js +2 -1
- package/dist/cli-workspace-runner.js.map +1 -1
- package/dist/corpus-client.d.ts +3 -0
- package/dist/corpus-client.d.ts.map +1 -1
- package/dist/corpus-client.js +32 -1
- package/dist/corpus-client.js.map +1 -1
- package/dist/corpus-public-renditions.d.ts +33 -0
- package/dist/corpus-public-renditions.d.ts.map +1 -0
- package/dist/corpus-public-renditions.js +55 -0
- package/dist/corpus-public-renditions.js.map +1 -0
- package/dist/legacy-skill-catalog.d.ts.map +1 -1
- package/dist/legacy-skill-catalog.js +25 -1
- package/dist/legacy-skill-catalog.js.map +1 -1
- package/dist/mcp-slate-command.d.ts +0 -2
- package/dist/mcp-slate-command.d.ts.map +1 -1
- package/dist/mcp-slate-command.js +0 -4
- package/dist/mcp-slate-command.js.map +1 -1
- package/dist/mcp-slate-resource.d.ts.map +1 -1
- package/dist/mcp-slate-resource.js +6 -4
- package/dist/mcp-slate-resource.js.map +1 -1
- package/dist/mcp-slate-tool-defs.d.ts.map +1 -1
- package/dist/mcp-slate-tool-defs.js +8 -6
- package/dist/mcp-slate-tool-defs.js.map +1 -1
- package/dist/mcp-slate-tools.d.ts.map +1 -1
- package/dist/mcp-slate-tools.js +8 -1
- package/dist/mcp-slate-tools.js.map +1 -1
- package/dist/mcp-slate-ui-copy.d.ts +88 -208
- package/dist/mcp-slate-ui-copy.d.ts.map +1 -1
- package/dist/mcp-slate-ui-copy.js +58 -159
- package/dist/mcp-slate-ui-copy.js.map +1 -1
- package/dist/mcp-slate-ui-locales/de-DE.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/de-DE.js +44 -83
- package/dist/mcp-slate-ui-locales/de-DE.js.map +1 -1
- package/dist/mcp-slate-ui-locales/es-419.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/es-419.js +44 -83
- package/dist/mcp-slate-ui-locales/es-419.js.map +1 -1
- package/dist/mcp-slate-ui-locales/es-ES.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/es-ES.js +44 -83
- package/dist/mcp-slate-ui-locales/es-ES.js.map +1 -1
- package/dist/mcp-slate-ui-locales/fr-FR.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/fr-FR.js +44 -83
- package/dist/mcp-slate-ui-locales/fr-FR.js.map +1 -1
- package/dist/mcp-slate-ui-locales/hi-IN.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/hi-IN.js +44 -83
- package/dist/mcp-slate-ui-locales/hi-IN.js.map +1 -1
- package/dist/mcp-slate-ui-locales/it-IT.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/it-IT.js +44 -83
- package/dist/mcp-slate-ui-locales/it-IT.js.map +1 -1
- package/dist/mcp-slate-ui-locales/ja-JP.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/ja-JP.js +44 -83
- package/dist/mcp-slate-ui-locales/ja-JP.js.map +1 -1
- package/dist/mcp-slate-ui-locales/ko-KR.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/ko-KR.js +44 -83
- package/dist/mcp-slate-ui-locales/ko-KR.js.map +1 -1
- package/dist/mcp-slate-ui-locales/pt-BR.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/pt-BR.js +44 -83
- package/dist/mcp-slate-ui-locales/pt-BR.js.map +1 -1
- package/dist/mcp-slate-ui-locales/zh-CN.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/zh-CN.js +44 -83
- package/dist/mcp-slate-ui-locales/zh-CN.js.map +1 -1
- package/dist/mcp-slate-ui-locales/zh-TW.d.ts.map +1 -1
- package/dist/mcp-slate-ui-locales/zh-TW.js +44 -83
- package/dist/mcp-slate-ui-locales/zh-TW.js.map +1 -1
- package/dist/mcp-slate-ui-script-bridge.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-bridge.js +19 -7
- package/dist/mcp-slate-ui-script-bridge.js.map +1 -1
- package/dist/mcp-slate-ui-script-browser.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-browser.js +0 -3
- package/dist/mcp-slate-ui-script-browser.js.map +1 -1
- package/dist/mcp-slate-ui-script-designs.d.ts +17 -0
- package/dist/mcp-slate-ui-script-designs.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-designs.js +365 -0
- package/dist/mcp-slate-ui-script-designs.js.map +1 -0
- package/dist/mcp-slate-ui-script-edit.d.ts +9 -0
- package/dist/mcp-slate-ui-script-edit.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-edit.js +71 -0
- package/dist/mcp-slate-ui-script-edit.js.map +1 -0
- package/dist/mcp-slate-ui-script-inline.d.ts +3 -9
- package/dist/mcp-slate-ui-script-inline.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inline.js +28 -155
- package/dist/mcp-slate-ui-script-inline.js.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration-collage.d.ts +13 -12
- package/dist/mcp-slate-ui-script-inspiration-collage.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration-collage.js +24 -24
- package/dist/mcp-slate-ui-script-inspiration-collage.js.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration-gallery.d.ts +23 -0
- package/dist/mcp-slate-ui-script-inspiration-gallery.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration-gallery.js +221 -0
- package/dist/mcp-slate-ui-script-inspiration-gallery.js.map +1 -0
- package/dist/mcp-slate-ui-script-inspiration-grid.d.ts +14 -21
- package/dist/mcp-slate-ui-script-inspiration-grid.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration-grid.js +124 -196
- package/dist/mcp-slate-ui-script-inspiration-grid.js.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration.d.ts +8 -9
- package/dist/mcp-slate-ui-script-inspiration.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-inspiration.js +213 -130
- package/dist/mcp-slate-ui-script-inspiration.js.map +1 -1
- package/dist/mcp-slate-ui-script-l10n.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-l10n.js +2 -0
- package/dist/mcp-slate-ui-script-l10n.js.map +1 -1
- package/dist/mcp-slate-ui-script-more.d.ts +4 -33
- package/dist/mcp-slate-ui-script-more.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-more.js +6 -279
- package/dist/mcp-slate-ui-script-more.js.map +1 -1
- package/dist/mcp-slate-ui-script-pause.d.ts +10 -6
- package/dist/mcp-slate-ui-script-pause.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-pause.js +45 -30
- package/dist/mcp-slate-ui-script-pause.js.map +1 -1
- package/dist/mcp-slate-ui-script-references.d.ts +19 -0
- package/dist/mcp-slate-ui-script-references.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-references.js +102 -0
- package/dist/mcp-slate-ui-script-references.js.map +1 -0
- package/dist/mcp-slate-ui-script-remote.d.ts +13 -12
- package/dist/mcp-slate-ui-script-remote.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-remote.js +46 -27
- package/dist/mcp-slate-ui-script-remote.js.map +1 -1
- package/dist/mcp-slate-ui-script-scribble.d.ts +2 -2
- package/dist/mcp-slate-ui-script-scribble.js +7 -7
- package/dist/mcp-slate-ui-script-select.d.ts +4 -9
- package/dist/mcp-slate-ui-script-select.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-select.js +13 -37
- package/dist/mcp-slate-ui-script-select.js.map +1 -1
- package/dist/mcp-slate-ui-script-stage.d.ts +4 -10
- package/dist/mcp-slate-ui-script-stage.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-stage.js +28 -141
- package/dist/mcp-slate-ui-script-stage.js.map +1 -1
- package/dist/mcp-slate-ui-script-state.d.ts +1 -1
- package/dist/mcp-slate-ui-script-state.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script-state.js +9 -4
- package/dist/mcp-slate-ui-script-state.js.map +1 -1
- package/dist/mcp-slate-ui-script-viewer.d.ts +18 -0
- package/dist/mcp-slate-ui-script-viewer.d.ts.map +1 -0
- package/dist/mcp-slate-ui-script-viewer.js +405 -0
- package/dist/mcp-slate-ui-script-viewer.js.map +1 -0
- package/dist/mcp-slate-ui-script.d.ts +4 -5
- package/dist/mcp-slate-ui-script.d.ts.map +1 -1
- package/dist/mcp-slate-ui-script.js +12 -13
- package/dist/mcp-slate-ui-script.js.map +1 -1
- package/dist/mcp-slate-ui-styles-designs.d.ts +10 -0
- package/dist/mcp-slate-ui-styles-designs.d.ts.map +1 -0
- package/dist/mcp-slate-ui-styles-designs.js +121 -0
- package/dist/mcp-slate-ui-styles-designs.js.map +1 -0
- package/dist/mcp-slate-ui-styles-inspiration.d.ts +13 -13
- package/dist/mcp-slate-ui-styles-inspiration.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles-inspiration.js +67 -33
- package/dist/mcp-slate-ui-styles-inspiration.js.map +1 -1
- package/dist/mcp-slate-ui-styles-pause.d.ts +2 -2
- package/dist/mcp-slate-ui-styles-pause.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles-pause.js +4 -8
- package/dist/mcp-slate-ui-styles-pause.js.map +1 -1
- package/dist/mcp-slate-ui-styles-stage.d.ts +3 -22
- package/dist/mcp-slate-ui-styles-stage.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles-stage.js +6 -74
- package/dist/mcp-slate-ui-styles-stage.js.map +1 -1
- package/dist/mcp-slate-ui-styles.d.ts +12 -19
- package/dist/mcp-slate-ui-styles.d.ts.map +1 -1
- package/dist/mcp-slate-ui-styles.js +97 -100
- package/dist/mcp-slate-ui-styles.js.map +1 -1
- package/dist/mcp-slate-ui.d.ts +12 -12
- package/dist/mcp-slate-ui.d.ts.map +1 -1
- package/dist/mcp-slate-ui.js +24 -23
- package/dist/mcp-slate-ui.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/slate-actions.d.ts +22 -1
- package/dist/slate-actions.d.ts.map +1 -1
- package/dist/slate-actions.js +46 -2
- package/dist/slate-actions.js.map +1 -1
- package/dist/slate-browser-host-script.d.ts +2 -1
- package/dist/slate-browser-host-script.d.ts.map +1 -1
- package/dist/slate-browser-host-script.js +4 -3
- package/dist/slate-browser-host-script.js.map +1 -1
- package/dist/slate-browser-host.d.ts +21 -2
- package/dist/slate-browser-host.d.ts.map +1 -1
- package/dist/slate-browser-host.js +38 -5
- package/dist/slate-browser-host.js.map +1 -1
- package/dist/slate-browser-server.d.ts +2 -2
- package/dist/slate-browser-server.d.ts.map +1 -1
- package/dist/slate-browser-server.js +13 -12
- package/dist/slate-browser-server.js.map +1 -1
- package/dist/slate-commit.d.ts.map +1 -1
- package/dist/slate-commit.js +12 -5
- package/dist/slate-commit.js.map +1 -1
- package/dist/slate-handoff.d.ts.map +1 -1
- package/dist/slate-handoff.js +2 -3
- package/dist/slate-handoff.js.map +1 -1
- package/dist/slate-ids.d.ts +2 -1
- package/dist/slate-ids.d.ts.map +1 -1
- package/dist/slate-ids.js +3 -2
- package/dist/slate-ids.js.map +1 -1
- package/dist/slate-reference-ids.d.ts.map +1 -1
- package/dist/slate-reference-ids.js +1 -0
- package/dist/slate-reference-ids.js.map +1 -1
- package/dist/slate-round-prompt.d.ts +19 -0
- package/dist/slate-round-prompt.d.ts.map +1 -1
- package/dist/slate-round-prompt.js +22 -0
- package/dist/slate-round-prompt.js.map +1 -1
- package/dist/slate-round-runner.d.ts.map +1 -1
- package/dist/slate-round-runner.js +16 -12
- package/dist/slate-round-runner.js.map +1 -1
- package/dist/slate-round-search.d.ts.map +1 -1
- package/dist/slate-round-search.js +2 -0
- package/dist/slate-round-search.js.map +1 -1
- package/dist/slate-runtime.d.ts +3 -0
- package/dist/slate-runtime.d.ts.map +1 -1
- package/dist/slate-runtime.js +1 -0
- package/dist/slate-runtime.js.map +1 -1
- package/dist/slate-site-references-capture.d.ts +20 -0
- package/dist/slate-site-references-capture.d.ts.map +1 -0
- package/dist/slate-site-references-capture.js +119 -0
- package/dist/slate-site-references-capture.js.map +1 -0
- package/dist/slate-site-references-client.d.ts +35 -0
- package/dist/slate-site-references-client.d.ts.map +1 -0
- package/dist/slate-site-references-client.js +36 -0
- package/dist/slate-site-references-client.js.map +1 -0
- package/dist/slate-site-references-local.d.ts +6 -0
- package/dist/slate-site-references-local.d.ts.map +1 -0
- package/dist/slate-site-references-local.js +63 -0
- package/dist/slate-site-references-local.js.map +1 -0
- package/dist/slate-site-references-suggest.d.ts +36 -0
- package/dist/slate-site-references-suggest.d.ts.map +1 -0
- package/dist/slate-site-references-suggest.js +144 -0
- package/dist/slate-site-references-suggest.js.map +1 -0
- package/dist/slate-site-references.d.ts +57 -0
- package/dist/slate-site-references.d.ts.map +1 -0
- package/dist/slate-site-references.js +129 -0
- package/dist/slate-site-references.js.map +1 -0
- package/dist/slate-view-contract.d.ts +29 -1
- package/dist/slate-view-contract.d.ts.map +1 -1
- package/dist/slate-view.d.ts.map +1 -1
- package/dist/slate-view.js +5 -0
- package/dist/slate-view.js.map +1 -1
- package/dist/slate-workspace-parse.d.ts +2 -0
- package/dist/slate-workspace-parse.d.ts.map +1 -1
- package/dist/slate-workspace-parse.js +20 -3
- package/dist/slate-workspace-parse.js.map +1 -1
- package/dist/slate-workspace-types.d.ts +17 -2
- package/dist/slate-workspace-types.d.ts.map +1 -1
- package/dist/workspace-draw-messages.d.ts +27 -5
- package/dist/workspace-draw-messages.d.ts.map +1 -1
- package/dist/workspace-draw-messages.js +29 -3
- package/dist/workspace-draw-messages.js.map +1 -1
- package/dist/workspace-draw-run.d.ts +12 -0
- package/dist/workspace-draw-run.d.ts.map +1 -1
- package/dist/workspace-draw-run.js +47 -18
- package/dist/workspace-draw-run.js.map +1 -1
- package/dist/workspace-draw-types.d.ts +2 -1
- package/dist/workspace-draw-types.d.ts.map +1 -1
- package/dist/workspace-draw-types.js +1 -0
- package/dist/workspace-draw-types.js.map +1 -1
- package/dist/workspace-runner-main.d.ts +5 -0
- package/dist/workspace-runner-main.d.ts.map +1 -1
- package/dist/workspace-runner-main.js +15 -3
- package/dist/workspace-runner-main.js.map +1 -1
- package/open-design.json +2 -13
- package/package.json +1 -1
- package/skills/12ui-design/SKILL.md +8 -11
- package/skills/12ui-design/scene.md +3 -9
- package/dist/mcp-slate-ui-script-dialog.d.ts +0 -21
- package/dist/mcp-slate-ui-script-dialog.d.ts.map +0 -1
- package/dist/mcp-slate-ui-script-dialog.js +0 -351
- package/dist/mcp-slate-ui-script-dialog.js.map +0 -1
- package/dist/mcp-slate-ui-script-progress.d.ts +0 -7
- package/dist/mcp-slate-ui-script-progress.d.ts.map +0 -1
- package/dist/mcp-slate-ui-script-progress.js +0 -9
- package/dist/mcp-slate-ui-script-progress.js.map +0 -1
- package/dist/mcp-slate-ui-styles-dialog.d.ts +0 -20
- package/dist/mcp-slate-ui-styles-dialog.d.ts.map +0 -1
- package/dist/mcp-slate-ui-styles-dialog.js +0 -87
- 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
|
|
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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
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":"
|
|
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
|
|
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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
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
|
-
.
|
|
22
|
-
.insp .status
|
|
23
|
-
.results {
|
|
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,
|
|
26
|
-
.
|
|
27
|
-
.
|
|
28
|
-
.
|
|
29
|
-
.
|
|
30
|
-
.
|
|
31
|
-
|
|
32
|
-
.refbtn
|
|
33
|
-
.
|
|
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
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
38
|
-
.
|
|
39
|
-
.
|
|
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 .
|
|
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":"
|
|
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
|
|
6
|
-
*
|
|
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,
|
|
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
|
|
6
|
-
*
|
|
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
|
|
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(--
|
|
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
|
|
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
|
|
3
|
-
*
|
|
4
|
-
*
|
|
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
|
|
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
|
|
3
|
-
*
|
|
4
|
-
*
|
|
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:
|
|
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
|
-
.
|
|
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
|
|
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
|
|
3
|
-
* is in mcp-slate-ui-styles-stage.ts, the
|
|
4
|
-
* mcp-slate-ui-styles-
|
|
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
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
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
|
-
*
|
|
14
|
-
*
|
|
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
|
|
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"}
|