gp-dimm-city 1.7.2 → 1.7.3
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 +26 -3
- package/package.json +1 -1
- package/styles/components/chrome.css +11 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ cut a version that has no `## [X.Y.Z]` heading below.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.7.3] - 2026-10-15
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **A specialty opener's art runs to the bottom edge of the sheet** (#54). The
|
|
15
|
+
image sits in a paragraph wrapper that stayed at its content height, so the
|
|
16
|
+
image's `height: 100%` resolved to nothing and it kept its own aspect ratio,
|
|
17
|
+
and core's in-flow image cap (`max-height: calc(var(--gp-content-h) - 4px)`)
|
|
18
|
+
held it 4px under the page besides. On the Field Guide's 8 openers the art
|
|
19
|
+
stopped 6.36pt (0.04in) short of the 810pt sheet, inside the bleed band, with
|
|
20
|
+
only the plate's dark backdrop under the gap. The wrapper now fills the
|
|
21
|
+
plate and the plate's image drops the cap (the plate is exactly one sheet
|
|
22
|
+
and clips its own overflow), so the art reaches every edge. Gutterpress
|
|
23
|
+
0.11.20's art safe-area overlay no longer flags those pages.
|
|
24
|
+
- **The release run's tarball tests have a timeout sized for `npm pack`.** The
|
|
25
|
+
first of them runs `npm pack`, which on a busy runner can take longer than
|
|
26
|
+
bun's default 5s test timeout; that failed the 1.7.1 release run before it
|
|
27
|
+
published.
|
|
28
|
+
|
|
10
29
|
## [1.7.2] - 2026-10-15
|
|
11
30
|
|
|
12
31
|
No package rule counts a book's rows or blocks any more: a threshold like
|
|
@@ -15,8 +34,9 @@ measured on, so it belongs in that book's own sheet.
|
|
|
15
34
|
|
|
16
35
|
### Removed
|
|
17
36
|
|
|
18
|
-
- **The
|
|
19
|
-
> tr:nth-child(12))`). Tables are kept whole
|
|
37
|
+
- **The long-choose-table rule from 1.7.1** (`.dc-section-choose > table:has(>
|
|
38
|
+
tbody > tr:nth-child(12))`), which never reached npm. Tables are kept whole,
|
|
39
|
+
as in 1.7.0. A book with a
|
|
20
40
|
table taller than the page under its heading lets that one split from its own
|
|
21
41
|
sheet, e.g. `.dc-flaws > table { break-inside: auto; }` for the Field Guide's
|
|
22
42
|
Flaw table.
|
|
@@ -34,7 +54,10 @@ measured on, so it belongs in that book's own sheet.
|
|
|
34
54
|
instead of `:nth-child(-n+2)`. Same rule: the flavor line and the block
|
|
35
55
|
after it stay with what follows.
|
|
36
56
|
|
|
37
|
-
## [1.7.1] -
|
|
57
|
+
## [1.7.1] - not released
|
|
58
|
+
|
|
59
|
+
Never published: its release run failed in the test job (the tarball test
|
|
60
|
+
timeout fixed in 1.7.3), and 1.7.2 removed its one change before the next run.
|
|
38
61
|
|
|
39
62
|
### Fixed
|
|
40
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gp-dimm-city",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Dimm City design system for Gutterpress: the markdown-it macros (@skill, @specialty, @learning-path, @callout, …), print stylesheets, design tokens, fonts and page templates the Dimm City TTRPG books are set in.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "plugin.js",
|
|
@@ -430,10 +430,21 @@ hr {
|
|
|
430
430
|
background: var(--ink-dark); /* dark fallback so a missing image reads as intentional art plate */
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
+
/* The image runs to every edge of the sheet (#54). Its paragraph wrapper
|
|
434
|
+
fills the plate too: left at its content height, the image's `height: 100%`
|
|
435
|
+
has nothing to resolve against and the image keeps its own aspect ratio,
|
|
436
|
+
stopping short of the bottom edge. Core caps an in-flow picture 4px under
|
|
437
|
+
the page's content height so it cannot spill onto the next page; the plate
|
|
438
|
+
is exactly one sheet and clips its own overflow, so its image drops the cap. */
|
|
439
|
+
.dc-specialty-art > .dc-img-wrapper {
|
|
440
|
+
height: 100%;
|
|
441
|
+
}
|
|
442
|
+
|
|
433
443
|
.dc-specialty-art img {
|
|
434
444
|
display: block;
|
|
435
445
|
width: 100%;
|
|
436
446
|
height: 100%;
|
|
447
|
+
max-height: none;
|
|
437
448
|
object-fit: cover;
|
|
438
449
|
}
|
|
439
450
|
|