@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.
Files changed (97) hide show
  1. package/atoms/Author/index.js +38 -29
  2. package/atoms/AuthorWithTime/index.js +83 -73
  3. package/atoms/CollectionName/index.js +40 -30
  4. package/atoms/ExtendedLoadMore/{index-4577d5b9.js → index-3976fac4.js} +62 -55
  5. package/atoms/ExtendedLoadMore/{index-0edaa434.js → index-3c4ac692.js} +243 -208
  6. package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
  7. package/atoms/ExtendedLoadMore/{index-70ce7471.js → index-5c8eda4a.js} +88 -80
  8. package/atoms/ExtendedLoadMore/{index-b3ef1488.js → index-6e083738.js} +63 -56
  9. package/atoms/ExtendedLoadMore/{index-48664b07.js → index-6ecceae4.js} +61 -54
  10. package/atoms/ExtendedLoadMore/{index-4c3c2b6f.js → index-9e0d32b7.js} +79 -72
  11. package/atoms/ExtendedLoadMore/{index-c47ff5bc.js → index-a5c95f84.js} +73 -66
  12. package/atoms/ExtendedLoadMore/{index-4b9207c4.js → index-b22f1843.js} +70 -62
  13. package/atoms/ExtendedLoadMore/{index-8f6483ba.js → index-b5936059.js} +75 -68
  14. package/atoms/ExtendedLoadMore/{index-b841407e.js → index-bc129cb8.js} +60 -53
  15. package/atoms/ExtendedLoadMore/{index-d08b6c2f.js → index-e7cde739.js} +74 -46
  16. package/atoms/ExtendedLoadMore/{index-867b9437.js → index-fee73a14.js} +67 -61
  17. package/atoms/ExtendedLoadMore/index.js +13 -5
  18. package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
  19. package/atoms/Headline/index.js +85 -76
  20. package/atoms/HeroImage/index.js +69 -60
  21. package/atoms/LoadmoreButton/index.js +32 -23
  22. package/atoms/ScrollSnap/index.js +72 -63
  23. package/atoms/SectionTag/index.js +34 -25
  24. package/atoms/Subheadline/index.js +31 -22
  25. package/atoms/TimeStamp/index.js +34 -24
  26. package/molecules/KeyEvents/index.js +75 -66
  27. package/molecules/PageIntroductionCard/index.js +43 -34
  28. package/molecules/SocialShareTemplate/index.js +97 -88
  29. package/molecules/StoryCard/index.js +242 -232
  30. package/molecules/StoryElementCard/index.js +512 -483
  31. package/molecules/StorycardContent/index.js +172 -162
  32. package/package.json +1 -1
  33. package/rows/AlternateCollectionFilter/index.js +349 -339
  34. package/rows/AsideCollection/index.js +346 -340
  35. package/rows/AstrologyCollection/index.js +325 -315
  36. package/rows/AuthorIntroductionCard/index.js +157 -150
  37. package/rows/AuthorsList/index.js +187 -180
  38. package/rows/CollectionFilter/index.js +365 -355
  39. package/rows/ElevenStories/index.js +360 -351
  40. package/rows/FourColFiveStories/index.js +308 -279
  41. package/rows/FourColGrid/index.js +355 -326
  42. package/rows/FourColPortraitStories/index.js +364 -336
  43. package/rows/FourColSixteenStories/index.js +291 -281
  44. package/rows/FourColTwelveStories/index.js +318 -308
  45. package/rows/FourStorySlider/index.js +362 -352
  46. package/rows/FourStorySliderPortrait/index.js +363 -353
  47. package/rows/FourTabbedBigStorySlider/index.js +325 -314
  48. package/rows/FullScreenSlider/index.js +339 -330
  49. package/rows/HalfScreenSlider/index.js +311 -302
  50. package/rows/ListComponent/index.js +325 -315
  51. package/rows/Listicles/index.js +154 -145
  52. package/rows/MagazineEditions/index.js +107 -98
  53. package/rows/MagazineHeaderCard/index.js +107 -98
  54. package/rows/MagazineWidget/index.js +329 -320
  55. package/rows/OneColStoryList/index.js +369 -340
  56. package/rows/OpinionCollection/index.js +254 -225
  57. package/rows/SixColSixStories/index.js +337 -308
  58. package/rows/StoryCollection/index.js +346 -340
  59. package/rows/TagIntroductionCard/index.js +30 -23
  60. package/rows/ThreeColFlexStories/index.js +352 -323
  61. package/rows/ThreeColFourteenStories/index.js +288 -278
  62. package/rows/ThreeColGrid/index.js +356 -327
  63. package/rows/ThreeColSevenStory/index.js +325 -316
  64. package/rows/ThreeColSixStories/index.js +326 -316
  65. package/rows/ThreeColTwelveStories/index.js +305 -295
  66. package/rows/TwoColFourStories/index.js +319 -308
  67. package/rows/TwoColFourStoryHighlight/index.js +320 -309
  68. package/rows/TwoColSevenStories/index.js +326 -315
  69. package/rows/TwoColSixStories/index.js +319 -310
  70. package/rows/TwoColTenStoriesSidebar/index.js +341 -330
  71. package/rows/TwoColThreeStories/index.js +319 -308
  72. package/story-elements/AlsoRead/index.js +70 -61
  73. package/story-elements/Attachment/index.js +40 -31
  74. package/story-elements/BigFact/index.js +35 -26
  75. package/story-elements/BlockQuote/index.js +61 -51
  76. package/story-elements/Blurb/index.js +36 -27
  77. package/story-elements/Image/index.js +113 -86
  78. package/story-elements/ImageGallery/index.js +98 -71
  79. package/story-elements/ImageSlideshow/index.js +147 -120
  80. package/story-elements/QuestionAnswer/index.js +55 -46
  81. package/story-elements/Quote/index.js +37 -28
  82. package/story-elements/Reference/index.js +40 -31
  83. package/story-elements/StoryElement/index.js +28 -19
  84. package/story-elements/Summary/index.js +40 -31
  85. package/story-elements/Text/index.js +34 -25
  86. package/story-elements/Video/index.js +29 -20
  87. package/{rows → story-templates}/ListicleStoryTemplate/index.js +947 -926
  88. package/{rows → story-templates}/ListicleStoryTemplate/styles.arrow.css +0 -0
  89. package/{rows → story-templates}/LiveBlogStoryTemplate/index.js +952 -931
  90. package/{rows → story-templates}/LiveBlogStoryTemplate/styles.arrow.css +0 -0
  91. package/{rows → story-templates}/PhotoStoryTemplate/index.js +922 -901
  92. package/{rows → story-templates}/PhotoStoryTemplate/styles.arrow.css +0 -0
  93. package/{rows → story-templates}/TextStoryTemplate/index.js +941 -920
  94. package/{rows → story-templates}/TextStoryTemplate/styles.arrow.css +0 -0
  95. package/{rows → story-templates}/VideoStoryTemplate/index.js +907 -886
  96. package/{rows → story-templates}/VideoStoryTemplate/styles.arrow.css +0 -0
  97. package/atoms/ExtendedLoadMore/index-96c36b0e.js +0 -86
