@penskemediacorp/larva-patterns 1.25.0 → 1.28.0

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 (171) hide show
  1. package/__tests__/css/css.prototype.js +1 -1
  2. package/__tests__/hub/hub.prototype.js +38 -14
  3. package/__tests__/profile/profile.prototype.js +19 -7
  4. package/__tests__/profile-index/profile-index.prototype.js +6 -2
  5. package/__tests__/vlanding/vlanding.prototype.js +9 -5
  6. package/algorithms/a-carousel-grid/a-carousel-grid.overlay.js +12 -9
  7. package/components/c-button/c-button.black.js +2 -1
  8. package/components/c-button/c-button.brand-basic.js +2 -1
  9. package/components/c-button/c-button.ghost.js +2 -1
  10. package/components/c-button/c-button.prototype.js +2 -2
  11. package/components/c-button/c-button.stripped.js +3 -3
  12. package/components/c-checkbox-input/c-checkbox-input.prototype.js +1 -1
  13. package/components/c-dek/c-dek.prototype.js +3 -2
  14. package/components/c-email-field/c-email-field.ghost.js +6 -3
  15. package/components/c-email-field/c-email-field.prototype.js +1 -1
  16. package/components/c-figcaption/c-figcaption.prototype.js +3 -2
  17. package/components/c-heading/c-heading.prototype.js +2 -2
  18. package/components/c-hidden-field/c-hidden-field.prototype.js +1 -1
  19. package/components/c-icon/c-icon.prototype.js +1 -1
  20. package/components/c-label/c-label.prototype.js +1 -1
  21. package/components/c-lazy-image/c-lazy-image.prototype.js +10 -6
  22. package/components/c-logo/c-logo.prototype.js +1 -1
  23. package/components/c-nav-link/c-nav-link.prototype.js +2 -2
  24. package/components/c-play-badge/c-play-badge.prototype.js +2 -2
  25. package/components/c-select-option/c-select-option.prototype.js +1 -1
  26. package/components/c-span/c-span.prototype.js +1 -1
  27. package/components/c-span/c-span.tag.js +1 -1
  28. package/components/c-svg/c-svg.prototype.js +2 -2
  29. package/components/c-tagline/c-tagline.prototype.js +2 -1
  30. package/components/c-timestamp/c-timestamp.prototype.js +1 -1
  31. package/components/c-title/c-title.prototype.js +2 -2
  32. package/index.js +2 -2
  33. package/modules/age-gate/age-gate.prototype.js +27 -15
  34. package/modules/article-callout/article-callout.prototype.js +4 -3
  35. package/modules/article-excerpt/article-excerpt.prototype.js +2 -1
  36. package/modules/article-tags/article-tags.prototype.js +4 -4
  37. package/modules/article-timestamp/article-timestamp.prototype.js +8 -6
  38. package/modules/article-title/article-title.prototype.js +2 -1
  39. package/modules/author/author.prototype.js +32 -23
  40. package/modules/author-blurb/author-blurb.prototype.js +17 -13
  41. package/modules/author-details/author-details.prototype.js +42 -33
  42. package/modules/back-to-list/back-to-list.prototype.js +6 -3
  43. package/modules/badge/badge.prototype.js +3 -2
  44. package/modules/banner/banner.prototype.js +4 -4
  45. package/modules/brands-most-popular/brands-most-popular.prototype.js +5 -3
  46. package/modules/breadcrumbs/breadcrumbs.prototype.js +1 -1
  47. package/modules/breaking-news/breaking-news.prototype.js +24 -13
  48. package/modules/buy-now/buy-now.prototype.js +9 -4
  49. package/modules/carousel-grid/carousel-grid.overlay.js +19 -10
  50. package/modules/carousel-grid/carousel-grid.prototype.js +15 -10
  51. package/modules/carousel-slider/carousel-slider.prototype.js +15 -10
  52. package/modules/container/container.narrow.js +8 -0
  53. package/modules/container/container.prototype.js +2 -2
  54. package/modules/content-showcase/content-showcase.prototype.js +20 -10
  55. package/modules/content-showcase/content-showcase.the-moth.js +19 -10
  56. package/modules/cover/cover.prototype.js +1 -1
  57. package/modules/expandable-search/expandable-search.prototype.js +11 -7
  58. package/modules/featured-stories/featured-stories.prototype.js +2 -1
  59. package/modules/featured-video/featured-video.prototype.js +27 -17
  60. package/modules/featured-video/featured-video.video-post.js +3 -2
  61. package/modules/footer/footer.prototype.js +15 -8
  62. package/modules/footer-button-list/footer-button-list.prototype.js +28 -12
  63. package/modules/footer-magazine-image/footer-magazine-image.prototype.js +9 -5
  64. package/modules/footer-menus/footer-menus.prototype.js +11 -10
  65. package/modules/footer-newsletter/footer-newsletter.prototype.js +18 -9
  66. package/modules/footer-newsletter/footer-newsletter.twig +3 -0
  67. package/modules/footer-social/footer-social.prototype.js +27 -16
  68. package/modules/footer-social/footer-social.twig +11 -3
  69. package/modules/footer-tip/footer-tip.prototype.js +22 -11
  70. package/modules/header/header.article.js +34 -19
  71. package/modules/header/header.prototype.js +46 -24
  72. package/modules/header-menu/header-menu.prototype.js +19 -14
  73. package/modules/header-sticky/header-sticky.article.js +28 -20
  74. package/modules/header-sticky/header-sticky.prototype.js +24 -12
  75. package/modules/heading/heading.prototype.js +1 -1
  76. package/modules/hero-image-story/hero-image-story.prototype.js +32 -20
  77. package/modules/injected-related-content/injected-related-content.prototype.js +44 -32
  78. package/modules/linked-gallery/linked-gallery.prototype.js +48 -25
  79. package/modules/list/list.prototype.js +16 -17
  80. package/modules/listicle-item/listicle-item.prototype.js +6 -3
  81. package/modules/mega-menu/mega-menu.prototype.js +5 -3
  82. package/modules/mega-menu-content/mega-menu-content.prototype.js +7 -7
  83. package/modules/mega-menu-footer/mega-menu-footer.prototype.js +39 -18
  84. package/modules/mega-menu-footer-subscribe/mega-menu-footer-subscribe.prototype.js +7 -4
  85. package/modules/mega-menu-item/mega-menu-item.prototype.js +13 -11
  86. package/modules/more-stories-button/more-stories-button.profile.js +3 -2
  87. package/modules/more-stories-button/more-stories-button.prototype.js +11 -7
  88. package/modules/newsletter/newsletter.prototype.js +23 -14
  89. package/modules/newsletter-cta/newsletter-cta.prototype.js +13 -5
  90. package/modules/newswire/newswire.prototype.js +16 -9
  91. package/modules/page-404/page-404.prototype.js +11 -6
  92. package/modules/paragraph/paragraph.narrow.js +2 -2
  93. package/modules/pmc-footer/pmc-footer.prototype.js +24 -14
  94. package/modules/post-content-image/post-content-image.prototype.js +10 -5
  95. package/modules/production-credits/production-credits.prototype.js +4 -3
  96. package/modules/profile-block/profile-block.horizontal.js +9 -4
  97. package/modules/profile-block/profile-block.prototype.js +21 -10
  98. package/modules/profile-blurb/profile-blurb.card.js +13 -6
  99. package/modules/profile-blurb/profile-blurb.prototype.js +29 -16
  100. package/modules/profile-body/profile-body.prototype.js +9 -5
  101. package/modules/profile-browse-by/profile-browse-by.prototype.js +16 -9
  102. package/modules/profile-card-list/profile-card-list.prototype.js +8 -5
  103. package/modules/profile-filter/profile-filter.prototype.js +20 -10
  104. package/modules/profile-gallery/profile-gallery.prototype.js +16 -9
  105. package/modules/profile-header/profile-header.prototype.js +18 -10
  106. package/modules/profile-highlights/profile-highlights.prototype.js +10 -5
  107. package/modules/profile-landing-header/profile-landing-header.prototype.js +11 -5
  108. package/modules/profile-landing-river/profile-landing-river.prototype.js +7 -8
  109. package/modules/profile-related-stories/profile-related-stories.prototype.js +18 -10
  110. package/modules/read-next/read-next.prototype.js +12 -8
  111. package/modules/secondary-stories/secondary-stories.prototype.js +128 -71
  112. package/modules/section-heading/section-heading.h2.js +3 -3
  113. package/modules/section-heading/section-heading.h3.js +3 -2
  114. package/modules/section-heading/section-heading.prototype.js +7 -4
  115. package/modules/separator/separator.double-line.js +2 -1
  116. package/modules/separator/separator.prototype.js +1 -1
  117. package/modules/separator/separator.thick-double-line.js +2 -1
  118. package/modules/separator/separator.wide-thick.js +2 -1
  119. package/modules/separator/separator.wide.js +2 -1
  120. package/modules/social-share/social-share.prototype.js +24 -11
  121. package/modules/special-coverage/special-coverage.prototype.js +44 -21
  122. package/modules/story/story.borders.js +5 -2
  123. package/modules/story/story.center-vertical-borders.js +3 -1
  124. package/modules/story/story.center-vertical.js +4 -2
  125. package/modules/story/story.prototype.js +35 -16
  126. package/modules/story/story.right-borders.js +2 -1
  127. package/modules/story/story.right.js +7 -3
  128. package/modules/story/story.story-arc.js +3 -1
  129. package/modules/story/story.vertical.js +5 -2
  130. package/modules/story-arc-stories/story-arc-stories.prototype.js +12 -10
  131. package/modules/story-featured-quote/story-featured-quote.prototype.js +25 -17
  132. package/modules/story-grid/story-grid.prototype.js +7 -3
  133. package/modules/story-grid/story-grid.river.js +13 -5
  134. package/modules/sub-header/sub-header.prototype.js +4 -2
  135. package/modules/top-stories/top-stories.prototype.js +39 -22
  136. package/modules/top-stories/top-stories.xl.js +3 -3
  137. package/modules/video-slider/video-slider.prototype.js +8 -4
  138. package/modules/vlanding-playlist/vlanding-playlist.prototype.js +9 -10
  139. package/modules/vlanding-video-card/vlanding-video-card.prototype.js +16 -8
  140. package/modules/vlanding-video-showcase/vlanding-video-showcase.prototype.js +44 -25
  141. package/objects/o-account-menu/o-account-menu.prototype.js +21 -14
  142. package/objects/o-author/o-author.prototype.js +9 -5
  143. package/objects/o-card/o-card.prototype.js +18 -10
  144. package/objects/o-card-list/o-card-list.prototype.js +1 -5
  145. package/objects/o-category-link/o-category-link.prototype.js +3 -2
  146. package/objects/o-checkbox-input-list/o-checkbox-input-list.prototype.js +11 -5
  147. package/objects/o-collection-item/o-collection-item.floated.js +3 -1
  148. package/objects/o-collection-item/o-collection-item.prototype.js +6 -4
  149. package/objects/o-email-capture-form/o-email-capture-form.minimal.js +11 -4
  150. package/objects/o-email-capture-form/o-email-capture-form.prototype.js +9 -5
  151. package/objects/o-figure/o-figure.prototype.js +8 -4
  152. package/objects/o-header/o-header.prototype.js +10 -5
  153. package/objects/o-header-buttons/o-header-buttons.column.js +7 -4
  154. package/objects/o-header-buttons/o-header-buttons.prototype.js +23 -12
  155. package/objects/o-icon-button/o-icon-button.prototype.js +10 -5
  156. package/objects/o-icon-button/o-icon-button.search.js +5 -2
  157. package/objects/o-indicator/o-indicator.photos.js +7 -3
  158. package/objects/o-indicator/o-indicator.prototype.js +6 -3
  159. package/objects/o-input-group/o-input-group.prototype.js +4 -6
  160. package/objects/o-nav/o-nav.horizontal.js +2 -1
  161. package/objects/o-nav/o-nav.prototype.js +3 -3
  162. package/objects/o-select-nav/o-select-nav.prototype.js +8 -8
  163. package/objects/o-social-list/o-social-list.prototype.js +5 -4
  164. package/objects/o-span-group/o-span-group.prototype.js +4 -5
  165. package/objects/o-sponsored-by/o-sponsored-by.prototype.js +6 -3
  166. package/objects/o-story-arc-item/o-story-arc-item.prototype.js +12 -7
  167. package/objects/o-sub-header/o-sub-header.prototype.js +30 -15
  168. package/objects/o-tease/o-tease.prototype.js +16 -8
  169. package/objects/o-tease-list/o-tease-list.prototype.js +1 -5
  170. package/objects/o-video-card/o-video-card.prototype.js +28 -22
  171. package/package.json +5 -5
