pandorga 2.3.7 → 2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/assets/css/ledger/detail.css +13 -4
- data/lib/pandorga/commands/new.rb +1 -1
- data/lib/pandorga/version.rb +1 -1
- data/scripts/test/test-detail-action-icons.rb +63 -0
- data/scripts/validate.sh +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c19725bca63d1a8018bead9f5310eaa72ce0029fcbe82b61dcf0ff1b43869203
|
|
4
|
+
data.tar.gz: 78f68506d5b7cc08cbda45a678b272010c92a88e8178f69a6710949478c0d81f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a39ebd5753e41ca7e5edd71dd090960b938f9333676e00f952bf81cc67df08898d14ab54fb76878310bd4930c408bbaf50519b566517a1eb46b884052f75f69
|
|
7
|
+
data.tar.gz: 6f08f3880bfb1b724a8d8a7ccf00f7fb5c8b8eeca395ee88c8da031678f714b936a2cbd564f3818a7e8def7e45beb01f7f6d3af9203e578af8b9e139a7faa2ad
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.3.8] — 2026-10-30
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- CR-23: Detail action glyphs +2pt (`calc(1rem + 2pt)`) without changing marker button box size (PLT-AC-95); mobile icon centering (PLT-AC-96); `padding-bottom: calc(var(--space-sm) + var(--space-xs))` (~12px) between action row and the “IN THIS TEXT” rule (PLT-AC-97). See [features/detail-action-icons.md](docs/features/detail-action-icons.md).
|
|
10
|
+
|
|
5
11
|
## [2.3.7] — 2026-10-30
|
|
6
12
|
|
|
7
13
|
### Fixed
|
|
@@ -149,7 +149,8 @@ a.back-link .material-symbols-outlined {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.detail-action .material-symbols-outlined {
|
|
152
|
-
|
|
152
|
+
/* PLT-AC-95: glyph only +2pt; button box unchanged */
|
|
153
|
+
font-size: calc(1rem + 2pt);
|
|
153
154
|
line-height: 1;
|
|
154
155
|
color: var(--color-primary);
|
|
155
156
|
transition: color var(--motion-duration-fast) var(--motion-ease-default);
|
|
@@ -204,7 +205,13 @@ a.back-link .material-symbols-outlined {
|
|
|
204
205
|
outline-offset: 2px;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
|
-
.detail-type-size-trigger .material-symbols-outlined {
|
|
208
|
+
.detail-type-size-trigger .material-symbols-outlined:not(.detail-type-size-caret) {
|
|
209
|
+
/* PLT-AC-95: glyph only +2pt; button box unchanged */
|
|
210
|
+
font-size: calc(1rem + 2pt);
|
|
211
|
+
line-height: 1;
|
|
212
|
+
color: var(--color-primary);
|
|
213
|
+
}
|
|
214
|
+
.detail-type-size-trigger .material-symbols-outlined.detail-type-size-caret {
|
|
208
215
|
font-size: 1rem;
|
|
209
216
|
line-height: 1;
|
|
210
217
|
color: var(--color-primary);
|
|
@@ -686,15 +693,17 @@ aside:has(> .text-detail-sidebar) {
|
|
|
686
693
|
font-size: var(--type-prose);
|
|
687
694
|
}
|
|
688
695
|
|
|
696
|
+
/* PLT-AC-97: keep meta border-bottom clear of the action pills.
|
|
697
|
+
0.75rem = space-sm + space-xs — clear separation without a full space-md. */
|
|
689
698
|
.text-detail-sidebar:has(.article-toc--disclosure) .article-meta,
|
|
690
699
|
.projects-dossier:has(.article-toc--disclosure) .article-meta,
|
|
691
700
|
.projects-page .projects-dossier:has(.article-toc--disclosure) .projects-dossier-rows {
|
|
692
|
-
padding-bottom:
|
|
701
|
+
padding-bottom: calc(var(--space-sm) + var(--space-xs));
|
|
693
702
|
}
|
|
694
703
|
|
|
695
704
|
.text-detail-sidebar .article-toc--disclosure,
|
|
696
705
|
.projects-dossier .article-toc--disclosure {
|
|
697
|
-
margin-top:
|
|
706
|
+
margin-top: 0;
|
|
698
707
|
margin-bottom: var(--space-xs);
|
|
699
708
|
}
|
|
700
709
|
}
|
|
@@ -24,7 +24,7 @@ module Pandorga
|
|
|
24
24
|
|
|
25
25
|
gem "pandorga", "~> 2.0"
|
|
26
26
|
# Local checkout: gem "pandorga", path: "../pandorga"
|
|
27
|
-
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.
|
|
27
|
+
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.8"
|
|
28
28
|
gem "csv"
|
|
29
29
|
gem "base64"
|
|
30
30
|
RUBY
|
data/lib/pandorga/version.rb
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# CR-23 / pandorga 2.3.8 — detail action glyphs + TOC gap (PLT-AC-95…97).
|
|
4
|
+
|
|
5
|
+
require "pathname"
|
|
6
|
+
|
|
7
|
+
ROOT = Pathname(__dir__).join("../..").expand_path
|
|
8
|
+
DETAIL = ROOT.join("assets/css/ledger/detail.css").read
|
|
9
|
+
SPEC = ROOT.join("docs/features/detail-action-icons.md").read
|
|
10
|
+
VALIDATE = ROOT.join("scripts/validate.sh").read
|
|
11
|
+
|
|
12
|
+
failed = 0
|
|
13
|
+
def fail!(msg)
|
|
14
|
+
warn "FAIL test-detail-action-icons: #{msg}"
|
|
15
|
+
true
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# PLT-AC-95 — glyph +2pt; box rules unchanged vs 2.3.5
|
|
19
|
+
unless DETAIL.match?(/\.detail-action\s+\.material-symbols-outlined\s*\{[^}]*font-size:\s*calc\(1rem\s*\+\s*2pt\)/m)
|
|
20
|
+
failed = 1 if fail!("PLT-AC-95: .detail-action icons must use font-size: calc(1rem + 2pt)")
|
|
21
|
+
end
|
|
22
|
+
unless DETAIL.match?(/\.detail-type-size-trigger\s+\.material-symbols-outlined:not\(\.detail-type-size-caret\)\s*\{[^}]*font-size:\s*calc\(1rem\s*\+\s*2pt\)/m)
|
|
23
|
+
failed = 1 if fail!("PLT-AC-95: type-size trigger icon (not caret) must use calc(1rem + 2pt)")
|
|
24
|
+
end
|
|
25
|
+
# Button box declarations from 2.3.5 must remain
|
|
26
|
+
unless DETAIL.match?(/\.text-detail-sidebar\s+\.article-meta\s+\.detail-action,\s*\n\s*\.text-detail-sidebar\s+\.article-meta\s+\.detail-type-size-trigger\s*\{[^}]*height:\s*2\.5rem;[^}]*padding:\s*0;/m) ||
|
|
27
|
+
DETAIL.match?(/height:\s*2\.5rem;[\s\S]{0,120}?padding:\s*0;/)
|
|
28
|
+
failed = 1 if fail!("PLT-AC-95: mobile detail-action boxes must keep height: 2.5rem and padding: 0")
|
|
29
|
+
end
|
|
30
|
+
if DETAIL.match?(/\.detail-action\s+\.material-symbols-outlined\s*\{[^}]*font-size:\s*1rem;/m)
|
|
31
|
+
failed = 1 if fail!("PLT-AC-95: .detail-action icons must not keep bare font-size: 1rem")
|
|
32
|
+
end
|
|
33
|
+
# Padding on base .detail-action must stay 0.35rem 0.85rem (2.3.5)
|
|
34
|
+
unless DETAIL.match?(/\.detail-action\s*\{[^}]*padding:\s*0\.35rem\s+0\.85rem;/m)
|
|
35
|
+
failed = 1 if fail!("PLT-AC-95: base .detail-action padding must remain 0.35rem 0.85rem")
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# PLT-AC-96 — flex centering on mobile icon buttons
|
|
39
|
+
unless DETAIL.match?(/\.text-detail-sidebar\s+\.article-meta\s+\.detail-action,[\s\S]{0,200}?justify-content:\s*center;[\s\S]{0,80}?align-items:\s*center;/m)
|
|
40
|
+
failed = 1 if fail!("PLT-AC-96: mobile detail-action boxes must justify-content/align-items center")
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# PLT-AC-97 — gap via space-sm + space-xs under actions / above TOC rule
|
|
44
|
+
unless DETAIL.match?(/padding-bottom:\s*calc\(\s*var\(--space-sm\)\s*\+\s*var\(--space-xs\)\s*\)/)
|
|
45
|
+
failed = 1 if fail!("PLT-AC-97: article-meta with TOC must use padding-bottom: calc(var(--space-sm) + var(--space-xs))")
|
|
46
|
+
end
|
|
47
|
+
# Must not zero the padding under TOC anymore
|
|
48
|
+
if DETAIL.match?(/:has\(\.article-toc--disclosure\)\s+\.article-meta[\s\S]{0,120}?padding-bottom:\s*0;/)
|
|
49
|
+
failed = 1 if fail!("PLT-AC-97: must not zero article-meta padding-bottom when TOC is present")
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
unless SPEC.include?("PLT-AC-95") && SPEC.include?("PLT-AC-97") && SPEC.include?("2.3.8")
|
|
53
|
+
failed = 1 if fail!("spec docs/features/detail-action-icons.md must cover PLT-AC-95…97 and 2.3.8")
|
|
54
|
+
end
|
|
55
|
+
unless VALIDATE.include?("test-detail-action-icons.rb")
|
|
56
|
+
failed = 1 if fail!("scripts/validate.sh must allowlist test-detail-action-icons.rb")
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
if failed.zero?
|
|
60
|
+
puts "PASS test-detail-action-icons (PLT-AC-95…97)"
|
|
61
|
+
else
|
|
62
|
+
exit 1
|
|
63
|
+
end
|
data/scripts/validate.sh
CHANGED
|
@@ -80,6 +80,7 @@ TESTS=(
|
|
|
80
80
|
scripts/test/test-studio-section-texts.rb
|
|
81
81
|
scripts/test/test-home-article-cards.rb
|
|
82
82
|
scripts/test/test-home-hero-c4.rb
|
|
83
|
+
scripts/test/test-detail-action-icons.rb
|
|
83
84
|
scripts/test/test-parallel-content-publish.rb
|
|
84
85
|
scripts/test/test-mobile-density-home-measure.rb
|
|
85
86
|
scripts/test/test-regression-gate.rb
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pandorga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Pandorga contributors
|
|
@@ -420,6 +420,7 @@ files:
|
|
|
420
420
|
- scripts/test/test-css-delivery.rb
|
|
421
421
|
- scripts/test/test-css-structure.rb
|
|
422
422
|
- scripts/test/test-cv-export-contract.rb
|
|
423
|
+
- scripts/test/test-detail-action-icons.rb
|
|
423
424
|
- scripts/test/test-detail-render-parity.rb
|
|
424
425
|
- scripts/test/test-dev-reexport.rb
|
|
425
426
|
- scripts/test/test-discovery.rb
|