pandorga 1.10.0 → 1.10.1

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: 57520c1d6ff472368d36e60fe8b2cfa73bd3a10ae64e5201d7ff2aae2d05d93f
4
- data.tar.gz: 373041d44db6e27eff5cfb42e6086c5d78b54c1a57e682906ed74d4167f3efe7
3
+ metadata.gz: 12f24b429006ae62f3e74335afdf759a851068879cc639273a77d5cc95e8d9fd
4
+ data.tar.gz: efa405146c9212bcdff063abfbcadc8b03c5a222679894acd9db8dbeea522c92
5
5
  SHA512:
6
- metadata.gz: dea59bee7700b649e1db8740f8b825332b3c382e03ab8e7745ec3261dc7d31140571b26bdf2e7cb27f13910d6974aa7cb9e8f7a38a0dfb8c5064cc5c41c4400d
7
- data.tar.gz: 7ce51565da0ef33816b8f95b37ba80e0300d91135049a80025719d4b91571be9a15c5fe0c3e1d13722f817b1c73f81e76a274fae54d11506e06da75eda0e9159
6
+ metadata.gz: 2dbd18257d2507115b35b5370d0ef9e1da9e289cab3eb6861aa52532e1927a23fe834120c689a74d0331631ac929d0f88c71fe38b93563415a98de3d2e6176e9
7
+ data.tar.gz: 431866457e1c4f3d7945f6756b9331f9191923b6e353411b98540c9adcfdad75b80ad4bfaefd6200de6057cb4ca2021c94097b45c9fdd601d25dc7c99879aae2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.10.1] — 2026-10-14
4
+
5
+ ### Changed
6
+
7
+ - On article, draft, product, and project detail pages, the category pills
8
+ keep `--space-md` above and below, on a phone and in the desktop dossier
9
+ - The description under the title stays the body face at `--type-prose`,
10
+ and uses `--color-on-surface-variant`, the muted ink of secondary text
11
+ - On a phone, the contents dropdown links use `--type-prose`. The gap above
12
+ that dropdown is `--space-sm`. The gap under it stays `--space-md`, the
13
+ same inset as the pills. The date text keeps `--space-sm` under its own
14
+ rule and above the action rule
15
+
3
16
  ## [1.10.0] — 2026-10-14
4
17
 
5
18
  ### Added
@@ -749,7 +749,7 @@ body.figure-lightbox-open {
749
749
  font-weight: var(--weight-body);
750
750
  line-height: var(--leading-body);
751
751
  letter-spacing: normal;
752
- color: var(--color-legend);
752
+ color: var(--color-on-surface-variant);
753
753
  margin: 0;
754
754
  text-transform: none;
755
755
  }
@@ -413,8 +413,15 @@ aside:has(> .text-detail-sidebar) {
413
413
  color: var(--color-tertiary);
414
414
  }
415
415
 
416
+ /* The pills are the only thing between the plate edge and the title when
417
+ they lead the block, so the same token above and below centres them.
418
+ An icon above the row already leaves --space-md (its mb-4). */
419
+ .text-detail-sidebar .article-sidebar-heading:has(> .ledger-chip-row:first-child) {
420
+ padding-top: var(--space-md);
421
+ }
422
+
416
423
  .text-detail-sidebar .article-sidebar-heading .ledger-chip-row {
417
- margin: 0 0 var(--space-sm);
424
+ margin: 0 0 var(--space-md);
418
425
  }
419
426
 
420
427
  /* Canonical shard, bottom-right, as in the mockup. Decoration only: it is
@@ -477,15 +484,15 @@ aside:has(> .text-detail-sidebar) {
477
484
  color: var(--color-secondary);
478
485
  }
479
486
 
480
- /* Lead thesis. `description` is the article's own one-sentence claim — body
481
- face at the prose size, in legend ink so it sits under the H1. */
487
+ /* Lead thesis. `description` is the article's own one-sentence claim — the
488
+ body face at the prose size, in the same muted ink as other secondary text. */
482
489
  .text-detail-sidebar .article-sidebar-description {
483
490
  font-family: var(--font-body);
484
491
  font-style: normal;
485
492
  font-size: var(--type-prose);
486
493
  font-weight: var(--weight-body);
487
494
  line-height: var(--leading-body);
488
- color: var(--color-legend);
495
+ color: var(--color-on-surface-variant);
489
496
  margin: var(--space-md) 0 0;
490
497
  }
491
498
 
@@ -660,6 +667,26 @@ aside:has(> .text-detail-sidebar) {
660
667
  }
661
668
  }
662
669
 
