pandorga 1.4.1 → 1.4.2

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: 86199f8d6a5f2f50dc1bac4f3f5562ab445cb4aebd90a0f829780854a30d752c
4
- data.tar.gz: d0f40ad5df354f067345d75fc99d28b1f7d6ab03ba7153da3e1d4ab01a18f36f
3
+ metadata.gz: fdcf859c64c540bc8e6e88453e1bcdc05700cd10c5d3c30cc551f717bc7a0062
4
+ data.tar.gz: 8b982eebbd4381fe406232bf47a8b0e2bb0d89aef087a66ba610d5a1185453fb
5
5
  SHA512:
6
- metadata.gz: e5be625c48f0203ed4172e59f88013347ccf002829154488c6da9c3b454e0f32e6e7021132f64a6ddbe290dedcb7d9e5f4a3e3bb3e1b0eff0dab8c0bb3f2b901
7
- data.tar.gz: 6e46c2b43d24e8bf1eb30bf9ac850dc4014292f9605f5accfd0d968afc9ff200002168d373dff2a03b37b1c99fe15c643b2d229c36af4beef72c5fadcd6464b0
6
+ metadata.gz: ec3a30bb26d2273cc95d88a23192d420b0d7a0fc5fc0bbc816d29d9c2cbd1b07ee19ffbd5cad7c045fa7142220e8fccdf41b8483a7b07c4405cb087fe2427b11
7
+ data.tar.gz: 1f718af76ed80164d0d25e50516677437aedbe8cb6b4216f211e3ce8d4ba844c429e7ad8920e4c5c4d7ed8546ed23422e978701dc340649cc80084c303e36f7e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.2] — 2026-10-07
4
+
5
+ ### Changed
6
+
7
+ - Home inventory resource badges are non-clickable indicators, stacked from the top
8
+
3
9
  ## [1.4.1] — 2026-10-07
4
10
 
5
11
  ### Changed
@@ -473,39 +473,27 @@
473
473
  }
474
474
 
475
475
  /* Square resource marks for the home inventory rack — same fields as
476
- * renderProjectLinks (github / article_url / external_url), icon-only. */
476
+ * renderProjectLinks (github / article_url / external_url), icon-only
477
+ * indicators (not links). */
477
478
  function renderProjectResourceBadges(fm) {
478
479
  var badges = [];
479
480
  if (fm.github) {
480
- badges.push({
481
- href: fm.github,
482
- icon: 'code',
483
- label: 'Code repository'
484
- });
481
+ badges.push({ icon: 'code', label: 'Code' });
485
482
  }
486
483
  if (fm.article_url) {
487
- badges.push({
488
- href: fm.article_url,
489
- icon: 'article',
490
- label: 'Article'
491
- });
484
+ badges.push({ icon: 'article', label: 'Article' });
492
485
  }
493
486
  if (fm.external_url) {
494
- badges.push({
495
- href: fm.external_url,
496
- icon: 'public',
497
- label: 'Site'
498
- });
487
+ badges.push({ icon: 'public', label: 'Site' });
499
488
  }
500
489
  if (!badges.length) return '';
501
490
  return '<div class="home-project-inventory-resources" aria-label="Attached resources">' +
502
491
  badges.map(function (badge) {
503
- return '<a class="home-project-inventory-resource" href="' +
504
- escapeAttr(badge.href) + '" target="_blank" rel="noopener noreferrer" ' +
505
- 'title="' + escapeAttr(badge.label) + '" aria-label="' +
492
+ return '<span class="home-project-inventory-resource" title="' +
493
+ escapeAttr(badge.label) + '" aria-label="' +
506
494
  escapeAttr(badge.label) + '">' +
507
495
  '<span class="material-symbols-outlined" aria-hidden="true">' +
508
- escapeHtml(badge.icon) + '</span></a>';
496
+ escapeHtml(badge.icon) + '</span></span>';
509
497
  }).join('') +
510
498
  '</div>';
511
499
  }
@@ -1377,7 +1377,7 @@ html[data-theme="light"] .home-hero-plate {
1377
1377
  .home-project-inventory-resources {
1378
1378
  display: flex;
1379
1379
  flex-direction: column;
1380
- justify-content: space-evenly;
1380
+ justify-content: flex-start;
1381
1381
  align-items: center;
1382
1382
  align-self: stretch;
1383
1383
  flex: 0 0 auto;
@@ -1396,7 +1396,6 @@ html[data-theme="light"] .home-hero-plate {
1396
1396
  flex: 0 0 auto;
1397
1397
  background: var(--color-surface-card);
1398
1398
  color: var(--color-primary);
1399
- text-decoration: none;
1400
1399
  border: 1px solid color-mix(in srgb, var(--border-gentle-divider) 80%, transparent);
1401
1400
  }
1402
1401
 
@@ -1415,14 +1414,6 @@ html[data-theme="light"] .home-hero-plate {
1415
1414
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
1416
1415
  }
1417
1416
 
1418
- .home-project-inventory-resource:hover,
1419
- .home-project-inventory-resource:focus-visible {
1420
- color: var(--color-on-primary, var(--color-surface));
1421
- background: var(--color-primary);
1422
- border-color: var(--color-primary);
1423
- outline: none;
1424
- }
1425
-
1426
1417
  .home-project-inventory-title {
1427
1418
  margin: 0;
1428
1419
  font-size: var(--type-label-lg);
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pandorga
4
- VERSION = "1.4.1"
4
+ VERSION = "1.4.2"
5
5
  end
@@ -32,7 +32,7 @@
32
32
  "p.home-project-inventory-copy",
33
33
  "span.home-project-inventory-glyph",
34
34
  "div.home-project-inventory-resources",
35
- "a.home-project-inventory-resource"
35
+ "span.home-project-inventory-resource"
36
36
  ],
37
37
  "forbidden": [
38
38
  "ledger-card-stretch"
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.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Pandorga contributors