@jxsuite/studio 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/data/elements-meta.json +5 -15
- package/data/html-meta.json +51 -6
- package/dist/chunks/{2020-xp8vnwma.js → 2020-g79n01v9.js} +14 -14
- package/dist/chunks/action-group-sp6tna8v.js +118 -0
- package/dist/chunks/adapter-nj7tnjfn.js +13 -0
- package/dist/chunks/cf-account-picker-fyf63pmy.js +495 -0
- package/dist/chunks/cf-settings-71bv5zn9.js +20 -0
- package/dist/chunks/color-area-v17df7b8.js +154 -0
- package/dist/chunks/color-field-anwybnkn.js +208 -0
- package/dist/chunks/color-slider-44ez96fc.js +79 -0
- package/dist/chunks/color-xgg3kfw7.js +35 -0
- package/dist/chunks/combobox-5e7jev23.js +236 -0
- package/dist/chunks/components-2w1f35qs.js +18 -0
- package/dist/chunks/content-source-3wqeas45.js +46 -0
- package/dist/chunks/convert-to-repeater-d0cgnb6d.js +639 -0
- package/dist/chunks/dialog-s890b918.js +85 -0
- package/dist/chunks/editor-3qhbg51x.js +35 -0
- package/dist/chunks/entry-commands-d6g50j7s.js +42 -0
- package/dist/chunks/extension-sections-fy7q4fe9.js +651 -0
- package/dist/chunks/file-ops-3btj6st0.js +47 -0
- package/dist/chunks/files-ef8fgs3w.js +72 -0
- package/dist/chunks/format-host-3c33nwr8.js +40 -0
- package/dist/chunks/fs-events-13tj6sex.js +18 -0
- package/dist/chunks/git-panel-4wp2rn9b.js +49 -0
- package/dist/chunks/icons-yy10wk9r.js +402 -0
- package/dist/chunks/iframe-entry-15g3n6xv.js +114 -0
- package/dist/chunks/iframe-entry-b27vq81n.js +203 -0
- package/dist/chunks/iframe-entry-nbyxee1y.js +154 -0
- package/dist/chunks/iframe-host-jgesd924.js +115 -0
- package/dist/chunks/{index-nj44jpzj.js → index-mdmyx6s2.js} +11 -11
- package/dist/chunks/index-n4j7qxyr.js +109 -0
- package/dist/chunks/{javascript-q8kpmfah.js → javascript-xvrfrpkb.js} +8 -9
- package/dist/chunks/{jsonMode-dkr040ga.js → jsonMode-tyx2kj6p.js} +526 -527
- package/dist/chunks/jx-validate-j0wxk72w.js +15 -0
- package/dist/chunks/layers-1nq5evsh.js +29 -0
- package/dist/chunks/layers-panel-ar2gh90g.js +40 -0
- package/dist/chunks/listbox-6v2ac08j.js +44 -0
- package/dist/chunks/lit-html-m244w9nh.js +17 -0
- package/dist/chunks/media-picker-2qbetq73.js +33 -0
- package/dist/chunks/menu-q99sy9rf.js +285 -0
- package/dist/chunks/menu-rf7n72mf.js +14 -0
- package/dist/chunks/{monaco-binding-rj6xpx9y.js → monaco-binding-sw6en4dw.js} +12 -15
- package/dist/chunks/monaco-buffer-bhy3hb6m.js +24 -0
- package/dist/chunks/{monaco-setup-rws7k4br.js → monaco-setup-8r62fj6y.js} +27 -37
- package/dist/chunks/notify-628t0anh.js +21 -0
- package/dist/chunks/number-field-5cndyft8.js +72 -0
- package/dist/chunks/parse-0zx14y15.js +10 -0
- package/dist/chunks/platform-ts9cg1a4.js +15 -0
- package/dist/chunks/popover-47z3ytva.js +25 -0
- package/dist/chunks/publish-panel-98f7sr3g.js +27 -0
- package/dist/chunks/quick-search-srzz83k2.js +45 -0
- package/dist/chunks/references-n553f0e1.js +26 -0
- package/dist/chunks/right-panel-rrgx2dn3.js +45 -0
- package/dist/chunks/section-registry-5pq32t0q.js +25 -0
- package/dist/chunks/select-2r16ez41.js +49 -0
- package/dist/chunks/split-g7nm1rgb.js +191 -0
- package/dist/chunks/studio-0hqbpbd0.js +62 -0
- package/dist/chunks/studio-18avnhjp.js +2430 -0
- package/dist/chunks/{studio-kryvsw6j.js → studio-1k325pwf.js} +48 -48
- package/dist/chunks/{studio-hbtp0eh1.js → studio-25hkdrkw.js} +356 -85
- package/dist/chunks/studio-26d7myd1.js +258 -0
- package/dist/chunks/{studio-p8j86wag.js → studio-38emantv.js} +22 -5
- package/dist/chunks/studio-3gxv60tn.js +422 -0
- package/dist/chunks/{studio-8swrjbny.js → studio-3hxkd92t.js} +275 -163
- package/dist/chunks/studio-4m0haseg.js +185 -0
- package/dist/chunks/{studio-ynxwkrzd.js → studio-4wbb9ct0.js} +1953 -1785
- package/dist/chunks/{studio-gv8vvshc.js → studio-5523bpzt.js} +11 -11
- package/dist/chunks/{studio-5q69gfag.js → studio-57mf66w2.js} +1753 -2484
- package/dist/chunks/studio-5jy81t3s.js +17463 -0
- package/dist/chunks/studio-5rt7sqa0.js +1168 -0
- package/dist/chunks/studio-5te5tqng.js +81 -0
- package/dist/chunks/{studio-p4ngc046.js → studio-6ewqv390.js} +9 -9
- package/dist/chunks/{studio-9ab8gqsm.js → studio-6nzaktvy.js} +7 -7
- package/dist/chunks/studio-6xa21ej9.js +28 -0
- package/dist/chunks/{studio-5ehhackm.js → studio-727xh0e3.js} +19 -19
- package/dist/chunks/{studio-eenfkt4e.js → studio-79y5sz51.js} +52 -38
- package/dist/chunks/{studio-4q0wznzf.js → studio-7e11jpa9.js} +461 -145
- package/dist/chunks/{studio-q7v10cg2.js → studio-7r42c6ca.js} +17 -7
- package/dist/chunks/studio-7xptrg0j.js +954 -0
- package/dist/chunks/{studio-cft9r4r7.js → studio-81390n6f.js} +22 -22
- package/dist/chunks/{studio-q43a5y9h.js → studio-8jn5yhyn.js} +16 -16
- package/dist/chunks/studio-8qtrpzr3.js +839 -0
- package/dist/chunks/{studio-dg7zyt5x.js → studio-98b3z07n.js} +1 -1
- package/dist/chunks/studio-9xxz1q69.js +1356 -0
- package/dist/chunks/studio-akbww0j5.js +13615 -0
- package/dist/chunks/studio-arfpe389.js +195 -0
- package/dist/chunks/{studio-2zkz8evn.js → studio-az3zd49t.js} +473 -281
- package/dist/chunks/studio-cpvb2ed1.js +1171 -0
- package/dist/chunks/{studio-9r6j5ev1.js → studio-d0300636.js} +5078 -19
- package/dist/chunks/{studio-bgxt93ga.js → studio-d055c37e.js} +13 -13
- package/dist/chunks/studio-d1ja2x9r.js +362 -0
- package/dist/chunks/{studio-b9b6t1dg.js → studio-e1f24eff.js} +5664 -5666
- package/dist/chunks/{studio-4pqqxbrt.js → studio-em9nw8eh.js} +301 -112
- package/dist/chunks/studio-erdatzvp.js +1190 -0
- package/dist/chunks/{studio-g1wdche0.js → studio-esrxgwh6.js} +80 -80
- package/dist/chunks/studio-fabxk6r9.js +2811 -0
- package/dist/chunks/{studio-3n4ndrzh.js → studio-h4nvnjvz.js} +303 -303
- package/dist/chunks/studio-hhvs4sdg.js +195 -0
- package/dist/chunks/{studio-68n67094.js → studio-kcgff4r0.js} +15 -18
- package/dist/chunks/{studio-685s0ytq.js → studio-nqgawfks.js} +572 -572
- package/dist/chunks/{studio-xrapxwwc.js → studio-p1dw8wfw.js} +55 -29
- package/dist/chunks/studio-pm6hgy7r.js +4763 -0
- package/dist/chunks/studio-q0a3yk4n.js +33 -0
- package/dist/chunks/{studio-wcy8trfx.js → studio-q3x06vmj.js} +23 -22
- package/dist/chunks/studio-qahxvnan.js +111 -0
- package/dist/chunks/{studio-53n8bp04.js → studio-r6xmmtfh.js} +1 -1
- package/dist/chunks/{studio-kjjsjak4.js → studio-rkstz940.js} +3661 -6136
- package/dist/chunks/{studio-tvgyw9xw.js → studio-rnyf3f8e.js} +83 -250
- package/dist/chunks/studio-rpyah2ew.js +2805 -0
- package/dist/chunks/studio-rs76k67r.js +12 -0
- package/dist/chunks/{studio-yxrkyv8a.js → studio-s6z853aq.js} +12108 -11766
- package/dist/chunks/{studio-sf7zjgv1.js → studio-sgdc5pfc.js} +8 -8
- package/dist/chunks/studio-tb3ev01j.js +763 -0
- package/dist/chunks/{studio-t5wqwzdh.js → studio-tjjk7jvk.js} +1 -1
- package/dist/chunks/studio-vhv5tgxm.js +51 -0
- package/dist/chunks/{studio-htsf0w6m.js → studio-vz68yn9e.js} +31 -154
- package/dist/chunks/studio-wqpngpsk.js +174 -0
- package/dist/chunks/{studio-eesa1myv.js → studio-x3rty6tr.js} +58 -58
- package/dist/chunks/studio-xsykpvsh.js +8448 -0
- package/dist/chunks/{studio-92ab2jqe.js → studio-y9zedyjn.js} +14 -14
- package/dist/chunks/studio-yxa81f45.js +12 -0
- package/dist/chunks/swatch-group-t0n6h2rn.js +139 -0
- package/dist/chunks/tabs-wbp1cdws.js +156 -0
- package/dist/chunks/textfield-abk6qyee.js +73 -0
- package/dist/chunks/toast-780pvfbv.js +27 -0
- package/dist/chunks/toast-host-3sqv46sn.js +116 -0
- package/dist/chunks/toolbar-xbh5bhtr.js +194 -0
- package/dist/chunks/tooltip-eptb614w.js +369 -0
- package/dist/chunks/tree-a73p0pqm.js +367 -0
- package/dist/chunks/{tsMode-76kr53q0.js → tsMode-jy4m86rv.js} +83 -85
- package/dist/chunks/workspace-wrew8zk4.js +69 -0
- package/dist/chunks/{ws-client-6shc5rze.js → ws-client-ny4zc51r.js} +20 -22
- package/dist/iframe-entry.js +1812 -698
- package/dist/manifest.json +7 -0
- package/dist/studio.js +52900 -36573
- package/dist/workers/editor.worker.js +1040 -1085
- package/dist/workers/json.worker.js +1946 -1991
- package/dist/workers/ts.worker.js +4960 -5005
- package/favicon.ico +0 -0
- package/index.html +2 -0
- package/package.json +22 -55
- package/src/about/about-modal.ts +73 -123
- package/src/browse/library-commands.ts +20 -49
- package/src/browse/library-layouts.ts +87 -218
- package/src/browse/library-pane.ts +406 -438
- package/src/canvas/canvas-helpers.ts +0 -49
- package/src/canvas/canvas-live-render.ts +25 -2
- package/src/canvas/canvas-render.ts +666 -231
- package/src/canvas/canvas-surface.ts +0 -1
- package/src/canvas/canvas-utils.ts +310 -117
- package/src/canvas/dialog-path.ts +76 -0
- package/src/canvas/dialog-state.ts +67 -0
- package/src/canvas/diff-marks.ts +252 -0
- package/src/canvas/diff-toolbar.ts +349 -0
- package/src/canvas/diff-view.ts +123 -0
- package/src/canvas/edit-width-drag.ts +187 -0
- package/src/canvas/edit-width.ts +150 -0
- package/src/canvas/iframe-entry.ts +125 -8
- package/src/canvas/iframe-host.ts +271 -15
- package/src/canvas/iframe-interaction.ts +133 -13
- package/src/canvas/iframe-patch.ts +7 -1
- package/src/canvas/iframe-position.ts +5 -6
- package/src/canvas/iframe-protocol.ts +106 -5
- package/src/canvas/iframe-render.ts +373 -5
- package/src/canvas/iframe-slash.ts +2 -2
- package/src/canvas/iframe-subtree.ts +5 -8
- package/src/canvas/path-mapping.ts +25 -3
- package/src/canvas/popover-path.ts +106 -0
- package/src/canvas/popover-state.ts +155 -0
- package/src/canvas/surface-registry.ts +21 -10
- package/src/collab/presence-chips.ts +51 -73
- package/src/commands/app-commands.ts +10 -0
- package/src/commands/budget.ts +12 -0
- package/src/commands/command-args.ts +369 -6
- package/src/commands/defaults.ts +44 -14
- package/src/commands/live-context.ts +11 -5
- package/src/commands/reference.ts +12 -2
- package/src/commands/registry.ts +165 -8
- package/src/content/entry-commands.ts +16 -23
- package/src/content/entry-editor.ts +144 -101
- package/src/editor/canvas-slash-bridge.ts +2 -2
- package/src/editor/context-menu.ts +49 -200
- package/src/editor/convert-to-component.ts +42 -82
- package/src/editor/convert-to-repeater.ts +132 -173
- package/src/editor/inline-edit.ts +11 -0
- package/src/editor/shortcuts.ts +65 -26
- package/src/editor/slash-menu.ts +150 -157
- package/src/files/file-ops.ts +117 -11
- package/src/files/files.ts +949 -664
- package/src/files/json-layout.ts +474 -0
- package/src/files/media-paths.ts +13 -42
- package/src/files/media-usage.ts +41 -131
- package/src/files/serialize-document.ts +8 -1
- package/src/format/convert-file.ts +16 -10
- package/src/format/format-host.ts +50 -1
- package/src/github/github-auth.ts +71 -29
- package/src/github/github-publish.ts +57 -65
- package/src/grid/cell-editors.ts +46 -4
- package/src/grid/cell-popovers.ts +65 -62
- package/src/grid/grid-open.ts +86 -64
- package/src/grid/grid-panel.ts +390 -469
- package/src/grid/redirects-grid.ts +40 -44
- package/src/hosting/document.ts +2 -0
- package/src/hosting/layout.ts +10 -0
- package/src/i18n/i18n-commands.ts +127 -62
- package/src/media/media-pane.ts +83 -133
- package/src/new-project/add-repo-modal.ts +125 -176
- package/src/new-project/import-tab.ts +201 -250
- package/src/new-project/location-fields.ts +101 -165
- package/src/new-project/new-project-modal.ts +376 -367
- package/src/packages/jxsuite-update.ts +76 -18
- package/src/panels/activity-panel.ts +137 -104
- package/src/panels/ai-chat/chat-markdown.ts +15 -13
- package/src/panels/ai-chat/chat-view.ts +307 -472
- package/src/panels/ai-chat/composer.ts +175 -153
- package/src/panels/ai-chat/sessions-view.ts +31 -62
- package/src/panels/ai-panel.ts +210 -185
- package/src/panels/block-action-bar.ts +437 -643
- package/src/panels/bottom-dock.ts +112 -47
- package/src/panels/chat-panel.ts +19 -14
- package/src/panels/data-explorer.ts +141 -102
- package/src/panels/data-grid.ts +183 -150
- package/src/panels/dnd.ts +75 -20
- package/src/panels/editors.ts +26 -19
- package/src/panels/elements-panel.ts +243 -186
- package/src/panels/empty-state.ts +26 -42
- package/src/panels/events-panel.ts +950 -729
- package/src/panels/formula-workspace.ts +434 -207
- package/src/panels/frontmatter-fields.ts +185 -153
- package/src/panels/frontmatter-panel.ts +411 -187
- package/src/panels/git-diff-open.ts +148 -0
- package/src/panels/git-panel.ts +679 -605
- package/src/panels/head-panel.ts +617 -435
- package/src/panels/i18n-panel.ts +153 -133
- package/src/panels/imports-panel.ts +388 -414
- package/src/panels/jump-bar.ts +174 -147
- package/src/panels/layers-panel.ts +785 -671
- package/src/panels/left-panel.ts +166 -94
- package/src/panels/navigator-panels.ts +1 -1
- package/src/panels/pane-context.ts +529 -677
- package/src/panels/pane-grid.ts +265 -241
- package/src/panels/panel-registry.ts +15 -4
- package/src/panels/problems-panel.ts +177 -99
- package/src/panels/properties-panel.ts +1525 -966
- package/src/panels/provenance.ts +31 -113
- package/src/panels/quick-search.ts +217 -172
- package/src/panels/right-panel.ts +135 -169
- package/src/panels/seo-modal.ts +346 -167
- package/src/panels/settings-menu.ts +109 -646
- package/src/panels/settings-pane.ts +102 -86
- package/src/panels/signals-panel.ts +1318 -1172
- package/src/panels/statement-editor.ts +556 -428
- package/src/panels/style-panel.ts +1367 -630
- package/src/panels/style-utils.ts +36 -32
- package/src/panels/stylebook-doc.ts +30 -73
- package/src/panels/stylebook-layers-panel.ts +202 -109
- package/src/panels/stylebook-panel.ts +124 -88
- package/src/panels/tab-strip.ts +385 -287
- package/src/platforms/cloud.ts +347 -86
- package/src/platforms/devserver.ts +13 -0
- package/src/publish/deploy-checklist.ts +124 -78
- package/src/publish/publish-commands.ts +4 -12
- package/src/publish/publish-panel.ts +165 -299
- package/src/services/a11y-report.ts +100 -43
- package/src/services/ai-command-tools.ts +468 -0
- package/src/services/ai-import-tools.ts +50 -12
- package/src/services/ai-models.ts +108 -1
- package/src/services/ai-session-store.ts +6 -0
- package/src/services/ai-system-prompt.ts +110 -18
- package/src/services/ai-tools.ts +28 -143
- package/src/services/ai-write-report.ts +174 -0
- package/src/services/context-manager.ts +12 -1
- package/src/services/document-assistant.ts +50 -2
- package/src/services/idle.ts +16 -14
- package/src/services/live-surfaces.ts +237 -0
- package/src/services/model-uri.ts +75 -0
- package/src/services/notify.ts +63 -6
- package/src/services/popover-report.ts +325 -0
- package/src/services/surface-registry.ts +56 -0
- package/src/services/tool-executor.ts +17 -0
- package/src/settings/contexts-section.ts +301 -299
- package/src/settings/contributed-section.ts +361 -222
- package/src/settings/css-vars-editor.ts +320 -325
- package/src/settings/defs-editor.ts +572 -535
- package/src/settings/dependencies-editor.ts +79 -107
- package/src/settings/extension-commands.ts +379 -0
- package/src/settings/extension-rows.ts +113 -0
- package/src/settings/extensions-section.ts +287 -0
- package/src/settings/general-settings.ts +130 -181
- package/src/settings/head-editor.ts +10 -305
- package/src/settings/locales-section.ts +146 -196
- package/src/settings/preferences-accounts.ts +193 -12
- package/src/settings/preferences-dialog.ts +384 -307
- package/src/settings/project-sections.ts +108 -181
- package/src/settings/schema-field-ui.ts +11 -399
- package/src/settings/section-registry.ts +8 -1
- package/src/settings/settings-document.ts +31 -29
- package/src/shell/tree.ts +42 -87
- package/src/shell.ts +48 -36
- package/src/studio.ts +90 -67
- package/src/style/token-ref.ts +0 -39
- package/src/surfaces/about.json +263 -0
- package/src/surfaces/about.ts +163 -0
- package/src/surfaces/add-repo.json +486 -0
- package/src/surfaces/add-repo.ts +236 -0
- package/src/surfaces/ai-chat.json +2185 -0
- package/src/surfaces/ai-chat.ts +549 -0
- package/src/surfaces/ai-credentials-form.json +332 -0
- package/src/surfaces/ai-credentials-form.ts +151 -0
- package/src/surfaces/ai-managed-connect.json +108 -0
- package/src/surfaces/ai-managed-connect.ts +123 -0
- package/src/surfaces/ai-model-picker.json +114 -0
- package/src/surfaces/ai-model-picker.ts +139 -0
- package/src/surfaces/block-action-bar.json +640 -0
- package/src/surfaces/block-action-bar.ts +368 -0
- package/src/surfaces/bottom-dock.json +154 -0
- package/src/surfaces/bottom-dock.ts +125 -0
- package/src/surfaces/canvas-stage.json +444 -0
- package/src/surfaces/canvas-stage.ts +253 -0
- package/src/surfaces/cf-account-picker.json +300 -0
- package/src/surfaces/cf-account-picker.ts +214 -0
- package/src/surfaces/commandbar.json +984 -0
- package/src/{panels/toolbar.ts → surfaces/commandbar.ts} +414 -389
- package/src/surfaces/convert-repeater.json +309 -0
- package/src/surfaces/convert-repeater.ts +276 -0
- package/src/surfaces/data-actions.json +157 -0
- package/src/surfaces/data-actions.ts +115 -0
- package/src/surfaces/dialog.json +289 -0
- package/src/surfaces/dialog.ts +343 -0
- package/src/surfaces/diff-toolbar.json +266 -0
- package/src/surfaces/diff-toolbar.ts +139 -0
- package/src/surfaces/doc-header.json +739 -0
- package/src/surfaces/doc-header.ts +223 -0
- package/src/surfaces/empty-state.json +152 -0
- package/src/surfaces/empty-state.ts +173 -0
- package/src/surfaces/entry-editor.json +281 -0
- package/src/surfaces/entry-editor.ts +191 -0
- package/src/surfaces/expression-editor.json +977 -0
- package/src/surfaces/expression-editor.ts +266 -0
- package/src/surfaces/files-panel.json +592 -0
- package/src/surfaces/files-panel.ts +301 -0
- package/src/surfaces/formula-palette.json +364 -0
- package/src/surfaces/formula-palette.ts +340 -0
- package/src/surfaces/git-panel.json +1822 -0
- package/src/surfaces/git-panel.ts +272 -0
- package/src/surfaces/github-auth.json +112 -0
- package/src/surfaces/github-auth.ts +139 -0
- package/src/surfaces/github-publish.json +206 -0
- package/src/surfaces/github-publish.ts +169 -0
- package/src/surfaces/grid-cell.json +218 -0
- package/src/surfaces/grid-cell.ts +120 -0
- package/src/surfaces/grid-open.json +147 -0
- package/src/surfaces/grid-open.ts +87 -0
- package/src/surfaces/grid-panel.json +706 -0
- package/src/surfaces/grid-panel.ts +206 -0
- package/src/surfaces/grid-replace.json +179 -0
- package/src/surfaces/grid-replace.ts +89 -0
- package/src/surfaces/grid-views.json +446 -0
- package/src/surfaces/grid-views.ts +172 -0
- package/src/surfaces/inspector-dock.json +187 -0
- package/src/surfaces/inspector-dock.ts +161 -0
- package/src/surfaces/jump-bar.json +243 -0
- package/src/surfaces/jump-bar.ts +129 -0
- package/src/surfaces/jxsuite-update.json +146 -0
- package/src/surfaces/jxsuite-update.ts +149 -0
- package/src/surfaces/library-pane.json +1509 -0
- package/src/surfaces/library-pane.ts +363 -0
- package/src/surfaces/logic-panel.json +1949 -0
- package/src/surfaces/logic-panel.ts +369 -0
- package/src/surfaces/logic-workspace.json +685 -0
- package/src/surfaces/logic-workspace.ts +238 -0
- package/src/surfaces/media-browser.json +303 -0
- package/src/surfaces/media-browser.ts +145 -0
- package/src/surfaces/media-field.json +163 -0
- package/src/surfaces/media-field.ts +116 -0
- package/src/surfaces/media-pane.json +513 -0
- package/src/surfaces/media-pane.ts +197 -0
- package/src/surfaces/menu.json +232 -0
- package/src/surfaces/menu.ts +375 -0
- package/src/surfaces/navigator-dock.json +113 -0
- package/src/surfaces/navigator-dock.ts +130 -0
- package/src/surfaces/new-project.json +1654 -0
- package/src/surfaces/new-project.ts +411 -0
- package/src/surfaces/palette.json +535 -0
- package/src/surfaces/pane-context.json +1497 -0
- package/src/surfaces/pane-context.ts +513 -0
- package/src/surfaces/pane-grid.json +188 -0
- package/src/surfaces/pane-grid.ts +250 -0
- package/src/surfaces/panel-activity.json +563 -0
- package/src/surfaces/panel-activity.ts +187 -0
- package/src/surfaces/panel-data.json +141 -0
- package/src/surfaces/panel-data.ts +156 -0
- package/src/surfaces/panel-deploy-checklist.json +283 -0
- package/src/surfaces/panel-deploy-checklist.ts +175 -0
- package/src/surfaces/panel-elements.json +367 -0
- package/src/surfaces/panel-elements.ts +175 -0
- package/src/surfaces/panel-i18n.json +569 -0
- package/src/surfaces/panel-i18n.ts +212 -0
- package/src/surfaces/panel-imports.json +780 -0
- package/src/surfaces/panel-imports.ts +209 -0
- package/src/surfaces/panel-outline.json +734 -0
- package/src/surfaces/panel-outline.ts +326 -0
- package/src/surfaces/panel-page.json +1017 -0
- package/src/surfaces/panel-page.ts +240 -0
- package/src/surfaces/panel-problems.json +497 -0
- package/src/surfaces/panel-problems.ts +157 -0
- package/src/surfaces/panel-signals.json +1973 -0
- package/src/surfaces/panel-signals.ts +436 -0
- package/src/surfaces/panel-stylebook-layers.json +317 -0
- package/src/surfaces/panel-stylebook-layers.ts +155 -0
- package/src/surfaces/preferences.json +850 -0
- package/src/surfaces/preferences.ts +332 -0
- package/src/surfaces/progress-modal.json +110 -0
- package/src/surfaces/progress-modal.ts +150 -0
- package/src/surfaces/properties-panel.json +1578 -0
- package/src/surfaces/properties-panel.ts +337 -0
- package/src/surfaces/publish.json +945 -0
- package/src/surfaces/publish.ts +392 -0
- package/src/surfaces/push-plan.json +110 -0
- package/src/surfaces/push-plan.ts +87 -0
- package/src/surfaces/rail.json +255 -0
- package/src/surfaces/rail.ts +206 -0
- package/src/surfaces/reference-field.json +191 -0
- package/src/surfaces/reference-field.ts +168 -0
- package/src/surfaces/schema-builder.json +1011 -0
- package/src/surfaces/schema-builder.ts +181 -0
- package/src/surfaces/schema-form.json +1013 -0
- package/src/surfaces/schema-form.ts +287 -0
- package/src/surfaces/secret-field.json +60 -0
- package/src/surfaces/secret-field.ts +146 -0
- package/src/surfaces/seo.json +932 -0
- package/src/surfaces/seo.ts +334 -0
- package/src/surfaces/settings-contexts.json +538 -0
- package/src/surfaces/settings-contexts.ts +196 -0
- package/src/surfaces/settings-contributed.json +489 -0
- package/src/surfaces/settings-contributed.ts +199 -0
- package/src/surfaces/settings-css-vars.json +820 -0
- package/src/surfaces/settings-css-vars.ts +199 -0
- package/src/surfaces/settings-defs.json +1363 -0
- package/src/surfaces/settings-defs.ts +232 -0
- package/src/surfaces/settings-deploy.json +108 -0
- package/src/surfaces/settings-deploy.ts +135 -0
- package/src/surfaces/settings-extensions.json +486 -0
- package/src/surfaces/settings-extensions.ts +201 -0
- package/src/surfaces/settings-head.json +779 -0
- package/src/surfaces/settings-head.ts +397 -0
- package/src/surfaces/settings-locales.json +420 -0
- package/src/surfaces/settings-locales.ts +137 -0
- package/src/surfaces/settings-overview.json +423 -0
- package/src/surfaces/settings-overview.ts +218 -0
- package/src/surfaces/settings-packages.json +549 -0
- package/src/surfaces/settings-packages.ts +158 -0
- package/src/surfaces/settings-pane.json +147 -0
- package/src/surfaces/settings-pane.ts +150 -0
- package/src/surfaces/settings-rawjson.json +104 -0
- package/src/surfaces/settings-rawjson.ts +107 -0
- package/src/surfaces/shell.json +99 -0
- package/src/surfaces/shell.ts +30 -0
- package/src/surfaces/slash-menu.json +180 -0
- package/src/surfaces/slash-menu.ts +272 -0
- package/src/surfaces/statements.json +607 -0
- package/src/surfaces/statements.ts +238 -0
- package/src/surfaces/statusbar.json +94 -0
- package/src/{panels → surfaces}/statusbar.ts +163 -90
- package/src/surfaces/style-panel.json +1643 -0
- package/src/surfaces/style-panel.ts +338 -0
- package/src/surfaces/stylebook-chrome.json +122 -0
- package/src/surfaces/stylebook-chrome.ts +122 -0
- package/src/surfaces/tab-strip.json +448 -0
- package/src/surfaces/tab-strip.ts +200 -0
- package/src/surfaces/target-line.json +419 -0
- package/src/surfaces/target-line.ts +349 -0
- package/src/surfaces/toasts.json +189 -0
- package/src/surfaces/welcome.json +571 -0
- package/src/surfaces/welcome.ts +338 -0
- package/src/tabs/project-config.ts +71 -15
- package/src/tabs/tab.ts +52 -1
- package/src/types.ts +49 -3
- package/src/ui/ai-credentials-form.ts +104 -100
- package/src/ui/ai-managed-connect.ts +116 -49
- package/src/ui/ai-model-picker.ts +102 -47
- package/src/ui/cf-account-picker.ts +135 -0
- package/src/ui/color-selector.ts +80 -301
- package/src/ui/dynamic-slot.ts +43 -283
- package/src/ui/expression-editor.ts +797 -576
- package/src/ui/field-input.ts +8 -181
- package/src/ui/form-controls.ts +838 -366
- package/src/ui/formula-chips.ts +80 -85
- package/src/ui/kit.ts +33 -0
- package/src/ui/layers.ts +293 -593
- package/src/ui/media-picker.ts +203 -284
- package/src/ui/panel-resize.ts +251 -64
- package/src/ui/popover-surface.ts +153 -0
- package/src/ui/progress-modal.ts +22 -60
- package/src/ui/regions.ts +13 -7
- package/src/ui/schema-form.ts +906 -440
- package/src/ui/surface.ts +122 -0
- package/src/ui/unit-selector.ts +15 -131
- package/src/ui/value-source.ts +14 -0
- package/src/ui/virtual-window.ts +88 -9
- package/src/utils/canvas-media.ts +72 -0
- package/src/utils/edit-display.ts +7 -2
- package/src/utils/element-selectors.ts +69 -0
- package/src/utils/link-target.ts +2 -2
- package/src/utils/studio-utils.ts +0 -10
- package/src/view.ts +15 -0
- package/src/workspace/pane-derive.ts +36 -14
- package/src/workspace/workspace.ts +15 -6
- package/styles/canvas.css +72 -467
- package/styles/forced-colors.css +48 -82
- package/styles/forced-colors.json +41 -0
- package/styles/inspector.css +2 -1301
- package/styles/overlays.css +96 -2823
- package/styles/panels.css +6 -1423
- package/styles/shell-frame.css +272 -0
- package/styles/shell-frame.json +227 -0
- package/styles/shell.css +0 -1532
- package/styles/tokens.css +65 -136
- package/styles/tokens.json +84 -0
- package/dist/chunks/Overlay.dev-723bv0df.js +0 -23
- package/dist/chunks/adapter-jkcyhgtr.js +0 -14
- package/dist/chunks/cf-settings-45fgyx8y.js +0 -21
- package/dist/chunks/components-zmx10t62.js +0 -21
- package/dist/chunks/content-source-t88vb2dr.js +0 -49
- package/dist/chunks/convert-to-repeater-dhw1nrz9.js +0 -268
- package/dist/chunks/editor-cptq5jp1.js +0 -37
- package/dist/chunks/entry-commands-6z6bhxg0.js +0 -46
- package/dist/chunks/extension-sections-3ydgjbdy.js +0 -311
- package/dist/chunks/file-ops-rskmhxyq.js +0 -48
- package/dist/chunks/files-0cratsr0.js +0 -92
- package/dist/chunks/flow-qbfgrpeh.js +0 -634
- package/dist/chunks/focus-trap.esm-ggawf1hy.js +0 -1024
- package/dist/chunks/focus-visible-6eg70z18.js +0 -167
- package/dist/chunks/format-host-tgcmfs4p.js +0 -43
- package/dist/chunks/fs-events-hrrg328g.js +0 -21
- package/dist/chunks/git-panel-0yywyk76.js +0 -58
- package/dist/chunks/index-zqxmqxmh.js +0 -109
- package/dist/chunks/jx-validate-8q2g05x1.js +0 -19
- package/dist/chunks/layers-panel-z3tqe5cd.js +0 -67
- package/dist/chunks/layers-q75tj2mf.js +0 -45
- package/dist/chunks/lit-html-j055mkh8.js +0 -22
- package/dist/chunks/monaco-buffer-dqw0xxpx.js +0 -25
- package/dist/chunks/notify-yjm79n4s.js +0 -30
- package/dist/chunks/parse-24d0gay3.js +0 -19
- package/dist/chunks/platform-ba1j1gbh.js +0 -16
- package/dist/chunks/publish-panel-54jvhskq.js +0 -28
- package/dist/chunks/quick-search-cgfmjwq5.js +0 -65
- package/dist/chunks/references-3qx8fkyp.js +0 -29
- package/dist/chunks/right-panel-cqp8bc4v.js +0 -46
- package/dist/chunks/section-registry-sx1ykvkw.js +0 -30
- package/dist/chunks/sp-overlay.dev-yztmtrs1.js +0 -18
- package/dist/chunks/sp-popover.dev-n2etmqdp.js +0 -9
- package/dist/chunks/sp-progress-circle.dev-hryhj0es.js +0 -15
- package/dist/chunks/sp-tooltip.dev-xcvpnqr0.js +0 -15
- package/dist/chunks/sp-tray.dev-tkbscm06.js +0 -199
- package/dist/chunks/studio-0a5qrh01.js +0 -3
- package/dist/chunks/studio-18j3bmcz.js +0 -14
- package/dist/chunks/studio-1hbqnt19.js +0 -1823
- package/dist/chunks/studio-4rzyrtjz.js +0 -426
- package/dist/chunks/studio-5rywrkxz.js +0 -1903
- package/dist/chunks/studio-7afd21nw.js +0 -67
- package/dist/chunks/studio-7nte2hj4.js +0 -613
- package/dist/chunks/studio-8jpzqk5s.js +0 -128
- package/dist/chunks/studio-8q517dfr.js +0 -24
- package/dist/chunks/studio-9c4k4vhv.js +0 -357
- package/dist/chunks/studio-9n4mrmnb.js +0 -184
- package/dist/chunks/studio-a0tswy0w.js +0 -58
- package/dist/chunks/studio-ahjfdy6e.js +0 -387
- package/dist/chunks/studio-ahnzd9rg.js +0 -23
- package/dist/chunks/studio-bw5dz6km.js +0 -608
- package/dist/chunks/studio-cb12yz9w.js +0 -15055
- package/dist/chunks/studio-d1ks410h.js +0 -175
- package/dist/chunks/studio-eqq1w638.js +0 -113
- package/dist/chunks/studio-ex8zyp98.js +0 -1813
- package/dist/chunks/studio-h4rxscfc.js +0 -10
- package/dist/chunks/studio-kyh9avvv.js +0 -28
- package/dist/chunks/studio-kyk2v92a.js +0 -659
- package/dist/chunks/studio-m3hwn7y1.js +0 -120
- package/dist/chunks/studio-mmv72a27.js +0 -4344
- package/dist/chunks/studio-n8b9wqwy.js +0 -291
- package/dist/chunks/studio-pdfjntbk.js +0 -6939
- package/dist/chunks/studio-qq6jym04.js +0 -53
- package/dist/chunks/studio-r1r7afxx.js +0 -1066
- package/dist/chunks/studio-rdx8jcxy.js +0 -83
- package/dist/chunks/studio-rn9ta2mz.js +0 -111
- package/dist/chunks/studio-t7qb9db8.js +0 -665
- package/dist/chunks/studio-tmc5emrw.js +0 -8
- package/dist/chunks/studio-txwkm6p9.js +0 -12
- package/dist/chunks/studio-v38hmvx1.js +0 -390
- package/dist/chunks/studio-vadzgkrz.js +0 -318
- package/dist/chunks/studio-wx5609xd.js +0 -341
- package/dist/chunks/studio-z6nw2ek2.js +0 -18
- package/dist/chunks/studio-zczps70q.js +0 -378
- package/dist/chunks/workspace-xpres40v.js +0 -89
- package/src/panels/activity-bar.ts +0 -251
- package/src/panels/panel-scheduler.ts +0 -219
- package/src/panels/style-inputs.ts +0 -237
- package/src/panels/target-line.ts +0 -274
- package/src/panels/welcome-screen.ts +0 -346
- package/src/ui/button-group.ts +0 -102
- package/src/ui/choice-field.ts +0 -72
- package/src/ui/field-row.ts +0 -249
- package/src/ui/formula-palette.ts +0 -213
- package/src/ui/icons.ts +0 -52
- package/src/ui/jx-theme.ts +0 -130
- package/src/ui/spectrum.ts +0 -340
- package/src/ui/value-selector.ts +0 -174
- package/src/ui/widgets.ts +0 -172
- /package/dist/chunks/{javascript-s56a8dpk.css → javascript-4abzjcy9.css} +0 -0
- /package/dist/chunks/{jsonMode-zr9sw0c7.css → jsonMode-vvmpmk34.css} +0 -0
- /package/dist/chunks/{monaco-setup-pav68602.css → monaco-setup-8vbyqnhr.css} +0 -0
- /package/dist/chunks/{tsMode-ef187txx.css → tsMode-hnxxb73h.css} +0 -0
package/styles/panels.css
CHANGED
|
@@ -1,226 +1,3 @@
|
|
|
1
|
-
/* Jx Studio — panel rails.
|
|
2
|
-
Load after tokens.css, after shell.css and canvas.css.
|
|
3
|
-
|
|
4
|
-
Owns the activity bar, the right-rail panel tabs, the file tree and the
|
|
5
|
-
layers tree, plus the drag-and-drop chrome that belongs to them: the
|
|
6
|
-
layers drop indicator, the canvas drop indicator, git diff highlighting
|
|
7
|
-
and the insertion helper. The two canvas-side drop affordances live here
|
|
8
|
-
rather than in canvas.css because they are authored inline with the
|
|
9
|
-
layers drag logic and must keep their original cascade position.
|
|
10
|
-
|
|
11
|
-
Also owns the teaching empty-state layout emitted by
|
|
12
|
-
src/panels/empty-state.ts, which every panel in the shell renders through. */
|
|
13
|
-
|
|
14
|
-
/* ─── Navigator rail (labelled, grouped by level) ──────── */
|
|
15
|
-
/* 56px, and every button names itself in 11px text under its icon. An icon whose only name is a
|
|
16
|
-
hover tooltip is not named (spec §12 region ②) — there were thirteen of those. */
|
|
17
|
-
.rail-groups {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
padding: 4px 0;
|
|
21
|
-
}
|
|
22
|
-
.rail-group {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
}
|
|
26
|
-
/* The divider IS the level boundary: PROJECT above, DOCUMENT below. */
|
|
27
|
-
.rail-divider {
|
|
28
|
-
height: 1px;
|
|
29
|
-
margin: 6px 10px;
|
|
30
|
-
background: var(--border);
|
|
31
|
-
}
|
|
32
|
-
.rail-footer {
|
|
33
|
-
margin-top: auto;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
padding: 6px 0;
|
|
37
|
-
}
|
|
38
|
-
.rail-item {
|
|
39
|
-
position: relative;
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
gap: 2px;
|
|
45
|
-
width: 100%;
|
|
46
|
-
padding: 6px 2px;
|
|
47
|
-
border: none;
|
|
48
|
-
border-left: 2px solid transparent;
|
|
49
|
-
background: none;
|
|
50
|
-
color: var(--fg-dim);
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
opacity: 0.7;
|
|
53
|
-
}
|
|
54
|
-
.rail-item:hover {
|
|
55
|
-
opacity: 1;
|
|
56
|
-
background: var(--hover-bg);
|
|
57
|
-
}
|
|
58
|
-
.rail-item.selected {
|
|
59
|
-
opacity: 1;
|
|
60
|
-
color: var(--fg);
|
|
61
|
-
border-left-color: var(--accent);
|
|
62
|
-
}
|
|
63
|
-
/* The gear while its menu is open.
|
|
64
|
-
|
|
65
|
-
Deliberately NOT `.selected`: that class means "this is the panel you are looking at" and paints
|
|
66
|
-
the accent left-border, so reusing it would draw the gear as a seventh selected panel. What this
|
|
67
|
-
says is narrower — the menu you opened is still up. */
|
|
68
|
-
.rail-item--menu-open {
|
|
69
|
-
opacity: 1;
|
|
70
|
-
color: var(--fg);
|
|
71
|
-
background: var(--hover-bg);
|
|
72
|
-
}
|
|
73
|
-
.rail-item:focus-visible {
|
|
74
|
-
outline: 2px solid var(--accent);
|
|
75
|
-
outline-offset: -2px;
|
|
76
|
-
}
|
|
77
|
-
.rail-icon {
|
|
78
|
-
display: flex;
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
height: 20px;
|
|
82
|
-
}
|
|
83
|
-
.rail-label {
|
|
84
|
-
max-width: 100%;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
text-overflow: ellipsis;
|
|
87
|
-
white-space: nowrap;
|
|
88
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
89
|
-
line-height: 1.2;
|
|
90
|
-
}
|
|
91
|
-
.activity-badge {
|
|
92
|
-
position: absolute;
|
|
93
|
-
top: 6px;
|
|
94
|
-
right: 4px;
|
|
95
|
-
min-width: 16px;
|
|
96
|
-
height: 16px;
|
|
97
|
-
padding: 0 4px;
|
|
98
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
99
|
-
background: var(--accent);
|
|
100
|
-
color: var(--spectrum-white);
|
|
101
|
-
font-size: 9px;
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
display: flex;
|
|
104
|
-
align-items: center;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
pointer-events: none;
|
|
107
|
-
}
|
|
108
|
-
/* ─── Panel header (title · level) ────────────── */
|
|
109
|
-
/* Every Navigator panel renders under one. Six of eight had no header at all, so nothing on
|
|
110
|
-
screen said which panel you were in — or, for Packages, which of its two meanings it had. */
|
|
111
|
-
.panel-header {
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: baseline;
|
|
114
|
-
gap: 6px;
|
|
115
|
-
padding: 6px 8px;
|
|
116
|
-
border-bottom: 1px solid var(--border);
|
|
117
|
-
}
|
|
118
|
-
.panel-header-title {
|
|
119
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
120
|
-
font-weight: 700;
|
|
121
|
-
letter-spacing: 0.06em;
|
|
122
|
-
text-transform: uppercase;
|
|
123
|
-
color: var(--fg);
|
|
124
|
-
}
|
|
125
|
-
.panel-header-level::before {
|
|
126
|
-
content: "·";
|
|
127
|
-
margin-right: 6px;
|
|
128
|
-
}
|
|
129
|
-
.panel-header-level {
|
|
130
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
131
|
-
color: var(--fg-dim);
|
|
132
|
-
}
|
|
133
|
-
.panel-content {
|
|
134
|
-
min-height: 0;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/* ─── Panel tabs (right: horizontal icon tabs) ── */
|
|
138
|
-
.panel-tabs {
|
|
139
|
-
border-bottom: 1px solid var(--border);
|
|
140
|
-
}
|
|
141
|
-
.panel-tabs sp-tabs {
|
|
142
|
-
--mod-tabs-item-horizontal-spacing: 0px;
|
|
143
|
-
--mod-tabs-start-to-tab-item: 0px;
|
|
144
|
-
--mod-tabs-color: var(--fg-dim);
|
|
145
|
-
--mod-tabs-color-selected: var(--fg);
|
|
146
|
-
--spectrum-tabs-top-to-text: 0px;
|
|
147
|
-
--spectrum-tabs-bottom-to-text: 0px;
|
|
148
|
-
}
|
|
149
|
-
.panel-tabs sp-tab {
|
|
150
|
-
padding: 4px 10px;
|
|
151
|
-
color: var(--fg-dim);
|
|
152
|
-
opacity: 0.7;
|
|
153
|
-
min-block-size: unset;
|
|
154
|
-
block-size: 36px;
|
|
155
|
-
box-sizing: border-box;
|
|
156
|
-
}
|
|
157
|
-
.panel-tabs sp-tab:hover {
|
|
158
|
-
opacity: 1;
|
|
159
|
-
}
|
|
160
|
-
.panel-tabs sp-tab[selected] {
|
|
161
|
-
color: var(--fg);
|
|
162
|
-
opacity: 1;
|
|
163
|
-
}
|
|
164
|
-
.panel-body {
|
|
165
|
-
padding: 0;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/* ─── File tree ──────────────────────────────── */
|
|
169
|
-
.files-toolbar {
|
|
170
|
-
display: flex;
|
|
171
|
-
gap: 4px;
|
|
172
|
-
padding: 4px 8px;
|
|
173
|
-
border-bottom: 1px solid var(--border);
|
|
174
|
-
align-items: center;
|
|
175
|
-
}
|
|
176
|
-
.files-toolbar sp-search {
|
|
177
|
-
flex: 1;
|
|
178
|
-
--spectrum-textfield-height: 24px;
|
|
179
|
-
}
|
|
180
|
-
.file-tree {
|
|
181
|
-
overflow-y: auto;
|
|
182
|
-
}
|
|
183
|
-
/* `block-size` is a CONTRACT, not a look: the tree is windowed (files/files.ts `FILE_ROW_HEIGHT`,
|
|
184
|
-
ui/virtual-window.ts), and a window can only reserve the right amount of scroll for the rows it
|
|
185
|
-
did not draw if every row is the same known height. 24px is what the box already computed to —
|
|
186
|
-
3px + 3px of padding around an 18px line box (12px font × the 1.5 line-height in tokens.css) —
|
|
187
|
-
so declaring it changes nothing on screen and stops the next padding tweak from silently
|
|
188
|
-
desynchronising the scrollbar. The renderer measures a real row anyway and believes the
|
|
189
|
-
measurement over this number. */
|
|
190
|
-
.file-tree-item {
|
|
191
|
-
display: flex;
|
|
192
|
-
align-items: center;
|
|
193
|
-
gap: 6px;
|
|
194
|
-
padding: 3px 8px;
|
|
195
|
-
block-size: 24px;
|
|
196
|
-
box-sizing: border-box;
|
|
197
|
-
cursor: pointer;
|
|
198
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
199
|
-
color: var(--fg);
|
|
200
|
-
user-select: none;
|
|
201
|
-
}
|
|
202
|
-
.file-tree-item:hover {
|
|
203
|
-
background: var(--hover-bg);
|
|
204
|
-
}
|
|
205
|
-
/* The language chip. Deliberately declares no `block-size`, no padding and no line-height: the row
|
|
206
|
-
above is 24px by CONTRACT (see the note there), and a chip that grew the box would desynchronise
|
|
207
|
-
the window's scroll reservation from `FILE_ROW_HEIGHT`. It only ever shrinks the text. */
|
|
208
|
-
.file-tree-locale {
|
|
209
|
-
margin-inline-start: auto;
|
|
210
|
-
flex-shrink: 0;
|
|
211
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
212
|
-
color: var(--fg-dim);
|
|
213
|
-
overflow: hidden;
|
|
214
|
-
text-overflow: ellipsis;
|
|
215
|
-
white-space: nowrap;
|
|
216
|
-
max-inline-size: 6em;
|
|
217
|
-
}
|
|
218
|
-
/* Roving tabindex (src/files/files.ts) moves focus between rows, so the ring is
|
|
219
|
-
the only thing telling a keyboard user where they are. */
|
|
220
|
-
.file-tree-item:focus-visible {
|
|
221
|
-
outline: 2px solid var(--accent);
|
|
222
|
-
outline-offset: -2px;
|
|
223
|
-
}
|
|
224
1
|
.file-tree-item.selected {
|
|
225
2
|
background: var(--accent-20);
|
|
226
3
|
}
|
|
@@ -235,94 +12,13 @@
|
|
|
235
12
|
.file-tree.drag-over-root {
|
|
236
13
|
background: var(--hover-bg);
|
|
237
14
|
}
|
|
238
|
-
.file-tree-toggle {
|
|
239
|
-
width: 14px;
|
|
240
|
-
text-align: center;
|
|
241
|
-
font-size: 8px;
|
|
242
|
-
color: var(--fg-dim);
|
|
243
|
-
flex-shrink: 0;
|
|
244
|
-
cursor: pointer;
|
|
245
|
-
}
|
|
246
15
|
.file-tree-toggle.empty {
|
|
247
16
|
visibility: hidden;
|
|
248
17
|
}
|
|
249
|
-
.file-tree-icon {
|
|
250
|
-
flex-shrink: 0;
|
|
251
|
-
display: flex;
|
|
252
|
-
align-items: center;
|
|
253
|
-
}
|
|
254
|
-
.file-tree-icon sp-icon-folder,
|
|
255
|
-
.file-tree-icon sp-icon-folder-open,
|
|
256
|
-
.file-tree-icon sp-icon-document,
|
|
257
|
-
.file-tree-icon sp-icon-file-code,
|
|
258
|
-
.file-tree-icon sp-icon-file-txt,
|
|
259
|
-
.file-tree-icon sp-icon-file-css,
|
|
260
|
-
.file-tree-icon sp-icon-image {
|
|
261
|
-
--spectrum-icon-size-100: 16px;
|
|
262
|
-
}
|
|
263
|
-
.file-tree-name {
|
|
264
|
-
overflow: hidden;
|
|
265
|
-
text-overflow: ellipsis;
|
|
266
|
-
white-space: nowrap;
|
|
267
|
-
flex: 1;
|
|
268
|
-
}
|
|
269
|
-
.file-tree-empty {
|
|
270
|
-
padding: 24px;
|
|
271
|
-
text-align: center;
|
|
272
|
-
color: var(--fg-dim);
|
|
273
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
274
|
-
}
|
|
275
|
-
.project-header {
|
|
276
|
-
display: flex;
|
|
277
|
-
align-items: center;
|
|
278
|
-
padding: 6px 12px;
|
|
279
|
-
border-bottom: 1px solid var(--border);
|
|
280
|
-
gap: 6px;
|
|
281
|
-
}
|
|
282
|
-
.project-name {
|
|
283
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
284
|
-
font-weight: 600;
|
|
285
|
-
overflow: hidden;
|
|
286
|
-
text-overflow: ellipsis;
|
|
287
|
-
white-space: nowrap;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/* ─── Layers ─────────────────────────────────── */
|
|
291
|
-
/* The Outline used to scroll sideways inside a 240px column: `overflow-y: auto` on #left-panel
|
|
292
|
-
computes overflow-x to `auto` too, and a row's intrinsic width was indent (16px × unbounded
|
|
293
|
-
depth) + badge (a full custom-element tag) + label + five in-flow action buttons. All four are
|
|
294
|
-
bounded now — the indent caps at 6 levels (layers-panel.ts `indentWidth`), the badge truncates,
|
|
295
|
-
the label shrinks, and the action cluster is positioned out of flow. */
|
|
296
|
-
/* The fixed `block-size` is the same contract the file tree carries, for the same reason
|
|
297
|
-
(panels/layers-panel.ts `OUTLINE_ROW_HEIGHT`): the Outline is windowed, and a window reserves
|
|
298
|
-
scroll height for rows it did not draw. 24px is what an Outline row already computed to — the
|
|
299
|
-
18px line box of a 12px label, plus 3px of padding either side — and it makes the chevron rows
|
|
300
|
-
and the text-node rows agree, which they only did by coincidence before. */
|
|
301
|
-
.layer-row {
|
|
302
|
-
position: relative;
|
|
303
|
-
display: flex;
|
|
304
|
-
align-items: center;
|
|
305
|
-
gap: 4px;
|
|
306
|
-
padding: 3px 8px;
|
|
307
|
-
block-size: 24px;
|
|
308
|
-
box-sizing: border-box;
|
|
309
|
-
cursor: grab;
|
|
310
|
-
white-space: nowrap;
|
|
311
|
-
user-select: none;
|
|
312
|
-
border-left: 2px solid transparent;
|
|
313
|
-
transition: transform 150ms ease;
|
|
314
|
-
}
|
|
315
|
-
.layer-row:hover {
|
|
316
|
-
background: var(--hover-bg);
|
|
317
|
-
}
|
|
318
18
|
.layer-row.selected {
|
|
319
19
|
background: var(--accent-20);
|
|
320
20
|
border-left-color: var(--accent);
|
|
321
21
|
}
|
|
322
|
-
.layer-row:focus-visible {
|
|
323
|
-
outline: 2px solid var(--accent);
|
|
324
|
-
outline-offset: -2px;
|
|
325
|
-
}
|
|
326
22
|
.layer-row.dragging {
|
|
327
23
|
opacity: 0.4;
|
|
328
24
|
transition: none;
|
|
@@ -332,34 +28,6 @@
|
|
|
332
28
|
outline: 1px dashed var(--accent);
|
|
333
29
|
outline-offset: -1px;
|
|
334
30
|
}
|
|
335
|
-
.layer-indent {
|
|
336
|
-
flex-shrink: 0;
|
|
337
|
-
}
|
|
338
|
-
/* Row actions exist for the SELECTED row and the hovered one, and for no other row — five
|
|
339
|
-
sp-action-buttons per row is ~5 custom elements with shadow roots per visible row, which is what
|
|
340
|
-
made a large document's layer tree slow to render, and a row that always shows its verbs has no
|
|
341
|
-
way to show which row is being acted on. This is a DOM rule, not a `display:none` one
|
|
342
|
-
(layers-panel.ts `mountHoverActions`): a hidden custom element still costs everything but the
|
|
343
|
-
pixels. On every other row the span below is empty, so it draws nothing. The row itself stays
|
|
344
|
-
fully draggable (dnd's canDrag excludes only .layer-actions), so reordering is unaffected.
|
|
345
|
-
|
|
346
|
-
The cluster is absolutely positioned so it never contributes to the row's intrinsic width: in a
|
|
347
|
-
240px column, four in-flow buttons plus an indent is exactly what pushed the tree sideways. */
|
|
348
|
-
.layer-actions {
|
|
349
|
-
display: flex;
|
|
350
|
-
align-items: center;
|
|
351
|
-
gap: 0;
|
|
352
|
-
position: absolute;
|
|
353
|
-
right: 2px;
|
|
354
|
-
top: 50%;
|
|
355
|
-
transform: translateY(-50%);
|
|
356
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
357
|
-
}
|
|
358
|
-
.layer-actions:not(:empty) {
|
|
359
|
-
padding-left: 8px;
|
|
360
|
-
background: var(--bg-panel);
|
|
361
|
-
box-shadow: -8px 0 8px -8px rgba(0, 0, 0, 0.4);
|
|
362
|
-
}
|
|
363
31
|
.layer-row:hover .layer-drag-handle,
|
|
364
32
|
.layer-row.selected .layer-drag-handle,
|
|
365
33
|
.layer-row:focus-within .layer-drag-handle {
|
|
@@ -369,83 +37,6 @@
|
|
|
369
37
|
.layer-row:has(.layer-title-input) .layer-actions {
|
|
370
38
|
display: none;
|
|
371
39
|
}
|
|
372
|
-
/* The grab affordance is a plain span, so it stays on every row (revealed on hover) while the
|
|
373
|
-
Spectrum action buttons are built for the selected row only. It sits OUTSIDE .layer-actions
|
|
374
|
-
so dnd's canDrag no longer refuses drags that start on it. */
|
|
375
|
-
.layer-drag-handle {
|
|
376
|
-
display: none;
|
|
377
|
-
color: var(--fg-dim);
|
|
378
|
-
opacity: 0.6;
|
|
379
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
380
|
-
cursor: grab;
|
|
381
|
-
padding: 0 4px 0 0;
|
|
382
|
-
}
|
|
383
|
-
.layer-toggle {
|
|
384
|
-
width: 14px;
|
|
385
|
-
text-align: center;
|
|
386
|
-
font-size: 9px;
|
|
387
|
-
color: var(--fg-dim);
|
|
388
|
-
cursor: pointer;
|
|
389
|
-
flex-shrink: 0;
|
|
390
|
-
}
|
|
391
|
-
.layer-tag {
|
|
392
|
-
padding: 0 4px;
|
|
393
|
-
font-size: 10px;
|
|
394
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
395
|
-
color: var(--accent-fg);
|
|
396
|
-
background: var(--tag);
|
|
397
|
-
flex-shrink: 0;
|
|
398
|
-
/* A long custom-element tag is a badge, not a paragraph: it truncates rather than pushing the
|
|
399
|
-
label out of a 240px column. */
|
|
400
|
-
max-width: 12ch;
|
|
401
|
-
overflow: hidden;
|
|
402
|
-
text-overflow: ellipsis;
|
|
403
|
-
}
|
|
404
|
-
.layer-label {
|
|
405
|
-
overflow: hidden;
|
|
406
|
-
text-overflow: ellipsis;
|
|
407
|
-
white-space: nowrap;
|
|
408
|
-
min-width: 24px;
|
|
409
|
-
flex: 1;
|
|
410
|
-
}
|
|
411
|
-
/* Stretches into the row's content box rather than setting its own height: the row is a fixed 24px
|
|
412
|
-
now, and an input taller than that would push its borders through the rows either side. */
|
|
413
|
-
.layer-title-input {
|
|
414
|
-
width: 100%;
|
|
415
|
-
align-self: stretch;
|
|
416
|
-
box-sizing: border-box;
|
|
417
|
-
background: var(--bg);
|
|
418
|
-
color: inherit;
|
|
419
|
-
border: 1px solid var(--accent, #3b82f6);
|
|
420
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
421
|
-
font: inherit;
|
|
422
|
-
font-size: inherit;
|
|
423
|
-
padding: 0 2px;
|
|
424
|
-
}
|
|
425
|
-
.layer-title-input:focus-visible {
|
|
426
|
-
outline: 2px solid var(--accent);
|
|
427
|
-
outline-offset: -1px;
|
|
428
|
-
}
|
|
429
|
-
.layer-dot {
|
|
430
|
-
font-size: 9px;
|
|
431
|
-
flex-shrink: 0;
|
|
432
|
-
}
|
|
433
|
-
/* One rule for every registry-rendered row verb; `.layer-delete` is the `destructive: true` half. */
|
|
434
|
-
.layer-action {
|
|
435
|
-
flex-shrink: 0;
|
|
436
|
-
}
|
|
437
|
-
.layer-overflow {
|
|
438
|
-
flex-shrink: 0;
|
|
439
|
-
}
|
|
440
|
-
.layer-delete {
|
|
441
|
-
color: var(--danger);
|
|
442
|
-
}
|
|
443
|
-
.map-tag {
|
|
444
|
-
background: var(--map) !important;
|
|
445
|
-
color: var(--accent-fg) !important;
|
|
446
|
-
font-size: 9px;
|
|
447
|
-
letter-spacing: 0.5px;
|
|
448
|
-
}
|
|
449
40
|
.repeater-perimeter {
|
|
450
41
|
border: 1px dashed color-mix(in srgb, var(--map) 25%, transparent);
|
|
451
42
|
border-radius: var(--radius);
|
|
@@ -460,7 +51,7 @@
|
|
|
460
51
|
left: 6px;
|
|
461
52
|
font-size: 9px;
|
|
462
53
|
color: color-mix(in srgb, var(--map) 50%, transparent);
|
|
463
|
-
background:
|
|
54
|
+
background: white;
|
|
464
55
|
padding: 0 3px;
|
|
465
56
|
font-family: var(--font-mono);
|
|
466
57
|
pointer-events: none;
|
|
@@ -502,7 +93,7 @@
|
|
|
502
93
|
transform: translate(-50%, -50%);
|
|
503
94
|
color: color-mix(in srgb, var(--fg-dim, #808080) 40%, transparent);
|
|
504
95
|
font-style: italic;
|
|
505
|
-
font-size: var(--
|
|
96
|
+
font-size: var(--jx-text-sm, 11px);
|
|
506
97
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
|
|
507
98
|
pointer-events: none;
|
|
508
99
|
white-space: nowrap;
|
|
@@ -511,132 +102,15 @@
|
|
|
511
102
|
outline: 1px solid var(--accent) !important;
|
|
512
103
|
outline-offset: -1px;
|
|
513
104
|
}
|
|
514
|
-
.switch-tag {
|
|
515
|
-
background: var(--switch-c) !important;
|
|
516
|
-
color: var(--accent-fg) !important;
|
|
517
|
-
}
|
|
518
|
-
.case-tag {
|
|
519
|
-
background: var(--case-c) !important;
|
|
520
|
-
color: var(--accent-fg) !important;
|
|
521
|
-
font-style: italic;
|
|
522
|
-
font-size: 9px;
|
|
523
|
-
max-width: 60px;
|
|
524
|
-
overflow: hidden;
|
|
525
|
-
text-overflow: ellipsis;
|
|
526
|
-
}
|
|
527
|
-
.slot-tag {
|
|
528
|
-
background: var(--slot-c) !important;
|
|
529
|
-
color: var(--accent-fg) !important;
|
|
530
|
-
}
|
|
531
|
-
.component-row {
|
|
532
|
-
opacity: 0.9;
|
|
533
|
-
cursor: grab;
|
|
534
|
-
}
|
|
535
105
|
.component-row.available {
|
|
536
106
|
opacity: 0.6;
|
|
537
107
|
}
|
|
538
108
|
.component-row.available:hover {
|
|
539
109
|
opacity: 0.8;
|
|
540
110
|
}
|
|
541
|
-
.component-tag {
|
|
542
|
-
font-size: 9px;
|
|
543
|
-
width: 18px;
|
|
544
|
-
text-align: center;
|
|
545
|
-
}
|
|
546
111
|
.components-section {
|
|
547
112
|
padding: 0 0 2px;
|
|
548
113
|
}
|
|
549
|
-
.imports-panel {
|
|
550
|
-
overflow-y: auto;
|
|
551
|
-
padding: 4px;
|
|
552
|
-
}
|
|
553
|
-
.imports-section {
|
|
554
|
-
margin-bottom: 12px;
|
|
555
|
-
}
|
|
556
|
-
/* The Page panel's door to Search appearance — pushed to the right edge of the section header, so
|
|
557
|
-
the section still reads as a heading and the button as its affordance. */
|
|
558
|
-
.head-seo-btn {
|
|
559
|
-
margin-left: auto;
|
|
560
|
-
text-transform: none;
|
|
561
|
-
letter-spacing: normal;
|
|
562
|
-
}
|
|
563
|
-
.imports-section-header {
|
|
564
|
-
display: flex;
|
|
565
|
-
align-items: center;
|
|
566
|
-
gap: 6px;
|
|
567
|
-
padding: 6px 8px 2px;
|
|
568
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
569
|
-
font-weight: 600;
|
|
570
|
-
color: var(--fg-dim);
|
|
571
|
-
text-transform: uppercase;
|
|
572
|
-
letter-spacing: 0.5px;
|
|
573
|
-
}
|
|
574
|
-
.imports-count {
|
|
575
|
-
font-weight: 400;
|
|
576
|
-
color: var(--text-hint);
|
|
577
|
-
}
|
|
578
|
-
.imports-list {
|
|
579
|
-
padding: 0 4px;
|
|
580
|
-
}
|
|
581
|
-
.import-row {
|
|
582
|
-
display: flex;
|
|
583
|
-
align-items: center;
|
|
584
|
-
gap: 4px;
|
|
585
|
-
padding: 3px 4px;
|
|
586
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
587
|
-
border-radius: var(--radius);
|
|
588
|
-
}
|
|
589
|
-
.import-row:hover {
|
|
590
|
-
background: var(--hover-bg);
|
|
591
|
-
}
|
|
592
|
-
.import-name {
|
|
593
|
-
font-weight: 500;
|
|
594
|
-
white-space: nowrap;
|
|
595
|
-
}
|
|
596
|
-
.import-path {
|
|
597
|
-
color: var(--fg-dim);
|
|
598
|
-
overflow: hidden;
|
|
599
|
-
text-overflow: ellipsis;
|
|
600
|
-
flex: 1;
|
|
601
|
-
white-space: nowrap;
|
|
602
|
-
font-family: var(--font-mono, monospace);
|
|
603
|
-
font-size: 10px;
|
|
604
|
-
}
|
|
605
|
-
.import-mono {
|
|
606
|
-
font-family: var(--font-mono, monospace);
|
|
607
|
-
}
|
|
608
|
-
.import-add-form {
|
|
609
|
-
display: flex;
|
|
610
|
-
align-items: center;
|
|
611
|
-
gap: 4px;
|
|
612
|
-
padding: 4px;
|
|
613
|
-
}
|
|
614
|
-
.import-add-form sp-textfield {
|
|
615
|
-
flex: 1;
|
|
616
|
-
}
|
|
617
|
-
.import-picker {
|
|
618
|
-
width: 100%;
|
|
619
|
-
}
|
|
620
|
-
/* Head panel */
|
|
621
|
-
.head-section-body {
|
|
622
|
-
padding: 0 4px;
|
|
623
|
-
}
|
|
624
|
-
.head-section-body .style-row > sp-textfield,
|
|
625
|
-
.head-section-body .style-row > .media-picker {
|
|
626
|
-
width: 100%;
|
|
627
|
-
}
|
|
628
|
-
.head-add-form {
|
|
629
|
-
display: flex;
|
|
630
|
-
align-items: center;
|
|
631
|
-
gap: 4px;
|
|
632
|
-
padding: 4px;
|
|
633
|
-
}
|
|
634
|
-
.head-add-form sp-textfield {
|
|
635
|
-
flex: 1;
|
|
636
|
-
}
|
|
637
|
-
.head-add-form sp-picker {
|
|
638
|
-
min-width: 70px;
|
|
639
|
-
}
|
|
640
114
|
.element-card {
|
|
641
115
|
cursor: grab;
|
|
642
116
|
display: flex;
|
|
@@ -651,7 +125,7 @@
|
|
|
651
125
|
border-color: var(--accent);
|
|
652
126
|
}
|
|
653
127
|
.element-card-preview {
|
|
654
|
-
background:
|
|
128
|
+
background: white;
|
|
655
129
|
padding: 6px 8px;
|
|
656
130
|
min-height: 32px;
|
|
657
131
|
max-height: 120px;
|
|
@@ -687,45 +161,12 @@
|
|
|
687
161
|
text-align: center;
|
|
688
162
|
font-family: var(--font-mono);
|
|
689
163
|
}
|
|
690
|
-
.elements-list {
|
|
691
|
-
border: none;
|
|
692
|
-
}
|
|
693
|
-
.elements-list sp-accordion-item {
|
|
694
|
-
--spectrum-accordion-item-header-font-size: var(--spectrum-font-size-50, 11px);
|
|
695
|
-
border-bottom: 1px solid var(--border);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
/* ─── Teaching empty states ──────────────────── */
|
|
699
|
-
/* The one empty-state pattern, emitted by src/panels/empty-state.ts: a sentence
|
|
700
|
-
saying what the region is for, then the button that fills it. `.empty-state`
|
|
701
|
-
itself (padding, centring, dimmed colour) is declared in overlays.css; these
|
|
702
|
-
rules add the teaching layout on top of it, and the compact variant wins on
|
|
703
|
-
specificity because overlays.css loads last. */
|
|
704
|
-
.empty-state--teach {
|
|
705
|
-
display: flex;
|
|
706
|
-
flex-direction: column;
|
|
707
|
-
align-items: center;
|
|
708
|
-
gap: 8px;
|
|
709
|
-
}
|
|
710
|
-
.empty-state-message {
|
|
711
|
-
max-width: 34ch;
|
|
712
|
-
line-height: 1.5;
|
|
713
|
-
}
|
|
714
164
|
.empty-state-detail {
|
|
715
165
|
max-width: 34ch;
|
|
716
|
-
font-size: var(--
|
|
166
|
+
font-size: var(--jx-text-sm, 11px);
|
|
717
167
|
color: var(--fg-dim);
|
|
718
168
|
opacity: 0.8;
|
|
719
169
|
}
|
|
720
|
-
.empty-state-actions {
|
|
721
|
-
display: flex;
|
|
722
|
-
flex-wrap: wrap;
|
|
723
|
-
justify-content: center;
|
|
724
|
-
gap: 8px;
|
|
725
|
-
}
|
|
726
|
-
.empty-state-action {
|
|
727
|
-
flex: none;
|
|
728
|
-
}
|
|
729
170
|
/* Inline section inside an otherwise populated panel — reads as a note above its
|
|
730
171
|
own add form rather than as a whole empty region. */
|
|
731
172
|
.empty-state.empty-state--compact {
|
|
@@ -733,20 +174,7 @@
|
|
|
733
174
|
gap: 4px;
|
|
734
175
|
padding: 8px 12px;
|
|
735
176
|
text-align: left;
|
|
736
|
-
font-size: var(--
|
|
737
|
-
}
|
|
738
|
-
.empty-state--compact .empty-state-actions {
|
|
739
|
-
justify-content: flex-start;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
/* ─── Drop indicator ──────────────────────────── */
|
|
743
|
-
.drop-indicator {
|
|
744
|
-
display: none;
|
|
745
|
-
position: absolute;
|
|
746
|
-
height: 2px;
|
|
747
|
-
background: var(--accent);
|
|
748
|
-
z-index: 5;
|
|
749
|
-
pointer-events: none;
|
|
177
|
+
font-size: var(--jx-text-sm, 11px);
|
|
750
178
|
}
|
|
751
179
|
|
|
752
180
|
/* ─── Canvas drop indicator ───────────────────── */
|
|
@@ -786,7 +214,7 @@
|
|
|
786
214
|
border: 1.5px solid var(--accent);
|
|
787
215
|
background: var(--bg-panel);
|
|
788
216
|
color: var(--accent);
|
|
789
|
-
font-size: var(--
|
|
217
|
+
font-size: var(--jx-text-lg, 14px);
|
|
790
218
|
font-weight: 500;
|
|
791
219
|
line-height: 1;
|
|
792
220
|
cursor: pointer;
|
|
@@ -866,848 +294,3 @@
|
|
|
866
294
|
left: anchor(center);
|
|
867
295
|
translate: -50% -50%;
|
|
868
296
|
}
|
|
869
|
-
|
|
870
|
-
/* ─── ⑪ Problems ──────────────────────────────────────────────────────────────
|
|
871
|
-
The same body in two hosts: the Navigator dock (rail button, badge, ⌘4) and the Bottom dock's
|
|
872
|
-
first tab. Grouped by SOURCE with the severity as a glyph, because a reader who has just saved
|
|
873
|
-
wants the save's failures together and a list that reorders as it grows cannot be read. */
|
|
874
|
-
.problems-panel {
|
|
875
|
-
display: flex;
|
|
876
|
-
flex-direction: column;
|
|
877
|
-
gap: 8px;
|
|
878
|
-
padding: 8px;
|
|
879
|
-
}
|
|
880
|
-
.problems-actions {
|
|
881
|
-
display: flex;
|
|
882
|
-
justify-content: flex-end;
|
|
883
|
-
}
|
|
884
|
-
.problems-clear,
|
|
885
|
-
.activity-clear {
|
|
886
|
-
padding: 2px 8px;
|
|
887
|
-
border: 1px solid var(--border);
|
|
888
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
889
|
-
background: transparent;
|
|
890
|
-
color: var(--fg-dim);
|
|
891
|
-
font: inherit;
|
|
892
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
893
|
-
cursor: pointer;
|
|
894
|
-
}
|
|
895
|
-
.problems-clear:hover,
|
|
896
|
-
.activity-clear:hover {
|
|
897
|
-
color: var(--fg);
|
|
898
|
-
background: var(--hover-bg);
|
|
899
|
-
}
|
|
900
|
-
/* One source's rows, under its heading. A section rather than a run of rows so the heading and
|
|
901
|
-
the problems it names cannot be separated by a scroll position. */
|
|
902
|
-
.problem-group {
|
|
903
|
-
display: flex;
|
|
904
|
-
flex-direction: column;
|
|
905
|
-
gap: 4px;
|
|
906
|
-
}
|
|
907
|
-
.problem-group-title {
|
|
908
|
-
margin: 0 0 2px;
|
|
909
|
-
color: var(--fg-dim);
|
|
910
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
911
|
-
font-weight: 700;
|
|
912
|
-
text-transform: uppercase;
|
|
913
|
-
letter-spacing: 0.04em;
|
|
914
|
-
}
|
|
915
|
-
.problem-list,
|
|
916
|
-
.activity-list {
|
|
917
|
-
display: flex;
|
|
918
|
-
flex-direction: column;
|
|
919
|
-
gap: 4px;
|
|
920
|
-
margin: 0;
|
|
921
|
-
padding: 0;
|
|
922
|
-
list-style: none;
|
|
923
|
-
}
|
|
924
|
-
.problem-row,
|
|
925
|
-
.activity-row {
|
|
926
|
-
display: flex;
|
|
927
|
-
align-items: flex-start;
|
|
928
|
-
gap: 8px;
|
|
929
|
-
padding: 6px 8px;
|
|
930
|
-
border: 1px solid var(--border);
|
|
931
|
-
border-left: 3px solid var(--fg-dim);
|
|
932
|
-
border-radius: var(--radius);
|
|
933
|
-
background: var(--bg-panel);
|
|
934
|
-
color: var(--fg);
|
|
935
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
936
|
-
}
|
|
937
|
-
.problem-row--success {
|
|
938
|
-
border-left-color: var(--success);
|
|
939
|
-
}
|
|
940
|
-
.problem-row--info {
|
|
941
|
-
border-left-color: var(--accent);
|
|
942
|
-
}
|
|
943
|
-
.problem-row--warn {
|
|
944
|
-
border-left-color: var(--warning);
|
|
945
|
-
}
|
|
946
|
-
.problem-row--error {
|
|
947
|
-
border-left-color: var(--danger);
|
|
948
|
-
}
|
|
949
|
-
.problem-icon,
|
|
950
|
-
.activity-icon {
|
|
951
|
-
flex: none;
|
|
952
|
-
width: 14px;
|
|
953
|
-
text-align: center;
|
|
954
|
-
font-weight: 700;
|
|
955
|
-
line-height: 1.5;
|
|
956
|
-
}
|
|
957
|
-
.problem-row--success .problem-icon {
|
|
958
|
-
color: var(--success);
|
|
959
|
-
}
|
|
960
|
-
.problem-row--info .problem-icon {
|
|
961
|
-
color: var(--accent);
|
|
962
|
-
}
|
|
963
|
-
.problem-row--warn .problem-icon {
|
|
964
|
-
color: var(--warning);
|
|
965
|
-
}
|
|
966
|
-
.problem-row--error .problem-icon {
|
|
967
|
-
color: var(--danger);
|
|
968
|
-
}
|
|
969
|
-
.problem-body,
|
|
970
|
-
.activity-body {
|
|
971
|
-
flex: 1;
|
|
972
|
-
min-width: 0;
|
|
973
|
-
display: flex;
|
|
974
|
-
flex-direction: column;
|
|
975
|
-
gap: 2px;
|
|
976
|
-
}
|
|
977
|
-
.problem-message {
|
|
978
|
-
overflow-wrap: anywhere;
|
|
979
|
-
}
|
|
980
|
-
/* The path is a control, not a label: it opens the file the problem is about, which is the
|
|
981
|
-
click-through §7.1 asks for. Underlined on hover only — a permanently underlined path in a
|
|
982
|
-
dense list reads as a paragraph of links. */
|
|
983
|
-
.problem-path {
|
|
984
|
-
align-self: flex-start;
|
|
985
|
-
max-width: 100%;
|
|
986
|
-
overflow: hidden;
|
|
987
|
-
padding: 0;
|
|
988
|
-
border: none;
|
|
989
|
-
background: none;
|
|
990
|
-
color: var(--accent);
|
|
991
|
-
font: inherit;
|
|
992
|
-
font-family: var(--font-mono);
|
|
993
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
994
|
-
text-overflow: ellipsis;
|
|
995
|
-
white-space: nowrap;
|
|
996
|
-
cursor: pointer;
|
|
997
|
-
}
|
|
998
|
-
.problem-path:hover {
|
|
999
|
-
text-decoration: underline;
|
|
1000
|
-
}
|
|
1001
|
-
/* The captured log the progress modal used to own. It scrolls inside the row rather than growing
|
|
1002
|
-
it, so one 400-line `bun install` failure does not become the whole panel. */
|
|
1003
|
-
.problem-detail,
|
|
1004
|
-
.activity-log {
|
|
1005
|
-
max-height: 180px;
|
|
1006
|
-
margin: 2px 0 0;
|
|
1007
|
-
padding: 6px;
|
|
1008
|
-
overflow: auto;
|
|
1009
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
1010
|
-
background: var(--bg);
|
|
1011
|
-
color: var(--fg-dim);
|
|
1012
|
-
font-family: var(--font-mono);
|
|
1013
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1014
|
-
white-space: pre-wrap;
|
|
1015
|
-
}
|
|
1016
|
-
.problem-action,
|
|
1017
|
-
.activity-cancel {
|
|
1018
|
-
flex: none;
|
|
1019
|
-
padding: 2px 8px;
|
|
1020
|
-
border: 1px solid var(--border);
|
|
1021
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
1022
|
-
background: transparent;
|
|
1023
|
-
color: var(--accent);
|
|
1024
|
-
font: inherit;
|
|
1025
|
-
cursor: pointer;
|
|
1026
|
-
}
|
|
1027
|
-
.problem-action:hover:not(:disabled),
|
|
1028
|
-
.activity-cancel:hover:not(:disabled) {
|
|
1029
|
-
background: var(--hover-bg);
|
|
1030
|
-
}
|
|
1031
|
-
.problem-action:disabled {
|
|
1032
|
-
color: var(--fg-dim);
|
|
1033
|
-
cursor: default;
|
|
1034
|
-
}
|
|
1035
|
-
.problem-dismiss {
|
|
1036
|
-
flex: none;
|
|
1037
|
-
width: 18px;
|
|
1038
|
-
height: 18px;
|
|
1039
|
-
padding: 0;
|
|
1040
|
-
border: none;
|
|
1041
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
1042
|
-
background: transparent;
|
|
1043
|
-
color: var(--fg-dim);
|
|
1044
|
-
font: inherit;
|
|
1045
|
-
line-height: 1;
|
|
1046
|
-
cursor: pointer;
|
|
1047
|
-
}
|
|
1048
|
-
.problem-dismiss:hover {
|
|
1049
|
-
color: var(--fg);
|
|
1050
|
-
background: var(--hover-bg);
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
/* ─── ⑪ Activity ──────────────────────────────────────────────────────────────
|
|
1054
|
-
One row per operation, newest LAST, because this is a log and not a menu: an install that starts
|
|
1055
|
-
while you are reading the clone above it must not push that clone off the top. */
|
|
1056
|
-
.activity-panel {
|
|
1057
|
-
display: flex;
|
|
1058
|
-
flex-direction: column;
|
|
1059
|
-
gap: 8px;
|
|
1060
|
-
padding: 8px;
|
|
1061
|
-
}
|
|
1062
|
-
.activity-actions {
|
|
1063
|
-
display: flex;
|
|
1064
|
-
justify-content: flex-end;
|
|
1065
|
-
}
|
|
1066
|
-
.activity-row--running {
|
|
1067
|
-
border-left-color: var(--accent);
|
|
1068
|
-
}
|
|
1069
|
-
.activity-row--done {
|
|
1070
|
-
border-left-color: var(--success);
|
|
1071
|
-
}
|
|
1072
|
-
.activity-row--failed {
|
|
1073
|
-
border-left-color: var(--danger);
|
|
1074
|
-
}
|
|
1075
|
-
.activity-row--cancelled {
|
|
1076
|
-
border-left-color: var(--fg-dim);
|
|
1077
|
-
}
|
|
1078
|
-
.activity-row--running .activity-icon {
|
|
1079
|
-
color: var(--accent);
|
|
1080
|
-
}
|
|
1081
|
-
.activity-row--done .activity-icon {
|
|
1082
|
-
color: var(--success);
|
|
1083
|
-
}
|
|
1084
|
-
.activity-row--failed .activity-icon {
|
|
1085
|
-
color: var(--danger);
|
|
1086
|
-
}
|
|
1087
|
-
.activity-head {
|
|
1088
|
-
display: flex;
|
|
1089
|
-
align-items: baseline;
|
|
1090
|
-
gap: 8px;
|
|
1091
|
-
min-width: 0;
|
|
1092
|
-
}
|
|
1093
|
-
.activity-title {
|
|
1094
|
-
font-weight: 700;
|
|
1095
|
-
overflow: hidden;
|
|
1096
|
-
text-overflow: ellipsis;
|
|
1097
|
-
white-space: nowrap;
|
|
1098
|
-
}
|
|
1099
|
-
.activity-source,
|
|
1100
|
-
.activity-duration {
|
|
1101
|
-
flex: none;
|
|
1102
|
-
color: var(--fg-dim);
|
|
1103
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1104
|
-
}
|
|
1105
|
-
/* The duration is pushed to the far edge so a column of rows reads as a column of times. */
|
|
1106
|
-
.activity-duration {
|
|
1107
|
-
margin-left: auto;
|
|
1108
|
-
}
|
|
1109
|
-
.activity-status {
|
|
1110
|
-
color: var(--fg-dim);
|
|
1111
|
-
overflow-wrap: anywhere;
|
|
1112
|
-
}
|
|
1113
|
-
/* The plan, declared up front, so "which of the three steps is this on" is answered by looking
|
|
1114
|
-
rather than by reading the status line and remembering what came before it. */
|
|
1115
|
-
.activity-steps {
|
|
1116
|
-
display: flex;
|
|
1117
|
-
flex-direction: column;
|
|
1118
|
-
gap: 1px;
|
|
1119
|
-
margin: 2px 0 0;
|
|
1120
|
-
padding: 0;
|
|
1121
|
-
list-style: none;
|
|
1122
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1123
|
-
}
|
|
1124
|
-
.activity-step {
|
|
1125
|
-
display: flex;
|
|
1126
|
-
gap: 6px;
|
|
1127
|
-
color: var(--fg-dim);
|
|
1128
|
-
}
|
|
1129
|
-
.activity-step--running {
|
|
1130
|
-
color: var(--fg);
|
|
1131
|
-
}
|
|
1132
|
-
.activity-step--done .activity-step-icon {
|
|
1133
|
-
color: var(--success);
|
|
1134
|
-
}
|
|
1135
|
-
.activity-step--failed .activity-step-icon {
|
|
1136
|
-
color: var(--danger);
|
|
1137
|
-
}
|
|
1138
|
-
.activity-step-icon {
|
|
1139
|
-
flex: none;
|
|
1140
|
-
width: 10px;
|
|
1141
|
-
text-align: center;
|
|
1142
|
-
}
|
|
1143
|
-
.activity-log-toggle {
|
|
1144
|
-
align-self: flex-start;
|
|
1145
|
-
padding: 0;
|
|
1146
|
-
border: none;
|
|
1147
|
-
background: none;
|
|
1148
|
-
color: var(--accent);
|
|
1149
|
-
font: inherit;
|
|
1150
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1151
|
-
cursor: pointer;
|
|
1152
|
-
}
|
|
1153
|
-
.activity-log-toggle:hover {
|
|
1154
|
-
text-decoration: underline;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
/* ─── The one blocking progress surface ───────────────────────────────────────
|
|
1158
|
-
Dependency install, and nothing else (§7.3). Its error view has left for Problems, so what is
|
|
1159
|
-
left is a spinner, a line and the two ways out. */
|
|
1160
|
-
.progress-modal {
|
|
1161
|
-
position: fixed;
|
|
1162
|
-
inset: 0;
|
|
1163
|
-
/* Above its own scrim. `sp-underlay` paints at `z-index: 1`, and this card — its sibling in the
|
|
1164
|
-
modal layer — sat at `auto`, so the scrim covered it: the surface was VISIBLE (the scrim is
|
|
1165
|
-
translucent) and every click landed on the underlay instead. `Run in the background` was the
|
|
1166
|
-
only way out of a running install and could not be pressed. 1000 is what the other four
|
|
1167
|
-
underlay-bearing cards use (.settings-modal, .about-modal, .new-project-modal, .seo-modal). */
|
|
1168
|
-
z-index: 1000;
|
|
1169
|
-
margin: auto;
|
|
1170
|
-
width: min(420px, calc(100vw - 48px));
|
|
1171
|
-
max-height: calc(100vh - 96px);
|
|
1172
|
-
height: max-content;
|
|
1173
|
-
display: flex;
|
|
1174
|
-
flex-direction: column;
|
|
1175
|
-
gap: 16px;
|
|
1176
|
-
padding: 24px;
|
|
1177
|
-
border: 1px solid var(--border);
|
|
1178
|
-
border-radius: var(--spectrum-corner-radius-200, 8px);
|
|
1179
|
-
background: var(--bg-panel);
|
|
1180
|
-
color: var(--fg);
|
|
1181
|
-
box-shadow: 0 8px 32px rgb(0 0 0 / 40%);
|
|
1182
|
-
}
|
|
1183
|
-
.progress-head {
|
|
1184
|
-
display: flex;
|
|
1185
|
-
align-items: center;
|
|
1186
|
-
gap: 14px;
|
|
1187
|
-
}
|
|
1188
|
-
.progress-lines {
|
|
1189
|
-
display: flex;
|
|
1190
|
-
flex-direction: column;
|
|
1191
|
-
gap: 2px;
|
|
1192
|
-
min-width: 0;
|
|
1193
|
-
}
|
|
1194
|
-
.progress-title {
|
|
1195
|
-
font-size: var(--spectrum-font-size-100, 14px);
|
|
1196
|
-
}
|
|
1197
|
-
.progress-status {
|
|
1198
|
-
color: var(--fg-dim);
|
|
1199
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1200
|
-
overflow-wrap: anywhere;
|
|
1201
|
-
}
|
|
1202
|
-
.progress-actions {
|
|
1203
|
-
display: flex;
|
|
1204
|
-
justify-content: flex-end;
|
|
1205
|
-
gap: 8px;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
/* ─── Project Settings, in the pane ───────────────────────────────────────────
|
|
1209
|
-
The settings document (settings/settings-document.ts, panels/settings-pane.ts). Its section
|
|
1210
|
-
internals are the .settings-* rules in overlays.css, unchanged: the modal's IA was never the
|
|
1211
|
-
problem, its modality was, so only the SHELL is new. It fills the pane cell instead of an
|
|
1212
|
-
inset:40px overlay, which is why there is no header row here — the tab strip already names the
|
|
1213
|
-
document and the pane already has a frame. */
|
|
1214
|
-
.settings-doc {
|
|
1215
|
-
display: flex;
|
|
1216
|
-
height: 100%;
|
|
1217
|
-
min-height: 0;
|
|
1218
|
-
background: var(--bg);
|
|
1219
|
-
text-align: initial;
|
|
1220
|
-
}
|
|
1221
|
-
.settings-doc-nav {
|
|
1222
|
-
width: 180px;
|
|
1223
|
-
min-width: 180px;
|
|
1224
|
-
padding: 8px 0;
|
|
1225
|
-
border-right: 1px solid var(--border);
|
|
1226
|
-
overflow-y: auto;
|
|
1227
|
-
display: flex;
|
|
1228
|
-
flex-direction: column;
|
|
1229
|
-
}
|
|
1230
|
-
.settings-doc-content {
|
|
1231
|
-
flex: 1;
|
|
1232
|
-
overflow-y: auto;
|
|
1233
|
-
padding: 24px;
|
|
1234
|
-
min-width: 0;
|
|
1235
|
-
}
|
|
1236
|
-
/* One row of a simple key list — an extension package, and whatever else turns out to be a name
|
|
1237
|
-
with one action beside it. */
|
|
1238
|
-
.settings-row {
|
|
1239
|
-
display: flex;
|
|
1240
|
-
align-items: center;
|
|
1241
|
-
justify-content: space-between;
|
|
1242
|
-
gap: 8px;
|
|
1243
|
-
padding: 4px 8px;
|
|
1244
|
-
}
|
|
1245
|
-
.settings-row-name {
|
|
1246
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1247
|
-
color: var(--fg);
|
|
1248
|
-
overflow-wrap: anywhere;
|
|
1249
|
-
}
|
|
1250
|
-
.settings-extension-name {
|
|
1251
|
-
flex: 1;
|
|
1252
|
-
min-width: 0;
|
|
1253
|
-
}
|
|
1254
|
-
.settings-build-adapter {
|
|
1255
|
-
max-width: 320px;
|
|
1256
|
-
}
|
|
1257
|
-
/* project.json as it is saved. Scrolls in its own box: a 250-line file must not push the "Edit as
|
|
1258
|
-
code" action off the bottom of the section. */
|
|
1259
|
-
.settings-raw-json {
|
|
1260
|
-
margin: 0 0 12px;
|
|
1261
|
-
padding: 12px;
|
|
1262
|
-
max-height: 420px;
|
|
1263
|
-
overflow: auto;
|
|
1264
|
-
border: 1px solid var(--border);
|
|
1265
|
-
border-radius: var(--radius);
|
|
1266
|
-
background: var(--bg-dim, var(--bg));
|
|
1267
|
-
font-family: var(--font-mono);
|
|
1268
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1269
|
-
color: var(--fg);
|
|
1270
|
-
white-space: pre;
|
|
1271
|
-
}
|
|
1272
|
-
.settings-edit-as-code {
|
|
1273
|
-
align-self: flex-start;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
/* ─── The Document Header card's SEO block ───────────────────────────────────
|
|
1277
|
-
Two rendered previews of the MERGED site → layout → page $head, the resolved fields with their
|
|
1278
|
-
character counters and provenance chips, and the named warnings. No score: there is deliberately
|
|
1279
|
-
no rule here that can render a total (plan §9.2, §14).
|
|
1280
|
-
|
|
1281
|
-
The card itself is styled in styles/canvas.css, beside .doc-header — it is drawn in the stage,
|
|
1282
|
-
not in a panel. These rules live here because the SEO block landed in the phase that owns this
|
|
1283
|
-
stylesheet; they belong beside their siblings and should move when the two are next touched
|
|
1284
|
-
together. */
|
|
1285
|
-
.seo-previews {
|
|
1286
|
-
display: flex;
|
|
1287
|
-
flex-wrap: wrap;
|
|
1288
|
-
gap: 8px;
|
|
1289
|
-
padding: 4px 0 8px;
|
|
1290
|
-
}
|
|
1291
|
-
.seo-card {
|
|
1292
|
-
flex: 1 1 220px;
|
|
1293
|
-
min-width: 0;
|
|
1294
|
-
margin: 0;
|
|
1295
|
-
padding: 8px;
|
|
1296
|
-
border: 1px solid var(--border);
|
|
1297
|
-
border-radius: var(--radius);
|
|
1298
|
-
background: var(--bg);
|
|
1299
|
-
}
|
|
1300
|
-
/* The two cards want different floors before they wrap: the result row is text and reads badly
|
|
1301
|
-
narrow, the social card is a fixed-height image with two lines under it. */
|
|
1302
|
-
.seo-card--serp {
|
|
1303
|
-
flex-basis: 260px;
|
|
1304
|
-
}
|
|
1305
|
-
.seo-card--social {
|
|
1306
|
-
flex-basis: 200px;
|
|
1307
|
-
}
|
|
1308
|
-
.seo-card-label {
|
|
1309
|
-
display: block;
|
|
1310
|
-
padding-bottom: 6px;
|
|
1311
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1312
|
-
font-weight: 700;
|
|
1313
|
-
letter-spacing: 0.06em;
|
|
1314
|
-
text-transform: uppercase;
|
|
1315
|
-
color: var(--fg-dim);
|
|
1316
|
-
}
|
|
1317
|
-
/* A search result, in its own proportions: the URL line small, the title the largest thing in the
|
|
1318
|
-
card, the snippet two lines. Clamped rather than truncated at a character count — where a given
|
|
1319
|
-
engine cuts is its business, and the counter beside the field is what states the budget. */
|
|
1320
|
-
.seo-serp-url {
|
|
1321
|
-
overflow: hidden;
|
|
1322
|
-
text-overflow: ellipsis;
|
|
1323
|
-
white-space: nowrap;
|
|
1324
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1325
|
-
color: var(--fg-dim);
|
|
1326
|
-
}
|
|
1327
|
-
.seo-serp-title {
|
|
1328
|
-
overflow: hidden;
|
|
1329
|
-
display: -webkit-box;
|
|
1330
|
-
-webkit-box-orient: vertical;
|
|
1331
|
-
-webkit-line-clamp: 2;
|
|
1332
|
-
line-clamp: 2;
|
|
1333
|
-
padding: 2px 0;
|
|
1334
|
-
font-size: var(--spectrum-font-size-200, 16px);
|
|
1335
|
-
color: var(--accent);
|
|
1336
|
-
}
|
|
1337
|
-
.seo-serp-desc {
|
|
1338
|
-
overflow: hidden;
|
|
1339
|
-
display: -webkit-box;
|
|
1340
|
-
-webkit-box-orient: vertical;
|
|
1341
|
-
-webkit-line-clamp: 2;
|
|
1342
|
-
line-clamp: 2;
|
|
1343
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1344
|
-
color: var(--fg);
|
|
1345
|
-
}
|
|
1346
|
-
.seo-social-media {
|
|
1347
|
-
display: flex;
|
|
1348
|
-
align-items: center;
|
|
1349
|
-
justify-content: center;
|
|
1350
|
-
height: 96px;
|
|
1351
|
-
overflow: hidden;
|
|
1352
|
-
border: 1px solid var(--border);
|
|
1353
|
-
border-radius: var(--radius);
|
|
1354
|
-
background: var(--bg-panel);
|
|
1355
|
-
}
|
|
1356
|
-
.seo-social-media img {
|
|
1357
|
-
width: 100%;
|
|
1358
|
-
height: 100%;
|
|
1359
|
-
object-fit: cover;
|
|
1360
|
-
}
|
|
1361
|
-
.seo-social-text {
|
|
1362
|
-
display: flex;
|
|
1363
|
-
flex-direction: column;
|
|
1364
|
-
gap: 1px;
|
|
1365
|
-
padding-top: 6px;
|
|
1366
|
-
}
|
|
1367
|
-
.seo-social-domain {
|
|
1368
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1369
|
-
text-transform: uppercase;
|
|
1370
|
-
letter-spacing: 0.04em;
|
|
1371
|
-
color: var(--fg-dim);
|
|
1372
|
-
}
|
|
1373
|
-
.seo-social-title {
|
|
1374
|
-
overflow: hidden;
|
|
1375
|
-
text-overflow: ellipsis;
|
|
1376
|
-
white-space: nowrap;
|
|
1377
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1378
|
-
font-weight: 700;
|
|
1379
|
-
color: var(--fg);
|
|
1380
|
-
}
|
|
1381
|
-
.seo-social-desc {
|
|
1382
|
-
overflow: hidden;
|
|
1383
|
-
display: -webkit-box;
|
|
1384
|
-
-webkit-box-orient: vertical;
|
|
1385
|
-
-webkit-line-clamp: 2;
|
|
1386
|
-
line-clamp: 2;
|
|
1387
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1388
|
-
color: var(--fg-dim);
|
|
1389
|
-
}
|
|
1390
|
-
/* Absence, said once and in one colour, wherever a preview has nothing to draw. */
|
|
1391
|
-
.seo-unset {
|
|
1392
|
-
font-style: italic;
|
|
1393
|
-
color: var(--fg-dim);
|
|
1394
|
-
}
|
|
1395
|
-
.seo-fields {
|
|
1396
|
-
display: flex;
|
|
1397
|
-
flex-direction: column;
|
|
1398
|
-
gap: 2px;
|
|
1399
|
-
margin: 0;
|
|
1400
|
-
padding: 0 0 6px;
|
|
1401
|
-
list-style: none;
|
|
1402
|
-
}
|
|
1403
|
-
.seo-field {
|
|
1404
|
-
display: flex;
|
|
1405
|
-
align-items: baseline;
|
|
1406
|
-
gap: 8px;
|
|
1407
|
-
min-width: 0;
|
|
1408
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1409
|
-
}
|
|
1410
|
-
.seo-field-label {
|
|
1411
|
-
flex: 0 0 96px;
|
|
1412
|
-
color: var(--fg-dim);
|
|
1413
|
-
}
|
|
1414
|
-
.seo-field-value {
|
|
1415
|
-
flex: 1;
|
|
1416
|
-
min-width: 0;
|
|
1417
|
-
overflow: hidden;
|
|
1418
|
-
text-overflow: ellipsis;
|
|
1419
|
-
white-space: nowrap;
|
|
1420
|
-
color: var(--fg);
|
|
1421
|
-
}
|
|
1422
|
-
/* The counter is a reference line, not a verdict — over budget is stated, never scored. */
|
|
1423
|
-
.seo-field-count {
|
|
1424
|
-
flex: 0 0 auto;
|
|
1425
|
-
font-family: var(--font-mono);
|
|
1426
|
-
font-variant-numeric: tabular-nums;
|
|
1427
|
-
color: var(--fg-dim);
|
|
1428
|
-
}
|
|
1429
|
-
.seo-field-count--over {
|
|
1430
|
-
color: var(--warning);
|
|
1431
|
-
}
|
|
1432
|
-
.seo-warnings {
|
|
1433
|
-
display: flex;
|
|
1434
|
-
flex-direction: column;
|
|
1435
|
-
gap: 4px;
|
|
1436
|
-
margin: 0;
|
|
1437
|
-
padding: 0 0 6px;
|
|
1438
|
-
list-style: none;
|
|
1439
|
-
}
|
|
1440
|
-
.seo-warning {
|
|
1441
|
-
display: flex;
|
|
1442
|
-
gap: 6px;
|
|
1443
|
-
min-width: 0;
|
|
1444
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1445
|
-
color: var(--fg-dim);
|
|
1446
|
-
}
|
|
1447
|
-
.seo-warning-field {
|
|
1448
|
-
flex: 0 0 auto;
|
|
1449
|
-
font-family: var(--font-mono);
|
|
1450
|
-
color: var(--warning);
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
/* ─── ⑪ · Logic — the formula workspace and the function editor ──────── */
|
|
1454
|
-
/* Both surfaces moved out of their canvas takeovers into the Bottom dock (plan §12 P8.5), and a
|
|
1455
|
-
dock is not a stage: the whole surface has to fit ~240px with the page still rendering above it.
|
|
1456
|
-
So the header, the chip pipeline and the result are one line each, and only the two middle
|
|
1457
|
-
columns scroll. These rules replace the inline `style=` attributes the takeover carried, which
|
|
1458
|
-
is why seventeen `fw-*` classes have left check-styles.ts's orphan list. */
|
|
1459
|
-
.formula-workspace {
|
|
1460
|
-
display: flex;
|
|
1461
|
-
flex-direction: column;
|
|
1462
|
-
min-height: 0;
|
|
1463
|
-
height: 100%;
|
|
1464
|
-
background: var(--bg-panel);
|
|
1465
|
-
}
|
|
1466
|
-
.fw-header {
|
|
1467
|
-
display: flex;
|
|
1468
|
-
flex-shrink: 0;
|
|
1469
|
-
gap: 8px;
|
|
1470
|
-
align-items: center;
|
|
1471
|
-
padding: 6px 10px;
|
|
1472
|
-
border-bottom: 1px solid var(--border);
|
|
1473
|
-
}
|
|
1474
|
-
.fw-title {
|
|
1475
|
-
overflow: hidden;
|
|
1476
|
-
font-family: var(--font-mono);
|
|
1477
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1478
|
-
color: var(--fg);
|
|
1479
|
-
white-space: nowrap;
|
|
1480
|
-
text-overflow: ellipsis;
|
|
1481
|
-
}
|
|
1482
|
-
.fw-kind {
|
|
1483
|
-
flex-shrink: 0;
|
|
1484
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1485
|
-
color: var(--fg-dim);
|
|
1486
|
-
}
|
|
1487
|
-
.fw-header-gap {
|
|
1488
|
-
flex: 1;
|
|
1489
|
-
min-width: 0;
|
|
1490
|
-
}
|
|
1491
|
-
.fw-chips {
|
|
1492
|
-
flex-shrink: 0;
|
|
1493
|
-
overflow-x: auto;
|
|
1494
|
-
padding: 4px 10px;
|
|
1495
|
-
border-bottom: 1px solid var(--border);
|
|
1496
|
-
white-space: nowrap;
|
|
1497
|
-
}
|
|
1498
|
-
/* The two columns, and the only thing in the tab that scrolls vertically. */
|
|
1499
|
-
.fw-body {
|
|
1500
|
-
display: flex;
|
|
1501
|
-
flex: 1;
|
|
1502
|
-
min-height: 0;
|
|
1503
|
-
}
|
|
1504
|
-
.fw-editor {
|
|
1505
|
-
flex: 1;
|
|
1506
|
-
min-width: 0;
|
|
1507
|
-
overflow: auto;
|
|
1508
|
-
padding: 8px 10px;
|
|
1509
|
-
}
|
|
1510
|
-
.fw-selected {
|
|
1511
|
-
padding-bottom: 6px;
|
|
1512
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1513
|
-
color: var(--fg-dim);
|
|
1514
|
-
}
|
|
1515
|
-
.fw-selected-node {
|
|
1516
|
-
font-family: var(--font-mono);
|
|
1517
|
-
}
|
|
1518
|
-
/* Narrower than the takeover's 280px slab: at dock height it is a reference column beside the
|
|
1519
|
-
editor, and the live values it used to be the only source of are on the canvas now. */
|
|
1520
|
-
.fw-context {
|
|
1521
|
-
flex: 0 0 200px;
|
|
1522
|
-
overflow: auto;
|
|
1523
|
-
padding: 8px 10px;
|
|
1524
|
-
border-left: 1px solid var(--border);
|
|
1525
|
-
}
|
|
1526
|
-
.fw-context-title {
|
|
1527
|
-
padding-bottom: 6px;
|
|
1528
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1529
|
-
letter-spacing: 0.5px;
|
|
1530
|
-
color: var(--fg-dim);
|
|
1531
|
-
text-transform: uppercase;
|
|
1532
|
-
}
|
|
1533
|
-
.fw-context-entry {
|
|
1534
|
-
margin-bottom: 8px;
|
|
1535
|
-
}
|
|
1536
|
-
.fw-context-head {
|
|
1537
|
-
display: flex;
|
|
1538
|
-
gap: 6px;
|
|
1539
|
-
align-items: baseline;
|
|
1540
|
-
}
|
|
1541
|
-
.fw-context-name {
|
|
1542
|
-
font-family: var(--font-mono);
|
|
1543
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1544
|
-
color: var(--fg);
|
|
1545
|
-
}
|
|
1546
|
-
.fw-context-type {
|
|
1547
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1548
|
-
color: var(--fg-dim);
|
|
1549
|
-
}
|
|
1550
|
-
.fw-result {
|
|
1551
|
-
flex-shrink: 0;
|
|
1552
|
-
overflow: hidden;
|
|
1553
|
-
padding: 6px 10px;
|
|
1554
|
-
border-top: 1px solid var(--border);
|
|
1555
|
-
font-family: var(--font-mono);
|
|
1556
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1557
|
-
color: var(--success);
|
|
1558
|
-
white-space: nowrap;
|
|
1559
|
-
text-overflow: ellipsis;
|
|
1560
|
-
}
|
|
1561
|
-
.fw-result--error {
|
|
1562
|
-
color: var(--danger);
|
|
1563
|
-
}
|
|
1564
|
-
.fw-result--pending {
|
|
1565
|
-
font-family: inherit;
|
|
1566
|
-
color: var(--fg-dim);
|
|
1567
|
-
}
|
|
1568
|
-
.fw-result-note {
|
|
1569
|
-
color: var(--fg-dim);
|
|
1570
|
-
}
|
|
1571
|
-
/* Monaco's host. It must have a real height of its own — the editor measures its container, and a
|
|
1572
|
-
flex item with `auto` minimum would report the editor's own content height back at itself. */
|
|
1573
|
-
.fw-code {
|
|
1574
|
-
flex: 1;
|
|
1575
|
-
min-height: 0;
|
|
1576
|
-
}
|
|
1577
|
-
/* The code surface has no chip strip, no rail and no result line, so the editor takes the height
|
|
1578
|
-
the formula surface spends on all three. */
|
|
1579
|
-
.formula-workspace--code {
|
|
1580
|
-
overflow: hidden;
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
/* ─── Languages (parity grid) ─────────────────────────────────────────────────
|
|
1584
|
-
A grid over ABSENCE: one row per translation key, one column per declared locale, and a cell
|
|
1585
|
-
that is a button whichever of the three states it is in. The glyph carries the state and the
|
|
1586
|
-
colour repeats it, the way `.problem-row--*` does, because a column of squares is read by
|
|
1587
|
-
scanning rather than by reading. */
|
|
1588
|
-
.i18n-panel {
|
|
1589
|
-
display: flex;
|
|
1590
|
-
flex-direction: column;
|
|
1591
|
-
gap: 8px;
|
|
1592
|
-
padding: 8px;
|
|
1593
|
-
min-width: 0;
|
|
1594
|
-
}
|
|
1595
|
-
.i18n-actions {
|
|
1596
|
-
display: flex;
|
|
1597
|
-
align-items: baseline;
|
|
1598
|
-
justify-content: space-between;
|
|
1599
|
-
gap: 8px;
|
|
1600
|
-
}
|
|
1601
|
-
.i18n-summary {
|
|
1602
|
-
margin: 0;
|
|
1603
|
-
min-width: 0;
|
|
1604
|
-
color: var(--fg-dim);
|
|
1605
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1606
|
-
}
|
|
1607
|
-
.i18n-rescan {
|
|
1608
|
-
flex: none;
|
|
1609
|
-
padding: 2px 8px;
|
|
1610
|
-
border: 1px solid var(--border);
|
|
1611
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
1612
|
-
background: transparent;
|
|
1613
|
-
color: var(--fg-dim);
|
|
1614
|
-
font: inherit;
|
|
1615
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1616
|
-
cursor: pointer;
|
|
1617
|
-
}
|
|
1618
|
-
.i18n-rescan:hover {
|
|
1619
|
-
color: var(--fg);
|
|
1620
|
-
background: var(--hover-bg);
|
|
1621
|
-
}
|
|
1622
|
-
/* A directory the scan could not read makes the whole grid a partial answer, so it says so above
|
|
1623
|
-
the table rather than letting an unreadable `content/` read as a project with no content. */
|
|
1624
|
-
.i18n-incomplete {
|
|
1625
|
-
margin: 0;
|
|
1626
|
-
padding: 4px 6px;
|
|
1627
|
-
border-left: 3px solid var(--warning);
|
|
1628
|
-
border-radius: var(--radius);
|
|
1629
|
-
background: var(--bg-panel);
|
|
1630
|
-
color: var(--fg-dim);
|
|
1631
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1632
|
-
}
|
|
1633
|
-
/* The Navigator is narrow and a key is a path, so the table scrolls sideways rather than wrapping
|
|
1634
|
-
every path onto four lines. */
|
|
1635
|
-
.i18n-parity {
|
|
1636
|
-
display: block;
|
|
1637
|
-
overflow-x: auto;
|
|
1638
|
-
border-collapse: collapse;
|
|
1639
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1640
|
-
}
|
|
1641
|
-
.i18n-key-head,
|
|
1642
|
-
.i18n-locale-head {
|
|
1643
|
-
padding: 2px 6px;
|
|
1644
|
-
border-bottom: 1px solid var(--border);
|
|
1645
|
-
color: var(--fg-dim);
|
|
1646
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1647
|
-
font-weight: 700;
|
|
1648
|
-
text-align: start;
|
|
1649
|
-
text-transform: uppercase;
|
|
1650
|
-
letter-spacing: 0.04em;
|
|
1651
|
-
white-space: nowrap;
|
|
1652
|
-
}
|
|
1653
|
-
.i18n-default-mark {
|
|
1654
|
-
margin-inline-start: 4px;
|
|
1655
|
-
color: var(--accent);
|
|
1656
|
-
font-weight: 400;
|
|
1657
|
-
text-transform: none;
|
|
1658
|
-
letter-spacing: normal;
|
|
1659
|
-
}
|
|
1660
|
-
.i18n-row:hover {
|
|
1661
|
-
background: var(--hover-bg);
|
|
1662
|
-
}
|
|
1663
|
-
.i18n-key {
|
|
1664
|
-
max-width: 220px;
|
|
1665
|
-
overflow: hidden;
|
|
1666
|
-
padding: 2px 6px;
|
|
1667
|
-
color: var(--fg);
|
|
1668
|
-
font-family: var(--font-mono);
|
|
1669
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1670
|
-
font-weight: 400;
|
|
1671
|
-
text-align: start;
|
|
1672
|
-
text-overflow: ellipsis;
|
|
1673
|
-
white-space: nowrap;
|
|
1674
|
-
}
|
|
1675
|
-
.i18n-cell {
|
|
1676
|
-
padding: 2px 6px;
|
|
1677
|
-
text-align: center;
|
|
1678
|
-
}
|
|
1679
|
-
.i18n-cell-button {
|
|
1680
|
-
inline-size: 22px;
|
|
1681
|
-
block-size: 18px;
|
|
1682
|
-
border: 1px solid var(--border);
|
|
1683
|
-
border-radius: var(--spectrum-corner-radius-75, 2px);
|
|
1684
|
-
background: transparent;
|
|
1685
|
-
color: var(--fg-dim);
|
|
1686
|
-
font: inherit;
|
|
1687
|
-
font-size: var(--spectrum-font-size-75, 12px);
|
|
1688
|
-
line-height: 1;
|
|
1689
|
-
cursor: pointer;
|
|
1690
|
-
}
|
|
1691
|
-
.i18n-cell-button:hover:not(:disabled) {
|
|
1692
|
-
background: var(--hover-bg);
|
|
1693
|
-
}
|
|
1694
|
-
.i18n-cell-button:disabled {
|
|
1695
|
-
cursor: default;
|
|
1696
|
-
opacity: 0.45;
|
|
1697
|
-
}
|
|
1698
|
-
.i18n-cell-button--present {
|
|
1699
|
-
color: var(--success);
|
|
1700
|
-
}
|
|
1701
|
-
.i18n-cell-button--stale {
|
|
1702
|
-
color: var(--warning);
|
|
1703
|
-
border-color: var(--warning);
|
|
1704
|
-
}
|
|
1705
|
-
.i18n-cell-button--missing {
|
|
1706
|
-
color: var(--accent);
|
|
1707
|
-
border-style: dashed;
|
|
1708
|
-
}
|
|
1709
|
-
.i18n-truncated {
|
|
1710
|
-
margin: 0;
|
|
1711
|
-
color: var(--fg-dim);
|
|
1712
|
-
font-size: var(--spectrum-font-size-50, 11px);
|
|
1713
|
-
}
|