pandorga 2.3.6 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 311041e7e397af218e586b40c70c8522975132c9aad3786c0692bf00969cad84
4
- data.tar.gz: 6fcd7d920461a6cffbcac25b285987aa20558d7619623a3071affc7bd071a0c3
3
+ metadata.gz: c19725bca63d1a8018bead9f5310eaa72ce0029fcbe82b61dcf0ff1b43869203
4
+ data.tar.gz: 78f68506d5b7cc08cbda45a678b272010c92a88e8178f69a6710949478c0d81f
5
5
  SHA512:
6
- metadata.gz: 00211e5bdd16bf3e2db7f560f766e7c7b91fb750282dd67c2e410defcb6ed23bfcba1cdf782ff3564f10abfe098143c62ef500a316356abfe374f1c2f236c137
7
- data.tar.gz: a6b2a756ce4d72eabf1ef1f68e814b27cfaae59dde08b88a29266070ef585dc3372e2a900fe8dfa1eaf5109b9c54b7217639fa5ac7e7321b2066aa86bb021ef0
6
+ metadata.gz: 7a39ebd5753e41ca7e5edd71dd090960b938f9333676e00f952bf81cc67df08898d14ab54fb76878310bd4930c408bbaf50519b566517a1eb46b884052f75f69
7
+ data.tar.gz: 6f08f3880bfb1b724a8d8a7ccf00f7fb5c8b8eeca395ee88c8da031678f714b936a2cbd564f3818a7e8def7e45beb01f7f6d3af9203e578af8b9e139a7faa2ad
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
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
+
11
+ ## [2.3.7] — 2026-10-30
12
+
13
+ ### Fixed
14
+
15
+ - CR-22.4 follow-up: deepen desk soft overlay and use `#ffffff` hero title/summary ink so worst-case title contrast clears 7:1 on every pool photo at 1024/1440.
16
+
5
17
  ## [2.3.6] — 2026-10-30
6
18
 
7
19
  ### Changed
@@ -149,7 +149,8 @@ a.back-link .material-symbols-outlined {
149
149
  }
150
150
 
151
151
  .detail-action .material-symbols-outlined {
152
- font-size: 1rem;
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: 0;
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: var(--space-xs);
706
+ margin-top: 0;
698
707
  margin-bottom: var(--space-xs);
699
708
  }
700
709
  }
@@ -1923,20 +1923,20 @@ html[data-theme="light"] .home-featured .ledger-poster {
1923
1923
  ),
1924
1924
  linear-gradient(
1925
1925
  90deg,
1926
- rgba(0, 0, 0, calc(0.62 * var(--home-hero-vignette) / 0.6)) 0%,
1927
- rgba(0, 0, 0, calc(0.55 * var(--home-hero-vignette) / 0.6)) 14%,
1928
- rgba(0, 0, 0, calc(0.38 * var(--home-hero-vignette) / 0.6)) 34%,
1929
- rgba(0, 0, 0, calc(0.18 * var(--home-hero-vignette) / 0.6)) 54%,
1926
+ rgba(0, 0, 0, calc(0.72 * var(--home-hero-vignette) / 0.6)) 0%,
1927
+ rgba(0, 0, 0, calc(0.62 * var(--home-hero-vignette) / 0.6)) 14%,
1928
+ rgba(0, 0, 0, calc(0.45 * var(--home-hero-vignette) / 0.6)) 34%,
1929
+ rgba(0, 0, 0, calc(0.22 * var(--home-hero-vignette) / 0.6)) 54%,
1930
1930
  transparent 76%
1931
1931
  ),
