@signalsafe/tree-spec-editor-theme-bootstrap 0.3.9 → 0.3.17

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 CHANGED
@@ -1,9 +1,12 @@
1
- # Changelog
1
+ ## 0.3.17 — 2026-12-02
2
+
3
+ Refresh the exact archive approval metadata for the unified editor theme release. Version 0.3.16 was not published.
2
4
 
3
- ## 0.3.9 — 2026-11-23
5
+ # tree-spec-editor-theme-bootstrap 0.3.16 — 2026-12-02
4
6
 
5
- - Publish npm releases through GitHub Actions OIDC trusted publishing.
6
- - Document the designated publisher, validation and token retirement process.
7
+ Own the shared graph workspace layout, 25/50/25 columns, fixed panel headers, visible body scrollbars and consistent editor tokens.
8
+
9
+ # Changelog
7
10
 
8
11
  ## [Unreleased]
9
12
 
@@ -20,3 +23,9 @@
20
23
 
21
24
  - Preserve Step 5 responsive choice header/action wrapping, proportional nested insets, fixed information-table layout and long-value wrapping. Add package-owned narrow-width and enlarged-text layout verification.
22
25
  - Refresh current README, release preparation and package compatibility documentation.
26
+
27
+ Prompt nodes use the shared outlined question-bubble icon beside their key, with a Prompt tooltip and accessible label.
28
+
29
+ Style expandable node/choice outlines, keyboard focus, and selection-based inspector alignment.
30
+
31
+ Align graph-outline chevrons, duplicate/add/delete actions and child-choice icons with the slide editor. Duplication remains an optional host action.
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @signalsafe/tree-spec-editor-theme-bootstrap
2
2
 
