@mindful-web/marko-web-theme-monorail 1.83.3 → 1.83.5

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 (153) hide show
  1. package/components/ads/fixed-ad-bottom.marko.js +2 -2
  2. package/components/ads/reveal-ad-handler.marko.js +2 -2
  3. package/components/blocks/author-bios.marko.js +2 -2
  4. package/components/blocks/callout-cards.marko.js +2 -2
  5. package/components/blocks/company-inquiry-form.marko.js +2 -2
  6. package/components/blocks/company-search.marko.js +2 -2
  7. package/components/blocks/content-card-deck.marko.js +2 -2
  8. package/components/blocks/content-meter.marko.js +2 -2
  9. package/components/blocks/full-width-native-ad.marko.js +2 -2
  10. package/components/blocks/geo-summary.marko +9 -5
  11. package/components/blocks/geo-summary.marko.js +15 -7
  12. package/components/blocks/header-announcement.marko.js +2 -2
  13. package/components/blocks/hero-card.marko.js +2 -2
  14. package/components/blocks/latest-content-list.marko.js +2 -2
  15. package/components/blocks/latest-podcast.marko.js +2 -2
  16. package/components/blocks/latest-products-feed.marko.js +2 -2
  17. package/components/blocks/marko.json +2 -1
  18. package/components/blocks/more-products.marko.js +2 -2
  19. package/components/blocks/most-popular-list.marko.js +2 -2
  20. package/components/blocks/most-popular.marko.js +2 -2
  21. package/components/blocks/native-x-card-deck.marko.js +2 -2
  22. package/components/blocks/native-x-promo-card.marko.js +2 -2
  23. package/components/blocks/newsletter-signup-banner-external.marko.js +2 -2
  24. package/components/blocks/newsletter-signup-banner-large.marko.js +2 -2
  25. package/components/blocks/newsletter-signup-banner.marko.js +2 -2
  26. package/components/blocks/opinion.marko.js +2 -2
  27. package/components/blocks/primary-image.marko.js +2 -2
  28. package/components/blocks/products.marko.js +2 -2
  29. package/components/blocks/read-next.marko.js +2 -2
  30. package/components/blocks/related-stories.marko.js +2 -2
  31. package/components/blocks/resource-library.marko.js +2 -2
  32. package/components/blocks/section-body-feed.marko.js +2 -2
  33. package/components/blocks/section-card-deck-featured.marko.js +2 -2
  34. package/components/blocks/section-card-deck.marko.js +2 -2
  35. package/components/blocks/section-card-list.marko.js +2 -2
  36. package/components/blocks/section-feed.marko.js +2 -2
  37. package/components/blocks/section-forbes.marko.js +2 -2
  38. package/components/blocks/section-list-deck.marko.js +2 -2
  39. package/components/blocks/section-list.marko.js +2 -2
  40. package/components/blocks/section-search.marko.js +2 -2
  41. package/components/blocks/section-title-feed.marko.js +2 -2
  42. package/components/blocks/top-stories-menu.marko.js +2 -2
  43. package/components/blocks/top-stories.marko.js +2 -2
  44. package/components/blocks/white-papers.marko.js +2 -2
  45. package/components/breadcrumbs/content-page.marko.js +2 -2
  46. package/components/breadcrumbs/index.marko.js +2 -2
  47. package/components/breadcrumbs/website-section.marko.js +2 -2
  48. package/components/breadcrumbs/with-home.marko.js +2 -2
  49. package/components/client-side-block-loader.marko.js +2 -2
  50. package/components/client-side-blocks/most-popular-list.marko.js +2 -2
  51. package/components/client-side-blocks/most-popular.marko.js +2 -2
  52. package/components/content/body-with-injection.marko.js +2 -2
  53. package/components/content/contact-details/index.marko.js +2 -2
  54. package/components/content/contact-details/section.marko.js +2 -2
  55. package/components/content/download/form-dot-com.marko.js +2 -2
  56. package/components/content/download/identity-x.marko.js +2 -2
  57. package/components/content/download/index.marko.js +2 -2
  58. package/components/content/download/link.marko.js +2 -2
  59. package/components/content/download/wufoo.marko.js +2 -2
  60. package/components/content/link-url/index.marko.js +2 -2
  61. package/components/content/sections-listed-in.marko.js +2 -2
  62. package/components/content-attribution/attribution.marko.js +2 -2
  63. package/components/content-attribution/components/authors.marko.js +2 -2
  64. package/components/content-attribution/components/byline.marko.js +2 -2
  65. package/components/content-attribution/components/company.marko.js +2 -2
  66. package/components/content-attribution/components/contributors.marko.js +2 -2
  67. package/components/content-attribution/components/photographers.marko.js +2 -2
  68. package/components/content-attribution/components/source.marko.js +2 -2
  69. package/components/content-attribution/components/speakers.marko.js +2 -2
  70. package/components/content-attribution/components/sponsors.marko.js +2 -2
  71. package/components/content-attribution/index.marko.js +2 -2
  72. package/components/directory-facets/facet-container/facet-container.marko.js +2 -2
  73. package/components/directory-facets/facet-list/facet-list.marko.js +2 -2
  74. package/components/directory-facets/facet.marko.js +2 -2
  75. package/components/directory-facets/index.marko.js +2 -2
  76. package/components/facebook-connect.marko.js +2 -2
  77. package/components/flows/card-deck.marko.js +2 -2
  78. package/components/flows/content/card-deck-col.marko.js +2 -2
  79. package/components/flows/content/directory-section.marko.js +2 -2
  80. package/components/flows/content/list.marko.js +2 -2
  81. package/components/flows/section-feed.marko.js +2 -2
  82. package/components/gam/components/define-display-ad.marko.js +2 -2
  83. package/components/gam/define-display-ad.marko.js +2 -2
  84. package/components/gam/inject-ads.marko.js +2 -2
  85. package/components/gam/wallpaper-ad.marko.js +2 -2
  86. package/components/identity-x/comment-stream.marko.js +2 -2
  87. package/components/identity-x/content-page-gate.marko.js +2 -2
  88. package/components/identity-x/newsletter-footer.marko.js +2 -2
  89. package/components/identity-x/newsletter-inline.marko.js +2 -2
  90. package/components/identity-x/newsletter-modal.marko.js +2 -2
  91. package/components/identity-x/newsletter-pushdown.marko.js +2 -2
  92. package/components/layouts/ad-preview.marko.js +2 -2
  93. package/components/menu-toggle-button.marko.js +2 -2
  94. package/components/native-x/render.marko.js +2 -2
  95. package/components/nodes/author-bio.marko.js +2 -2
  96. package/components/nodes/author-card.marko.js +2 -2
  97. package/components/nodes/author-published.marko.js +2 -2
  98. package/components/nodes/author.marko.js +2 -2
  99. package/components/nodes/components/attribution.marko.js +2 -2
  100. package/components/nodes/components/authors.marko.js +2 -2
  101. package/components/nodes/components/company-name.marko.js +2 -2
  102. package/components/nodes/components/dates.marko.js +2 -2
  103. package/components/nodes/components/section-sponsor.marko.js +2 -2
  104. package/components/nodes/content-published.marko.js +2 -2
  105. package/components/nodes/content.marko.js +2 -2
  106. package/components/nodes/directory-section-feed-content.marko.js +2 -2
  107. package/components/nodes/featured-products-card.marko.js +2 -2
  108. package/components/nodes/product-feed-content.marko.js +2 -2
  109. package/components/nodes/section-feed-content.marko.js +2 -2
  110. package/components/nodes/standard-promo.marko.js +2 -2
  111. package/components/nodes/youtube-card.marko.js +2 -2
  112. package/components/page/attribution.marko.js +2 -2
  113. package/components/page/contact-details.marko.js +2 -2
  114. package/components/page/content.marko.js +2 -2
  115. package/components/page/contents.marko.js +2 -2
  116. package/components/page/dates.marko.js +2 -2
  117. package/components/page/default.marko.js +2 -2
  118. package/components/page/website-section.marko.js +2 -2
  119. package/components/pagination-controls.marko.js +2 -2
  120. package/components/query-total-count.marko.js +2 -2
  121. package/components/reveal-ad-handler.marko.js +2 -2
  122. package/components/site-footer/container.marko.js +2 -2
  123. package/components/site-footer/copyright.marko.js +2 -2
  124. package/components/site-footer/index.marko.js +2 -2
  125. package/components/site-footer/social-icons.marko.js +2 -2
  126. package/components/site-header.marko.js +2 -2
  127. package/components/site-menu/components/search.marko.js +2 -2
  128. package/components/site-menu/components/social-icons.marko.js +2 -2
  129. package/components/site-menu/header.marko.js +2 -2
  130. package/components/site-menu/index.marko.js +2 -2
  131. package/components/site-menu/section.marko.js +2 -2
  132. package/components/site-navbar/brand.marko.js +2 -2
  133. package/components/site-navbar/index.marko.js +2 -2
  134. package/components/site-navbar/item.marko.js +2 -2
  135. package/components/site-navbar/items.marko.js +2 -2
  136. package/components/site-navbar/logo.marko.js +2 -2
  137. package/components/site-navbar/search.marko.js +2 -2
  138. package/components/site-newsletter-menu.marko.js +2 -2
  139. package/components/social/icon-link.marko.js +2 -2
  140. package/components/social/icons.marko.js +2 -2
  141. package/components/social-follow.marko.js +2 -2
  142. package/components/sponsored-label-logo.marko.js +2 -2
  143. package/components/sponsored-section-logo.marko.js +2 -2
  144. package/components/sponsored-section-name-logo.marko.js +2 -2
  145. package/components/ssr-html-inject.marko.js +2 -2
  146. package/package.json +2 -2
  147. package/templates/ad-preview.marko.js +2 -2
  148. package/templates/content/components/presented-by.marko.js +2 -2
  149. package/templates/content/native-x-story.marko.js +2 -2
  150. package/templates/content/print.marko.js +2 -2
  151. package/templates/email-preview.marko.js +2 -2
  152. package/templates/search.marko.js +2 -2
  153. package/templates/taxonomy.marko.js +2 -2
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/ads/fixed-ad-bottom.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/ads/fixed-ad-bottom.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_assign = require("marko/dist/runtime/helpers/assign"),
8
8
  marko_web_gam_fixed_ad_bottom_template = require("@mindful-web/marko-web-gam/components/fixed-ad-bottom.marko"),
