luna-one 3.1.294 → 3.1.298

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.
@@ -49,6 +49,10 @@
49
49
  width: 100%;
50
50
  margin: 0;
51
51
 
52
+ &:not(:last-child) {
53
+ margin-bottom: 20px;
54
+ }
55
+
52
56
  .eyebrow {
53
57
  margin: 0;
54
58
  font-family: $bold-font-family;
@@ -56,6 +60,10 @@
56
60
  line-height: 18px;
57
61
  text-transform: uppercase;
58
62
 
63
+ &:not(:last-child) {
64
+ margin-bottom: 12px;
65
+ }
66
+
59
67
  @media only screen and (max-width: $breakpoint-xs) {
60
68
  font-size: $eyebrow-font-size-mobile;
61
69
  line-height: 19px;
@@ -63,11 +71,15 @@
63
71
  }
64
72
 
65
73
  .heading {
66
- margin: 12px 0 0 0;
74
+ margin: 0;
67
75
  font-family: $very-bold-font-family;
68
76
  font-size: $heading-3-size;
69
77
  line-height: 41px;
70
78
 
79
+ &:not(:last-child) {
80
+ margin-bottom: 6px;
81
+ }
82
+
71
83
  @media only screen and (max-width: $breakpoint-xs) {
72
84
  line-height: 42px;
73
85
  font-size: $heading-3-size-mobile;
@@ -75,7 +87,7 @@
75
87
  }
76
88
 
77
89
  .subheading {
78
- margin: 6px 0 0 0;
90
+ margin: 0;
79
91
  font-size: $subheading-size;
80
92
  line-height: 27px;
81
93
 
@@ -87,11 +99,15 @@
87
99
  }
88
100
 
89
101
  .content {
90
- margin: 20px 0 0 0;
102
+ margin: 0;
91
103
  font-family: $normal-font-family;
92
104
  font-size: $body-font-size;
93
105
  line-height: 22px;
94
106
 
107
+ &:not(:last-child) {
108
+ margin-bottom: 40px;
109
+ }
110
+
95
111
  @media only screen and (max-width: $breakpoint-xs) {
96
112
  font-size: $body-font-size-mobile;
97
113
  line-height: 23px;
@@ -158,7 +174,7 @@
158
174
  flex-wrap: wrap;
159
175
 
160
176
  a {
161
- margin: 40px 20px 0px 20px;
177
+ margin: 0 20px;
162
178
  }
163
179
 
164
180
  &.text-links {
@@ -166,7 +182,7 @@
166
182
  grid-gap: 24px;
167
183
  font-size: $body-font-size;
168
184
  line-height: 24px;
169
- margin: 40px 0 0 0;
185
+ margin: 0;
170
186
 
171
187
  @media (max-width: $breakpoint-xs) {
172
188
  font-size: $body-font-size-mobile;
@@ -182,6 +198,10 @@
182
198
  background-image: url("../../images/circle-arrow-right-white.svg");
183
199
  }
184
200
  }
201
+
202
+ .text-link:hover, .text-link-external:hover {
203
+ border-bottom: 3px solid $dark-theme-link-list-underscore;
204
+ }
185
205
  .text-link-external {
186
206
  color: $white;
187
207
 
@@ -213,6 +233,11 @@
213
233
  background-position: center;
214
234
  }
215
235
  }
236
+
237
+ .text-link:hover, .text-link-external:hover {
238
+ border-bottom: 3px solid $trimble-blue;
239
+ }
240
+
216
241
  .text-link-external {
217
242
  position: relative;
218
243
  text-decoration: none;
@@ -142,11 +142,8 @@
142
142
  b {
143
143
  @include benton-bold();
144
144
  }
145
- br {
146
- display: none;
147
- }
148
145
  p {
149
- display: none;
146
+ font-size: $body-font-size;
150
147
  }
151
148
  }
152
149
  &__pay-equity {
@@ -55,7 +55,8 @@ var ProseLayout = function ProseLayout(_ref) {
55
55
  resources = _ref.resources,
56
56
  sources = _ref.sources,
57
57
  paddingClass = _ref.paddingClass,
58
- industryOrCategory = _ref.industryOrCategory;
58
+ industryOrCategory = _ref.industryOrCategory,
59
+ industriesOrCategories = _ref.industriesOrCategories;
59
60
  return /*#__PURE__*/_react.default.createElement("div", {
60
61
  className: "prose-container ".concat(paddingClass)
61
62
  }, (bannerImage === null || bannerImage === void 0 ? void 0 : bannerImage.focalPointImage) && /*#__PURE__*/_react.default.createElement("div", {
@@ -72,7 +73,13 @@ var ProseLayout = function ProseLayout(_ref) {
72
73
  href: listPageLink
73
74
  }, "Back to full list"), (industryOrCategory === null || industryOrCategory === void 0 ? void 0 : industryOrCategory.name) && /*#__PURE__*/_react.default.createElement("div", {
74
75
  className: "category"
75
- }, industryOrCategory.name), header && /*#__PURE__*/_react.default.createElement("h1", {
76
+ }, industryOrCategory.name), (industriesOrCategories === null || industriesOrCategories === void 0 ? void 0 : industriesOrCategories.length) && /*#__PURE__*/_react.default.createElement("div", {
77
+ className: "category-container"
78
+ }, industriesOrCategories.map(function (industryOrCategory) {
79
+ return /*#__PURE__*/_react.default.createElement("div", {
80
+ className: "category"
81
+ }, industryOrCategory.name);
82
+ })), header && /*#__PURE__*/_react.default.createElement("h1", {
76
83
  className: "header"
77
84
  }, header), subheader && /*#__PURE__*/_react.default.createElement("div", {
78
85
  className: "sub-header"
@@ -130,6 +130,36 @@
130
130
  }
131
131
  }
132
132
 
133
+ .category-container {
134
+ display: flex;
135
+ .category {
136
+ &:first-child {
137
+ &:before {
138
+ position: absolute;
139
+ top: 12px;
140
+ left: -48px;
141
+ display: block;
142
+ content: "";
143
+ width: 20px;
144
+ height: 20px;
145
+ background-image: url("../../images/frame-intersection.svg");
146
+ background-repeat: no-repeat;
147
+
148
+ @media (max-width: $breakpoint-sm) {
149
+ display: none;
150
+ }
151
+ }
152
+ }
153
+
154
+ &:not(:first-child) {
155
+ padding-left: 10px;
156
+ &:before {
157
+ display: none;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
133
163
  .header {
134
164
  margin: 0;
135
165
  font-size: $heading-4-size;
@@ -190,16 +220,23 @@
190
220
  }
191
221
  }
192
222
 
193
- .richtext-container, & {
194
- & > ul, & > ol, & > img, & > picture {
223
+ .richtext-container,
224
+ & {
225
+ & > ul,
226
+ & > ol,
227
+ & > img,
228
+ & > picture {
195
229
  margin-top: 60px;
196
230
  }
197
-
231
+
198
232
  & > img {
199
233
  margin-top: 32px;
200
234
  }
201
-
202
- & > ul, & > ol, & > img, & > picture {
235
+
236
+ & > ul,
237
+ & > ol,
238
+ & > img,
239
+ & > picture {
203
240
  margin-bottom: 60px !important;
204
241
 
205
242
  @media (max-width: $breakpoint-sm) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.294",
3
+ "version": "3.1.298",
4
4
  "dependencies": {
5
5
  "@storybook/addon-knobs": "^6.3.1",
6
6
  "@testing-library/jest-dom": "^5.11.9",