luna-one 3.1.334 → 3.1.338

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.
@@ -42,7 +42,7 @@
42
42
 
43
43
  &__data-point {
44
44
  @media screen and (max-width: $breakpoint-xs) {
45
- grid-template-rows: repeat(72, 1fr);
45
+ grid-template-rows: repeat(68, 1fr);
46
46
  height: 1440px;
47
47
  }
48
48
  }
@@ -437,7 +437,7 @@
437
437
  &--has-data-point {
438
438
  @media screen and (max-width: $breakpoint-xs) {
439
439
  grid-column: 1 / span 13;
440
- grid-row: 12 / span 15;
440
+ grid-row: 12 / span 23;
441
441
  z-index: 2;
442
442
  }
443
443
  }
@@ -503,7 +503,7 @@
503
503
  &--has-data-point {
504
504
  @media screen and (max-width: $breakpoint-xs) {
505
505
  grid-column: 1 / span 14;
506
- grid-row: 37 / span 13;
506
+ grid-row: 38 / span 23;
507
507
  }
508
508
  }
509
509
  }
@@ -543,7 +543,7 @@
543
543
  &--has-data-point {
544
544
  @media screen and (max-width: $breakpoint-xs) {
545
545
  grid-column: 1 / span 13;
546
- grid-row: 38 / span 15;
546
+ grid-row: 46 / span 23;
547
547
  z-index: 2;
548
548
  }
549
549
  }
@@ -610,7 +610,7 @@
610
610
  &--has-data-point {
611
611
  @media screen and (max-width: $breakpoint-xs) {
612
612
  grid-column: 1 / span 14;
613
- grid-row: 27 / span 13;
613
+ grid-row: 35 / span 13;
614
614
  }
615
615
  }
616
616
  }
@@ -33,8 +33,8 @@ var imageSizes = {
33
33
  }
34
34
  },
