@quintype/arrow 3.15.1-perf.2 → 3.15.1-perf.3
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/atoms/Author/index.js +38 -29
- package/atoms/AuthorWithTime/index.js +83 -73
- package/atoms/CollectionName/index.js +40 -30
- package/atoms/ExtendedLoadMore/{index-d0f6c865.js → index-3976fac4.js} +59 -51
- package/atoms/ExtendedLoadMore/{index-1e444d20.js → index-3c4ac692.js} +243 -208
- package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
- package/atoms/ExtendedLoadMore/{index-c61a16dc.js → index-5c8eda4a.js} +88 -80
- package/atoms/ExtendedLoadMore/{index-1256e453.js → index-6e083738.js} +60 -52
- package/atoms/ExtendedLoadMore/{index-fd651f70.js → index-6ecceae4.js} +58 -50
- package/atoms/ExtendedLoadMore/{index-4356ce04.js → index-9e0d32b7.js} +76 -68
- package/atoms/ExtendedLoadMore/{index-beed3a68.js → index-a5c95f84.js} +70 -62
- package/atoms/ExtendedLoadMore/{index-0519e570.js → index-b22f1843.js} +70 -62
- package/atoms/ExtendedLoadMore/{index-e4cf9cb7.js → index-b5936059.js} +72 -64
- package/atoms/ExtendedLoadMore/{index-aba6b278.js → index-bc129cb8.js} +57 -49
- package/atoms/ExtendedLoadMore/{index-ad3c83c3.js → index-e7cde739.js} +74 -46
- package/atoms/ExtendedLoadMore/{index-c2f73d18.js → index-fee73a14.js} +62 -54
- package/atoms/ExtendedLoadMore/index.js +13 -5
- package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
- package/atoms/Headline/index.js +85 -76
- package/atoms/HeroImage/index.js +69 -60
- package/atoms/LoadmoreButton/index.js +32 -23
- package/atoms/ScrollSnap/index.js +72 -63
- package/atoms/SectionTag/index.js +34 -25
- package/atoms/Subheadline/index.js +31 -22
- package/atoms/TimeStamp/index.js +34 -24
- package/molecules/KeyEvents/index.js +72 -61
- package/molecules/PageIntroductionCard/index.js +43 -34
- package/molecules/SocialShareTemplate/index.js +97 -88
- package/molecules/StoryCard/index.js +242 -232
- package/molecules/StoryElementCard/index.js +512 -483
- package/molecules/StorycardContent/index.js +172 -162
- package/package.json +1 -1
- package/rows/AlternateCollectionFilter/index.js +345 -333
- package/rows/AsideCollection/index.js +340 -328
- package/rows/AstrologyCollection/index.js +321 -309
- package/rows/AuthorIntroductionCard/index.js +157 -148
- package/rows/AuthorsList/index.js +184 -174
- package/rows/CollectionFilter/index.js +361 -349
- package/rows/ElevenStories/index.js +357 -346
- package/rows/FourColFiveStories/index.js +304 -274
- package/rows/FourColGrid/index.js +351 -321
- package/rows/FourColPortraitStories/index.js +357 -327
- package/rows/FourColSixteenStories/index.js +288 -277
- package/rows/FourColTwelveStories/index.js +315 -304
- package/rows/FourStorySlider/index.js +358 -347
- package/rows/FourStorySliderPortrait/index.js +359 -348
- package/rows/FourTabbedBigStorySlider/index.js +322 -311
- package/rows/FullScreenSlider/index.js +336 -325
- package/rows/HalfScreenSlider/index.js +308 -297
- package/rows/ListComponent/index.js +322 -311
- package/rows/Listicles/index.js +150 -139
- package/rows/MagazineEditions/index.js +104 -93
- package/rows/MagazineHeaderCard/index.js +104 -93
- package/rows/MagazineWidget/index.js +326 -315
- package/rows/OneColStoryList/index.js +365 -335
- package/rows/OpinionCollection/index.js +250 -220
- package/rows/SixColSixStories/index.js +333 -303
- package/rows/StoryCollection/index.js +340 -328
- package/rows/TagIntroductionCard/index.js +30 -21
- package/rows/ThreeColFlexStories/index.js +348 -318
- package/rows/ThreeColFourteenStories/index.js +285 -274
- package/rows/ThreeColGrid/index.js +352 -322
- package/rows/ThreeColSevenStory/index.js +322 -311
- package/rows/ThreeColSixStories/index.js +323 -312
- package/rows/ThreeColTwelveStories/index.js +302 -291
- package/rows/TwoColFourStories/index.js +316 -305
- package/rows/TwoColFourStoryHighlight/index.js +317 -306
- package/rows/TwoColSevenStories/index.js +322 -311
- package/rows/TwoColSixStories/index.js +316 -305
- package/rows/TwoColTenStoriesSidebar/index.js +338 -327
- package/rows/TwoColThreeStories/index.js +316 -305
- package/story-elements/AlsoRead/index.js +70 -61
- package/story-elements/Attachment/index.js +40 -31
- package/story-elements/BigFact/index.js +35 -26
- package/story-elements/BlockQuote/index.js +61 -51
- package/story-elements/Blurb/index.js +36 -27
- package/story-elements/Image/index.js +113 -86
- package/story-elements/ImageGallery/index.js +98 -71
- package/story-elements/ImageSlideshow/index.js +147 -120
- package/story-elements/QuestionAnswer/index.js +55 -46
- package/story-elements/Quote/index.js +37 -28
- package/story-elements/Reference/index.js +40 -31
- package/story-elements/StoryElement/index.js +28 -19
- package/story-elements/Summary/index.js +40 -31
- package/story-elements/Text/index.js +34 -25
- package/story-elements/Video/index.js +29 -20
- package/story-templates/ListicleStoryTemplate/index.js +937 -908
- package/story-templates/LiveBlogStoryTemplate/index.js +942 -913
- package/story-templates/PhotoStoryTemplate/index.js +912 -883
- package/story-templates/TextStoryTemplate/index.js +931 -902
- package/story-templates/VideoStoryTemplate/index.js +897 -868
- package/atoms/ExtendedLoadMore/index-81eb3978.js +0 -86
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var PropTypes = require('prop-types');
|
|
7
|
+
require('react-timeago');
|
|
8
|
+
require('date-fns-tz');
|
|
9
|
+
|
|
10
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
+
|
|
12
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
5
14
|
|
|
6
15
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
16
|
|
|
@@ -1846,15 +1855,15 @@ var getTextColor = function getTextColor() {
|
|
|
1846
1855
|
var textColor = getLuminanceOfColor(getHexValue) < 155 ? "light" : "dark";
|
|
1847
1856
|
return textColor;
|
|
1848
1857
|
};
|
|
1849
|
-
|
|
1850
|
-
"sketches-host":
|
|
1851
|
-
"cdn-name":
|
|
1852
|
-
"cdn-image":
|
|
1858
|
+
PropTypes__default["default"].shape({
|
|
1859
|
+
"sketches-host": PropTypes__default["default"].string,
|
|
1860
|
+
"cdn-name": PropTypes__default["default"].string,
|
|
1861
|
+
"cdn-image": PropTypes__default["default"].string
|
|
1853
1862
|
});
|
|
1854
|
-
|
|
1855
|
-
headline:
|
|
1856
|
-
"last-published-at":
|
|
1857
|
-
subheadline:
|
|
1863
|
+
PropTypes__default["default"].shape({
|
|
1864
|
+
headline: PropTypes__default["default"].string,
|
|
1865
|
+
"last-published-at": PropTypes__default["default"].number,
|
|
1866
|
+
subheadline: PropTypes__default["default"].string
|
|
1858
1867
|
});
|
|
1859
1868
|
|
|
1860
1869
|
var _styleModuleImportMap = {
|
|
@@ -1876,26 +1885,26 @@ var TagIntroductionCard = function TagIntroductionCard(_ref) {
|
|
|
1876
1885
|
var textColor = getTextColor(theme);
|
|
1877
1886
|
var tagDescription = data.tagDescription,
|
|
1878
1887
|
tagName = data.tagName;
|
|
1879
|
-
return /*#__PURE__*/
|
|
1888
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1880
1889
|
style: {
|
|
1881
1890
|
backgroundColor: theme,
|
|
1882
1891
|
color: textColor
|
|
1883
1892
|
},
|
|
1884
1893
|
className: "full-width-with-padding arrow-component " + _getClassName("wrapper ".concat(textColor), _styleModuleImportMap)
|
|
1885
|
-
}, /*#__PURE__*/
|
|
1894
|
+
}, /*#__PURE__*/React__default["default"].createElement("h1", {
|
|
1886
1895
|
className: _getClassName(textColor, _styleModuleImportMap)
|
|
1887
|
-
}, tagName), /*#__PURE__*/
|
|
1896
|
+
}, tagName), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1888
1897
|
className: _getClassName("description ".concat(textColor), _styleModuleImportMap)
|
|
1889
1898
|
}, tagDescription));
|
|
1890
1899
|
};
|
|
1891
1900
|
TagIntroductionCard.propTypes = {
|
|
1892
|
-
data:
|
|
1893
|
-
tagName:
|
|
1894
|
-
tagDescription:
|
|
1901
|
+
data: PropTypes__default["default"].shape({
|
|
1902
|
+
tagName: PropTypes__default["default"].string,
|
|
1903
|
+
tagDescription: PropTypes__default["default"].string
|
|
1895
1904
|
}),
|
|
1896
|
-
config:
|
|
1897
|
-
theme:
|
|
1905
|
+
config: PropTypes__default["default"].shape({
|
|
1906
|
+
theme: PropTypes__default["default"].string
|
|
1898
1907
|
})
|
|
1899
1908
|
};
|
|
1900
1909
|
|
|
1901
|
-
|
|
1910
|
+
exports.TagIntroductionCard = TagIntroductionCard;
|