@conduction/docusaurus-preset 3.43.0 → 3.44.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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/src/components/AppsGrid/AppsGrid.module.css +1 -1
  3. package/src/components/AppsPreview/AppsPreview.module.css +1 -1
  4. package/src/components/AtomZones/AtomZones.module.css +1 -1
  5. package/src/components/BlueprintRush/BlueprintRush.module.css +1 -1
  6. package/src/components/ContentCard/ContentCard.module.css +3 -3
  7. package/src/components/DetailHero/DetailHero.module.css +10 -2
  8. package/src/components/DiceDuel/DiceDuel.jsx +190 -0
  9. package/src/components/DiceDuel/DiceDuel.module.css +191 -0
  10. package/src/components/DiceDuel/__tests__/engine.test.js +159 -0
  11. package/src/components/DiceDuel/engine.js +182 -0
  12. package/src/components/DownloadPanel/DownloadPanel.module.css +1 -1
  13. package/src/components/EmployeeCard/EmployeeCard.module.css +1 -1
  14. package/src/components/FacetedFilters/FacetedFilters.module.css +54 -0
  15. package/src/components/FeaturedCard/FeaturedCard.module.css +1 -1
  16. package/src/components/Hero/Hero.module.css +1 -1
  17. package/src/components/HexCard/HexCard.module.css +2 -2
  18. package/src/components/HowSteps/HowSteps.module.css +1 -1
  19. package/src/components/LeafCard/LeafCard.module.css +2 -2
  20. package/src/components/McpToolShelf/McpToolShelf.module.css +2 -2
  21. package/src/components/ModuleCard/ModuleCard.module.css +1 -1
  22. package/src/components/NewsletterCta/NewsletterCta.module.css +1 -1
  23. package/src/components/NextSteps/NextSteps.module.css +1 -1
  24. package/src/components/PairCard/PairCard.module.css +1 -1
  25. package/src/components/PartnerCard/PartnerCard.module.css +1 -1
  26. package/src/components/PartnerDirectory/PartnerDirectory.module.css +1 -1
  27. package/src/components/PipeFit/PipeFit.jsx +221 -0
  28. package/src/components/PipeFit/PipeFit.module.css +203 -0
  29. package/src/components/PipeFit/__tests__/engine.test.js +176 -0
  30. package/src/components/PipeFit/engine.js +178 -0
  31. package/src/components/Pipeline/Pipeline.module.css +1 -1
  32. package/src/components/PlatformOverview/PlatformOverview.module.css +1 -1
  33. package/src/components/Reconcile/Reconcile.jsx +240 -0
  34. package/src/components/Reconcile/Reconcile.module.css +217 -0
  35. package/src/components/Reconcile/__tests__/engine.test.js +168 -0
  36. package/src/components/Reconcile/engine.js +228 -0
  37. package/src/components/ReferenceCard/ReferenceCard.module.css +1 -1
  38. package/src/components/RotatingCards/RotatingCards.module.css +1 -1
  39. package/src/components/Showcase/Showcase.module.css +2 -2
  40. package/src/components/SolutionCard/SolutionCard.module.css +1 -1
  41. package/src/components/StatsStrip/StatsStrip.module.css +1 -1
  42. package/src/components/WidgetShelf/WidgetShelf.module.css +2 -2
  43. package/src/components/index.js +3 -0
  44. package/src/components/primitives/SectionHead.module.css +1 -1
  45. package/src/components/primitives/icons.jsx +20 -0
  46. package/src/theme/Navbar/index.jsx +73 -0
  47. package/src/theme/Navbar/styles.module.css +205 -8
  48. package/static/lib/canal-footer.css +111 -1
  49. package/static/lib/platform-diagram.css +35 -0
