@quintype/arrow 3.15.1-perf.4 → 3.15.1-perf.8

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 (613) hide show
  1. package/cjs/index.js +14589 -0
  2. package/esm/components/Atoms/AdPlaceholder/ads.m.css +13 -0
  3. package/esm/components/Atoms/AdPlaceholder/index.js +28 -0
  4. package/esm/components/Atoms/Author/README.md +19 -0
  5. package/esm/components/Atoms/Author/author.m.css +65 -0
  6. package/esm/components/Atoms/Author/index.js +109 -0
  7. package/esm/components/Atoms/Author/stories.js +28 -0
  8. package/esm/components/Atoms/AuthorCard/README.md +47 -0
  9. package/esm/components/Atoms/AuthorCard/author-card.m.css +174 -0
  10. package/esm/components/Atoms/AuthorCard/author-card.test.js +93 -0
  11. package/esm/components/Atoms/AuthorCard/index.js +133 -0
  12. package/esm/components/Atoms/AuthorCard/stories.js +68 -0
  13. package/esm/components/Atoms/AuthorImage/README.md +31 -0
  14. package/esm/components/Atoms/AuthorImage/author-image.m.css +53 -0
  15. package/esm/components/Atoms/AuthorImage/index.js +69 -0
  16. package/esm/components/Atoms/AuthorImage/stories.js +26 -0
  17. package/esm/components/Atoms/AuthorWithTimestamp/README.md +12 -0
  18. package/esm/components/Atoms/AuthorWithTimestamp/author-with-timestamp.m.css +42 -0
  19. package/esm/components/Atoms/AuthorWithTimestamp/index.js +95 -0
  20. package/esm/components/Atoms/AuthorWithTimestamp/stories.js +22 -0
  21. package/esm/components/Atoms/BulletPoint/README.md +9 -0
  22. package/esm/components/Atoms/BulletPoint/bullet-point.m.css +14 -0
  23. package/esm/components/Atoms/BulletPoint/index.js +27 -0
  24. package/esm/components/Atoms/BulletPoint/stories.js +9 -0
  25. package/esm/components/Atoms/CaptionAttribution/README.md +15 -0
  26. package/esm/components/Atoms/CaptionAttribution/caption-attribution.m.css +40 -0
  27. package/esm/components/Atoms/CaptionAttribution/caption-attribution.test.js +50 -0
  28. package/esm/components/Atoms/CaptionAttribution/index.js +66 -0
  29. package/esm/components/Atoms/CaptionAttribution/stories.js +47 -0
  30. package/esm/components/Atoms/CollectionName/README.md +11 -0
  31. package/esm/components/Atoms/CollectionName/collection-name.m.css +94 -0
  32. package/esm/components/Atoms/CollectionName/index.js +152 -0
  33. package/esm/components/Atoms/CollectionName/stories.js +41 -0
  34. package/esm/components/Atoms/Divider/__snapshots__/divider.test.js.snap +18 -0
  35. package/esm/components/Atoms/Divider/divider.m.css +6 -0
  36. package/esm/components/Atoms/Divider/divider.test.js +9 -0
  37. package/esm/components/Atoms/Divider/index.js +34 -0
  38. package/esm/components/Atoms/Dot/dot.js +39 -0
  39. package/esm/components/Atoms/Dot/dot.m.css +6 -0
  40. package/esm/components/Atoms/ExtendedLoadMore/README.md +9 -0
  41. package/esm/components/Atoms/ExtendedLoadMore/__snapshots__/extended-load-more.test.js.snap +11 -0
  42. package/esm/components/Atoms/ExtendedLoadMore/extended-load-more.test.js +14 -0
  43. package/esm/components/Atoms/ExtendedLoadMore/index.js +183 -0
  44. package/esm/components/Atoms/FallbackImage/fallback.m.css +33 -0
  45. package/esm/components/Atoms/FallbackImage/index.js +29 -0
  46. package/esm/components/Atoms/Headline/README.md +7 -0
  47. package/esm/components/Atoms/Headline/headline.m.css +26 -0
  48. package/esm/components/Atoms/Headline/index.js +97 -0
  49. package/esm/components/Atoms/Headline/stories.js +39 -0
  50. package/esm/components/Atoms/HeroImage/README.md +13 -0
  51. package/esm/components/Atoms/HeroImage/hero-image.m.css +72 -0
  52. package/esm/components/Atoms/HeroImage/index.js +175 -0
  53. package/esm/components/Atoms/HeroImage/stories.js +23 -0
  54. package/esm/components/Atoms/Hyperlink/hyperlink.m.css +10 -0
  55. package/esm/components/Atoms/Hyperlink/index.js +20 -0
  56. package/esm/components/Atoms/LoadMoreTarget/index.js +24 -0
  57. package/esm/components/Atoms/Loadmore/README.md +0 -0
  58. package/esm/components/Atoms/Loadmore/__snapshots__/load-more.test.js.snap +25 -0
  59. package/esm/components/Atoms/Loadmore/index.js +61 -0
  60. package/esm/components/Atoms/Loadmore/load-more.m.css +23 -0
  61. package/esm/components/Atoms/Loadmore/load-more.test.js +26 -0
  62. package/esm/components/Atoms/Loadmore/stories.js +17 -0
  63. package/esm/components/Atoms/MagazineCoverImage/README.md +21 -0
  64. package/esm/components/Atoms/MagazineCoverImage/index.js +58 -0
  65. package/esm/components/Atoms/MagazineCoverImage/magazine-cover-image.m.css +24 -0
  66. package/esm/components/Atoms/MagazineCoverImage/stories.js +22 -0
  67. package/esm/components/Atoms/PremiumStoryIcon/index.js +54 -0
  68. package/esm/components/Atoms/PublishDetail/README.md +15 -0
  69. package/esm/components/Atoms/PublishDetail/index.js +104 -0
  70. package/esm/components/Atoms/PublishDetail/publish-details.m.css +47 -0
  71. package/esm/components/Atoms/PublishDetail/publish-details.test.js +38 -0
  72. package/esm/components/Atoms/PublishDetail/stories.js +20 -0
  73. package/esm/components/Atoms/ReadTime/README.md +13 -0
  74. package/esm/components/Atoms/ReadTime/index.js +46 -0
  75. package/esm/components/Atoms/ReadTime/read-time.m.css +25 -0
  76. package/esm/components/Atoms/ReadTime/read-time.test.js +29 -0
  77. package/esm/components/Atoms/ReadTime/stories.js +15 -0
  78. package/esm/components/Atoms/ScrollSnap/SliderArrow/index.js +64 -0
  79. package/esm/components/Atoms/ScrollSnap/SliderArrow/slider-arrow.m.css +45 -0
  80. package/esm/components/Atoms/ScrollSnap/SliderIndicator/index.js +53 -0
  81. package/esm/components/Atoms/ScrollSnap/SliderIndicator/slider-indicator.m.css +71 -0
  82. package/esm/components/Atoms/ScrollSnap/index.js +165 -0
  83. package/esm/components/Atoms/ScrollSnap/scroll-snap.m.css +27 -0
  84. package/esm/components/Atoms/SectionTag/README.md +11 -0
  85. package/esm/components/Atoms/SectionTag/index.js +79 -0
  86. package/esm/components/Atoms/SectionTag/section.m.css +53 -0
  87. package/esm/components/Atoms/SectionTag/stories.js +22 -0
  88. package/esm/components/Atoms/SocialSharePopup/README.md +25 -0
  89. package/esm/components/Atoms/SocialSharePopup/__snapshots__/social-share-popup.test.js.snap +653 -0
  90. package/esm/components/Atoms/SocialSharePopup/index.js +100 -0
  91. package/esm/components/Atoms/SocialSharePopup/social-share-popup.m.css +109 -0
  92. package/esm/components/Atoms/SocialSharePopup/social-share-popup.test.js +87 -0
  93. package/esm/components/Atoms/SocialSharePopup/stories.js +18 -0
  94. package/esm/components/Atoms/StoryElements/AlsoRead/README.md +49 -0
  95. package/esm/components/Atoms/StoryElements/AlsoRead/also-read.m.css +135 -0
  96. package/esm/components/Atoms/StoryElements/AlsoRead/also-read.test.js +97 -0
  97. package/esm/components/Atoms/StoryElements/AlsoRead/index.js +156 -0
  98. package/esm/components/Atoms/StoryElements/AlsoRead/stories.js +47 -0
  99. package/esm/components/Atoms/StoryElements/Attachment/README.md +21 -0
  100. package/esm/components/Atoms/StoryElements/Attachment/__snapshots__/attachment.test.js.snap +47 -0
  101. package/esm/components/Atoms/StoryElements/Attachment/attachment.m.css +125 -0
  102. package/esm/components/Atoms/StoryElements/Attachment/attachment.test.js +66 -0
  103. package/esm/components/Atoms/StoryElements/Attachment/index.js +86 -0
  104. package/esm/components/Atoms/StoryElements/Attachment/stories.js +62 -0
  105. package/esm/components/Atoms/StoryElements/BigFact/README.md +9 -0
  106. package/esm/components/Atoms/StoryElements/BigFact/big-fact.m.css +41 -0
  107. package/esm/components/Atoms/StoryElements/BigFact/big-fact.test.js +28 -0
  108. package/esm/components/Atoms/StoryElements/BigFact/index.js +56 -0
  109. package/esm/components/Atoms/StoryElements/BigFact/stories.js +11 -0
  110. package/esm/components/Atoms/StoryElements/BlockQuote/README.md +49 -0
  111. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/curve.js +32 -0
  112. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/edge.js +32 -0
  113. package/esm/components/Atoms/StoryElements/BlockQuote/Svg/icon.m.css +4 -0
  114. package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.m.css +161 -0
  115. package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.test.js +71 -0
  116. package/esm/components/Atoms/StoryElements/BlockQuote/index.js +154 -0
  117. package/esm/components/Atoms/StoryElements/BlockQuote/stories.js +42 -0
  118. package/esm/components/Atoms/StoryElements/Blurb/README.md +43 -0
  119. package/esm/components/Atoms/StoryElements/Blurb/blurb.m.css +55 -0
  120. package/esm/components/Atoms/StoryElements/Blurb/blurb.test.js +76 -0
  121. package/esm/components/Atoms/StoryElements/Blurb/index.js +96 -0
  122. package/esm/components/Atoms/StoryElements/Blurb/stories.js +38 -0
  123. package/esm/components/Atoms/StoryElements/Image/README.md +13 -0
  124. package/esm/components/Atoms/StoryElements/Image/image.m.css +21 -0
  125. package/esm/components/Atoms/StoryElements/Image/image.test.js +19 -0
  126. package/esm/components/Atoms/StoryElements/Image/index.js +87 -0
  127. package/esm/components/Atoms/StoryElements/Image/stories.js +28 -0
  128. package/esm/components/Atoms/StoryElements/ImageSlideshow/README.md +13 -0
  129. package/esm/components/Atoms/StoryElements/ImageSlideshow/image-slideshow.m.css +49 -0
  130. package/esm/components/Atoms/StoryElements/ImageSlideshow/index.js +82 -0
  131. package/esm/components/Atoms/StoryElements/ImageSlideshow/stories.js +31 -0
  132. package/esm/components/Atoms/StoryElements/QuestionAnswer/README.md +56 -0
  133. package/esm/components/Atoms/StoryElements/QuestionAnswer/index.js +176 -0
  134. package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.m.css +106 -0
  135. package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.test.js +130 -0
  136. package/esm/components/Atoms/StoryElements/QuestionAnswer/stories.js +102 -0
  137. package/esm/components/Atoms/StoryElements/Quote/README.md +41 -0
  138. package/esm/components/Atoms/StoryElements/Quote/index.js +87 -0
  139. package/esm/components/Atoms/StoryElements/Quote/quote.m.css +111 -0
  140. package/esm/components/Atoms/StoryElements/Quote/quote.test.js +61 -0
  141. package/esm/components/Atoms/StoryElements/Quote/stories.js +39 -0
  142. package/esm/components/Atoms/StoryElements/Reference/README.md +9 -0
  143. package/esm/components/Atoms/StoryElements/Reference/index.js +80 -0
  144. package/esm/components/Atoms/StoryElements/Reference/reference.m.css +42 -0
  145. package/esm/components/Atoms/StoryElements/Reference/reference.test.js +38 -0
  146. package/esm/components/Atoms/StoryElements/Reference/stories.js +16 -0
  147. package/esm/components/Atoms/StoryElements/StoryElement/README.md +10 -0
  148. package/esm/components/Atoms/StoryElements/StoryElement/index.js +30 -0
  149. package/esm/components/Atoms/StoryElements/StoryElement/stories.js +17 -0
  150. package/esm/components/Atoms/StoryElements/StoryElement/storyelement.test.js +14 -0
  151. package/esm/components/Atoms/StoryElements/Summary/README.md +56 -0
  152. package/esm/components/Atoms/StoryElements/Summary/index.js +98 -0
  153. package/esm/components/Atoms/StoryElements/Summary/stories.js +41 -0
  154. package/esm/components/Atoms/StoryElements/Summary/summary.m.css +121 -0
  155. package/esm/components/Atoms/StoryElements/Summary/summary.test.js +83 -0
  156. package/esm/components/Atoms/StoryElements/Text/README.md +32 -0
  157. package/esm/components/Atoms/StoryElements/Text/index.js +74 -0
  158. package/esm/components/Atoms/StoryElements/Text/stories.js +56 -0
  159. package/esm/components/Atoms/StoryElements/Text/text.m.css +78 -0
  160. package/esm/components/Atoms/StoryElements/Text/text.test.js +70 -0
  161. package/esm/components/Atoms/StoryElements/Video/README.md +9 -0
  162. package/esm/components/Atoms/StoryElements/Video/index.js +37 -0
  163. package/esm/components/Atoms/StoryElements/Video/stories.js +29 -0
  164. package/esm/components/Atoms/StoryElements/Video/video.m.css +89 -0
  165. package/esm/components/Atoms/StoryElements/Video/video.test.js +14 -0
  166. package/esm/components/Atoms/StoryElements/imageGallery/README.md +18 -0
  167. package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.m.css +52 -0
  168. package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.test.js +17 -0
  169. package/esm/components/Atoms/StoryElements/imageGallery/index.js +112 -0
  170. package/esm/components/Atoms/StoryElements/imageGallery/stories.js +22 -0
  171. package/esm/components/Atoms/StoryElements/withElementWrapper.js +21 -0
  172. package/esm/components/Atoms/StoryElements/withElementWrapper.test.js +49 -0
  173. package/esm/components/Atoms/StoryHeadline/index.js +57 -0
  174. package/esm/components/Atoms/StoryHeadline/story-headline.m.css +36 -0
  175. package/esm/components/Atoms/StoryTags/README.md +9 -0
  176. package/esm/components/Atoms/StoryTags/index.js +47 -0
  177. package/esm/components/Atoms/StoryTags/stories.js +23 -0
  178. package/esm/components/Atoms/StoryTags/story-tags.test.js +16 -0
  179. package/esm/components/Atoms/StoryTags/tags.m.css +34 -0
  180. package/esm/components/Atoms/Subheadline/README.md +17 -0
  181. package/esm/components/Atoms/Subheadline/index.js +52 -0
  182. package/esm/components/Atoms/Subheadline/stories.js +21 -0
  183. package/esm/components/Atoms/Subheadline/subheadline.m.css +17 -0
  184. package/esm/components/Atoms/TimeStamp/README.md +9 -0
  185. package/esm/components/Atoms/TimeStamp/index.js +39 -0
  186. package/esm/components/Atoms/TimeStamp/stories.js +11 -0
  187. package/esm/components/Atoms/TimeStamp/timestamp.m.css +22 -0
  188. package/esm/components/Fixture/config.json +2703 -0
  189. package/esm/components/Fixture/dummy-collection.js +2547 -0
  190. package/esm/components/Fixture/dummyStory.js +2089 -0
  191. package/esm/components/Fixture/index.js +433 -0
  192. package/esm/components/Fixture/slot-config.js +26 -0
  193. package/esm/components/Molecules/FullScreenImages/fullscreenimages.scss +56 -0
  194. package/esm/components/Molecules/FullScreenImages/index.js +119 -0
  195. package/esm/components/Molecules/KeyEvents/README.md +21 -0
  196. package/esm/components/Molecules/KeyEvents/index.js +152 -0
  197. package/esm/components/Molecules/KeyEvents/key-events.m.css +89 -0
  198. package/esm/components/Molecules/KeyEvents/stories.js +25 -0
  199. package/esm/components/Molecules/PageIntroductionCard/README.md +25 -0
  200. package/esm/components/Molecules/PageIntroductionCard/index.js +77 -0
  201. package/esm/components/Molecules/PageIntroductionCard/page-intro-card.m.css +61 -0
  202. package/esm/components/Molecules/PageIntroductionCard/stories.js +17 -0
  203. package/esm/components/Molecules/PortraitStoryCard/README.md +10 -0
  204. package/esm/components/Molecules/PortraitStoryCard/index.js +52 -0
  205. package/esm/components/Molecules/PortraitStoryCard/portrait-story-card.m.css +38 -0
  206. package/esm/components/Molecules/PortraitStoryCard/stories.js +24 -0
  207. package/esm/components/Molecules/SliderHorizontalCard/README.md +14 -0
  208. package/esm/components/Molecules/SliderHorizontalCard/index.js +69 -0
  209. package/esm/components/Molecules/SliderHorizontalCard/slider-horizontal-card.m.css +42 -0
  210. package/esm/components/Molecules/SliderHorizontalCard/stories.js +27 -0
  211. package/esm/components/Molecules/SocialShareTemplate/README.md +118 -0
  212. package/esm/components/Molecules/SocialShareTemplate/__snapshots__/social-share-template.test.js.snap +738 -0
  213. package/esm/components/Molecules/SocialShareTemplate/index.js +164 -0
  214. package/esm/components/Molecules/SocialShareTemplate/social-share-data.js +90 -0
  215. package/esm/components/Molecules/SocialShareTemplate/social-share-template.m.css +174 -0
  216. package/esm/components/Molecules/SocialShareTemplate/social-share-template.test.js +108 -0
  217. package/esm/components/Molecules/SocialShareTemplate/stories.js +38 -0
  218. package/esm/components/Molecules/StoryCard/README.md +75 -0
  219. package/esm/components/Molecules/StoryCard/READMEBGIMAGE.md +25 -0
  220. package/esm/components/Molecules/StoryCard/READMEBORDER.md +61 -0
  221. package/esm/components/Molecules/StoryCard/index.js +200 -0
  222. package/esm/components/Molecules/StoryCard/stories.js +274 -0
  223. package/esm/components/Molecules/StoryCard/storycard.m.css +158 -0
  224. package/esm/components/Molecules/StoryCardWithBulletPoint/README.md +9 -0
  225. package/esm/components/Molecules/StoryCardWithBulletPoint/index.js +43 -0
  226. package/esm/components/Molecules/StoryCardWithBulletPoint/stories.js +28 -0
  227. package/esm/components/Molecules/StoryCardWithBulletPoint/story-card-with-bullet-point.m.css +7 -0
  228. package/esm/components/Molecules/StoryElementCard/README.md +9 -0
  229. package/esm/components/Molecules/StoryElementCard/index.js +494 -0
  230. package/esm/components/Molecules/StoryElementCard/stories.js +25 -0
  231. package/esm/components/Molecules/StoryElementCard/story-element-card.m.css +78 -0
  232. package/esm/components/Molecules/StorycardContent/README.md +34 -0
  233. package/esm/components/Molecules/StorycardContent/index.js +86 -0
  234. package/esm/components/Molecules/StorycardContent/stories.js +45 -0
  235. package/esm/components/Molecules/StorycardContent/storycardContent.m.css +21 -0
  236. package/esm/components/Rows/AlternateCollectionFilter/README.md +38 -0
  237. package/esm/components/Rows/AlternateCollectionFilter/alternate-collection-filter.m.css +254 -0
  238. package/esm/components/Rows/AlternateCollectionFilter/index.js +288 -0
  239. package/esm/components/Rows/AlternateCollectionFilter/stories.js +68 -0
  240. package/esm/components/Rows/AsideCollection/README.md +27 -0
  241. package/esm/components/Rows/AsideCollection/aside-collection.m.css +103 -0
  242. package/esm/components/Rows/AsideCollection/aside-collection.test.js +32 -0
  243. package/esm/components/Rows/AsideCollection/index.js +253 -0
  244. package/esm/components/Rows/AsideCollection/stories.js +48 -0
  245. package/esm/components/Rows/AstrologyCollection/README.md +40 -0
  246. package/esm/components/Rows/AstrologyCollection/astrology-collection.m.css +165 -0
  247. package/esm/components/Rows/AstrologyCollection/index.js +272 -0
  248. package/esm/components/Rows/AstrologyCollection/stories.js +61 -0
  249. package/esm/components/Rows/AuthorIntroductionCard/README.md +43 -0
  250. package/esm/components/Rows/AuthorIntroductionCard/author-intro.m.css +278 -0
  251. package/esm/components/Rows/AuthorIntroductionCard/author-intro.test.js +148 -0
  252. package/esm/components/Rows/AuthorIntroductionCard/index.js +157 -0
  253. package/esm/components/Rows/AuthorIntroductionCard/stories.js +46 -0
  254. package/esm/components/Rows/AuthorsList/README.md +24 -0
  255. package/esm/components/Rows/AuthorsList/author-list.test.js +66 -0
  256. package/esm/components/Rows/AuthorsList/authors-list.m.css +22 -0
  257. package/esm/components/Rows/AuthorsList/index.js +64 -0
  258. package/esm/components/Rows/AuthorsList/stories.js +62 -0
  259. package/esm/components/Rows/CollectionFilter/README.md +39 -0
  260. package/esm/components/Rows/CollectionFilter/collection-filter.m.css +213 -0
  261. package/esm/components/Rows/CollectionFilter/index.js +366 -0
  262. package/esm/components/Rows/CollectionFilter/stories.js +78 -0
  263. package/esm/components/Rows/ElevenStories/11-stories.m.css +85 -0
  264. package/esm/components/Rows/ElevenStories/README.md +39 -0
  265. package/esm/components/Rows/ElevenStories/index.js +418 -0
  266. package/esm/components/Rows/ElevenStories/stories.js +71 -0
  267. package/esm/components/Rows/FourColFiveStories/README.md +37 -0
  268. package/esm/components/Rows/FourColFiveStories/four-col-five-stories.m.css +112 -0
  269. package/{atoms/ExtendedLoadMore/index-b5754c5d.js → esm/components/Rows/FourColFiveStories/index.js} +54 -70
  270. package/esm/components/Rows/FourColFiveStories/stories.js +67 -0
  271. package/esm/components/Rows/FourColGrid/README.md +39 -0
  272. package/esm/components/Rows/FourColGrid/four-col.m.css +50 -0
  273. package/{atoms/ExtendedLoadMore/index-37a9ccff.js → esm/components/Rows/FourColGrid/index.js} +50 -65
  274. package/esm/components/Rows/FourColGrid/stories.js +68 -0
  275. package/esm/components/Rows/FourColPortraitStories/README.md +38 -0
  276. package/esm/components/Rows/FourColPortraitStories/four-col-portrait-stories.m.css +45 -0
  277. package/esm/components/Rows/FourColPortraitStories/index.js +153 -0
  278. package/esm/components/Rows/FourColPortraitStories/stories.js +68 -0
  279. package/esm/components/Rows/FourColSixteenStories/README.md +35 -0
  280. package/esm/components/Rows/FourColSixteenStories/four-col-sixteen-stories.m.css +141 -0
  281. package/esm/components/Rows/FourColSixteenStories/index.js +157 -0
  282. package/esm/components/Rows/FourColSixteenStories/stories.js +43 -0
  283. package/esm/components/Rows/FourColTwelveStory/README.md +39 -0
  284. package/esm/components/Rows/FourColTwelveStory/four-col-twelve-story.m.css +71 -0
  285. package/esm/components/Rows/FourColTwelveStory/index.js +219 -0
  286. package/esm/components/Rows/FourColTwelveStory/stories.js +107 -0
  287. package/esm/components/Rows/FourStorySlider/README.md +45 -0
  288. package/esm/components/Rows/FourStorySlider/four-story-slider.m.css +78 -0
  289. package/esm/components/Rows/FourStorySlider/index.js +145 -0
  290. package/esm/components/Rows/FourStorySlider/stories.js +125 -0
  291. package/esm/components/Rows/FourStorySliderPortrait/README.md +45 -0
  292. package/esm/components/Rows/FourStorySliderPortrait/four-story-slider-portrait.m.css +221 -0
  293. package/esm/components/Rows/FourStorySliderPortrait/index.js +148 -0
  294. package/esm/components/Rows/FourStorySliderPortrait/stories.js +125 -0
  295. package/esm/components/Rows/FourTabbedBigStorySlider/README.md +39 -0
  296. package/esm/components/Rows/FourTabbedBigStorySlider/four-tabbed-big-story-slider.m.css +265 -0
  297. package/esm/components/Rows/FourTabbedBigStorySlider/index.js +221 -0
  298. package/esm/components/Rows/FourTabbedBigStorySlider/stories.js +59 -0
  299. package/esm/components/Rows/FullScreenSlider/README.md +46 -0
  300. package/esm/components/Rows/FullScreenSlider/full-screen-slider.m.css +155 -0
  301. package/esm/components/Rows/FullScreenSlider/index.js +140 -0
  302. package/esm/components/Rows/FullScreenSlider/stories.js +113 -0
  303. package/esm/components/Rows/HalfScreenSlider/README.md +43 -0
  304. package/esm/components/Rows/HalfScreenSlider/half-screen-slider.m.css +80 -0
  305. package/esm/components/Rows/HalfScreenSlider/index.js +124 -0
  306. package/esm/components/Rows/HalfScreenSlider/stories.js +118 -0
  307. package/esm/components/Rows/ListComponent/README.md +48 -0
  308. package/esm/components/Rows/ListComponent/index.js +176 -0
  309. package/esm/components/Rows/ListComponent/list-component.m.css +65 -0
  310. package/esm/components/Rows/ListComponent/stories.js +65 -0
  311. package/esm/components/Rows/Listicles/README.md +32 -0
  312. package/esm/components/Rows/Listicles/index.js +240 -0
  313. package/esm/components/Rows/Listicles/listicles.m.css +149 -0
  314. package/esm/components/Rows/Listicles/stories.js +53 -0
  315. package/esm/components/Rows/MagazineEditions/README.md +21 -0
  316. package/esm/components/Rows/MagazineEditions/index.js +123 -0
  317. package/esm/components/Rows/MagazineEditions/magazine-editions.m.css +50 -0
  318. package/esm/components/Rows/MagazineEditions/magazine-editions.test.js +30 -0
  319. package/esm/components/Rows/MagazineEditions/stories.js +41 -0
  320. package/esm/components/Rows/MagazineHeaderCard/README.md +21 -0
  321. package/esm/components/Rows/MagazineHeaderCard/index.js +117 -0
  322. package/esm/components/Rows/MagazineHeaderCard/magazine-cards.m.css +106 -0
  323. package/esm/components/Rows/MagazineHeaderCard/stories.js +34 -0
  324. package/esm/components/Rows/MagazineWidget/README.md +21 -0
  325. package/esm/components/Rows/MagazineWidget/index.js +177 -0
  326. package/esm/components/Rows/MagazineWidget/stories.js +40 -0
  327. package/esm/components/Rows/OneColStoryList/README.md +48 -0
  328. package/{atoms/ExtendedLoadMore/index-bbaf526e.js → esm/components/Rows/OneColStoryList/index.js} +69 -80
  329. package/esm/components/Rows/OneColStoryList/one-col-story-list.m.css +81 -0
  330. package/esm/components/Rows/OneColStoryList/stories.js +78 -0
  331. package/esm/components/Rows/OpinionCollection/README.md +36 -0
  332. package/esm/components/Rows/OpinionCollection/index.js +205 -0
  333. package/esm/components/Rows/OpinionCollection/opinion-collection.m.css +226 -0
  334. package/esm/components/Rows/OpinionCollection/stories.js +92 -0
  335. package/esm/components/Rows/SixColSixStories/README.md +37 -0
  336. package/{atoms/ExtendedLoadMore/index-cfb262ef.js → esm/components/Rows/SixColSixStories/index.js} +56 -69
  337. package/esm/components/Rows/SixColSixStories/six-col-six-stories.m.css +75 -0
  338. package/esm/components/Rows/SixColSixStories/stories.js +74 -0
  339. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/README.md +19 -0
  340. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/__snapshots__/listicle-story.test.js.snap +841 -0
  341. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/index.js +330 -0
  342. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.m.css +249 -0
  343. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.test.js +46 -0
  344. package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/stories.js +119 -0
  345. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/README.md +25 -0
  346. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/index.js +97 -0
  347. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/live-blog.m.css +326 -0
  348. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/stories.js +118 -0
  349. package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/templates.js +418 -0
  350. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/index.js +294 -0
  351. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo-story.test.js +163 -0
  352. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo.m.css +175 -0
  353. package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/stories.js +124 -0
  354. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/README.md +49 -0
  355. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/index.js +100 -0
  356. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/stories.js +124 -0
  357. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/templates.js +285 -0
  358. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.m.css +449 -0
  359. package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.test.js +242 -0
  360. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/README.md +31 -0
  361. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/index.js +239 -0
  362. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/stories.js +214 -0
  363. package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/video-story.m.css +195 -0
  364. package/esm/components/Rows/TagIntroductionCard/README.md +11 -0
  365. package/esm/components/Rows/TagIntroductionCard/index.js +45 -0
  366. package/esm/components/Rows/TagIntroductionCard/stories.js +20 -0
  367. package/esm/components/Rows/TagIntroductionCard/tag-intro-card.module.css +25 -0
  368. package/esm/components/Rows/ThreeColFlexStories/README.md +38 -0
  369. package/{atoms/ExtendedLoadMore/index-57dd4870.js → esm/components/Rows/ThreeColFlexStories/index.js} +70 -82
  370. package/esm/components/Rows/ThreeColFlexStories/stories.js +74 -0
  371. package/esm/components/Rows/ThreeColFlexStories/three-col-flex-stories.m.css +60 -0
  372. package/esm/components/Rows/ThreeColFourteenStory/README.md +28 -0
  373. package/esm/components/Rows/ThreeColFourteenStory/index.js +154 -0
  374. package/esm/components/Rows/ThreeColFourteenStory/stories.js +65 -0
  375. package/esm/components/Rows/ThreeColFourteenStory/three-col-fourteen-story.m.css +51 -0
  376. package/esm/components/Rows/ThreeColGrid/README.md +36 -0
  377. package/{atoms/ExtendedLoadMore/index-446679c8.js → esm/components/Rows/ThreeColGrid/index.js} +54 -69
  378. package/esm/components/Rows/ThreeColGrid/stories.js +78 -0
  379. package/esm/components/Rows/ThreeColGrid/three-col.m.css +43 -0
  380. package/esm/components/Rows/ThreeColSevenStory/README.md +36 -0
  381. package/esm/components/Rows/ThreeColSevenStory/index.js +201 -0
  382. package/esm/components/Rows/ThreeColSevenStory/stories.js +74 -0
  383. package/esm/components/Rows/ThreeColSevenStory/three-col-seven-story.m.css +44 -0
  384. package/esm/components/Rows/ThreeColSixStories/README.md +40 -0
  385. package/esm/components/Rows/ThreeColSixStories/index.js +183 -0
  386. package/esm/components/Rows/ThreeColSixStories/stories.js +74 -0
  387. package/esm/components/Rows/ThreeColSixStories/three-col-six-stories.m.css +32 -0
  388. package/esm/components/Rows/ThreeColTwelveStories/README.md +41 -0
  389. package/esm/components/Rows/ThreeColTwelveStories/index.js +165 -0
  390. package/esm/components/Rows/ThreeColTwelveStories/stories.js +53 -0
  391. package/esm/components/Rows/ThreeColTwelveStories/three-col-twelve-stories.m.css +83 -0
  392. package/esm/components/Rows/TwoColFourStory/README.md +33 -0
  393. package/esm/components/Rows/TwoColFourStory/index.js +174 -0
  394. package/esm/components/Rows/TwoColFourStory/stories.js +63 -0
  395. package/esm/components/Rows/TwoColFourStory/two-col-four-story.m.css +64 -0
  396. package/esm/components/Rows/TwoColFourStoryHighlight/README.md +35 -0
  397. package/esm/components/Rows/TwoColFourStoryHighlight/index.js +164 -0
  398. package/esm/components/Rows/TwoColFourStoryHighlight/stories.js +50 -0
  399. package/esm/components/Rows/TwoColFourStoryHighlight/two-col-four-story-highlight.m.css +116 -0
  400. package/esm/components/Rows/TwoColSevenStories/README.md +37 -0
  401. package/esm/components/Rows/TwoColSevenStories/index.js +193 -0
  402. package/esm/components/Rows/TwoColSevenStories/stories.js +102 -0
  403. package/esm/components/Rows/TwoColSevenStories/two-col-seven-stories.m.css +175 -0
  404. package/esm/components/Rows/TwoColSixStories/README.md +36 -0
  405. package/esm/components/Rows/TwoColSixStories/index.js +185 -0
  406. package/esm/components/Rows/TwoColSixStories/stories.js +67 -0
  407. package/esm/components/Rows/TwoColSixStories/two-col-six-stories.m.css +135 -0
  408. package/esm/components/Rows/TwoColTenStoriesSidebar/README.md +34 -0
  409. package/esm/components/Rows/TwoColTenStoriesSidebar/index.js +191 -0
  410. package/esm/components/Rows/TwoColTenStoriesSidebar/stories.js +53 -0
  411. package/esm/components/Rows/TwoColTenStoriesSidebar/two-col-ten-stories-sidebar.m.css +52 -0
  412. package/esm/components/Rows/TwoColThreeStory/README.md +40 -0
  413. package/esm/components/Rows/TwoColThreeStory/index.js +146 -0
  414. package/esm/components/Rows/TwoColThreeStory/stories.js +63 -0
  415. package/esm/components/Rows/TwoColThreeStory/two-col-three-story.m.css +36 -0
  416. package/esm/components/SharedContext.js +17 -0
  417. package/esm/components/Svgs/Loading/loading.js +140 -0
  418. package/esm/components/Svgs/Loading/loading.m.css +5 -0
  419. package/esm/components/Svgs/SocialIcons/facebook.js +18 -0
  420. package/esm/components/Svgs/SocialIcons/instagram.js +33 -0
  421. package/esm/components/Svgs/SocialIcons/linkedin.js +18 -0
  422. package/esm/components/Svgs/SocialIcons/pinterest.js +12 -0
  423. package/esm/components/Svgs/SocialIcons/twitter.js +18 -0
  424. package/esm/components/Svgs/SocialIcons/whatsapp.js +19 -0
  425. package/esm/components/Svgs/SocialIcons/youtube.js +19 -0
  426. package/esm/components/Svgs/caret-right.svg +3 -0
  427. package/esm/components/Svgs/clock-icon.js +19 -0
  428. package/esm/components/Svgs/close-icon.js +22 -0
  429. package/esm/components/Svgs/crown.js +40 -0
  430. package/esm/components/Svgs/fallbackImage.js +45 -0
  431. package/esm/components/Svgs/hyperlink.js +22 -0
  432. package/esm/components/Svgs/key.js +39 -0
  433. package/esm/components/Svgs/left-arrow.js +24 -0
  434. package/esm/components/Svgs/liveicon.js +16 -0
  435. package/esm/components/Svgs/lock.js +40 -0
  436. package/esm/components/Svgs/right-arrow.js +24 -0
  437. package/esm/components/Svgs/share-icon.js +19 -0
  438. package/esm/components/Svgs/star.js +34 -0
  439. package/esm/components/Svgs/user-fallback-icon.js +22 -0
  440. package/esm/components/Typography/README.md +7 -0
  441. package/esm/components/Typography/index.js +33 -0
  442. package/esm/components/Typography/stories.js +15 -0
  443. package/esm/components/Typography/style.m.css +11 -0
  444. package/esm/entry-points.js +291 -0
  445. package/esm/guide/stories.js +22 -0
  446. package/esm/hydration-component/index.js +41 -0
  447. package/esm/hydration-component/useNearScreen.js +71 -0
  448. package/esm/index.js +88 -0
  449. package/esm/rows.js +40 -0
  450. package/esm/stylesheets/mixins.scss +27 -0
  451. package/esm/stylesheets/viewports.m.css +3 -0
  452. package/esm/utils/testing-utils.js +8 -0
  453. package/esm/utils/utils.js +363 -0
  454. package/esm/utils/utils.test.js +46 -0
  455. package/package.json +1 -1
  456. package/atoms/Author/index.js +0 -170
  457. package/atoms/Author/styles.arrow.css +0 -1
  458. package/atoms/AuthorWithTime/index.js +0 -514
  459. package/atoms/AuthorWithTime/styles.arrow.css +0 -1
  460. package/atoms/CollectionName/index.js +0 -255
  461. package/atoms/CollectionName/styles.arrow.css +0 -1
  462. package/atoms/ExtendedLoadMore/index-0f809dd9.js +0 -254
  463. package/atoms/ExtendedLoadMore/index-142f015c.js +0 -476
  464. package/atoms/ExtendedLoadMore/index-44f97338.js +0 -300
  465. package/atoms/ExtendedLoadMore/index-66dd4dbd.js +0 -215
  466. package/atoms/ExtendedLoadMore/index-8462c597.js +0 -363
  467. package/atoms/ExtendedLoadMore/index-93cb06d1.js +0 -1016
  468. package/atoms/ExtendedLoadMore/index-afd44863.js +0 -95
  469. package/atoms/ExtendedLoadMore/index.js +0 -20
  470. package/atoms/ExtendedLoadMore/styles.arrow.css +0 -1
  471. package/atoms/Headline/index.js +0 -379
  472. package/atoms/Headline/styles.arrow.css +0 -1
  473. package/atoms/HeroImage/index.js +0 -336
  474. package/atoms/HeroImage/styles.arrow.css +0 -1
  475. package/atoms/LoadmoreButton/index.js +0 -175
  476. package/atoms/LoadmoreButton/styles.arrow.css +0 -1
  477. package/atoms/ScrollSnap/index.js +0 -379
  478. package/atoms/ScrollSnap/styles.arrow.css +0 -1
  479. package/atoms/SectionTag/index.js +0 -140
  480. package/atoms/SectionTag/styles.arrow.css +0 -1
  481. package/atoms/Subheadline/index.js +0 -120
  482. package/atoms/Subheadline/styles.arrow.css +0 -1
  483. package/atoms/TimeStamp/index.js +0 -221
  484. package/atoms/TimeStamp/styles.arrow.css +0 -1
  485. package/molecules/KeyEvents/index.js +0 -457
  486. package/molecules/KeyEvents/styles.arrow.css +0 -1
  487. package/molecules/PageIntroductionCard/index.js +0 -248
  488. package/molecules/PageIntroductionCard/styles.arrow.css +0 -1
  489. package/molecules/SocialShareTemplate/index.js +0 -506
  490. package/molecules/SocialShareTemplate/styles.arrow.css +0 -1
  491. package/molecules/StoryCard/index.js +0 -1430
  492. package/molecules/StoryCard/styles.arrow.css +0 -1
  493. package/molecules/StoryElementCard/index.js +0 -3091
  494. package/molecules/StoryElementCard/styles.arrow.css +0 -1
  495. package/molecules/StorycardContent/index.js +0 -976
  496. package/molecules/StorycardContent/styles.arrow.css +0 -1
  497. package/rows/AlternateCollectionFilter/index.js +0 -2189
  498. package/rows/AlternateCollectionFilter/styles.arrow.css +0 -1
  499. package/rows/AsideCollection/index.js +0 -2135
  500. package/rows/AsideCollection/styles.arrow.css +0 -1
  501. package/rows/AstrologyCollection/index.js +0 -2106
  502. package/rows/AstrologyCollection/styles.arrow.css +0 -1
  503. package/rows/AuthorIntroductionCard/index.js +0 -813
  504. package/rows/AuthorIntroductionCard/styles.arrow.css +0 -1
  505. package/rows/AuthorsList/index.js +0 -996
  506. package/rows/AuthorsList/styles.arrow.css +0 -1
  507. package/rows/CollectionFilter/index.js +0 -2279
  508. package/rows/CollectionFilter/styles.arrow.css +0 -1
  509. package/rows/ElevenStories/index.js +0 -2118
  510. package/rows/ElevenStories/styles.arrow.css +0 -1
  511. package/rows/FourColFiveStories/index.js +0 -1861
  512. package/rows/FourColFiveStories/styles.arrow.css +0 -1
  513. package/rows/FourColGrid/index.js +0 -2083
  514. package/rows/FourColGrid/styles.arrow.css +0 -1
  515. package/rows/FourColPortraitStories/index.js +0 -2116
  516. package/rows/FourColPortraitStories/styles.arrow.css +0 -1
  517. package/rows/FourColSixteenStories/index.js +0 -1849
  518. package/rows/FourColSixteenStories/styles.arrow.css +0 -1
  519. package/rows/FourColTwelveStories/index.js +0 -1822
  520. package/rows/FourColTwelveStories/styles.arrow.css +0 -1
  521. package/rows/FourStorySlider/index.js +0 -2223
  522. package/rows/FourStorySlider/styles.arrow.css +0 -1
  523. package/rows/FourStorySliderPortrait/index.js +0 -2226
  524. package/rows/FourStorySliderPortrait/styles.arrow.css +0 -1
  525. package/rows/FourTabbedBigStorySlider/index.js +0 -1985
  526. package/rows/FourTabbedBigStorySlider/styles.arrow.css +0 -1
  527. package/rows/FullScreenSlider/index.js +0 -2141
  528. package/rows/FullScreenSlider/styles.arrow.css +0 -1
  529. package/rows/HalfScreenSlider/index.js +0 -1994
  530. package/rows/HalfScreenSlider/styles.arrow.css +0 -1
  531. package/rows/ListComponent/index.js +0 -1942
  532. package/rows/ListComponent/styles.arrow.css +0 -1
  533. package/rows/Listicles/index.js +0 -945
  534. package/rows/Listicles/styles.arrow.css +0 -1
  535. package/rows/MagazineEditions/index.js +0 -690
  536. package/rows/MagazineEditions/styles.arrow.css +0 -1
  537. package/rows/MagazineHeaderCard/index.js +0 -684
  538. package/rows/MagazineHeaderCard/styles.arrow.css +0 -1
  539. package/rows/MagazineWidget/index.js +0 -1994
  540. package/rows/MagazineWidget/styles.arrow.css +0 -1
  541. package/rows/OneColStoryList/index.js +0 -2169
  542. package/rows/OneColStoryList/styles.arrow.css +0 -1
  543. package/rows/OpinionCollection/index.js +0 -1545
  544. package/rows/OpinionCollection/styles.arrow.css +0 -1
  545. package/rows/SixColSixStories/index.js +0 -2014
  546. package/rows/SixColSixStories/styles.arrow.css +0 -1
  547. package/rows/StoryCollection/index.js +0 -2135
  548. package/rows/StoryCollection/styles.arrow.css +0 -1
  549. package/rows/TagIntroductionCard/index.js +0 -103
  550. package/rows/TagIntroductionCard/styles.arrow.css +0 -1
  551. package/rows/ThreeColFlexStories/index.js +0 -2074
  552. package/rows/ThreeColFlexStories/styles.arrow.css +0 -1
  553. package/rows/ThreeColFourteenStories/index.js +0 -1770
  554. package/rows/ThreeColFourteenStories/styles.arrow.css +0 -1
  555. package/rows/ThreeColGrid/index.js +0 -2104
  556. package/rows/ThreeColGrid/styles.arrow.css +0 -1
  557. package/rows/ThreeColSevenStory/index.js +0 -1982
  558. package/rows/ThreeColSevenStory/styles.arrow.css +0 -1
  559. package/rows/ThreeColSixStories/index.js +0 -1965
  560. package/rows/ThreeColSixStories/styles.arrow.css +0 -1
  561. package/rows/ThreeColTwelveStories/index.js +0 -1854
  562. package/rows/ThreeColTwelveStories/styles.arrow.css +0 -1
  563. package/rows/TwoColFourStories/index.js +0 -1943
  564. package/rows/TwoColFourStories/styles.arrow.css +0 -1
  565. package/rows/TwoColFourStoryHighlight/index.js +0 -1930
  566. package/rows/TwoColFourStoryHighlight/styles.arrow.css +0 -1
  567. package/rows/TwoColSevenStories/index.js +0 -1970
  568. package/rows/TwoColSevenStories/styles.arrow.css +0 -1
  569. package/rows/TwoColSixStories/index.js +0 -1963
  570. package/rows/TwoColSixStories/styles.arrow.css +0 -1
  571. package/rows/TwoColTenStoriesSidebar/index.js +0 -2029
  572. package/rows/TwoColTenStoriesSidebar/styles.arrow.css +0 -1
  573. package/rows/TwoColThreeStories/index.js +0 -1916
  574. package/rows/TwoColThreeStories/styles.arrow.css +0 -1
  575. package/story-elements/AlsoRead/index.js +0 -320
  576. package/story-elements/AlsoRead/styles.arrow.css +0 -1
  577. package/story-elements/Attachment/index.js +0 -167
  578. package/story-elements/Attachment/styles.arrow.css +0 -1
  579. package/story-elements/BigFact/index.js +0 -137
  580. package/story-elements/BigFact/styles.arrow.css +0 -1
  581. package/story-elements/BlockQuote/index.js +0 -304
  582. package/story-elements/BlockQuote/styles.arrow.css +0 -1
  583. package/story-elements/Blurb/index.js +0 -189
  584. package/story-elements/Blurb/styles.arrow.css +0 -1
  585. package/story-elements/Image/index.js +0 -529
  586. package/story-elements/Image/styles.arrow.css +0 -1
  587. package/story-elements/ImageGallery/index.js +0 -462
  588. package/story-elements/ImageGallery/styles.arrow.css +0 -1
  589. package/story-elements/ImageSlideshow/index.js +0 -773
  590. package/story-elements/ImageSlideshow/styles.arrow.css +0 -1
  591. package/story-elements/QuestionAnswer/index.js +0 -267
  592. package/story-elements/QuestionAnswer/styles.arrow.css +0 -1
  593. package/story-elements/Quote/index.js +0 -166
  594. package/story-elements/Quote/styles.arrow.css +0 -1
  595. package/story-elements/Reference/index.js +0 -160
  596. package/story-elements/Reference/styles.arrow.css +0 -1
  597. package/story-elements/StoryElement/index.js +0 -75
  598. package/story-elements/Summary/index.js +0 -190
  599. package/story-elements/Summary/styles.arrow.css +0 -1
  600. package/story-elements/Text/index.js +0 -165
  601. package/story-elements/Text/styles.arrow.css +0 -1
  602. package/story-elements/Video/index.js +0 -81
  603. package/story-elements/Video/styles.arrow.css +0 -1
  604. package/story-templates/ListicleStoryTemplate/index.js +0 -5586
  605. package/story-templates/ListicleStoryTemplate/styles.arrow.css +0 -1
  606. package/story-templates/LiveBlogStoryTemplate/index.js +0 -5762
  607. package/story-templates/LiveBlogStoryTemplate/styles.arrow.css +0 -1
  608. package/story-templates/PhotoStoryTemplate/index.js +0 -5564
  609. package/story-templates/PhotoStoryTemplate/styles.arrow.css +0 -1
  610. package/story-templates/TextStoryTemplate/index.js +0 -5637
  611. package/story-templates/TextStoryTemplate/styles.arrow.css +0 -1
  612. package/story-templates/VideoStoryTemplate/index.js +0 -5496
  613. package/story-templates/VideoStoryTemplate/styles.arrow.css +0 -1