@@ -29,7 +29,7 @@ marko_template._ = marko_renderer(render, {
29
29
  });
30
30
 
31
31
  marko_template.meta = {
32
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/ads/fixed-ad-bottom.marko",
32
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/ads/fixed-ad-bottom.marko",
33
33
  tags: [
34
34
  "@mindful-web/marko-web-gam/components/fixed-ad-bottom.marko"
35
35
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/ads/reveal-ad-handler.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/ads/reveal-ad-handler.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_web_browser_component_template = require("@mindful-web/marko-web/components/browser-component.marko"),
8
8
  marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
@@ -31,7 +31,7 @@ marko_template._ = marko_renderer(render, {
31
31
  });
32
32
 
33
33
  marko_template.meta = {
34
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/ads/reveal-ad-handler.marko",
34
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/ads/reveal-ad-handler.marko",
35
35
  tags: [
36
36
  "@mindful-web/marko-web/components/browser-component.marko"
37
37
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/author-bios.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/author-bios.marko",
6
6
  marko_component = require("./author-bios.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -67,7 +67,7 @@ marko_template._ = marko_renderer(render, {
67
67
  }, marko_component);
68
68
 
69
69
  marko_template.meta = {
70
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/author-bios.marko",
70
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/author-bios.marko",
71
71
  component: "./author-bios.marko",
72
72
  tags: [
73
73
  "../nodes/author-bio.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/callout-cards.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/callout-cards.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_objectPath_module = require("@mindful-web/object-path"),
8
8
  objectPath_module = module_objectPath_module.default || module_objectPath_module,
@@ -66,7 +66,7 @@ marko_template._ = marko_renderer(render, {
66
66
  });
67
67
 
68
68
  marko_template.meta = {
69
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/callout-cards.marko",
69
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/callout-cards.marko",
70
70
  tags: [
71
71
  "@mindful-web/marko-web/components/element/index.marko",
72
72
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/company-inquiry-form.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/company-inquiry-form.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -83,7 +83,7 @@ marko_template._ = marko_renderer(render, {
83
83
  });
84
84
 
85
85
  marko_template.meta = {
86
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/company-inquiry-form.marko",
86
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/company-inquiry-form.marko",
87
87
  tags: [
88
88
  "@mindful-web/marko-web/components/browser-component.marko",
89
89
  "@mindful-web/marko-web-p1-events/components/track-inquiry-submission.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/company-search.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/company-search.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_web_browser_component_template = require("@mindful-web/marko-web/components/browser-component.marko"),
8
8
  marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
@@ -22,7 +22,7 @@ marko_template._ = marko_renderer(render, {
22
22
  });
23
23
 
24
24
  marko_template.meta = {
25
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/company-search.marko",
25
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/company-search.marko",
26
26
  tags: [
27
27
  "@mindful-web/marko-web/components/browser-component.marko"
28
28
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/content-card-deck.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/content-card-deck.marko",
6
6
  marko_component = require("./content-card-deck.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -317,7 +317,7 @@ marko_template._ = marko_renderer(render, {
317
317
  }, marko_component);
318
318
 
319
319
  marko_template.meta = {
320
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/content-card-deck.marko",
320
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/content-card-deck.marko",
321
321
  component: "./content-card-deck.marko",
322
322
  tags: [
323
323
  "@mindful-web/marko-web/components/element/link.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/content-meter.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/content-meter.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -161,7 +161,7 @@ marko_template._ = marko_renderer(render, {
161
161
  });
162
162
 
163
163
  marko_template.meta = {
164
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/content-meter.marko",
164
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/content-meter.marko",
165
165
  tags: [
166
166
  "@mindful-web/marko-web/components/browser-component.marko",
167
167
  "../menu-toggle-button.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/full-width-native-ad.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/full-width-native-ad.marko",
6
6
  marko_component = require("./full-width-native-ad.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -52,7 +52,7 @@ marko_template._ = marko_renderer(render, {
52
52
  }, marko_component);
53
53
 
54
54
  marko_template.meta = {
55
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/full-width-native-ad.marko",
55
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/full-width-native-ad.marko",
56
56
  component: "./full-width-native-ad.marko",
57
57
  tags: [
58
58
  "../nodes/section-feed-content.marko",
@@ -12,22 +12,26 @@ $ // Collapse the summary + key facts behind a toggle on single-column (mobile)
12
12
  $ // where the card would otherwise push the article body well down the page. Desktop is
13
13
  $ // unaffected: the CSS forces the body open and hides the chevron above the breakpoint.
14
14
  $ const collapseOnMobile = defaultValue(input.collapseOnMobile, true);
15
+ $ // When geoSummaryDisplay is DEFAULT, this controls its effective behavior: "visible" (default)
16
+ $ // shows the block for allowed content types, "hidden" suppresses it unless explicitly VISIBLE.
17
+ $ const defaultDisplay = defaultValue(input.defaultDisplay, "visible");
15
18
  $ const summary = get(content, "geoSummary");
16
19
  $ const keyFacts = get(content, "geoKeyFacts");
17
20
  $ // `geoSummaryDisplay` governs the whole visible GEO block (summary + key facts):
18
21
  $ // HIDDEN suppresses it (the summary may still feed the head meta tag + JSON-LD on
19
22
  $ // the consuming site); VISIBLE forces it on and overrides both the content-type
20
- $ // and body-length restrictions; DEFAULT shows it for the allowed content types.
21
- $ const display = get(content, "geoSummaryDisplay");
23
+ $ // and body-length restrictions; DEFAULT uses the defaultDisplay setting.
24
+ $ const contentDisplay = get(content, "geoSummaryDisplay");
25
+ $ const effectiveDisplay = contentDisplay === "DEFAULT" ? defaultDisplay : contentDisplay;
22
26
  $ // VISIBLE bypasses the content-type allow-list; otherwise restrict to allowed types.
23
- $ const typeAllowed = display === "VISIBLE" || includeContentTypes.includes(get(content, "type"));
27
+ $ const typeAllowed = effectiveDisplay === "VISIBLE" || includeContentTypes.includes(get(content, "type"));
24
28
  $ // Only surface the summary on long-form content: require more than `minBodyWordCount`
25
29
  $ // words of body prose once all HTML and embeds are stripped (stripHtml -> plain text).
26
30
  $ // VISIBLE bypasses this floor too, since the editor has explicitly forced the card on.
27
31
  $ const bodyText = stripHtml(get(content, "body") || "");
28
32
  $ const bodyWordCount = bodyText ? bodyText.split(/\s+/).filter((w) => /\w/.test(w)).length : 0;
29
- $ const lengthAllowed = display === "VISIBLE" || bodyWordCount > minBodyWordCount;
30
- $ const showSummary = Boolean(summary) && display !== "HIDDEN" && typeAllowed && lengthAllowed;
33
+ $ const lengthAllowed = effectiveDisplay === "VISIBLE" || bodyWordCount > minBodyWordCount;
34
+ $ const showSummary = Boolean(summary) && effectiveDisplay !== "HIDDEN" && typeAllowed && lengthAllowed;
31
35
  $ const modifiers = collapseOnMobile ? ["collapsible"] : [];
32
36
 
33
37
  <if(showSummary)>
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/geo-summary.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/geo-summary.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_objectPath_module = require("@mindful-web/object-path"),
8
8
  objectPath_module = module_objectPath_module.default || module_objectPath_module,
@@ -46,6 +46,12 @@ function render(input, out, __component, component, state) {
46
46
 
47
47
  const collapseOnMobile = defaultValue(input.collapseOnMobile, true);
48
48
 
49
+ // When geoSummaryDisplay is DEFAULT, this controls its effective behavior: "visible" (default)
50
+
51
+ // shows the block for allowed content types, "hidden" suppresses it unless explicitly VISIBLE.
52
+
53
+ const defaultDisplay = defaultValue(input.defaultDisplay, "visible");
54
+
49
55
  const summary = get(content, "geoSummary");
50
56
 
51
57
  const keyFacts = get(content, "geoKeyFacts");
@@ -56,13 +62,15 @@ function render(input, out, __component, component, state) {
56
62
 
57
63
  // the consuming site); VISIBLE forces it on and overrides both the content-type
58
64
 
59
- // and body-length restrictions; DEFAULT shows it for the allowed content types.
65
+ // and body-length restrictions; DEFAULT uses the defaultDisplay setting.
66
+
67
+ const contentDisplay = get(content, "geoSummaryDisplay");
60
68
 
61
- const display = get(content, "geoSummaryDisplay");
69
+ const effectiveDisplay = contentDisplay === "DEFAULT" ? defaultDisplay : contentDisplay;
62
70
 
63
71
  // VISIBLE bypasses the content-type allow-list; otherwise restrict to allowed types.
64
72
 
65
- const typeAllowed = display === "VISIBLE" || includeContentTypes.includes(get(content, "type"));
73
+ const typeAllowed = effectiveDisplay === "VISIBLE" || includeContentTypes.includes(get(content, "type"));
66
74
 
67
75
  // Only surface the summary on long-form content: require more than `minBodyWordCount`
68
76
 
@@ -74,9 +82,9 @@ function render(input, out, __component, component, state) {
74
82
 
75
83
  const bodyWordCount = bodyText ? bodyText.split(/\s+/).filter((w) => /\w/.test(w)).length : 0;
76
84
 
77
- const lengthAllowed = display === "VISIBLE" || bodyWordCount > minBodyWordCount;
85
+ const lengthAllowed = effectiveDisplay === "VISIBLE" || bodyWordCount > minBodyWordCount;
78
86
 
79
- const showSummary = Boolean(summary) && display !== "HIDDEN" && typeAllowed && lengthAllowed;
87
+ const showSummary = Boolean(summary) && effectiveDisplay !== "HIDDEN" && typeAllowed && lengthAllowed;
80
88
 
81
89
  const modifiers = collapseOnMobile ? ["collapsible"] : [];
82
90
 
@@ -150,7 +158,7 @@ marko_template._ = marko_renderer(render, {
150
158
  });
151
159
 
152
160
  marko_template.meta = {
153
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/geo-summary.marko",
161
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/geo-summary.marko",
154
162
  tags: [
155
163
  "../menu-toggle-button.marko",
156
164
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/header-announcement.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/header-announcement.marko",
6
6
  marko_component = require("./header-announcement.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  marko_str = require("marko/dist/runtime/helpers/to-string"),
@@ -107,7 +107,7 @@ marko_template._ = marko_renderer(render, {
107
107
  }, marko_component);
108
108
 
109
109
  marko_template.meta = {
110
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/header-announcement.marko",
110
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/header-announcement.marko",
111
111
  component: "./header-announcement.marko",
112
112
  tags: [
113
113
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/hero-card.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/hero-card.marko",
6
6
  marko_component = require("./hero-card.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -194,7 +194,7 @@ marko_template._ = marko_renderer(render, {
194
194
  }, marko_component);
195
195
 
196
196
  marko_template.meta = {
197
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/hero-card.marko",
197
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/hero-card.marko",
198
198
  component: "./hero-card.marko",
199
199
  tags: [
200
200
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-content-list.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-content-list.marko",
6
6
  marko_component = require("./latest-content-list.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -144,7 +144,7 @@ marko_template._ = marko_renderer(render, {
144
144
  }, marko_component);
145
145
 
146
146
  marko_template.meta = {
147
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-content-list.marko",
147
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-content-list.marko",
148
148
  component: "./latest-content-list.marko",
149
149
  tags: [
150
150
  "@mindful-web/marko-web/components/element/link.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-podcast.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-podcast.marko",
6
6
  marko_component = require("./latest-podcast.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/latest-podcast-block"),
@@ -157,7 +157,7 @@ marko_template._ = marko_renderer(render, {
157
157
  }, marko_component);
158
158
 
159
159
  marko_template.meta = {
160
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-podcast.marko",
160
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-podcast.marko",
161
161
  component: "./latest-podcast.marko",
162
162
  tags: [
163
163
  "@mindful-web/marko-web-icons/components/icon.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-products-feed.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-products-feed.marko",
6
6
  marko_component = require("./latest-products-feed.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -154,7 +154,7 @@ marko_template._ = marko_renderer(render, {
154
154
  }, marko_component);
155
155
 
156
156
  marko_template.meta = {
157
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/latest-products-feed.marko",
157
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/latest-products-feed.marko",
158
158
  component: "./latest-products-feed.marko",
159
159
  tags: [
160
160
  "../query-total-count.marko",
@@ -13,7 +13,8 @@
13
13
  "@title": "string",
14
14
  "@include-content-types": "array",
15
15
  "@min-body-word-count": "number",
16
- "@collapse-on-mobile": "boolean"
16
+ "@collapse-on-mobile": "boolean",
17
+ "@default-display": "string"
17
18
  },
18
19
  "<theme-callout-cards-block>": {
19
20
  "template": "./callout-cards.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/more-products.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/more-products.marko",
6
6
  marko_component = require("./more-products.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/products-block"),
@@ -122,7 +122,7 @@ marko_template._ = marko_renderer(render, {
122
122
  }, marko_component);
123
123
 
124
124
  marko_template.meta = {
125
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/more-products.marko",
125
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/more-products.marko",
126
126
  component: "./more-products.marko",
127
127
  tags: [
128
128
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/most-popular-list.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/most-popular-list.marko",
6
6
  marko_component = require("./most-popular-list.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -137,7 +137,7 @@ marko_template._ = marko_renderer(render, {
137
137
  }, marko_component);
138
138
 
139
139
  marko_template.meta = {
140
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/most-popular-list.marko",
140
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/most-popular-list.marko",
141
141
  component: "./most-popular-list.marko",
142
142
  tags: [
143
143
  "./latest-content-list.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/most-popular.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/most-popular.marko",
6
6
  marko_component = require("./most-popular.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -180,7 +180,7 @@ marko_template._ = marko_renderer(render, {
180
180
  }, marko_component);
181
181
 
182
182
  marko_template.meta = {
183
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/most-popular.marko",
183
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/most-popular.marko",
184
184
  component: "./most-popular.marko",
185
185
  tags: [
186
186
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/native-x-card-deck.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/native-x-card-deck.marko",
6
6
  marko_component = require("./native-x-card-deck.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -217,7 +217,7 @@ marko_template._ = marko_renderer(render, {
217
217
  }, marko_component);
218
218
 
219
219
  marko_template.meta = {
220
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/native-x-card-deck.marko",
220
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/native-x-card-deck.marko",
221
221
  component: "./native-x-card-deck.marko",
222
222
  tags: [
223
223
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/native-x-promo-card.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/native-x-promo-card.marko",
6
6
  marko_component = require("./native-x-promo-card.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -124,7 +124,7 @@ marko_template._ = marko_renderer(render, {
124
124
  }, marko_component);
125
125
 
126
126
  marko_template.meta = {
127
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/native-x-promo-card.marko",
127
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/native-x-promo-card.marko",
128
128
  component: "./native-x-promo-card.marko",
129
129
  tags: [
130
130
  "../nodes/standard-promo.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner-external.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner-external.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -95,7 +95,7 @@ marko_template._ = marko_renderer(render, {
95
95
  });
96
96
 
97
97
  marko_template.meta = {
98
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner-external.marko",
98
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner-external.marko",
99
99
  tags: [
100
100
  "@mindful-web/marko-web/components/element/index.marko",
101
101
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner-large.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner-large.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  helpers_escape_xml = require("marko/dist/runtime/html/helpers/escape-xml"),
8
8
  marko_escapeXml = helpers_escape_xml.x,
@@ -85,7 +85,7 @@ marko_template._ = marko_renderer(render, {
85
85
  });
86
86
 
87
87
  marko_template.meta = {
88
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner-large.marko",
88
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner-large.marko",
89
89
  tags: [
90
90
  "@mindful-web/marko-web/components/element/index.marko",
91
91
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_image_module = require("@mindful-web/image"),
8
8
  image_module = module_image_module.default || module_image_module,
@@ -62,7 +62,7 @@ marko_template._ = marko_renderer(render, {
62
62
  });
63
63
 
64
64
  marko_template.meta = {
65
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/newsletter-signup-banner.marko",
65
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/newsletter-signup-banner.marko",
66
66
  tags: [
67
67
  "@mindful-web/marko-web/components/browser-component.marko"
68
68
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/opinion.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/opinion.marko",
6
6
  marko_component = require("./opinion.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/opinion-block"),
@@ -83,7 +83,7 @@ marko_template._ = marko_renderer(render, {
83
83
  }, marko_component);
84
84
 
85
85
  marko_template.meta = {
86
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/opinion.marko",
86
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/opinion.marko",
87
87
  component: "./opinion.marko",
88
88
  tags: [
89
89
  "@mindful-web/marko-web/components/element/website-section/name.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/primary-image.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/primary-image.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_image_module = require("@mindful-web/image"),
8
8
  image_module = module_image_module.default || module_image_module,
@@ -215,7 +215,7 @@ marko_template._ = marko_renderer(render, {
215
215
  });
216
216
 
217
217
  marko_template.meta = {
218
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/primary-image.marko",
218
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/primary-image.marko",
219
219
  tags: [
220
220
  "@mindful-web/marko-web/components/element/image/display-name.marko",
221
221
  "@mindful-web/marko-web/components/element/picture.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/products.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/products.marko",
6
6
  marko_component = require("./products.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/products-block"),
@@ -144,7 +144,7 @@ marko_template._ = marko_renderer(render, {
144
144
  }, marko_component);
145
145
 
146
146
  marko_template.meta = {
147
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/products.marko",
147
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/products.marko",
148
148
  component: "./products.marko",
149
149
  tags: [
150
150
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/read-next.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/read-next.marko",
6
6
  marko_component = require("./read-next.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/read-next-block"),
@@ -102,7 +102,7 @@ marko_template._ = marko_renderer(render, {
102
102
  }, marko_component);
103
103
 
104
104
  marko_template.meta = {
105
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/read-next.marko",
105
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/read-next.marko",
106
106
  component: "./read-next.marko",
107
107
  tags: [
108
108
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/related-stories.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/related-stories.marko",
6
6
  marko_component = require("./related-stories.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -154,7 +154,7 @@ marko_template._ = marko_renderer(render, {
154
154
  }, marko_component);
155
155
 
156
156
  marko_template.meta = {
157
- id: "/@mindful-web/marko-web-theme-monorail$1.83.3/components/blocks/related-stories.marko",
157
+ id: "/@mindful-web/marko-web-theme-monorail$1.83.5/components/blocks/related-stories.marko",
158
158
  component: "./related-stories.marko",
159
159
  tags: [
160
160
  "@mindful-web/marko-web/components/element/index.marko",