@signalsafe/tree-spec-editor-theme-bootstrap 0.3.7 → 0.3.8
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 +6 -1
- package/RELEASING.md +1 -1
- package/docs/current-release-candidate.md +4 -8
- package/package.json +1 -1
- package/src/shell/choice-inspector.css +4 -6
- package/src/shell/modals.css +71 -1
- package/src/shell/panels.css +51 -0
- package/src/shell/toolbar.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## [0.3.8] - 2026-11-15
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Reconcile existing choice-inspector spacing, information panels, modal and toolbar styling while retaining upstream responsive wrapping and shared layout-test helpers.
|
|
10
|
+
- Keep the theme CSS-only and compatible with the editor 0.5.0 `EdgesPanel` export migration; no alternate theme or host-specific screen styling is introduced.
|
|
6
11
|
|
|
7
12
|
## [0.3.7] - 2026-10-21
|
|
8
13
|
|
package/RELEASING.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Release `0.3.7` retains the installed Step 5 responsive choice/header and information-table insets. It ships CSS only through `./styles.css`, with no React or Bootstrap JavaScript dependency. The host supplies Bootstrap-compatible tokens.
|
|
4
4
|
|
|
5
|
-
Run `npm run smoke:package`, `npm run publish:dry-run`, both layout checks, and the actual editor host at narrow widths and 200% text. Inspect the exact archive and approve its source revision and digest before publication. The existing CI publishes only on an approved `v*` tag after checks and smoke succeed; manual dispatch verifies without publishing. Publish in coordination with editor `0.
|
|
5
|
+
Run `npm run smoke:package`, `npm run publish:dry-run`, both layout checks, and the actual editor host at narrow widths and 200% text. Inspect the exact archive and approve its source revision and digest before publication. The existing CI publishes only on an approved `v*` tag after checks and smoke succeed; manual dispatch verifies without publishing. Publish in coordination with editor `0.5.0` and verify the downloaded registry artifact before host adoption.
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Release candidate: @signalsafe/tree-spec-editor-theme-bootstrap 0.3.8
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
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
4
|
|
|
5
|
-
The
|
|
5
|
+
The normal packed stylesheet, smoke check and browser layout checks must pass at narrow and wide widths, including enlarged text. The actual host remains responsible for its surrounding page layout. No JavaScript runtime, host dependency, Bootstrap JavaScript or new theme is added.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Review record
|
|
10
|
-
|
|
11
|
-
The canonical repository is preserved. Candidate changes are reviewed as a source delta over the verified remote baseline; frozen registry lock regeneration and final hosted checks remain separately recorded gates. Local passing tests do not establish production cutover or provider readiness.
|
|
7
|
+
Source reconciliation preserves original dirty work separately and retains stronger upstream checks. Existing CI verifies the exact `release-artifact.json` digest on an immutable matching `v*` tag before registry publication. See [release instructions](../RELEASING.md). Candidate metadata alone does not imply registry publication or host adoption.
|
package/package.json
CHANGED
|
@@ -23,8 +23,9 @@
|
|
|
23
23
|
align-items: center;
|
|
24
24
|
gap: 0.25rem;
|
|
25
25
|
flex-shrink: 0;
|
|
26
|
-
align-self:
|
|
27
|
-
min-height:
|
|
26
|
+
align-self: center;
|
|
27
|
+
min-height: 2rem;
|
|
28
|
+
--graph-editor-icon-size: 1rem;
|
|
28
29
|
padding: 0;
|
|
29
30
|
margin: 0;
|
|
30
31
|
border: 0;
|
|
@@ -49,10 +50,6 @@
|
|
|
49
50
|
transition: transform 0.15s ease;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
.graph-editor-choice-toggle[aria-expanded="true"] {
|
|
53
|
-
margin-bottom: 0.5rem;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
53
|
.graph-editor-choice-toggle[aria-expanded="true"]::before {
|
|
57
54
|
transform: rotate(90deg);
|
|
58
55
|
}
|
|
@@ -60,4 +57,5 @@
|
|
|
60
57
|
/* Keep nested choice insets proportional when enlarged text narrows the card. */
|
|
61
58
|
.graph-editor-list__item--choice-inspector {
|
|
62
59
|
padding-inline: min(0.75rem, 3%);
|
|
60
|
+
padding-block: 0.5rem;
|
|
63
61
|
}
|
package/src/shell/modals.css
CHANGED
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
.graph-editor-modal {
|
|
6
6
|
position: fixed;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
width: 100vw;
|
|
9
|
+
max-width: none;
|
|
10
|
+
height: 100dvh;
|
|
11
|
+
max-height: none;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
border: 0;
|
|
15
|
+
overflow: hidden;
|
|
7
16
|
inset: 0;
|
|
8
17
|
z-index: 1050;
|
|
9
18
|
display: flex;
|
|
@@ -13,12 +22,22 @@
|
|
|
13
22
|
}
|
|
14
23
|
|
|
15
24
|
.graph-editor-modal__dialog {
|
|
16
|
-
width: 100
|
|
25
|
+
width: calc(100% - 2rem);
|
|
26
|
+
min-width: 0;
|
|
27
|
+
max-height: calc(100dvh - 2rem);
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
17
30
|
max-width: 520px;
|
|
18
31
|
margin: 1rem;
|
|
19
32
|
}
|
|
20
33
|
|
|
21
34
|
.graph-editor-modal__content {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
min-width: 0;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
max-height: calc(100dvh - 2rem);
|
|
40
|
+
overflow: hidden;
|
|
22
41
|
background: var(--graph-editor-bg);
|
|
23
42
|
border: var(--graph-editor-border-width) solid var(--graph-editor-border);
|
|
24
43
|
border-radius: var(--bs-border-radius-lg, 0.5rem);
|
|
@@ -29,6 +48,9 @@
|
|
|
29
48
|
.graph-editor-modal__footer {
|
|
30
49
|
padding: 0.75rem 1rem;
|
|
31
50
|
border-color: var(--graph-editor-border);
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
max-height: 40dvh;
|
|
53
|
+
overflow: auto;
|
|
32
54
|
}
|
|
33
55
|
|
|
34
56
|
.graph-editor-modal__header {
|
|
@@ -39,15 +61,63 @@
|
|
|
39
61
|
border-top: var(--graph-editor-border-width) solid var(--graph-editor-border);
|
|
40
62
|
display: flex;
|
|
41
63
|
justify-content: flex-end;
|
|
64
|
+
flex-wrap: wrap;
|
|
42
65
|
gap: 0.5rem;
|
|
43
66
|
}
|
|
44
67
|
|
|
45
68
|
.graph-editor-modal__body {
|
|
46
69
|
padding: 1rem;
|
|
70
|
+
min-width: 0;
|
|
71
|
+
min-height: 0;
|
|
72
|
+
overflow: auto;
|
|
73
|
+
overflow-wrap: anywhere;
|
|
47
74
|
}
|
|
48
75
|
|
|
49
76
|
.graph-editor-modal__title {
|
|
50
77
|
margin: 0;
|
|
78
|
+
min-width: 0;
|
|
79
|
+
overflow-wrap: anywhere;
|
|
51
80
|
font-size: 1.125rem;
|
|
52
81
|
font-weight: 600;
|
|
53
82
|
}
|
|
83
|
+
|
|
84
|
+
.graph-editor-modal__footer .graph-editor-btn {
|
|
85
|
+
max-width: 100%;
|
|
86
|
+
white-space: normal;
|
|
87
|
+
overflow-wrap: anywhere;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.graph-editor-modal__body pre {
|
|
91
|
+
max-width: 100%;
|
|
92
|
+
overflow: auto;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.graph-editor-modal__body .graph-editor-flex--between {
|
|
96
|
+
flex-wrap: wrap;
|
|
97
|
+
gap: 0.5rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.graph-editor-modal__body input,
|
|
101
|
+
.graph-editor-modal__body select,
|
|
102
|
+
.graph-editor-modal__body textarea {
|
|
103
|
+
min-width: 0;
|
|
104
|
+
max-width: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.graph-editor-modal__body .graph-editor-flex--between > * {
|
|
108
|
+
flex: 1 1 12rem;
|
|
109
|
+
min-width: 0;
|
|
110
|
+
max-width: 100%;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.graph-editor-modal__body .graph-editor-list--plain {
|
|
114
|
+
list-style: none;
|
|
115
|
+
margin: 0;
|
|
116
|
+
padding: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.graph-editor-modal__body .graph-editor-list__plain-item {
|
|
120
|
+
min-width: 0;
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
padding-block: 0.5rem;
|
|
123
|
+
}
|
package/src/shell/panels.css
CHANGED
|
@@ -38,3 +38,54 @@
|
|
|
38
38
|
width: 38%;
|
|
39
39
|
border-right: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
/* Bootstrap-style information tabs, separate from the collapsible content. */
|
|
43
|
+
.graph-editor-info {
|
|
44
|
+
min-width: 0;
|
|
45
|
+
}
|
|
46
|
+
.graph-editor-info > .graph-editor-card__body {
|
|
47
|
+
border: var(--graph-editor-border-width) solid var(--graph-editor-border);
|
|
48
|
+
border-top: 0;
|
|
49
|
+
border-radius: 0 0 var(--graph-editor-radius) var(--graph-editor-radius);
|
|
50
|
+
}
|
|
51
|
+
.graph-editor-info-tabs {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: flex-end;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
gap: 0.5rem;
|
|
56
|
+
border-bottom: var(--graph-editor-border-width) solid var(--graph-editor-border);
|
|
57
|
+
}
|
|
58
|
+
.graph-editor-info-tablist {
|
|
59
|
+
flex-wrap: wrap;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
margin-bottom: calc(-1 * var(--graph-editor-border-width));
|
|
62
|
+
}
|
|
63
|
+
.graph-editor-info-tab {
|
|
64
|
+
padding: 0.5rem 1rem;
|
|
65
|
+
border: var(--graph-editor-border-width) solid transparent;
|
|
66
|
+
border-top-left-radius: var(--graph-editor-radius);
|
|
67
|
+
border-top-right-radius: var(--graph-editor-radius);
|
|
68
|
+
background: transparent;
|
|
69
|
+
color: var(--graph-editor-accent);
|
|
70
|
+
font: inherit;
|
|
71
|
+
line-height: 1.5;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
.graph-editor-info-tab:hover {
|
|
75
|
+
border-color: var(--graph-editor-border-subtle) var(--graph-editor-border-subtle) var(--graph-editor-border);
|
|
76
|
+
}
|
|
77
|
+
.graph-editor-info-tab[aria-selected="true"] {
|
|
78
|
+
color: var(--graph-editor-text);
|
|
79
|
+
background: var(--graph-editor-bg);
|
|
80
|
+
border-color: var(--graph-editor-border) var(--graph-editor-border) var(--graph-editor-bg);
|
|
81
|
+
}
|
|
82
|
+
.graph-editor-info-tab:focus-visible {
|
|
83
|
+
outline: 2px solid var(--graph-editor-accent);
|
|
84
|
+
outline-offset: -3px;
|
|
85
|
+
}
|
|
86
|
+
.graph-editor-info-tabs > button {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
align-self: center;
|
|
89
|
+
margin-inline-start: auto;
|
|
90
|
+
margin-block: 0.25rem;
|
|
91
|
+
}
|