@signalsafe/tree-spec-editor-theme-bootstrap 0.3.7 → 0.3.9
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 +11 -1
- package/RELEASING.md +24 -1
- package/docs/current-release-candidate.md +4 -8
- package/package.json +8 -2
- 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
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.9 — 2026-11-23
|
|
4
|
+
|
|
5
|
+
- Publish npm releases through GitHub Actions OIDC trusted publishing.
|
|
6
|
+
- Document the designated publisher, validation and token retirement process.
|
|
7
|
+
|
|
3
8
|
## [Unreleased]
|
|
4
9
|
|
|
5
|
-
|
|
10
|
+
## [0.3.8] - 2026-11-15
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Reconcile existing choice-inspector spacing, information panels, modal and toolbar styling while retaining upstream responsive wrapping and shared layout-test helpers.
|
|
15
|
+
- 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
16
|
|
|
7
17
|
## [0.3.7] - 2026-10-21
|
|
8
18
|
|
package/RELEASING.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Release preparation: editor theme 0.3.7
|
|
2
2
|
|
|
3
|
+
## Current npm publishing: GitHub Actions OIDC
|
|
4
|
+
|
|
5
|
+
The npm package `@signalsafe/tree-spec-editor-theme-bootstrap` uses trusted publishing from
|
|
6
|
+
`SignalSafeSoftware/tree-spec-editor-theme-bootstrap`, workflow `ci.yml`. The connection permits
|
|
7
|
+
`npm publish` and staged publishing; separate dist-tag management is not granted.
|
|
8
|
+
Publishing jobs use GitHub-hosted runners, Node 24, npm 11.21.2 and scoped
|
|
9
|
+
`id-token: write` permission. Reusable workflow callers also grant this permission.
|
|
10
|
+
No `NPM_TOKEN` publishing secret or `npm whoami` precheck is required.
|
|
11
|
+
|
|
12
|
+
For this migration, release `0.3.9` with immutable tag `v0.3.9`
|
|
13
|
+
after the migration PR and all required checks pass. Publish only through the
|
|
14
|
+
workflow after merging the reviewed commit; do not move an existing release tag.
|
|
15
|
+
Existing quality gates, package smoke checks and approved-archive checks remain
|
|
16
|
+
required wherever configured. Python releases and dependency-install credentials
|
|
17
|
+
are independent of this npm authentication change.
|
|
18
|
+
|
|
19
|
+
Verify the GitHub publish job succeeds, npm serves the expected version/archive,
|
|
20
|
+
and the package's trusted publisher status becomes validated. A newly saved
|
|
21
|
+
connection must publish within npm's two-day validation window. Retain existing
|
|
22
|
+
token access until OIDC publishing is verified; disabling token publishing and
|
|
23
|
+
removing unused secrets is a separate follow-up. Never log credentials or OIDC tokens.
|
|
24
|
+
|
|
25
|
+
|
|
3
26
|
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
27
|
|
|
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.
|
|
28
|
+
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
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalsafe/tree-spec-editor-theme-bootstrap",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/SignalSafeSoftware/tree-spec-editor-theme-bootstrap.git"
|
|
7
|
+
},
|
|
4
8
|
"type": "module",
|
|
5
9
|
"description": "Bootstrap-token theme for @signalsafe/tree-spec-editor semantic classes.",
|
|
6
10
|
"license": "MIT",
|
|
@@ -26,7 +30,9 @@
|
|
|
26
30
|
},
|
|
27
31
|
"scripts": {
|
|
28
32
|
"smoke:package": "node scripts/smoke-package.mjs",
|
|
29
|
-
"publish:dry-run": "npm pack --dry-run"
|
|
33
|
+
"publish:dry-run": "npm pack --dry-run",
|
|
34
|
+
"test": "node --test tests/*.test.mjs",
|
|
35
|
+
"test:coverage": "node --test --experimental-test-coverage --test-coverage-include='scripts/*.mjs' --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100 tests/*.test.mjs"
|
|
30
36
|
},
|
|
31
37
|
"keywords": [
|
|
32
38
|
"tree-spec",
|
|
@@ -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
|
+
}
|