35
35
  mobile: {
36
- width: 275,
37
- height: 180,
36
+ width: 525,
37
+ height: 344,
38
38
  ratio: {
39
39
  width: 55,
40
40
  height: 36
@@ -60,8 +60,8 @@ var imageSizes = {
60
60
  }
61
61
  },
62
62
  mobile: {
63
- width: 280,
64
- height: 158,
63
+ width: 525,
64
+ height: 296,
65
65
  ratio: {
66
66
  width: 140,
67
67
  height: 79
@@ -21,8 +21,12 @@
21
21
  }
22
22
 
23
23
  &.transparent-light-text {
24
- color: white;
25
24
  background-color: unset;
25
+ color: inherit;
26
+
27
+ @media screen and (min-width: $breakpoint-sm) {
28
+ color: white;
29
+ }
26
30
 
27
31
  .content {
28
32
  a {
@@ -28,9 +28,9 @@ var Group = function Group(_ref) {
28
28
  className: "cards-group"
29
29
  }, title && /*#__PURE__*/_react.default.createElement("div", {
30
30
  className: "group-heading"
31
- }, title), (entries === null || entries === void 0 ? void 0 : entries.length) > 1 ? entries.map(function (entry) {
31
+ }, title), (entries === null || entries === void 0 ? void 0 : entries.length) > 1 ? entries.map(function (entry, index) {
32
32
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, {
33
- key: entry
33
+ key: "".concat(entry, "-").concat(index)
34
34
  }, /*#__PURE__*/_react.default.createElement(ShortDescriptionCard, {
35
35
  header: entry === null || entry === void 0 ? void 0 : entry.header,
36
36
  link: entry === null || entry === void 0 ? void 0 : entry.link,
@@ -236,9 +236,9 @@ var NonTimeBasedListEntries = function NonTimeBasedListEntries(_ref5) {
236
236
  alt: sidebarImage !== null && sidebarImage !== void 0 && sidebarImage.alt ? sidebarImage === null || sidebarImage === void 0 ? void 0 : sidebarImage.alt : sidebarImage === null || sidebarImage === void 0 ? void 0 : (_sidebarImage$focalPo = sidebarImage.focalPointImage) === null || _sidebarImage$focalPo === void 0 ? void 0 : _sidebarImage$focalPo.title
237
237
  })), isShort && groups !== null && groups !== void 0 && groups.length ? /*#__PURE__*/_react.default.createElement("div", {
238
238
  className: "cards short-description"
239
- }, (groups === null || groups === void 0 ? void 0 : groups.length) > 1 ? groups.map(function (group) {
239
+ }, (groups === null || groups === void 0 ? void 0 : groups.length) > 1 ? groups.map(function (group, index) {
240
240
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, {
241
- key: group
241
+ key: "".concat(group, "-").concat(index)
242
242
  }, /*#__PURE__*/_react.default.createElement(Group, {
243
243
  entries: group === null || group === void 0 ? void 0 : group.entries,
244
244
  title: group === null || group === void 0 ? void 0 : group.title
@@ -252,9 +252,9 @@ var NonTimeBasedListEntries = function NonTimeBasedListEntries(_ref5) {
252
252
  entries: cards
253
253
  })), !isShort && (cards === null || cards === void 0 ? void 0 : cards.length) && /*#__PURE__*/_react.default.createElement("div", {
254
254
  className: "cards long-description"
255
- }, (cards === null || cards === void 0 ? void 0 : cards.length) > 1 ? cards.map(function (card) {
255
+ }, (cards === null || cards === void 0 ? void 0 : cards.length) > 1 ? cards.map(function (card, index) {
256
256
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, {
257
- key: card
257
+ key: "".concat(card, "-").concat(index)
258
258
  }, /*#__PURE__*/_react.default.createElement(LongDescriptionCard, {
259
259
  eyebrow: card === null || card === void 0 ? void 0 : card.eyebrow,
260
260
  header: card === null || card === void 0 ? void 0 : card.header,
@@ -176,6 +176,7 @@
176
176
  border-radius: 50%;
177
177
 
178
178
  &--close {
179
+ cursor: pointer;
179
180
  background-color: $white;
180
181
  margin: auto;
181
182
  grid-column: 15 / span 1 !important;
@@ -77,7 +77,8 @@ var ProseLayout = function ProseLayout(_ref) {
77
77
  className: "category-container"
78
78
  }, industriesOrCategories.map(function (industryOrCategory) {
79
79
  return /*#__PURE__*/_react.default.createElement("div", {
80
- className: "category"
80
+ className: "category",
81
+ key: "category-".concat(industryOrCategory.name)
81
82
  }, industryOrCategory.name);
82
83
  })), header && /*#__PURE__*/_react.default.createElement("h1", {
83
84
  className: "header"
@@ -93,20 +94,22 @@ var ProseLayout = function ProseLayout(_ref) {
93
94
  className: "additional-resources inner-padding"
94
95
  }, /*#__PURE__*/_react.default.createElement("div", {
95
96
  className: "section-header"
96
- }, "Additional Resources"), resources.map(function (resource) {
97
+ }, "Additional Resources"), resources.map(function (resource, index) {
97
98
  var _resource$file, _resource$file2, _resource$file3;
98
99
 
99
100
  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", {
100
- className: "resource"
101
+ className: "resource",
102
+ key: "resource-".concat(index)
101
103
  }, /*#__PURE__*/_react.default.createElement("a", {
102
104
  href: resource.file.url,
103
105
  "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")
104
106
  }, (resource === null || resource === void 0 ? void 0 : resource.description) || "resource"), (0, _renderDownloadIcon.default)("#000000", "33"));
105
107
  })), sources && /*#__PURE__*/_react.default.createElement("div", {
106
108
  className: "sources inner-padding"
107
- }, sources.map(function (source) {
109
+ }, sources.map(function (source, index) {
108
110
  return /*#__PURE__*/_react.default.createElement("div", {
109
- className: "source"
111
+ className: "source",
112
+ key: "source-".concat(index)
110
113
  }, /*#__PURE__*/_react.default.createElement("span", {
111
114
  className: "label"
112
115
  }, "Source:\xA0"), /*#__PURE__*/_react.default.createElement("span", {
@@ -281,7 +281,7 @@ var ScrollInPlace = function ScrollInPlace(_ref) {
281
281
  }, /*#__PURE__*/_react.default.createElement("video", {
282
282
  width: "100%",
283
283
  height: "100%",
284
- autoplay: "autoplay",
284
+ autoPlay: "autoplay",
285
285
  muted: true,
286
286
  loop: true
287
287
  }, /*#__PURE__*/_react.default.createElement("source", {
@@ -304,7 +304,8 @@ var ScrollInPlace = function ScrollInPlace(_ref) {
304
304
 
305
305
  return /*#__PURE__*/_react.default.createElement("div", {
306
306
  className: "slide",
307
- "data-slide-index": index + 1
307
+ "data-slide-index": index + 1,
308
+ key: "slide-".concat(index)
308
309
  }, (slide === null || slide === void 0 ? void 0 : (_slide$backgroundImag = slide.backgroundImage) === null || _slide$backgroundImag === void 0 ? void 0 : _slide$backgroundImag.src) && !(titleBackground !== null && titleBackground !== void 0 && titleBackground.video) && /*#__PURE__*/_react.default.createElement("div", {
309
310
  className: "background-image-container"
310
311
  }, /*#__PURE__*/_react.default.createElement("img", {
@@ -325,6 +326,7 @@ var ScrollInPlace = function ScrollInPlace(_ref) {
325
326
  "data-button-type": "progress-nav"
326
327
  }), slides.map(function (slide, index) {
327
328
  return /*#__PURE__*/_react.default.createElement("button", {
329
+ key: "button-".concat(index),
328
330
  className: "nav-btn",
329
331
  "data-slide-index": index + 1,
330
332
  "data-button-type": "progress-nav"
@@ -345,7 +347,8 @@ var ScrollInPlace = function ScrollInPlace(_ref) {
345
347
  "data-button-type": "slide-jump-nav"
346
348
  })), slides.map(function (slide, index) {
347
349
  return /*#__PURE__*/_react.default.createElement("div", {
348
- className: "btn-wrapper"
350
+ className: "btn-wrapper",
351
+ key: "slide-".concat(index)
349
352
  }, /*#__PURE__*/_react.default.createElement("button", {
350
353
  className: "nav-btn",
351
354
  "data-slide-index": index + 1,
@@ -149,7 +149,8 @@ var Tabs = function Tabs(_ref3) {
149
149
  return tabs !== null && tabs !== void 0 && tabs.length ? /*#__PURE__*/_react.default.createElement("div", {
150
150
  className: "tabs-container ".concat(orientationClass, " ").concat(navClasses, " ").concat(paddingClass)
151
151
  }, /*#__PURE__*/_react.default.createElement("div", {
152
- id: contentID
152
+ id: contentID,
153
+ className: "tabs-container__mobile-title"
153
154
  }, !mobileThumbnailTop && /*#__PURE__*/_react.default.createElement(MobileTopNavEntry, {
154
155
  tab: renderTopTab,
155
156
  displayThumbnails: thumbnails,
@@ -51,6 +51,12 @@
51
51
  }
52
52
  }
53
53
 
54
+ &__mobile-title {
55
+ @media screen and (max-width: $breakpoint-sm) {
56
+ width: 100%;
57
+ }
58
+ }
59
+
54
60
  .nav-entries {
55
61
  width: 100%;
56
62
  display: flex;
@@ -103,7 +103,9 @@ var Card = function Card(_ref) {
103
103
  }, /*#__PURE__*/_react.default.createElement("span", {
104
104
  className: "label"
105
105
  }, "Downloads:\xA0"), (formats === null || formats === void 0 ? void 0 : formats.length) > 1 ? formats === null || formats === void 0 ? void 0 : formats.map(function (format, index) {
106
- return format.url && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("a", {
106
+ return format.url && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
107
+ key: "format-".concat(index)
108
+ }, /*#__PURE__*/_react.default.createElement("a", {
107
109
  "aria-label": "Download ".concat((format === null || format === void 0 ? void 0 : format.type) === "pdf" ? "pdf" : "text", " version of ").concat(format !== null && format !== void 0 && format.description ? format.description : format.url),
108
110
  target: "_blank",
109
111
  className: "link",
@@ -119,7 +121,9 @@ var Card = function Card(_ref) {
119
121
  }, /*#__PURE__*/_react.default.createElement("span", {
120
122
  className: "label"
121
123
  }, "Downloads:\xA0"), (formats === null || formats === void 0 ? void 0 : formats.length) > 1 ? formats === null || formats === void 0 ? void 0 : formats.map(function (format, index) {
122
- return format.url && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("a", {
124
+ return format.url && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
125
+ key: "format-".concat(index)
126
+ }, /*#__PURE__*/_react.default.createElement("a", {
123
127
  "aria-label": "Download ".concat((format === null || format === void 0 ? void 0 : format.type) === "pdf" ? "pdf" : "text", " version of ").concat(format !== null && format !== void 0 && format.description ? format.description : format.url),
124
128
  className: "link",
125
129
  target: "_blank",
@@ -161,9 +165,9 @@ var Group = function Group(_ref2) {
161
165
  className: "col-heading dates"
162
166
  }, "Date"))), /*#__PURE__*/_react.default.createElement("div", {
163
167
  className: "cards"
164
- }, sortedEntries !== null && sortedEntries !== void 0 && sortedEntries.length && (sortedEntries === null || sortedEntries === void 0 ? void 0 : sortedEntries.length) > 1 ? sortedEntries.map(function (entry) {
168
+ }, sortedEntries !== null && sortedEntries !== void 0 && sortedEntries.length && (sortedEntries === null || sortedEntries === void 0 ? void 0 : sortedEntries.length) > 1 ? sortedEntries.map(function (entry, index) {
165
169
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, {
166
- key: entry === null || entry === void 0 ? void 0 : entry.title
170
+ key: "".concat(entry === null || entry === void 0 ? void 0 : entry.title, "-").concat(index)
167
171
  }, /*#__PURE__*/_react.default.createElement(Card, {
168
172
  title: entry === null || entry === void 0 ? void 0 : entry.title,
169
173
  date: entry === null || entry === void 0 ? void 0 : entry.date,
@@ -23,8 +23,8 @@ var CardLinkIcon = function CardLinkIcon(_ref) {
23
23
  fill: "none",
24
24
  xmlns: "http://www.w3.org/2000/svg"
25
25
  }, /*#__PURE__*/_react.default.createElement("path", {
26
- "fill-rule": "evenodd",
27
- "clip-rule": "evenodd",
26
+ fillRule: "evenodd",
27
+ clipRule: "evenodd",
28
28
  d: "M18.9814 5.56388C18.9326 5.44487 18.8599 5.33338 18.7633 5.23674C18.568 5.04147 18.3121 4.94384 18.0562 4.94384C18.0561 4.94384 18.056 4.94384 18.056 4.94384H8.2149C7.66261 4.94384 7.2149 5.39156 7.2149 5.94384C7.2149 6.49613 7.66261 6.94384 8.2149 6.94384H15.6419L5.23673 17.3491C4.84621 17.7396 4.84621 18.3727 5.23673 18.7633C5.62726 19.1538 6.26042 19.1538 6.65095 18.7633L17.0562 8.35806V15.7851C17.0562 16.3374 17.5039 16.7851 18.0562 16.7851C18.6084 16.7851 19.0562 16.3374 19.0562 15.7851V5.94634C19.0562 5.93828 19.0561 5.93022 19.0559 5.92216C19.0532 5.79554 19.027 5.67471 18.9814 5.56388Z",
29
29
  fill: "#252A2E"
30
30
  })));
@@ -29,19 +29,19 @@ var renderCardImage = function renderCardImage(image, imageSizes, modalContent,
29
29
  return deployModal();
30
30
  }
31
31
  }, /*#__PURE__*/_react.default.createElement(_terraOne.FocusedImage, {
32
- focalPointImage: image,
32
+ focalPointImage: image && image,
33
33
  alt: image === null || image === void 0 ? void 0 : image.title,
34
34
  fullHeightWrapper: true,
35
- imageSizes: imageSizes.thumbnail
35
+ imageSizes: (imageSizes === null || imageSizes === void 0 ? void 0 : imageSizes.thumbnail) && (imageSizes === null || imageSizes === void 0 ? void 0 : imageSizes.thumbnail)
36
36
  })), renderModal(modalType, imageSizes, image, modalDeployed, hideModal));
37
37
  } else {
38
38
  return /*#__PURE__*/_react.default.createElement("figure", {
39
39
  className: "ter-bounded-card__image"
40
- }, /*#__PURE__*/_react.default.createElement(_terraOne.FocusedImage, {
41
- focalPointImage: image && image,
40
+ }, image && /*#__PURE__*/_react.default.createElement(_terraOne.FocusedImage, {
41
+ focalPointImage: image,
42
42
  alt: image === null || image === void 0 ? void 0 : image.title,
43
43
  fullHeightWrapper: true,
44
- imageSizes: imageSizes.thumbnail
44
+ imageSizes: (imageSizes === null || imageSizes === void 0 ? void 0 : imageSizes.thumbnail) && (imageSizes === null || imageSizes === void 0 ? void 0 : imageSizes.thumbnail)
45
45
  }));
46
46
  }
47
47
  };
@@ -62,10 +62,10 @@ var renderModal = function renderModal(modalType, imageSizes, modalContent, moda
62
62
  type: "ter-icon--open-x-dark-48px",
63
63
  size: "32px",
64
64
  className: "ter-unbounded-card-modal__close-button"
65
- })), /*#__PURE__*/_react.default.createElement("div", {
65
+ })), modalContent && /*#__PURE__*/_react.default.createElement("div", {
66
66
  className: "default-layout"
67
67
  }, /*#__PURE__*/_react.default.createElement(_terraOne.FocusedImage, {
68
- focalPointImage: modalContent,
68
+ focalPointImage: modalContent && modalContent,
69
69
  alt: modalContent === null || modalContent === void 0 ? void 0 : modalContent.title,
70
70
  fullHeightWrapper: true,
71
71
  imageSizes: imageSizes.modal
@@ -52,27 +52,27 @@ var imageSizes = {
52
52
  },
53
53
  "variant2_1/4": {
54
54
  desktop: {
55
- width: 400,
56
- height: 580,
55
+ width: 600,
56
+ height: 870,
57
57
  ratio: {
58
- width: 4,
59
- height: 5
58
+ width: 20,
59
+ height: 29
60
60
  }
61
61
  },
62
62
  tablet: {
63
- width: 260,
64
- height: 468,
63
+ width: 380,
64
+ height: 684,
65
65
  ratio: {
66
66
  width: 2,
67
67
  height: 9
68
68
  }
69
69
  },
70
70
  mobile: {
71
- width: 360,
72
- height: 240,
71
+ width: 640,
72
+ height: 480,
73
73
  ratio: {
74
- width: 3,
75
- height: 1.5
74
+ height: 3,
75
+ width: 4
76
76
  }
77
77
  }
78
78
  },
@@ -80,9 +80,9 @@ var FullBackgroundHero = function FullBackgroundHero(_ref) {
80
80
  gridTemplateRows: "1fr"
81
81
  }
82
82
  }, /*#__PURE__*/_react.default.createElement("div", {
83
- className: "\n luna-full-background-hero__content-wrapper-left \n luna-full-background-hero__content-wrapper-left-".concat(variant, " \n ").concat(!rightContent ? "luna-full-background-hero__content-wrapper-left-".concat(variant, "--full") : "", "\n ").concat(rightImage ? "luna-full-background-hero__content-wrapper-left-".concat(variant, "--image") : "")
83
+ className: "\n luna-full-background-hero__content-wrapper-left \n luna-full-background-hero__content-wrapper-left-".concat(variant, " \n ").concat(!rightContent ? "luna-full-background-hero__content-wrapper-left-".concat(variant, "--full") : "", "\n ").concat(rightImage ? "luna-full-background-hero__content-wrapper-left-".concat(variant, "--image") : "", "\n ").concat(!rightContent && !rightImage ? "luna-full-background-hero__content-wrapper-left--no-bottom-margin" : "", "\n ")
84
84
  }, leftContent), /*#__PURE__*/_react.default.createElement("div", {
85
- className: "\n luna-full-background-hero__content-wrapper-right \n luna-full-background-hero__content-wrapper-right-".concat(variant)
85
+ className: "\n luna-full-background-hero__content-wrapper-right \n luna-full-background-hero__content-wrapper-right-".concat(variant, " ").concat(!rightContent && !rightImage ? "luna-full-background-hero__content-wrapper-right--no-content" : "")
86
86
  }, (variant === "variant-1" || variant === "variant-2-inset") && rightContent, variant === "variant-2" && rightImage && (0, _FullBackgroundHeroMethods.renderShape)(shapeBorderColor, rightImage, shapeType), variant === "variant-3" && rightImage && (0, _FullBackgroundHeroMethods.renderContentImage)(rightImage)))));
87
87
  };
88
88
 
@@ -22,6 +22,7 @@
22
22
 
23
23
  @media screen and (max-width: $breakpoint-md) {
24
24
  height: auto;
25
+ min-height: auto;
25
26
  }
26
27
 
27
28
  @media screen and (max-width: $breakpoint-xs) {
@@ -207,6 +208,7 @@
207
208
 
208
209
  &-variant-3 {
209
210
  height: 100%;
211
+ overflow: hidden;
210
212
 
211
213
  @media screen and (max-width: $breakpoint-sm) {
212
214
  min-height: 480px;
@@ -570,6 +572,10 @@
570
572
  }
571
573
  }
572
574
  }
575
+
576
+ &--no-content {
577
+ display: none;
578
+ }
573
579
  }
574
580
  }
575
581
  }
@@ -110,8 +110,8 @@ var imageBackgroundSizes = {
110
110
  }
111
111
  },
112
112
  mobile: {
113
- width: 360,
114
- height: 280,
113
+ width: 600,
114
+ height: 467,
115
115
  ratio: {
116
116
  width: 9,
117
117
  height: 7
@@ -95,8 +95,8 @@ var imageSizes = {
95
95
  }
96
96
  },
97
97
  mobile: {
98
- width: 320,
99
- height: 196,
98
+ width: 525,
99
+ height: 295,
100
100
  ratio: {
101
101
  width: 80,
102
102
  height: 49
@@ -121,8 +121,8 @@ var imageSizes = {
121
121
  }
122
122
  },
123
123
  mobile: {
124
- width: 320,
125
- height: 320,
124
+ width: 600,
125
+ height: 600,
126
126
  ratio: {
127
127
  width: 1,
128
128
  height: 1
@@ -261,16 +261,16 @@ var imageSizes = {
261
261
  },
262
262
  variant_8: {
263
263
  desktop: {
264
- width: 960,
265
- height: 720,
264
+ width: 950,
265
+ height: 950,
266
266
  ratio: {
267
267
  width: 4,
268
268
  height: 3
269
269
  }
270
270
  },
271
271
  tablet: {
272
- width: 960,
273
- height: 720,
272
+ width: 950,
273
+ height: 950,
274
274
  ratio: {
275
275
  width: 4,
276
276
  height: 3
@@ -112,7 +112,7 @@ var Flyout = function Flyout(_ref) {
112
112
  }, /*#__PURE__*/_react.default.createElement(_terraOne.Icon, {
113
113
  className: "ter-flyout__close-icon",
114
114
  size: "16px",
115
- type: "open-x-dark-16px",
115
+ type: "ter-icon--open-x-dark-16px",
116
116
  color: "white"
117
117
  })), /*#__PURE__*/_react.default.createElement("div", {
118
118
  className: "ter-flyout__container"
@@ -139,9 +139,12 @@ var SubNav = function SubNav(_ref) {
139
139
  }, /*#__PURE__*/_react.default.createElement("div", {
140
140
  className: "ter-sub-nav ter-sub-nav__breadcrumbs"
141
141
  }, breadcrumbs && (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) <= 3 && width > 600 ? breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.map(function (breadcrumb, i) {
142
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("p", {
142
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
143
+ key: "breadcrumb-".concat(i)
144
+ }, /*#__PURE__*/_react.default.createElement("p", {
143
145
  className: "ter-sub-nav__breadcrumbs__text ".concat(i === breadcrumbs.length - 1 ? "ter-sub-nav__breadcrumbs__text--last" : "")
144
146
  }, breadcrumb.title), i + 1 < (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) && /*#__PURE__*/_react.default.createElement("span", {
147
+ key: "divider-".concat(i),
145
148
  style: {
146
149
  margin: "auto 0"
147
150
  }
@@ -169,7 +172,7 @@ var SubNav = function SubNav(_ref) {
169
172
  return openBreadcrumbsWithEnter(e);
170
173
  },
171
174
  src: _ellipses.default,
172
- tabindex: "0",
175
+ tabIndex: "0",
173
176
  alt: "ellipses",
174
177
  className: "ter-sub-nav__breadcrumbs--ellipses-icon"
175
178
  })), /*#__PURE__*/_react.default.createElement("span", {
@@ -226,7 +229,7 @@ var SubNav = function SubNav(_ref) {
226
229
  onKeyDown: function onKeyDown(e) {
227
230
  return closeBreadcrumbsWithEnter(e);
228
231
  },
229
- tabindex: "0",
232
+ tabIndex: "0",
230
233
  src: _close.default,
231
234
  alt: "close",
232
235
  className: "ter-sub-nav__close-btn--icon",
@@ -239,7 +242,9 @@ var SubNav = function SubNav(_ref) {
239
242
  display: openBreadcrumbs ? "block" : "none"
240
243
  }
241
244
  })), breadcrumbs && (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.map(function (breadcrumb, i) {
242
- return i + 1 < (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("p", {
245
+ return i + 1 < (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
246
+ key: "breadcrumb-".concat(i)
247
+ }, /*#__PURE__*/_react.default.createElement("p", {
243
248
  className: "ter-sub-nav__breadcrumbs__text ter-sub-nav__breadcrumbs--link__text--no-link"
244
249
  }, breadcrumb.title), i + 1 < (breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.length) - 1 && /*#__PURE__*/_react.default.createElement("span", {
245
250
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.334",
3
+ "version": "3.1.338",
4
4
  "dependencies": {
5
5
  "@storybook/addon-knobs": "^6.3.1",
6
6
  "@testing-library/jest-dom": "^5.11.9",
@@ -23,7 +23,7 @@
23
23
  "react-scroll": "^1.7.14",
24
24
  "react-slidedown": "^2.4.5",
25
25
  "smoothscroll-polyfill": "^0.4.4",
26
- "terra-one": "^3.0.109"
26
+ "terra-one": "^3.0.111"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "node-sass": "^4.12.0",