luna-one 3.1.233 → 3.1.237
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/dist/global-styles/global-vars.scss +2 -1
- package/dist/luna/components/BlockListItems/BlockListItems.scss +0 -16
- package/dist/luna/components/Header/Header.js +12 -1
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.js +1 -1
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.js +16 -0
- package/dist/luna/components/ProseLayout/ProseLayout.js +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
/**
|
|
2
3
|
* Variables
|
|
3
4
|
*/
|
|
@@ -539,7 +540,7 @@ $gray-theme-text-color: color("gray-7");
|
|
|
539
540
|
}
|
|
540
541
|
|
|
541
542
|
@mixin header-standard-size {
|
|
542
|
-
font-size:
|
|
543
|
+
font-size: $heading-3-size;
|
|
543
544
|
line-height: 50px;
|
|
544
545
|
letter-spacing: -0.005em;
|
|
545
546
|
text-transform: capitalize;
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
@import "../../../global-styles/terra.scss";
|
|
2
2
|
|
|
3
|
-
.ter-block-list-items {
|
|
4
|
-
|
|
5
|
-
padding-top: 80px;
|
|
6
|
-
padding-bottom: 75px;
|
|
7
|
-
|
|
8
|
-
@media screen and (max-width: $breakpoint-md) {
|
|
9
|
-
padding-top: 60px;
|
|
10
|
-
padding-bottom: 60px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media screen and (max-width: $breakpoint-sm) {
|
|
14
|
-
padding-top: 40px;
|
|
15
|
-
padding-bottom: 40px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
3
|
.ter-bounded-cards {
|
|
20
4
|
display: grid;
|
|
21
5
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -11,15 +11,26 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
|
|
12
12
|
require("./Header.scss");
|
|
13
13
|
|
|
14
|
+
var _checkForThemeProps = require("../../utils/checkForThemeProps");
|
|
15
|
+
|
|
16
|
+
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
|
17
|
+
|
|
14
18
|
var Header = function Header(_ref) {
|
|
15
19
|
var eyebrow = _ref.eyebrow,
|
|
16
20
|
headline = _ref.headline,
|
|
17
21
|
subhead = _ref.subhead,
|
|
18
22
|
theme = _ref.theme;
|
|
23
|
+
var themes = (0, _checkForThemeProps.checkForThemeProps)(theme);
|
|
24
|
+
|
|
25
|
+
var _useStyles = (0, _useStyles2.default)(themes),
|
|
26
|
+
backgroundColor = _useStyles.backgroundColor,
|
|
27
|
+
color = _useStyles.color;
|
|
28
|
+
|
|
19
29
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
20
30
|
className: "ter-header",
|
|
21
31
|
style: {
|
|
22
|
-
color:
|
|
32
|
+
color: color,
|
|
33
|
+
background: backgroundColor
|
|
23
34
|
}
|
|
24
35
|
}, (eyebrow || headline || subhead) && /*#__PURE__*/_react.default.createElement("div", {
|
|
25
36
|
className: "ter-header__container"
|
|
@@ -71,7 +71,7 @@ var InPageJumpNav = function InPageJumpNav(_ref) {
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
return (pageSections === null || pageSections === void 0 ? void 0 : pageSections.length) && /*#__PURE__*/_react.default.createElement("div", {
|
|
74
|
-
className: "ter-jump-nav-holder"
|
|
74
|
+
className: "default-layout ter-jump-nav-holder"
|
|
75
75
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
76
76
|
className: "ter-jump-nav ".concat(navExpanded ? 'ter-jump-nav--expanded' : ''),
|
|
77
77
|
onClick: function onClick() {
|
|
@@ -216,6 +216,22 @@ var NonTimeBasedListEntries = function NonTimeBasedListEntries(_ref5) {
|
|
|
216
216
|
width: 320,
|
|
217
217
|
height: 943
|
|
218
218
|
}
|
|
219
|
+
},
|
|
220
|
+
tablet: {
|
|
221
|
+
width: 320,
|
|
222
|
+
height: 943,
|
|
223
|
+
ratio: {
|
|
224
|
+
width: 320,
|
|
225
|
+
height: 943
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
desktop: {
|
|
229
|
+
width: 320,
|
|
230
|
+
height: 943,
|
|
231
|
+
ratio: {
|
|
232
|
+
width: 320,
|
|
233
|
+
height: 943
|
|
234
|
+
}
|
|
219
235
|
}
|
|
220
236
|
},
|
|
221
237
|
focalPointImage: (sidebarImage === null || sidebarImage === void 0 ? void 0 : sidebarImage.focalPointImage) && (sidebarImage === null || sidebarImage === void 0 ? void 0 : sidebarImage.focalPointImage),
|
|
@@ -50,7 +50,7 @@ var ProseLayout = function ProseLayout(_ref) {
|
|
|
50
50
|
}, date), /*#__PURE__*/_react.default.createElement("div", {
|
|
51
51
|
className: "content"
|
|
52
52
|
}, content)), resources && /*#__PURE__*/_react.default.createElement("div", {
|
|
53
|
-
|
|
53
|
+
className: "additional-resources inner-padding"
|
|
54
54
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
55
55
|
className: "section-header"
|
|
56
56
|
}, "Additional Resources"), resources.map(function (resource) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "luna-one",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.237",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.11.9",
|
|
6
6
|
"@testing-library/react": "^11.2.3",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react-player": "^1.12.0",
|
|
21
21
|
"react-scroll": "^1.7.14",
|
|
22
22
|
"react-slidedown": "^2.4.5",
|
|
23
|
-
"terra-one": "^3.0.
|
|
23
|
+
"terra-one": "^3.0.87"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"node-sass": "^4.12.0",
|