@twreporter/index-page 1.2.9 → 1.2.11-rc.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.11-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/index-page@1.2.10...@twreporter/index-page@1.2.11-rc.0) (2021-12-24)
7
+
8
+ **Note:** Version bump only for package @twreporter/index-page
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.10](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/index-page@1.2.10-rc.1...@twreporter/index-page@1.2.10) (2021-11-19)
15
+
16
+ **Note:** Version bump only for package @twreporter/index-page
17
+
18
+
19
+
20
+
21
+
22
+ ## [1.2.10-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/index-page@1.2.10-rc.0...@twreporter/index-page@1.2.10-rc.1) (2021-11-17)
23
+
24
+ **Note:** Version bump only for package @twreporter/index-page
25
+
26
+
27
+
28
+
29
+
30
+ ## [1.2.10-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/index-page@1.2.9...@twreporter/index-page@1.2.10-rc.0) (2021-11-12)
31
+
32
+ **Note:** Version bump only for package @twreporter/index-page
33
+
34
+
35
+
36
+
37
+
6
38
  ## [1.2.9](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/index-page@1.2.9-rc.1...@twreporter/index-page@1.2.9) (2021-10-28)
7
39
 
8
40
  **Note:** Version bump only for package @twreporter/index-page
@@ -39,7 +39,7 @@ var _sectionStrings = _interopRequireDefault(require("../constants/section-strin
39
39
 
40
40
  var _color = _interopRequireDefault(require("../constants/color"));
41
41
 
42
- var _font = _interopRequireDefault(require("../constants/font"));
42
+ var _font = require("@twreporter/core/lib/constants/font");
43
43
 
44
44
  var _get = _interopRequireDefault(require("lodash/get"));
45
45
 
@@ -118,7 +118,7 @@ var ImgFrame = /*#__PURE__*/_styledComponents["default"].div.withConfig({
118
118
  var CategoryName = /*#__PURE__*/_styledComponents["default"].div.withConfig({
119
119
  displayName: "category-section__CategoryName",
120
120
  componentId: "sc-1vfzdxm-5"
121
- })(["background-color:", ";width:100%;color:", ";font-weight:", ";line-height:1.4;text-align:center;font-size:20px;padding-bottom:8px;"], backgroundColor, _color["default"].darkGray, _font["default"].weight.bold);
121
+ })(["background-color:", ";width:100%;color:", ";font-weight:", ";line-height:1.4;text-align:center;font-size:20px;padding-bottom:8px;"], backgroundColor, _color["default"].darkGray, _font.fontWeight.bold);
122
122
 
123
123
  var TextFrame = /*#__PURE__*/_styledComponents["default"].div.withConfig({
124
124
  displayName: "category-section__TextFrame",
@@ -128,7 +128,7 @@ var TextFrame = /*#__PURE__*/_styledComponents["default"].div.withConfig({
128
128
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
129
129
  displayName: "category-section__Title",
130
130
  componentId: "sc-1vfzdxm-7"
131
- })(["font-family:", ";font-weight:", ";font-size:20px;color:", ";line-height:1.4;width:92%;margin:0 auto;@media (max-width:", "){width:", "%;}"], _font["default"].family.title, _font["default"].weight.bold, _color["default"].darkGray, mobileWidth, mockup.mobile.titleWidth / mockup.mobile.titleFrameWidth * 100);
131
+ })(["font-family:", ";font-weight:", ";font-size:20px;color:", ";line-height:1.4;width:92%;margin:0 auto;@media (max-width:", "){width:", "%;}"], _font.fontFamily.title, _font.fontWeight.bold, _color["default"].darkGray, mobileWidth, mockup.mobile.titleWidth / mockup.mobile.titleFrameWidth * 100);
132
132
 
133
133
  var More = /*#__PURE__*/_styledComponents["default"].div.withConfig({
134
134
  displayName: "category-section__More",
@@ -7,17 +7,17 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
 
10
- var _styleUtils = require("../utils/style-utils");
11
-
12
- var _donationLink = _interopRequireDefault(require("@twreporter/react-components/lib/donation-link"));
13
-
14
10
  var _react = _interopRequireDefault(require("react"));
15
11
 
16
12
  var _styledComponents = _interopRequireDefault(require("styled-components"));
17
13
 
14
+ var _styleUtils = require("../utils/style-utils");
15
+
18
16
  var _color = _interopRequireDefault(require("../constants/color"));
19
17
 
20
- var _font = _interopRequireDefault(require("../constants/font"));
18
+ var _donationLink = _interopRequireDefault(require("@twreporter/react-components/lib/donation-link"));
19
+
20
+ var _font = require("@twreporter/core/lib/constants/font");
21
21
 
22
22
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
23
23
 
@@ -45,6 +45,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
45
45
 
46
46
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
47
47
 
48
+ // assets
48
49
  var ArrowIcon = function ArrowIcon(props) {
49
50
  return /*#__PURE__*/_react["default"].createElement("svg", props, /*#__PURE__*/_react["default"].createElement("title", null, "icon-donate-arrow-gold"), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("path", {
50
51
  id: "a",
@@ -62,7 +63,8 @@ ArrowIcon.defaultProps = {
62
63
  viewBox: "0 0 8 12",
63
64
  xmlns: "http://www.w3.org/2000/svg",
64
65
  xmlnsXlink: "http://www.w3.org/1999/xlink"
65
- };
66
+ }; // @twreporter
67
+
66
68
  var mockup = {
67
69
  defaultWidth: 320,
68
70
  contentWidth: 238
@@ -77,12 +79,12 @@ var Container = /*#__PURE__*/_styledComponents["default"].div.withConfig({
77
79
  var ContentContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
78
80
  displayName: "donation-box-section__ContentContainer",
79
81
  componentId: "sc-1xxgww4-1"
80
- })(["display:flex;justify-content:space-between;align-items:center;max-width:1024px;margin:0 auto;padding:0 100px;color:", ";h3{margin:0;font-size:32px;font-weight:", ";font-family:", ";line-height:1.63;}p{margin-top:10px;font-size:14px;line-height:1.57;text-align:left;}", " ", " ", ""], _color["default"].white, _font["default"].weight.bold, _font["default"].family.title, _styleUtils.finalMedia.overDesktop(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-width: 1440px;\n padding: 0 219px;\n "]))), _styleUtils.finalMedia.tablet(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n padding: 0 110px;\n p{\n margin-top: 17px;\n }\n "]))), _styleUtils.finalMedia.mobile(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n max-width: ", "%;\n display: block;\n text-align: center;\n padding: 0;\n h3{\n font-size: 24px;\n line-height: 2.17;\n }\n p{\n margin-top: 0;\n }\n "])), mobileContentWidthPct));
82
+ })(["display:flex;justify-content:space-between;align-items:center;max-width:1024px;margin:0 auto;padding:0 100px;color:", ";h3{margin:0;font-size:32px;font-weight:", ";font-family:", ";line-height:1.63;}p{margin-top:10px;font-size:14px;line-height:1.57;text-align:left;}", " ", " ", ""], _color["default"].white, _font.fontWeight.bold, _font.fontFamily.title, _styleUtils.finalMedia.overDesktop(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n max-width: 1440px;\n padding: 0 219px;\n "]))), _styleUtils.finalMedia.tablet(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n padding: 0 110px;\n p{\n margin-top: 17px;\n }\n "]))), _styleUtils.finalMedia.mobile(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n max-width: ", "%;\n display: block;\n text-align: center;\n padding: 0;\n h3{\n font-size: 24px;\n line-height: 2.17;\n }\n p{\n margin-top: 0;\n }\n "])), mobileContentWidthPct));
81
83
 
82
84
  var DonateButton = /*#__PURE__*/_styledComponents["default"].div.withConfig({
83
85
  displayName: "donation-box-section__DonateButton",
84
86
  componentId: "sc-1xxgww4-2"
85
- })(["a{width:116px;height:40px;border-radius:20px;background:", ";border:none;color:", ";font-size:16px;cursor:pointer;display:table;", " ", " span{display:table-cell;vertical-align:middle;text-align:center;font-weight:", ";}}"], _color["default"].white, _color["default"].brown, _styleUtils.finalMedia.tablet(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n right: 110px;\n top: 9px;\n "]))), _styleUtils.finalMedia.mobile(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin: 40px auto 0 auto;\n "]))), _font["default"].weight.bold);
87
+ })(["a{width:116px;height:40px;border-radius:20px;background:", ";border:none;color:", ";font-size:16px;cursor:pointer;display:table;", " ", " span{display:table-cell;vertical-align:middle;text-align:center;font-weight:", ";}}"], _color["default"].white, _color["default"].brown, _styleUtils.finalMedia.tablet(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n right: 110px;\n top: 9px;\n "]))), _styleUtils.finalMedia.mobile(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin: 40px auto 0 auto;\n "]))), _font.fontWeight.bold);
86
88
 
