@quintype/arrow 3.15.1-perf.5 → 3.15.1-perf.7
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.
- package/esm/components/Atoms/AdPlaceholder/ads.m.css +13 -0
- package/esm/components/Atoms/AdPlaceholder/index.js +28 -0
- package/esm/components/Atoms/Author/README.md +19 -0
- package/esm/components/Atoms/Author/author.m.css +65 -0
- package/esm/components/Atoms/Author/index.js +109 -0
- package/esm/components/Atoms/Author/stories.js +28 -0
- package/esm/components/Atoms/AuthorCard/README.md +47 -0
- package/esm/components/Atoms/AuthorCard/author-card.m.css +174 -0
- package/esm/components/Atoms/AuthorCard/author-card.test.js +93 -0
- package/esm/components/Atoms/AuthorCard/index.js +133 -0
- package/esm/components/Atoms/AuthorCard/stories.js +68 -0
- package/esm/components/Atoms/AuthorImage/README.md +31 -0
- package/esm/components/Atoms/AuthorImage/author-image.m.css +53 -0
- package/esm/components/Atoms/AuthorImage/index.js +69 -0
- package/esm/components/Atoms/AuthorImage/stories.js +26 -0
- package/esm/components/Atoms/AuthorWithTimestamp/README.md +12 -0
- package/esm/components/Atoms/AuthorWithTimestamp/author-with-timestamp.m.css +42 -0
- package/esm/components/Atoms/AuthorWithTimestamp/index.js +95 -0
- package/esm/components/Atoms/AuthorWithTimestamp/stories.js +22 -0
- package/esm/components/Atoms/BulletPoint/README.md +9 -0
- package/esm/components/Atoms/BulletPoint/bullet-point.m.css +14 -0
- package/esm/components/Atoms/BulletPoint/index.js +27 -0
- package/esm/components/Atoms/BulletPoint/stories.js +9 -0
- package/esm/components/Atoms/CaptionAttribution/README.md +15 -0
- package/esm/components/Atoms/CaptionAttribution/caption-attribution.m.css +40 -0
- package/esm/components/Atoms/CaptionAttribution/caption-attribution.test.js +50 -0
- package/esm/components/Atoms/CaptionAttribution/index.js +66 -0
- package/esm/components/Atoms/CaptionAttribution/stories.js +47 -0
- package/esm/components/Atoms/CollectionName/README.md +11 -0
- package/esm/components/Atoms/CollectionName/collection-name.m.css +94 -0
- package/esm/components/Atoms/CollectionName/index.js +152 -0
- package/esm/components/Atoms/CollectionName/stories.js +41 -0
- package/esm/components/Atoms/Divider/__snapshots__/divider.test.js.snap +18 -0
- package/esm/components/Atoms/Divider/divider.m.css +6 -0
- package/esm/components/Atoms/Divider/divider.test.js +9 -0
- package/esm/components/Atoms/Divider/index.js +34 -0
- package/esm/components/Atoms/Dot/dot.js +39 -0
- package/esm/components/Atoms/Dot/dot.m.css +6 -0
- package/esm/components/Atoms/ExtendedLoadMore/README.md +9 -0
- package/esm/components/Atoms/ExtendedLoadMore/__snapshots__/extended-load-more.test.js.snap +11 -0
- package/esm/components/Atoms/ExtendedLoadMore/extended-load-more.test.js +14 -0
- package/esm/components/Atoms/ExtendedLoadMore/index.js +183 -0
- package/esm/components/Atoms/FallbackImage/fallback.m.css +33 -0
- package/esm/components/Atoms/FallbackImage/index.js +29 -0
- package/esm/components/Atoms/Headline/README.md +7 -0
- package/esm/components/Atoms/Headline/headline.m.css +26 -0
- package/esm/components/Atoms/Headline/index.js +97 -0
- package/esm/components/Atoms/Headline/stories.js +39 -0
- package/esm/components/Atoms/HeroImage/README.md +13 -0
- package/esm/components/Atoms/HeroImage/hero-image.m.css +72 -0
- package/esm/components/Atoms/HeroImage/index.js +175 -0
- package/esm/components/Atoms/HeroImage/stories.js +23 -0
- package/esm/components/Atoms/Hyperlink/hyperlink.m.css +10 -0
- package/esm/components/Atoms/Hyperlink/index.js +20 -0
- package/esm/components/Atoms/LoadMoreTarget/index.js +24 -0
- package/esm/components/Atoms/Loadmore/README.md +0 -0
- package/esm/components/Atoms/Loadmore/__snapshots__/load-more.test.js.snap +25 -0
- package/esm/components/Atoms/Loadmore/index.js +61 -0
- package/esm/components/Atoms/Loadmore/load-more.m.css +23 -0
- package/esm/components/Atoms/Loadmore/load-more.test.js +26 -0
- package/esm/components/Atoms/Loadmore/stories.js +17 -0
- package/esm/components/Atoms/MagazineCoverImage/README.md +21 -0
- package/esm/components/Atoms/MagazineCoverImage/index.js +58 -0
- package/esm/components/Atoms/MagazineCoverImage/magazine-cover-image.m.css +24 -0
- package/esm/components/Atoms/MagazineCoverImage/stories.js +22 -0
- package/esm/components/Atoms/PremiumStoryIcon/index.js +54 -0
- package/esm/components/Atoms/PublishDetail/README.md +15 -0
- package/esm/components/Atoms/PublishDetail/index.js +104 -0
- package/esm/components/Atoms/PublishDetail/publish-details.m.css +47 -0
- package/esm/components/Atoms/PublishDetail/publish-details.test.js +38 -0
- package/esm/components/Atoms/PublishDetail/stories.js +20 -0
- package/esm/components/Atoms/ReadTime/README.md +13 -0
- package/esm/components/Atoms/ReadTime/index.js +46 -0
- package/esm/components/Atoms/ReadTime/read-time.m.css +25 -0
- package/esm/components/Atoms/ReadTime/read-time.test.js +29 -0
- package/esm/components/Atoms/ReadTime/stories.js +15 -0
- package/esm/components/Atoms/ScrollSnap/SliderArrow/index.js +64 -0
- package/esm/components/Atoms/ScrollSnap/SliderArrow/slider-arrow.m.css +45 -0
- package/esm/components/Atoms/ScrollSnap/SliderIndicator/index.js +53 -0
- package/esm/components/Atoms/ScrollSnap/SliderIndicator/slider-indicator.m.css +71 -0
- package/esm/components/Atoms/ScrollSnap/index.js +165 -0
- package/esm/components/Atoms/ScrollSnap/scroll-snap.m.css +27 -0
- package/esm/components/Atoms/SectionTag/README.md +11 -0
- package/esm/components/Atoms/SectionTag/index.js +79 -0
- package/esm/components/Atoms/SectionTag/section.m.css +53 -0
- package/esm/components/Atoms/SectionTag/stories.js +22 -0
- package/esm/components/Atoms/SocialSharePopup/README.md +25 -0
- package/esm/components/Atoms/SocialSharePopup/__snapshots__/social-share-popup.test.js.snap +653 -0
- package/esm/components/Atoms/SocialSharePopup/index.js +100 -0
- package/esm/components/Atoms/SocialSharePopup/social-share-popup.m.css +109 -0
- package/esm/components/Atoms/SocialSharePopup/social-share-popup.test.js +87 -0
- package/esm/components/Atoms/SocialSharePopup/stories.js +18 -0
- package/esm/components/Atoms/StoryElements/AlsoRead/README.md +49 -0
- package/esm/components/Atoms/StoryElements/AlsoRead/also-read.m.css +135 -0
- package/esm/components/Atoms/StoryElements/AlsoRead/also-read.test.js +97 -0
- package/esm/components/Atoms/StoryElements/AlsoRead/index.js +156 -0
- package/esm/components/Atoms/StoryElements/AlsoRead/stories.js +47 -0
- package/esm/components/Atoms/StoryElements/Attachment/README.md +21 -0
- package/esm/components/Atoms/StoryElements/Attachment/__snapshots__/attachment.test.js.snap +47 -0
- package/esm/components/Atoms/StoryElements/Attachment/attachment.m.css +125 -0
- package/esm/components/Atoms/StoryElements/Attachment/attachment.test.js +66 -0
- package/esm/components/Atoms/StoryElements/Attachment/index.js +86 -0
- package/esm/components/Atoms/StoryElements/Attachment/stories.js +62 -0
- package/esm/components/Atoms/StoryElements/BigFact/README.md +9 -0
- package/esm/components/Atoms/StoryElements/BigFact/big-fact.m.css +41 -0
- package/esm/components/Atoms/StoryElements/BigFact/big-fact.test.js +28 -0
- package/esm/components/Atoms/StoryElements/BigFact/index.js +56 -0
- package/esm/components/Atoms/StoryElements/BigFact/stories.js +11 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/README.md +49 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/Svg/curve.js +32 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/Svg/edge.js +32 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/Svg/icon.m.css +4 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.m.css +161 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/block-quote.test.js +71 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/index.js +154 -0
- package/esm/components/Atoms/StoryElements/BlockQuote/stories.js +42 -0
- package/esm/components/Atoms/StoryElements/Blurb/README.md +43 -0
- package/esm/components/Atoms/StoryElements/Blurb/blurb.m.css +55 -0
- package/esm/components/Atoms/StoryElements/Blurb/blurb.test.js +76 -0
- package/esm/components/Atoms/StoryElements/Blurb/index.js +96 -0
- package/esm/components/Atoms/StoryElements/Blurb/stories.js +38 -0
- package/esm/components/Atoms/StoryElements/Image/README.md +13 -0
- package/esm/components/Atoms/StoryElements/Image/image.m.css +21 -0
- package/esm/components/Atoms/StoryElements/Image/image.test.js +19 -0
- package/esm/components/Atoms/StoryElements/Image/index.js +87 -0
- package/esm/components/Atoms/StoryElements/Image/stories.js +28 -0
- package/esm/components/Atoms/StoryElements/ImageSlideshow/README.md +13 -0
- package/esm/components/Atoms/StoryElements/ImageSlideshow/image-slideshow.m.css +49 -0
- package/esm/components/Atoms/StoryElements/ImageSlideshow/index.js +82 -0
- package/esm/components/Atoms/StoryElements/ImageSlideshow/stories.js +31 -0
- package/esm/components/Atoms/StoryElements/QuestionAnswer/README.md +56 -0
- package/esm/components/Atoms/StoryElements/QuestionAnswer/index.js +176 -0
- package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.m.css +106 -0
- package/esm/components/Atoms/StoryElements/QuestionAnswer/question-answer.test.js +130 -0
- package/esm/components/Atoms/StoryElements/QuestionAnswer/stories.js +102 -0
- package/esm/components/Atoms/StoryElements/Quote/README.md +41 -0
- package/esm/components/Atoms/StoryElements/Quote/index.js +87 -0
- package/esm/components/Atoms/StoryElements/Quote/quote.m.css +111 -0
- package/esm/components/Atoms/StoryElements/Quote/quote.test.js +61 -0
- package/esm/components/Atoms/StoryElements/Quote/stories.js +39 -0
- package/esm/components/Atoms/StoryElements/Reference/README.md +9 -0
- package/esm/components/Atoms/StoryElements/Reference/index.js +80 -0
- package/esm/components/Atoms/StoryElements/Reference/reference.m.css +42 -0
- package/esm/components/Atoms/StoryElements/Reference/reference.test.js +38 -0
- package/esm/components/Atoms/StoryElements/Reference/stories.js +16 -0
- package/esm/components/Atoms/StoryElements/StoryElement/README.md +10 -0
- package/esm/components/Atoms/StoryElements/StoryElement/index.js +30 -0
- package/esm/components/Atoms/StoryElements/StoryElement/stories.js +17 -0
- package/esm/components/Atoms/StoryElements/StoryElement/storyelement.test.js +14 -0
- package/esm/components/Atoms/StoryElements/Summary/README.md +56 -0
- package/esm/components/Atoms/StoryElements/Summary/index.js +98 -0
- package/esm/components/Atoms/StoryElements/Summary/stories.js +41 -0
- package/esm/components/Atoms/StoryElements/Summary/summary.m.css +121 -0
- package/esm/components/Atoms/StoryElements/Summary/summary.test.js +83 -0
- package/esm/components/Atoms/StoryElements/Text/README.md +32 -0
- package/esm/components/Atoms/StoryElements/Text/index.js +74 -0
- package/esm/components/Atoms/StoryElements/Text/stories.js +56 -0
- package/esm/components/Atoms/StoryElements/Text/text.m.css +78 -0
- package/esm/components/Atoms/StoryElements/Text/text.test.js +70 -0
- package/esm/components/Atoms/StoryElements/Video/README.md +9 -0
- package/esm/components/Atoms/StoryElements/Video/index.js +37 -0
- package/esm/components/Atoms/StoryElements/Video/stories.js +29 -0
- package/esm/components/Atoms/StoryElements/Video/video.m.css +89 -0
- package/esm/components/Atoms/StoryElements/Video/video.test.js +14 -0
- package/esm/components/Atoms/StoryElements/imageGallery/README.md +18 -0
- package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.m.css +52 -0
- package/esm/components/Atoms/StoryElements/imageGallery/image-gallery.test.js +17 -0
- package/esm/components/Atoms/StoryElements/imageGallery/index.js +112 -0
- package/esm/components/Atoms/StoryElements/imageGallery/stories.js +22 -0
- package/esm/components/Atoms/StoryElements/withElementWrapper.js +21 -0
- package/esm/components/Atoms/StoryElements/withElementWrapper.test.js +49 -0
- package/esm/components/Atoms/StoryHeadline/index.js +57 -0
- package/esm/components/Atoms/StoryHeadline/story-headline.m.css +36 -0
- package/esm/components/Atoms/StoryTags/README.md +9 -0
- package/esm/components/Atoms/StoryTags/index.js +47 -0
- package/esm/components/Atoms/StoryTags/stories.js +23 -0
- package/esm/components/Atoms/StoryTags/story-tags.test.js +16 -0
- package/esm/components/Atoms/StoryTags/tags.m.css +34 -0
- package/esm/components/Atoms/Subheadline/README.md +17 -0
- package/esm/components/Atoms/Subheadline/index.js +52 -0
- package/esm/components/Atoms/Subheadline/stories.js +21 -0
- package/esm/components/Atoms/Subheadline/subheadline.m.css +17 -0
- package/esm/components/Atoms/TimeStamp/README.md +9 -0
- package/esm/components/Atoms/TimeStamp/index.js +39 -0
- package/esm/components/Atoms/TimeStamp/stories.js +11 -0
- package/esm/components/Atoms/TimeStamp/timestamp.m.css +22 -0
- package/esm/components/Fixture/config.json +2703 -0
- package/esm/components/Fixture/dummy-collection.js +2547 -0
- package/esm/components/Fixture/dummyStory.js +2089 -0
- package/esm/components/Fixture/index.js +433 -0
- package/esm/components/Fixture/slot-config.js +26 -0
- package/esm/components/Molecules/FullScreenImages/fullscreenimages.scss +56 -0
- package/esm/components/Molecules/FullScreenImages/index.js +119 -0
- package/esm/components/Molecules/KeyEvents/README.md +21 -0
- package/esm/components/Molecules/KeyEvents/index.js +152 -0
- package/esm/components/Molecules/KeyEvents/key-events.m.css +89 -0
- package/esm/components/Molecules/KeyEvents/stories.js +25 -0
- package/esm/components/Molecules/PageIntroductionCard/README.md +25 -0
- package/esm/components/Molecules/PageIntroductionCard/index.js +77 -0
- package/esm/components/Molecules/PageIntroductionCard/page-intro-card.m.css +61 -0
- package/esm/components/Molecules/PageIntroductionCard/stories.js +17 -0
- package/esm/components/Molecules/PortraitStoryCard/README.md +10 -0
- package/esm/components/Molecules/PortraitStoryCard/index.js +52 -0
- package/esm/components/Molecules/PortraitStoryCard/portrait-story-card.m.css +38 -0
- package/esm/components/Molecules/PortraitStoryCard/stories.js +24 -0
- package/esm/components/Molecules/SliderHorizontalCard/README.md +14 -0
- package/esm/components/Molecules/SliderHorizontalCard/index.js +69 -0
- package/esm/components/Molecules/SliderHorizontalCard/slider-horizontal-card.m.css +42 -0
- package/esm/components/Molecules/SliderHorizontalCard/stories.js +27 -0
- package/esm/components/Molecules/SocialShareTemplate/README.md +118 -0
- package/esm/components/Molecules/SocialShareTemplate/__snapshots__/social-share-template.test.js.snap +738 -0
- package/esm/components/Molecules/SocialShareTemplate/index.js +164 -0
- package/esm/components/Molecules/SocialShareTemplate/social-share-data.js +90 -0
- package/esm/components/Molecules/SocialShareTemplate/social-share-template.m.css +174 -0
- package/esm/components/Molecules/SocialShareTemplate/social-share-template.test.js +108 -0
- package/esm/components/Molecules/SocialShareTemplate/stories.js +38 -0
- package/esm/components/Molecules/StoryCard/README.md +75 -0
- package/esm/components/Molecules/StoryCard/READMEBGIMAGE.md +25 -0
- package/esm/components/Molecules/StoryCard/READMEBORDER.md +61 -0
- package/esm/components/Molecules/StoryCard/index.js +200 -0
- package/esm/components/Molecules/StoryCard/stories.js +274 -0
- package/esm/components/Molecules/StoryCard/storycard.m.css +158 -0
- package/esm/components/Molecules/StoryCardWithBulletPoint/README.md +9 -0
- package/esm/components/Molecules/StoryCardWithBulletPoint/index.js +43 -0
- package/esm/components/Molecules/StoryCardWithBulletPoint/stories.js +28 -0
- package/esm/components/Molecules/StoryCardWithBulletPoint/story-card-with-bullet-point.m.css +7 -0
- package/esm/components/Molecules/StoryElementCard/README.md +9 -0
- package/esm/components/Molecules/StoryElementCard/index.js +494 -0
- package/esm/components/Molecules/StoryElementCard/stories.js +25 -0
- package/esm/components/Molecules/StoryElementCard/story-element-card.m.css +78 -0
- package/esm/components/Molecules/StorycardContent/README.md +34 -0
- package/esm/components/Molecules/StorycardContent/index.js +86 -0
- package/esm/components/Molecules/StorycardContent/stories.js +45 -0
- package/esm/components/Molecules/StorycardContent/storycardContent.m.css +21 -0
- package/esm/components/Rows/AlternateCollectionFilter/README.md +38 -0
- package/esm/components/Rows/AlternateCollectionFilter/alternate-collection-filter.m.css +254 -0
- package/esm/components/Rows/AlternateCollectionFilter/index.js +288 -0
- package/esm/components/Rows/AlternateCollectionFilter/stories.js +68 -0
- package/esm/components/Rows/AsideCollection/README.md +27 -0
- package/esm/components/Rows/AsideCollection/aside-collection.m.css +103 -0
- package/esm/components/Rows/AsideCollection/aside-collection.test.js +32 -0
- package/esm/components/Rows/AsideCollection/index.js +253 -0
- package/esm/components/Rows/AsideCollection/stories.js +48 -0
- package/esm/components/Rows/AstrologyCollection/README.md +40 -0
- package/esm/components/Rows/AstrologyCollection/astrology-collection.m.css +165 -0
- package/esm/components/Rows/AstrologyCollection/index.js +272 -0
- package/esm/components/Rows/AstrologyCollection/stories.js +61 -0
- package/esm/components/Rows/AuthorIntroductionCard/README.md +43 -0
- package/esm/components/Rows/AuthorIntroductionCard/author-intro.m.css +278 -0
- package/esm/components/Rows/AuthorIntroductionCard/author-intro.test.js +148 -0
- package/esm/components/Rows/AuthorIntroductionCard/index.js +157 -0
- package/esm/components/Rows/AuthorIntroductionCard/stories.js +46 -0
- package/esm/components/Rows/AuthorsList/README.md +24 -0
- package/esm/components/Rows/AuthorsList/author-list.test.js +66 -0
- package/esm/components/Rows/AuthorsList/authors-list.m.css +22 -0
- package/esm/components/Rows/AuthorsList/index.js +64 -0
- package/esm/components/Rows/AuthorsList/stories.js +62 -0
- package/esm/components/Rows/CollectionFilter/README.md +39 -0
- package/esm/components/Rows/CollectionFilter/collection-filter.m.css +213 -0
- package/esm/components/Rows/CollectionFilter/index.js +366 -0
- package/esm/components/Rows/CollectionFilter/stories.js +78 -0
- package/esm/components/Rows/ElevenStories/11-stories.m.css +85 -0
- package/esm/components/Rows/ElevenStories/README.md +39 -0
- package/esm/components/Rows/ElevenStories/index.js +418 -0
- package/esm/components/Rows/ElevenStories/stories.js +71 -0
- package/esm/components/Rows/FourColFiveStories/README.md +37 -0
- package/esm/components/Rows/FourColFiveStories/four-col-five-stories.m.css +112 -0
- package/esm/components/Rows/FourColFiveStories/index.js +179 -0
- package/esm/components/Rows/FourColFiveStories/stories.js +67 -0
- package/esm/components/Rows/FourColGrid/README.md +39 -0
- package/esm/components/Rows/FourColGrid/four-col.m.css +50 -0
- package/esm/components/Rows/FourColGrid/index.js +167 -0
- package/esm/components/Rows/FourColGrid/stories.js +68 -0
- package/esm/components/Rows/FourColPortraitStories/README.md +38 -0
- package/esm/components/Rows/FourColPortraitStories/four-col-portrait-stories.m.css +45 -0
- package/esm/components/Rows/FourColPortraitStories/index.js +153 -0
- package/esm/components/Rows/FourColPortraitStories/stories.js +68 -0
- package/esm/components/Rows/FourColSixteenStories/README.md +35 -0
- package/esm/components/Rows/FourColSixteenStories/four-col-sixteen-stories.m.css +141 -0
- package/esm/components/Rows/FourColSixteenStories/index.js +157 -0
- package/esm/components/Rows/FourColSixteenStories/stories.js +43 -0
- package/esm/components/Rows/FourColTwelveStory/README.md +39 -0
- package/esm/components/Rows/FourColTwelveStory/four-col-twelve-story.m.css +71 -0
- package/esm/components/Rows/FourColTwelveStory/index.js +219 -0
- package/esm/components/Rows/FourColTwelveStory/stories.js +107 -0
- package/esm/components/Rows/FourStorySlider/README.md +45 -0
- package/esm/components/Rows/FourStorySlider/four-story-slider.m.css +78 -0
- package/esm/components/Rows/FourStorySlider/index.js +145 -0
- package/esm/components/Rows/FourStorySlider/stories.js +125 -0
- package/esm/components/Rows/FourStorySliderPortrait/README.md +45 -0
- package/esm/components/Rows/FourStorySliderPortrait/four-story-slider-portrait.m.css +221 -0
- package/esm/components/Rows/FourStorySliderPortrait/index.js +148 -0
- package/esm/components/Rows/FourStorySliderPortrait/stories.js +125 -0
- package/esm/components/Rows/FourTabbedBigStorySlider/README.md +39 -0
- package/esm/components/Rows/FourTabbedBigStorySlider/four-tabbed-big-story-slider.m.css +265 -0
- package/esm/components/Rows/FourTabbedBigStorySlider/index.js +221 -0
- package/esm/components/Rows/FourTabbedBigStorySlider/stories.js +59 -0
- package/esm/components/Rows/FullScreenSlider/README.md +46 -0
- package/esm/components/Rows/FullScreenSlider/full-screen-slider.m.css +155 -0
- package/esm/components/Rows/FullScreenSlider/index.js +140 -0
- package/esm/components/Rows/FullScreenSlider/stories.js +113 -0
- package/esm/components/Rows/HalfScreenSlider/README.md +43 -0
- package/esm/components/Rows/HalfScreenSlider/half-screen-slider.m.css +80 -0
- package/esm/components/Rows/HalfScreenSlider/index.js +124 -0
- package/esm/components/Rows/HalfScreenSlider/stories.js +118 -0
- package/esm/components/Rows/ListComponent/README.md +48 -0
- package/esm/components/Rows/ListComponent/index.js +176 -0
- package/esm/components/Rows/ListComponent/list-component.m.css +65 -0
- package/esm/components/Rows/ListComponent/stories.js +65 -0
- package/esm/components/Rows/Listicles/README.md +32 -0
- package/esm/components/Rows/Listicles/index.js +240 -0
- package/esm/components/Rows/Listicles/listicles.m.css +149 -0
- package/esm/components/Rows/Listicles/stories.js +53 -0
- package/esm/components/Rows/MagazineEditions/README.md +21 -0
- package/esm/components/Rows/MagazineEditions/index.js +123 -0
- package/esm/components/Rows/MagazineEditions/magazine-editions.m.css +50 -0
- package/esm/components/Rows/MagazineEditions/magazine-editions.test.js +30 -0
- package/esm/components/Rows/MagazineEditions/stories.js +41 -0
- package/esm/components/Rows/MagazineHeaderCard/README.md +21 -0
- package/esm/components/Rows/MagazineHeaderCard/index.js +117 -0
- package/esm/components/Rows/MagazineHeaderCard/magazine-cards.m.css +106 -0
- package/esm/components/Rows/MagazineHeaderCard/stories.js +34 -0
- package/esm/components/Rows/MagazineWidget/README.md +21 -0
- package/esm/components/Rows/MagazineWidget/index.js +177 -0
- package/esm/components/Rows/MagazineWidget/stories.js +40 -0
- package/esm/components/Rows/OneColStoryList/README.md +48 -0
- package/esm/components/Rows/OneColStoryList/index.js +245 -0
- package/esm/components/Rows/OneColStoryList/one-col-story-list.m.css +81 -0
- package/esm/components/Rows/OneColStoryList/stories.js +78 -0
- package/esm/components/Rows/OpinionCollection/README.md +36 -0
- package/esm/components/Rows/OpinionCollection/index.js +205 -0
- package/esm/components/Rows/OpinionCollection/opinion-collection.m.css +226 -0
- package/esm/components/Rows/OpinionCollection/stories.js +92 -0
- package/esm/components/Rows/SixColSixStories/README.md +37 -0
- package/esm/components/Rows/SixColSixStories/index.js +179 -0
- package/esm/components/Rows/SixColSixStories/six-col-six-stories.m.css +75 -0
- package/esm/components/Rows/SixColSixStories/stories.js +74 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/README.md +19 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/__snapshots__/listicle-story.test.js.snap +841 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/index.js +330 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.m.css +249 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/listicle-story.test.js +46 -0
- package/esm/components/Rows/StoryTemplates/ListicleStoryTemplates/stories.js +119 -0
- package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/README.md +25 -0
- package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/index.js +97 -0
- package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/live-blog.m.css +326 -0
- package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/stories.js +118 -0
- package/esm/components/Rows/StoryTemplates/LiveBlogStoryTemplates/templates.js +418 -0
- package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/index.js +294 -0
- package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo-story.test.js +163 -0
- package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/photo.m.css +175 -0
- package/esm/components/Rows/StoryTemplates/PhotoStoryTemplates/stories.js +124 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/README.md +49 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/index.js +100 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/stories.js +124 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/templates.js +285 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.m.css +449 -0
- package/esm/components/Rows/StoryTemplates/TextStoryTemplates/text-story.test.js +242 -0
- package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/README.md +31 -0
- package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/index.js +239 -0
- package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/stories.js +214 -0
- package/esm/components/Rows/StoryTemplates/VideoStoryTemplates/video-story.m.css +195 -0
- package/esm/components/Rows/TagIntroductionCard/README.md +11 -0
- package/esm/components/Rows/TagIntroductionCard/index.js +45 -0
- package/esm/components/Rows/TagIntroductionCard/stories.js +20 -0
- package/esm/components/Rows/TagIntroductionCard/tag-intro-card.module.css +25 -0
- package/esm/components/Rows/ThreeColFlexStories/README.md +38 -0
- package/esm/components/Rows/ThreeColFlexStories/index.js +227 -0
- package/esm/components/Rows/ThreeColFlexStories/stories.js +74 -0
- package/esm/components/Rows/ThreeColFlexStories/three-col-flex-stories.m.css +60 -0
- package/esm/components/Rows/ThreeColFourteenStory/README.md +28 -0
- package/esm/components/Rows/ThreeColFourteenStory/index.js +154 -0
- package/esm/components/Rows/ThreeColFourteenStory/stories.js +65 -0
- package/esm/components/Rows/ThreeColFourteenStory/three-col-fourteen-story.m.css +51 -0
- package/esm/components/Rows/ThreeColGrid/README.md +36 -0
- package/esm/components/Rows/ThreeColGrid/index.js +176 -0
- package/esm/components/Rows/ThreeColGrid/stories.js +78 -0
- package/esm/components/Rows/ThreeColGrid/three-col.m.css +43 -0
- package/esm/components/Rows/ThreeColSevenStory/README.md +36 -0
- package/esm/components/Rows/ThreeColSevenStory/index.js +201 -0
- package/esm/components/Rows/ThreeColSevenStory/stories.js +74 -0
- package/esm/components/Rows/ThreeColSevenStory/three-col-seven-story.m.css +44 -0
- package/esm/components/Rows/ThreeColSixStories/README.md +40 -0
- package/esm/components/Rows/ThreeColSixStories/index.js +183 -0
- package/esm/components/Rows/ThreeColSixStories/stories.js +74 -0
- package/esm/components/Rows/ThreeColSixStories/three-col-six-stories.m.css +32 -0
- package/esm/components/Rows/ThreeColTwelveStories/README.md +41 -0
- package/esm/components/Rows/ThreeColTwelveStories/index.js +165 -0
- package/esm/components/Rows/ThreeColTwelveStories/stories.js +53 -0
- package/esm/components/Rows/ThreeColTwelveStories/three-col-twelve-stories.m.css +83 -0
- package/esm/components/Rows/TwoColFourStory/README.md +33 -0
- package/esm/components/Rows/TwoColFourStory/index.js +174 -0
- package/esm/components/Rows/TwoColFourStory/stories.js +63 -0
- package/esm/components/Rows/TwoColFourStory/two-col-four-story.m.css +64 -0
- package/esm/components/Rows/TwoColFourStoryHighlight/README.md +35 -0
- package/esm/components/Rows/TwoColFourStoryHighlight/index.js +164 -0
- package/esm/components/Rows/TwoColFourStoryHighlight/stories.js +50 -0
- package/esm/components/Rows/TwoColFourStoryHighlight/two-col-four-story-highlight.m.css +116 -0
- package/esm/components/Rows/TwoColSevenStories/README.md +37 -0
- package/esm/components/Rows/TwoColSevenStories/index.js +193 -0
- package/esm/components/Rows/TwoColSevenStories/stories.js +102 -0
- package/esm/components/Rows/TwoColSevenStories/two-col-seven-stories.m.css +175 -0
- package/esm/components/Rows/TwoColSixStories/README.md +36 -0
- package/esm/components/Rows/TwoColSixStories/index.js +185 -0
- package/esm/components/Rows/TwoColSixStories/stories.js +67 -0
- package/esm/components/Rows/TwoColSixStories/two-col-six-stories.m.css +135 -0
- package/esm/components/Rows/TwoColTenStoriesSidebar/README.md +34 -0
- package/esm/components/Rows/TwoColTenStoriesSidebar/index.js +191 -0
- package/esm/components/Rows/TwoColTenStoriesSidebar/stories.js +53 -0
- package/esm/components/Rows/TwoColTenStoriesSidebar/two-col-ten-stories-sidebar.m.css +52 -0
- package/esm/components/Rows/TwoColThreeStory/README.md +40 -0
- package/esm/components/Rows/TwoColThreeStory/index.js +146 -0
- package/esm/components/Rows/TwoColThreeStory/stories.js +63 -0
- package/esm/components/Rows/TwoColThreeStory/two-col-three-story.m.css +36 -0
- package/esm/components/SharedContext.js +17 -0
- package/esm/components/Svgs/Loading/loading.js +140 -0
- package/esm/components/Svgs/Loading/loading.m.css +5 -0
- package/esm/components/Svgs/SocialIcons/facebook.js +18 -0
- package/esm/components/Svgs/SocialIcons/instagram.js +33 -0
- package/esm/components/Svgs/SocialIcons/linkedin.js +18 -0
- package/esm/components/Svgs/SocialIcons/pinterest.js +12 -0
- package/esm/components/Svgs/SocialIcons/twitter.js +18 -0
- package/esm/components/Svgs/SocialIcons/whatsapp.js +19 -0
- package/esm/components/Svgs/SocialIcons/youtube.js +19 -0
- package/esm/components/Svgs/caret-right.svg +3 -0
- package/esm/components/Svgs/clock-icon.js +19 -0
- package/esm/components/Svgs/close-icon.js +22 -0
- package/esm/components/Svgs/crown.js +40 -0
- package/esm/components/Svgs/fallbackImage.js +45 -0
- package/esm/components/Svgs/hyperlink.js +22 -0
- package/esm/components/Svgs/key.js +39 -0
- package/esm/components/Svgs/left-arrow.js +24 -0
- package/esm/components/Svgs/liveicon.js +16 -0
- package/esm/components/Svgs/lock.js +40 -0
- package/esm/components/Svgs/right-arrow.js +24 -0
- package/esm/components/Svgs/share-icon.js +19 -0
- package/esm/components/Svgs/star.js +34 -0
- package/esm/components/Svgs/user-fallback-icon.js +22 -0
- package/esm/components/Typography/README.md +7 -0
- package/esm/components/Typography/index.js +33 -0
- package/esm/components/Typography/stories.js +15 -0
- package/esm/components/Typography/style.m.css +11 -0
- package/esm/entry-points.js +291 -0
- package/esm/guide/stories.js +22 -0
- package/esm/hydration-component/index.js +41 -0
- package/esm/hydration-component/useNearScreen.js +71 -0
- package/esm/index.js +88 -0
- package/esm/rows.js +40 -0
- package/esm/utils/testing-utils.js +8 -0
- package/esm/utils/utils.js +363 -0
- package/esm/utils/utils.test.js +46 -0
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { color, boolean as _boolean, text } from "@storybook/addon-knobs";
|
|
3
|
+
import { withStore, optionalSelect, sectionTagTemplates, collectionNameTemplates } from "../../../../storybook";
|
|
4
|
+
import { TwoColTenStoriesSidebarBase } from "./index";
|
|
5
|
+
import Readme from "./README.md";
|
|
6
|
+
import { generateCollections } from "../../Fixture";
|
|
7
|
+
import { AdPlaceholder } from "../../Atoms/AdPlaceholder";
|
|
8
|
+
var collection = generateCollections(2);
|
|
9
|
+
|
|
10
|
+
var configurableSlot = function configurableSlot() {
|
|
11
|
+
return /*#__PURE__*/React.createElement(AdPlaceholder, {
|
|
12
|
+
height: "250px",
|
|
13
|
+
width: "300px"
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
withStore("Rows/Two Col Ten Stories Sidebar ", {
|
|
18
|
+
qt: {
|
|
19
|
+
config: {
|
|
20
|
+
"cdn-image": "thumbor-stg.assettype.com"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, Readme).addDecorator(function (story) {
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
style: {
|
|
26
|
+
maxWidth: "1000px",
|
|
27
|
+
margin: "auto"
|
|
28
|
+
}
|
|
29
|
+
}, story());
|
|
30
|
+
}).add("Default", function () {
|
|
31
|
+
var contextConfig = {
|
|
32
|
+
collectionNameBorderColor: color("Collection Name Border Color", "#3a9fdd"),
|
|
33
|
+
borderColor: color("Section Tag Border Color", "#3a9fdd"),
|
|
34
|
+
theme: color("color", "#ffffff"),
|
|
35
|
+
collectionNameTemplate: optionalSelect("Collection Name Templates", collectionNameTemplates),
|
|
36
|
+
sectionTagTemplate: optionalSelect("Section Tag Templates", sectionTagTemplates),
|
|
37
|
+
showSection: _boolean("Show Section", true),
|
|
38
|
+
showAuthor: _boolean("Show Author", true),
|
|
39
|
+
showTime: _boolean("Show Time", true),
|
|
40
|
+
buttonText: text("Footer text", "Read More"),
|
|
41
|
+
showRowTitle: _boolean("Row title", true),
|
|
42
|
+
showButton: _boolean("Show button", true),
|
|
43
|
+
showReadTime: _boolean("Read time", true),
|
|
44
|
+
slotConfig: [{
|
|
45
|
+
type: "ad",
|
|
46
|
+
component: configurableSlot
|
|
47
|
+
}]
|
|
48
|
+
};
|
|
49
|
+
return /*#__PURE__*/React.createElement(TwoColTenStoriesSidebarBase, {
|
|
50
|
+
collection: collection,
|
|
51
|
+
config: contextConfig
|
|
52
|
+
});
|
|
53
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@value viewports: "../../../../assets/stylesheets/viewports.m.css";
|
|
2
|
+
@value mobile from viewports;
|
|
3
|
+
@value desktop from viewports;
|
|
4
|
+
|
|
5
|
+
.component-wrapper {
|
|
6
|
+
padding: 0 var(--arrow-spacing-s);
|
|
7
|
+
@media (min-width: desktop) {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: 2fr 1fr;
|
|
10
|
+
grid-column-gap: var(--arrow-spacing-l);
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.collection-wrapper {
|
|
16
|
+
padding: 0 var(--arrow-spacing-s);
|
|
17
|
+
@media (min-width: desktop) {
|
|
18
|
+
padding: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sidebar-collection-wrapper {
|
|
23
|
+
padding: 0 var(--arrow-spacing-s);
|
|
24
|
+
@media (min-width: desktop) {
|
|
25
|
+
padding: 0;
|
|
26
|
+
padding-left: var(--arrow-spacing-m);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sidebar-cards-container {
|
|
31
|
+
@media (min-width: mobile) {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: 1fr 1fr;
|
|
34
|
+
grid-column-gap: var(--arrow-spacing-l);
|
|
35
|
+
margin: var(--arrow-spacing-l) 0;
|
|
36
|
+
}
|
|
37
|
+
@media (min-width: desktop) {
|
|
38
|
+
display: block;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.story-cards > .card,
|
|
43
|
+
.story-cards > .first-card {
|
|
44
|
+
margin-bottom: var(--arrow-spacing-s);
|
|
45
|
+
@media (min-width: mobile) {
|
|
46
|
+
margin-bottom: var(--arrow-spacing-m);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sidebar-cards-container .card {
|
|
51
|
+
margin-bottom: var(--arrow-spacing-m);
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Two Col Three Stories
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
The _TwoColThreeStories_ component is a basic [row](https://bradfrost.com/blog/post/atomic-web-design/#organisms) with three StoryCards.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
There are no configurable slots in this row.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
### Import
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
import { TwoColThreeStories } from "@quintype/arrow"
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Setting the Row context
|
|
19
|
+
```jsx
|
|
20
|
+
const contextConfig = {
|
|
21
|
+
theme: "#ffffff",
|
|
22
|
+
border: "",
|
|
23
|
+
collectionNameTemplate: "default",
|
|
24
|
+
sectionTagTemplate: "default",
|
|
25
|
+
showSection: true,
|
|
26
|
+
showAuthor: true,
|
|
27
|
+
showTime: true,
|
|
28
|
+
showFooterButton: true,
|
|
29
|
+
buttonText: "LoadMore",
|
|
30
|
+
showRowTitle: true,
|
|
31
|
+
footerSlotConfig: { footerSlot: () => <CustomFooterComponent /> }
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Use as a component
|
|
36
|
+
```jsx
|
|
37
|
+
<TwoColThreeStories collection={collection} config={contextConfig} />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
<!-- PROPS -->
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { collectionToStories } from "@quintype/components";
|
|
4
|
+
import { CollectionName } from "../../Atoms/CollectionName";
|
|
5
|
+
import { HeroImage } from "../../Atoms/HeroImage";
|
|
6
|
+
import { StorycardContent } from "../../Molecules/StorycardContent";
|
|
7
|
+
import { StoryCard } from "../../Molecules/StoryCard";
|
|
8
|
+
import { StateProvider } from "../../SharedContext";
|
|
9
|
+
import { generateNavigateSlug, getTextColor, navigateTo } from "../../../utils/utils";
|
|
10
|
+
import { LoadmoreButton } from "../../Atoms/Loadmore";
|
|
11
|
+
import "./two-col-three-story.m.css";
|
|
12
|
+
import { useDispatch, useSelector } from "react-redux";
|
|
13
|
+
import { get } from "lodash";
|
|
14
|
+
export var TwoColThreeStoriesBase = function TwoColThreeStoriesBase(_ref) {
|
|
15
|
+
var collection = _ref.collection,
|
|
16
|
+
_ref$config = _ref.config,
|
|
17
|
+
config = _ref$config === void 0 ? {} : _ref$config;
|
|
18
|
+
var items = collectionToStories(collection);
|
|
19
|
+
var _config$border = config.border,
|
|
20
|
+
border = _config$border === void 0 ? "" : _config$border,
|
|
21
|
+
_config$borderColor = config.borderColor,
|
|
22
|
+
borderColor = _config$borderColor === void 0 ? "" : _config$borderColor,
|
|
23
|
+
_config$collectionNam = config.collectionNameBorderColor,
|
|
24
|
+
collectionNameBorderColor = _config$collectionNam === void 0 ? "" : _config$collectionNam,
|
|
25
|
+
_config$theme = config.theme,
|
|
26
|
+
theme = _config$theme === void 0 ? "" : _config$theme,
|
|
27
|
+
_config$collectionNam2 = config.collectionNameTemplate,
|
|
28
|
+
collectionNameTemplate = _config$collectionNam2 === void 0 ? "" : _config$collectionNam2,
|
|
29
|
+
_config$footerSlotCon = config.footerSlotConfig,
|
|
30
|
+
footerSlotConfig = _config$footerSlotCon === void 0 ? {} : _config$footerSlotCon,
|
|
31
|
+
_config$footerButton = config.footerButton,
|
|
32
|
+
footerButton = _config$footerButton === void 0 ? "" : _config$footerButton;
|
|
33
|
+
var footerSlot = footerSlotConfig.footerSlot;
|
|
34
|
+
|
|
35
|
+
if (items.length < 1) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var dispatch = useDispatch();
|
|
40
|
+
var qtConfig = useSelector(function (state) {
|
|
41
|
+
return get(state, ["qt", "config"], {});
|
|
42
|
+
});
|
|
43
|
+
var url = generateNavigateSlug(collection, qtConfig);
|
|
44
|
+
var textColor = getTextColor(theme);
|
|
45
|
+
var footerSlotComp = footerSlot ? footerSlot() : null;
|
|
46
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
className: "full-width-with-padding arrow-component",
|
|
48
|
+
"data-test-id": "two-col-three-stories",
|
|
49
|
+
style: {
|
|
50
|
+
backgroundColor: theme,
|
|
51
|
+
color: textColor
|
|
52
|
+
}
|
|
53
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
54
|
+
className: "two-col-three-story-m_two-col-three-story__2RBJq"
|
|
55
|
+
}, /*#__PURE__*/React.createElement(CollectionName, {
|
|
56
|
+
collection: collection,
|
|
57
|
+
collectionNameTemplate: collectionNameTemplate,
|
|
58
|
+
collectionNameBorderColor: collectionNameBorderColor
|
|
59
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
className: "two-col-three-story-m_wrapper__3gGEO"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
62
|
+
className: "two-col-three-story-m_first-card__2J2Ea"
|
|
63
|
+
}, /*#__PURE__*/React.createElement(StoryCard, {
|
|
64
|
+
story: items[0],
|
|
65
|
+
theme: theme,
|
|
66
|
+
border: border,
|
|
67
|
+
bgImgContentOverlap: true,
|
|
68
|
+
headerLevel: "2",
|
|
69
|
+
aspectRatio: [[16, 9], [16, 9]],
|
|
70
|
+
config: config
|
|
71
|
+
}, /*#__PURE__*/React.createElement(HeroImage, {
|
|
72
|
+
story: items[0],
|
|
73
|
+
aspectRatio: [[16, 9], [16, 9]]
|
|
74
|
+
}), /*#__PURE__*/React.createElement(StorycardContent, {
|
|
75
|
+
story: items[0],
|
|
76
|
+
headerLevel: "2",
|
|
77
|
+
border: border,
|
|
78
|
+
theme: theme,
|
|
79
|
+
borderColor: borderColor,
|
|
80
|
+
config: config
|
|
81
|
+
}))), /*#__PURE__*/React.createElement("div", null, items.slice(1, 3).map(function (story, index) {
|
|
82
|
+
if (index === 1) {
|
|
83
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
84
|
+
key: index
|
|
85
|
+
}, /*#__PURE__*/React.createElement(StoryCard, {
|
|
86
|
+
story: story,
|
|
87
|
+
border: border,
|
|
88
|
+
theme: theme,
|
|
89
|
+
isHorizontalMobile: true,
|
|
90
|
+
config: config
|
|
91
|
+
}, /*#__PURE__*/React.createElement(HeroImage, {
|
|
92
|
+
story: story,
|
|
93
|
+
isHorizontalMobile: true
|
|
94
|
+
}), /*#__PURE__*/React.createElement(StorycardContent, {
|
|
95
|
+
theme: theme,
|
|
96
|
+
border: border,
|
|
97
|
+
story: story,
|
|
98
|
+
isHorizontalMobile: true,
|
|
99
|
+
borderColor: borderColor,
|
|
100
|
+
config: config
|
|
101
|
+
})));
|
|
102
|
+
} else return /*#__PURE__*/React.createElement("div", {
|
|
103
|
+
className: "two-col-three-story-m_storycard__3Gmsw",
|
|
104
|
+
key: index
|
|
105
|
+
}, /*#__PURE__*/React.createElement(StoryCard, {
|
|
106
|
+
story: story,
|
|
107
|
+
border: border,
|
|
108
|
+
theme: theme,
|
|
109
|
+
isHorizontalMobile: true,
|
|
110
|
+
config: config
|
|
111
|
+
}, /*#__PURE__*/React.createElement(HeroImage, {
|
|
112
|
+
story: story,
|
|
113
|
+
isHorizontalMobile: true
|
|
114
|
+
}), /*#__PURE__*/React.createElement(StorycardContent, {
|
|
115
|
+
theme: theme,
|
|
116
|
+
border: border,
|
|
117
|
+
story: story,
|
|
118
|
+
isHorizontalMobile: true,
|
|
119
|
+
borderColor: borderColor,
|
|
120
|
+
config: config
|
|
121
|
+
})));
|
|
122
|
+
}))), /*#__PURE__*/React.createElement(LoadmoreButton, {
|
|
123
|
+
template: footerButton,
|
|
124
|
+
collection: collection,
|
|
125
|
+
config: config,
|
|
126
|
+
navigate: function navigate() {
|
|
127
|
+
return navigateTo(dispatch, url);
|
|
128
|
+
},
|
|
129
|
+
qtConfig: qtConfig
|
|
130
|
+
}), footerSlotComp));
|
|
131
|
+
};
|
|
132
|
+
TwoColThreeStoriesBase.propTypes = {
|
|
133
|
+
/** collection is the array of objects which is returning by API */
|
|
134
|
+
collection: PropTypes.object.isRequired,
|
|
135
|
+
|
|
136
|
+
/** The config for the Row */
|
|
137
|
+
config: PropTypes.shape({
|
|
138
|
+
borderColor: PropTypes.string,
|
|
139
|
+
theme: PropTypes.string,
|
|
140
|
+
border: PropTypes.string,
|
|
141
|
+
footerButton: PropTypes.string,
|
|
142
|
+
collectionNameTemplate: PropTypes.string,
|
|
143
|
+
collectionNameBorderColor: PropTypes.string
|
|
144
|
+
})
|
|
145
|
+
};
|
|
146
|
+
export var TwoColThreeStories = StateProvider(TwoColThreeStoriesBase);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { color, boolean as _boolean, text } from "@storybook/addon-knobs";
|
|
3
|
+
import { withStore, optionalSelect, sectionTagTemplates, collectionNameTemplates, footerButton } from "../../../../storybook";
|
|
4
|
+
import { TwoColThreeStoriesBase } from "./index";
|
|
5
|
+
import Readme from "./README.md";
|
|
6
|
+
import { AdPlaceholder } from "../../Atoms/AdPlaceholder";
|
|
7
|
+
import { generateCollection } from "../../Fixture";
|
|
8
|
+
var collection = generateCollection({
|
|
9
|
+
stories: 8
|
|
10
|
+
});
|
|
11
|
+
var label = "color";
|
|
12
|
+
var defaultvalue = "#ffffff";
|
|
13
|
+
var collectionNameDefaultValue = "#3a9fdd";
|
|
14
|
+
var collectionNameBorderColorLabel = "Collection Name Border Color";
|
|
15
|
+
var sectionTagBorderColor = "Section Tag Border Color";
|
|
16
|
+
var sectionTagDefaultvalue = "#3a9fdd";
|
|
17
|
+
var borderTemplate = {
|
|
18
|
+
"default": "",
|
|
19
|
+
border: "full"
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
var footerSlot = function footerSlot() {
|
|
23
|
+
return /*#__PURE__*/React.createElement(AdPlaceholder, null);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
withStore("Rows/Two Col Three Stories ", {
|
|
27
|
+
qt: {
|
|
28
|
+
config: {
|
|
29
|
+
"cdn-image": "thumbor-stg.assettype.com"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, Readme).addDecorator(function (story) {
|
|
33
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
style: {
|
|
35
|
+
maxWidth: "1000px",
|
|
36
|
+
margin: "auto"
|
|
37
|
+
}
|
|
38
|
+
}, story());
|
|
39
|
+
}).add("Default", function () {
|
|
40
|
+
var contextConfig = {
|
|
41
|
+
collectionNameBorderColor: color(collectionNameBorderColorLabel, collectionNameDefaultValue),
|
|
42
|
+
borderColor: color(sectionTagBorderColor, sectionTagDefaultvalue),
|
|
43
|
+
theme: color(label, defaultvalue),
|
|
44
|
+
border: optionalSelect("Border", borderTemplate),
|
|
45
|
+
collectionNameTemplate: optionalSelect("Collection Name Templates", collectionNameTemplates),
|
|
46
|
+
sectionTagTemplate: optionalSelect("Section Tag Templates", sectionTagTemplates),
|
|
47
|
+
showSection: _boolean("section disable", true),
|
|
48
|
+
showAuthor: _boolean("Author disable", true),
|
|
49
|
+
showTime: _boolean("Timestamp disable", true),
|
|
50
|
+
footerButton: optionalSelect("Footer Button", footerButton),
|
|
51
|
+
buttonText: text("Footer text", "Read More"),
|
|
52
|
+
showRowTitle: _boolean("Row title", true),
|
|
53
|
+
footerSlotConfig: {
|
|
54
|
+
footerSlot: footerSlot
|
|
55
|
+
},
|
|
56
|
+
showButton: _boolean("Show button", true),
|
|
57
|
+
showReadTime: _boolean("Read time", true)
|
|
58
|
+
};
|
|
59
|
+
return /*#__PURE__*/React.createElement(TwoColThreeStoriesBase, {
|
|
60
|
+
collection: collection,
|
|
61
|
+
config: contextConfig
|
|
62
|
+
});
|
|
63
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@custom-media --viewport-medium (width >= 768px);
|
|
2
|
+
|
|
3
|
+
.two-col-three-story {
|
|
4
|
+
padding: 0 var(--arrow-spacing-s);
|
|
5
|
+
@media (--viewport-medium) {
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.wrapper {
|
|
10
|
+
margin: var(--arrow-spacing-xs) 0;
|
|
11
|
+
@media (--viewport-medium) {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 9fr 3fr;
|
|
14
|
+
grid-column-gap: var(--arrow-spacing-l);
|
|
15
|
+
margin: var(--arrow-spacing-m) 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.first-card {
|
|
20
|
+
padding: 0;
|
|
21
|
+
margin-bottom: var(--arrow-spacing-m);
|
|
22
|
+
@media (--viewport-medium) {
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.storycard {
|
|
28
|
+
margin-bottom: var(--arrow-spacing-m);
|
|
29
|
+
@media (--viewport-medium) {
|
|
30
|
+
margin-bottom: var(--arrow-spacing-l);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.border-full {
|
|
35
|
+
padding: var(--arrow-spacing-m);
|
|
36
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { createContext, useContext } from "react";
|
|
2
|
+
export var StateContext = /*#__PURE__*/createContext(); // eslint-disable-next-line react/display-name
|
|
3
|
+
|
|
4
|
+
export var StateProvider = function StateProvider(RowComponent) {
|
|
5
|
+
return function (props) {
|
|
6
|
+
return (
|
|
7
|
+
/*#__PURE__*/
|
|
8
|
+
// eslint-disable-next-line react/prop-types
|
|
9
|
+
React.createElement(StateContext.Provider, {
|
|
10
|
+
value: props.config
|
|
11
|
+
}, /*#__PURE__*/React.createElement(RowComponent, props))
|
|
12
|
+
);
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export var useStateValue = function useStateValue() {
|
|
16
|
+
return useContext(StateContext);
|
|
17
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import "./loading.m.css";
|
|
4
|
+
export var Loading = function Loading(_ref) {
|
|
5
|
+
var _ref$width = _ref.width,
|
|
6
|
+
width = _ref$width === void 0 ? 40 : _ref$width,
|
|
7
|
+
_ref$height = _ref.height,
|
|
8
|
+
height = _ref$height === void 0 ? 30 : _ref$height,
|
|
9
|
+
_ref$iconColor = _ref.iconColor,
|
|
10
|
+
iconColor = _ref$iconColor === void 0 ? "#99B0CB" : _ref$iconColor;
|
|
11
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12
|
+
className: "loading-m_loading-indicator__2Dlst"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
14
|
+
width: "40",
|
|
15
|
+
height: "40",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
viewBox: "0 0 100 100",
|
|
18
|
+
preserveAspectRatio: "xMidYMid"
|
|
19
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
20
|
+
cx: "84",
|
|
21
|
+
cy: "50",
|
|
22
|
+
r: "0",
|
|
23
|
+
fill: "currentColor"
|
|
24
|
+
}, /*#__PURE__*/React.createElement("animate", {
|
|
25
|
+
attributeName: "r",
|
|
26
|
+
values: "10;0;0;0;0",
|
|
27
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
28
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
29
|
+
calcMode: "spline",
|
|
30
|
+
dur: "2s",
|
|
31
|
+
repeatCount: "indefinite",
|
|
32
|
+
begin: "0s"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("animate", {
|
|
34
|
+
attributeName: "cx",
|
|
35
|
+
values: "84;84;84;84;84",
|
|
36
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
37
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
38
|
+
calcMode: "spline",
|
|
39
|
+
dur: "2s",
|
|
40
|
+
repeatCount: "indefinite",
|
|
41
|
+
begin: "0s"
|
|
42
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
43
|
+
cx: "84",
|
|
44
|
+
cy: "50",
|
|
45
|
+
r: ".709",
|
|
46
|
+
fill: "currentColor"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("animate", {
|
|
48
|
+
attributeName: "r",
|
|
49
|
+
values: "0;10;10;10;0",
|
|
50
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
51
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
52
|
+
calcMode: "spline",
|
|
53
|
+
dur: "2s",
|
|
54
|
+
repeatCount: "indefinite",
|
|
55
|
+
begin: "-1s"
|
|
56
|
+
}), /*#__PURE__*/React.createElement("animate", {
|
|
57
|
+
attributeName: "cx",
|
|
58
|
+
values: "16;16;50;84;84",
|
|
59
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
60
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
61
|
+
calcMode: "spline",
|
|
62
|
+
dur: "2s",
|
|
63
|
+
repeatCount: "indefinite",
|
|
64
|
+
begin: "-1s"
|
|
65
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
66
|
+
cx: "81.59",
|
|
67
|
+
cy: "50",
|
|
68
|
+
r: "10",
|
|
69
|
+
fill: "currentColor"
|
|
70
|
+
}, /*#__PURE__*/React.createElement("animate", {
|
|
71
|
+
attributeName: "r",
|
|
72
|
+
values: "0;10;10;10;0",
|
|
73
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
74
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
75
|
+
calcMode: "spline",
|
|
76
|
+
dur: "2s",
|
|
77
|
+
repeatCount: "indefinite",
|
|
78
|
+
begin: "-0.5s"
|
|
79
|
+
}), /*#__PURE__*/React.createElement("animate", {
|
|
80
|
+
attributeName: "cx",
|
|
81
|
+
values: "16;16;50;84;84",
|
|
82
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
83
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
84
|
+
calcMode: "spline",
|
|
85
|
+
dur: "2s",
|
|
86
|
+
repeatCount: "indefinite",
|
|
87
|
+
begin: "-0.5s"
|
|
88
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
89
|
+
cx: "47.59",
|
|
90
|
+
cy: "50",
|
|
91
|
+
r: "10",
|
|
92
|
+
fill: "currentColor"
|
|
93
|
+
}, /*#__PURE__*/React.createElement("animate", {
|
|
94
|
+
attributeName: "r",
|
|
95
|
+
values: "0;10;10;10;0",
|
|
96
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
97
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
98
|
+
calcMode: "spline",
|
|
99
|
+
dur: "2s",
|
|
100
|
+
repeatCount: "indefinite",
|
|
101
|
+
begin: "0s"
|
|
102
|
+
}), /*#__PURE__*/React.createElement("animate", {
|
|
103
|
+
attributeName: "cx",
|
|
104
|
+
values: "16;16;50;84;84",
|
|
105
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
106
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
107
|
+
calcMode: "spline",
|
|
108
|
+
dur: "2s",
|
|
109
|
+
repeatCount: "indefinite",
|
|
110
|
+
begin: "0s"
|
|
111
|
+
})), /*#__PURE__*/React.createElement("circle", {
|
|
112
|
+
cx: "16",
|
|
113
|
+
cy: "50",
|
|
114
|
+
r: "9.291",
|
|
115
|
+
fill: "currentColor"
|
|
116
|
+
}, /*#__PURE__*/React.createElement("animate", {
|
|
117
|
+
attributeName: "r",
|
|
118
|
+
values: "0;0;10;10;10",
|
|
119
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
120
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
121
|
+
calcMode: "spline",
|
|
122
|
+
dur: "2s",
|
|
123
|
+
repeatCount: "indefinite",
|
|
124
|
+
begin: "0s"
|
|
125
|
+
}), /*#__PURE__*/React.createElement("animate", {
|
|
126
|
+
attributeName: "cx",
|
|
127
|
+
values: "16;16;16;50;84",
|
|
128
|
+
keyTimes: "0;0.25;0.5;0.75;1",
|
|
129
|
+
keySplines: "0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",
|
|
130
|
+
calcMode: "spline",
|
|
131
|
+
dur: "2s",
|
|
132
|
+
repeatCount: "indefinite",
|
|
133
|
+
begin: "0s"
|
|
134
|
+
}))));
|
|
135
|
+
};
|
|
136
|
+
Loading.propTypes = {
|
|
137
|
+
width: PropTypes.object,
|
|
138
|
+
height: PropTypes.object,
|
|
139
|
+
iconColor: PropTypes.object
|
|
140
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
export var Facebook = function Facebook(_ref) {
|
|
4
|
+
var _ref$color = _ref.color,
|
|
5
|
+
color = _ref$color === void 0 ? "#3B5998" : _ref$color;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: "24",
|
|
9
|
+
height: "24",
|
|
10
|
+
viewBox: "0 0 24 24"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
fill: color,
|
|
13
|
+
d: "M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
Facebook.propTypes = {
|
|
17
|
+
color: PropTypes.string
|
|
18
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export var Instagram = function Instagram() {
|
|
3
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
width: "24",
|
|
7
|
+
height: "24",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
10
|
+
id: "prefix__b",
|
|
11
|
+
x1: "0%",
|
|
12
|
+
x2: "110.694%",
|
|
13
|
+
y1: "0%",
|
|
14
|
+
y2: "109.202%"
|
|
15
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
16
|
+
offset: "0%",
|
|
17
|
+
stopColor: "#724AC6"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
19
|
+
offset: "53.59%",
|
|
20
|
+
stopColor: "#E5375E"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
22
|
+
offset: "100%",
|
|
23
|
+
stopColor: "#FC9949"
|
|
24
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
id: "prefix__a",
|
|
26
|
+
d: "M9 4.636c.784 0 1.512.196 2.182.588.67.392 1.202.924 1.594 1.594.392.67.588 1.398.588 2.182s-.196 1.512-.588 2.182a4.382 4.382 0 01-1.594 1.594c-.67.392-1.398.588-2.182.588s-1.512-.196-2.182-.588a4.382 4.382 0 01-1.594-1.594c-.392-.67-.588-1.398-.588-2.182s.196-1.512.588-2.182a4.382 4.382 0 011.594-1.594A4.247 4.247 0 019 4.636zm0 7.21c.784 0 1.455-.278 2.011-.835.557-.556.835-1.227.835-2.011s-.278-1.455-.835-2.011c-.556-.557-1.227-.835-2.011-.835s-1.455.278-2.011.835c-.557.556-.835 1.227-.835 2.011s.278 1.455.835 2.011A2.739 2.739 0 009 11.846zm5.578-7.4a1.181 1.181 0 01-.322.721.923.923 0 01-.702.304.981.981 0 01-.721-.304.98.98 0 01-.304-.72c0-.279.101-.52.304-.722a.984.984 0 01.72-.303c.279 0 .52.101.722.303a.987.987 0 01.303.721zm2.884 1.025c.025.708.038 1.885.038 3.529s-.019 2.827-.057 3.548c-.038.721-.145 1.347-.322 1.878a4.425 4.425 0 01-1.044 1.651 4.429 4.429 0 01-1.65 1.044c-.532.177-1.158.284-1.879.322-.721.038-1.904.057-3.548.057-1.644 0-2.827-.019-3.548-.057-.721-.038-1.347-.158-1.878-.36a4.05 4.05 0 01-1.651-1.006 4.429 4.429 0 01-1.044-1.65c-.177-.532-.284-1.158-.322-1.879C.519 11.827.5 10.644.5 9c0-1.644.019-2.827.057-3.548.038-.721.145-1.347.322-1.878a4.425 4.425 0 011.044-1.651A4.429 4.429 0 013.573.879C4.106.702 4.732.595 5.453.557 6.173.519 7.356.5 9 .5c1.644 0 2.827.019 3.548.057.721.038 1.347.145 1.878.322a4.425 4.425 0 011.651 1.044 4.429 4.429 0 011.044 1.65c.177.532.29 1.164.341 1.898zm-1.821 8.538c.151-.43.253-1.113.303-2.05.025-.556.038-1.34.038-2.352V8.393a54.22 54.22 0 00-.038-2.353c-.05-.961-.152-1.644-.303-2.049a2.743 2.743 0 00-1.632-1.632c-.405-.151-1.088-.253-2.05-.303a55.796 55.796 0 00-2.352-.038H8.393c-1.012 0-1.796.013-2.353.038-.936.05-1.619.152-2.049.303a2.743 2.743 0 00-1.632 1.632c-.151.405-.253 1.088-.303 2.05-.025.556-.038 1.34-.038 2.352v1.214c0 1.012.013 1.796.038 2.353.05.936.152 1.619.303 2.049.33.784.873 1.328 1.632 1.632.43.151 1.113.253 2.05.303.556.025 1.34.038 2.352.038h1.214a54.22 54.22 0 002.353-.038c.961-.05 1.644-.152 2.049-.303.784-.33 1.328-.873 1.632-1.632z"
|
|
27
|
+
})), /*#__PURE__*/React.createElement("use", {
|
|
28
|
+
fill: "url(#prefix__b)",
|
|
29
|
+
fillRule: "nonzero",
|
|
30
|
+
transform: "translate(3 3)",
|
|
31
|
+
xlinkHref: "#prefix__a"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
export var LinkedIn = function LinkedIn(_ref) {
|
|
4
|
+
var _ref$color = _ref.color,
|
|
5
|
+
color = _ref$color === void 0 ? "#0077B5" : _ref$color;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: "24",
|
|
9
|
+
height: "24",
|
|
10
|
+
viewBox: "0 0 24 24"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
fill: color,
|
|
13
|
+
d: "M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
LinkedIn.propTypes = {
|
|
17
|
+
color: PropTypes.string
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export var Pinterest = function Pinterest() {
|
|
3
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9
|
+
fill: "#E60023",
|
|
10
|
+
d: "M21.5 12a9.209 9.209 0 01-1.283 4.75 9.6 9.6 0 01-3.467 3.467A9.209 9.209 0 0112 21.5c-.97 0-1.903-.14-2.796-.421.613-1.022.996-1.852 1.149-2.49l.613-2.26c.153.306.434.561.842.766.41.204.856.306 1.341.306.92 0 1.756-.262 2.51-.785.753-.524 1.34-1.232 1.761-2.126.422-.894.632-1.87.632-2.93s-.255-2.012-.766-2.854a5.318 5.318 0 00-2.107-1.973c-.893-.473-1.89-.709-2.987-.709-1.303 0-2.452.268-3.448.805a5.465 5.465 0 00-2.088 2.087 5.704 5.704 0 00-.747 2.854c0 .74.185 1.475.556 2.203.37.728.836 1.22 1.398 1.475.179.076.28.038.306-.115l.268-1.073a.266.266 0 00-.076-.268 3.048 3.048 0 01-.498-.977 3.908 3.908 0 01-.192-1.207c0-.715.173-1.385.518-2.01a3.99 3.99 0 011.474-1.514c.664-.408 1.43-.613 2.299-.613 1.174 0 2.132.364 2.873 1.092.74.728 1.11 1.654 1.11 2.777 0 1.277-.287 2.324-.861 3.141-.575.818-1.284 1.226-2.126 1.226-.486 0-.869-.172-1.15-.517-.28-.345-.37-.747-.268-1.207.051-.28.166-.689.345-1.225.281-.945.421-1.603.421-1.973 0-.37-.102-.677-.306-.92-.204-.242-.498-.363-.881-.363-.485 0-.894.217-1.226.65-.332.435-.498.984-.498 1.648 0 .562.09 1.034.268 1.417L8.591 18.13c-.154.638-.166 1.545-.039 2.72-1.813-.69-3.275-1.839-4.386-3.448C3.056 15.792 2.5 13.991 2.5 12c0-1.711.428-3.294 1.283-4.75A9.6 9.6 0 017.25 3.783 9.209 9.209 0 0112 2.5c1.711 0 3.294.428 4.75 1.283a9.6 9.6 0 013.467 3.467A9.209 9.209 0 0121.5 12z"
|
|
11
|
+
}));
|
|
12
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
export var Twitter = function Twitter(_ref) {
|
|
4
|
+
var _ref$color = _ref.color,
|
|
5
|
+
color = _ref$color === void 0 ? "#1CB7EB" : _ref$color;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
width: "24",
|
|
9
|
+
height: "24",
|
|
10
|
+
viewBox: "0 0 24 24"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
fill: color,
|
|
13
|
+
d: "M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
Twitter.propTypes = {
|
|
17
|
+
color: PropTypes.string
|
|
18
|
+
};
|