pandorga 2.3.8 → 2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c19725bca63d1a8018bead9f5310eaa72ce0029fcbe82b61dcf0ff1b43869203
4
- data.tar.gz: 78f68506d5b7cc08cbda45a678b272010c92a88e8178f69a6710949478c0d81f
3
+ metadata.gz: 7c65f65578bd5eb79eab2736fc0e78616baf2fe594829e8816e5cde87223379d
4
+ data.tar.gz: 8779f58a045be9df9f3707fc4cbaffadc3e2543189cf2ee7c7d1ee3f14026c39
5
5
  SHA512:
6
- metadata.gz: 7a39ebd5753e41ca7e5edd71dd090960b938f9333676e00f952bf81cc67df08898d14ab54fb76878310bd4930c408bbaf50519b566517a1eb46b884052f75f69
7
- data.tar.gz: 6f08f3880bfb1b724a8d8a7ccf00f7fb5c8b8eeca395ee88c8da031678f714b936a2cbd564f3818a7e8def7e45beb01f7f6d3af9203e578af8b9e139a7faa2ad
6
+ metadata.gz: e4976977d37a07122747f4a48e65a928ddd406042cff4b6ad664ee8af81faf110c0dc25910ab0025e66a51fb7745df47c98b4896ea856b68d71769c020d82a48
7
+ data.tar.gz: 3292e31ef923cb97f7e017608a3a31ce6fc9bc3cc04b51284d1c30aafb05c4736a0f5e8f821b994020141ccb4556af2dc59185f7cd6062dd22e769d6c1d52e18
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.3.9] — 2026-10-30
6
+
7
+ ### Fixed
8
+
9
+ - CR-23 follow-up: scope action glyph `+2pt` to the mobile icon-only row so desktop labeled pill boxes stay identical to 2.3.5 (PLT-AC-95).
10
+
5
11
  ## [2.3.8] — 2026-10-30
6
12
 
7
13
  ### Changed
@@ -149,8 +149,7 @@ a.back-link .material-symbols-outlined {
149
149
  }
150
150
 
151
151
  .detail-action .material-symbols-outlined {
152
- /* PLT-AC-95: glyph only +2pt; button box unchanged */
153
- font-size: calc(1rem + 2pt);
152
+ font-size: 1rem;
154
153
  line-height: 1;
155
154
  color: var(--color-primary);
156
155
  transition: color var(--motion-duration-fast) var(--motion-ease-default);
@@ -205,13 +204,7 @@ a.back-link .material-symbols-outlined {
205
204
  outline-offset: 2px;
206
205
  }
207
206
 
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 {
207
+ .detail-type-size-trigger .material-symbols-outlined {
215
208
  font-size: 1rem;
216
209
  line-height: 1;
217
210
  color: var(--color-primary);
@@ -1313,6 +1306,13 @@ nav.text-page-nav:not(:has(a)) {
1313
1306
  border-radius: var(--radius-pill);
1314
1307
  }
1315
1308
 
1309
+ /* PLT-AC-95: glyph +2pt on the mobile icon-only row only.
1310
+ Desktop labeled pills keep 1rem so box size matches 2.3.5. */
1311
+ .text-detail-sidebar .article-meta .detail-action .material-symbols-outlined,
1312
+ .text-detail-sidebar .article-meta .detail-type-size-trigger .material-symbols-outlined:not(.detail-type-size-caret) {
1313
+ font-size: calc(1rem + 2pt);
1314
+ }
1315
+
1316
1316
  .text-detail-sidebar .article-meta .detail-action-label,
1317
1317
  .text-detail-sidebar .article-meta .detail-type-size-value,
1318
1318
  .text-detail-sidebar .article-meta .detail-type-size-caret {
@@ -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.8"
27
+ # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.9"
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.8"
4
+ VERSION = "2.3.9"
5
5
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # CR-23 / pandorga 2.3.8 — detail action glyphs + TOC gap (PLT-AC-95…97).
3
+ # CR-23 / pandorga 2.3.9 — detail action glyphs + TOC gap (PLT-AC-95…97).
4
4
 
5
5
  require "pathname"
6
6
 
@@ -16,20 +16,22 @@ def fail!(msg)
16
16
  end
17
17
 
18
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)")
19
+ unless DETAIL.match?(/\.article-meta\s+\.detail-action\s+\.material-symbols-outlined[\s\S]{0,80}?font-size:\s*calc\(1rem\s*\+\s*2pt\)/m) ||
20
+ DETAIL.match?(/detail-action \.material-symbols-outlined,[\s\S]{0,200}?font-size:\s*calc\(1rem\s*\+\s*2pt\)/m)
21
+ failed = 1 if fail!("PLT-AC-95: mobile .detail-action icons must use font-size: calc(1rem + 2pt)")
21
22
  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)")
23
+ unless DETAIL.include?("calc(1rem + 2pt)")
24
+ failed = 1 if fail!("PLT-AC-95: calc(1rem + 2pt) must appear for mobile action glyphs")
25
+ end
26
+ # Desktop base stays 1rem (labeled pills)
27
+ unless DETAIL.match?(/\.detail-action\s+\.material-symbols-outlined\s*\{[^}]*font-size:\s*1rem;/m)
28
+ failed = 1 if fail!("PLT-AC-95: desktop .detail-action icons must keep font-size: 1rem")
24
29
  end
25
30
  # Button box declarations from 2.3.5 must remain
26
31
  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
32
  DETAIL.match?(/height:\s*2\.5rem;[\s\S]{0,120}?padding:\s*0;/)
28
33
  failed = 1 if fail!("PLT-AC-95: mobile detail-action boxes must keep height: 2.5rem and padding: 0")
29
34
  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
35
  # Padding on base .detail-action must stay 0.35rem 0.85rem (2.3.5)
34
36
  unless DETAIL.match?(/\.detail-action\s*\{[^}]*padding:\s*0\.35rem\s+0\.85rem;/m)
35
37
  failed = 1 if fail!("PLT-AC-95: base .detail-action padding must remain 0.35rem 0.85rem")
@@ -49,8 +51,8 @@ if DETAIL.match?(/:has\(\.article-toc--disclosure\)\s+\.article-meta[\s\S]{0,120
49
51
  failed = 1 if fail!("PLT-AC-97: must not zero article-meta padding-bottom when TOC is present")
50
52
  end
51
53
 
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
+ unless SPEC.include?("PLT-AC-95") && SPEC.include?("PLT-AC-97") && SPEC.include?("2.3.9")
55
+ failed = 1 if fail!("spec docs/features/detail-action-icons.md must cover PLT-AC-95…97 and 2.3.9")
54
56
  end
55
57
  unless VALIDATE.include?("test-detail-action-icons.rb")
56
58
  failed = 1 if fail!("scripts/validate.sh must allowlist test-detail-action-icons.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.8
4
+ version: 2.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Pandorga contributors