1932
1932
  linear-gradient(
1933
1933
  180deg,
1934
- rgba(0, 0, 0, calc(0.22 * var(--home-hero-vignette) / 0.6)) 0%,
1935
- rgba(0, 0, 0, calc(0.10 * var(--home-hero-vignette) / 0.6)) 14%,
1936
- rgba(0, 0, 0, calc(0.10 * var(--home-hero-vignette) / 0.6)) 28%,
1937
- rgba(0, 0, 0, calc(0.48 * var(--home-hero-vignette) / 0.6)) 52%,
1938
- rgba(0, 0, 0, calc(0.74 * var(--home-hero-vignette) / 0.6)) 72%,
1939
- rgba(0, 0, 0, calc(0.84 * var(--home-hero-vignette) / 0.6)) 100%
1934
+ rgba(0, 0, 0, calc(0.24 * var(--home-hero-vignette) / 0.6)) 0%,
1935
+ rgba(0, 0, 0, calc(0.12 * var(--home-hero-vignette) / 0.6)) 14%,
1936
+ rgba(0, 0, 0, calc(0.18 * var(--home-hero-vignette) / 0.6)) 28%,
1937
+ rgba(0, 0, 0, calc(0.58 * var(--home-hero-vignette) / 0.6)) 48%,
1938
+ rgba(0, 0, 0, calc(0.82 * var(--home-hero-vignette) / 0.6)) 68%,
1939
+ rgba(0, 0, 0, calc(0.92 * var(--home-hero-vignette) / 0.6)) 100%
1940
1940
  );
1941
1941
  }
1942
1942
 
@@ -2075,13 +2075,13 @@ html[data-theme="light"] .home-featured .ledger-poster {
2075
2075
  font-size: clamp(1.9rem, 7vw, 2.6rem);
2076
2076
  line-height: 1.08;
2077
2077
  max-width: 100%;
2078
- color: #f4f4f4;
2078
+ color: #ffffff;
2079
2079
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 0, 0, 0.25);
2080
2080
  margin-bottom: 1rem;
2081
2081
  }
2082
2082
 
2083
2083
  .home-hero-given {
2084
- color: #f4f4f4;
2084
+ color: #ffffff;
2085
2085
  }
2086
2086
 
2087
2087
  .home-hero-family {
@@ -2102,7 +2102,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
2102
2102
  .home-hero .home-hero-summary,
2103
2103
  .home-hero .home-hero-summary p,
2104
2104
  .home-hero .home-hero-tagline {
2105
- color: #f0f0f0;
2105
+ color: #ffffff;
2106
2106
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 0, 0, 0.25);
2107
2107
  max-width: min(34rem, 100%);
2108
2108
  font-size: clamp(0.95rem, 3.6vw, 1.05rem);
@@ -2329,13 +2329,13 @@ html[data-theme="light"] .home-featured .ledger-poster {
2329
2329
  line-height: 1.08;
2330
2330
  max-width: 100%;
2331
2331
  overflow: hidden;
2332
- color: #f4f4f4;
2332
+ color: #ffffff;
2333
2333
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 0, 0, 0.25);
2334
2334
  margin-bottom: 1rem;
2335
2335
  }
2336
2336
 
2337
2337
  .home-hero-given {
2338
- color: #f4f4f4;
2338
+ color: #ffffff;
2339
2339
  }
2340
2340
 
2341
2341
  .home-hero-family {
@@ -2355,7 +2355,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
2355
2355
  .home-hero .home-hero-summary,
2356
2356
  .home-hero .home-hero-summary p,
2357
2357
  .home-hero .home-hero-tagline {
2358
- color: #f0f0f0;
2358
+ color: #ffffff;
2359
2359
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 0, 0, 0.25);
2360
2360
  max-width: 100%;
2361
2361
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
@@ -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.6"
27
+ # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.8"
28
28
  gem "csv"
29
29
  gem "base64"
30
30
  RUBY
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pandorga
4
- VERSION = "2.3.6"
4
+ VERSION = "2.3.8"
5
5
  end
@@ -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
@@ -50,7 +50,7 @@ unless HOME.include?("0.84") || HOME.include?("0.88") || HOME.include?("rgba(0,
50
50
  end
51
51
 
52
52
  # PLT-AC-90 — light title/summary + text-shadow for ≥7:1 (structure)
53
- unless HOME.match?(/\.home-hero-title[\s\S]{0,200}?color:\s*#f[0-9a-fA-F]{3,5}/)
53
+ unless HOME.match?(/\.home-hero-title[\s\S]{0,200}?color:\s*#(?:f{3}|f{6}|ffffff|f4f4f4)/i)
54
54
  failed = 1 if fail!("PLT-AC-90: .home-hero-title must use light ink (#f…)")
55
55
  end
56
56
  unless HOME.match?(/\.home-hero-summary[\s\S]{0,200}?text-shadow:/)
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.6
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