luna-one 3.1.471 → 3.1.472

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.
@@ -35,6 +35,9 @@
35
35
  max-width: 100%;
36
36
  }
37
37
  }
38
+ .ter-unbounded-card {
39
+ box-shadow: none;
40
+ }
38
41
  }
39
42
 
40
43
  .ter-icon-mini-blocks {
@@ -59,7 +59,6 @@ var BoundedCards = function BoundedCards(_ref) {
59
59
  _ref$VideoComponent = _ref.VideoComponent,
60
60
  VideoComponent = _ref$VideoComponent === void 0 ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : _ref$VideoComponent;
61
61
  var GatsbyImage = content === null || content === void 0 ? void 0 : content.GatsbyImage;
62
- var Link = content === null || content === void 0 ? void 0 : content.Link;
63
62
 
64
63
  var renderBoundedCards = function renderBoundedCards() {
65
64
  if (content.cards && content.cards.length) {
@@ -74,7 +73,7 @@ var BoundedCards = function BoundedCards(_ref) {
74
73
  bgColor: !(card !== null && card !== void 0 && card.image) ? "grey" : "",
75
74
  text: card === null || card === void 0 ? void 0 : card.text,
76
75
  GatsbyImage: GatsbyImage,
77
- Link: Link,
76
+ Link: content === null || content === void 0 ? void 0 : content.Link,
78
77
  cardAlignment: content === null || content === void 0 ? void 0 : content.cardAlignment,
79
78
  buttonSecondary: content === null || content === void 0 ? void 0 : content.buttonSecondary
80
79
  };
@@ -87,7 +87,6 @@ var UnboundedCards = function UnboundedCards(_ref) {
87
87
  _ref$VideoComponent = _ref.VideoComponent,
88
88
  VideoComponent = _ref$VideoComponent === void 0 ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null) : _ref$VideoComponent;
89
89
  var GatsbyImage = content === null || content === void 0 ? void 0 : content.GatsbyImage;
90
- var Link = content === null || content === void 0 ? void 0 : content.Link;
91
90
 
92
91
  var renderUnboundedCards = function renderUnboundedCards() {
93
92
  var _content$cards;
@@ -19,6 +19,8 @@ var _ComparisonTableMethods = require("./ComparisonTableMethods");
19
19
 
20
20
  var _CtaWithHeader = _interopRequireDefault(require("../CtaWithHeader/CtaWithHeader"));
21
21
 
22
+ var _LunaLink = _interopRequireDefault(require("terra-one/dist/components/LunaLink/LunaLink"));
23
+
22
24
  var ComparisonTable = function ComparisonTable(_ref) {
23
25
  var _comparisonColumnGrou;
24
26
 
@@ -29,7 +31,8 @@ var ComparisonTable = function ComparisonTable(_ref) {
29
31
  description = data.description,
30
32
  comparisonColumnGroups = data.comparisonColumnGroups,
31
33
  productDetails = data.productDetails,
32
- showImages = data.showImages;
34
+ showImages = data.showImages,
35
+ Link = data.Link;
33
36
  var tableBody = (0, _react.useRef)(null);
34
37
 
35
38
  var _useState = (0, _react.useState)(0),
@@ -85,8 +88,9 @@ var ComparisonTable = function ComparisonTable(_ref) {
85
88
  className: "ter-comparison-table__divider-wrapper"
86
89
  }, (productDetails === null || productDetails === void 0 ? void 0 : productDetails.length) && /*#__PURE__*/_react["default"].createElement("tr", {
87
90
  className: "ter-comparison-table__divider-wrapper ter-comparison-table__skip"
88
- }, /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement("a", {
89
- href: "#skip-link",
91
+ }, /*#__PURE__*/_react["default"].createElement("td", null, /*#__PURE__*/_react["default"].createElement(_LunaLink["default"], {
92
+ Link: Link && Link,
93
+ to: "#skip-link",
90
94
  tabIndex: "0"
91
95
  }, "Skip comparison of ", productDetails === null || productDetails === void 0 ? void 0 : productDetails.length, " items"))), /*#__PURE__*/_react["default"].createElement("tr", {
92
96
  className: "ter-comparison-table__divider-wrapper"
@@ -126,7 +130,7 @@ var ComparisonTable = function ComparisonTable(_ref) {
126
130
  }), /*#__PURE__*/_react["default"].createElement("tbody", {
127
131
  className: "ter-comparison-table__wrapper",
128
132
  ref: tableBody
129
- }, comparisonColumnGroups && (0, _ComparisonTableMethods.renderTableHeader)(comparisonColumnGroups), productDetails && comparisonColumnGroups && (0, _ComparisonTableMethods.renderProductDetailsColumn)(productDetails, showImages, comparisonColumnGroups))), /*#__PURE__*/_react["default"].createElement("span", {
133
+ }, comparisonColumnGroups && (0, _ComparisonTableMethods.renderTableHeader)(comparisonColumnGroups), productDetails && comparisonColumnGroups && (0, _ComparisonTableMethods.renderProductDetailsColumn)(productDetails, showImages, comparisonColumnGroups, Link))), /*#__PURE__*/_react["default"].createElement("span", {
130
134
  id: "skip-link"
131
135
  })));
132
136
  };
@@ -21,6 +21,8 @@ var _tooltipCloseIcon = _interopRequireDefault(require("../../images/tooltip-clo
21
21
 
22
22
  var _react = _interopRequireWildcard(require("react"));
23
23
 
24
+ var _LunaLink = _interopRequireDefault(require("terra-one/dist/components/LunaLink/LunaLink"));
25
+
24
26
  var renderTableHeader = function renderTableHeader(columnGroups) {
25
27
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("tr", {
26
28
  className: "ter-comparison-table__row ter-comparison-table__group-title"
@@ -113,8 +115,8 @@ var renderProductNameLink = function renderProductNameLink(product) {
113
115
  if (product !== null && product !== void 0 && (_product$productLink = product.productLink) !== null && _product$productLink !== void 0 && _product$productLink.url) {
114
116
  var _product$productLink2, _product$productLink3;
115
117
 
116
- return /*#__PURE__*/_react["default"].createElement("a", {
117
- href: (product === null || product === void 0 ? void 0 : (_product$productLink2 = product.productLink) === null || _product$productLink2 === void 0 ? void 0 : _product$productLink2.url) && (product === null || product === void 0 ? void 0 : (_product$productLink3 = product.productLink) === null || _product$productLink3 === void 0 ? void 0 : _product$productLink3.url),
118
+ return /*#__PURE__*/_react["default"].createElement(_LunaLink["default"], {
119
+ to: (product === null || product === void 0 ? void 0 : (_product$productLink2 = product.productLink) === null || _product$productLink2 === void 0 ? void 0 : _product$productLink2.url) && (product === null || product === void 0 ? void 0 : (_product$productLink3 = product.productLink) === null || _product$productLink3 === void 0 ? void 0 : _product$productLink3.url),
118
120
  className: "ter-comparison-table__product-title ter-comparison-table__product-title--link"
119
121
  }, product === null || product === void 0 ? void 0 : product.productName);
120
122
  } else {
@@ -166,8 +168,8 @@ var displayHiddenColumn = function displayHiddenColumn(product, showImages) {
166
168
  }, product === null || product === void 0 ? void 0 : product.productTag), showImages === true && (product === null || product === void 0 ? void 0 : (_product$image3 = product.image) === null || _product$image3 === void 0 ? void 0 : _product$image3.url) && /*#__PURE__*/_react["default"].createElement("img", {
167
169
  src: (product === null || product === void 0 ? void 0 : (_product$image4 = product.image) === null || _product$image4 === void 0 ? void 0 : _product$image4.url) + "?w=120",
168
170
  alt: product !== null && product !== void 0 && product.productName ? (product === null || product === void 0 ? void 0 : product.productName) + " image" : ""
169
- }), /*#__PURE__*/_react["default"].createElement("a", {
170
- href: (product === null || product === void 0 ? void 0 : (_product$productLink4 = product.productLink) === null || _product$productLink4 === void 0 ? void 0 : _product$productLink4.url) && (product === null || product === void 0 ? void 0 : (_product$productLink5 = product.productLink) === null || _product$productLink5 === void 0 ? void 0 : _product$productLink5.url),
171
+ }), /*#__PURE__*/_react["default"].createElement(_LunaLink["default"], {
172
+ to: (product === null || product === void 0 ? void 0 : (_product$productLink4 = product.productLink) === null || _product$productLink4 === void 0 ? void 0 : _product$productLink4.url) && (product === null || product === void 0 ? void 0 : (_product$productLink5 = product.productLink) === null || _product$productLink5 === void 0 ? void 0 : _product$productLink5.url),
171
173
  className: "ter-comparison-table__product-title"
172
174
  }, product === null || product === void 0 ? void 0 : product.productName), (product === null || product === void 0 ? void 0 : product.subheading) && /*#__PURE__*/_react["default"].createElement("span", {
173
175
  className: "ter-comparison-table__product-subheading"
@@ -24,6 +24,15 @@ var VideoComponent = (0, _component["default"])(function () {
24
24
  return (0, _interopRequireWildcard2["default"])(require("../Video/Video"));
25
25
  });
26
26
  });
27
+ var LunaLink = (0, _component["default"])(function () {
28
+ return Promise.resolve().then(function () {
29
+ return (0, _interopRequireWildcard2["default"])(require("terra-one"));
30
+ });
31
+ }, {
32
+ resolveComponent: function resolveComponent(components) {
33
+ return components.LunaLink;
34
+ }
35
+ });
27
36
  var Button = (0, _component["default"])(function () {
28
37
  return Promise.resolve().then(function () {
29
38
  return (0, _interopRequireWildcard2["default"])(require("terra-one"));
@@ -115,19 +124,14 @@ var CtaWithHeader = function CtaWithHeader(_ref) {
115
124
  return (button === null || button === void 0 ? void 0 : button.text) && (textLinks ? /*#__PURE__*/_react["default"].createElement("div", {
116
125
  key: index,
117
126
  className: "text-link-container"
118
- }, !external && /*#__PURE__*/_react["default"].createElement(Link, {
119
- className: "text-link",
127
+ }, /*#__PURE__*/_react["default"].createElement(LunaLink, {
128
+ className: external ? "text-link-external" : "text-link",
120
129
  to: button === null || button === void 0 ? void 0 : button.url,
121
- rel: "noreferrer",
122
130
  video: button === null || button === void 0 ? void 0 : button.video,
123
131
  override: button === null || button === void 0 ? void 0 : button.override,
124
132
  setOverride: button === null || button === void 0 ? void 0 : button.setOverride,
125
- VideoComponent: VideoComponent ? VideoComponent : null
126
- }, button.text), external && /*#__PURE__*/_react["default"].createElement("a", {
127
- className: "text-link-external",
128
- target: "_blank",
129
- href: button === null || button === void 0 ? void 0 : button.url,
130
- rel: "noreferrer"
133
+ VideoComponent: VideoComponent ? VideoComponent : null,
134
+ Link: Link
131
135
  }, button.text)) : /*#__PURE__*/_react["default"].createElement(Button, {
132
136
  key: index,
133
137
  className: (index + 1) % 2 !== 0 ? (_buttonsVarians = buttonsVarians) === null || _buttonsVarians === void 0 ? void 0 : _buttonsVarians.primary : (_buttonsVarians2 = buttonsVarians) === null || _buttonsVarians2 === void 0 ? void 0 : _buttonsVarians2.secondary,
@@ -35,44 +35,30 @@ var VideoComponent = (0, _component["default"])(function () {
35
35
  });
36
36
 
37
37
  var renderGatsbyLinkOrAnchorTag = function renderGatsbyLinkOrAnchorTag(linkText, destination, theme, mouse, icon, external, Link, video, override, setOverride, setVisible) {
38
+ var _theme$color;
39
+
38
40
  if (override) {
39
41
  setVisible(true);
40
42
  }
41
43
 
42
- if (external) {
43
- var _theme$color;
44
-
45
- return /*#__PURE__*/_react["default"].createElement("a", {
46
- tabIndex: mouse ? "" : "0",
47
- className: (theme === null || theme === void 0 ? void 0 : (_theme$color = theme.color) === null || _theme$color === void 0 ? void 0 : _theme$color.toLowerCase()) !== "#ffffff" ? "luna-link__link" : "luna-link__link luna-link__dark-theme-link",
48
- href: destination,
49
- target: external ? "_blank" : "_self",
50
- style: {
51
- color: (theme === null || theme === void 0 ? void 0 : theme.color) || "#252A2E"
52
- }
53
- }, linkText);
54
- } else if (!external) {
55
- var _theme$color2;
56
-
57
- if (video) {
58
- video.setVisible = setVisible;
59
- }
60
-
61
- return /*#__PURE__*/_react["default"].createElement(LunaLink, {
62
- tabIndex: mouse ? "" : "0",
63
- className: (theme === null || theme === void 0 ? void 0 : (_theme$color2 = theme.color) === null || _theme$color2 === void 0 ? void 0 : _theme$color2.toLowerCase()) !== "#ffffff" ? "luna-link__link" : "luna-link__link luna-link__dark-theme-link",
64
- to: destination ? destination : null,
65
- style: {
66
- color: (theme === null || theme === void 0 ? void 0 : theme.color) || "#252A2E"
67
- },
68
- Link: Link,
69
- VideoComponent: VideoComponent ? VideoComponent : null,
70
- setOverride: setOverride ? setOverride : null,
71
- override: override ? override : null,
72
- children: linkText,
73
- video: video ? video : null
74
- });
44
+ if (video) {
45
+ video.setVisible = setVisible;
75
46
  }
47
+
48
+ return /*#__PURE__*/_react["default"].createElement(LunaLink, {
49
+ tabIndex: mouse ? "" : "0",
50
+ className: (theme === null || theme === void 0 ? void 0 : (_theme$color = theme.color) === null || _theme$color === void 0 ? void 0 : _theme$color.toLowerCase()) !== "#ffffff" ? "luna-link__link" : "luna-link__link luna-link__dark-theme-link",
51
+ to: destination ? destination : null,
52
+ style: {
53
+ color: (theme === null || theme === void 0 ? void 0 : theme.color) || "#252A2E"
54
+ },
55
+ Link: Link,
56
+ VideoComponent: VideoComponent ? VideoComponent : null,
57
+ setOverride: setOverride ? setOverride : null,
58
+ override: override ? override : null,
59
+ children: linkText,
60
+ video: video ? video : null
61
+ });
76
62
  };
77
63
 
78
64
  var SingleLink = function SingleLink(_ref) {
@@ -19,6 +19,8 @@ var _checkForExternalLink = _interopRequireDefault(require("../../utils/checkFor
19
19
 
20
20
  var _component = _interopRequireDefault(require("@loadable/component"));
21
21
 
22
+ var _terraOne = require("terra-one");
23
+
22
24
  var _formatSpecialCharText = _interopRequireDefault(require("../../utils/formatSpecialCharText"));
23
25
 
24
26
  var FocusedImage = (0, _component["default"])(function () {
@@ -96,9 +98,9 @@ var LongDescriptionCard = function LongDescriptionCard(_ref) {
96
98
  }
97
99
  }), (link === null || link === void 0 ? void 0 : link.url) && /*#__PURE__*/_react["default"].createElement("div", {
98
100
  className: "card-link-container"
99
- }, /*#__PURE__*/_react["default"].createElement("a", {
100
- href: link === null || link === void 0 ? void 0 : link.url,
101
- "aria-label": ariaLabel,
101
+ }, /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
102
+ to: link === null || link === void 0 ? void 0 : link.url,
103
+ ariaLabel: ariaLabel,
102
104
  className: (0, _checkForExternalLink["default"])(link === null || link === void 0 ? void 0 : link.url) ? "card-link-external" : "card-link"
103
105
  }, link === null || link === void 0 ? void 0 : link.text))));
104
106
  };
@@ -109,9 +111,9 @@ var ShortDescriptionCardWrapper = function ShortDescriptionCardWrapper(_ref2) {
109
111
  var link = _ref2.link,
110
112
  ariaLabel = _ref2.ariaLabel,
111
113
  children = _ref2.children;
112
- return link ? /*#__PURE__*/_react["default"].createElement("a", {
113
- href: link === null || link === void 0 ? void 0 : link.url,
114
- "aria-label": ariaLabel,
114
+ return link ? /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
115
+ to: link === null || link === void 0 ? void 0 : link.url,
116
+ ariaLabel: ariaLabel,
115
117
  className: "card"
116
118
  }, children) : /*#__PURE__*/_react["default"].createElement("div", {
117
119
  className: "card card-no-link"
@@ -63,11 +63,9 @@ var SummaryCard = function SummaryCard(summaryCard, labels, version) {
63
63
  className: "product-summary-card--container__regions-label"
64
64
  }, labels === null || labels === void 0 ? void 0 : labels.regionsLabel), renderRegions()), cta && (cta === null || cta === void 0 ? void 0 : cta.url) && (cta === null || cta === void 0 ? void 0 : cta.text) && /*#__PURE__*/_react["default"].createElement("div", {
65
65
  className: "product-summary-card--container__link"
66
- }, /*#__PURE__*/_react["default"].createElement("a", {
66
+ }, /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
67
67
  className: external ? "text-link-external" : "text-link",
68
- target: external ? "_blank" : "_self",
69
- href: cta === null || cta === void 0 ? void 0 : cta.url,
70
- rel: "noreferrer"
68
+ to: cta === null || cta === void 0 ? void 0 : cta.url
71
69
  }, cta === null || cta === void 0 ? void 0 : cta.text))), version && /*#__PURE__*/_react["default"].createElement("div", {
72
70
  className: "product-summary-card__version"
73
71
  }, /*#__PURE__*/_react["default"].createElement("p", {
@@ -17,6 +17,8 @@ var _renderDownloadIcon = _interopRequireDefault(require("../../utils/renderDown
17
17
 
18
18
  var _component = _interopRequireDefault(require("@loadable/component"));
19
19
 
20
+ var _LunaLink = _interopRequireDefault(require("terra-one/dist/components/LunaLink/LunaLink"));
21
+
20
22
  var _formatSpecialCharText = _interopRequireDefault(require("../../utils/formatSpecialCharText"));
21
23
 
22
24
  var FocusedImage = (0, _component["default"])(function () {
@@ -69,7 +71,8 @@ var ProseLayout = function ProseLayout(_ref) {
69
71
  sources = _ref.sources,
70
72
  paddingClass = _ref.paddingClass,
71
73
  industryOrCategory = _ref.industryOrCategory,
72
- industriesOrCategories = _ref.industriesOrCategories;
74
+ industriesOrCategories = _ref.industriesOrCategories,
75
+ Link = _ref.Link;
73
76
  return /*#__PURE__*/_react["default"].createElement("div", {
74
77
  className: "prose-container ".concat(paddingClass)
75
78
  }, (bannerImage === null || bannerImage === void 0 ? void 0 : bannerImage.focalPointImage) && /*#__PURE__*/_react["default"].createElement("div", {
@@ -81,9 +84,9 @@ var ProseLayout = function ProseLayout(_ref) {
81
84
  imageSizes: imageSizes
82
85
  })), /*#__PURE__*/_react["default"].createElement("div", {
83
86
  className: "article-head inner-padding ".concat(bannerBelowHeader ? "high-header" : "")
84
- }, listPageLink && /*#__PURE__*/_react["default"].createElement("a", {
87
+ }, listPageLink && /*#__PURE__*/_react["default"].createElement(_LunaLink["default"], {
85
88
  className: "back-to-list",
86
- href: listPageLink
89
+ to: listPageLink
87
90
  }, "Back to full list"), (industryOrCategory === null || industryOrCategory === void 0 ? void 0 : industryOrCategory.name) && /*#__PURE__*/_react["default"].createElement("div", {
88
91
  className: "category"
89
92
  }, industryOrCategory.name), (industriesOrCategories === null || industriesOrCategories === void 0 ? void 0 : industriesOrCategories.length) && /*#__PURE__*/_react["default"].createElement("div", {
@@ -114,9 +117,10 @@ var ProseLayout = function ProseLayout(_ref) {
114
117
  return (resource === null || resource === void 0 ? void 0 : (_resource$file = resource.file) === null || _resource$file === void 0 ? void 0 : _resource$file.url) && /*#__PURE__*/_react["default"].createElement("div", {
115
118
  className: "resource",
116
119
  key: "resource-".concat(index)
117
- }, /*#__PURE__*/_react["default"].createElement("a", {
118
- href: resource.file.url,
119
- "aria-label": "Download ".concat(resource !== null && resource !== void 0 && (_resource$file2 = resource.file) !== null && _resource$file2 !== void 0 && _resource$file2.contentType ? "".concat(resource === null || resource === void 0 ? void 0 : (_resource$file3 = resource.file) === null || _resource$file3 === void 0 ? void 0 : _resource$file3.contentType, " version of ") : "").concat(resource !== null && resource !== void 0 && resource.description ? resource === null || resource === void 0 ? void 0 : resource.description : "file")
120
+ }, /*#__PURE__*/_react["default"].createElement(_LunaLink["default"], {
121
+ Link: Link,
122
+ to: resource.file.url,
123
+ ariaLabel: "Download ".concat(resource !== null && resource !== void 0 && (_resource$file2 = resource.file) !== null && _resource$file2 !== void 0 && _resource$file2.contentType ? "".concat(resource === null || resource === void 0 ? void 0 : (_resource$file3 = resource.file) === null || _resource$file3 === void 0 ? void 0 : _resource$file3.contentType, " version of ") : "").concat(resource !== null && resource !== void 0 && resource.description ? resource === null || resource === void 0 ? void 0 : resource.description : "file")
120
124
  }, (resource === null || resource === void 0 ? void 0 : resource.description) || "resource"), (0, _renderDownloadIcon["default"])("#000000", "33"));
121
125
  })), sources && /*#__PURE__*/_react["default"].createElement("div", {
122
126
  className: "sources inner-padding"
@@ -25,6 +25,8 @@ var _component = _interopRequireDefault(require("@loadable/component"));
25
25
 
26
26
  var _formatSpecialCharText = _interopRequireDefault(require("../../utils/formatSpecialCharText"));
27
27
 
28
+ var _terraOne = require("terra-one");
29
+
28
30
  var FocusedImage = (0, _component["default"])(function () {
29
31
  return Promise.resolve().then(function () {
30
32
  return (0, _interopRequireWildcard2["default"])(require("terra-one"));
@@ -46,7 +48,8 @@ var Card = function Card(_ref) {
46
48
  description = _ref.description,
47
49
  formats = _ref.formats,
48
50
  image = _ref.image,
49
- variant = _ref.variant;
51
+ variant = _ref.variant,
52
+ Link = _ref.Link;
50
53
  return /*#__PURE__*/_react["default"].createElement("div", {
51
54
  className: "card"
52
55
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -55,8 +58,9 @@ var Card = function Card(_ref) {
55
58
  className: "details"
56
59
  }, category && /*#__PURE__*/_react["default"].createElement("div", {
57
60
  className: "industry-category"
58
- }, category), title && url ? /*#__PURE__*/_react["default"].createElement("a", {
59
- href: url,
61
+ }, category), title && url ? /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
62
+ to: url,
63
+ Link: Link && Link,
60
64
  className: (0, _checkForExternalLink["default"])(url) ? "title-external" : "title",
61
65
  dangerouslySetInnerHTML: (0, _formatSpecialCharText["default"])(title)
62
66
  }) : /*#__PURE__*/_react["default"].createElement("div", {
@@ -107,11 +111,13 @@ var Card = function Card(_ref) {
107
111
  }, category), date && /*#__PURE__*/_react["default"].createElement("div", {
108
112
  className: "date",
109
113
  "aria-label": "".concat(date === null || date === void 0 ? void 0 : date.month, " ").concat(date === null || date === void 0 ? void 0 : date.day, ", ").concat(date.year).concat(endDate ? " to ".concat(endDate === null || endDate === void 0 ? void 0 : endDate.month, " ").concat(endDate === null || endDate === void 0 ? void 0 : endDate.day, ", ").concat(endDate.year) : "")
110
- }, "".concat(date === null || date === void 0 ? void 0 : date.month, " ").concat(date === null || date === void 0 ? void 0 : date.day, ", ").concat(date.year).concat(endDate ? " - ".concat(endDate === null || endDate === void 0 ? void 0 : endDate.month, " ").concat(endDate === null || endDate === void 0 ? void 0 : endDate.day, ", ").concat(endDate.year) : "")), title && url ? /*#__PURE__*/_react["default"].createElement("a", {
111
- href: url,
112
- className: "title",
114
+ }, "".concat(date === null || date === void 0 ? void 0 : date.month, " ").concat(date === null || date === void 0 ? void 0 : date.day, ", ").concat(date.year).concat(endDate ? " - ".concat(endDate === null || endDate === void 0 ? void 0 : endDate.month, " ").concat(endDate === null || endDate === void 0 ? void 0 : endDate.day, ", ").concat(endDate.year) : "")), title && url ? /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
115
+ to: url,
116
+ Link: Link && Link,
117
+ className: "title"
118
+ }, /*#__PURE__*/_react["default"].createElement("span", {
113
119
  dangerouslySetInnerHTML: (0, _formatSpecialCharText["default"])(title)
114
- }, title) : /*#__PURE__*/_react["default"].createElement("div", {
120
+ })) : /*#__PURE__*/_react["default"].createElement("div", {
115
121
  className: "title",
116
122
  dangerouslySetInnerHTML: (0, _formatSpecialCharText["default"])(title)
117
123
  }), description && /*#__PURE__*/_react["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.471",
3
+ "version": "3.1.472",
4
4
  "peerDependencies": {
5
5
  "react": "^17.0.2",
6
6
  "react-dom": "^17.0.2",
@@ -51,7 +51,7 @@
51
51
  "react-scroll": "^1.8.7",
52
52
  "react-slidedown": "^2.4.7",
53
53
  "smoothscroll-polyfill": "^0.4.4",
54
- "terra-one": "^3.0.159"
54
+ "terra-one": "^3.0.160"
55
55
  },
56
56
  "scripts": {
57
57
  "start": "start-storybook -p 9009 -s public",