@quintype/arrow 3.15.1-perf.0 → 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-4577d5b9.js → index-3976fac4.js} +62 -55
- package/atoms/ExtendedLoadMore/{index-0edaa434.js → index-3c4ac692.js} +243 -208
- package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
- package/atoms/ExtendedLoadMore/{index-70ce7471.js → index-5c8eda4a.js} +88 -80
- package/atoms/ExtendedLoadMore/{index-b3ef1488.js → index-6e083738.js} +63 -56
- package/atoms/ExtendedLoadMore/{index-48664b07.js → index-6ecceae4.js} +61 -54
- package/atoms/ExtendedLoadMore/{index-4c3c2b6f.js → index-9e0d32b7.js} +79 -72
- package/atoms/ExtendedLoadMore/{index-c47ff5bc.js → index-a5c95f84.js} +73 -66
- package/atoms/ExtendedLoadMore/{index-4b9207c4.js → index-b22f1843.js} +70 -62
- package/atoms/ExtendedLoadMore/{index-8f6483ba.js → index-b5936059.js} +75 -68
- package/atoms/ExtendedLoadMore/{index-b841407e.js → index-bc129cb8.js} +60 -53
- package/atoms/ExtendedLoadMore/{index-d08b6c2f.js → index-e7cde739.js} +74 -46
- package/atoms/ExtendedLoadMore/{index-867b9437.js → index-fee73a14.js} +67 -61
- 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 +75 -66
- 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 +349 -339
- package/rows/AsideCollection/index.js +346 -340
- package/rows/AstrologyCollection/index.js +325 -315
- package/rows/AuthorIntroductionCard/index.js +157 -150
- package/rows/AuthorsList/index.js +187 -180
- package/rows/CollectionFilter/index.js +365 -355
- package/rows/ElevenStories/index.js +360 -351
- package/rows/FourColFiveStories/index.js +308 -279
- package/rows/FourColGrid/index.js +355 -326
- package/rows/FourColPortraitStories/index.js +364 -336
- package/rows/FourColSixteenStories/index.js +291 -281
- package/rows/FourColTwelveStories/index.js +318 -308
- package/rows/FourStorySlider/index.js +362 -352
- package/rows/FourStorySliderPortrait/index.js +363 -353
- package/rows/FourTabbedBigStorySlider/index.js +325 -314
- package/rows/FullScreenSlider/index.js +339 -330
- package/rows/HalfScreenSlider/index.js +311 -302
- package/rows/ListComponent/index.js +325 -315
- package/rows/Listicles/index.js +154 -145
- package/rows/MagazineEditions/index.js +107 -98
- package/rows/MagazineHeaderCard/index.js +107 -98
- package/rows/MagazineWidget/index.js +329 -320
- package/rows/OneColStoryList/index.js +369 -340
- package/rows/OpinionCollection/index.js +254 -225
- package/rows/SixColSixStories/index.js +337 -308
- package/rows/StoryCollection/index.js +346 -340
- package/rows/TagIntroductionCard/index.js +30 -23
- package/rows/ThreeColFlexStories/index.js +352 -323
- package/rows/ThreeColFourteenStories/index.js +288 -278
- package/rows/ThreeColGrid/index.js +356 -327
- package/rows/ThreeColSevenStory/index.js +325 -316
- package/rows/ThreeColSixStories/index.js +326 -316
- package/rows/ThreeColTwelveStories/index.js +305 -295
- package/rows/TwoColFourStories/index.js +319 -308
- package/rows/TwoColFourStoryHighlight/index.js +320 -309
- package/rows/TwoColSevenStories/index.js +326 -315
- package/rows/TwoColSixStories/index.js +319 -310
- package/rows/TwoColTenStoriesSidebar/index.js +341 -330
- package/rows/TwoColThreeStories/index.js +319 -308
- 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/{rows → story-templates}/ListicleStoryTemplate/index.js +947 -926
- package/{rows → story-templates}/ListicleStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/LiveBlogStoryTemplate/index.js +952 -931
- package/{rows → story-templates}/LiveBlogStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/PhotoStoryTemplate/index.js +922 -901
- package/{rows → story-templates}/PhotoStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/TextStoryTemplate/index.js +941 -920
- package/{rows → story-templates}/TextStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/VideoStoryTemplate/index.js +907 -886
- package/{rows → story-templates}/VideoStoryTemplate/styles.arrow.css +0 -0
- package/atoms/ExtendedLoadMore/index-96c36b0e.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 = {
|
|
@@ -1867,7 +1876,6 @@ var _styleModuleImportMap = {
|
|
|
1867
1876
|
"light": "tag-intro-card-module_light__3BSZP"
|
|
1868
1877
|
}
|
|
1869
1878
|
};
|
|
1870
|
-
|
|
1871
1879
|
var TagIntroductionCard = function TagIntroductionCard(_ref) {
|
|
1872
1880
|
var data = _ref.data,
|
|
1873
1881
|
_ref$config = _ref.config,
|
|
@@ -1877,27 +1885,26 @@ var TagIntroductionCard = function TagIntroductionCard(_ref) {
|
|
|
1877
1885
|
var textColor = getTextColor(theme);
|
|
1878
1886
|
var tagDescription = data.tagDescription,
|
|
1879
1887
|
tagName = data.tagName;
|
|
1880
|
-
return /*#__PURE__*/
|
|
1888
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1881
1889
|
style: {
|
|
1882
1890
|
backgroundColor: theme,
|
|
1883
1891
|
color: textColor
|
|
1884
1892
|
},
|
|
1885
1893
|
className: "full-width-with-padding arrow-component " + _getClassName("wrapper ".concat(textColor), _styleModuleImportMap)
|
|
1886
|
-
}, /*#__PURE__*/
|
|
1894
|
+
}, /*#__PURE__*/React__default["default"].createElement("h1", {
|
|
1887
1895
|
className: _getClassName(textColor, _styleModuleImportMap)
|
|
1888
|
-
}, tagName), /*#__PURE__*/
|
|
1896
|
+
}, tagName), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1889
1897
|
className: _getClassName("description ".concat(textColor), _styleModuleImportMap)
|
|
1890
1898
|
}, tagDescription));
|
|
1891
1899
|
};
|
|
1892
|
-
|
|
1893
1900
|
TagIntroductionCard.propTypes = {
|
|
1894
|
-
data:
|
|
1895
|
-
tagName:
|
|
1896
|
-
tagDescription:
|
|
1901
|
+
data: PropTypes__default["default"].shape({
|
|
1902
|
+
tagName: PropTypes__default["default"].string,
|
|
1903
|
+
tagDescription: PropTypes__default["default"].string
|
|
1897
1904
|
}),
|
|
1898
|
-
config:
|
|
1899
|
-
theme:
|
|
1905
|
+
config: PropTypes__default["default"].shape({
|
|
1906
|
+
theme: PropTypes__default["default"].string
|
|
1900
1907
|
})
|
|
1901
1908
|
};
|
|
1902
1909
|
|
|
1903
|
-
|
|
1910
|
+
exports.TagIntroductionCard = TagIntroductionCard;
|