@@ -434,4 +434,114 @@
434
434
  .canal-footer .ci .hp-pips .pip.hit {
435
435
  opacity: 0.18;
436
436
  fill: rgba(255,255,255,0.4);
437
- }
437
+ }
438
+
439
+ /* ============================================================
440
+ Responsive collapse.
441
+
442
+ The grid above is five `fr` columns with a 48px gap inside 56px
443
+ side padding. An `fr` track carries an automatic min-content
444
+ floor, so the columns never shrink below their longest link
445
+ label ("OpenRegister", "Way of Work"): measured on a 390px
446
+ phone the footer demanded 773px and the site's
447
+ `overflow-x: clip` silently swallowed the difference. Three of
448
+ the five columns were off-screen with no way to scroll to them,
449
+ and the other two were cut off mid-word.
450
+
451
+ `minmax(0, …)` on every track below removes that floor so the
452
+ declared column count is actually honoured.
453
+ ============================================================ */
454
+
455
+ /* Tablet: keep five columns but stop the gap eating the row. */
456
+ @media (max-width: 1100px) {
457
+ .canal-footer .water { padding: 80px 32px 28px; }
458
+ .canal-footer .footer-grid {
459
+ grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
460
+ gap: 32px;
461
+ }
462
+ }
463
+
464
+ /* Small tablet and large phone: two columns, brand across the top. */
465
+ @media (max-width: 900px) {
466
+ .canal-footer .footer-grid {
467
+ grid-template-columns: repeat(2, minmax(0, 1fr));
468
+ gap: 32px 24px;
469
+ margin-bottom: 40px;
470
+ }
471
+ .canal-footer .brand { grid-column: 1 / -1; }
472
+ }
473
+
474
+ /* Phone: one column, and every link becomes a real touch target.
475
+ The link lists lose their 10px gap because the 44px row height
476
+ provides the separation. SC 2.5.8 (AA) sets the floor at 24px;
477
+ 44px is the comfortable thumb target we aim for on controls. */
478
+ @media (max-width: 600px) {
479
+ .canal-footer .water { padding: 72px 16px 24px; }
480
+
481
+ .canal-footer .footer-grid {
482
+ grid-template-columns: minmax(0, 1fr);
483
+ gap: 28px;
484
+ }
485
+
486
+ .canal-footer ul { gap: 0; }
487
+ .canal-footer ul a {
488
+ display: flex;
489
+ align-items: center;
490
+ min-height: 44px;
491
+ font-size: 15px;
492
+ }
493
+
494
+ .canal-footer .brand p { max-width: none; }
495
+
496
+ /* Legal bar: stack the two halves instead of forcing them onto one
497
+ line, and give the legal links and ISO badges room to breathe. */
498
+ .canal-footer .legal-bar {
499
+ flex-direction: column;
500
+ align-items: flex-start;
501
+ gap: 20px;
502
+ }
503
+ .canal-footer .legal-bar .left,
504
+ .canal-footer .legal-bar .right {
505
+ gap: 12px;
506
+ }
507
+ /* Short labels fail on WIDTH, not height. "ISO" measured 21x44, and
508
+ SC 2.5.8 takes the smaller dimension, so the padding is what brings
509
+ it over 24. */
510
+ .canal-footer .legal-bar .legal-links a {
511
+ display: inline-flex;
512
+ align-items: center;
513
+ justify-content: center;
514
+ min-height: 44px;
515
+ min-width: 24px;
516
+ padding: 0 8px;
517
+ }
518
+
519
+ /* The "Conduction loves Nextcloud" citation is a 14px-tall caption
520
+ link. It reads as running text, but it is the only link in its
521
+ line, so it does not get the sentence exemption. */
522
+ .canal-footer .brand .triad a {
523
+ display: inline-flex;
524
+ align-items: center;
525
+ min-height: 24px;
526
+ }
527
+ .canal-footer .legal-bar .iso-badge {
528
+ min-height: 44px;
529
+ padding: 5px 12px;
530
+ }
531
+
532
+ /* Social and contact icons. 34px is above the 24px AA floor but below
533
+ a comfortable thumb, and these five sit side by side with a 10px
534
+ gap, which is where mis-taps happen. */
535
+ .canal-footer .brand .socials { gap: 12px; }
536
+ .canal-footer .brand .socials a {
537
+ width: 44px;
538
+ height: 44px;
539
+ }
540
+
541
+ /* The mini-game HUD and its game-over panel are pinned to the old
542
+ 56px gutter; bring them inside the narrower one so they cannot
543
+ hang off the edge of the canal band. */
544
+ .canal-footer .game-hud,
545
+ .canal-footer .game-over { right: 16px; }
546
+ .canal-footer .game-over { min-width: 0; max-width: calc(100vw - 32px); }
547
+ }
@@ -472,3 +472,38 @@ platform-diagram .flow-overlay .flow-line {
472
472
  `--pd-hex-progress`, `--pd-list-progress`, `--pd-flow-progress` custom
473
473
  properties. JS writes them on every scroll (rAF-throttled) so scrolling
474
474
  up reverses the entrance. There is no discrete state machine. */
475
+
476
+
477
+ /* ============================================================
478
+ Narrow viewports.
479
+
480
+ The diagram is a fixed three-column composition (1fr 360px 1fr
481
+ with 64px gutters) whose hexes are corner-anchored with absolute
482
+ positioning and transforms. It cannot reflow into one column
483
+ without losing the spatial relationships that are the whole
484
+ point of it, so below the breakpoint it keeps its geometry and
485
+ becomes a scrollable region instead, the same treatment a wide
486
+ table gets.
487
+
488
+ Before this, the columns resolved to 820px inside a 342px page
489
+ and `overflow-x: clip` on the body swallowed the difference:
490
+ every app link in the left column sat 20px off the left edge of
491
+ the screen, unreachable and partly cut off.
492
+ ============================================================ */
493
+ @media (max-width: 900px) {
494
+ platform-diagram {
495
+ display: block;
496
+ overflow-x: auto;
497
+ -webkit-overflow-scrolling: touch;
498
+ /* Bleed to the full page width so the scrollable area starts at
499
+ the screen edge rather than inside the section's gutter. */
500
+ margin-left: -24px;
501
+ margin-right: -24px;
502
+ padding-left: 24px;
503
+ padding-right: 24px;
504
+ }
505
+
506
+ platform-diagram .diagram-grid {
507
+ min-width: 820px;
508
+ }
509
+ }