openplanr 2.2.2 → 2.4.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/CHANGELOG.md +10 -0
- package/dist/services/diagram-pipeline-service.d.ts +6 -0
- package/dist/services/diagram-pipeline-service.d.ts.map +1 -1
- package/dist/services/diagram-pipeline-service.js +45 -2
- package/dist/services/diagram-pipeline-service.js.map +1 -1
- package/lib/host-packages/adapter-registry.json +5 -5
- package/lib/host-packages/capability-map.json +1 -1
- package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
- package/lib/host-packages/claude/openplanr/.openplanr-content.json +14 -14
- package/lib/host-packages/claude/openplanr/skills/design/scripts/design.mjs +9 -26
- package/lib/host-packages/claude/openplanr/skills/design/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design.mjs +9 -26
- package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design.mjs +9 -26
- package/lib/host-packages/claude/openplanr/skills/design-review/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/claude/openplanr/skills/diagram/SKILL.md +23 -0
- package/lib/host-packages/claude/openplanr/skills/diagram/openplanr.skill.json +1 -1
- package/lib/host-packages/claude/openplanr/skills/diagram/references/diagram-document.md +4 -0
- package/lib/host-packages/claude/openplanr/skills/diagram/references/diagram-intent-to-ir.md +25 -0
- package/lib/host-packages/claude/openplanr/skills/plan/scripts/design.mjs +9 -26
- package/lib/host-packages/claude/openplanr/skills/plan/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/cursor/openplanr/.openplanr-content.json +13 -13
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design.mjs +9 -26
- package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design.mjs +9 -26
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design.mjs +9 -26
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-diagram/references/diagram-document.md +4 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-diagram/references/diagram-intent-to-ir.md +25 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-diagram.mdc +23 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design.mjs +9 -26
- package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
- package/lib/host-packages/openai/openplanr/.openplanr-content.json +14 -14
- package/lib/host-packages/openai/openplanr/skills/design/scripts/design.mjs +9 -26
- package/lib/host-packages/openai/openplanr/skills/design/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design.mjs +9 -26
- package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design.mjs +9 -26
- package/lib/host-packages/openai/openplanr/skills/design-review/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/lib/host-packages/openai/openplanr/skills/diagram/SKILL.md +23 -0
- package/lib/host-packages/openai/openplanr/skills/diagram/openplanr.skill.json +1 -1
- package/lib/host-packages/openai/openplanr/skills/diagram/references/diagram-document.md +4 -0
- package/lib/host-packages/openai/openplanr/skills/diagram/references/diagram-intent-to-ir.md +25 -0
- package/lib/host-packages/openai/openplanr/skills/plan/scripts/design.mjs +9 -26
- package/lib/host-packages/openai/openplanr/skills/plan/scripts/runtime/packages/design/templates/studio/studio.css +2 -1
- package/package.json +2 -2
|
@@ -11837,11 +11837,14 @@ function activeMetadata(model) {
|
|
|
11837
11837
|
if (!artifact) return "HTML \xB7 1440\xD7900";
|
|
11838
11838
|
return `${artifact.kind.toUpperCase()} \xB7 ${artifact.viewport.width}\xD7${artifact.viewport.height}`;
|
|
11839
11839
|
}
|
|
11840
|
+
function renderPlanrMark() {
|
|
11841
|
+
return '<span class="planr-mark" aria-hidden="true"><svg viewBox="0 0 160 160" focusable="false"><g transform="rotate(-45 80 80)"><path d="M125 50A52 52 0 1 0 125 110" fill="none" stroke="currentColor" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><rect x="127" y="71" width="18" height="18" rx="3" fill="currentColor"/></g></svg></span>';
|
|
11842
|
+
}
|
|
11840
11843
|
function renderArtifactToolbar(model) {
|
|
11841
11844
|
const interact = model.reviewMode === "interact";
|
|
11842
11845
|
const canvas = model.presentation === "canvas";
|
|
11843
11846
|
return `<header class="planr-toolbar">
|
|
11844
|
-
<div class="planr-brand" aria-label="OpenPlanr"
|
|
11847
|
+
<div class="planr-brand" aria-label="OpenPlanr">${renderPlanrMark()}<span class="planr-title-block"><strong>${escapeHtml(model.title)}</strong>${canvas ? `<span>${escapeHtml(activeMetadata(model))}</span>` : ""}</span></div>
|
|
11845
11848
|
<span class="planr-privacy" data-privacy="${escapeHtml(model.privacy)}">${escapeHtml(model.privacyLabel)}</span>
|
|
11846
11849
|
${canvas ? ' <span class="planr-domain-toolbar" data-planr-slot="domain-toolbar" aria-label="Artifact workflow controls"></span>\n' : ""} <span class="planr-toolbar-spacer" aria-hidden="true"></span>
|
|
11847
11850
|
${canvas ? ` <div class="planr-segment" role="group" aria-label="Viewport controls"><button type="button" data-planr-action="zoom-out" aria-label="Zoom out">\u2212</button><button type="button" data-planr-action="zoom-reset" aria-label="Reset zoom">${model.zoom}%</button><button type="button" data-planr-action="zoom-in" aria-label="Zoom in">+</button></div>
|
|
@@ -11980,7 +11983,7 @@ function renderArtifactShareDialog() {
|
|
|
11980
11983
|
}
|
|
11981
11984
|
function renderHostedArtifactViewerSlot() {
|
|
11982
11985
|
return `<section class="planr-hosted-viewer" data-planr-hosted-viewer data-planr-hosted-state="idle" role="status" aria-live="polite" aria-atomic="true" hidden>
|
|
11983
|
-
<div
|
|
11986
|
+
<div>${renderPlanrMark()}<strong data-planr-hosted-title></strong><p data-planr-hosted-detail></p><button type="button" data-planr-hosted-retry hidden></button></div>
|
|
11984
11987
|
</section>`;
|
|
11985
11988
|
}
|
|
11986
11989
|
function renderArtifactShellMarkup(model) {
|
|
@@ -12107,28 +12110,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12107
12110
|
background: color-mix(in srgb, var(--planr-color-chrome) 96%, transparent);
|
|
12108
12111
|
}
|
|
12109
12112
|
.planr-brand { min-width: 0; display: flex; align-items: center; gap: 9px; }
|
|
12110
|
-
.planr-mark {
|
|
12111
|
-
|
|
12112
|
-
width: 20px;
|
|
12113
|
-
height: 20px;
|
|
12114
|
-
flex: none;
|
|
12115
|
-
rotate: 45deg;
|
|
12116
|
-
border: 1px solid color-mix(in srgb, var(--planr-color-primary) 70%, var(--planr-color-rule));
|
|
12117
|
-
border-radius: var(--planr-radius-small);
|
|
12118
|
-
}
|
|
12119
|
-
.planr-mark::before, .planr-mark::after {
|
|
12120
|
-
content: "";
|
|
12121
|
-
position: absolute;
|
|
12122
|
-
border-radius: 2px;
|
|
12123
|
-
background: var(--planr-color-primary);
|
|
12124
|
-
}
|
|
12125
|
-
.planr-mark::before {
|
|
12126
|
-
width: 4px;
|
|
12127
|
-
height: 4px;
|
|
12128
|
-
inset: 3px auto auto 3px;
|
|
12129
|
-
box-shadow: 8px 8px 0 var(--planr-color-warning);
|
|
12130
|
-
}
|
|
12131
|
-
.planr-mark::after { width: 8px; height: 2px; inset: 9px auto auto 6px; rotate: -45deg; }
|
|
12113
|
+
.planr-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--planr-color-primary); contain: paint; }
|
|
12114
|
+
.planr-mark svg { display: block; width: 100%; height: 100%; }
|
|
12132
12115
|
.planr-title-block { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
|
|
12133
12116
|
.planr-title-block strong {
|
|
12134
12117
|
max-width: 260px;
|
|
@@ -12887,7 +12870,7 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12887
12870
|
text-align: center;
|
|
12888
12871
|
box-shadow: 0 18px 60px color-mix(in srgb, var(--planr-color-background) 50%, transparent);
|
|
12889
12872
|
}
|
|
12890
|
-
.planr-hosted-viewer .planr-mark {
|
|
12873
|
+
.planr-hosted-viewer .planr-mark { width: 40px; height: 40px; margin-bottom: 20px; }
|
|
12891
12874
|
.planr-hosted-viewer strong { display: block; margin-bottom: 7px; font: 650 19px/1.2 var(--planr-font-display); }
|
|
12892
12875
|
.planr-hosted-viewer p { margin: 0; color: var(--planr-color-text-muted); }
|
|
12893
12876
|
.planr-hosted-viewer button { margin-top: 16px; border-color: var(--planr-color-primary); color: var(--planr-color-primary); }
|
|
@@ -13161,7 +13144,7 @@ function toolbar(document2) {
|
|
|
13161
13144
|
return `<header class="planr-toolbar design-toolbar">
|
|
13162
13145
|
<div class="design-toolbar-leading">
|
|
13163
13146
|
${iconButton("Screens", "left", 'data-design-toggle-nav aria-controls="design-navigator" aria-expanded="true"', "planr-toolbar-action design-panel-toggle")}
|
|
13164
|
-
<div class="planr-brand"
|
|
13147
|
+
<div class="planr-brand">${renderPlanrMark()}<span class="design-wordmark" aria-label="OpenPlanr">Open<span>Planr</span></span><span class="planr-title-block"><strong title="${escapeHtml(document2.title)}">${escapeHtml(document2.title)}</strong></span></div>
|
|
13165
13148
|
</div>
|
|
13166
13149
|
<div class="planr-segment design-view-picker" role="group" aria-label="Design view">${["canvas", "prototype", "walkthrough"].map((view) => iconButton(view[0].toUpperCase() + view.slice(1), view, `data-design-view="${view}" aria-pressed="${document2.defaultView === view}"`)).join("")}</div>
|
|
13167
13150
|
<div class="design-toolbar-trailing">
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
.design-toolbar-leading, .design-toolbar-trailing { display:flex; align-items:center; gap:10px; min-width:0; }
|
|
48
48
|
.design-toolbar-trailing { justify-content:flex-end; }
|
|
49
|
-
.design-toolbar .planr-brand { display:grid; gap:
|
|
49
|
+
.design-toolbar .planr-brand { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; row-gap:1px; align-items:center; }
|
|
50
|
+
.design-toolbar .planr-brand .planr-mark { grid-row:1 / span 2; }
|
|
50
51
|
.design-wordmark { font: 800 18px/1 var(--planr-font-display); letter-spacing:-.045em; white-space:nowrap; }
|
|
51
52
|
.design-wordmark > span { color:var(--planr-color-primary); }
|
|
52
53
|
.design-toolbar .planr-title-block strong { max-width: min(22vw, 270px); color:var(--planr-color-text-muted); font:400 10px/1.3 var(--planr-font-body); }
|
|
@@ -29,6 +29,12 @@ question UI. Write one digestless Protocol 1.6 diagram draft from the bundled
|
|
|
29
29
|
contract, then run the command below. The CLI validates it and adds the
|
|
30
30
|
canonical digest; the skill must not calculate that digest itself.
|
|
31
31
|
|
|
32
|
+
For "who does what, and when" between actors, use a lane grammar (`swimlane`
|
|
33
|
+
or `process`): one lane per actor with its `members`, `left-right` so lanes
|
|
34
|
+
read as rows, and relations for the handoffs. For a board (`kanban`,
|
|
35
|
+
`story-map`), use `top-down` so lanes read as columns and leave `relations`
|
|
36
|
+
empty; members stack in declared order.
|
|
37
|
+
|
|
32
38
|
```sh
|
|
33
39
|
planr diagram render <file>.planr-diagram.json --json
|
|
34
40
|
```
|
|
@@ -50,6 +56,23 @@ a source branch of an existing generated set; rerender its manifest with
|
|
|
50
56
|
[fidelity guide](references/diagram-fidelity.md) when choosing an editable
|
|
51
57
|
projection or explaining an omitted one.
|
|
52
58
|
|
|
59
|
+
## Look before you hand over
|
|
60
|
+
|
|
61
|
+
Every manifest result carries a `quality` object — `status`, `failedChecks`,
|
|
62
|
+
`warningChecks`. Treat anything other than `pass` as unfinished work. An
|
|
63
|
+
`invalid` set returns no `nextAction`: restructure and render again rather than
|
|
64
|
+
opening the studio. A missing `quality` object means the report could not be
|
|
65
|
+
read, which `warnings` explains; that set is unverified, not verified.
|
|
66
|
+
|
|
67
|
+
A `pass` quality status is necessary, not sufficient. After every render, open
|
|
68
|
+
the PNG or SVG the command lists and check four signatures: a label that reads as
|
|
69
|
+
another node's caption, rectangles that overlap, a connector crossing the whole
|
|
70
|
+
canvas, and a node drawn below a step it precedes. Any `warning` check, in
|
|
71
|
+
particular `label-foreign-node`, names the first of these. When one appears,
|
|
72
|
+
restructure using the [layout heuristics](references/diagram-intent-to-ir.md)
|
|
73
|
+
(fewer relations per node, no back edge, no groups, shorter labels) and render
|
|
74
|
+
again before starting the studio. Report which signatures you checked.
|
|
75
|
+
|
|
53
76
|
After a successful render or rerender, run the returned `nextAction` to start
|
|
54
77
|
the native diagram studio (one SVG canvas, outline, pan/zoom, comments, and
|
|
55
78
|
exports). Keep that process alive, wait for its startup
|
|
@@ -76,6 +76,10 @@ messages, and events as named phases. After participant IDs, interleave phase
|
|
|
76
76
|
event IDs and message relation IDs in `accessibility.readingOrder`. That order
|
|
77
77
|
is the canonical timeline used by the renderer and editable projections.
|
|
78
78
|
|
|
79
|
+
For a lane grammar, add a `lanes` collection of `{ "id", "label", "members" }`
|
|
80
|
+
entries whose `members` list node IDs. Every member must exist, and the
|
|
81
|
+
renderer draws each lane as a titled band holding those nodes.
|
|
82
|
+
|
|
79
83
|
Write the draft to `<slug>.planr-diagram.json`, then run:
|
|
80
84
|
|
|
81
85
|
```sh
|
package/lib/host-packages/claude/openplanr/skills/diagram/references/diagram-intent-to-ir.md
CHANGED
|
@@ -17,6 +17,31 @@ Use this reference only when turning natural-language intent into a Protocol 1.6
|
|
|
17
17
|
5. Provide a useful accessible title, description, and semantic reading order.
|
|
18
18
|
Keep labels concise enough to scan at the target size.
|
|
19
19
|
|
|
20
|
+
## Layout heuristics
|
|
21
|
+
|
|
22
|
+
The renderer lays out deterministically; these choices decide whether the result
|
|
23
|
+
reads at a glance.
|
|
24
|
+
|
|
25
|
+
- Prefer `top-down` for graphs with relations. Use `left-right` for sequences
|
|
26
|
+
and timelines, where the flow axis is time.
|
|
27
|
+
- Keep fan-out to four relations per source and fan-in to four per target. Above
|
|
28
|
+
that, introduce an intermediate node or split the diagram.
|
|
29
|
+
- Keep a `balanced` render to twelve semantic nodes; use `faithful` only when the
|
|
30
|
+
reader needs every item and accepts a taller canvas.
|
|
31
|
+
- Prefer labels of one or two words. Put the explanation in the item
|
|
32
|
+
`description`; the studio shows it on selection.
|
|
33
|
+
- Use `flow` for the main path, `dependency` for "uses" or "reads", and
|
|
34
|
+
`transition` for a return or retry. Flow renders solid, dependency dashed.
|
|
35
|
+
- Add a back edge (a relation to an earlier node) only when the grammar is a
|
|
36
|
+
cycle by nature, such as `state-machine` or `loop-flywheel`. In `architecture`
|
|
37
|
+
and `flowchart` a back edge pushes its target to the bottom of the canvas.
|
|
38
|
+
- Use groups sparingly, at most one level, and never for the whole graph. Use
|
|
39
|
+
at most one annotation; more than that draws connectors across the canvas.
|
|
40
|
+
- Lanes are bands perpendicular to the flow: rows under `left-right`, columns
|
|
41
|
+
under `top-down`. Put every node in exactly one lane; a node outside all
|
|
42
|
+
lanes renders in an unbanded strip after the last lane. A step's position
|
|
43
|
+
along the flow is its relation rank, so a handoff lines up across lanes.
|
|
44
|
+
|
|
20
45
|
Ask a question only if selecting a different answer would change the grammar,
|
|
21
46
|
meaning, or audience. Infer presentation details from context and let the
|
|
22
47
|
runtime validate them.
|
|
@@ -11837,11 +11837,14 @@ function activeMetadata(model) {
|
|
|
11837
11837
|
if (!artifact) return "HTML \xB7 1440\xD7900";
|
|
11838
11838
|
return `${artifact.kind.toUpperCase()} \xB7 ${artifact.viewport.width}\xD7${artifact.viewport.height}`;
|
|
11839
11839
|
}
|
|
11840
|
+
function renderPlanrMark() {
|
|
11841
|
+
return '<span class="planr-mark" aria-hidden="true"><svg viewBox="0 0 160 160" focusable="false"><g transform="rotate(-45 80 80)"><path d="M125 50A52 52 0 1 0 125 110" fill="none" stroke="currentColor" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><rect x="127" y="71" width="18" height="18" rx="3" fill="currentColor"/></g></svg></span>';
|
|
11842
|
+
}
|
|
11840
11843
|
function renderArtifactToolbar(model) {
|
|
11841
11844
|
const interact = model.reviewMode === "interact";
|
|
11842
11845
|
const canvas = model.presentation === "canvas";
|
|
11843
11846
|
return `<header class="planr-toolbar">
|
|
11844
|
-
<div class="planr-brand" aria-label="OpenPlanr"
|
|
11847
|
+
<div class="planr-brand" aria-label="OpenPlanr">${renderPlanrMark()}<span class="planr-title-block"><strong>${escapeHtml(model.title)}</strong>${canvas ? `<span>${escapeHtml(activeMetadata(model))}</span>` : ""}</span></div>
|
|
11845
11848
|
<span class="planr-privacy" data-privacy="${escapeHtml(model.privacy)}">${escapeHtml(model.privacyLabel)}</span>
|
|
11846
11849
|
${canvas ? ' <span class="planr-domain-toolbar" data-planr-slot="domain-toolbar" aria-label="Artifact workflow controls"></span>\n' : ""} <span class="planr-toolbar-spacer" aria-hidden="true"></span>
|
|
11847
11850
|
${canvas ? ` <div class="planr-segment" role="group" aria-label="Viewport controls"><button type="button" data-planr-action="zoom-out" aria-label="Zoom out">\u2212</button><button type="button" data-planr-action="zoom-reset" aria-label="Reset zoom">${model.zoom}%</button><button type="button" data-planr-action="zoom-in" aria-label="Zoom in">+</button></div>
|
|
@@ -11980,7 +11983,7 @@ function renderArtifactShareDialog() {
|
|
|
11980
11983
|
}
|
|
11981
11984
|
function renderHostedArtifactViewerSlot() {
|
|
11982
11985
|
return `<section class="planr-hosted-viewer" data-planr-hosted-viewer data-planr-hosted-state="idle" role="status" aria-live="polite" aria-atomic="true" hidden>
|
|
11983
|
-
<div
|
|
11986
|
+
<div>${renderPlanrMark()}<strong data-planr-hosted-title></strong><p data-planr-hosted-detail></p><button type="button" data-planr-hosted-retry hidden></button></div>
|
|
11984
11987
|
</section>`;
|
|
11985
11988
|
}
|
|
11986
11989
|
function renderArtifactShellMarkup(model) {
|
|
@@ -12107,28 +12110,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12107
12110
|
background: color-mix(in srgb, var(--planr-color-chrome) 96%, transparent);
|
|
12108
12111
|
}
|
|
12109
12112
|
.planr-brand { min-width: 0; display: flex; align-items: center; gap: 9px; }
|
|
12110
|
-
.planr-mark {
|
|
12111
|
-
|
|
12112
|
-
width: 20px;
|
|
12113
|
-
height: 20px;
|
|
12114
|
-
flex: none;
|
|
12115
|
-
rotate: 45deg;
|
|
12116
|
-
border: 1px solid color-mix(in srgb, var(--planr-color-primary) 70%, var(--planr-color-rule));
|
|
12117
|
-
border-radius: var(--planr-radius-small);
|
|
12118
|
-
}
|
|
12119
|
-
.planr-mark::before, .planr-mark::after {
|
|
12120
|
-
content: "";
|
|
12121
|
-
position: absolute;
|
|
12122
|
-
border-radius: 2px;
|
|
12123
|
-
background: var(--planr-color-primary);
|
|
12124
|
-
}
|
|
12125
|
-
.planr-mark::before {
|
|
12126
|
-
width: 4px;
|
|
12127
|
-
height: 4px;
|
|
12128
|
-
inset: 3px auto auto 3px;
|
|
12129
|
-
box-shadow: 8px 8px 0 var(--planr-color-warning);
|
|
12130
|
-
}
|
|
12131
|
-
.planr-mark::after { width: 8px; height: 2px; inset: 9px auto auto 6px; rotate: -45deg; }
|
|
12113
|
+
.planr-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--planr-color-primary); contain: paint; }
|
|
12114
|
+
.planr-mark svg { display: block; width: 100%; height: 100%; }
|
|
12132
12115
|
.planr-title-block { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
|
|
12133
12116
|
.planr-title-block strong {
|
|
12134
12117
|
max-width: 260px;
|
|
@@ -12887,7 +12870,7 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12887
12870
|
text-align: center;
|
|
12888
12871
|
box-shadow: 0 18px 60px color-mix(in srgb, var(--planr-color-background) 50%, transparent);
|
|
12889
12872
|
}
|
|
12890
|
-
.planr-hosted-viewer .planr-mark {
|
|
12873
|
+
.planr-hosted-viewer .planr-mark { width: 40px; height: 40px; margin-bottom: 20px; }
|
|
12891
12874
|
.planr-hosted-viewer strong { display: block; margin-bottom: 7px; font: 650 19px/1.2 var(--planr-font-display); }
|
|
12892
12875
|
.planr-hosted-viewer p { margin: 0; color: var(--planr-color-text-muted); }
|
|
12893
12876
|
.planr-hosted-viewer button { margin-top: 16px; border-color: var(--planr-color-primary); color: var(--planr-color-primary); }
|
|
@@ -13161,7 +13144,7 @@ function toolbar(document2) {
|
|
|
13161
13144
|
return `<header class="planr-toolbar design-toolbar">
|
|
13162
13145
|
<div class="design-toolbar-leading">
|
|
13163
13146
|
${iconButton("Screens", "left", 'data-design-toggle-nav aria-controls="design-navigator" aria-expanded="true"', "planr-toolbar-action design-panel-toggle")}
|
|
13164
|
-
<div class="planr-brand"
|
|
13147
|
+
<div class="planr-brand">${renderPlanrMark()}<span class="design-wordmark" aria-label="OpenPlanr">Open<span>Planr</span></span><span class="planr-title-block"><strong title="${escapeHtml(document2.title)}">${escapeHtml(document2.title)}</strong></span></div>
|
|
13165
13148
|
</div>
|
|
13166
13149
|
<div class="planr-segment design-view-picker" role="group" aria-label="Design view">${["canvas", "prototype", "walkthrough"].map((view) => iconButton(view[0].toUpperCase() + view.slice(1), view, `data-design-view="${view}" aria-pressed="${document2.defaultView === view}"`)).join("")}</div>
|
|
13167
13150
|
<div class="design-toolbar-trailing">
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
.design-toolbar-leading, .design-toolbar-trailing { display:flex; align-items:center; gap:10px; min-width:0; }
|
|
48
48
|
.design-toolbar-trailing { justify-content:flex-end; }
|
|
49
|
-
.design-toolbar .planr-brand { display:grid; gap:
|
|
49
|
+
.design-toolbar .planr-brand { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; row-gap:1px; align-items:center; }
|
|
50
|
+
.design-toolbar .planr-brand .planr-mark { grid-row:1 / span 2; }
|
|
50
51
|
.design-wordmark { font: 800 18px/1 var(--planr-font-display); letter-spacing:-.045em; white-space:nowrap; }
|
|
51
52
|
.design-wordmark > span { color:var(--planr-color-primary); }
|
|
52
53
|
.design-toolbar .planr-title-block strong { max-width: min(22vw, 270px); color:var(--planr-color-text-muted); font:400 10px/1.3 var(--planr-font-body); }
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
{
|
|
10
10
|
"path": "manifest.json",
|
|
11
|
-
"digest": "sha256:
|
|
11
|
+
"digest": "sha256:bbb9ecf8ec75bb69eaccf7f68d6e581eae08e7edb8e083501860970ad5bc0946"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"path": "rules/planr-artifact.mdc",
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
"path": "rules/planr-design-loop/scripts/design.mjs",
|
|
247
|
-
"digest": "sha256:
|
|
247
|
+
"digest": "sha256:159012cae538612641c4d142ec2fb5054278e5a17cdadf5decf33becf78533d1"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
"path": "rules/planr-design-loop/scripts/runtime/notices/entities.txt",
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"path": "rules/planr-design-loop/scripts/runtime/packages/design/templates/studio/studio.css",
|
|
279
|
-
"digest": "sha256:
|
|
279
|
+
"digest": "sha256:c7c58b1602368d8a27872c7618714b9246a6bc24fb1cb513aa6ae917c2858d1e"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
"path": "rules/planr-design-loop/scripts/runtime/packages/design/templates/studio/studio.js",
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
410
|
"path": "rules/planr-design-review/scripts/design.mjs",
|
|
411
|
-
"digest": "sha256:
|
|
411
|
+
"digest": "sha256:159012cae538612641c4d142ec2fb5054278e5a17cdadf5decf33becf78533d1"
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
414
|
"path": "rules/planr-design-review/scripts/runtime/notices/entities.txt",
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
"path": "rules/planr-design-review/scripts/runtime/packages/design/templates/studio/studio.css",
|
|
443
|
-
"digest": "sha256:
|
|
443
|
+
"digest": "sha256:c7c58b1602368d8a27872c7618714b9246a6bc24fb1cb513aa6ae917c2858d1e"
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
"path": "rules/planr-design-review/scripts/runtime/packages/design/templates/studio/studio.js",
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"path": "rules/planr-design/scripts/design.mjs",
|
|
575
|
-
"digest": "sha256:
|
|
575
|
+
"digest": "sha256:159012cae538612641c4d142ec2fb5054278e5a17cdadf5decf33becf78533d1"
|
|
576
576
|
},
|
|
577
577
|
{
|
|
578
578
|
"path": "rules/planr-design/scripts/runtime/notices/entities.txt",
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
},
|
|
605
605
|
{
|
|
606
606
|
"path": "rules/planr-design/scripts/runtime/packages/design/templates/studio/studio.css",
|
|
607
|
-
"digest": "sha256:
|
|
607
|
+
"digest": "sha256:c7c58b1602368d8a27872c7618714b9246a6bc24fb1cb513aa6ae917c2858d1e"
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
610
|
"path": "rules/planr-design/scripts/runtime/packages/design/templates/studio/studio.js",
|
|
@@ -684,11 +684,11 @@
|
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
686
|
"path": "rules/planr-diagram.mdc",
|
|
687
|
-
"digest": "sha256:
|
|
687
|
+
"digest": "sha256:5524da92a8c920f8d1d81a78a366052b7cfa998c5489690ae40e643aa2e028d3"
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
690
|
"path": "rules/planr-diagram/references/diagram-document.md",
|
|
691
|
-
"digest": "sha256:
|
|
691
|
+
"digest": "sha256:4d303f1e333a0e278bbe4a5dcbefd8c578a6cfda27211f9b1f3b687938ff0248"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
"path": "rules/planr-diagram/references/diagram-fidelity.md",
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
"path": "rules/planr-diagram/references/diagram-intent-to-ir.md",
|
|
699
|
-
"digest": "sha256:
|
|
699
|
+
"digest": "sha256:8f29a9ca6cfa448dcd220228c697e6afa198881e5777df2c48899cab9aa8693d"
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
702
|
"path": "rules/planr-doctor.mdc",
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
766
|
"path": "rules/planr-plan/scripts/design.mjs",
|
|
767
|
-
"digest": "sha256:
|
|
767
|
+
"digest": "sha256:159012cae538612641c4d142ec2fb5054278e5a17cdadf5decf33becf78533d1"
|
|
768
768
|
},
|
|
769
769
|
{
|
|
770
770
|
"path": "rules/planr-plan/scripts/planning-ids.mjs",
|
|
@@ -800,7 +800,7 @@
|
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
802
|
"path": "rules/planr-plan/scripts/runtime/packages/design/templates/studio/studio.css",
|
|
803
|
-
"digest": "sha256:
|
|
803
|
+
"digest": "sha256:c7c58b1602368d8a27872c7618714b9246a6bc24fb1cb513aa6ae917c2858d1e"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
806
|
"path": "rules/planr-plan/scripts/runtime/packages/design/templates/studio/studio.js",
|
|
@@ -955,5 +955,5 @@
|
|
|
955
955
|
"digest": "sha256:6378ad3477e4be8b7e916c4249404c50cafecac1c70ffbf5a1a2fce195dfea16"
|
|
956
956
|
}
|
|
957
957
|
],
|
|
958
|
-
"contentDigest": "sha256:
|
|
958
|
+
"contentDigest": "sha256:1393039fc6a3d0949341a75c9ab94ab50c30e7145a06073648f978984db10efb"
|
|
959
959
|
}
|
|
@@ -11837,11 +11837,14 @@ function activeMetadata(model) {
|
|
|
11837
11837
|
if (!artifact) return "HTML \xB7 1440\xD7900";
|
|
11838
11838
|
return `${artifact.kind.toUpperCase()} \xB7 ${artifact.viewport.width}\xD7${artifact.viewport.height}`;
|
|
11839
11839
|
}
|
|
11840
|
+
function renderPlanrMark() {
|
|
11841
|
+
return '<span class="planr-mark" aria-hidden="true"><svg viewBox="0 0 160 160" focusable="false"><g transform="rotate(-45 80 80)"><path d="M125 50A52 52 0 1 0 125 110" fill="none" stroke="currentColor" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><rect x="127" y="71" width="18" height="18" rx="3" fill="currentColor"/></g></svg></span>';
|
|
11842
|
+
}
|
|
11840
11843
|
function renderArtifactToolbar(model) {
|
|
11841
11844
|
const interact = model.reviewMode === "interact";
|
|
11842
11845
|
const canvas = model.presentation === "canvas";
|
|
11843
11846
|
return `<header class="planr-toolbar">
|
|
11844
|
-
<div class="planr-brand" aria-label="OpenPlanr"
|
|
11847
|
+
<div class="planr-brand" aria-label="OpenPlanr">${renderPlanrMark()}<span class="planr-title-block"><strong>${escapeHtml(model.title)}</strong>${canvas ? `<span>${escapeHtml(activeMetadata(model))}</span>` : ""}</span></div>
|
|
11845
11848
|
<span class="planr-privacy" data-privacy="${escapeHtml(model.privacy)}">${escapeHtml(model.privacyLabel)}</span>
|
|
11846
11849
|
${canvas ? ' <span class="planr-domain-toolbar" data-planr-slot="domain-toolbar" aria-label="Artifact workflow controls"></span>\n' : ""} <span class="planr-toolbar-spacer" aria-hidden="true"></span>
|
|
11847
11850
|
${canvas ? ` <div class="planr-segment" role="group" aria-label="Viewport controls"><button type="button" data-planr-action="zoom-out" aria-label="Zoom out">\u2212</button><button type="button" data-planr-action="zoom-reset" aria-label="Reset zoom">${model.zoom}%</button><button type="button" data-planr-action="zoom-in" aria-label="Zoom in">+</button></div>
|
|
@@ -11980,7 +11983,7 @@ function renderArtifactShareDialog() {
|
|
|
11980
11983
|
}
|
|
11981
11984
|
function renderHostedArtifactViewerSlot() {
|
|
11982
11985
|
return `<section class="planr-hosted-viewer" data-planr-hosted-viewer data-planr-hosted-state="idle" role="status" aria-live="polite" aria-atomic="true" hidden>
|
|
11983
|
-
<div
|
|
11986
|
+
<div>${renderPlanrMark()}<strong data-planr-hosted-title></strong><p data-planr-hosted-detail></p><button type="button" data-planr-hosted-retry hidden></button></div>
|
|
11984
11987
|
</section>`;
|
|
11985
11988
|
}
|
|
11986
11989
|
function renderArtifactShellMarkup(model) {
|
|
@@ -12107,28 +12110,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12107
12110
|
background: color-mix(in srgb, var(--planr-color-chrome) 96%, transparent);
|
|
12108
12111
|
}
|
|
12109
12112
|
.planr-brand { min-width: 0; display: flex; align-items: center; gap: 9px; }
|
|
12110
|
-
.planr-mark {
|
|
12111
|
-
|
|
12112
|
-
width: 20px;
|
|
12113
|
-
height: 20px;
|
|
12114
|
-
flex: none;
|
|
12115
|
-
rotate: 45deg;
|
|
12116
|
-
border: 1px solid color-mix(in srgb, var(--planr-color-primary) 70%, var(--planr-color-rule));
|
|
12117
|
-
border-radius: var(--planr-radius-small);
|
|
12118
|
-
}
|
|
12119
|
-
.planr-mark::before, .planr-mark::after {
|
|
12120
|
-
content: "";
|
|
12121
|
-
position: absolute;
|
|
12122
|
-
border-radius: 2px;
|
|
12123
|
-
background: var(--planr-color-primary);
|
|
12124
|
-
}
|
|
12125
|
-
.planr-mark::before {
|
|
12126
|
-
width: 4px;
|
|
12127
|
-
height: 4px;
|
|
12128
|
-
inset: 3px auto auto 3px;
|
|
12129
|
-
box-shadow: 8px 8px 0 var(--planr-color-warning);
|
|
12130
|
-
}
|
|
12131
|
-
.planr-mark::after { width: 8px; height: 2px; inset: 9px auto auto 6px; rotate: -45deg; }
|
|
12113
|
+
.planr-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--planr-color-primary); contain: paint; }
|
|
12114
|
+
.planr-mark svg { display: block; width: 100%; height: 100%; }
|
|
12132
12115
|
.planr-title-block { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
|
|
12133
12116
|
.planr-title-block strong {
|
|
12134
12117
|
max-width: 260px;
|
|
@@ -12887,7 +12870,7 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12887
12870
|
text-align: center;
|
|
12888
12871
|
box-shadow: 0 18px 60px color-mix(in srgb, var(--planr-color-background) 50%, transparent);
|
|
12889
12872
|
}
|
|
12890
|
-
.planr-hosted-viewer .planr-mark {
|
|
12873
|
+
.planr-hosted-viewer .planr-mark { width: 40px; height: 40px; margin-bottom: 20px; }
|
|
12891
12874
|
.planr-hosted-viewer strong { display: block; margin-bottom: 7px; font: 650 19px/1.2 var(--planr-font-display); }
|
|
12892
12875
|
.planr-hosted-viewer p { margin: 0; color: var(--planr-color-text-muted); }
|
|
12893
12876
|
.planr-hosted-viewer button { margin-top: 16px; border-color: var(--planr-color-primary); color: var(--planr-color-primary); }
|
|
@@ -13161,7 +13144,7 @@ function toolbar(document2) {
|
|
|
13161
13144
|
return `<header class="planr-toolbar design-toolbar">
|
|
13162
13145
|
<div class="design-toolbar-leading">
|
|
13163
13146
|
${iconButton("Screens", "left", 'data-design-toggle-nav aria-controls="design-navigator" aria-expanded="true"', "planr-toolbar-action design-panel-toggle")}
|
|
13164
|
-
<div class="planr-brand"
|
|
13147
|
+
<div class="planr-brand">${renderPlanrMark()}<span class="design-wordmark" aria-label="OpenPlanr">Open<span>Planr</span></span><span class="planr-title-block"><strong title="${escapeHtml(document2.title)}">${escapeHtml(document2.title)}</strong></span></div>
|
|
13165
13148
|
</div>
|
|
13166
13149
|
<div class="planr-segment design-view-picker" role="group" aria-label="Design view">${["canvas", "prototype", "walkthrough"].map((view) => iconButton(view[0].toUpperCase() + view.slice(1), view, `data-design-view="${view}" aria-pressed="${document2.defaultView === view}"`)).join("")}</div>
|
|
13167
13150
|
<div class="design-toolbar-trailing">
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
.design-toolbar-leading, .design-toolbar-trailing { display:flex; align-items:center; gap:10px; min-width:0; }
|
|
48
48
|
.design-toolbar-trailing { justify-content:flex-end; }
|
|
49
|
-
.design-toolbar .planr-brand { display:grid; gap:
|
|
49
|
+
.design-toolbar .planr-brand { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; row-gap:1px; align-items:center; }
|
|
50
|
+
.design-toolbar .planr-brand .planr-mark { grid-row:1 / span 2; }
|
|
50
51
|
.design-wordmark { font: 800 18px/1 var(--planr-font-display); letter-spacing:-.045em; white-space:nowrap; }
|
|
51
52
|
.design-wordmark > span { color:var(--planr-color-primary); }
|
|
52
53
|
.design-toolbar .planr-title-block strong { max-width: min(22vw, 270px); color:var(--planr-color-text-muted); font:400 10px/1.3 var(--planr-font-body); }
|
|
@@ -11837,11 +11837,14 @@ function activeMetadata(model) {
|
|
|
11837
11837
|
if (!artifact) return "HTML \xB7 1440\xD7900";
|
|
11838
11838
|
return `${artifact.kind.toUpperCase()} \xB7 ${artifact.viewport.width}\xD7${artifact.viewport.height}`;
|
|
11839
11839
|
}
|
|
11840
|
+
function renderPlanrMark() {
|
|
11841
|
+
return '<span class="planr-mark" aria-hidden="true"><svg viewBox="0 0 160 160" focusable="false"><g transform="rotate(-45 80 80)"><path d="M125 50A52 52 0 1 0 125 110" fill="none" stroke="currentColor" stroke-width="12" stroke-linecap="round" stroke-linejoin="round"/><rect x="127" y="71" width="18" height="18" rx="3" fill="currentColor"/></g></svg></span>';
|
|
11842
|
+
}
|
|
11840
11843
|
function renderArtifactToolbar(model) {
|
|
11841
11844
|
const interact = model.reviewMode === "interact";
|
|
11842
11845
|
const canvas = model.presentation === "canvas";
|
|
11843
11846
|
return `<header class="planr-toolbar">
|
|
11844
|
-
<div class="planr-brand" aria-label="OpenPlanr"
|
|
11847
|
+
<div class="planr-brand" aria-label="OpenPlanr">${renderPlanrMark()}<span class="planr-title-block"><strong>${escapeHtml(model.title)}</strong>${canvas ? `<span>${escapeHtml(activeMetadata(model))}</span>` : ""}</span></div>
|
|
11845
11848
|
<span class="planr-privacy" data-privacy="${escapeHtml(model.privacy)}">${escapeHtml(model.privacyLabel)}</span>
|
|
11846
11849
|
${canvas ? ' <span class="planr-domain-toolbar" data-planr-slot="domain-toolbar" aria-label="Artifact workflow controls"></span>\n' : ""} <span class="planr-toolbar-spacer" aria-hidden="true"></span>
|
|
11847
11850
|
${canvas ? ` <div class="planr-segment" role="group" aria-label="Viewport controls"><button type="button" data-planr-action="zoom-out" aria-label="Zoom out">\u2212</button><button type="button" data-planr-action="zoom-reset" aria-label="Reset zoom">${model.zoom}%</button><button type="button" data-planr-action="zoom-in" aria-label="Zoom in">+</button></div>
|
|
@@ -11980,7 +11983,7 @@ function renderArtifactShareDialog() {
|
|
|
11980
11983
|
}
|
|
11981
11984
|
function renderHostedArtifactViewerSlot() {
|
|
11982
11985
|
return `<section class="planr-hosted-viewer" data-planr-hosted-viewer data-planr-hosted-state="idle" role="status" aria-live="polite" aria-atomic="true" hidden>
|
|
11983
|
-
<div
|
|
11986
|
+
<div>${renderPlanrMark()}<strong data-planr-hosted-title></strong><p data-planr-hosted-detail></p><button type="button" data-planr-hosted-retry hidden></button></div>
|
|
11984
11987
|
</section>`;
|
|
11985
11988
|
}
|
|
11986
11989
|
function renderArtifactShellMarkup(model) {
|
|
@@ -12107,28 +12110,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12107
12110
|
background: color-mix(in srgb, var(--planr-color-chrome) 96%, transparent);
|
|
12108
12111
|
}
|
|
12109
12112
|
.planr-brand { min-width: 0; display: flex; align-items: center; gap: 9px; }
|
|
12110
|
-
.planr-mark {
|
|
12111
|
-
|
|
12112
|
-
width: 20px;
|
|
12113
|
-
height: 20px;
|
|
12114
|
-
flex: none;
|
|
12115
|
-
rotate: 45deg;
|
|
12116
|
-
border: 1px solid color-mix(in srgb, var(--planr-color-primary) 70%, var(--planr-color-rule));
|
|
12117
|
-
border-radius: var(--planr-radius-small);
|
|
12118
|
-
}
|
|
12119
|
-
.planr-mark::before, .planr-mark::after {
|
|
12120
|
-
content: "";
|
|
12121
|
-
position: absolute;
|
|
12122
|
-
border-radius: 2px;
|
|
12123
|
-
background: var(--planr-color-primary);
|
|
12124
|
-
}
|
|
12125
|
-
.planr-mark::before {
|
|
12126
|
-
width: 4px;
|
|
12127
|
-
height: 4px;
|
|
12128
|
-
inset: 3px auto auto 3px;
|
|
12129
|
-
box-shadow: 8px 8px 0 var(--planr-color-warning);
|
|
12130
|
-
}
|
|
12131
|
-
.planr-mark::after { width: 8px; height: 2px; inset: 9px auto auto 6px; rotate: -45deg; }
|
|
12113
|
+
.planr-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--planr-color-primary); contain: paint; }
|
|
12114
|
+
.planr-mark svg { display: block; width: 100%; height: 100%; }
|
|
12132
12115
|
.planr-title-block { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
|
|
12133
12116
|
.planr-title-block strong {
|
|
12134
12117
|
max-width: 260px;
|
|
@@ -12887,7 +12870,7 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
|
|
|
12887
12870
|
text-align: center;
|
|
12888
12871
|
box-shadow: 0 18px 60px color-mix(in srgb, var(--planr-color-background) 50%, transparent);
|
|
12889
12872
|
}
|
|
12890
|
-
.planr-hosted-viewer .planr-mark {
|
|
12873
|
+
.planr-hosted-viewer .planr-mark { width: 40px; height: 40px; margin-bottom: 20px; }
|
|
12891
12874
|
.planr-hosted-viewer strong { display: block; margin-bottom: 7px; font: 650 19px/1.2 var(--planr-font-display); }
|
|
12892
12875
|
.planr-hosted-viewer p { margin: 0; color: var(--planr-color-text-muted); }
|
|
12893
12876
|
.planr-hosted-viewer button { margin-top: 16px; border-color: var(--planr-color-primary); color: var(--planr-color-primary); }
|
|
@@ -13161,7 +13144,7 @@ function toolbar(document2) {
|
|
|
13161
13144
|
return `<header class="planr-toolbar design-toolbar">
|
|
13162
13145
|
<div class="design-toolbar-leading">
|
|
13163
13146
|
${iconButton("Screens", "left", 'data-design-toggle-nav aria-controls="design-navigator" aria-expanded="true"', "planr-toolbar-action design-panel-toggle")}
|
|
13164
|
-
<div class="planr-brand"
|
|
13147
|
+
<div class="planr-brand">${renderPlanrMark()}<span class="design-wordmark" aria-label="OpenPlanr">Open<span>Planr</span></span><span class="planr-title-block"><strong title="${escapeHtml(document2.title)}">${escapeHtml(document2.title)}</strong></span></div>
|
|
13165
13148
|
</div>
|
|
13166
13149
|
<div class="planr-segment design-view-picker" role="group" aria-label="Design view">${["canvas", "prototype", "walkthrough"].map((view) => iconButton(view[0].toUpperCase() + view.slice(1), view, `data-design-view="${view}" aria-pressed="${document2.defaultView === view}"`)).join("")}</div>
|
|
13167
13150
|
<div class="design-toolbar-trailing">
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
.design-toolbar-leading, .design-toolbar-trailing { display:flex; align-items:center; gap:10px; min-width:0; }
|
|
48
48
|
.design-toolbar-trailing { justify-content:flex-end; }
|
|
49
|
-
.design-toolbar .planr-brand { display:grid; gap:
|
|
49
|
+
.design-toolbar .planr-brand { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; row-gap:1px; align-items:center; }
|
|
50
|
+
.design-toolbar .planr-brand .planr-mark { grid-row:1 / span 2; }
|
|
50
51
|
.design-wordmark { font: 800 18px/1 var(--planr-font-display); letter-spacing:-.045em; white-space:nowrap; }
|
|
51
52
|
.design-wordmark > span { color:var(--planr-color-primary); }
|
|
52
53
|
.design-toolbar .planr-title-block strong { max-width: min(22vw, 270px); color:var(--planr-color-text-muted); font:400 10px/1.3 var(--planr-font-body); }
|