670
+ /* Phone: the dropdown is the contents control. Its links match the reading
671
+ size. The gap above it shrinks; the gap under it stays the pill inset. */
672
+ @media (max-width: 767px) {
673
+ .text-detail-sidebar .article-toc--disclosure .article-toc-link,
674
+ .projects-dossier .article-toc--disclosure .article-toc-link {
675
+ font-size: var(--type-prose);
676
+ }
677
+
678
+ .text-detail-sidebar:has(.article-toc--disclosure) .article-meta,
679
+ .projects-dossier:has(.article-toc--disclosure) .article-meta,
680
+ .projects-page .projects-dossier:has(.article-toc--disclosure) .projects-dossier-rows {
681
+ padding-bottom: 0;
682
+ }
683
+
684
+ .text-detail-sidebar .article-toc--disclosure,
685
+ .projects-dossier .article-toc--disclosure {
686
+ margin-top: var(--space-sm);
687
+ }
688
+ }
689
+
663
690
  /* The desktop contents card is the last block in the dossier when Related
664
691
  Texts are absent, so the same inset keeps its border off the plate edge.
665
692
  Related Texts bring a larger top margin, and the two margins collapse. */
@@ -1180,8 +1207,12 @@ nav.text-page-nav:not(:has(a)) {
1180
1207
  padding-bottom: var(--space-md);
1181
1208
  }
1182
1209
 
1183
- .text-detail-sidebar .article-sidebar-heading .ledger-chip-row {
1184
- margin-bottom: var(--space-xs);
1210
+ /* The date row's own top rule leaves --space-sm above the text. The
1211
+ flex gap was stacking another --space-md on the action rule, so the
1212
+ date sat high in that band. Drop the gap and the action margin is the
1213
+ matching --space-sm under the text. */
1214
+ .text-detail-sidebar .article-meta {
1215
+ gap: 0;
1185
1216
  }
1186
1217
 
1187
1218
  .text-detail-sidebar .article-sidebar-description,
@@ -241,6 +241,7 @@
241
241
  .projects-page .projects-lead-subtitle,
242
242
  .projects-page .projects-hero-subtitle {
243
243
  margin: 0;
244
+ font-family: var(--font-body);
244
245
  color: var(--color-on-surface-variant);
245
246
  letter-spacing: 0.02em;
246
247
  }
@@ -459,9 +460,10 @@
459
460
 
460
461
  .projects-page .projects-hero-standfirst {
461
462
  margin: var(--space-md) 0 0;
463
+ font-family: var(--font-body);
462
464
  font-size: var(--type-subtitle);
463
465
  line-height: var(--leading-body);
464
- color: var(--color-legend);
466
+ color: var(--color-on-surface-variant);
465
467
  max-width: var(--reading-measure);
466
468
  }
467
469
 
@@ -553,6 +555,25 @@
553
555
  }
554
556
  }
555
557
 
558
+ /* Tag row centred between the hero edge and the title. The column is a
559
+ flex stack with a --space-xs gap, so the margins make up the rest of
560
+ --space-md on each side. */
561
+ .projects-page .projects-hero-body > .ledger-chip-row {
562
+ margin-bottom: calc(var(--space-md) - var(--space-xs));
563
+ }
564
+
565
+ .projects-page .projects-hero-body > :not(.ledger-chip-row) + .ledger-chip-row {
566
+ margin-top: calc(var(--space-md) - var(--space-xs));
567
+ }
568
+
569
+ .projects-page .projects-hero-body > .ledger-chip-row + .projects-hero-title {
570
+ margin-top: 0;
571
+ }
572
+
573
+ .projects-page .projects-hero-body:has(> .ledger-chip-row:first-child) {
574
+ padding-top: var(--space-md);
575
+ }
576
+
556
577
  @media (max-width: 1023px) {
557
578
  .projects-page .projects-hero {
558
579
  margin-bottom: var(--space-xl);
@@ -2,8 +2,21 @@
2
2
  title: Welcome to the full example
3
3
  key: welcome
4
4
  date: 2026-01-01
5
+ description: A short claim under the title, in the example voice.
5
6
  tags: [Writing]
6
7
  language: en
7
8
  ---
8
9
 
9
10
  Fictional persona content for `examples/full`.
11
+
12
+ ## Opening
13
+
14
+ The first section gives the contents list a heading.
15
+
16
+ ## Second plate
17
+
18
+ Another heading keeps the menu from collapsing to a single line.
19
+
20
+ ## Closing
21
+
22
+ A third heading is the minimum the contents list will draw.
@@ -24,7 +24,7 @@ module Pandorga
24
24
 
25
25
  gem "pandorga", "~> 1.3"
26
26
  # Local checkout: gem "pandorga", path: "../pandorga"
27
- # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v1.10.0"
27
+ # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v1.10.1"
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 = "1.10.0"
4
+ VERSION = "1.10.1"
5
5
  end
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: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Pandorga contributors