@@ -1,15 +1,22 @@
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-d08b6c2f.js';
3
- import { S as StoryCard } from './index-4b9207c4.js';
4
- import { H as HeroImage } from './index-70ce7471.js';
5
- import { S as StorycardContent } from './index-96c36b0e.js';
6
- import { S as StateProvider, C as CollectionName, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-0edaa434.js';
7
- import { collectionToStories } from '@quintype/components';
8
- import PropTypes from 'prop-types';
9
- import { useDispatch, useSelector } from 'react-redux';
10
- import 'react-timeago';
11
- import 'date-fns-tz';
12
- import 'react-dom';
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var index = require('./index-e7cde739.js');
5
+ var index$2 = require('./index-b22f1843.js');
6
+ var index$3 = require('./index-5c8eda4a.js');
7
+ var index$4 = require('./index-4ddfe28d.js');
8
+ var index$1 = require('./index-3c4ac692.js');
9
+ var components = require('@quintype/components');
10
+ var PropTypes = require('prop-types');
11
+ var reactRedux = require('react-redux');
12
+ require('react-timeago');
13
+ require('date-fns-tz');
14
+ require('react-dom');
15
+
16
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
17
+
18
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
19
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
13
20
 
14
21
  var loadMore = function loadMore(_ref) {
15
22
  var isLoading = _ref.isLoading,
@@ -23,7 +30,7 @@ var loadMore = function loadMore(_ref) {
23
30
  getMoreStories(offset, limit);
24
31
  };
25
32
 
26
- var ThreeColGrid = function ThreeColGrid(_ref2) {
33
+ var ThreeColGridBase = function ThreeColGridBase(_ref2) {
27
34
  var collection = _ref2.collection,
28
35
  _ref2$config = _ref2.config,
29
36
  config = _ref2$config === void 0 ? {} : _ref2$config,
@@ -49,28 +56,28 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
49
56
  footerButton = _config$footerButton === void 0 ? "" : _config$footerButton,
50
57
  _config$subsequentLoa = config.subsequentLoadCount,
51
58
  subsequentLoadCount = _config$subsequentLoa === void 0 ? 3 : _config$subsequentLoa;
52
- var storyItems = collectionToStories(collection);
59
+ var storyItems = components.collectionToStories(collection);
53
60
  if (!storyItems.length) return null;
54
- var textColor = getTextColor(theme);
61
+ var textColor = index.getTextColor(theme);
55
62
  var footerSlot = footerSlotConfig.footerSlot;
56
63
  var footerSlotComp = footerSlot ? footerSlot() : null;
57
64
 
58
- var _get = get_1(slotConfig, [0], {}),
65
+ var _get = index.get_1(slotConfig, [0], {}),
59
66
  _get$type = _get.type,
60
67
  type = _get$type === void 0 ? "" : _get$type,
61
68
  component = _get.component;
62
69
 
63
- var adWidgetSlot = type === "ad" || type === "widget" ? getSlot(type, component) : null;
64
- var dispatch = useDispatch();
65
- var qtConfig = useSelector(function (state) {
66
- return get_1(state, ["qt", "config"], {});
70
+ var adWidgetSlot = type === "ad" || type === "widget" ? index.getSlot(type, component) : null;
71
+ var dispatch = reactRedux.useDispatch();
72
+ var qtConfig = reactRedux.useSelector(function (state) {
73
+ return index.get_1(state, ["qt", "config"], {});
67
74
  });
68
75
 
69
76
  var getLoadMore = function getLoadMore(opts) {
70
77
  if (!isLoadMoreVisible) return null;
71
78
 
72
79
  if (isolatedLoadMore) {
73
- return /*#__PURE__*/React.createElement(LoadMoreTarget, {
80
+ return /*#__PURE__*/React__default["default"].createElement(index$1.LoadMoreTarget, {
74
81
  collection: collection,
75
82
  componentName: "ThreeColGrid",
76
83
  offset: storyItems.length,
@@ -78,8 +85,8 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
78
85
  });
79
86
  }
80
87
 
81
- var url = generateNavigateSlug(collection, qtConfig);
82
- return /*#__PURE__*/React.createElement(ProgressiveHydration, null, /*#__PURE__*/React.createElement(LoadmoreButton, {
88
+ var url = index.generateNavigateSlug(collection, qtConfig);
89
+ return /*#__PURE__*/React__default["default"].createElement(index$1.ProgressiveHydration, null, /*#__PURE__*/React__default["default"].createElement(index$1.LoadmoreButton, {
83
90
  config: config,
84
91
  collection: collection,
85
92
  template: footerButton,
@@ -87,26 +94,26 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
87
94
  return loadMore(opts);
88
95
  },
89
96
  navigate: function navigate() {
90
- return navigateTo(dispatch, url);
97
+ return index.navigateTo(dispatch, url);
91
98
  },
92
99
  qtConfig: qtConfig
93
100
  }));
94
101
  };
95
102
 
96
103
  var storyCard = function storyCard(story) {
97
- return /*#__PURE__*/React.createElement("div", {
104
+ return /*#__PURE__*/React__default["default"].createElement("div", {
98
105
  className: "three-col-m_cards__2HyyK"
99
- }, /*#__PURE__*/React.createElement(StoryCard, {
106
+ }, /*#__PURE__*/React__default["default"].createElement(index$2.StoryCard, {
100
107
  story: story,
101
108
  border: border,
102
109
  theme: theme,
103
110
  isHorizontalMobile: true,
104
111
  config: config
105
- }, /*#__PURE__*/React.createElement(HeroImage, {
112
+ }, /*#__PURE__*/React__default["default"].createElement(index$3.HeroImage, {
106
113
  aspectRatio: [[16, 9]],
107
114
  story: story,
108
115
  isHorizontalMobile: true
109
- }), /*#__PURE__*/React.createElement(StorycardContent, {
116
+ }), /*#__PURE__*/React__default["default"].createElement(index$4.StorycardContent, {
110
117
  theme: theme,
111
118
  border: border,
112
119
  story: story,
@@ -116,28 +123,28 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
116
123
  })));
117
124
  };
118
125
 
119
- return /*#__PURE__*/React.createElement("div", {
126
+ return /*#__PURE__*/React__default["default"].createElement("div", {
120
127
  className: "full-width-with-padding arrow-component",
121
128
  "data-test-id": "three-col-grid",
122
129
  style: {
123
130
  backgroundColor: theme,
124
131
  color: textColor
125
132
  }
126
- }, /*#__PURE__*/React.createElement("div", {
133
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
127
134
  className: "three-col-m_three-col-grid__y7rZK"
128
- }, /*#__PURE__*/React.createElement(CollectionName, {
135
+ }, /*#__PURE__*/React__default["default"].createElement(index$1.CollectionName, {
129
136
  collection: collection,
130
137
  collectionNameTemplate: collectionNameTemplate,
131
138
  collectionNameBorderColor: collectionNameBorderColor
132
- }), /*#__PURE__*/React.createElement("div", {
139
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
133
140
  className: "three-col-m_wrapper__20m5m"
134
- }, storyItems.slice(0, 2).map(function (story, index) {
135
- return /*#__PURE__*/React.createElement(Fragment, {
136
- key: "story-3col1-".concat(index, "-").concat(get_1(story, ["id"], "0"))
141
+ }, storyItems.slice(0, 2).map(function (story, index$1) {
142
+ return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
143
+ key: "story-3col1-".concat(index$1, "-").concat(index.get_1(story, ["id"], "0"))
137
144
  }, storyCard(story));
138
- }), storyItems.length < 2 && /*#__PURE__*/React.createElement("div", null), adWidgetSlot, storyItems.slice(2).map(function (story, index) {
139
- return /*#__PURE__*/React.createElement(Fragment, {
140
- key: "story-3col1-".concat(index, "-").concat(get_1(story, ["id"], "0"))
145
+ }), storyItems.length < 2 && /*#__PURE__*/React__default["default"].createElement("div", null), adWidgetSlot, storyItems.slice(2).map(function (story, index$1) {
146
+ return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
147
+ key: "story-3col1-".concat(index$1, "-").concat(index.get_1(story, ["id"], "0"))
141
148
  }, storyCard(story));
142
149
  })), getLoadMore({
143
150
  isLoading: isLoading,
@@ -146,31 +153,31 @@ var ThreeColGrid = function ThreeColGrid(_ref2) {
146
153
  subsequentLoadCount: subsequentLoadCount
147
154
  }), footerSlotComp));
148
155
  };
149
-
150
- ThreeColGrid.propTypes = {
156
+ ThreeColGridBase.propTypes = {
151
157
  /** collection is the array of objects which is returning by API */
152
- collection: PropTypes.object.isRequired,
158
+ collection: PropTypes__default["default"].object.isRequired,
153
159
 
154
160
  /** The config for the Row */
155
- config: PropTypes.shape({
156
- theme: PropTypes.string,
157
- border: PropTypes.bool,
158
- slotConfig: PropTypes.array,
159
- footerButton: PropTypes.string,
160
- collectionNameTemplate: PropTypes.string,
161
- collectionNameBorderColor: PropTypes.string,
162
- subsequentLoadCount: PropTypes.number
161
+ config: PropTypes__default["default"].shape({
162
+ theme: PropTypes__default["default"].string,
163
+ border: PropTypes__default["default"].bool,
164
+ slotConfig: PropTypes__default["default"].array,
165
+ footerButton: PropTypes__default["default"].string,
166
+ collectionNameTemplate: PropTypes__default["default"].string,
167
+ collectionNameBorderColor: PropTypes__default["default"].string,
168
+ subsequentLoadCount: PropTypes__default["default"].number
163
169
  }),
164
- getMoreStories: PropTypes.func,
165
- isLoadMoreVisible: PropTypes.bool,
166
- isLoading: PropTypes.bool,
167
- isolatedLoadMore: PropTypes.bool
170
+ getMoreStories: PropTypes__default["default"].func,
171
+ isLoadMoreVisible: PropTypes__default["default"].bool,
172
+ isLoading: PropTypes__default["default"].bool,
173
+ isolatedLoadMore: PropTypes__default["default"].bool
168
174
  };
169
- ThreeColGrid.defaultProps = {
175
+ ThreeColGridBase.defaultProps = {
170
176
  getMoreStories: function getMoreStories() {},
171
177
  isLoadMoreVisible: true,
172
178
  isLoading: false
173
179
  };
174
- var index = StateProvider(ThreeColGrid);
180
+ var ThreeColGrid = index$1.StateProvider(ThreeColGridBase);
175
181
 
176
- export { index as default };
182
+ exports.ThreeColGrid = ThreeColGrid;
183
+ exports.ThreeColGridBase = ThreeColGridBase;
@@ -1,14 +1,21 @@
1
- import { g as getTextColor, a as get_1, _ as _getClassName, b as generateNavigateSlug, n as navigateTo } from './index-d08b6c2f.js';
2
- import React from 'react';
3
- import PropTypes from 'prop-types';
4
- import { collectionToStories } from '@quintype/components';
5
- import { S as StateProvider, C as CollectionName, H as Headline, A as AuthorWithTime, L as LoadMoreTarget, P as ProgressiveHydration, a as LoadmoreButton } from './index-0edaa434.js';
6
- import { H as HeroImage, S as SectionTag } from './index-70ce7471.js';
7
- import { S as StoryCard } from './index-4b9207c4.js';
8
- import { useDispatch, useSelector } from 'react-redux';
9
- import 'react-timeago';
10
- import 'date-fns-tz';
11
- import 'react-dom';
1
+ 'use strict';
2
+
3
+ var index = require('./index-e7cde739.js');
4
+ var React = require('react');
5
+ var PropTypes = require('prop-types');
6
+ var components = require('@quintype/components');
7
+ var index$1 = require('./index-3c4ac692.js');
8
+ var index$3 = require('./index-5c8eda4a.js');
9
+ var index$2 = require('./index-b22f1843.js');
10
+ var reactRedux = require('react-redux');
11
+ require('react-timeago');
12
+ require('date-fns-tz');
13
+ require('react-dom');
14
+
15
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
+
17
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
18
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
12
19
 
13
20
  var _styleModuleImportMap = {
14
21
  "./six-col-six-stories.m.css": {
@@ -37,7 +44,7 @@ var loadMore = function loadMore(_ref) {
37
44
  getMoreStories(offset, limit);
38
45
  };
39
46
 
40
- var SixColSixStories = function SixColSixStories(_ref2) {
47
+ var SixColSixStoriesBase = function SixColSixStoriesBase(_ref2) {
41
48
  var _ref2$collection = _ref2.collection,
42
49
  collection = _ref2$collection === void 0 ? {} : _ref2$collection,
43
50
  _ref2$config = _ref2.config,
@@ -46,7 +53,7 @@ var SixColSixStories = function SixColSixStories(_ref2) {
46
53
  isLoadMoreVisible = _ref2.isLoadMoreVisible,
47
54
  isLoading = _ref2.isLoading,
48
55
  isolatedLoadMore = _ref2.isolatedLoadMore;
49
- var stories = collectionToStories(collection);
56
+ var stories = components.collectionToStories(collection);
50
57
  if (!stories.length) return null;
51
58
  var _config$collectionNam = config.collectionNameBorderColor,
52
59
  collectionNameBorderColor = _config$collectionNam === void 0 ? "" : _config$collectionNam,
@@ -64,18 +71,18 @@ var SixColSixStories = function SixColSixStories(_ref2) {
64
71
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC,
65
72
  _config$subsequentLoa = config.subsequentLoadCount,
66
73
  subsequentLoadCount = _config$subsequentLoa === void 0 ? 6 : _config$subsequentLoa;
67
- var textColor = getTextColor(theme);
74
+ var textColor = index.getTextColor(theme);
68
75
  var borderStyle = border === "fullBorder" ? "vertical-border" : "";
69
- var dispatch = useDispatch();
70
- var qtConfig = useSelector(function (state) {
71
- return get_1(state, ["qt", "config"], {});
76
+ var dispatch = reactRedux.useDispatch();
77
+ var qtConfig = reactRedux.useSelector(function (state) {
78
+ return index.get_1(state, ["qt", "config"], {});
72
79
  });
73
80
 
74
81
  var getLoadMore = function getLoadMore(opts) {
75
82
  if (!isLoadMoreVisible) return null;
76
83
 
77
84
  if (isolatedLoadMore) {
78
- return /*#__PURE__*/React.createElement(LoadMoreTarget, {
85
+ return /*#__PURE__*/React__default["default"].createElement(index$1.LoadMoreTarget, {
79
86
  collection: collection,
80
87
  componentName: "SixColSixStories",
81
88
  offset: stories.length,
@@ -83,8 +90,8 @@ var SixColSixStories = function SixColSixStories(_ref2) {
83
90
  });
84
91
  }
85
92
 
86
- var url = generateNavigateSlug(collection, qtConfig);
87
- return /*#__PURE__*/React.createElement(ProgressiveHydration, null, /*#__PURE__*/React.createElement(LoadmoreButton, {
93
+ var url = index.generateNavigateSlug(collection, qtConfig);
94
+ return /*#__PURE__*/React__default["default"].createElement(index$1.ProgressiveHydration, null, /*#__PURE__*/React__default["default"].createElement(index$1.LoadmoreButton, {
88
95
  config: config,
89
96
  collection: collection,
90
97
  template: footerButton,
@@ -92,49 +99,49 @@ var SixColSixStories = function SixColSixStories(_ref2) {
92
99
  return loadMore(opts);
93
100
  },
94
101
  navigate: function navigate() {
95
- return navigateTo(dispatch, url);
102
+ return index.navigateTo(dispatch, url);
96
103
  },
97
104
  qtConfig: qtConfig
98
105
  }));
99
106
  };
100
107
 
101
- return /*#__PURE__*/React.createElement("div", {
108
+ return /*#__PURE__*/React__default["default"].createElement("div", {
102
109
  className: "full-width-with-padding arrow-component",
103
110
  "data-test-id": "six-col-six-stories",
104
111
  style: {
105
112
  backgroundColor: theme,
106
113
  color: textColor
107
114
  }
108
- }, /*#__PURE__*/React.createElement("div", {
115
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
109
116
  className: "six-col-six-stories-m_wrapper__2k2bf"
110
- }, /*#__PURE__*/React.createElement(CollectionName, {
117
+ }, /*#__PURE__*/React__default["default"].createElement(index$1.CollectionName, {
111
118
  collection: collection,
112
119
  collectionNameTemplate: collectionNameTemplate,
113
120
  collectionNameBorderColor: collectionNameBorderColor,
114
121
  headerLevel: "2"
115
- }), /*#__PURE__*/React.createElement("div", {
122
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
116
123
  className: "six-col-six-stories-m_row-wrapper__2YNUO"
117
- }, stories.map(function (story, index) {
118
- return /*#__PURE__*/React.createElement("div", {
119
- key: "six-col-six-stories-".concat(index),
120
- className: _getClassName("card-wrapper ".concat(borderStyle, " ").concat(textColor), _styleModuleImportMap)
121
- }, /*#__PURE__*/React.createElement(StoryCard, {
124
+ }, stories.map(function (story, index$4) {
125
+ return /*#__PURE__*/React__default["default"].createElement("div", {
126
+ key: "six-col-six-stories-".concat(index$4),
127
+ className: index._getClassName("card-wrapper ".concat(borderStyle, " ").concat(textColor), _styleModuleImportMap)
128
+ }, /*#__PURE__*/React__default["default"].createElement(index$2.StoryCard, {
122
129
  story: story,
123
130
  theme: theme,
124
131
  config: config
125
- }, /*#__PURE__*/React.createElement(HeroImage, {
132
+ }, /*#__PURE__*/React__default["default"].createElement(index$3.HeroImage, {
126
133
  story: story,
127
134
  aspectRatio: [[16, 9], [16, 9]]
128
- }), /*#__PURE__*/React.createElement("div", {
135
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
129
136
  className: "six-col-six-stories-m_content-wrapper__3n5nT"
130
- }, /*#__PURE__*/React.createElement(SectionTag, {
137
+ }, /*#__PURE__*/React__default["default"].createElement(index$3.SectionTag, {
131
138
  story: story,
132
139
  borderColor: borderColor
133
- }), /*#__PURE__*/React.createElement(Headline, {
140
+ }), /*#__PURE__*/React__default["default"].createElement(index$1.Headline, {
134
141
  story: story,
135
142
  headerLevel: "6",
136
143
  premiumStoryIconConfig: config
137
- })), /*#__PURE__*/React.createElement(AuthorWithTime, {
144
+ })), /*#__PURE__*/React__default["default"].createElement(index$1.AuthorWithTime, {
138
145
  config: localizationConfig,
139
146
  story: story
140
147
  })));
@@ -145,32 +152,32 @@ var SixColSixStories = function SixColSixStories(_ref2) {
145
152
  subsequentLoadCount: subsequentLoadCount
146
153
  })));
147
154
  };
148
-
149
- var index = StateProvider(SixColSixStories);
150
- SixColSixStories.propTypes = {
155
+ SixColSixStoriesBase.propTypes = {
151
156
  /** collection is the array of objects which is returning by API */
152
- collection: PropTypes.object.isRequired,
157
+ collection: PropTypes__default["default"].object.isRequired,
153
158
 
154
159
  /** The config for the Row */
155
- config: PropTypes.shape({
156
- borderColor: PropTypes.string,
157
- theme: PropTypes.string,
158
- border: PropTypes.string,
159
- slotConfig: PropTypes.array,
160
- footerButton: PropTypes.string,
161
- collectionNameTemplate: PropTypes.string,
162
- collectionNameBorderColor: PropTypes.string,
163
- subsequentLoadCount: PropTypes.number
160
+ config: PropTypes__default["default"].shape({
161
+ borderColor: PropTypes__default["default"].string,
162
+ theme: PropTypes__default["default"].string,
163
+ border: PropTypes__default["default"].string,
164
+ slotConfig: PropTypes__default["default"].array,
165
+ footerButton: PropTypes__default["default"].string,
166
+ collectionNameTemplate: PropTypes__default["default"].string,
167
+ collectionNameBorderColor: PropTypes__default["default"].string,
168
+ subsequentLoadCount: PropTypes__default["default"].number
164
169
  }),
165
- getMoreStories: PropTypes.func,
166
- isLoadMoreVisible: PropTypes.bool,
167
- isLoading: PropTypes.bool,
168
- isolatedLoadMore: PropTypes.bool
170
+ getMoreStories: PropTypes__default["default"].func,
171
+ isLoadMoreVisible: PropTypes__default["default"].bool,
172
+ isLoading: PropTypes__default["default"].bool,
173
+ isolatedLoadMore: PropTypes__default["default"].bool
169
174
  };
170
- SixColSixStories.defaultProps = {
175
+ SixColSixStoriesBase.defaultProps = {
171
176
  getMoreStories: function getMoreStories() {},
172
177
  isLoadMoreVisible: true,
173
178
  isLoading: false
174
179
  };
180
+ var SixColSixStories = index$1.StateProvider(SixColSixStoriesBase);
175
181
 
176
- export { index as default };
182
+ exports.SixColSixStories = SixColSixStories;
183
+ exports.SixColSixStoriesBase = SixColSixStoriesBase;