87
89
  var TextColumn = /*#__PURE__*/_styledComponents["default"].div.withConfig({
88
90
  displayName: "donation-box-section__TextColumn",
@@ -39,10 +39,10 @@ var _sectionStrings = _interopRequireDefault(require("../constants/section-strin
39
39
 
40
40
  var _color = _interopRequireDefault(require("../constants/color"));
41
41
 
42
- var _font = _interopRequireDefault(require("../constants/font"));
43
-
44
42
  var _mobileMockupSpecification = require("../constants/mobile-mockup-specification");
45
43
 
44
+ var _font = require("@twreporter/core/lib/constants/font");
45
+
46
46
  var _get = _interopRequireDefault(require("lodash/get"));
47
47
 
48
48
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -98,7 +98,7 @@ var Category = /*#__PURE__*/(0, _styledComponents["default"])(_categoryName["def
98
98
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
99
99
  displayName: "editor-picks-mobile__Title",
100
100
  componentId: "sc-666dlb-3"
101
- })(["top:50px;left:50%;transform:translateX(-50%);width:", "%;font-size:24px;font-weight:", ";font-family:", ";color:", ";position:absolute;"], _mobileMockupSpecification.itemWidthPct, _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray);
101
+ })(["top:50px;left:50%;transform:translateX(-50%);width:", "%;font-size:24px;font-weight:", ";font-family:", ";color:", ";position:absolute;"], _mobileMockupSpecification.itemWidthPct, _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray);
102
102
 
103
103
  var TitleSpan = /*#__PURE__*/_styledComponents["default"].span.withConfig({
104
104
  displayName: "editor-picks-mobile__TitleSpan",
@@ -31,7 +31,7 @@ var _twreporterLink = _interopRequireDefault(require("./common-utils/twreporter-
31
31
 
32
32
  var _color = _interopRequireDefault(require("../constants/color"));
33
33
 
34
- var _font = _interopRequireDefault(require("../constants/font"));
34
+ var _font = require("@twreporter/core/lib/constants/font");
35
35
 
36
36
  var _clone = _interopRequireDefault(require("lodash/clone"));
37
37
 
@@ -96,7 +96,7 @@ RightArrowIcon.defaultProps = {
96
96
  height: "24",
97
97
  viewBox: "0 0 15 24",
98
98
  xmlns: "http://www.w3.org/2000/svg"
99
- }; // lodash
99
+ }; // @twreporter
100
100
 
101
101
  var _ = {
102
102
  get: _get["default"],
@@ -190,7 +190,7 @@ var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
190
190
  componentId: "sc-1bdfw2o-9"
191
191
  })(["font-size:", ";font-weight:", ";font-family:", ";color:", ";width:", ";position:absolute;text-align:center;line-height:", ";max-height:", ";top:0;left:50%;transform:translateX(-50%);overflow:hidden;", " ", ""], function (props) {
192
192
  return props.middle ? "32px" : "16px";
193
- }, _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray, function (props) {
193
+ }, _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray, function (props) {
194
194
  return props.middle ? '450px' : '150px';
195
195
  }, function (props) {
196
196
  return props.middle ? '1.25' : '1.25';
@@ -39,7 +39,7 @@ var _sectionStrings = _interopRequireDefault(require("../constants/section-strin
39
39
 
40
40
  var _color = _interopRequireDefault(require("../constants/color"));
41
41
 
42
- var _font = _interopRequireDefault(require("../constants/font"));
42
+ var _font = require("@twreporter/core/lib/constants/font");
43
43
 
44
44
  var _get = _interopRequireDefault(require("lodash/get"));
45
45
 
@@ -119,7 +119,7 @@ var WordBlock = /*#__PURE__*/_styledComponents["default"].div.withConfig({
119
119
  var Title = /*#__PURE__*/_styledComponents["default"].h3.withConfig({
120
120
  displayName: "infographic-section__Title",
121
121
  componentId: "sc-2fohll-6"
122
- })(["margin:0;font-weight:", ";font-family:", ";font-size:20px;color:", ";@media (min-width:", "){", ";}", ""], _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray, _styleUtils.breakPoints.desktopMinWidth, (0, _styleUtils.truncate)('relative', 1.4, 2, _color["default"].white), _styleUtils.finalMedia.tablet(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n font-size: 16px;\n ", ";\n "])), (0, _styleUtils.truncate)('relative', 1.4, 3, _color["default"].white)));
122
+ })(["margin:0;font-weight:", ";font-family:", ";font-size:20px;color:", ";@media (min-width:", "){", ";}", ""], _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray, _styleUtils.breakPoints.desktopMinWidth, (0, _styleUtils.truncate)('relative', 1.4, 2, _color["default"].white), _styleUtils.finalMedia.tablet(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n font-size: 16px;\n ", ";\n "])), (0, _styleUtils.truncate)('relative', 1.4, 3, _color["default"].white)));
123
123
 
124
124
  var ImgFrame = /*#__PURE__*/_styledComponents["default"].div.withConfig({
125
125
  displayName: "infographic-section__ImgFrame",
@@ -29,7 +29,7 @@ var _twreporterLink = _interopRequireDefault(require("./common-utils/twreporter-
29
29
 
30
30
  var _color = _interopRequireDefault(require("../constants/color"));
31
31
 
32
- var _font = _interopRequireDefault(require("../constants/font"));
32
+ var _font = require("@twreporter/core/lib/constants/font");
33
33
 
34
34
  var _get = _interopRequireDefault(require("lodash/get"));
35
35
 
@@ -118,7 +118,7 @@ var Category = /*#__PURE__*/(0, _styledComponents["default"])(_categoryName["def
118
118
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
119
119
  displayName: "latest-section__Title",
120
120
  componentId: "hzxpx3-6"
121
- })(["height:auto;font-size:16px;font-weight:", ";font-family:", ";color:", ";"], _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray);
121
+ })(["height:auto;font-size:16px;font-weight:", ";font-family:", ";color:", ";"], _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray);
122
122
 
123
123
  var LatestSection = /*#__PURE__*/function (_React$Component) {
124
124
  _inherits(LatestSection, _React$Component);
@@ -43,7 +43,7 @@ var _mobileMockupSpecification = require("../constants/mobile-mockup-specificati
43
43
 
44
44
  var _color = _interopRequireDefault(require("../constants/color"));
45
45
 
46
- var _font = _interopRequireDefault(require("../constants/font"));
46
+ var _font = require("@twreporter/core/lib/constants/font");
47
47
 
48
48
  var _forEach = _interopRequireDefault(require("lodash/forEach"));
49
49
 
@@ -111,7 +111,7 @@ var TopicFrame = /*#__PURE__*/_styledComponents["default"].div.withConfig({
111
111
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
112
112
  displayName: "latest-topic__Title",
113
113
  componentId: "q3zdc1-3"
114
- })(["width:374px;font-size:32px;font-weight:", ";font-family:", ";line-height:1.25;color:", ";text-align:center;margin:2px auto 0 auto;", ""], _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray, _styleUtils.finalMedia.mobile(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 24px;\n width: ", "%;\n "])), _mobileMockupSpecification.itemWidthPct));
114
+ })(["width:374px;font-size:32px;font-weight:", ";font-family:", ";line-height:1.25;color:", ";text-align:center;margin:2px auto 0 auto;", ""], _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray, _styleUtils.finalMedia.mobile(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 24px;\n width: ", "%;\n "])), _mobileMockupSpecification.itemWidthPct));
115
115
 
116
116
  var Description = /*#__PURE__*/_styledComponents["default"].div.withConfig({
117
117
  displayName: "latest-topic__Description",
@@ -148,7 +148,7 @@ var RelatedCategory = /*#__PURE__*/(0, _styledComponents["default"])(_categoryNa
148
148
  var RelatedTitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
149
149
  displayName: "latest-topic__RelatedTitle",
150
150
  componentId: "q3zdc1-10"
151
- })(["font-size:20px;font-weight:", ";font-family:", ";color:", ";line-height:1.5;"], _font["default"].weight.bold, _font["default"].family.title, _color["default"].darkGray);
151
+ })(["font-size:20px;font-weight:", ";font-family:", ";color:", ";line-height:1.5;"], _font.fontWeight.bold, _font.fontFamily.title, _color["default"].darkGray);
152
152
 
153
153
  var RelatedDescription = /*#__PURE__*/_styledComponents["default"].div.withConfig({
154
154
  displayName: "latest-topic__RelatedDescription",
@@ -39,7 +39,7 @@ var _categoryStrings = _interopRequireDefault(require("../constants/category-str
39
39
 
40
40
  var _color = _interopRequireDefault(require("../constants/color"));
41
41
 
42
- var _font = _interopRequireDefault(require("../constants/font"));
42
+ var _font = require("@twreporter/core/lib/constants/font");
43
43
 
44
44
  var _get = _interopRequireDefault(require("lodash/get"));
45
45
 
@@ -108,7 +108,7 @@ var Item = /*#__PURE__*/_styledComponents["default"].li.withConfig({
108
108
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
109
109
  displayName: "photography-section__Title",
110
110
  componentId: "sc-42isjh-3"
111
- })(["position:absolute;color:", ";font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:1.5;text-align:justify;font-weight:", ";font-family:", ";"], _color["default"].white, _font["default"].weight.normal, _font["default"].family.title);
111
+ })(["position:absolute;color:", ";font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);line-height:1.5;text-align:justify;font-weight:", ";font-family:", ";"], _color["default"].white, _font.fontWeight.normal, _font.fontFamily.title);
112
112
 
113
113
  var Img = /*#__PURE__*/_styledComponents["default"].div.withConfig({
114
114
  displayName: "photography-section__Img",
@@ -17,10 +17,10 @@ var _app = _interopRequireDefault(require("../constants/app"));
17
17
 
18
18
  var _color = _interopRequireDefault(require("../constants/color"));
19
19
 
20
- var _font = _interopRequireDefault(require("../constants/font"));
21
-
22
20
  var _podcastLink = _interopRequireDefault(require("@twreporter/react-components/lib/podcast-link"));
23
21
 
22
+ var _font = require("@twreporter/core/lib/constants/font");
23
+
24
24
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -90,12 +90,12 @@ var Container = /*#__PURE__*/_styledComponents["default"].div.withConfig({
90
90
  var ContentContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
91
91
  displayName: "podcast-box-section__ContentContainer",
92
92
  componentId: "sc-16lji0u-1"
93
- })(["display:flex;justify-content:space-between;align-items:center;max-width:1024px;margin:0 auto;padding:0 100px;color:", ";font-family:", ";h3{margin:0;font-size:32px;font-weight:", ";font-family:", ";line-height:1.63;}p{margin-top:10px;font-size:14px;line-height:1.57;text-align:left;}", " ", " ", ""], _color["default"].black, _font["default"].family["default"], _font["default"].weight.bold, _font["default"].family.title, _styleUtils.finalMedia.overDesktop(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n max-width: 1440px;\n padding: 0 219px;\n "]))), _styleUtils.finalMedia.tablet(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: relative;\n padding: 0 110px;\n p{\n margin-top: 17px;\n }\n "]))), _styleUtils.finalMedia.mobile(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n max-width: ", "%;\n display: block;\n text-align: center;\n padding: 0;\n h3{\n font-size: 24px;\n line-height: 2.17;\n }\n p{\n margin-top: 0;\n }\n "])), mobileContentWidthPct));
93
+ })(["display:flex;justify-content:space-between;align-items:center;max-width:1024px;margin:0 auto;padding:0 100px;color:", ";font-family:", ";h3{margin:0;font-size:32px;font-weight:", ";font-family:", ";line-height:1.63;}p{margin-top:10px;font-size:14px;line-height:1.57;text-align:left;}", " ", " ", ""], _color["default"].black, _font.fontFamily["default"], _font.fontWeight.bold, _font.fontFamily.title, _styleUtils.finalMedia.overDesktop(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n max-width: 1440px;\n padding: 0 219px;\n "]))), _styleUtils.finalMedia.tablet(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: relative;\n padding: 0 110px;\n p{\n margin-top: 17px;\n }\n "]))), _styleUtils.finalMedia.mobile(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n max-width: ", "%;\n display: block;\n text-align: center;\n padding: 0;\n h3{\n font-size: 24px;\n line-height: 2.17;\n }\n p{\n margin-top: 0;\n }\n "])), mobileContentWidthPct));
94
94
 
95
95
  var ListenButton = /*#__PURE__*/_styledComponents["default"].div.withConfig({
96
96
  displayName: "podcast-box-section__ListenButton",
97
97
  componentId: "sc-16lji0u-2"
98
- })(["a{width:116px;height:40px;border-radius:20px;background:", ";border:none;color:", ";font-size:16px;cursor:pointer;display:table;", " ", " span{display:table-cell;vertical-align:middle;text-align:center;font-weight:", ";}}"], _color["default"].brown, _color["default"].white, _styleUtils.finalMedia.tablet(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n position: absolute;\n right: 110px;\n top: 9px;\n "]))), _styleUtils.finalMedia.mobile(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin: 40px auto 0 auto;\n "]))), _font["default"].weight.bold);
98
+ })(["a{width:116px;height:40px;border-radius:20px;background:", ";border:none;color:", ";font-size:16px;cursor:pointer;display:table;", " ", " span{display:table-cell;vertical-align:middle;text-align:center;font-weight:", ";}}"], _color["default"].brown, _color["default"].white, _styleUtils.finalMedia.tablet(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n position: absolute;\n right: 110px;\n top: 9px;\n "]))), _styleUtils.finalMedia.mobile(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin: 40px auto 0 auto;\n "]))), _font.fontWeight.bold);
99
99
 
100
100
  var TextColumn = /*#__PURE__*/_styledComponents["default"].div.withConfig({
101
101
  displayName: "podcast-box-section__TextColumn",
@@ -31,10 +31,10 @@ var _mobileMockupSpecification = require("../constants/mobile-mockup-specificati
31
31
 
32
32
  var _color = _interopRequireDefault(require("../constants/color"));
33
33
 
34
- var _font = _interopRequireDefault(require("../constants/font"));
35
-
36
34
  var _externalLinks = _interopRequireDefault(require("@twreporter/core/lib/constants/external-links"));
37
35
 
36
+ var _font = require("@twreporter/core/lib/constants/font");
37
+
38
38
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
39
39
 
40
40
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -214,7 +214,7 @@ var Item = /*#__PURE__*/_styledComponents["default"].div.withConfig({
214
214
  var ItemTitle = /*#__PURE__*/_styledComponents["default"].h3.withConfig({
215
215
  displayName: "reporter-intro__ItemTitle",
216
216
  componentId: "zrr71j-5"
217
- })(["margin:0;font-size:20px;font-weight:", ";", " color:", ";"], _font["default"].weight.bold, _styleUtils.finalMedia.mobile(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin: 6px;\n "]))), _color["default"].darkGray);
217
+ })(["margin:0;font-size:20px;font-weight:", ";", " color:", ";"], _font.fontWeight.bold, _styleUtils.finalMedia.mobile(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin: 6px;\n "]))), _color["default"].darkGray);
218
218
 
219
219
  var ItemIconContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
220
220
  displayName: "reporter-intro__ItemIconContainer",
@@ -41,7 +41,7 @@ var _sectionStrings = _interopRequireDefault(require("../constants/section-strin
41
41
 
42
42
  var _color = _interopRequireDefault(require("../constants/color"));
43
43
 
44
- var _font = _interopRequireDefault(require("../constants/font"));
44
+ var _font = require("@twreporter/core/lib/constants/font");
45
45
 
46
46
  var _get = _interopRequireDefault(require("lodash/get"));
47
47
 
@@ -122,7 +122,7 @@ var Category = /*#__PURE__*/(0, _styledComponents["default"])(_categoryName["def
122
122
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
123
123
  displayName: "reviews__Title",
124
124
  componentId: "wgotxd-6"
125
- })(["margin-top:2px;font-size:20px;font-weight:", ";font-family:", ";line-height:1.5;", " color:", ";"], _font["default"].weight.bold, _font["default"].family.title, _styleUtils.finalMedia.tablet(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n width: 144px;\n "]))), _color["default"].darkGray);
125
+ })(["margin-top:2px;font-size:20px;font-weight:", ";font-family:", ";line-height:1.5;", " color:", ";"], _font.fontWeight.bold, _font.fontFamily.title, _styleUtils.finalMedia.tablet(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n width: 144px;\n "]))), _color["default"].darkGray);
126
126
 
127
127
  var Description = /*#__PURE__*/_styledComponents["default"].div.withConfig({
128
128
  displayName: "reviews__Description",
@@ -41,7 +41,7 @@ var _strings = _interopRequireDefault(require("../constants/strings"));
41
41
 
42
42
  var _color = _interopRequireDefault(require("../constants/color"));
43
43
 
44
- var _font = _interopRequireDefault(require("../constants/font"));
44
+ var _font = require("@twreporter/core/lib/constants/font");
45
45
 
46
46
  var _forEach = _interopRequireDefault(require("lodash/forEach"));
47
47
 
@@ -149,7 +149,7 @@ var TopicNameColumn = /*#__PURE__*/(0, _styledComponents["default"])(Column).wit
149
149
  var TitleColumn = /*#__PURE__*/(0, _styledComponents["default"])(Column).withConfig({
150
150
  displayName: "topics-section__TitleColumn",
151
151
  componentId: "sc-17suvlo-9"
152
- })(["font-size:32px;font-weight:", ";font-family:", ";"], _font["default"].weight.bold, _font["default"].family.title);
152
+ })(["font-size:32px;font-weight:", ";font-family:", ";"], _font.fontWeight.bold, _font.fontFamily.title);
153
153
 
154
154
  var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
155
155
  displayName: "topics-section__Title",
@@ -182,7 +182,7 @@ var Mobile = {
182
182
  Title: (0, _styledComponents["default"])(Title).withConfig({
183
183
  displayName: "topics-section__Title",
184
184
  componentId: "sc-17suvlo-16"
185
- })(["line-height:1.33;text-align:center;font-family:", ";font-weight:", ";font-size:24px;margin-bottom:15px;margin-top:4px;"], _font["default"].family.title, _font["default"].weight.bold),
185
+ })(["line-height:1.33;text-align:center;font-family:", ";font-weight:", ";font-size:24px;margin-bottom:15px;margin-top:4px;"], _font.fontFamily.title, _font.fontWeight.bold),
186
186
  Img: _styledComponents["default"].div.withConfig({
187
187
  displayName: "topics-section__Img",
188
188
  componentId: "sc-17suvlo-17"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/index-page",
3
- "version": "1.2.9",
3
+ "version": "1.2.11-rc.0",
4
4
  "main": "lib/index.js",
5
5
  "repository": "https://github.com/twreporter/twreporter-npm-packages.git",
6
6
  "author": "twreporter <developer@twreporter.org>",
@@ -12,8 +12,8 @@
12
12
  "prepublishOnly": "make build"
13
13
  },
14
14
  "dependencies": {
15
- "@twreporter/core": "^1.3.0",
16
- "@twreporter/react-components": "^8.6.2",
15
+ "@twreporter/core": "^1.4.0-rc.0",
16
+ "@twreporter/react-components": "^8.7.0-rc.0",
17
17
  "lodash": "^4.0.0",
18
18
  "prop-types": "^15.0.0",
19
19
  "react": "^16.3.0",
@@ -28,5 +28,5 @@
28
28
  "files": [
29
29
  "lib"
30
30
  ],
31
- "gitHead": "80334a4e791bf9ccb46b527018ac2bf673ab1f0e"
31
+ "gitHead": "428502937a25a6ba359175c3c3a3f3b83b52e206"
32
32
  }
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = {
8
- weight: {
9
- normal: 400,
10
- bold: 700
11
- },
12
- family: {
13
- title: 'merriweather, source-han-serif-tc, serif',
14
- "default": 'rosario, source-han-sans-traditional, sans-serif'
15
- }
16
- };
17
- exports["default"] = _default;