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 +4 -4
- data/CHANGELOG.md +6 -0
- data/assets/css/ledger/detail.css +9 -9
- data/lib/pandorga/commands/new.rb +1 -1
- data/lib/pandorga/version.rb +1 -1
- data/scripts/test/test-detail-action-icons.rb +12 -10
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c65f65578bd5eb79eab2736fc0e78616baf2fe594829e8816e5cde87223379d
|
|
4
|
+
data.tar.gz: 8779f58a045be9df9f3707fc4cbaffadc3e2543189cf2ee7c7d1ee3f14026c39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4976977d37a07122747f4a48e65a928ddd406042cff4b6ad664ee8af81faf110c0dc25910ab0025e66a51fb7745df47c98b4896ea856b68d71769c020d82a48
|
|
7
|
+
data.tar.gz: 3292e31ef923cb97f7e017608a3a31ce6fc9bc3cc04b51284d1c30aafb05c4736a0f5e8f821b994020141ccb4556af2dc59185f7cd6062dd22e769d6c1d52e18
|
data/CHANGELOG.md
CHANGED
|
@@ -149,8 +149,7 @@ a.back-link .material-symbols-outlined {
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.detail-action .material-symbols-outlined {
|
|
152
|
-
|
|
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
|
|
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.
|
|
27
|
+
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.9"
|
|
28
28
|
gem "csv"
|
|
29
29
|
gem "base64"
|
|
30
30
|
RUBY
|
data/lib/pandorga/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# CR-23 / pandorga 2.3.
|
|
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
|
|
20
|
-
|
|
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.
|
|
23
|
-
failed = 1 if fail!("PLT-AC-95:
|
|
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.
|
|
53
|
-
failed = 1 if fail!("spec docs/features/detail-action-icons.md must cover PLT-AC-95…97 and 2.3.
|
|
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")
|