@@ -0,0 +1,41 @@
1
+ import React from "react";
2
+ import { generateMagazineIssues } from "../../Fixture";
3
+ import { MagazineEditionsBase } from "./index";
4
+ import Readme from "./README.md";
5
+ import { color, text, boolean as _boolean } from "@storybook/addon-knobs";
6
+ import { withStore, optionalSelect, collectionNameTemplates } from "../../../../storybook";
7
+ var magazineCollection = generateMagazineIssues();
8
+ var footerButton = {
9
+ SubsequentLoadCount: "SubsequentLoadCount",
10
+ CustomUrlPath: "CustomUrlPath"
11
+ };
12
+ var collectionNameDefaultValue = "#3a9fdd";
13
+ var collectionNameBorderColorLabel = "Collection Name Border Color";
14
+ withStore("Rows/Magazine Editions", {
15
+ qt: {
16
+ config: {
17
+ "cdn-image": "thumbor-stg.assettype.com",
18
+ mountAt: "/sub-directory"
19
+ }
20
+ }
21
+ }, Readme).add("Magazine Editions", function () {
22
+ var contextConfig = {
23
+ theme: color("Background Color", "#ffffff"),
24
+ showRowTitle: _boolean("Show Row Title", true),
25
+ title: text("Magazine Row title", "Magazine Editions"),
26
+ collectionNameTemplate: optionalSelect("Collection row Templates", collectionNameTemplates),
27
+ collectionNameBorderColor: color(collectionNameBorderColorLabel, collectionNameDefaultValue),
28
+ buttonText: text("Footer text", "Read More"),
29
+ footerButton: optionalSelect("Button Settings", footerButton),
30
+ customUrlPath: text("Custom URL", ""),
31
+ enableEditionsTitle: _boolean("Show Editions Title", true),
32
+ editionsTitle: text("Editions Title", "Magazine Title"),
33
+ showButton: _boolean("Show Button", true),
34
+ initialLoadCount: text("Initial Load Count", 4)
35
+ };
36
+ return /*#__PURE__*/React.createElement(MagazineEditionsBase, {
37
+ collection: magazineCollection,
38
+ config: contextConfig,
39
+ showLoadmore: true
40
+ });
41
+ });
@@ -0,0 +1,21 @@
1
+ # MagazineHeaderCard
2
+
3
+ Magazine Header Card is used to display the brief content of the magazine.
4
+
5
+ ## Usage
6
+
7
+ Import the MagazineHeaderCard and pass collection as props and the config.
8
+
9
+ ```jsx
10
+ import { MagazineHeaderCard } from "@quintype/arrow";
11
+ ```
12
+
13
+ ### Use as a component
14
+
15
+ ```jsx
16
+ const contextConfig = {
17
+ theme: #333333;
18
+ };
19
+ <MagazineHeaderCard collection={collection} config={contextConfig}>
20
+
21
+ ```
@@ -0,0 +1,117 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ import _getClassName from "babel-plugin-react-css-modules/dist/browser/getClassName";
3
+ var _styleModuleImportMap = {
4
+ "./magazine-cards.m.css": {
5
+ "viewports": "\"../../../stylesheets/viewports.m.css\"",
6
+ "mobile": "768px",
7
+ "tablet": "992px",
8
+ "magazine-header": "magazine-cards-m_magazine-header__2pSI3",
9
+ "content": "magazine-cards-m_content__16_KC",
10
+ "time": "magazine-cards-m_time__3DIrk",
11
+ "story-cards": "magazine-cards-m_story-cards__1mNHC",
12
+ "widget": "magazine-cards-m_widget__2aE9g",
13
+ "intro-button": "magazine-cards-m_intro-button__3J5c6",
14
+ "widget-button": "magazine-cards-m_widget-button__3P7F7",
15
+ "summary": "magazine-cards-m_summary__2jUgG",
16
+ "dark": "magazine-cards-m_dark__3CSmK",
17
+ "light": "magazine-cards-m_light__33r9r"
18
+ }
19
+ };
20
+
21
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
+
23
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
+
25
+ import React from "react";
26
+ import PropTypes from "prop-types";
27
+ import { CollectionName } from "../../Atoms/CollectionName";
28
+ import { LoadmoreButton } from "../../Atoms/Loadmore";
29
+ import { generateNavigateSlug, getTextColor, getTimeStamp, navigateTo, timestampToFormat } from "../../../utils/utils";
30
+ import "./magazine-cards.m.css";
31
+ import { StateProvider } from "../../SharedContext";
32
+ import { MagazineCoverImageCard } from "../../Atoms/MagazineCoverImage";
33
+ import { useDispatch, useSelector } from "react-redux";
34
+ import { get, upperCase } from "lodash";
35
+ export var MagazineHeaderCardBase = function MagazineHeaderCardBase(_ref) {
36
+ var _ref$collection = _ref.collection,
37
+ collection = _ref$collection === void 0 ? {} : _ref$collection,
38
+ _ref$config = _ref.config,
39
+ config = _ref$config === void 0 ? {} : _ref$config;
40
+ var createdAt = collection["created-at"],
41
+ issueDate = collection["collection-date"],
42
+ summary = collection.summary;
43
+ var _config$theme = config.theme,
44
+ theme = _config$theme === void 0 ? "" : _config$theme,
45
+ _config$customUrlPath = config.customUrlPath,
46
+ customUrlPath = _config$customUrlPath === void 0 ? "" : _config$customUrlPath,
47
+ _config$magazineTitle = config.magazineTitle,
48
+ magazineTitle = _config$magazineTitle === void 0 ? "" : _config$magazineTitle,
49
+ _config$magazinePageU = config.magazinePageUrl,
50
+ magazinePageUrl = _config$magazinePageU === void 0 ? "" : _config$magazinePageU,
51
+ _config$magazineSlug = config.magazineSlug,
52
+ magazineSlug = _config$magazineSlug === void 0 ? "" : _config$magazineSlug;
53
+ var textColor = getTextColor(theme);
54
+ var dispatch = useDispatch();
55
+ var qtConfig = useSelector(function (state) {
56
+ return get(state, ["qt", "config"], {});
57
+ });
58
+ var url = generateNavigateSlug(collection, qtConfig, customUrlPath);
59
+ var date = issueDate || createdAt;
60
+ var timeStampConfig = {
61
+ isUpperCase: true,
62
+ disableMeridiem: true
63
+ };
64
+ return /*#__PURE__*/React.createElement("div", {
65
+ className: "full-width-with-padding arrow-component",
66
+ style: {
67
+ backgroundColor: theme
68
+ },
69
+ "data-test-id": "magazine-header-card"
70
+ }, /*#__PURE__*/React.createElement("div", {
71
+ className: "arr-magazine-card magazine-cards-m_magazine-header__2pSI3 magazine-cards-m_intro-button__3J5c6"
72
+ }, /*#__PURE__*/React.createElement(MagazineCoverImageCard, {
73
+ collection: collection,
74
+ config: _objectSpread(_objectSpread({}, config), {}, {
75
+ magazineSlug: magazineSlug
76
+ })
77
+ }), /*#__PURE__*/React.createElement("div", {
78
+ className: "magazine-cards-m_content__16_KC"
79
+ }, /*#__PURE__*/React.createElement("div", {
80
+ "data-test-id": "title-time",
81
+ className: _getClassName("time ".concat(textColor), _styleModuleImportMap)
82
+ }, /*#__PURE__*/React.createElement("a", {
83
+ href: magazinePageUrl,
84
+ "data-test-id": "magazine-title",
85
+ "aria-label": "magazine-title"
86
+ }, upperCase(magazineTitle)), "\xA0 | \xA0", getTimeStamp(date, timestampToFormat, timeStampConfig)), /*#__PURE__*/React.createElement(CollectionName, {
87
+ collection: collection,
88
+ headerLevel: "2",
89
+ navigate: false
90
+ }), /*#__PURE__*/React.createElement("div", {
91
+ "data-test-id": "magazine-summary",
92
+ className: _getClassName("summary ".concat(textColor), _styleModuleImportMap)
93
+ }, summary), /*#__PURE__*/React.createElement(LoadmoreButton, {
94
+ collection: collection,
95
+ template: "customUrlPath",
96
+ config: config,
97
+ navigate: function navigate() {
98
+ return navigateTo(dispatch, url);
99
+ },
100
+ qtConfig: qtConfig
101
+ }))));
102
+ };
103
+ MagazineHeaderCardBase.propTypes = {
104
+ collection: PropTypes.shape({
105
+ "created-at": PropTypes.number,
106
+ summary: PropTypes.string,
107
+ items: PropTypes.array
108
+ }),
109
+ config: PropTypes.shape({
110
+ theme: PropTypes.string,
111
+ footerButton: PropTypes.string,
112
+ magazineTitle: PropTypes.string,
113
+ magazinePageUrl: PropTypes.string,
114
+ customUrlPath: PropTypes.string
115
+ })
116
+ };
117
+ export var MagazineHeaderCard = StateProvider(MagazineHeaderCardBase);
@@ -0,0 +1,106 @@
1
+ @value viewports: "../../../stylesheets/viewports.m.css";
2
+ @value mobile from viewports;
3
+ @value tablet from viewports;
4
+
5
+ .magazine-header {
6
+ display: grid;
7
+ grid-gap: var(--arrow-fs-l);
8
+ margin: 0 var(--arrow-fs-xs);
9
+ @media (min-width: mobile) {
10
+ grid-template-columns: 1fr 3fr;
11
+ }
12
+ @media (min-width: tablet) {
13
+ margin: 0 0 var(--arrow-spacing-xs);
14
+ grid-row-gap: 0;
15
+ grid-column-gap: 48px;
16
+ }
17
+ }
18
+
19
+ .content {
20
+ text-align: center;
21
+ @media (min-width: mobile) {
22
+ text-align: left;
23
+ display: flex;
24
+ flex-direction: column;
25
+ justify-content: center;
26
+ }
27
+ }
28
+
29
+ .time {
30
+ font-size: var(--arrow-fs-xs);
31
+ font-weight: var(--arrow-fw-bold);
32
+ line-height: var(--arrow-lh-1);
33
+ }
34
+
35
+ .magazine-header :global(.arr--collection-name) {
36
+ margin: var(--arrow-spacing-xs) 0;
37
+ }
38
+
39
+ .story-cards {
40
+ display: grid;
41
+ grid-gap: var(--arrow-fs-xs);
42
+ grid-template-columns: 1fr;
43
+ @media (min-width: mobile) {
44
+ grid-template-columns: 1fr 1fr;
45
+ grid-gap: var(--arrow-spacing-l);
46
+ }
47
+ :global(.arr--story-card) {
48
+ display: grid;
49
+ grid-template-columns: 1fr 4fr;
50
+ }
51
+ }
52
+
53
+ .widget {
54
+ margin-top: var(--arrow-spacing-xl);
55
+ @media (min-width: mobile) {
56
+ grid-column: 1/3;
57
+ margin-top: var(--arrow-spacing-l);
58
+ }
59
+ }
60
+
61
+ .intro-button :global(.arr--button) {
62
+ @media (min-width: mobile) {
63
+ margin: var(--arrow-spacing-l) 0 0;
64
+ }
65
+ }
66
+
67
+ .widget-button :global(.arr--button) {
68
+ @media (min-width: tablet) {
69
+ margin: var(--arrow-spacing-l) 0 0;
70
+ }
71
+ }
72
+
73
+ .summary {
74
+ font-size: var(--arrow-fs-xs);
75
+ @media (min-width: mobile) {
76
+ font-size: var(--arrow-fs-s);
77
+ }
78
+ }
79
+
80
+ .summary.dark {
81
+ color: var(--arrow-c-mono4);
82
+ }
83
+
84
+ .summary.light {
85
+ color: var(--arrow-c-invert-mono4);
86
+ }
87
+
88
+ .dark {
89
+ color: var(--arrow-c-mono2);
90
+ }
91
+ .light {
92
+ color: var(--arrow-c-invert-mono2);
93
+ }
94
+
95
+ html[dir="rtl"] {
96
+ .time {
97
+ direction: ltr;
98
+ text-align: right;
99
+ }
100
+
101
+ .intro-button :global(.arr--button) {
102
+ @media (min-width: mobile) {
103
+ margin: var(--arrow-spacing-l) 0 0;
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,34 @@
1
+ import React from "react";
2
+ import { generateCollection } from "../../Fixture";
3
+ import { MagazineHeaderCardBase } from "./index";
4
+ import Readme from "./README.md";
5
+ import { boolean as _boolean, color, text } from "@storybook/addon-knobs";
6
+ import { withStore, optionalSelect } from "../../../../storybook";
7
+ var collection = generateCollection({
8
+ stories: 4
9
+ });
10
+ var footerButton = {
11
+ NavigateToPage: "NavigateToPage",
12
+ CustomUrlPath: "CustomUrlPath"
13
+ };
14
+ withStore("Rows/Magazine Header Card", {
15
+ qt: {
16
+ config: {
17
+ "cdn-image": "thumbor-stg.assettype.com",
18
+ mountAt: "/sub-directory"
19
+ }
20
+ }
21
+ }, Readme).add("Magazine header card", function () {
22
+ var contextConfig = {
23
+ theme: color("Color", "#ffffff"),
24
+ showButton: _boolean("Show button", true),
25
+ buttonText: text("Button text", "Subscribe"),
26
+ footerButton: optionalSelect("Button Settings", footerButton),
27
+ customUrlPath: text("Custom URL", ""),
28
+ magazineTitle: "Fortune"
29
+ };
30
+ return /*#__PURE__*/React.createElement(MagazineHeaderCardBase, {
31
+ collection: collection,
32
+ config: contextConfig
33
+ });
34
+ });
@@ -0,0 +1,21 @@
1
+ # MagazineWidget
2
+
3
+ Magazine widget is used to represent the stories within the magazine.
4
+
5
+ ## Usage
6
+
7
+ Import the MagazineWidget and pass collection, props and the config.
8
+
9
+ ```jsx
10
+ import { MagazineWidget } from "@quintype/arrow";
11
+ ```
12
+
13
+ ### Use as a component
14
+
15
+ ```jsx
16
+ const contextConfig = {
17
+ theme: #333333;
18
+ };
19
+ <MagazineWidget collection={collection} config={contextConfig} >
20
+
21
+ ```
@@ -0,0 +1,177 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ import _getClassName from "babel-plugin-react-css-modules/dist/browser/getClassName";
3
+ var _styleModuleImportMap = {
4
+ "../MagazineHeaderCard/magazine-cards.m.css": {
5
+ "viewports": "\"../../../stylesheets/viewports.m.css\"",
6
+ "mobile": "768px",
7
+ "tablet": "992px",
8
+ "magazine-header": "magazine-cards-m_magazine-header__2pSI3",
9
+ "content": "magazine-cards-m_content__16_KC",
10
+ "time": "magazine-cards-m_time__3DIrk",
11
+ "story-cards": "magazine-cards-m_story-cards__1mNHC",
12
+ "widget": "magazine-cards-m_widget__2aE9g",
13
+ "intro-button": "magazine-cards-m_intro-button__3J5c6",
14
+ "widget-button": "magazine-cards-m_widget-button__3P7F7",
15
+ "summary": "magazine-cards-m_summary__2jUgG",
16
+ "dark": "magazine-cards-m_dark__3CSmK",
17
+ "light": "magazine-cards-m_light__33r9r"
18
+ }
19
+ };
20
+
21
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
+
23
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
24
+
25
+ import React from "react";
26
+ import PropTypes from "prop-types";
27
+ import { CollectionName } from "../../Atoms/CollectionName";
28
+ import { LoadmoreButton } from "../../Atoms/Loadmore";
29
+ import { getTextColor, getTimeStamp, clientWidth, generateNavigateSlug, navigateTo, timestampToFormat } from "../../../utils/utils";
30
+ import "../MagazineHeaderCard/magazine-cards.m.css";
31
+ import { StateProvider } from "../../SharedContext";
32
+ import { StoryCard } from "../../Molecules/StoryCard";
33
+ import { HeroImage } from "../../Atoms/HeroImage";
34
+ import { StorycardContent } from "../../Molecules/StorycardContent";
35
+ import { Headline } from "../../Atoms/Headline";
36
+ import { AuthorWithTime } from "../../Atoms/AuthorWithTimestamp";
37
+ import { MagazineCoverImageCard } from "../../Atoms/MagazineCoverImage";
38
+ import { useDispatch, useSelector } from "react-redux";
39
+ import { get } from "lodash";
40
+ export var MagazineWidgetBase = function MagazineWidgetBase(_ref) {
41
+ var _ref$collection = _ref.collection,
42
+ collection = _ref$collection === void 0 ? {} : _ref$collection,
43
+ _ref$config = _ref.config,
44
+ config = _ref$config === void 0 ? {} : _ref$config;
45
+ var createdAt = collection["created-at"],
46
+ issueDate = collection["collection-date"],
47
+ summary = collection.summary,
48
+ items = collection.items,
49
+ _collection$metadata = collection.metadata,
50
+ metadata = _collection$metadata === void 0 ? {} : _collection$metadata;
51
+ var _config$theme = config.theme,
52
+ theme = _config$theme === void 0 ? "" : _config$theme,
53
+ _config$footerButton = config.footerButton,
54
+ footerButton = _config$footerButton === void 0 ? "" : _config$footerButton,
55
+ border = config.border,
56
+ _config$localizationC = config.localizationConfig,
57
+ localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC,
58
+ _config$navigate = config.navigate,
59
+ navigate = _config$navigate === void 0 ? true : _config$navigate,
60
+ _config$magazineSlug = config.magazineSlug,
61
+ magazineSlug = _config$magazineSlug === void 0 ? "" : _config$magazineSlug;
62
+ var textColor = getTextColor(theme);
63
+ var dispatch = useDispatch();
64
+ var qtConfig = useSelector(function (state) {
65
+ return get(state, ["qt", "config"], {});
66
+ });
67
+ var updatedMagazineSlug = magazineSlug || get(metadata, ["entities", "collectionEntities", "magazine", 0, "slug"], "");
68
+
69
+ var updatedConfig = _objectSpread(_objectSpread({}, config), {}, {
70
+ magazineSlug: updatedMagazineSlug
71
+ });
72
+
73
+ var url = generateNavigateSlug(collection, _objectSpread(_objectSpread({}, qtConfig), updatedConfig));
74
+ var sliceValue = 4;
75
+ var isTablet = clientWidth("tablet");
76
+ var timeStampConfig = {
77
+ isUpperCase: true,
78
+ disableMeridiem: true
79
+ };
80
+ var date = issueDate || createdAt;
81
+
82
+ var storyCards = function storyCards(items) {
83
+ return /*#__PURE__*/React.createElement("div", {
84
+ className: "magazine-cards-m_story-cards__1mNHC"
85
+ }, items.slice(0, sliceValue).map(function (storyItems, index) {
86
+ var story = storyItems.story;
87
+ var isMobile = clientWidth("mobile");
88
+
89
+ var borderBottom = function borderBottom() {
90
+ var lastStoryIndex = 3;
91
+ var lastTwoStoriesIndex = [2, 3];
92
+
93
+ if (isMobile && !lastStoryIndex === index) {
94
+ return "bottom";
95
+ }
96
+
97
+ if (!lastTwoStoriesIndex.includes(index)) {
98
+ return "bottom";
99
+ }
100
+ };
101
+
102
+ var borderSettings = border === "borderBottom" ? borderBottom() : "";
103
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StoryCard, {
104
+ story: story,
105
+ border: borderSettings,
106
+ isHorizontal: true,
107
+ config: config
108
+ }, /*#__PURE__*/React.createElement(HeroImage, {
109
+ story: story,
110
+ isHorizontal: true,
111
+ aspectRatio: [[4, 3]]
112
+ }), /*#__PURE__*/React.createElement(StorycardContent, {
113
+ story: story,
114
+ config: config
115
+ }, /*#__PURE__*/React.createElement(Headline, {
116
+ story: story,
117
+ premiumStoryIconConfig: config
118
+ }), /*#__PURE__*/React.createElement(AuthorWithTime, {
119
+ config: localizationConfig,
120
+ story: story,
121
+ prefix: "By"
122
+ }))));
123
+ }));
124
+ };
125
+
126
+ var bottomCard = function bottomCard() {
127
+ return /*#__PURE__*/React.createElement("div", {
128
+ className: "magazine-cards-m_widget__2aE9g"
129
+ }, storyCards(items), /*#__PURE__*/React.createElement(LoadmoreButton, {
130
+ collection: collection,
131
+ template: footerButton,
132
+ config: updatedConfig,
133
+ navigate: function navigate() {
134
+ return navigateTo(dispatch, url);
135
+ },
136
+ qtConfig: qtConfig
137
+ }));
138
+ };
139
+
140
+ return /*#__PURE__*/React.createElement("div", {
141
+ className: "full-width-with-padding arrow-component",
142
+ style: {
143
+ backgroundColor: theme
144
+ },
145
+ "data-test-id": "magazine-widget"
146
+ }, /*#__PURE__*/React.createElement("div", {
147
+ className: "arr-magazine-widget magazine-cards-m_magazine-header__2pSI3 magazine-cards-m_widget-button__3P7F7"
148
+ }, /*#__PURE__*/React.createElement(MagazineCoverImageCard, {
149
+ collection: collection,
150
+ config: updatedConfig
151
+ }), /*#__PURE__*/React.createElement("div", {
152
+ className: "magazine-cards-m_content__16_KC"
153
+ }, /*#__PURE__*/React.createElement("div", {
154
+ "data-test-id": "widget-date",
155
+ className: _getClassName("time ".concat(textColor), _styleModuleImportMap)
156
+ }, getTimeStamp(date, timestampToFormat, timeStampConfig)), /*#__PURE__*/React.createElement(CollectionName, {
157
+ collection: collection,
158
+ config: config,
159
+ navigate: navigate
160
+ }), /*#__PURE__*/React.createElement("div", {
161
+ "data-test-id": "widget-summary",
162
+ className: _getClassName("summary ".concat(textColor), _styleModuleImportMap)
163
+ }, summary), !isTablet && bottomCard()), isTablet && bottomCard()));
164
+ };
165
+ MagazineWidgetBase.propTypes = {
166
+ collection: PropTypes.shape({
167
+ "created-at": PropTypes.number,
168
+ summary: PropTypes.string,
169
+ items: PropTypes.array
170
+ }),
171
+ config: PropTypes.shape({
172
+ theme: PropTypes.string,
173
+ footerButton: PropTypes.string,
174
+ border: PropTypes.string
175
+ })
176
+ };
177
+ export var MagazineWidget = StateProvider(MagazineWidgetBase);
@@ -0,0 +1,40 @@
1
+ import React from "react";
2
+ import { generateCollection } from "../../Fixture";
3
+ import { MagazineWidgetBase } from "./index";
4
+ import Readme from "./README.md";
5
+ import { boolean as _boolean, color, text } from "@storybook/addon-knobs";
6
+ import { withStore, optionalSelect } from "../../../../storybook";
7
+ var collection = generateCollection({
8
+ stories: 4
9
+ });
10
+ var footerButton = {
11
+ NavigateToPage: "NavigateToPage",
12
+ CustomUrlPath: "CustomUrlPath"
13
+ };
14
+ var border = {
15
+ "default": "borderNone",
16
+ borderBottom: "borderBottom"
17
+ };
18
+ withStore("Rows/Magazine Widget", {
19
+ qt: {
20
+ config: {
21
+ "cdn-image": "thumbor-stg.assettype.com",
22
+ mountAt: "/sub-directory"
23
+ }
24
+ }
25
+ }, Readme).add("Magazine Widget", function () {
26
+ var contextConfig = {
27
+ theme: color("Color", "#ffffff"),
28
+ showButton: _boolean("Show button", true),
29
+ buttonText: text("Button text", "Subscribe"),
30
+ footerButton: optionalSelect("Button Settings", footerButton),
31
+ customUrlPath: text("Custom URL", ""),
32
+ showAuthor: _boolean("Show Author", true),
33
+ showTime: _boolean("Show Time", true),
34
+ border: optionalSelect("Border settings", border)
35
+ };
36
+ return /*#__PURE__*/React.createElement(MagazineWidgetBase, {
37
+ collection: collection,
38
+ config: contextConfig
39
+ });
40
+ });
@@ -0,0 +1,48 @@
1
+ # One Column Story List
2
+
3
+ The _OneColStoryList_ component is a basic [row](https://bradfrost.com/blog/post/atomic-web-design/#organisms) with a list of storycards.
4
+
5
+ ## Usage
6
+
7
+ ### Import
8
+ ```jsx
9
+ import { OneColStoryList } from "@quintype/arrow"
10
+ ```
11
+
12
+ ### Setting the Row context
13
+
14
+ ```jsx
15
+ const contextConfig = {
16
+ theme: "#ffffff",
17
+ collectionNameTemplate: "default",
18
+ sectionTagTemplate: "default",
19
+ border: "bottom",
20
+ showSection: true,
21
+ showAuthor: true,
22
+ showTime: true,
23
+ slotConfig: [{ type: "ad", component: () => <CustomAdOrWidget /> }],
24
+ showFooterButton: true,
25
+ buttonText: "Load More",
26
+ showRowTitle: true,
27
+ footerSlotConfig: { footerSlot: () => <CustomFooterComponent /> }
28
+ };
29
+ ```
30
+
31
+ ### Use as a component
32
+
33
+ #### Default Usage
34
+ ```jsx
35
+ <OneColStoryList story={story} theme="#ffffff" />
36
+ ```
37
+
38
+ #### OneColStoryList with border bottom
39
+
40
+ ```jsx
41
+ <OneColStoryList story={story} border="bottom" theme="#ffffff"/>
42
+ ```
43
+
44
+ #### OneColStoryList with full border
45
+
46
+ ```jsx
47
+ <OneColStoryList story={story} border="full" theme="#ffffff">
48
+ ```