@signalsafe/tree-spec-editor-theme-bootstrap 0.3.4 → 0.3.7
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 +12 -0
- package/README.md +19 -0
- package/RELEASING.md +5 -0
- package/docs/README.md +5 -0
- package/docs/current-release-candidate.md +11 -0
- package/package.json +37 -25
- package/src/shell/cards.css +1 -0
- package/src/shell/choice-inspector.css +16 -0
- package/src/shell/panels.css +3 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
No unreleased changes recorded.
|
|
6
|
+
|
|
7
|
+
## [0.3.7] - 2026-10-21
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- 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.
|
|
12
|
+
- Refresh current README, release preparation and package compatibility documentation.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @signalsafe/tree-spec-editor-theme-bootstrap
|
|
2
2
|
|
|
3
|
+
Current source and planned customer-subdomain impact: [current-state summary](docs/current-release-candidate.md).
|
|
4
|
+
|
|
3
5
|
CSS-only Bootstrap-token theme for semantic classes emitted by `@signalsafe/tree-spec-editor` and `@signalsafe/tree-spec-editor-react`.
|
|
4
6
|
|
|
5
7
|
## Usage
|
|
@@ -34,3 +36,20 @@ src/primitives/*.css
|
|
|
34
36
|
src/shell/*.css
|
|
35
37
|
src/canvas/*.css
|
|
36
38
|
```
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
The Info property table uses fixed column layout and wraps long identities and
|
|
42
|
+
timestamps within its card, including narrow panels at enlarged text sizes.
|
|
43
|
+
Horizontal cell padding scales down with available table width while preserving
|
|
44
|
+
its existing maximum spacing. Values remain visible; the theme does not truncate
|
|
45
|
+
text or hide overflow to fit.
|
|
46
|
+
|
|
47
|
+
To run the browser layout regression with an independently installed Playwright
|
|
48
|
+
development tool (no JavaScript runtime is shipped), use
|
|
49
|
+
`node scripts/check-info-layout.mjs /absolute/path/to/playwright/index.mjs /absolute/path/to/installed/theme`.
|
|
50
|
+
|
|
51
|
+
Choice inspector headers wrap fields and action controls at narrow widths and enlarged text. The Choices panel retains its bounded scroll area. Development browser regression: `node scripts/check-choice-header-layout.mjs /path/to/playwright/index.mjs /path/to/installed/theme [result.json]`.
|
|
52
|
+
|
|
53
|
+
Card bodies and choice rows cap inline insets at three percent of their containing width on narrow cards; wide layouts keep the existing .75rem maximum. Flush bodies remain uninset.
|
|
54
|
+
|
|
55
|
+
See the [current release documentation](docs/current-release-candidate.md) for release-specific compatibility and verification boundaries.
|
package/RELEASING.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Release preparation: editor theme 0.3.7
|
|
2
|
+
|
|
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
|
+
|
|
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.4.1` and verify the downloaded registry artifact before host adoption.
|
package/docs/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Current release: @signalsafe/tree-spec-editor-theme-bootstrap 0.3.7
|
|
2
|
+
|
|
3
|
+
Status: coordinated release approved on 2026-10-21; registry availability is established by release verification receipts. Existing canonical source and host installations remain unchanged. The candidate combines the installed Step 5 capabilities with the verified package audit fixes; earlier dated state summaries and verification records remain historical evidence.
|
|
4
|
+
|
|
5
|
+
The package README describes supported entry points and behavior; `../RELEASING.md` describes the publication gate and order. Use the committed declaration in `../package.json` as the dependency authority. Candidate source, built files, packed archive, and isolated installed consumer must agree. Check actual gate receipts rather than inferring completion from this document.
|
|
6
|
+
|
|
7
|
+
TreeSpec `0.4.4` precedes editor-core `0.2.3`, editor-react `0.3.3`, editor `0.4.1` and theme `0.3.7`. Before publication, local archive proof verifies this chain without pretending unpublished versions can pass a frozen registry install. Registry lock refresh and published-dependency smoke verification remain staged until the upstream versions exist. React 18 / React Flow 11 support is retained.
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,27 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
"name": "@signalsafe/tree-spec-editor-theme-bootstrap",
|
|
3
|
+
"version": "0.3.7",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Bootstrap-token theme for @signalsafe/tree-spec-editor semantic classes.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"*.css",
|
|
9
|
+
"**/*.css"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
"./styles.css": "./styles.css"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"styles.css",
|
|
16
|
+
"src/**/*.css",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"RELEASING.md",
|
|
21
|
+
"docs/README.md",
|
|
22
|
+
"docs/current-release-candidate.md"
|
|
23
|
+
],
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"smoke:package": "node scripts/smoke-package.mjs",
|
|
29
|
+
"publish:dry-run": "npm pack --dry-run"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"tree-spec",
|
|
33
|
+
"graph-editor",
|
|
34
|
+
"theme",
|
|
35
|
+
"css",
|
|
36
|
+
"bootstrap",
|
|
37
|
+
"signalsafe"
|
|
38
|
+
]
|
|
27
39
|
}
|
package/src/shell/cards.css
CHANGED
|
@@ -4,9 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
.graph-editor-choice-inspector-header {
|
|
6
6
|
align-items: flex-start;
|
|
7
|
+
flex-wrap: wrap;
|
|
7
8
|
gap: 0.75rem;
|
|
8
9
|
}
|
|
9
10
|
|
|
11
|
+
/* Allow fields and actions to take separate rows before values collapse. */
|
|
12
|
+
.graph-editor-choice-inspector-header > .graph-editor-flex {
|
|
13
|
+
flex: 1 1 16rem;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.graph-editor-choice-inspector-header .graph-editor-field {
|
|
18
|
+
flex: 1 1 9rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
10
21
|
.graph-editor-choice-inspector-actions {
|
|
11
22
|
display: inline-flex;
|
|
12
23
|
align-items: center;
|
|
@@ -45,3 +56,8 @@
|
|
|
45
56
|
.graph-editor-choice-toggle[aria-expanded="true"]::before {
|
|
46
57
|
transform: rotate(90deg);
|
|
47
58
|
}
|
|
59
|
+
|
|
60
|
+
/* Keep nested choice insets proportional when enlarged text narrows the card. */
|
|
61
|
+
.graph-editor-list__item--choice-inspector {
|
|
62
|
+
padding-inline: min(0.75rem, 3%);
|
|
63
|
+
}
|
package/src/shell/panels.css
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
.graph-editor-table {
|
|
6
6
|
width: 100%;
|
|
7
|
+
table-layout: fixed;
|
|
7
8
|
border-collapse: collapse;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.graph-editor-table td {
|
|
11
|
-
padding: 0.5rem 0.75rem;
|
|
12
|
+
padding: 0.5rem min(0.75rem, 3%);
|
|
13
|
+
overflow-wrap: anywhere;
|
|
12
14
|
border-top: var(--graph-editor-border-width) solid var(--graph-editor-border-subtle);
|
|
13
15
|
vertical-align: top;
|
|
14
16
|
}
|