@@ -1,26 +1,34 @@
1
1
  const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
- const c_heading = clonedeep( require( '../../components/c-heading/c-heading.prototype' ) );
4
- const o_card_list = clonedeep( require( '../../objects/o-card-list/o-card-list.prototype' ) );
3
+ const c_heading = clonedeep(
4
+ require( '../../components/c-heading/c-heading.prototype' )
5
+ );
6
+ const o_card_list = clonedeep(
7
+ require( '../../objects/o-card-list/o-card-list.prototype' )
8
+ );
5
9
 
6
10
  c_heading.c_heading_text = 'Related Stories';
7
- c_heading.c_heading_classes = 'lrv-u-font-family-secondary lrv-u-font-size-28 lrv-u-font-size-40@tablet lrv-u-font-size-46@desktop-xl lrv-u-padding-r-1';
11
+ c_heading.c_heading_classes =
12
+ 'lrv-u-font-family-secondary lrv-u-font-size-28 lrv-u-font-size-40@tablet lrv-u-font-size-46@desktop-xl lrv-u-padding-r-1';
8
13
 
9
14
  o_card_list.o_card_list_classes += ' lrv-a-grid a-cols3@tablet';
10
15
 
11
16
  o_card_list.o_card_list_items.map( ( o_card ) => {
12
-
13
17
  o_card.o_card_classes = 'lrv-u-flex lrv-u-flex-direction-column@tablet';
14
18
 
15
- o_card.c_lazy_image.c_lazy_image_classes = 'lrv-u-flex-shrink-0 lrv-u-margin-r-1 lrv-u-margin-r-00@tablet';
19
+ o_card.c_lazy_image.c_lazy_image_classes =
20
+ 'lrv-u-flex-shrink-0 lrv-u-margin-r-1 lrv-u-margin-r-00@tablet';
16
21
  o_card.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-3x2';
17
22
 
18
23
  o_card.c_span.c_span_text = 'News';
19
- o_card.c_span.c_span_classes += ' lrv-u-font-size-12@mobile-max lrv-u-font-family-primary lrv-u-font-weight-bold lrv-u-display-block lrv-u-padding-b-050';
24
+ o_card.c_span.c_span_classes +=
25
+ ' lrv-u-font-size-12@mobile-max lrv-u-font-family-primary lrv-u-font-weight-bold lrv-u-display-block lrv-u-padding-b-050';
20
26
  o_card.c_span.c_span_url = '#';
21
27
 
22
- o_card.c_title.c_title_text = 'Guggenheim’s Hilma af Klint Survey Is Most Popular Show in Its History';
23
- o_card.c_title.c_title_classes = 'lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-weight-normal';
28
+ o_card.c_title.c_title_text =
29
+ 'Guggenheim’s Hilma af Klint Survey Is Most Popular Show in Its History';
30
+ o_card.c_title.c_title_classes =
31
+ 'lrv-u-font-family-primary lrv-u-font-size-14@mobile-max lrv-u-font-size-16 lrv-u-font-weight-normal';
24
32
  o_card.c_title.c_title_link_classes = 'lrv-u-color-black';
25
33
 
26
34
  o_card.c_timestamp = false;
@@ -28,6 +36,6 @@ o_card_list.o_card_list_items.map( ( o_card ) => {
28
36
 
29
37
  module.exports = {
30
38
  profile_related_stories_classes: '',
31
- c_heading: c_heading,
32
- o_card_list: o_card_list,
39
+ c_heading,
40
+ o_card_list,
33
41
  };
@@ -1,20 +1,24 @@
1
1
  const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const c_span_prototype = require( '../../components/c-span/c-span.prototype' );
4
- const c_span = clonedeep( c_span_prototype );
4
+ const c_span = clonedeep( c_span_prototype );
5
5
 
6
6
  c_span.c_span_text = 'Read Next: ';
7
- c_span.c_span_classes += ' lrv-u-text-transform-uppercase lrv-u-font-weight-bold';
7
+ c_span.c_span_classes +=
8
+ ' lrv-u-text-transform-uppercase lrv-u-font-weight-bold';
8
9
 
9
10
  const c_title_prototype = require( '../../components/c-title/c-title.prototype' );
10
11
  const c_title = clonedeep( c_title_prototype );
11
12
 
12
- c_title.c_title_classes = 'lrv-u-padding-l-1 lrv-u-max-width-500 lrv-a-truncate-ellipsis lrv-u-font-weight-normal';
13
- c_title.c_title_text = 'Here is some really long title text, it should be truncated with lrv-a-truncate-ellispis, we hope!!!!!! Wow it\'s so long.';
13
+ c_title.c_title_classes =
14
+ 'lrv-u-padding-l-1 lrv-u-max-width-500 lrv-a-truncate-ellipsis lrv-u-font-weight-normal';
15
+ c_title.c_title_text =
16
+ "Here is some really long title text, it should be truncated with lrv-a-truncate-ellispis, we hope!!!!!! Wow it's so long.";
14
17
  c_title.c_title_link_classes = 'lrv-a-unstyle-link';
15
18
 
16
19
  module.exports = {
17
- read_next_classes: ' lrv-a-hidden@desktop-max lrv-u-flex lrv-u-align-items-center lrv-u-flex-1 lrv-u-font-family-body lrv-u-font-size-16',
18
- c_span: c_span,
19
- c_title: c_title,
20
- };
20
+ read_next_classes:
21
+ ' lrv-a-hidden@desktop-max lrv-u-flex lrv-u-align-items-center lrv-u-flex-1 lrv-u-font-family-body lrv-u-font-size-16',
22
+ c_span,
23
+ c_title,
24
+ };
@@ -1,119 +1,176 @@
1
- const clonedeep = require('lodash.clonedeep');
1
+ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
- const o_card_prototype = require('@penskemediacorp/larva-patterns/objects/o-card/o-card.prototype.js')
3
+ const o_card_prototype = require( '@penskemediacorp/larva-patterns/objects/o-card/o-card.prototype.js' );
4
4
 
5
- const o_author = clonedeep(require('@penskemediacorp/larva-patterns/objects/o-author/o-author.prototype'));
5
+ const o_author = clonedeep(
6
+ require( '@penskemediacorp/larva-patterns/objects/o-author/o-author.prototype' )
7
+ );
6
8
  o_author.c_span.c_span_classes = '';
7
9
  o_author.o_author_classes = 'lrv-u-text-transform-uppercase';
8
- o_author.o_author_text= 'By ';
9
- o_author.c_timestamp= false;
10
+ o_author.o_author_text = 'By ';
11
+ o_author.c_timestamp = false;
10
12
  o_author.c_span.c_span_link_classes = 'lrv-a-unstyle-link';
11
13
  o_card_prototype.o_author = o_author;
12
14
 
13
- const c_dek = clonedeep(require('@penskemediacorp/larva-patterns/components/c-dek/c-dek.prototype.js'));
15
+ const c_dek = clonedeep(
16
+ require( '@penskemediacorp/larva-patterns/components/c-dek/c-dek.prototype.js' )
17
+ );
14
18
  o_card_prototype.c_dek = c_dek;
15
19
 
16
20
  o_card_prototype.c_span = false;
17
- o_card_prototype.c_title.c_title_text = ' For Sahbabii, Recording His Debut Album Was Part of The Grieving Process';
21
+ o_card_prototype.c_title.c_title_text =
22
+ ' For Sahbabii, Recording His Debut Album Was Part of The Grieving Process';
18
23
  o_card_prototype.c_timestamp = false;
19
- o_card_prototype.o_card_content_classes ='lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column';
20
- o_card_prototype.c_title.c_title_link_classes = 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
21
-
22
- const article_kicker = clonedeep(require('@penskemediacorp/larva-patterns/modules/article-kicker/article-kicker.prototype.js'));
23
- article_kicker.article_kicker_classes = 'lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-text-transform-uppercase';
24
+ o_card_prototype.o_card_content_classes =
25
+ 'lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column';
26
+ o_card_prototype.c_title.c_title_link_classes =
27
+ 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
28
+
29
+ const article_kicker = clonedeep(
30
+ require( '@penskemediacorp/larva-patterns/modules/article-kicker/article-kicker.prototype.js' )
31
+ );
32
+ article_kicker.article_kicker_classes =
33
+ 'lrv-u-padding-b-050 lrv-u-border-b-1 lrv-u-text-transform-uppercase';
24
34
  article_kicker.article_kicker_link_classes = 'lrv-a-unstyle-link';
25
35
  o_card_prototype.article_kicker_outer_classes = 'lrv-u-padding-tb-1@desktop-xl';
26
36
  o_card_prototype.article_kicker = article_kicker;
27
37
 
28
- const o_card_1 = clonedeep(o_card_prototype);
38
+ const o_card_1 = clonedeep( o_card_prototype );
29
39
  o_card_1.c_dek = false;
30
40
  o_card_1.article_kicker.article_kicker_text = 'Exclusive';
31
- o_card_1.c_title.c_title_text = ' It Started With Thirst Traps on TikTok. Now, She’s Accused of Running a BDSM Cult';
32
- o_card_1.article_kicker_outer_classes = 'lrv-a-font-basic-l lrv-a-glue-parent lrv-u-background-color-white lrv-u-flex lrv-u-padding-b-1 lrv-u-padding-l-1@mobile-max lrv-u-padding-r-1 lrv-u-padding-t-1@desktop-xl lrv-u-padding-t-1@mobile-max lrv-u-text-transform-uppercase u-margin-t-n187@desktop-xl u-margin-t-n187@mobile-max u-z-index-middle-bottom';
41
+ o_card_1.c_title.c_title_text =
42
+ ' It Started With Thirst Traps on TikTok. Now, She’s Accused of Running a BDSM Cult';
43
+ o_card_1.article_kicker_outer_classes =
44
+ 'lrv-a-font-basic-l lrv-a-glue-parent lrv-u-background-color-white lrv-u-flex lrv-u-padding-b-1 lrv-u-padding-l-1@mobile-max lrv-u-padding-r-1 lrv-u-padding-t-1@desktop-xl lrv-u-padding-t-1@mobile-max lrv-u-text-transform-uppercase u-margin-t-n187@desktop-xl u-margin-t-n187@mobile-max u-z-index-middle-bottom';
33
45
  o_card_1.article_kicker.article_kicker_classes += ' lrv-a-font-basic-l';
34
- o_card_1.c_title.c_title_classes = 'lrv-a-font-primary-xl lrv-u-padding-t-150@mobile-max lrv-u-padding-b-1@mobile-max lrv-u-padding-t-050@tablet lrv-u-padding-b-075@tablet';
35
- o_card_1.o_author.o_author_classes = 'lrv-a-font-body-s lrv-u-text-transform-uppercase lrv-u-color-black';
36
- o_card_1.o_card_classes = 'lrv-u-flex@tablet lrv-u-flex-direction-column@desktop-xl';
37
- o_card_1.o_card_image_wrap_classes = 'lrv-u-flex-basis-100p lrv-u-margin-r-175@tablet lrv-u-margin-r-00@desktop-xl';
38
- o_card_1.o_card_content_classes = 'lrv-u-align-items-start lrv-u-flex lrv-u-flex-basis-100p lrv-u-flex-direction-column lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max';
46
+ o_card_1.c_title.c_title_classes =
47
+ 'lrv-a-font-primary-xl lrv-u-padding-t-150@mobile-max lrv-u-padding-b-1@mobile-max lrv-u-padding-t-050@tablet lrv-u-padding-b-075@tablet';
48
+ o_card_1.o_author.o_author_classes =
49
+ 'lrv-a-font-body-s lrv-u-text-transform-uppercase lrv-u-color-black';
50
+ o_card_1.o_card_classes =
51
+ 'lrv-u-flex@tablet lrv-u-flex-direction-column@desktop-xl';
52
+ o_card_1.o_card_image_wrap_classes =
53
+ 'lrv-u-flex-basis-100p lrv-u-margin-r-175@tablet lrv-u-margin-r-00@desktop-xl';
54
+ o_card_1.o_card_content_classes =
55
+ 'lrv-u-align-items-start lrv-u-flex lrv-u-flex-basis-100p lrv-u-flex-direction-column lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max';
39
56
  o_card_1.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-3x2';
40
57
 
41
- const o_card_2 = clonedeep(o_card_prototype);
58
+ const o_card_2 = clonedeep( o_card_prototype );
42
59
 
43
60
  o_card_2.article_kicker.article_kicker_text = 'AMERICAN MILITIA';
44
- o_card_2.c_title.c_title_text = 'Meet the Oath Keeper on the NRA’s Board of Directors';
45
- o_card_2.c_dek.c_dek_text = ' Links between the notorious militia and the gun lobby run deep';
46
- o_card_2.c_dek.c_dek_classes = 'lrv-u-margin-tb-075@desktop-xl lrv-a-hidden@desktop-max lrv-a-hidden@desktop-xl-max lrv-a-font-body-l lrv-a-truncate-ellipsis-5line';
61
+ o_card_2.c_title.c_title_text =
62
+ 'Meet the Oath Keeper on the NRA’s Board of Directors';
63
+ o_card_2.c_dek.c_dek_text =
64
+ ' Links between the notorious militia and the gun lobby run deep';
65
+ o_card_2.c_dek.c_dek_classes =
66
+ 'lrv-u-margin-tb-075@desktop-xl lrv-a-hidden@desktop-max lrv-a-hidden@desktop-xl-max lrv-a-font-body-l lrv-a-truncate-ellipsis-5line';
47
67
  o_card_2.article_kicker.article_kicker_classes += ' lrv-a-font-basic-xs ';
48
- o_card_2.article_kicker_outer_classes = 'lrv-u-padding-b-075 lrv-u-padding-b-125@desktop-xl lrv-u-padding-t-1@desktop-xl';
49
- o_card_2.c_title.c_title_classes = 'lrv-u-padding-b-075@mobile-max lrv-a-font-primary-m lrv-u-padding-t-125@mobile-max';
50
- o_card_2.o_author.o_author_classes = 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
51
- o_card_2.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-1x1@tablet lrv-a-crop-3x2@desktop-xl lrv-a-crop-3x2@mobile-max';
68
+ o_card_2.article_kicker_outer_classes =
69
+ 'lrv-u-padding-b-075 lrv-u-padding-b-125@desktop-xl lrv-u-padding-t-1@desktop-xl';
70
+ o_card_2.c_title.c_title_classes =
71
+ 'lrv-u-padding-b-075@mobile-max lrv-a-font-primary-m lrv-u-padding-t-125@mobile-max';
72
+ o_card_2.o_author.o_author_classes =
73
+ 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
74
+ o_card_2.c_lazy_image.c_lazy_image_crop_class =
75
+ 'lrv-a-crop-1x1@tablet lrv-a-crop-3x2@desktop-xl lrv-a-crop-3x2@mobile-max';
52
76
  o_card_2.c_lazy_image.c_lazy_image_classes = 'lrv-u-width-100p';
53
- o_card_2.o_card_classes ='lrv-u-margin-l-00@desktop-xl lrv-u-flex-basis-100p lrv-u-flex-direction-column@desktop-xl lrv-a-space-children--1 lrv-a-space-children--0@desktop-xl lrv-u-border-t-1@mobile-max lrv-u-padding-t-2@mobile-max lrv-a-space-children-horizontal@tablet lrv-u-flex@tablet';
54
- o_card_2.o_card_content_classes = 'lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column lrv-u-padding-b-150@mobile-max lrv-u-padding-t-1@mobile-max';
77
+ o_card_2.o_card_classes =
78
+ 'lrv-u-margin-l-00@desktop-xl lrv-u-flex-basis-100p lrv-u-flex-direction-column@desktop-xl lrv-a-space-children--1 lrv-a-space-children--0@desktop-xl lrv-u-border-t-1@mobile-max lrv-u-padding-t-2@mobile-max lrv-a-space-children-horizontal@tablet lrv-u-flex@tablet';
79
+ o_card_2.o_card_content_classes =
80
+ 'lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column lrv-u-padding-b-150@mobile-max lrv-u-padding-t-1@mobile-max';
55
81
 
56
- const o_card_3 = clonedeep(o_card_prototype);
82
+ const o_card_3 = clonedeep( o_card_prototype );
57
83
 
58
84
  o_card_3.article_kicker.article_kicker_text = 'YACHT ROCK';
59
- o_card_3.c_title.c_title_text = 'Welcome to Jenny Lewis’ Yacht-Rock Era. It’s Nice Here';
60
- o_card_3.c_dek.c_dek_text = '“Puppy and a Truck” is all about the unconditional love that only a dog and a vehicle can provide';
61
- o_card_3.c_dek.c_dek_classes = 'lrv-u-margin-tb-075@desktop-xl lrv-a-hidden@desktop-max lrv-a-hidden@desktop-xl-max lrv-a-font-body-l lrv-a-truncate-ellipsis-5line';
85
+ o_card_3.c_title.c_title_text =
86
+ 'Welcome to Jenny Lewis’ Yacht-Rock Era. It’s Nice Here';
87
+ o_card_3.c_dek.c_dek_text =
88
+ '“Puppy and a Truck” is all about the unconditional love that only a dog and a vehicle can provide';
89
+ o_card_3.c_dek.c_dek_classes =
90
+ 'lrv-u-margin-tb-075@desktop-xl lrv-a-hidden@desktop-max lrv-a-hidden@desktop-xl-max lrv-a-font-body-l lrv-a-truncate-ellipsis-5line';
62
91
  o_card_3.article_kicker.article_kicker_classes += ' lrv-a-font-basic-xs ';
63
- o_card_3.article_kicker_outer_classes = 'lrv-u-padding-b-075 lrv-u-padding-b-125@desktop-xl lrv-u-padding-t-1@desktop-xl';
64
- o_card_3.c_title.c_title_classes = 'lrv-u-padding-b-075@mobile-max lrv-a-font-primary-m lrv-u-padding-t-125@mobile-max';
65
- o_card_3.o_author.o_author_classes = 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
66
- o_card_3.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-1x1@tablet lrv-a-crop-3x2@desktop-xl lrv-a-crop-3x2@mobile-max';
92
+ o_card_3.article_kicker_outer_classes =
93
+ 'lrv-u-padding-b-075 lrv-u-padding-b-125@desktop-xl lrv-u-padding-t-1@desktop-xl';
94
+ o_card_3.c_title.c_title_classes =
95
+ 'lrv-u-padding-b-075@mobile-max lrv-a-font-primary-m lrv-u-padding-t-125@mobile-max';
96
+ o_card_3.o_author.o_author_classes =
97
+ 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
98
+ o_card_3.c_lazy_image.c_lazy_image_crop_class =
99
+ 'lrv-a-crop-1x1@tablet lrv-a-crop-3x2@desktop-xl lrv-a-crop-3x2@mobile-max';
67
100
  o_card_3.c_lazy_image.c_lazy_image_classes = 'lrv-u-width-100p';
68
- o_card_3.o_card_classes = 'lrv-a-space-children--1 lrv-a-space-children--2@desktop-xl lrv-a-space-children-horizontal lrv-u-flex-basis-100p lrv-u-border-t-0@desktop-xl lrv-u-border-t-1@tablet lrv-u-flex-direction-column@desktop-xl lrv-u-flex@tablet lrv-u-margin-t-00@desktop-xl lrv-u-margin-t-150@tablet lrv-u-padding-t-00@desktop-xl lrv-u-padding-t-150@tablet';
69
- o_card_3.o_card_content_classes = 'lrv-u-margin-l-00@mobile-max lrv-u-margin-l-00@desktop-xl lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column lrv-u-padding-b-150@mobile-max lrv-u-padding-t-1@mobile-max';
101
+ o_card_3.o_card_classes =
102
+ 'lrv-a-space-children--1 lrv-a-space-children--2@desktop-xl lrv-a-space-children-horizontal lrv-u-flex-basis-100p lrv-u-border-t-0@desktop-xl lrv-u-border-t-1@tablet lrv-u-flex-direction-column@desktop-xl lrv-u-flex@tablet lrv-u-margin-t-00@desktop-xl lrv-u-margin-t-150@tablet lrv-u-padding-t-00@desktop-xl lrv-u-padding-t-150@tablet';
103
+ o_card_3.o_card_content_classes =
104
+ 'lrv-u-margin-l-00@mobile-max lrv-u-margin-l-00@desktop-xl lrv-u-align-items-start lrv-u-flex lrv-u-flex-direction-column lrv-u-padding-b-150@mobile-max lrv-u-padding-t-1@mobile-max';
70
105
 
71
- const o_card_4 = clonedeep(o_card_prototype);
106
+ const o_card_4 = clonedeep( o_card_prototype );
72
107
 
73
108
  o_card_4.c_dek = false;
74
109
  o_card_4.c_lazy_image = false;
75
- o_card_4.article_kicker_outer_classes = ' lrv-u-color-brand-primary lrv-u-display-inline';
76
- o_card_4.article_kicker.article_kicker_classes = ' lrv-a-font-primary-m article-kicker lrv-u-display-inline';
110
+ o_card_4.article_kicker_outer_classes =
111
+ ' lrv-u-color-brand-primary lrv-u-display-inline';
112
+ o_card_4.article_kicker.article_kicker_classes =
113
+ ' lrv-a-font-primary-m article-kicker lrv-u-display-inline';
77
114
  o_card_4.c_title.c_title_classes = 'lrv-a-font-primary-m lrv-u-display-inline';
78
- o_card_4.c_title.c_title_link_classes = 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
79
- o_card_4.o_author.o_author_classes = ' lrv-u-display-inline lrv-a-font-primary-m lrv-u-color-grey-light';
80
- o_card_4.o_card_content_classes ='';
81
- o_card_4.o_card_classes = ' lrv-u-flex-basis-40p lrv-u-margin-r-2@tablet lrv-u-border-t-1@mobile-max lrv-u-padding-t-2@mobile-max lrv-u-margin-t-175@desktop-xl lrv-u-padding-t-175@desktop-xl lrv-u-border-t-1@desktop-xl lrv-u-margin-r-00@desktop-xl lrv-u-border-t-1@desktop-xl';
115
+ o_card_4.c_title.c_title_link_classes =
116
+ 'lrv-a-unstyle-link lrv-u-color-brand-primary:hover';
117
+ o_card_4.o_author.o_author_classes =
118
+ ' lrv-u-display-inline lrv-a-font-primary-m lrv-u-color-grey-light';
119
+ o_card_4.o_card_content_classes = '';
120
+ o_card_4.o_card_classes =
121
+ ' lrv-u-flex-basis-40p lrv-u-margin-r-2@tablet lrv-u-border-t-1@mobile-max lrv-u-padding-t-2@mobile-max lrv-u-margin-t-175@desktop-xl lrv-u-padding-t-175@desktop-xl lrv-u-border-t-1@desktop-xl lrv-u-margin-r-00@desktop-xl lrv-u-border-t-1@desktop-xl';
82
122
  o_card_4.c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-3x2';
83
123
 
84
- const o_card_5 = clonedeep(o_card_1);
124
+ const o_card_5 = clonedeep( o_card_1 );
85
125
 
86
126
  o_card_5.article_kicker.article_kicker_text = 'INSIDE LOOK';
87
- o_card_5.c_title.c_title_text = '40 Watt Sun Raise the Emotional Stakes While Turning Down the Volume on New Chamber-Folk Epic';
88
- o_card_5.o_card_classes = 'lrv-u-padding-r-2@tablet lrv-u-padding-b-150@mobile-max lrv-u-flex-basis-50p lrv-u-border-r-1@tablet ';
89
- o_card_5.article_kicker_outer_classes = ' lrv-a-glue-parent lrv-u-background-color-white lrv-u-padding-b-1 lrv-u-padding-r-1 lrv-u-padding-t-1';
127
+ o_card_5.c_title.c_title_text =
128
+ '40 Watt Sun Raise the Emotional Stakes While Turning Down the Volume on New Chamber-Folk Epic';
129
+ o_card_5.o_card_classes =
130
+ 'lrv-u-padding-r-2@tablet lrv-u-padding-b-150@mobile-max lrv-u-flex-basis-50p lrv-u-border-r-1@tablet ';
131
+ o_card_5.article_kicker_outer_classes =
132
+ ' lrv-a-glue-parent lrv-u-background-color-white lrv-u-padding-b-1 lrv-u-padding-r-1 lrv-u-padding-t-1';
90
133
  o_card_5.article_kicker.article_kicker_classes += ' lrv-a-font-basic-xs ';
91
- o_card_5.o_card_content_classes = ' lrv-u-align-items-start lrv-u-flex lrv-u-flex-basis-100p@desktop-xl-max lrv-u-flex-direction-column lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max';
92
- o_card_5.c_title.c_title_classes = 'lrv-u-padding-t-00@desktop-xl lrv-u-padding-b-075 lrv-u-padding-t-1@mobile-max lrv-a-font-primary-xl lrv-u-padding-t-025';
134
+ o_card_5.o_card_content_classes =
135
+ ' lrv-u-align-items-start lrv-u-flex lrv-u-flex-basis-100p@desktop-xl-max lrv-u-flex-direction-column lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max';
136
+ o_card_5.c_title.c_title_classes =
137
+ 'lrv-u-padding-t-00@desktop-xl lrv-u-padding-b-075 lrv-u-padding-t-1@mobile-max lrv-a-font-primary-xl lrv-u-padding-t-025';
93
138
  o_card_5.o_card_image_wrap_classes = 'lrv-u-flex-basis-100p@desktop-xl-max ';
94
139
 
95
- const o_card_6 = clonedeep(o_card_prototype);
140
+ const o_card_6 = clonedeep( o_card_prototype );
96
141
 
97
142
  o_card_6.article_kicker.article_kicker_text = 'EXCLUSIVE';
98
- o_card_6.c_title.c_title_text = 'Marilyn Manson: The Monster Hiding in Plain Sight';
99
- o_card_6.c_dek.c_dek_text = 'He was a provocative media darling for decades. Offstage, exes allege, he was an abuser who made their lives hell. A Rolling Stone investigation based on court documents and more than 55 new interviews';
143
+ o_card_6.c_title.c_title_text =
144
+ 'Marilyn Manson: The Monster Hiding in Plain Sight';
145
+ o_card_6.c_dek.c_dek_text =
146
+ 'He was a provocative media darling for decades. Offstage, exes allege, he was an abuser who made their lives hell. A Rolling Stone investigation based on court documents and more than 55 new interviews';
100
147
  o_card_6.c_lazy_image = false;
101
- o_card_6.c_dek.c_dek_classes = 'lrv-a-font-body-l lrv-a-truncate-ellipsis-5line lrv-u-margin-b-1@desktop-xl lrv-u-margin-t-075@desktop-xl lrv-u-margin-tb-075@mobile-max';
148
+ o_card_6.c_dek.c_dek_classes =
149
+ 'lrv-a-font-body-l lrv-a-truncate-ellipsis-5line lrv-u-margin-b-1@desktop-xl lrv-u-margin-t-075@desktop-xl lrv-u-margin-tb-075@mobile-max';
102
150
  o_card_6.article_kicker.article_kicker_classes += ' lrv-a-font-basic-l';
103
151
  o_card_6.article_kicker_outer_classes = 'lrv-u-padding-b-125@desktop-xl';
104
- o_card_6.c_title.c_title_classes = 'lrv-u-padding-t-1 lrv-a-font-primary-l lrv-u-padding-t-00@desktop-xl';
105
- o_card_6.o_author.o_author_classes = 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
106
- o_card_6.o_card_classes = 'lrv-u-padding-l-2@tablet lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max lrv-u-flex-basis-50p';
107
- o_card_6.o_card_content_classes = 'lrv-u-align-items-start lrv-u-border-b-1@mobile-max lrv-u-border-t-1@mobile-max lrv-u-flex lrv-u-flex-direction-column lrv-u-margin-b-2@mobile-max lrv-u-padding-b-2@mobile-max lrv-u-padding-t-2@mobile-max';
152
+ o_card_6.c_title.c_title_classes =
153
+ 'lrv-u-padding-t-1 lrv-a-font-primary-l lrv-u-padding-t-00@desktop-xl';
154
+ o_card_6.o_author.o_author_classes =
155
+ 'lrv-a-font-body-xs lrv-u-text-transform-uppercase lrv-u-color-black';
156
+ o_card_6.o_card_classes =
157
+ 'lrv-u-padding-l-2@tablet lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max lrv-u-flex-basis-50p';
158
+ o_card_6.o_card_content_classes =
159
+ 'lrv-u-align-items-start lrv-u-border-b-1@mobile-max lrv-u-border-t-1@mobile-max lrv-u-flex lrv-u-flex-direction-column lrv-u-margin-b-2@mobile-max lrv-u-padding-b-2@mobile-max lrv-u-padding-t-2@mobile-max';
108
160
 
109
161
  module.exports = {
110
- stories: [o_card_1, o_card_2, o_card_3, o_card_4, o_card_5, o_card_6],
111
- secondary_stories_classes:'',
112
- stories_content_primary_classes:'lrv-u-border-t-6',
113
- stories_content_primary_inner_classes:'lrv-u-padding-b-150@tablet lrv-u-padding-b-3@desktop-xl lrv-u-margin-b-250@mobile-max lrv-u-padding-t-150@mobile-max lrv-u-padding-t-150 lrv-u-border-t-2 lrv-u-flex lrv-u-margin-t-025 lrv-a-space-children--3@desktop-xl lrv-a-space-children-horizontal lrv-u-flex-direction-column lrv-u-flex-direction-row@desktop-xl lrv-u-padding-t-250@desktop-xl',
114
- stories_card_primary_classes:' lrv-u-flex-basis-45p lrv-u-padding-b-150 lrv-u-padding-b-00@desktop-xl',
115
- stories_card_secondary_classes:' lrv-u-flex lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max lrv-u-border-t-1@tablet lrv-u-padding-t-00@mobile-max lrv-u-flex-direction-column@mobile-max lrv-u-flex-direction-row-reverse lrv-u-flex-basis-55p lrv-u-flex-direction-column@desktop-xl lrv-u-padding-t-150 lrv-u-padding-t-00@desktop-xl lrv-u-border-t-0@desktop-xl',
116
- stories_card_secondary_inner_classes:' lrv-u-flex-basis-60p lrv-u-padding-t-00@desktop-xl lrv-u-border-t-0@desktop-xl lrv-a-space-children--2@desktop-xl lrv-a-space-children-horizontal@desktop-xl lrv-u-flex lrv-u-flex-direction-column lrv-u-flex-direction-row@desktop-xl',
117
- stories_content_secondary_classes:'lrv-u-border-t-6',
118
- stories_content_secondary_inner_classes:' lrv-u-padding-t-150@tablet lrv-u-border-t-2 lrv-u-flex@tablet lrv-u-margin-t-025 lrv-u-padding-t-150@mobile-max lrv-u-padding-tb-250@desktop-xl',
119
- };
162
+ stories: [ o_card_1, o_card_2, o_card_3, o_card_4, o_card_5, o_card_6 ],
163
+ secondary_stories_classes: '',
164
+ stories_content_primary_classes: 'lrv-u-border-t-6',
165
+ stories_content_primary_inner_classes:
166
+ 'lrv-u-padding-b-150@tablet lrv-u-padding-b-3@desktop-xl lrv-u-margin-b-250@mobile-max lrv-u-padding-t-150@mobile-max lrv-u-padding-t-150 lrv-u-border-t-2 lrv-u-flex lrv-u-margin-t-025 lrv-a-space-children--3@desktop-xl lrv-a-space-children-horizontal lrv-u-flex-direction-column lrv-u-flex-direction-row@desktop-xl lrv-u-padding-t-250@desktop-xl',
167
+ stories_card_primary_classes:
168
+ ' lrv-u-flex-basis-45p lrv-u-padding-b-150 lrv-u-padding-b-00@desktop-xl',
169
+ stories_card_secondary_classes:
170
+ ' lrv-u-flex lrv-u-padding-l-150@mobile-max lrv-u-padding-r-150@mobile-max lrv-u-border-t-1@tablet lrv-u-padding-t-00@mobile-max lrv-u-flex-direction-column@mobile-max lrv-u-flex-direction-row-reverse lrv-u-flex-basis-55p lrv-u-flex-direction-column@desktop-xl lrv-u-padding-t-150 lrv-u-padding-t-00@desktop-xl lrv-u-border-t-0@desktop-xl',
171
+ stories_card_secondary_inner_classes:
172
+ ' lrv-u-flex-basis-60p lrv-u-padding-t-00@desktop-xl lrv-u-border-t-0@desktop-xl lrv-a-space-children--2@desktop-xl lrv-a-space-children-horizontal@desktop-xl lrv-u-flex lrv-u-flex-direction-column lrv-u-flex-direction-row@desktop-xl',
173
+ stories_content_secondary_classes: 'lrv-u-border-t-6',
174
+ stories_content_secondary_inner_classes:
175
+ ' lrv-u-padding-t-150@tablet lrv-u-border-t-2 lrv-u-flex@tablet lrv-u-margin-t-025 lrv-u-padding-t-150@mobile-max lrv-u-padding-tb-250@desktop-xl',
176
+ };
@@ -2,8 +2,8 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const section_heading = clonedeep( require( './section-heading.prototype' ) );
4
4
 
5
- section_heading.section_heading_class = 'lrv-u-margin-lr-auto lrv-u-width-75p lrv-u-border-t-3 lrv-u-padding-t-1';
5
+ section_heading.section_heading_class =
6
+ 'lrv-u-margin-lr-auto lrv-u-width-75p lrv-u-border-t-3 lrv-u-padding-t-1';
6
7
  section_heading.c_dek = false;
7
8
 
8
-
9
- module.exports = section_heading;
9
+ module.exports = section_heading;
@@ -2,9 +2,10 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const section_heading = clonedeep( require( './section-heading.prototype' ) );
4
4
 
5
- section_heading.section_heading_class = 'lrv-u-margin-lr-auto lrv-u-width-75p lrv-u-border-t-3 lrv-u-padding-t-1';
5
+ section_heading.section_heading_class =
6
+ 'lrv-u-margin-lr-auto lrv-u-width-75p lrv-u-border-t-3 lrv-u-padding-t-1';
6
7
  section_heading.section_heading_level_text = '3';
7
8
  section_heading.section_heading_typography_class = 'lrv-a-font-secondary-xl';
8
9
  section_heading.c_dek = false;
9
10
 
10
- module.exports = section_heading;
11
+ module.exports = section_heading;
@@ -1,8 +1,11 @@
1
- const clonedeep = require('lodash.clonedeep');
2
- const c_dek = clonedeep(require('@penskemediacorp/larva-patterns/components/c-dek/c-dek.prototype'));
1
+ const clonedeep = require( 'lodash.clonedeep' );
2
+ const c_dek = clonedeep(
3
+ require( '@penskemediacorp/larva-patterns/components/c-dek/c-dek.prototype' )
4
+ );
3
5
 
4
6
  module.exports = {
5
- section_heading_class: 'lrv-u-width-50p@desktop lrv-u-text-align-center lrv-u-margin-lr-auto',
7
+ section_heading_class:
8
+ 'lrv-u-width-50p@desktop lrv-u-text-align-center lrv-u-margin-lr-auto',
6
9
  section_heading_level_text: '2',
7
10
  section_heading_classes: '',
8
11
  section_heading_color_class: '',
@@ -10,5 +13,5 @@ module.exports = {
10
13
  section_heading_typography_class: 'lrv-a-font-accent-m',
11
14
  section_heading_background_color_class: '',
12
15
  section_heading_markup: 'Section Heading',
13
- c_dek
16
+ c_dek,
14
17
  };
@@ -2,6 +2,7 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const separator = clonedeep( require( './separator.prototype' ) );
4
4
 
5
- separator.separator_classes = 'lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-height-8';
5
+ separator.separator_classes =
6
+ 'lrv-u-border-b-1 lrv-u-border-t-1 lrv-u-height-8';
6
7
 
7
8
  module.exports = separator;
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
2
  separator_classes: 'lrv-u-border-a-1',
3
- separator_border_color_class: ''
3
+ separator_border_color_class: '',
4
4
  };
@@ -2,6 +2,7 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const separator = clonedeep( require( './separator.prototype' ) );
4
4
 
5
- separator.separator_classes = 'lrv-u-border-b-1 lrv-u-border-t-20 lrv-u-height-37';
5
+ separator.separator_classes =
6
+ 'lrv-u-border-b-1 lrv-u-border-t-20 lrv-u-height-37';
6
7
 
7
8
  module.exports = separator;
@@ -2,6 +2,7 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const separator = clonedeep( require( './separator.wide' ) );
4
4
 
5
- separator.separator_classes = 'lrv-u-margin-tb-1 lrv-u-border-a-3 lrv-u-margin-lr-2 lrv-u-margin-lr-4@desktop';
5
+ separator.separator_classes =
6
+ 'lrv-u-margin-tb-1 lrv-u-border-a-3 lrv-u-margin-lr-2 lrv-u-margin-lr-4@desktop';
6
7
 
7
8
  module.exports = separator;
@@ -2,6 +2,7 @@ const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
3
  const separator = clonedeep( require( './separator.prototype' ) );
4
4
 
5
- separator.separator_classes = 'lrv-u-margin-tb-1 lrv-u-border-a-1 lrv-u-margin-lr-2 lrv-u-margin-lr-4@desktop';
5
+ separator.separator_classes =
6
+ 'lrv-u-margin-tb-1 lrv-u-border-a-1 lrv-u-margin-lr-2 lrv-u-margin-lr-4@desktop';
6
7
 
7
8
  module.exports = separator;
@@ -1,21 +1,32 @@
1
1
  const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
- const c_icon = clonedeep( require( '../../components/c-icon/c-icon.prototype' ) );
4
- const social_share_primary_items = [ 'facebook', 'twitter', 'pinterest', 'tumblr', 'reddit', 'linkedin', 'print' ];
3
+ const c_icon = clonedeep(
4
+ require( '../../components/c-icon/c-icon.prototype' )
5
+ );
6
+ const social_share_primary_items = [
7
+ 'facebook',
8
+ 'twitter',
9
+ 'pinterest',
10
+ 'tumblr',
11
+ 'reddit',
12
+ 'linkedin',
13
+ 'print',
14
+ ];
5
15
 
6
16
  const social_share_primary = [];
7
17
  const social_share_secondary = [];
8
18
 
9
19
  const c_icon_struct = clonedeep( c_icon );
10
- c_icon_struct.c_icon_link_classes = 'lrv-a-unstyle-link lrv-u-display-block lrv-u-display-inline-flex';
20
+ c_icon_struct.c_icon_link_classes =
21
+ 'lrv-a-unstyle-link lrv-u-display-block lrv-u-display-inline-flex';
11
22
  c_icon_struct.c_icon_url = '#';
12
23
  c_icon_struct.c_icon_classes = 'lrv-u-width-16 lrv-u-height-16';
13
24
 
14
25
  for ( let i = 0; i < social_share_primary_items.length; i++ ) {
15
- let c_icon_social = clonedeep( c_icon_struct );
26
+ const c_icon_social = clonedeep( c_icon_struct );
16
27
 
17
- c_icon_social.c_icon_rel_name = social_share_primary_items[i];
18
- c_icon_social.c_icon_name = social_share_primary_items[i];
28
+ c_icon_social.c_icon_rel_name = social_share_primary_items[ i ];
29
+ c_icon_social.c_icon_name = social_share_primary_items[ i ];
19
30
 
20
31
  if ( 3 < i ) {
21
32
  social_share_primary.push( c_icon_social );
@@ -34,10 +45,12 @@ c_icon_plus.c_icon_classes = 'lrv-u-width-16 lrv-u-height-16';
34
45
  module.exports = {
35
46
  social_share_classes: '',
36
47
  social_share_prefix: false,
37
- social_share_prefix_classes: 'lrv-u-display-none@mobile-max lrv-u-color-grey lrv-u-font-size-10 lrv-u-text-transform-uppercase lrv-u-margin-r-1@tablet lrv-u-margin-b-050@mobile-max',
48
+ social_share_prefix_classes:
49
+ 'lrv-u-display-none@mobile-max lrv-u-color-grey lrv-u-font-size-10 lrv-u-text-transform-uppercase lrv-u-margin-r-1@tablet lrv-u-margin-b-050@mobile-max',
38
50
  social_share_prefix_text: 'Share',
39
- social_share_items_classes: 'lrv-a-space-children--1 lrv-a-space-children-horizontal',
40
- social_share_primary: social_share_primary,
41
- social_share_secondary: social_share_secondary,
42
- c_icon_plus: c_icon_plus
51
+ social_share_items_classes:
52
+ 'lrv-a-space-children--1 lrv-a-space-children-horizontal',
53
+ social_share_primary,
54
+ social_share_secondary,
55
+ c_icon_plus,
43
56
  };
@@ -1,10 +1,17 @@
1
1
  const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
- const story_card = clonedeep( require( '@penskemediacorp/larva-patterns/modules/story/story.vertical' ) );
4
- const c_heading = clonedeep( require('@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype') );
5
- const c_lazy_image = clonedeep( require( '@penskemediacorp/larva-patterns/components/c-lazy-image/c-lazy-image.prototype.js' ) );
3
+ const story_card = clonedeep(
4
+ require( '@penskemediacorp/larva-patterns/modules/story/story.vertical' )
5
+ );
6
+ const c_heading = clonedeep(
7
+ require( '@penskemediacorp/larva-patterns/components/c-heading/c-heading.prototype' )
8
+ );
9
+ const c_lazy_image = clonedeep(
10
+ require( '@penskemediacorp/larva-patterns/components/c-lazy-image/c-lazy-image.prototype.js' )
11
+ );
6
12
 
7
- c_heading.c_heading_classes += ' a-font-theme-primary-s lrv-u-font-size-32@desktop lrv-u-font-size-28 lrv-u-line-height-small lrv-u-text-transform-uppercase lrv-u-line-height-small';
13
+ c_heading.c_heading_classes +=
14
+ ' a-font-theme-primary-s lrv-u-font-size-32@desktop lrv-u-font-size-28 lrv-u-line-height-small lrv-u-text-transform-uppercase lrv-u-line-height-small';
8
15
 
9
16
  heading_1 = clonedeep( c_heading );
10
17
  heading_2 = clonedeep( c_heading );
@@ -16,15 +23,21 @@ heading_2.c_heading_text = 'Reports';
16
23
 
17
24
  c_lazy_image.c_lazy_image_crop_class = 'lrv-a-crop-5x1';
18
25
 
19
- story_card.story_classes += ' lrv-u-padding-lr-2@desktop-xl lrv-u-padding-lr-1@desktop lrv-u-padding-tb-125@mobile-max lrv-u-flex-basis-100p';
20
- story_card.c_dek.c_dek_classes = 'lrv-a-font-body-s lrv-a-hidden@mobile-max lrv-u-margin-a-00';
21
- story_card.c_title.c_title_classes = 'lrv-a-font-primary-xs lrv-u-display-block lrv-u-margin-b-050 ';
26
+ story_card.story_classes +=
27
+ ' lrv-u-padding-lr-2@desktop-xl lrv-u-padding-lr-1@desktop lrv-u-padding-tb-125@mobile-max lrv-u-flex-basis-100p';
28
+ story_card.c_dek.c_dek_classes =
29
+ 'lrv-a-font-body-s lrv-a-hidden@mobile-max lrv-u-margin-a-00';
30
+ story_card.c_title.c_title_classes =
31
+ 'lrv-a-font-primary-xs lrv-u-display-block lrv-u-margin-b-050 ';
22
32
  story_card.c_title.c_title_link_classes += ' lrv-a-truncate-ellipsis-5line';
23
33
  story_card.story_grid_secondary_classes = 'lrv-a-span2';
24
- story_card.story_links_classes += ' lrv-u-margin-tb-00@desktop lrv-u-margin-tb-00@mobile-max lrv-u-margin-t-1@desktop';
34
+ story_card.story_links_classes +=
35
+ ' lrv-u-margin-tb-00@desktop lrv-u-margin-tb-00@mobile-max lrv-u-margin-t-1@desktop';
25
36
  story_card.story_nav_classes = 'lrv-a-font-secondary-m';
26
- story_card.story_grid_classes = 'lrv-u-flex lrv-u-flex-direction-column@desktop';
27
- story_card.story_grid_primary_classes = 'lrv-u-flex-basis-50p@mobile-max lrv-u-margin-r-1@mobile-max';
37
+ story_card.story_grid_classes =
38
+ 'lrv-u-flex lrv-u-flex-direction-column@desktop';
39
+ story_card.story_grid_primary_classes =
40
+ 'lrv-u-flex-basis-50p@mobile-max lrv-u-margin-r-1@mobile-max';
28
41
  story_card.story_grid_secondary_classes = 'lrv-u-flex-basis-50p@mobile-max';
29
42
  story_card.c_span = false;
30
43
  story_card.c_dek = false;
@@ -32,16 +45,26 @@ story_card.c_tagline_author = false;
32
45
  story_card.c_timestamp = false;
33
46
  story_card.c_link_bottom = false;
34
47
 
35
- const special_coverage_items = [ story_card, story_card, story_card, story_card ];
48
+ const special_coverage_items = [
49
+ story_card,
50
+ story_card,
51
+ story_card,
52
+ story_card,
53
+ ];
36
54
 
37
55
  module.exports = {
38
- special_coverage_wrapper_classes: 'lrv-u-flex lrv-u-flex-direction-column@mobile-max lrv-u-padding-lr-150@mobile-max',
39
- special_coverage_banner_classes: 'lrv-u-margin-r-2@desktop lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop lrv-u-flex-basis-15p@desktop',
40
- special_coverage_items_classes: ' lrv-u-flex lrv-a-children-border-horizontal@desktop lrv-a-children-border-vertical@mobile-max lrv-u-flex-direction-column@mobile-max lrv-u-flex-basis-85p@desktop',
41
- special_coverage_heading_classes: 'lrv-u-padding-b-150@desktop lrv-u-padding-b-125@mobile-max lrv-u-border-b-1',
42
- special_coverage_logo_classes: 'lrv-u-padding-t-150@desktop lrv-u-padding-t-125@mobile-max',
43
- heading_1,
44
- heading_2,
45
- c_lazy_image,
46
- special_coverage_items,
47
- }
56
+ special_coverage_wrapper_classes:
57
+ 'lrv-u-flex lrv-u-flex-direction-column@mobile-max lrv-u-padding-lr-150@mobile-max',
58
+ special_coverage_banner_classes:
59
+ 'lrv-u-margin-r-2@desktop lrv-u-padding-tb-1 lrv-u-padding-tb-2@desktop lrv-u-flex-basis-15p@desktop',
60
+ special_coverage_items_classes:
61
+ ' lrv-u-flex lrv-a-children-border-horizontal@desktop lrv-a-children-border-vertical@mobile-max lrv-u-flex-direction-column@mobile-max lrv-u-flex-basis-85p@desktop',
62
+ special_coverage_heading_classes:
63
+ 'lrv-u-padding-b-150@desktop lrv-u-padding-b-125@mobile-max lrv-u-border-b-1',
64
+ special_coverage_logo_classes:
65
+ 'lrv-u-padding-t-150@desktop lrv-u-padding-t-125@mobile-max',
66
+ heading_1,
67
+ heading_2,
68
+ c_lazy_image,
69
+ special_coverage_items,
70
+ };
@@ -1,8 +1,11 @@
1
1
  const { __experimentalCloneWithFallback } = require( '@penskemediacorp/larva' );
2
2
 
3
- const story_borders = __experimentalCloneWithFallback( 'modules/story/story.prototype' );
3
+ const story_borders = __experimentalCloneWithFallback(
4
+ 'modules/story/story.prototype'
5
+ );
4
6
 
5
7
  story_borders.story_grid_classes += ' lrv-u-border-a-1';
6
- story_borders.story_grid_secondary_classes += ' lrv-u-padding-r-2@desktop-xl lrv-u-padding-r-00 lrv-u-padding-r-1@desktop';
8
+ story_borders.story_grid_secondary_classes +=
9
+ ' lrv-u-padding-r-2@desktop-xl lrv-u-padding-r-00 lrv-u-padding-r-1@desktop';
7
10
 
8
11
  module.exports = story_borders;
@@ -1,6 +1,8 @@
1
1
  const clonedeep = require( 'lodash.clonedeep' );
2
2
 
3
- const story_center_vertical_borders = clonedeep( require( './story.center-vertical' ) );
3
+ const story_center_vertical_borders = clonedeep(
4
+ require( './story.center-vertical' )
5
+ );
4
6
 
5
7
  story_center_vertical_borders.story_grid_classes += ' lrv-u-border-a-1';
6
8