@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,9 +1,9 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
|
-
import { S as StoryCard } from './index-
|
|
3
|
-
import { S as StorycardContent } from './index-
|
|
4
|
-
import { H as HeroImage } from './index-
|
|
5
|
-
import { g as getTextColor, a as get_1, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
6
|
-
import {
|
|
2
|
+
import { S as StoryCard } from './index-6f8c780e.js';
|
|
3
|
+
import { S as StorycardContent } from './index-f6e578e3.js';
|
|
4
|
+
import { H as HeroImage } from './index-6cb56d1a.js';
|
|
5
|
+
import { g as getTextColor, a as get_1, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
6
|
+
import { C as CollectionName, S as StateProvider, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
7
7
|
import { collectionToStories } from '@quintype/components';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { useDispatch, useSelector } from 'react-redux';
|
|
@@ -24,7 +24,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
24
24
|
getMoreStories(offset, limit);
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var FourColGridBase = function FourColGridBase(_ref2) {
|
|
28
28
|
var collection = _ref2.collection,
|
|
29
29
|
_ref2$config = _ref2.config,
|
|
30
30
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -136,8 +136,7 @@ var FourColGrid = function FourColGrid(_ref2) {
|
|
|
136
136
|
subsequentLoadCount: subsequentLoadCount
|
|
137
137
|
}), footerSlotComp));
|
|
138
138
|
};
|
|
139
|
-
|
|
140
|
-
FourColGrid.propTypes = {
|
|
139
|
+
FourColGridBase.propTypes = {
|
|
141
140
|
/** collection is the array of objects which is returning by API */
|
|
142
141
|
collection: PropTypes.object.isRequired,
|
|
143
142
|
|
|
@@ -157,11 +156,11 @@ FourColGrid.propTypes = {
|
|
|
157
156
|
isLoading: PropTypes.bool,
|
|
158
157
|
isolatedLoadMore: PropTypes.bool
|
|
159
158
|
};
|
|
160
|
-
|
|
159
|
+
FourColGridBase.defaultProps = {
|
|
161
160
|
getMoreStories: function getMoreStories() {},
|
|
162
161
|
isLoadMoreVisible: true,
|
|
163
162
|
isLoading: false
|
|
164
163
|
};
|
|
165
|
-
var
|
|
164
|
+
var FourColGrid = StateProvider(FourColGridBase);
|
|
166
165
|
|
|
167
|
-
export {
|
|
166
|
+
export { FourColGrid, FourColGridBase };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { collectionToStories } from '@quintype/components';
|
|
2
|
-
import { a as get_1, g as getTextColor, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
2
|
+
import { a as get_1, g as getTextColor, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useDispatch, useSelector } from 'react-redux';
|
|
6
|
-
import {
|
|
7
|
-
import { H as HeroImage, S as SectionTag } from './index-
|
|
8
|
-
import { S as StoryCard, a as Subheadline } from './index-
|
|
9
|
-
import { S as StorycardContent } from './index-
|
|
6
|
+
import { C as CollectionName, S as StateProvider, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton, H as Headline, A as AuthorWithTime } from './index-aa8b8ab8.js';
|
|
7
|
+
import { H as HeroImage, S as SectionTag } from './index-6cb56d1a.js';
|
|
8
|
+
import { S as StoryCard, a as Subheadline } from './index-6f8c780e.js';
|
|
9
|
+
import { S as StorycardContent } from './index-f6e578e3.js';
|
|
10
10
|
import 'react-timeago';
|
|
11
11
|
import 'date-fns-tz';
|
|
12
12
|
import 'react-dom';
|
|
@@ -23,7 +23,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
23
23
|
getMoreStories(offset, limit);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var OneColStoryListBase = function OneColStoryListBase(_ref2) {
|
|
27
27
|
var collection = _ref2.collection,
|
|
28
28
|
_ref2$config = _ref2.config,
|
|
29
29
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -209,8 +209,7 @@ var OneColStoryList = function OneColStoryList(_ref2) {
|
|
|
209
209
|
className: "one-col-story-list-m_ad-wrapper__3_cNc"
|
|
210
210
|
}, footerSlotComp))));
|
|
211
211
|
};
|
|
212
|
-
|
|
213
|
-
OneColStoryList.propTypes = {
|
|
212
|
+
OneColStoryListBase.propTypes = {
|
|
214
213
|
/** collection is the array of objects which is returning by API */
|
|
215
214
|
collection: PropTypes.object.isRequired,
|
|
216
215
|
|
|
@@ -231,11 +230,11 @@ OneColStoryList.propTypes = {
|
|
|
231
230
|
isLoading: PropTypes.bool,
|
|
232
231
|
isolatedLoadMore: PropTypes.bool
|
|
233
232
|
};
|
|
234
|
-
|
|
233
|
+
OneColStoryListBase.defaultProps = {
|
|
235
234
|
getMoreStories: function getMoreStories() {},
|
|
236
235
|
isLoadMoreVisible: true,
|
|
237
236
|
isLoading: false
|
|
238
237
|
};
|
|
239
|
-
var
|
|
238
|
+
var OneColStoryList = StateProvider(OneColStoryListBase);
|
|
240
239
|
|
|
241
|
-
export {
|
|
240
|
+
export { OneColStoryList, OneColStoryListBase };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { m as _arrayWithHoles, o as _iterableToArray, p as _unsupportedIterableToArray, q as _nonIterableRest, a as get_1, g as getTextColor, r as rgbToHex, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
1
|
+
import { m as _arrayWithHoles, o as _iterableToArray, p as _unsupportedIterableToArray, q as _nonIterableRest, a as get_1, g as getTextColor, r as rgbToHex, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
|
-
import { H as HeroImage } from './index-
|
|
6
|
-
import {
|
|
5
|
+
import { H as HeroImage } from './index-6cb56d1a.js';
|
|
6
|
+
import { C as CollectionName, S as StateProvider, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
7
7
|
import { collectionToStories } from '@quintype/components';
|
|
8
|
-
import { S as StorycardContent } from './index-
|
|
8
|
+
import { S as StorycardContent } from './index-f6e578e3.js';
|
|
9
9
|
import 'react-timeago';
|
|
10
10
|
import 'date-fns-tz';
|
|
11
11
|
import 'react-dom';
|
|
@@ -26,7 +26,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
26
26
|
getMoreStories(offset, limit);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var FourColFiveStoriesBase = function FourColFiveStoriesBase(_ref2) {
|
|
30
30
|
var collection = _ref2.collection,
|
|
31
31
|
config = _ref2.config,
|
|
32
32
|
getMoreStories = _ref2.getMoreStories,
|
|
@@ -151,8 +151,7 @@ var FourColFiveStories = function FourColFiveStories(_ref2) {
|
|
|
151
151
|
subsequentLoadCount: subsequentLoadCount
|
|
152
152
|
})));
|
|
153
153
|
};
|
|
154
|
-
|
|
155
|
-
FourColFiveStories.propTypes = {
|
|
154
|
+
FourColFiveStoriesBase.propTypes = {
|
|
156
155
|
collection: PropTypes.object,
|
|
157
156
|
config: PropTypes.shape({
|
|
158
157
|
collectionNameBorderColor: PropTypes.string,
|
|
@@ -169,7 +168,7 @@ FourColFiveStories.propTypes = {
|
|
|
169
168
|
isLoadMoreVisible: PropTypes.bool,
|
|
170
169
|
isolatedLoadMore: PropTypes.bool
|
|
171
170
|
};
|
|
172
|
-
|
|
171
|
+
FourColFiveStoriesBase.defaultProps = {
|
|
173
172
|
getMoreStories: function getMoreStories() {},
|
|
174
173
|
isLoadMoreVisible: true,
|
|
175
174
|
isLoading: false,
|
|
@@ -177,6 +176,6 @@ FourColFiveStories.defaultProps = {
|
|
|
177
176
|
config: {},
|
|
178
177
|
hideFirstCard: false
|
|
179
178
|
};
|
|
180
|
-
var
|
|
179
|
+
var FourColFiveStories = StateProvider(FourColFiveStoriesBase);
|
|
181
180
|
|
|
182
|
-
export {
|
|
181
|
+
export { FourColFiveStories, FourColFiveStoriesBase };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as get_1, c as _slicedToArray, d as clientWidth, _ as _getClassName, e as getStoryUrl, f as isExternalStory, g as getTextColor, r as rgbToHex } from './index-
|
|
1
|
+
import { a as get_1, c as _slicedToArray, d as clientWidth, _ as _getClassName, e as getStoryUrl, f as isExternalStory, g as getTextColor, r as rgbToHex } from './index-e39b3ca8.js';
|
|
2
2
|
import { Link, ResponsiveHeroImage } from '@quintype/components';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useSelector } from 'react-redux';
|
|
6
|
-
import { u as useStateValue } from './index-
|
|
6
|
+
import { u as useStateValue } from './index-aa8b8ab8.js';
|
|
7
7
|
|
|
8
8
|
var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
|
|
9
9
|
var _ref$width = _ref.width,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _getClassName, a as get_1, g as getTextColor, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
1
|
+
import { C as CollectionName, b as Author, H as Headline, A as AuthorWithTime, S as StateProvider, _ as _defineProperty, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
2
|
+
import { _ as _getClassName, a as get_1, g as getTextColor, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
@@ -127,7 +127,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
127
127
|
getMoreStories(offset, limit);
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var OpinionCollectionBase = function OpinionCollectionBase(_ref2) {
|
|
131
131
|
var collection = _ref2.collection,
|
|
132
132
|
config = _ref2.config,
|
|
133
133
|
getMoreStories = _ref2.getMoreStories,
|
|
@@ -253,8 +253,7 @@ var OpinionCollection = function OpinionCollection(_ref2) {
|
|
|
253
253
|
subsequentLoadCount: subsequentLoadCount
|
|
254
254
|
})));
|
|
255
255
|
};
|
|
256
|
-
|
|
257
|
-
OpinionCollection.propTypes = {
|
|
256
|
+
OpinionCollectionBase.propTypes = {
|
|
258
257
|
collection: PropTypes.object,
|
|
259
258
|
config: PropTypes.shape({
|
|
260
259
|
collectionNameBorderColor: PropTypes.string,
|
|
@@ -270,7 +269,7 @@ OpinionCollection.propTypes = {
|
|
|
270
269
|
isLoadMoreVisible: PropTypes.bool,
|
|
271
270
|
isolatedLoadMore: PropTypes.bool
|
|
272
271
|
};
|
|
273
|
-
|
|
272
|
+
OpinionCollectionBase.defaultProps = {
|
|
274
273
|
getMoreStories: function getMoreStories() {},
|
|
275
274
|
isLoadMoreVisible: true,
|
|
276
275
|
isLoading: false,
|
|
@@ -278,6 +277,6 @@ OpinionCollection.defaultProps = {
|
|
|
278
277
|
config: {},
|
|
279
278
|
hideFirstCard: false
|
|
280
279
|
};
|
|
281
|
-
var
|
|
280
|
+
var OpinionCollection = StateProvider(OpinionCollectionBase);
|
|
282
281
|
|
|
283
|
-
export {
|
|
282
|
+
export { OpinionCollection, OpinionCollectionBase };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as get_1, g as getTextColor, _ as _getClassName, t as truncate, i as isEmpty, r as rgbToHex } from './index-
|
|
1
|
+
import { a as get_1, g as getTextColor, _ as _getClassName, t as truncate, i as isEmpty, r as rgbToHex } from './index-e39b3ca8.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { u as useStateValue, H as Headline, A as AuthorWithTime } from './index-
|
|
3
|
+
import { u as useStateValue, H as Headline, A as AuthorWithTime } from './index-aa8b8ab8.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { H as HeroImage, S as SectionTag } from './index-
|
|
5
|
+
import { H as HeroImage, S as SectionTag } from './index-6cb56d1a.js';
|
|
6
6
|
|
|
7
7
|
var _styleModuleImportMap$1 = {
|
|
8
8
|
"./subheadline.m.css": {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
|
3
|
-
import { i as isEmpty, g as getTextColor, a as get_1, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
3
|
+
import { i as isEmpty, g as getTextColor, a as get_1, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { collectionToStories } from '@quintype/components';
|
|
6
|
-
import { S as StateProvider, C as CollectionName, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-
|
|
7
|
-
import { S as StoryCard } from './index-
|
|
8
|
-
import { S as StorycardContent } from './index-
|
|
9
|
-
import { H as HeroImage } from './index-
|
|
6
|
+
import { S as StateProvider, C as CollectionName, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
7
|
+
import { S as StoryCard } from './index-6f8c780e.js';
|
|
8
|
+
import { S as StorycardContent } from './index-f6e578e3.js';
|
|
9
|
+
import { H as HeroImage } from './index-6cb56d1a.js';
|
|
10
10
|
import 'react-timeago';
|
|
11
11
|
import 'date-fns-tz';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var PortraitStoryCardBase = function PortraitStoryCardBase(_ref) {
|
|
15
15
|
var story = _ref.story,
|
|
16
16
|
_ref$border = _ref.border,
|
|
17
17
|
border = _ref$border === void 0 ? "" : _ref$border,
|
|
@@ -45,8 +45,7 @@ var PortraitStoryCard = function PortraitStoryCard(_ref) {
|
|
|
45
45
|
headerLevel: headerLevel
|
|
46
46
|
})));
|
|
47
47
|
};
|
|
48
|
-
|
|
49
|
-
PortraitStoryCard.propTypes = {
|
|
48
|
+
PortraitStoryCardBase.propTypes = {
|
|
50
49
|
border: PropTypes.string,
|
|
51
50
|
theme: PropTypes.string,
|
|
52
51
|
headerLevel: PropTypes.string,
|
|
@@ -55,7 +54,7 @@ PortraitStoryCard.propTypes = {
|
|
|
55
54
|
config: PropTypes.object,
|
|
56
55
|
story: PropTypes.object
|
|
57
56
|
};
|
|
58
|
-
var PortraitStoryCard
|
|
57
|
+
var PortraitStoryCard = StateProvider(PortraitStoryCardBase);
|
|
59
58
|
|
|
60
59
|
var loadMore = function loadMore(_ref) {
|
|
61
60
|
var isLoading = _ref.isLoading,
|
|
@@ -70,7 +69,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
70
69
|
getMoreStories(offset, limit);
|
|
71
70
|
};
|
|
72
71
|
|
|
73
|
-
var
|
|
72
|
+
var FourColPortraitStoriesBase = function FourColPortraitStoriesBase(_ref2) {
|
|
74
73
|
var collection = _ref2.collection,
|
|
75
74
|
_ref2$config = _ref2.config,
|
|
76
75
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -152,7 +151,7 @@ var FourColPortraitStories = function FourColPortraitStories(_ref2) {
|
|
|
152
151
|
}), /*#__PURE__*/React.createElement("div", {
|
|
153
152
|
className: "four-col-portrait-stories-m_wrapper__1BX02"
|
|
154
153
|
}, storyItems.map(function (story, index) {
|
|
155
|
-
return /*#__PURE__*/React.createElement(PortraitStoryCard
|
|
154
|
+
return /*#__PURE__*/React.createElement(PortraitStoryCard, {
|
|
156
155
|
story: story,
|
|
157
156
|
border: border,
|
|
158
157
|
theme: theme,
|
|
@@ -171,8 +170,7 @@ var FourColPortraitStories = function FourColPortraitStories(_ref2) {
|
|
|
171
170
|
subsequentLoadCount: subsequentLoadCount
|
|
172
171
|
}), footerSlotComp));
|
|
173
172
|
};
|
|
174
|
-
|
|
175
|
-
FourColPortraitStories.propTypes = {
|
|
173
|
+
FourColPortraitStoriesBase.propTypes = {
|
|
176
174
|
/** collection is the array of objects which is returning by API */
|
|
177
175
|
collection: PropTypes.object.isRequired,
|
|
178
176
|
|
|
@@ -191,11 +189,11 @@ FourColPortraitStories.propTypes = {
|
|
|
191
189
|
isLoading: PropTypes.bool,
|
|
192
190
|
isolatedLoadMore: PropTypes.bool
|
|
193
191
|
};
|
|
194
|
-
|
|
192
|
+
FourColPortraitStoriesBase.defaultProps = {
|
|
195
193
|
getMoreStories: function getMoreStories() {},
|
|
196
194
|
isLoadMoreVisible: true,
|
|
197
195
|
isLoading: false
|
|
198
196
|
};
|
|
199
|
-
var
|
|
197
|
+
var FourColPortraitStories = StateProvider(FourColPortraitStoriesBase);
|
|
200
198
|
|
|
201
|
-
export {
|
|
199
|
+
export { FourColPortraitStories, FourColPortraitStoriesBase };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
|
-
import { g as getTextColor, a as get_1, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
3
|
-
import { S as StoryCard } from './index-
|
|
4
|
-
import { H as HeroImage } from './index-
|
|
5
|
-
import { S as StorycardContent } from './index-
|
|
6
|
-
import {
|
|
2
|
+
import { g as getTextColor, a as get_1, l as getSlot, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
3
|
+
import { S as StoryCard } from './index-6f8c780e.js';
|
|
4
|
+
import { H as HeroImage } from './index-6cb56d1a.js';
|
|
5
|
+
import { S as StorycardContent } from './index-f6e578e3.js';
|
|
6
|
+
import { C as CollectionName, S as StateProvider, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
7
7
|
import { collectionToStories } from '@quintype/components';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { useDispatch, useSelector } from 'react-redux';
|
|
@@ -23,7 +23,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
23
23
|
getMoreStories(offset, limit);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var ThreeColGridBase = function ThreeColGridBase(_ref2) {
|
|
27
27
|
var collection = _ref2.collection,
|
|
28
28
|
_ref2$config = _ref2.config,
|
|
29
29
|
config = _ref2$config === void 0 ? {} : _ref2$config,
|
|
@@ -146,8 +146,7 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
|
|
|
146
146
|
subsequentLoadCount: subsequentLoadCount
|
|
147
147
|
}), footerSlotComp));
|
|
148
148
|
};
|
|
149
|
-
|
|
150
|
-
ThreeColGrid.propTypes = {
|
|
149
|
+
ThreeColGridBase.propTypes = {
|
|
151
150
|
/** collection is the array of objects which is returning by API */
|
|
152
151
|
collection: PropTypes.object.isRequired,
|
|
153
152
|
|
|
@@ -166,11 +165,11 @@ ThreeColGrid.propTypes = {
|
|
|
166
165
|
isLoading: PropTypes.bool,
|
|
167
166
|
isolatedLoadMore: PropTypes.bool
|
|
168
167
|
};
|
|
169
|
-
|
|
168
|
+
ThreeColGridBase.defaultProps = {
|
|
170
169
|
getMoreStories: function getMoreStories() {},
|
|
171
170
|
isLoadMoreVisible: true,
|
|
172
171
|
isLoading: false
|
|
173
172
|
};
|
|
174
|
-
var
|
|
173
|
+
var ThreeColGrid = StateProvider(ThreeColGridBase);
|
|
175
174
|
|
|
176
|
-
export {
|
|
175
|
+
export { ThreeColGrid, ThreeColGridBase };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as getTextColor, a as get_1, _ as _getClassName, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
1
|
+
import { g as getTextColor, a as get_1, _ as _getClassName, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { collectionToStories } from '@quintype/components';
|
|
5
|
-
import {
|
|
6
|
-
import { H as HeroImage, S as SectionTag } from './index-
|
|
7
|
-
import { S as StoryCard } from './index-
|
|
5
|
+
import { C as CollectionName, H as Headline, A as AuthorWithTime, S as StateProvider, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
6
|
+
import { H as HeroImage, S as SectionTag } from './index-6cb56d1a.js';
|
|
7
|
+
import { S as StoryCard } from './index-6f8c780e.js';
|
|
8
8
|
import { useDispatch, useSelector } from 'react-redux';
|
|
9
9
|
import 'react-timeago';
|
|
10
10
|
import 'date-fns-tz';
|
|
@@ -37,7 +37,7 @@ var loadMore = function loadMore(_ref) {
|
|
|
37
37
|
getMoreStories(offset, limit);
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var SixColSixStoriesBase = function SixColSixStoriesBase(_ref2) {
|
|
41
41
|
var _ref2$collection = _ref2.collection,
|
|
42
42
|
collection = _ref2$collection === void 0 ? {} : _ref2$collection,
|
|
43
43
|
_ref2$config = _ref2.config,
|
|
@@ -145,9 +145,7 @@ var SixColSixStories = function SixColSixStories(_ref2) {
|
|
|
145
145
|
subsequentLoadCount: subsequentLoadCount
|
|
146
146
|
})));
|
|
147
147
|
};
|
|
148
|
-
|
|
149
|
-
var index = StateProvider(SixColSixStories);
|
|
150
|
-
SixColSixStories.propTypes = {
|
|
148
|
+
SixColSixStoriesBase.propTypes = {
|
|
151
149
|
/** collection is the array of objects which is returning by API */
|
|
152
150
|
collection: PropTypes.object.isRequired,
|
|
153
151
|
|
|
@@ -167,10 +165,11 @@ SixColSixStories.propTypes = {
|
|
|
167
165
|
isLoading: PropTypes.bool,
|
|
168
166
|
isolatedLoadMore: PropTypes.bool
|
|
169
167
|
};
|
|
170
|
-
|
|
168
|
+
SixColSixStoriesBase.defaultProps = {
|
|
171
169
|
getMoreStories: function getMoreStories() {},
|
|
172
170
|
isLoadMoreVisible: true,
|
|
173
171
|
isLoading: false
|
|
174
172
|
};
|
|
173
|
+
var SixColSixStories = StateProvider(SixColSixStoriesBase);
|
|
175
174
|
|
|
176
|
-
export {
|
|
175
|
+
export { SixColSixStories, SixColSixStoriesBase };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as get_1, g as getTextColor, _ as _getClassName, e as getStoryUrl, f as isExternalStory, h as getTimeStamp, j as formatter, k as getSlug, r as rgbToHex, d as clientWidth, b as generateNavigateSlug, c as _slicedToArray } from './index-
|
|
2
|
-
import React, {
|
|
1
|
+
import { a as get_1, g as getTextColor, _ as _getClassName, e as getStoryUrl, f as isExternalStory, h as getTimeStamp, j as formatter, k as getSlug, r as rgbToHex, d as clientWidth, b as generateNavigateSlug, c as _slicedToArray } from './index-e39b3ca8.js';
|
|
2
|
+
import React, { useContext, createContext, useState, useEffect, useRef } from 'react';
|
|
3
3
|
import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
|
|
4
4
|
import { Link, ResponsiveImage, LinkBase } from '@quintype/components';
|
|
5
5
|
import { connect } from 'react-redux';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { collectionToStories } from '@quintype/components';
|
|
2
|
-
import { a as get_1, l as getSlot, g as getTextColor, b as generateNavigateSlug, n as navigateTo } from './index-
|
|
2
|
+
import { a as get_1, l as getSlot, g as getTextColor, b as generateNavigateSlug, n as navigateTo } from './index-e39b3ca8.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useDispatch, useSelector } from 'react-redux';
|
|
6
|
-
import {
|
|
7
|
-
import { H as HeroImage, S as SectionTag } from './index-
|
|
8
|
-
import { S as StoryCard } from './index-
|
|
6
|
+
import { C as CollectionName, S as StateProvider, H as Headline, A as AuthorWithTime, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-aa8b8ab8.js';
|
|
7
|
+
import { H as HeroImage, S as SectionTag } from './index-6cb56d1a.js';
|
|
8
|
+
import { S as StoryCard } from './index-6f8c780e.js';
|
|
9
9
|
import 'react-timeago';
|
|
10
10
|
import 'date-fns-tz';
|
|
11
11
|
import 'react-dom';
|
|
@@ -63,7 +63,7 @@ var loadMore = function loadMore(_ref2) {
|
|
|
63
63
|
getMoreStories(offset, limit);
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var ThreeColFlexStoriesBase = function ThreeColFlexStoriesBase(_ref3) {
|
|
67
67
|
var _ref3$collection = _ref3.collection,
|
|
68
68
|
collection = _ref3$collection === void 0 ? {} : _ref3$collection,
|
|
69
69
|
_ref3$config = _ref3.config,
|
|
@@ -182,9 +182,7 @@ var ThreeColFlexStories = function ThreeColFlexStories(_ref3) {
|
|
|
182
182
|
subsequentLoadCount: subsequentLoadCount
|
|
183
183
|
})));
|
|
184
184
|
};
|
|
185
|
-
|
|
186
|
-
var index = StateProvider(ThreeColFlexStories);
|
|
187
|
-
ThreeColFlexStories.propTypes = {
|
|
185
|
+
ThreeColFlexStoriesBase.propTypes = {
|
|
188
186
|
/** collection is the array of objects which is returning by API */
|
|
189
187
|
collection: PropTypes.object.isRequired,
|
|
190
188
|
|
|
@@ -214,11 +212,12 @@ FlexCard.propTypes = {
|
|
|
214
212
|
localizationConfig: PropTypes.object
|
|
215
213
|
})
|
|
216
214
|
};
|
|
217
|
-
|
|
215
|
+
ThreeColFlexStoriesBase.defaultProps = {
|
|
218
216
|
getMoreStories: function getMoreStories() {},
|
|
219
217
|
isLoadMoreVisible: true,
|
|
220
218
|
isLoading: false,
|
|
221
219
|
hideFirstCard: false
|
|
222
220
|
};
|
|
221
|
+
var ThreeColFlexStories = StateProvider(ThreeColFlexStoriesBase);
|
|
223
222
|
|
|
224
|
-
export {
|
|
223
|
+
export { ThreeColFlexStories, ThreeColFlexStoriesBase };
|
|
@@ -2866,47 +2866,47 @@ var getTemplate = function getTemplate(templateName) {
|
|
|
2866
2866
|
switch (templateName) {
|
|
2867
2867
|
case "ArrowFourColGrid":
|
|
2868
2868
|
return /*#__PURE__*/lazy(function () {
|
|
2869
|
-
return import('./index-
|
|
2869
|
+
return import('./index-2d713010.js');
|
|
2870
2870
|
});
|
|
2871
2871
|
|
|
2872
2872
|
case "ArrowThreeColGrid":
|
|
2873
2873
|
return /*#__PURE__*/lazy(function () {
|
|
2874
|
-
return import('./index-
|
|
2874
|
+
return import('./index-8345922c.js');
|
|
2875
2875
|
});
|
|
2876
2876
|
|
|
2877
2877
|
case "ArrowOneColStoryList":
|
|
2878
2878
|
return /*#__PURE__*/lazy(function () {
|
|
2879
|
-
return import('./index-
|
|
2879
|
+
return import('./index-4191a84c.js');
|
|
2880
2880
|
});
|
|
2881
2881
|
|
|
2882
2882
|
case "ArrowFourColFiveStories":
|
|
2883
2883
|
return /*#__PURE__*/lazy(function () {
|
|
2884
|
-
return import('./index-
|
|
2884
|
+
return import('./index-5a7900ba.js');
|
|
2885
2885
|
});
|
|
2886
2886
|
|
|
2887
2887
|
case "ArrowOpinionCollection":
|
|
2888
2888
|
return /*#__PURE__*/lazy(function () {
|
|
2889
|
-
return import('./index-
|
|
2889
|
+
return import('./index-6daa674c.js');
|
|
2890
2890
|
});
|
|
2891
2891
|
|
|
2892
2892
|
case "ArrowSixColSixStories":
|
|
2893
2893
|
return /*#__PURE__*/lazy(function () {
|
|
2894
|
-
return import('./index-
|
|
2894
|
+
return import('./index-99af722e.js');
|
|
2895
2895
|
});
|
|
2896
2896
|
|
|
2897
2897
|
case "ArrowThreeColFlexStories":
|
|
2898
2898
|
return /*#__PURE__*/lazy(function () {
|
|
2899
|
-
return import('./index-
|
|
2899
|
+
return import('./index-c8f346d0.js');
|
|
2900
2900
|
});
|
|
2901
2901
|
|
|
2902
2902
|
case "ArrowFourColPortraitStories":
|
|
2903
2903
|
return /*#__PURE__*/lazy(function () {
|
|
2904
|
-
return import('./index-
|
|
2904
|
+
return import('./index-7eb05b3d.js');
|
|
2905
2905
|
});
|
|
2906
2906
|
|
|
2907
2907
|
default:
|
|
2908
2908
|
return /*#__PURE__*/lazy(function () {
|
|
2909
|
-
return import('./index-
|
|
2909
|
+
return import('./index-8345922c.js');
|
|
2910
2910
|
});
|
|
2911
2911
|
}
|
|
2912
2912
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as getTextColor, r as rgbToHex, _ as _getClassName } from './index-
|
|
1
|
+
import { g as getTextColor, r as rgbToHex, _ as _getClassName } from './index-e39b3ca8.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { H as Headline, A as AuthorWithTime } from './index-
|
|
4
|
-
import { S as SectionTag } from './index-
|
|
3
|
+
import { H as Headline, A as AuthorWithTime } from './index-aa8b8ab8.js';
|
|
4
|
+
import { S as SectionTag } from './index-6cb56d1a.js';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
|
|
7
7
|
var _styleModuleImportMap = {
|