3
+ [![Build](https://github.com/SignalSafeSoftware/tree-spec-editor-theme-bootstrap/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/SignalSafeSoftware/tree-spec-editor-theme-bootstrap/actions/workflows/ci.yml)
4
+ [![npm version](https://img.shields.io/npm/v/@signalsafe/tree-spec-editor-theme-bootstrap?logo=npm)](https://www.npmjs.com/package/@signalsafe/tree-spec-editor-theme-bootstrap)
5
+ [![npm downloads per month](https://img.shields.io/npm/dm/@signalsafe/tree-spec-editor-theme-bootstrap?label=downloads%2Fmonth)](https://www.npmjs.com/package/@signalsafe/tree-spec-editor-theme-bootstrap)
6
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/SignalSafeSoftware/tree-spec-editor-theme-bootstrap/blob/main/LICENSE)
7
+
3
8
  Current source and planned customer-subdomain impact: [current-state summary](docs/current-release-candidate.md).
4
9
 
5
10
  CSS-only Bootstrap-token theme for semantic classes emitted by `@signalsafe/tree-spec-editor` and `@signalsafe/tree-spec-editor-react`.
@@ -1,4 +1,20 @@
1
- # Release candidate: @signalsafe/tree-spec-editor-theme-bootstrap 0.3.8
1
+ # Current npm release: @signalsafe/tree-spec-editor-theme-bootstrap 0.3.9
2
+
3
+ The trusted-publishing migration prepares patch `0.3.9` under immutable
4
+ GitHub tag `v0.3.9`. Current release and authentication instructions are in
5
+ [RELEASING.md](../RELEASING.md); the migration uses GitHub Actions OIDC rather than
6
+ a permanent npm publishing token. Runtime exports and dependency ranges are
7
+ unchanged by this patch. Host adoption and Python releases remain independent.
8
+
9
+ The release workflow is the source of publication evidence. This documentation
10
+ follow-up does not reseal or republish an immutable package archive or move a tag.
11
+
12
+ ## Historical release and state record
13
+
14
+ The previous snapshot below is retained for context; its version and publication
15
+ status statements apply to that earlier snapshot.
16
+
17
+ ### Release candidate: @signalsafe/tree-spec-editor-theme-bootstrap 0.3.8
2
18
 
3
19
  The published baseline is 0.3.7. This compatible CSS-only release reconciles existing choice-inspector, modal, information-panel and toolbar spacing changes while preserving current responsive wrapping and the shared browser layout regression helper. It supports semantic classes emitted by editor 0.5.0 and existing compatible editors; the public stylesheet entry is unchanged.
4
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalsafe/tree-spec-editor-theme-bootstrap",
3
- "version": "0.3.9",
3
+ "version": "0.3.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/SignalSafeSoftware/tree-spec-editor-theme-bootstrap.git"
@@ -13,12 +13,12 @@
13
13
  }
14
14
 
15
15
  .graph-editor-field {
16
- margin-bottom: 0.75rem;
16
+ margin-bottom: var(--editor-field-gap, 0.75rem);
17
17
  }
18
18
 
19
19
  .graph-editor-field__label {
20
20
  display: block;
21
- margin-bottom: 0.25rem;
21
+ margin-bottom: var(--editor-label-gap, 0.25rem);
22
22
  font-size: 0.875rem;
23
23
  font-weight: 500;
24
24
  }
@@ -57,7 +57,8 @@
57
57
  }
58
58
 
59
59
  .graph-editor-input--list-search {
60
- margin-bottom: 0.5rem;
60
+ margin-bottom: 0;
61
+ border-radius: 0;
61
62
  }
62
63
 
63
64
  .graph-editor-root .graph-editor-input:disabled,
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .graph-editor-list__item {
12
- padding: 0.5rem 0.75rem;
12
+ padding: var(--editor-row-padding-block, 0.5rem) var(--editor-row-padding-inline, 0.75rem);
13
13
  border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
14
14
  cursor: pointer;
15
15
  text-align: start;
@@ -36,7 +36,7 @@
36
36
  .graph-editor-list__item.graph-editor-list__item--button {
37
37
  display: block;
38
38
  width: 100%;
39
- padding: 0.5rem 0.75rem;
39
+ padding: var(--editor-row-padding-block, 0.5rem) var(--editor-row-padding-inline, 0.75rem);
40
40
  border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
41
41
  border-inline: 0;
42
42
  border-bottom: 0;
@@ -55,3 +55,85 @@
55
55
  .graph-editor-list__item:first-child {
56
56
  border-top: 0;
57
57
  }
58
+
59
+ /* A single line keeps row actions visible; the full label remains accessible. */
60
+ .graph-editor-text--truncate {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
61
+
62
+
63
+ .graph-editor-outline-node {
64
+ min-width: 0;
65
+ }
66
+ .graph-editor-outline-row {
67
+ display: flex;
68
+ align-items: center;
69
+ min-width: 0;
70
+ gap: 0.25rem;
71
+ padding: var(--editor-row-padding-block, 0.5rem) var(--editor-row-padding-inline, 0.75rem);
72
+ border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
73
+ }
74
+ .graph-editor-outline-toggle,
75
+ .graph-editor-outline-select,
76
+ .graph-editor-outline-choice {
77
+ border: 0;
78
+ border-radius: 0;
79
+ background: transparent;
80
+ color: inherit;
81
+ font: inherit;
82
+ text-align: start;
83
+ cursor: pointer;
84
+ }
85
+ .graph-editor-outline-toggle {
86
+ flex-shrink: 0;
87
+ width: 1.25rem;
88
+ padding: 0;
89
+ text-align: center;
90
+ }
91
+ .graph-editor-outline-select {
92
+ flex: 1;
93
+ min-width: 0;
94
+ padding: 0;
95
+ font-weight: 600;
96
+ }
97
+ .graph-editor-outline-children {
98
+ margin: 0;
99
+ padding: 0;
100
+ list-style: none;
101
+ }
102
+ .graph-editor-outline-choice {
103
+ width: 100%;
104
+ min-width: 0;
105
+ padding: 0.5rem 0.75rem 0.5rem 2.5rem;
106
+ border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
107
+ }
108
+ .graph-editor-outline-toggle:focus-visible,
109
+ .graph-editor-outline-select:focus-visible,
110
+ .graph-editor-outline-choice:focus-visible {
111
+ outline: 2px solid var(--graph-editor-accent);
112
+ outline-offset: -2px;
113
+ }
114
+
115
+ .graph-editor-outline-choice-row {
116
+ display: flex;
117
+ align-items: center;
118
+ min-width: 0;
119
+ gap: 0.5rem;
120
+ padding-inline: 1rem var(--editor-row-padding-inline, 0.75rem);
121
+ border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
122
+ }
123
+ .graph-editor-outline-choice-row .graph-editor-outline-choice {
124
+ flex: 1;
125
+ padding: var(--editor-row-padding-block, 0.5rem) 0.25rem;
126
+ border-top: 0;
127
+ }
128
+ .graph-editor-outline-choice-grip {
129
+ align-self: stretch;
130
+ width: 0.75rem;
131
+ }
132
+ .graph-editor-outline-choice-grip:focus-visible {
133
+ outline: 2px solid var(--graph-editor-accent);
134
+ outline-offset: 1px;
135
+ }
136
+ .graph-editor-outline-choice-grip:disabled {
137
+ cursor: default;
138
+ opacity: 0.5;
139
+ }
@@ -9,19 +9,18 @@
9
9
  }
10
10
 
11
11
  .graph-editor-card__header {
12
- padding: 0.5rem 0.75rem;
12
+ padding: var(--editor-row-padding-block, 0.5rem) var(--editor-row-padding-inline, 0.75rem);
13
13
  border-bottom: var(--graph-editor-border-width) solid var(--graph-editor-border);
14
14
  background: var(--graph-editor-panel-bg);
15
15
  font-weight: 600;
16
16
  }
17
17
 
18
18
  .graph-editor-card__body {
19
- padding: 0.75rem;
20
- padding-inline: min(0.75rem, 3%);
19
+ padding: var(--editor-panel-padding, 0.75rem);
21
20
  }
22
21
 
23
22
  .graph-editor-card__footer {
24
- padding: 0.5rem 0.75rem;
23
+ padding: var(--editor-row-padding-block, 0.5rem) var(--editor-row-padding-inline, 0.75rem);
25
24
  border-top: var(--graph-editor-border-width) solid var(--graph-editor-border);
26
25
  }
27
26
 
@@ -35,7 +34,7 @@
35
34
  }
36
35
 
37
36
  .graph-editor-card__section {
38
- padding: 0.75rem;
37
+ padding: var(--editor-panel-padding, 0.75rem);
39
38
  }
40
39
 
41
40
  .graph-editor-card__section--border-top {
@@ -5,7 +5,7 @@
5
5
  .graph-editor-choice-inspector-header {
6
6
  align-items: flex-start;
7
7
  flex-wrap: wrap;
8
- gap: 0.75rem;
8
+ gap: var(--editor-field-gap, 0.75rem);
9
9
  }
10
10
 
11
11
  /* Allow fields and actions to take separate rows before values collapse. */
@@ -54,8 +54,30 @@
54
54
  transform: rotate(90deg);
55
55
  }
56
56
 
57
- /* Keep nested choice insets proportional when enlarged text narrows the card. */
57
+ /* Match the shared inspector body inset at every panel width. */
58
58
  .graph-editor-list__item--choice-inspector {
59
- padding-inline: min(0.75rem, 3%);
60
- padding-block: 0.5rem;
59
+ padding: var(--editor-panel-padding, 0.75rem);
60
+ }
61
+
62
+ .graph-editor-choice-toggle {min-width:0;}
63
+ .graph-editor-choice-toggle > .graph-editor-text--truncate {flex:1;}
64
+
65
+ .graph-editor-inspector--selection > :first-child {
66
+ margin-top: 0;
67
+ }
68
+
69
+ /* Selection inspectors contain fields rather than selectable list cards. */
70
+ .graph-editor-inspector--selection .graph-editor-field-stack {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: var(--editor-field-gap, 0.75rem);
74
+ }
75
+ .graph-editor-inspector--selection .graph-editor-field-stack > * {
76
+ margin-block: 0;
77
+ }
78
+ .graph-editor-inspector--selection .graph-editor-field-stack .graph-editor-field__label {
79
+ margin-block: 0 var(--editor-label-gap, 0.25rem);
80
+ }
81
+ .graph-editor-inspector--selection .graph-editor-choice-inspector-header > .graph-editor-flex {
82
+ gap: var(--editor-field-gap, 0.75rem);
61
83
  }
@@ -291,3 +291,57 @@
291
291
  font-size: 0.875rem;
292
292
  text-align: start;
293
293
  }
294
+
295
+
296
+ .graph-editor-icon--prompt {
297
+ display: inline-block;
298
+ width: 1.1em;
299
+ height: 1.1em;
300
+ margin-inline-end: 0.375rem;
301
+ vertical-align: -0.125em;
302
+ background-color: currentColor;
303
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H9l-6 4V5a2 2 0 0 1 2-2Z' fill='none' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M9.5 8a2.5 2.5 0 1 1 4.2 1.8c-1 .7-1.7 1-1.7 2.2' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15' r='1' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
304
+ }
305
+
306
+
307
+ .graph-editor-outline-icon {
308
+ display: inline-block;
309
+ font-family: bootstrap-icons, sans-serif;
310
+ font-style: normal;
311
+ font-weight: normal;
312
+ line-height: 1;
313
+ vertical-align: -0.125em;
314
+ }
315
+ .graph-editor-outline-icon--down::before { content: "\f282"; }
316
+ .graph-editor-outline-icon--right::before { content: "\f285"; }
317
+ .graph-editor-outline-icon--duplicate::before { content: "\f3c2"; }
318
+ .graph-editor-outline-icon--add::before { content: "\f4fe"; }
319
+ .graph-editor-outline-icon--delete::before { content: "\f5de"; }
320
+ .graph-editor-outline-icon--choice::before { content: "\f549"; }
321
+ .graph-editor-outline-choice .graph-editor-outline-icon { margin-inline-end: 0.5rem; }
322
+ .graph-editor-root .graph-editor-outline-action {
323
+ padding: 0;
324
+ min-width: 1.5rem;
325
+ min-height: 1.5rem;
326
+ border: 0;
327
+ border-radius: 0;
328
+ background: transparent;
329
+ color: inherit;
330
+ font-size: 1rem;
331
+ line-height: 1;
332
+ flex-shrink: 0;
333
+ }
334
+ .graph-editor-root .graph-editor-outline-action:hover:not(:disabled) {
335
+ color: var(--graph-editor-accent);
336
+ background: transparent;
337
+ }
338
+ .graph-editor-root .graph-editor-outline-action.graph-editor-btn--danger .graph-editor-outline-icon {
339
+ color: var(--graph-editor-danger) !important;
340
+ }
341
+ .graph-editor-root .graph-editor-outline-action:disabled .graph-editor-outline-icon {
342
+ color: var(--graph-editor-muted) !important;
343
+ }
344
+ .graph-editor-outline-action:focus-visible {
345
+ outline: 2px solid var(--graph-editor-accent);
346
+ outline-offset: 1px;
347
+ }
@@ -0,0 +1,146 @@
1
+ .graph-editor-workspace {
2
+ --editor-status-inset: 1.5rem;
3
+ }
4
+ .graph-editor-workspace-sidebar,
5
+ .graph-editor-workspace-inspector {
6
+ min-width: 0;
7
+ min-height: 0;
8
+ display: flex;
9
+ flex-direction: column;
10
+ gap: var(--editor-panel-gap);
11
+ }
12
+ .graph-editor-workspace-center,
13
+ .graph-editor-workspace-tabs {
14
+ display: flex;
15
+ flex-direction: column;
16
+ min-width: 0;
17
+ min-height: 0;
18
+ flex: 1;
19
+ }
20
+ .graph-editor-workspace-tab-panel:not([hidden]) {
21
+ display: flex;
22
+ flex-direction: column;
23
+ min-height: 0;
24
+ flex: 1;
25
+ border: var(--editor-border-width) solid var(--editor-border-color);
26
+ border-top: 0;
27
+ scrollbar-gutter: stable;
28
+ overscroll-behavior: contain;
29
+ overflow: auto;
30
+ }
31
+ .graph-editor-workspace-tab-settings {
32
+ padding: var(--editor-panel-padding);
33
+ }
34
+ .graph-editor-workspace-canvas {
35
+ height: 100%;
36
+ min-height: 18rem;
37
+ flex: 1;
38
+ }
39
+ .graph-editor-workspace-tab-source .json-text-editor {
40
+ flex: 1;
41
+ min-height: 0;
42
+ }
43
+ .graph-editor-workspace .editor-page-statusbar {
44
+ display: flex;
45
+ flex-wrap: wrap;
46
+ align-items: center;
47
+ border-top: var(--editor-border-width) solid var(--editor-border-color);
48
+ font-size: 0.75rem;
49
+ }
50
+ .graph-editor-workspace .editor-selection-toolbar {
51
+ flex: 1;
52
+ min-width: 0;
53
+ border-top: 0;
54
+ padding: 0.25rem 0.5rem;
55
+ }
56
+ .graph-editor-status-label {
57
+ max-width: 28rem;
58
+ min-width: 0;
59
+ overflow: hidden;
60
+ text-overflow: ellipsis;
61
+ white-space: nowrap;
62
+ }
63
+ .graph-editor-workspace .editor-page-statusbar nav[aria-label='Project links'] {
64
+ font-size: 0.75rem;
65
+ padding: 0.25rem 0.5rem;
66
+ }
67
+ @media (max-width: 767px) {
68
+ .graph-editor-workspace-canvas {
69
+ height: 65vh;
70
+ flex: auto;
71
+ }
72
+ .graph-editor-status-label {
73
+ max-width: 12rem;
74
+ }
75
+ }
76
+
77
+ .graph-editor-workspace-recovery {
78
+ grid-column: 1/-1;
79
+ min-height: 0;
80
+ display: flex;
81
+ flex-direction: column;
82
+ }
83
+
84
+ .graph-editor-workspace-sidebar > :first-child {
85
+ margin-top: 0;
86
+ }
87
+
88
+
89
+
90
+ /* Headers remain outside each panel's scrolling content. */
91
+ .graph-editor-workspace .graph-editor-workspace-columns > :is(.graph-editor-workspace-sidebar, .graph-editor-workspace-inspector) {
92
+ overflow: hidden;
93
+ }
94
+ .graph-editor-workspace-sidebar > .graph-editor-card,
95
+ .graph-editor-workspace-inspector .graph-editor-card {
96
+ display: flex;
97
+ flex-direction: column;
98
+ min-height: 0;
99
+ overflow: hidden;
100
+ margin: 0;
101
+ }
102
+ .graph-editor-workspace-sidebar > .graph-editor-card { flex: 0 1 auto; max-height: 60%; }
103
+ .graph-editor-workspace-sidebar > .graph-editor-card + .graph-editor-card { max-height: 35%; }
104
+ .graph-editor-workspace-inspector > div,
105
+ .graph-editor-workspace-inspector .graph-editor-inspector--selection {
106
+ display: flex;
107
+ flex-direction: column;
108
+ gap: var(--editor-panel-gap);
109
+ min-height: 0;
110
+ }
111
+ .graph-editor-workspace-inspector > div { height: 100%; }
112
+ .graph-editor-workspace-inspector .graph-editor-inspector--selection { flex: 1 1 65%; }
113
+ .graph-editor-workspace-inspector .graph-editor-inspector--selection > .graph-editor-card { flex: 1; }
114
+ .graph-editor-workspace-inspector > div > .graph-editor-card { flex: 0 1 auto; max-height: 35%; }
115
+ .graph-editor-workspace-inspector .graph-editor-inspector--selection:has(.graph-editor-panel-content[aria-hidden='true']) {
116
+ flex: none;
117
+ }
118
+ .graph-editor-workspace .graph-editor-card__header { flex: none; }
119
+ .graph-editor-workspace .graph-editor-panel-content {
120
+ min-height: 0;
121
+ overflow-x: auto;
122
+ overflow-y: scroll;
123
+ scrollbar-gutter: stable;
124
+ overscroll-behavior: contain;
125
+ }
126
+ .graph-editor-workspace .graph-editor-panel-content .graph-editor-scroll {
127
+ overflow: visible;
128
+ max-height: none;
129
+ }
130
+ @media (min-width: 768px) {
131
+ .content-editor-shell.graph-editor-workspace .graph-editor-workspace-columns {
132
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
133
+ }
134
+ .content-editor-shell.graph-editor-workspace .graph-editor-workspace-columns[data-left-collapsed='true'] {
135
+ grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
136
+ }
137
+ .content-editor-shell.graph-editor-workspace .graph-editor-workspace-columns[data-right-collapsed='true'] {
138
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
139
+ }
140
+ .content-editor-shell.graph-editor-workspace .graph-editor-workspace-columns[data-left-collapsed='true'][data-right-collapsed='true'] { grid-template-columns: minmax(0, 1fr); }
141
+ .graph-editor-workspace-columns[data-left-collapsed='true'] > .graph-editor-workspace-sidebar,
142
+ .graph-editor-workspace-columns[data-right-collapsed='true'] > .graph-editor-workspace-inspector { display: none; }
143
+ }
144
+ @media (max-width: 767px) {
145
+ .graph-editor-workspace .graph-editor-panel-content { max-height: 55vh; }
146
+ }
package/src/tokens.css CHANGED
@@ -14,13 +14,13 @@
14
14
  --graph-editor-text: var(--bs-body-color);
15
15
  --graph-editor-muted: var(--bs-secondary-color);
16
16
  --graph-editor-panel-bg: var(--bs-tertiary-bg);
17
- --graph-editor-border: var(--bs-border-color);
18
- --graph-editor-border-subtle: var(--bs-border-color-translucent);
17
+ --graph-editor-border: var(--editor-border-color, var(--bs-border-color));
18
+ --graph-editor-border-subtle: var(--editor-border-color, var(--bs-border-color));
19
19
  --graph-editor-accent: var(--bs-primary);
20
20
  --graph-editor-danger: var(--bs-danger);
21
21
  --graph-editor-success: var(--bs-success);
22
- --graph-editor-radius: var(--bs-border-radius);
23
- --graph-editor-border-width: var(--bs-border-width);
22
+ --graph-editor-radius: var(--editor-border-radius, var(--bs-border-radius));
23
+ --graph-editor-border-width: var(--editor-border-width, var(--bs-border-width, 1px));
24
24
  --graph-editor-node-border-width: 4px;
25
25
  --graph-editor-icon-size: 1.35rem;
26
26
  --graph-editor-icon-button-size: 1.35rem;
package/styles.css CHANGED
@@ -23,3 +23,5 @@
23
23
  @import './src/canvas/nodes.css';
24
24
  @import './src/canvas/choices.css';
25
25
  @import './src/canvas/handles.css';
26
+
27
+ @import './src/shell/workspace.css';