@quintype/arrow 3.15.1-perf.0 → 3.15.1-perf.1
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/ExtendedLoadMore/{index-b841407e.js → index-2d713010.js} +10 -11
- package/atoms/ExtendedLoadMore/{index-c47ff5bc.js → index-4191a84c.js} +10 -11
- package/atoms/ExtendedLoadMore/{index-4577d5b9.js → index-5a7900ba.js} +9 -10
- package/atoms/ExtendedLoadMore/{index-70ce7471.js → index-6cb56d1a.js} +2 -2
- package/atoms/ExtendedLoadMore/{index-4c3c2b6f.js → index-6daa674c.js} +7 -8
- package/atoms/ExtendedLoadMore/{index-4b9207c4.js → index-6f8c780e.js} +3 -3
- package/atoms/ExtendedLoadMore/{index-867b9437.js → index-7eb05b3d.js} +14 -16
- package/atoms/ExtendedLoadMore/{index-b3ef1488.js → index-8345922c.js} +10 -11
- package/atoms/ExtendedLoadMore/{index-48664b07.js → index-99af722e.js} +9 -10
- package/atoms/ExtendedLoadMore/{index-0edaa434.js → index-aa8b8ab8.js} +2 -2
- package/atoms/ExtendedLoadMore/{index-8f6483ba.js → index-c8f346d0.js} +9 -10
- package/atoms/ExtendedLoadMore/{index-d08b6c2f.js → index-e39b3ca8.js} +9 -9
- package/atoms/ExtendedLoadMore/{index-96c36b0e.js → index-f6e578e3.js} +3 -3
- package/atoms/ExtendedLoadMore/index.js +1 -1
- package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
- package/molecules/KeyEvents/index.js +4 -6
- package/package.json +1 -1
- package/rows/AlternateCollectionFilter/index.js +6 -8
- package/rows/AsideCollection/index.js +9 -15
- package/rows/AstrologyCollection/index.js +6 -8
- package/rows/AuthorIntroductionCard/index.js +1 -3
- package/rows/AuthorsList/index.js +4 -7
- package/rows/CollectionFilter/index.js +6 -8
- package/rows/ElevenStories/index.js +5 -7
- package/rows/FourColFiveStories/index.js +6 -7
- package/rows/FourColGrid/index.js +6 -7
- package/rows/FourColPortraitStories/index.js +10 -12
- package/rows/FourColSixteenStories/index.js +5 -6
- package/rows/FourColTwelveStories/index.js +5 -6
- package/rows/FourStorySlider/index.js +6 -7
- package/rows/FourStorySliderPortrait/index.js +6 -7
- package/rows/FourTabbedBigStorySlider/index.js +5 -5
- package/rows/FullScreenSlider/index.js +5 -7
- package/rows/HalfScreenSlider/index.js +5 -7
- package/rows/ListComponent/index.js +5 -6
- package/rows/Listicles/index.js +6 -8
- package/rows/MagazineEditions/index.js +5 -7
- package/rows/MagazineHeaderCard/index.js +5 -7
- package/rows/MagazineWidget/index.js +5 -7
- package/rows/OneColStoryList/index.js +6 -7
- package/rows/OpinionCollection/index.js +6 -7
- package/rows/SixColSixStories/index.js +6 -7
- package/rows/StoryCollection/index.js +9 -15
- package/rows/TagIntroductionCard/index.js +1 -3
- package/rows/ThreeColFlexStories/index.js +6 -7
- package/rows/ThreeColFourteenStories/index.js +5 -6
- package/rows/ThreeColGrid/index.js +6 -7
- package/rows/ThreeColSevenStory/index.js +5 -7
- package/rows/ThreeColSixStories/index.js +5 -6
- package/rows/ThreeColTwelveStories/index.js +5 -6
- package/rows/TwoColFourStories/index.js +5 -5
- package/rows/TwoColFourStoryHighlight/index.js +5 -5
- package/rows/TwoColSevenStories/index.js +6 -6
- package/rows/TwoColSixStories/index.js +5 -7
- package/rows/TwoColTenStoriesSidebar/index.js +5 -5
- package/rows/TwoColThreeStories/index.js +5 -5
- package/{rows → story-templates}/ListicleStoryTemplate/index.js +13 -21
- package/{rows → story-templates}/ListicleStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/LiveBlogStoryTemplate/index.js +19 -27
- package/{rows → story-templates}/LiveBlogStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/PhotoStoryTemplate/index.js +15 -23
- package/{rows → story-templates}/PhotoStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/TextStoryTemplate/index.js +14 -22
- package/{rows → story-templates}/TextStoryTemplate/styles.arrow.css +0 -0
- package/{rows → story-templates}/VideoStoryTemplate/index.js +14 -22
- /package/{rows → story-templates}/VideoStoryTemplate/styles.arrow.css +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useEffect, useRef } from 'react';
|
|
2
2
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
4
4
|
import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, collectionToStories } from '@quintype/components';
|
|
@@ -4429,7 +4429,7 @@ StorycardContent.propTypes = {
|
|
|
4429
4429
|
config: PropTypes.object
|
|
4430
4430
|
};
|
|
4431
4431
|
|
|
4432
|
-
var
|
|
4432
|
+
var PortraitStoryCardBase = function PortraitStoryCardBase(_ref) {
|
|
4433
4433
|
var story = _ref.story,
|
|
4434
4434
|
_ref$border = _ref.border,
|
|
4435
4435
|
border = _ref$border === void 0 ? "" : _ref$border,
|
|
@@ -4463,8 +4463,7 @@ var PortraitStoryCard = function PortraitStoryCard(_ref) {
|
|
|
4463
4463
|
headerLevel: headerLevel
|
|
4464
4464
|
})));
|
|
4465
4465
|
};
|
|
4466
|
-
|
|
4467
|
-
PortraitStoryCard.propTypes = {
|
|
4466
|
+
PortraitStoryCardBase.propTypes = {
|
|
4468
4467
|
border: PropTypes.string,
|
|
4469
4468
|
theme: PropTypes.string,
|
|
4470
4469
|
headerLevel: PropTypes.string,
|
|
@@ -4473,7 +4472,7 @@ PortraitStoryCard.propTypes = {
|
|
|
4473
4472
|
config: PropTypes.object,
|
|
4474
4473
|
story: PropTypes.object
|
|
4475
4474
|
};
|
|
4476
|
-
var PortraitStoryCard
|
|
4475
|
+
var PortraitStoryCard = StateProvider(PortraitStoryCardBase);
|
|
4477
4476
|
|
|
4478
4477
|
var loadMore = function loadMore(_ref) {
|
|
4479
4478
|
var isLoading = _ref.isLoading,
|
|
@@ -4488,7 +4487,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
4488
4487
|
getMoreStories(offset, limit);
|
|
4489
4488
|
};
|
|
4490
4489
|
|
|
4491
|
-
var
|
|
4490
|
+
var FourColPortraitStoriesBase = function FourColPortraitStoriesBase(_ref2) {
|
|
4492
4491
|
var collection = _ref2.collection,
|
|
4493
4492
|
_ref2$config = _ref2.config,
|
|
4494
4493
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -4570,7 +4569,7 @@ var FourColPortraitStories = function FourColPortraitStories(_ref2) {
|
|
|
4570
4569
|
}), /*#__PURE__*/React.createElement("div", {
|
|
4571
4570
|
className: "four-col-portrait-stories-m_wrapper__1BX02"
|
|
4572
4571
|
}, storyItems.map(function (story, index) {
|
|
4573
|
-
return /*#__PURE__*/React.createElement(PortraitStoryCard
|
|
4572
|
+
return /*#__PURE__*/React.createElement(PortraitStoryCard, {
|
|
4574
4573
|
story: story,
|
|
4575
4574
|
border: border,
|
|
4576
4575
|
theme: theme,
|
|
@@ -4589,8 +4588,7 @@ var FourColPortraitStories = function FourColPortraitStories(_ref2) {
|
|
|
4589
4588
|
subsequentLoadCount: subsequentLoadCount
|
|
4590
4589
|
}), footerSlotComp));
|
|
4591
4590
|
};
|
|
4592
|
-
|
|
4593
|
-
FourColPortraitStories.propTypes = {
|
|
4591
|
+
FourColPortraitStoriesBase.propTypes = {
|
|
4594
4592
|
/** collection is the array of objects which is returning by API */
|
|
4595
4593
|
collection: PropTypes.object.isRequired,
|
|
4596
4594
|
|
|
@@ -4609,11 +4607,11 @@ FourColPortraitStories.propTypes = {
|
|
|
4609
4607
|
isLoading: PropTypes.bool,
|
|
4610
4608
|
isolatedLoadMore: PropTypes.bool
|
|
4611
4609
|
};
|
|
4612
|
-
|
|
4610
|
+
FourColPortraitStoriesBase.defaultProps = {
|
|
4613
4611
|
getMoreStories: function getMoreStories() {},
|
|
4614
4612
|
isLoadMoreVisible: true,
|
|
4615
4613
|
isLoading: false
|
|
4616
4614
|
};
|
|
4617
|
-
var
|
|
4615
|
+
var FourColPortraitStories = StateProvider(FourColPortraitStoriesBase);
|
|
4618
4616
|
|
|
4619
|
-
export {
|
|
4617
|
+
export { FourColPortraitStories, FourColPortraitStoriesBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import Timeago from 'react-timeago';
|
|
4
4
|
import { utcToZonedTime, format } from 'date-fns-tz';
|
|
@@ -4341,7 +4341,7 @@ var getChildCollectionData = function getChildCollectionData(collection, config,
|
|
|
4341
4341
|
}));
|
|
4342
4342
|
};
|
|
4343
4343
|
|
|
4344
|
-
var
|
|
4344
|
+
var FourColSixteenStoriesBase = function FourColSixteenStoriesBase(_ref) {
|
|
4345
4345
|
var collection = _ref.collection,
|
|
4346
4346
|
_ref$config = _ref.config,
|
|
4347
4347
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -4364,13 +4364,12 @@ var FourColSixteenStories = function FourColSixteenStories(_ref) {
|
|
|
4364
4364
|
return getChildCollectionData(collection, config, index);
|
|
4365
4365
|
}));
|
|
4366
4366
|
};
|
|
4367
|
-
|
|
4368
|
-
FourColSixteenStories.propTypes = {
|
|
4367
|
+
FourColSixteenStoriesBase.propTypes = {
|
|
4369
4368
|
collection: PropTypes.object.isRequired,
|
|
4370
4369
|
config: PropTypes.shape({
|
|
4371
4370
|
theme: PropTypes.string
|
|
4372
4371
|
})
|
|
4373
4372
|
};
|
|
4374
|
-
var
|
|
4373
|
+
var FourColSixteenStories = StateProvider(FourColSixteenStoriesBase);
|
|
4375
4374
|
|
|
4376
|
-
export {
|
|
4375
|
+
export { FourColSixteenStories, FourColSixteenStoriesBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { Link, ResponsiveHeroImage, ResponsiveImage, collectionToStories } from '@quintype/components';
|
|
4
4
|
import { useSelector, connect } from 'react-redux';
|
|
@@ -4244,7 +4244,7 @@ var SingleCol3Story = function SingleCol3Story(_ref2) {
|
|
|
4244
4244
|
})));
|
|
4245
4245
|
};
|
|
4246
4246
|
|
|
4247
|
-
var
|
|
4247
|
+
var FourColTwelveStoriesBase = function FourColTwelveStoriesBase(_ref5) {
|
|
4248
4248
|
var _ref5$collection = _ref5.collection,
|
|
4249
4249
|
collection = _ref5$collection === void 0 ? {} : _ref5$collection,
|
|
4250
4250
|
_ref5$publisherConfig = _ref5.publisherConfig,
|
|
@@ -4290,8 +4290,7 @@ var FourColTwelveStory = function FourColTwelveStory(_ref5) {
|
|
|
4290
4290
|
});
|
|
4291
4291
|
})), footerSlotComp);
|
|
4292
4292
|
};
|
|
4293
|
-
|
|
4294
|
-
FourColTwelveStory.propTypes = {
|
|
4293
|
+
FourColTwelveStoriesBase.propTypes = {
|
|
4295
4294
|
collection: PropTypes.object.isRequired,
|
|
4296
4295
|
publisherConfig: PropTypes.object,
|
|
4297
4296
|
otherTextData: PropTypes.shape({
|
|
@@ -4331,6 +4330,6 @@ OtherNewsLinkComp.propTypes = {
|
|
|
4331
4330
|
Icon: PropTypes.func,
|
|
4332
4331
|
text: PropTypes.string
|
|
4333
4332
|
};
|
|
4334
|
-
var
|
|
4333
|
+
var FourColTwelveStories = StateProvider(FourColTwelveStoriesBase);
|
|
4335
4334
|
|
|
4336
|
-
export {
|
|
4335
|
+
export { FourColTwelveStories, FourColTwelveStoriesBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useRef, useEffect } from 'react';
|
|
2
2
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
3
3
|
import { Link, ResponsiveImage, ResponsiveHeroImage, LinkBase, collectionToStories } from '@quintype/components';
|
|
4
4
|
import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
|
|
@@ -4609,7 +4609,7 @@ ScrollSnap.propTypes = {
|
|
|
4609
4609
|
slideIndicator: string
|
|
4610
4610
|
};
|
|
4611
4611
|
|
|
4612
|
-
var
|
|
4612
|
+
var FourStorySliderBase = function FourStorySliderBase(_ref) {
|
|
4613
4613
|
var collection = _ref.collection,
|
|
4614
4614
|
_ref$config = _ref.config,
|
|
4615
4615
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -4712,8 +4712,7 @@ var FourStorySlider = function FourStorySlider(_ref) {
|
|
|
4712
4712
|
qtConfig: qtConfig
|
|
4713
4713
|
}), footerSlotComp));
|
|
4714
4714
|
};
|
|
4715
|
-
|
|
4716
|
-
FourStorySlider.propTypes = {
|
|
4715
|
+
FourStorySliderBase.propTypes = {
|
|
4717
4716
|
/** collection is the array of objects which is returning by API */
|
|
4718
4717
|
collection: PropTypes.object.isRequired,
|
|
4719
4718
|
|
|
@@ -4734,11 +4733,11 @@ FourStorySlider.propTypes = {
|
|
|
4734
4733
|
collectionNameBorderColor: PropTypes.string
|
|
4735
4734
|
})
|
|
4736
4735
|
};
|
|
4737
|
-
|
|
4736
|
+
FourStorySliderBase.defaultProps = {
|
|
4738
4737
|
theme: "#ffffff",
|
|
4739
4738
|
slotConfig: "story",
|
|
4740
4739
|
border: ""
|
|
4741
4740
|
};
|
|
4742
|
-
var
|
|
4741
|
+
var FourStorySlider = StateProvider(FourStorySliderBase);
|
|
4743
4742
|
|
|
4744
|
-
export {
|
|
4743
|
+
export { FourStorySlider, FourStorySliderBase };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Link, ResponsiveHeroImage, LinkBase, ResponsiveImage, collectionToStories } from '@quintype/components';
|
|
2
2
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
|
|
4
|
-
import React, {
|
|
4
|
+
import React, { useContext, createContext, useState, useRef, useEffect } from 'react';
|
|
5
5
|
import Timeago from 'react-timeago';
|
|
6
6
|
import { utcToZonedTime, format } from 'date-fns-tz';
|
|
7
7
|
|
|
@@ -4609,7 +4609,7 @@ StorycardContent.propTypes = {
|
|
|
4609
4609
|
config: PropTypes.object
|
|
4610
4610
|
};
|
|
4611
4611
|
|
|
4612
|
-
var
|
|
4612
|
+
var FourStorySliderPortraitBase = function FourStorySliderPortraitBase(_ref) {
|
|
4613
4613
|
var collection = _ref.collection,
|
|
4614
4614
|
_ref$config = _ref.config,
|
|
4615
4615
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -4715,8 +4715,7 @@ var FourStorySliderPortrait = function FourStorySliderPortrait(_ref) {
|
|
|
4715
4715
|
className: "four-story-slider-portrait-m_footer-slot-wrapper__18ujz"
|
|
4716
4716
|
}, footerSlotComp)));
|
|
4717
4717
|
};
|
|
4718
|
-
|
|
4719
|
-
FourStorySliderPortrait.propTypes = {
|
|
4718
|
+
FourStorySliderPortraitBase.propTypes = {
|
|
4720
4719
|
/** collection is the array of objects which is returning by API */
|
|
4721
4720
|
collection: PropTypes.object.isRequired,
|
|
4722
4721
|
|
|
@@ -4737,11 +4736,11 @@ FourStorySliderPortrait.propTypes = {
|
|
|
4737
4736
|
collectionNameBorderColor: PropTypes.string
|
|
4738
4737
|
})
|
|
4739
4738
|
};
|
|
4740
|
-
|
|
4739
|
+
FourStorySliderPortraitBase.defaultProps = {
|
|
4741
4740
|
theme: "#ffffff",
|
|
4742
4741
|
slotConfig: "story",
|
|
4743
4742
|
border: ""
|
|
4744
4743
|
};
|
|
4745
|
-
var
|
|
4744
|
+
var FourStorySliderPortrait = StateProvider(FourStorySliderPortraitBase);
|
|
4746
4745
|
|
|
4747
|
-
export {
|
|
4746
|
+
export { FourStorySliderPortrait, FourStorySliderPortraitBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
4
4
|
import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, collectionToStories } from '@quintype/components';
|
|
@@ -4337,7 +4337,7 @@ var _styleModuleImportMap = {
|
|
|
4337
4337
|
"active-light-headline-container": "four-tabbed-big-story-slider-m_active-light-headline-container__3225o"
|
|
4338
4338
|
}
|
|
4339
4339
|
};
|
|
4340
|
-
var
|
|
4340
|
+
var FourTabbedBigStorySliderBase = function FourTabbedBigStorySliderBase(_ref) {
|
|
4341
4341
|
var collection = _ref.collection,
|
|
4342
4342
|
_ref$config = _ref.config,
|
|
4343
4343
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -4480,8 +4480,7 @@ var DefaultStoryCardContent = function DefaultStoryCardContent(_ref2) {
|
|
|
4480
4480
|
})));
|
|
4481
4481
|
};
|
|
4482
4482
|
|
|
4483
|
-
|
|
4484
|
-
FourTabbedBigStorySlider.propTypes = {
|
|
4483
|
+
FourTabbedBigStorySliderBase.propTypes = {
|
|
4485
4484
|
/** collection is the array of objects which is returning by API */
|
|
4486
4485
|
collection: PropTypes.object.isRequired,
|
|
4487
4486
|
|
|
@@ -4501,5 +4500,6 @@ DefaultStoryCardContent.propTypes = {
|
|
|
4501
4500
|
borderColor: PropTypes.string,
|
|
4502
4501
|
showSubheadline: PropTypes.bool
|
|
4503
4502
|
};
|
|
4503
|
+
var FourTabbedBigStorySlider = StateProvider(FourTabbedBigStorySliderBase);
|
|
4504
4504
|
|
|
4505
|
-
export { FourTabbedBigStorySlider,
|
|
4505
|
+
export { FourTabbedBigStorySlider, FourTabbedBigStorySliderBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useRef, useEffect } from 'react';
|
|
2
2
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
|
|
4
4
|
import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, collectionToStories } from '@quintype/components';
|
|
@@ -4541,8 +4541,7 @@ var _styleModuleImportMap = {
|
|
|
4541
4541
|
"blink": "full-screen-slider-m_blink__1_2aD"
|
|
4542
4542
|
}
|
|
4543
4543
|
};
|
|
4544
|
-
|
|
4545
|
-
var FullScreenSlider = function FullScreenSlider(_ref) {
|
|
4544
|
+
var FullScreenSliderBase = function FullScreenSliderBase(_ref) {
|
|
4546
4545
|
var _ref$collection = _ref.collection,
|
|
4547
4546
|
collection = _ref$collection === void 0 ? {} : _ref$collection,
|
|
4548
4547
|
_ref$config = _ref.config,
|
|
@@ -4633,8 +4632,7 @@ var FullScreenSlider = function FullScreenSlider(_ref) {
|
|
|
4633
4632
|
qtConfig: qtConfig
|
|
4634
4633
|
}), footerSlotComp));
|
|
4635
4634
|
};
|
|
4636
|
-
|
|
4637
|
-
FullScreenSlider.propTypes = {
|
|
4635
|
+
FullScreenSliderBase.propTypes = {
|
|
4638
4636
|
/** collection is the array of objects which is returning by API */
|
|
4639
4637
|
collection: PropTypes.object.isRequired,
|
|
4640
4638
|
|
|
@@ -4658,6 +4656,6 @@ FullScreenSlider.propTypes = {
|
|
|
4658
4656
|
aspectRatio: PropTypes.array
|
|
4659
4657
|
})
|
|
4660
4658
|
};
|
|
4661
|
-
var
|
|
4659
|
+
var FullScreenSlider = StateProvider(FullScreenSliderBase);
|
|
4662
4660
|
|
|
4663
|
-
export {
|
|
4661
|
+
export { FullScreenSlider, FullScreenSliderBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useRef, useEffect } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
|
|
3
3
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
4
4
|
import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, collectionToStories } from '@quintype/components';
|
|
@@ -4409,8 +4409,7 @@ var _styleModuleImportMap = {
|
|
|
4409
4409
|
"blink": "half-screen-slider-m_blink__g40vI"
|
|
4410
4410
|
}
|
|
4411
4411
|
};
|
|
4412
|
-
|
|
4413
|
-
var HalfScreenSlider = function HalfScreenSlider(_ref) {
|
|
4412
|
+
var HalfScreenSliderBase = function HalfScreenSliderBase(_ref) {
|
|
4414
4413
|
var collection = _ref.collection,
|
|
4415
4414
|
_ref$config = _ref.config,
|
|
4416
4415
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -4489,9 +4488,7 @@ var HalfScreenSlider = function HalfScreenSlider(_ref) {
|
|
|
4489
4488
|
qtConfig: qtConfig
|
|
4490
4489
|
}), footerSlotComp);
|
|
4491
4490
|
};
|
|
4492
|
-
|
|
4493
|
-
var index = StateProvider(HalfScreenSlider);
|
|
4494
|
-
HalfScreenSlider.propTypes = {
|
|
4491
|
+
HalfScreenSliderBase.propTypes = {
|
|
4495
4492
|
footerButton: PropTypes.string,
|
|
4496
4493
|
|
|
4497
4494
|
/** collection is the array of objects which is returning by API */
|
|
@@ -4512,5 +4509,6 @@ HalfScreenSlider.propTypes = {
|
|
|
4512
4509
|
// section tag border color
|
|
4513
4510
|
borderColor: PropTypes.string
|
|
4514
4511
|
};
|
|
4512
|
+
var HalfScreenSlider = StateProvider(HalfScreenSliderBase);
|
|
4515
4513
|
|
|
4516
|
-
export {
|
|
4514
|
+
export { HalfScreenSlider, HalfScreenSliderBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { Link, ResponsiveImage, ResponsiveHeroImage, LinkBase, collectionToStories } from '@quintype/components';
|
|
4
4
|
import Timeago from 'react-timeago';
|
|
@@ -4299,7 +4299,7 @@ LoadmoreButton.propTypes = {
|
|
|
4299
4299
|
qtConfig: PropTypes.object
|
|
4300
4300
|
};
|
|
4301
4301
|
|
|
4302
|
-
var
|
|
4302
|
+
var ListComponentBase = function ListComponentBase(_ref) {
|
|
4303
4303
|
var collection = _ref.collection,
|
|
4304
4304
|
_ref$config = _ref.config,
|
|
4305
4305
|
config = _ref$config === void 0 ? {} : _ref$config,
|
|
@@ -4437,8 +4437,7 @@ var ListComponent = function ListComponent(_ref) {
|
|
|
4437
4437
|
qtConfig: qtConfig
|
|
4438
4438
|
}) : null)));
|
|
4439
4439
|
};
|
|
4440
|
-
|
|
4441
|
-
ListComponent.propTypes = {
|
|
4440
|
+
ListComponentBase.propTypes = {
|
|
4442
4441
|
/** collection is the array of objects which is returning by API */
|
|
4443
4442
|
collection: PropTypes.object.isRequired,
|
|
4444
4443
|
|
|
@@ -4458,6 +4457,6 @@ ListComponent.propTypes = {
|
|
|
4458
4457
|
hideButton: PropTypes.bool,
|
|
4459
4458
|
authorPrefix: PropTypes.string
|
|
4460
4459
|
};
|
|
4461
|
-
var
|
|
4460
|
+
var ListComponent = StateProvider(ListComponentBase);
|
|
4462
4461
|
|
|
4463
|
-
export {
|
|
4462
|
+
export { ListComponent, ListComponentBase };
|
package/rows/Listicles/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useEffect } from 'react';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
4
4
|
import { Link, collectionToStories } from '@quintype/components';
|
|
@@ -2927,8 +2927,7 @@ var _styleModuleImportMap = {
|
|
|
2927
2927
|
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; }
|
|
2928
2928
|
|
|
2929
2929
|
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; }
|
|
2930
|
-
|
|
2931
|
-
var Listicles = function Listicles(_ref) {
|
|
2930
|
+
var ListiclesBase = function ListiclesBase(_ref) {
|
|
2932
2931
|
var collection = _ref.collection,
|
|
2933
2932
|
_ref$config = _ref.config,
|
|
2934
2933
|
config = _ref$config === void 0 ? {} : _ref$config;
|
|
@@ -3108,9 +3107,7 @@ var Listicles = function Listicles(_ref) {
|
|
|
3108
3107
|
}, subCollections.name));
|
|
3109
3108
|
})), /*#__PURE__*/React.createElement("div", null, loading ? /*#__PURE__*/React.createElement(Loading, null) : generateOpinions())));
|
|
3110
3109
|
};
|
|
3111
|
-
|
|
3112
|
-
var index = StateProvider(Listicles);
|
|
3113
|
-
Listicles.propTypes = {
|
|
3110
|
+
ListiclesBase.propTypes = {
|
|
3114
3111
|
/** collection is the array of objects which is returning by API */
|
|
3115
3112
|
collection: PropTypes.object.isRequired,
|
|
3116
3113
|
|
|
@@ -3124,10 +3121,11 @@ Listicles.propTypes = {
|
|
|
3124
3121
|
collectionNameBorderColor: PropTypes.string
|
|
3125
3122
|
})
|
|
3126
3123
|
};
|
|
3127
|
-
|
|
3124
|
+
ListiclesBase.defaultProps = {
|
|
3128
3125
|
theme: "#ffffff",
|
|
3129
3126
|
slotConfig: "story",
|
|
3130
3127
|
border: ""
|
|
3131
3128
|
};
|
|
3129
|
+
var Listicles = StateProvider(ListiclesBase);
|
|
3132
3130
|
|
|
3133
|
-
export {
|
|
3131
|
+
export { Listicles, ListiclesBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
4
4
|
import { Link, LazyLoadImages, ResponsiveImage, LinkBase } from '@quintype/components';
|
|
@@ -3045,8 +3045,7 @@ var _styleModuleImportMap = {
|
|
|
3045
3045
|
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; }
|
|
3046
3046
|
|
|
3047
3047
|
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; }
|
|
3048
|
-
|
|
3049
|
-
var MagazineEditions = function MagazineEditions(_ref) {
|
|
3048
|
+
var MagazineEditionsBase = function MagazineEditionsBase(_ref) {
|
|
3050
3049
|
var _ref$collection = _ref.collection,
|
|
3051
3050
|
collection = _ref$collection === void 0 ? [] : _ref$collection,
|
|
3052
3051
|
_ref$config = _ref.config,
|
|
@@ -3124,8 +3123,7 @@ var MagazineEditions = function MagazineEditions(_ref) {
|
|
|
3124
3123
|
}
|
|
3125
3124
|
})));
|
|
3126
3125
|
};
|
|
3127
|
-
|
|
3128
|
-
MagazineEditions.propTypes = {
|
|
3126
|
+
MagazineEditionsBase.propTypes = {
|
|
3129
3127
|
collection: PropTypes.array,
|
|
3130
3128
|
config: PropTypes.shape({
|
|
3131
3129
|
rowTitle: PropTypes.string,
|
|
@@ -3139,6 +3137,6 @@ MagazineEditions.propTypes = {
|
|
|
3139
3137
|
limit: PropTypes.number,
|
|
3140
3138
|
showLoadmore: PropTypes.bool
|
|
3141
3139
|
};
|
|
3142
|
-
var
|
|
3140
|
+
var MagazineEditions = StateProvider(MagazineEditionsBase);
|
|
3143
3141
|
|
|
3144
|
-
export {
|
|
3142
|
+
export { MagazineEditions, MagazineEditionsBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { connect, useDispatch, useSelector } from 'react-redux';
|
|
4
4
|
import { Link, LinkBase, LazyLoadImages, ResponsiveImage } from '@quintype/components';
|
|
@@ -3049,8 +3049,7 @@ var _styleModuleImportMap = {
|
|
|
3049
3049
|
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; }
|
|
3050
3050
|
|
|
3051
3051
|
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; }
|
|
3052
|
-
|
|
3053
|
-
var MagazineHeaderCard = function MagazineHeaderCard(_ref) {
|
|
3052
|
+
var MagazineHeaderCardBase = function MagazineHeaderCardBase(_ref) {
|
|
3054
3053
|
var _ref$collection = _ref.collection,
|
|
3055
3054
|
collection = _ref$collection === void 0 ? {} : _ref$collection,
|
|
3056
3055
|
_ref$config = _ref.config,
|
|
@@ -3118,8 +3117,7 @@ var MagazineHeaderCard = function MagazineHeaderCard(_ref) {
|
|
|
3118
3117
|
qtConfig: qtConfig
|
|
3119
3118
|
}))));
|
|
3120
3119
|
};
|
|
3121
|
-
|
|
3122
|
-
MagazineHeaderCard.propTypes = {
|
|
3120
|
+
MagazineHeaderCardBase.propTypes = {
|
|
3123
3121
|
collection: PropTypes.shape({
|
|
3124
3122
|
"created-at": PropTypes.number,
|
|
3125
3123
|
summary: PropTypes.string,
|
|
@@ -3133,6 +3131,6 @@ MagazineHeaderCard.propTypes = {
|
|
|
3133
3131
|
customUrlPath: PropTypes.string
|
|
3134
3132
|
})
|
|
3135
3133
|
};
|
|
3136
|
-
var
|
|
3134
|
+
var MagazineHeaderCard = StateProvider(MagazineHeaderCardBase);
|
|
3137
3135
|
|
|
3138
|
-
export {
|
|
3136
|
+
export { MagazineHeaderCard, MagazineHeaderCardBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
4
4
|
import { Link, LinkBase, ResponsiveImage, ResponsiveHeroImage, LazyLoadImages } from '@quintype/components';
|
|
@@ -4372,8 +4372,7 @@ var _styleModuleImportMap = {
|
|
|
4372
4372
|
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; }
|
|
4373
4373
|
|
|
4374
4374
|
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; }
|
|
4375
|
-
|
|
4376
|
-
var MagazineWidget = function MagazineWidget(_ref) {
|
|
4375
|
+
var MagazineWidgetBase = function MagazineWidgetBase(_ref) {
|
|
4377
4376
|
var _ref$collection = _ref.collection,
|
|
4378
4377
|
collection = _ref$collection === void 0 ? {} : _ref$collection,
|
|
4379
4378
|
_ref$config = _ref.config,
|
|
@@ -4498,8 +4497,7 @@ var MagazineWidget = function MagazineWidget(_ref) {
|
|
|
4498
4497
|
className: _getClassName("summary ".concat(textColor), _styleModuleImportMap)
|
|
4499
4498
|
}, summary), !isTablet && bottomCard()), isTablet && bottomCard()));
|
|
4500
4499
|
};
|
|
4501
|
-
|
|
4502
|
-
MagazineWidget.propTypes = {
|
|
4500
|
+
MagazineWidgetBase.propTypes = {
|
|
4503
4501
|
collection: PropTypes.shape({
|
|
4504
4502
|
"created-at": PropTypes.number,
|
|
4505
4503
|
summary: PropTypes.string,
|
|
@@ -4511,6 +4509,6 @@ MagazineWidget.propTypes = {
|
|
|
4511
4509
|
border: PropTypes.string
|
|
4512
4510
|
})
|
|
4513
4511
|
};
|
|
4514
|
-
var
|
|
4512
|
+
var MagazineWidget = StateProvider(MagazineWidgetBase);
|
|
4515
4513
|
|
|
4516
|
-
export {
|
|
4514
|
+
export { MagazineWidget, MagazineWidgetBase };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Link, ResponsiveImage, ResponsiveHeroImage, LinkBase, collectionToStories } from '@quintype/components';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
|
-
import React, { useState, useEffect, useRef,
|
|
3
|
+
import React, { useState, useEffect, useRef, useContext, createContext } from 'react';
|
|
4
4
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import Timeago from 'react-timeago';
|
|
@@ -4453,7 +4453,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
4453
4453
|
getMoreStories(offset, limit);
|
|
4454
4454
|
};
|
|
4455
4455
|
|
|
4456
|
-
var
|
|
4456
|
+
var OneColStoryListBase = function OneColStoryListBase(_ref2) {
|
|
4457
4457
|
var collection = _ref2.collection,
|
|
4458
4458
|
_ref2$config = _ref2.config,
|
|
4459
4459
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -4639,8 +4639,7 @@ var OneColStoryList = function OneColStoryList(_ref2) {
|
|
|
4639
4639
|
className: "one-col-story-list-m_ad-wrapper__3_cNc"
|
|
4640
4640
|
}, footerSlotComp))));
|
|
4641
4641
|
};
|
|
4642
|
-
|
|
4643
|
-
OneColStoryList.propTypes = {
|
|
4642
|
+
OneColStoryListBase.propTypes = {
|
|
4644
4643
|
/** collection is the array of objects which is returning by API */
|
|
4645
4644
|
collection: PropTypes.object.isRequired,
|
|
4646
4645
|
|
|
@@ -4661,11 +4660,11 @@ OneColStoryList.propTypes = {
|
|
|
4661
4660
|
isLoading: PropTypes.bool,
|
|
4662
4661
|
isolatedLoadMore: PropTypes.bool
|
|
4663
4662
|
};
|
|
4664
|
-
|
|
4663
|
+
OneColStoryListBase.defaultProps = {
|
|
4665
4664
|
getMoreStories: function getMoreStories() {},
|
|
4666
4665
|
isLoadMoreVisible: true,
|
|
4667
4666
|
isLoading: false
|
|
4668
4667
|
};
|
|
4669
|
-
var
|
|
4668
|
+
var OneColStoryList = StateProvider(OneColStoryListBase);
|
|
4670
4669
|
|
|
4671
|
-
export {
|
|
4670
|
+
export { OneColStoryList, OneColStoryListBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useEffect, useRef } from 'react';
|
|
2
2
|
import { connect, useDispatch, useSelector } from 'react-redux';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
4
4
|
import { Link, ResponsiveImage, LinkBase, collectionToStories } from '@quintype/components';
|
|
@@ -3882,7 +3882,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
3882
3882
|
getMoreStories(offset, limit);
|
|
3883
3883
|
};
|
|
3884
3884
|
|
|
3885
|
-
var
|
|
3885
|
+
var OpinionCollectionBase = function OpinionCollectionBase(_ref2) {
|
|
3886
3886
|
var collection = _ref2.collection,
|
|
3887
3887
|
config = _ref2.config,
|
|
3888
3888
|
getMoreStories = _ref2.getMoreStories,
|
|
@@ -4008,8 +4008,7 @@ var OpinionCollection = function OpinionCollection(_ref2) {
|
|
|
4008
4008
|
subsequentLoadCount: subsequentLoadCount
|
|
4009
4009
|
})));
|
|
4010
4010
|
};
|
|
4011
|
-
|
|
4012
|
-
OpinionCollection.propTypes = {
|
|
4011
|
+
OpinionCollectionBase.propTypes = {
|
|
4013
4012
|
collection: PropTypes.object,
|
|
4014
4013
|
config: PropTypes.shape({
|
|
4015
4014
|
collectionNameBorderColor: PropTypes.string,
|
|
@@ -4025,7 +4024,7 @@ OpinionCollection.propTypes = {
|
|
|
4025
4024
|
isLoadMoreVisible: PropTypes.bool,
|
|
4026
4025
|
isolatedLoadMore: PropTypes.bool
|
|
4027
4026
|
};
|
|
4028
|
-
|
|
4027
|
+
OpinionCollectionBase.defaultProps = {
|
|
4029
4028
|
getMoreStories: function getMoreStories() {},
|
|
4030
4029
|
isLoadMoreVisible: true,
|
|
4031
4030
|
isLoading: false,
|
|
@@ -4033,6 +4032,6 @@ OpinionCollection.defaultProps = {
|
|
|
4033
4032
|
config: {},
|
|
4034
4033
|
hideFirstCard: false
|
|
4035
4034
|
};
|
|
4036
|
-
var
|
|
4035
|
+
var OpinionCollection = StateProvider(OpinionCollectionBase);
|
|
4037
4036
|
|
|
4038
|
-
export {
|
|
4037
|
+
export { OpinionCollection, OpinionCollectionBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useContext, createContext, useState, useEffect, useRef } from 'react';
|
|
2
2
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
3
3
|
import { Link, ResponsiveHeroImage, ResponsiveImage, LinkBase, collectionToStories } from '@quintype/components';
|
|
4
4
|
import { connect, useSelector, useDispatch } from 'react-redux';
|
|
@@ -4377,7 +4377,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
4377
4377
|
getMoreStories(offset, limit);
|
|
4378
4378
|
};
|
|
4379
4379
|
|
|
4380
|
-
var
|
|
4380
|
+
var SixColSixStoriesBase = function SixColSixStoriesBase(_ref2) {
|
|
4381
4381
|
var _ref2$collection = _ref2.collection,
|
|
4382
4382
|
collection = _ref2$collection === void 0 ? {} : _ref2$collection,
|
|
4383
4383
|
_ref2$config = _ref2.config,
|
|
@@ -4485,9 +4485,7 @@ var SixColSixStories = function SixColSixStories(_ref2) {
|
|
|
4485
4485
|
subsequentLoadCount: subsequentLoadCount
|
|
4486
4486
|
})));
|
|
4487
4487
|
};
|
|
4488
|
-
|
|
4489
|
-
var index = StateProvider(SixColSixStories);
|
|
4490
|
-
SixColSixStories.propTypes = {
|
|
4488
|
+
SixColSixStoriesBase.propTypes = {
|
|
4491
4489
|
/** collection is the array of objects which is returning by API */
|
|
4492
4490
|
collection: PropTypes.object.isRequired,
|
|
4493
4491
|
|
|
@@ -4507,10 +4505,11 @@ SixColSixStories.propTypes = {
|
|
|
4507
4505
|
isLoading: PropTypes.bool,
|
|
4508
4506
|
isolatedLoadMore: PropTypes.bool
|
|
4509
4507
|
};
|
|
4510
|
-
|
|
4508
|
+
SixColSixStoriesBase.defaultProps = {
|
|
4511
4509
|
getMoreStories: function getMoreStories() {},
|
|
4512
4510
|
isLoadMoreVisible: true,
|
|
4513
4511
|
isLoading: false
|
|
4514
4512
|
};
|
|
4513
|
+
var SixColSixStories = StateProvider(SixColSixStoriesBase);
|
|
4515
4514
|
|
|
4516
|
-
export {
|
|
4515
|
+
export { SixColSixStories, SixColSixStoriesBase };
|