luna-one 3.1.490 → 3.1.493
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/luna/components/CtaWithHeader/CtaWithHeader.js +4 -0
- package/dist/luna/components/CtaWithHeader/CtaWithHeader.scss +4 -0
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesMethods.js +2 -2
- package/dist/luna/featurettes/IconTextList/IconTextList.scss +8 -3
- package/package.json +1 -1
- package/dist/global-styles/fonts.zip +0 -0
|
@@ -67,6 +67,10 @@ var CtaWithHeader = function CtaWithHeader(_ref) {
|
|
|
67
67
|
var linksClass = "links-light";
|
|
68
68
|
var buttonsVarians = buttonsLight;
|
|
69
69
|
|
|
70
|
+
if (variant === "light") {
|
|
71
|
+
variantClass = variant;
|
|
72
|
+
}
|
|
73
|
+
|
|
70
74
|
if (variant === "dark") {
|
|
71
75
|
variantClass = variant;
|
|
72
76
|
buttonsVarians = buttonsDark;
|
|
@@ -113,7 +113,7 @@ var ShortDescriptionCardWrapper = function ShortDescriptionCardWrapper(_ref2) {
|
|
|
113
113
|
var link = _ref2.link,
|
|
114
114
|
ariaLabel = _ref2.ariaLabel,
|
|
115
115
|
children = _ref2.children;
|
|
116
|
-
return link ? /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
|
|
116
|
+
return link && link !== null && link !== void 0 && link.url ? /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
|
|
117
117
|
to: link === null || link === void 0 ? void 0 : link.url,
|
|
118
118
|
ariaLabel: ariaLabel,
|
|
119
119
|
className: "card"
|
|
@@ -136,7 +136,7 @@ var ShortDescriptionCard = function ShortDescriptionCard(_ref3) {
|
|
|
136
136
|
}, header && /*#__PURE__*/_react["default"].createElement("div", {
|
|
137
137
|
className: "heading-container"
|
|
138
138
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
139
|
-
className: "heading ".concat(link && (0, _checkForExternalLink["default"])(link === null || link === void 0 ? void 0 : link.url) ? "has-link-external" : link ? "has-link" : ""),
|
|
139
|
+
className: "heading ".concat(link && link !== null && link !== void 0 && link.url && (0, _checkForExternalLink["default"])(link === null || link === void 0 ? void 0 : link.url) ? "has-link-external" : link && link !== null && link !== void 0 && link.url ? "has-link" : ""),
|
|
140
140
|
dangerouslySetInnerHTML: (0, _formatSpecialCharText["default"])(header)
|
|
141
141
|
})), (category || role) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
142
142
|
className: "subhead-container"
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: row;
|
|
29
29
|
margin-bottom: 24px;
|
|
30
|
-
|
|
31
30
|
&-icon {
|
|
32
31
|
padding-right: 12px;
|
|
33
32
|
|
|
@@ -89,9 +88,15 @@
|
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
|
-
|
|
93
91
|
&--extra-padding {
|
|
94
|
-
padding:
|
|
92
|
+
padding: 50px;
|
|
93
|
+
.ter-icon-text-list__item:last-child {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
.ter-icon-text-list__item-text-body > *:last-child {
|
|
96
|
+
// prevents excessive spacing when component is nested and has extra-padding class
|
|
97
|
+
margin-bottom: 0;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
&__bullet-theme {
|
package/package.json
CHANGED
|
Binary file
|