@phillips/seldon 1.181.0 → 1.182.0

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.
Files changed (56) hide show
  1. package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
  2. package/dist/components/Article/Article.js +2 -2
  3. package/dist/components/ComboBox/ComboBox.js +115 -116
  4. package/dist/components/ComposedModal/ComposedModal.js +2 -2
  5. package/dist/components/ExitGateCard/ExitGateCard.js +2 -2
  6. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +15 -15
  7. package/dist/components/Filter/FilterHeader.js +1 -1
  8. package/dist/components/Link/types.d.ts +1 -2
  9. package/dist/components/Link/types.js +1 -1
  10. package/dist/components/Text/Text.js +1 -1
  11. package/dist/components/Text/types.d.ts +0 -17
  12. package/dist/components/Text/types.js +3 -3
  13. package/dist/components/Text/utils.js +6 -6
  14. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +21 -21
  15. package/dist/patterns/BidSnapshot/BidMessage.js +6 -6
  16. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
  17. package/dist/patterns/FiltersInline/FilterButton.js +8 -8
  18. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +41 -41
  19. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +38 -38
  20. package/dist/patterns/SaleCard/SaleCard.js +25 -25
  21. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +45 -45
  22. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +7 -7
  23. package/dist/patterns/UserManagement/UserManagement.js +10 -10
  24. package/dist/patterns/ViewingDetails/ViewingDetails.js +12 -12
  25. package/dist/scss/_type.scss +63 -142
  26. package/dist/scss/_vars.scss +45 -74
  27. package/dist/scss/_vars.scss.js +47 -76
  28. package/dist/scss/components/Accordion/_accordion.scss +4 -4
  29. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +2 -2
  30. package/dist/scss/components/Article/_article.scss +0 -5
  31. package/dist/scss/components/Breadcrumb/_breadcrumb.scss +1 -1
  32. package/dist/scss/components/Button/_button.scss +1 -1
  33. package/dist/scss/components/ComboBox/_combobox.scss +4 -4
  34. package/dist/scss/components/Countdown/_countdown.scss +2 -2
  35. package/dist/scss/components/Countdown/_duration.scss +1 -1
  36. package/dist/scss/components/Detail/_detail.scss +1 -1
  37. package/dist/scss/components/Drawer/_drawerHeader.scss +2 -2
  38. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  39. package/dist/scss/components/Filter/_filter.scss +3 -3
  40. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  41. package/dist/scss/components/Input/_input.scss +3 -3
  42. package/dist/scss/components/Link/_link.scss +4 -4
  43. package/dist/scss/components/Navigation/_navigation.scss +4 -1
  44. package/dist/scss/components/Pagination/_pagination.scss +1 -1
  45. package/dist/scss/components/Search/_search.scss +5 -10
  46. package/dist/scss/components/Tabs/_tabs.scss +1 -1
  47. package/dist/scss/components/Tags/_tags.scss +1 -1
  48. package/dist/scss/components/TextArea/_textArea.scss +2 -2
  49. package/dist/scss/components/TextSymbol/_textSymbol.scss +2 -2
  50. package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +1 -1
  51. package/dist/scss/patterns/Social/_social.scss +1 -1
  52. package/dist/scss/patterns/Subscribe/_subscribe.scss +3 -3
  53. package/dist/scss/site-furniture/Footer/_footer.scss +2 -2
  54. package/dist/scss/site-furniture/Header/_header.scss +5 -1
  55. package/dist/site-furniture/Footer/Footer.js +1 -1
  56. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import { jsx as o, Fragment as x, jsxs as s } from "react/jsx-runtime";
2
2
  import { forwardRef as A } from "react";
3
- import { getCommonProps as M, noOp as w } from "../../utils/index.js";
4
- import C from "../../node_modules/classnames/index.js";
3
+ import { getCommonProps as w, noOp as C } from "../../utils/index.js";
4
+ import $ from "../../node_modules/classnames/index.js";
5
5
  import { AuthState as t } from "./types.js";
6
6
  import { TextVariants as i } from "../../components/Text/types.js";
7
7
  import r from "../../components/Text/Text.js";
8
8
  import m from "../../components/Icon/Icon.js";
9
- const $ = A(
9
+ const b = A(
10
10
  ({
11
11
  accountDetailsLinkComponent: l = "a",
12
12
  className: d,
13
- onLogin: g = w,
13
+ onLogin: g = C,
14
14
  authState: a = t.LoggedOut,
15
15
  loginLabel: h = "Login",
16
16
  accountLabel: u = "Account",
@@ -18,17 +18,17 @@ const $ = A(
18
18
  disabled: e = !1,
19
19
  ...c
20
20
  }, p) => {
21
- const { className: n, ...N } = M(c, "UserManagement"), _ = a === t.LoggedIn, L = a !== t.Loading;
22
- return /* @__PURE__ */ o("div", { ...N, className: C(n, d), ...c, ref: p, children: L && /* @__PURE__ */ o(x, { children: _ ? /* @__PURE__ */ s(l, { className: `${n}__login`, href: f, disabled: e, children: [
21
+ const { className: n, ...N } = w(c, "UserManagement"), _ = a === t.LoggedIn, L = a !== t.Loading;
22
+ return /* @__PURE__ */ o("div", { ...N, className: $(n, d), ...c, ref: p, children: L && /* @__PURE__ */ o(x, { children: _ ? /* @__PURE__ */ s(l, { className: `${n}__login`, href: f, disabled: e, children: [
23
23
  /* @__PURE__ */ o(m, { icon: "Account", className: `${n}__account-icon`, height: "100%", width: "100%" }),
24
- /* @__PURE__ */ o(r, { variant: i.bodyMd, children: u })
24
+ /* @__PURE__ */ o(r, { variant: i.body3, children: u })
25
25
  ] }) : /* @__PURE__ */ s("button", { className: `${n}__login`, onClick: g, disabled: e, children: [
26
26
  /* @__PURE__ */ o(m, { icon: "Account", className: `${n}__account-icon`, height: "100%", width: "100%" }),
27
- /* @__PURE__ */ o(r, { variant: i.bodyMd, children: h })
27
+ /* @__PURE__ */ o(r, { variant: i.body3, children: h })
28
28
  ] }) }) });
29
29
  }
30
30
  );
31
- $.displayName = "UserManagement";
31
+ b.displayName = "UserManagement";
32
32
  export {
33
- $ as default
33
+ b as default
34
34
  };
@@ -10,28 +10,28 @@ const y = b(
10
10
  ({
11
11
  className: p,
12
12
  children: m,
13
- label: d,
14
- sessionTimesLabel: o,
13
+ label: o,
14
+ sessionTimesLabel: s,
15
15
  sessionTimes: n,
16
16
  viewingTimes: t,
17
- location: s,
18
- mapLink: c,
19
- onClose: M,
17
+ location: c,
18
+ mapLink: d,
19
+ onClose: V,
20
20
  linkElement: f = g,
21
21
  ...h
22
22
  }, N) => {
23
23
  const { className: r, ...v } = x(h, "ViewingDetails");
24
24
  return /* @__PURE__ */ a("div", { ...v, ...h, className: $(r, p), ref: N, children: /* @__PURE__ */ _("div", { className: `${r}__content`, children: [
25
25
  m && /* @__PURE__ */ a("div", { className: `${r}__children`, children: m }),
26
- o && /* @__PURE__ */ a(l, { variant: i.heading3, children: o }),
26
+ s && /* @__PURE__ */ a(l, { variant: i.heading4, children: s }),
27
27
  n && n.length > 0 && n.map((e) => /* @__PURE__ */ _("div", { children: [
28
- e.sessionLabel && /* @__PURE__ */ a(l, { variant: i.heading4, className: `${r}__label`, children: e.sessionLabel }),
29
- e.sessionTime && /* @__PURE__ */ a(l, { variant: i.bodyMd, className: `${r}__text`, children: e.sessionTime })
28
+ e.sessionLabel && /* @__PURE__ */ a(l, { variant: i.heading5, className: `${r}__label`, children: e.sessionLabel }),
29
+ e.sessionTime && /* @__PURE__ */ a(l, { variant: i.body2, className: `${r}__text`, children: e.sessionTime })
30
30
  ] }, `${e.sessionLabel ?? ""}-${e.sessionTime ?? ""}`)),
31
- d && /* @__PURE__ */ a(l, { variant: i.heading3, children: d }),
32
- t && t.length > 0 && t.map((e) => /* @__PURE__ */ a(l, { variant: i.bodyMd, className: `${r}__label`, children: e }, e)),
33
- s && /* @__PURE__ */ a(l, { variant: i.bodyMd, className: `${r}__location`, children: s }),
34
- c && /* @__PURE__ */ a(l, { variant: i.bodyMd, className: `${r}__map-link`, children: /* @__PURE__ */ a(f, { href: c, children: "(Map)" }) })
31
+ o && /* @__PURE__ */ a(l, { variant: i.heading4, children: o }),
32
+ t && t.length > 0 && t.map((e) => /* @__PURE__ */ a(l, { variant: i.body2, className: `${r}__label`, children: e }, e)),
33
+ c && /* @__PURE__ */ a(l, { variant: i.body2, className: `${r}__location`, children: c }),
34
+ d && /* @__PURE__ */ a(l, { variant: i.body2, className: `${r}__map-link`, children: /* @__PURE__ */ a(f, { href: d, children: "(Map)" }) })
35
35
  ] }) });
36
36
  }
37
37
  );
@@ -44,275 +44,196 @@
44
44
  }
45
45
 
46
46
  @mixin hText(
47
- $size: $font-size-xl,
47
+ $size: $heading-size1,
48
48
  $color: $pure-black,
49
49
  $transform-style: capitalize,
50
- $text-decoration: unset,
51
- $font-style: unset,
52
- $line-height: $line-height-default
50
+ $line-height: $heading-line-height-size1
53
51
  ) {
54
52
  @include DistinctDisplay;
55
53
 
56
54
  color: $color;
57
55
  font-size: $size;
58
- font-style: $font-style;
59
- /* stylelint-disable-next-line declaration-property-value-disallowed-list */
60
- font-weight: 400;
56
+ font-variation-settings: 'wght' 400;
61
57
  line-height: $line-height;
62
- text-decoration: $text-decoration;
58
+ text-decoration: none;
63
59
  text-transform: $transform-style;
64
60
  }
65
61
 
66
- @mixin pText($size: $body-size1, $color: $pure-black, $line-height: $line-height-body, $font-weight: 400) {
62
+ @mixin pText($size: $body-size1, $color: $pure-black, $line-height: 1.5) {
67
63
  @include Montserrat;
68
64
 
69
65
  color: $color;
70
66
  font-size: $size;
71
- font-variation-settings: 'wght' $font-weight;
72
- line-height: $line-height;
73
- }
74
-
75
- @mixin label($size: $font-size-md, $line-height: $line-height-default, $font-weight: 400, $text-decoration: unset) {
76
- @include Montserrat;
77
-
78
- font-size: $size;
79
- font-variation-settings: 'wght' $font-weight;
80
67
  line-height: $line-height;
81
- text-decoration: $text-decoration;
82
68
  }
83
69
 
84
70
  @mixin labelText($label) {
85
71
  @include Montserrat;
86
72
 
73
+ font-variation-settings: 'wght' 600;
74
+
87
75
  @if $label == 'link' {
88
- @include label($size: $font-size-sm, $font-weight: 600, $text-decoration: underline);
76
+ font-size: $link-label-size;
77
+ letter-spacing: 1px;
78
+ line-height: $link-label-line-height;
79
+ text-transform: capitalize;
89
80
  }
90
81
 
91
82
  @if $label == 'button' {
92
- @include label($size: $font-size-sm, $font-weight: 600);
93
-
83
+ font-size: $button-label-size;
94
84
  letter-spacing: 0;
85
+ line-height: $button-label-line-height;
95
86
  text-transform: capitalize;
96
87
  }
97
88
 
98
89
  @if $label == 'email' {
99
- @include label($size: $font-size-sm, $font-weight: 600);
100
-
90
+ font-size: $email-label-size;
101
91
  letter-spacing: 0.0625rem;
92
+ line-height: 1.25;
102
93
  text-transform: lowercase;
103
94
  }
104
95
 
105
96
  @if $label == 'label' {
106
- @include label($size: $font-size-xsm, $font-weight: 600);
107
-
97
+ font-size: $text-label-size;
98
+ font-variation-settings: 'wght' 500;
108
99
  letter-spacing: 0.0625rem;
100
+ line-height: 1.25;
109
101
  }
110
102
 
111
103
  @if $label == 'badge' {
112
- @include eyebrow($size: $font-size-xsm);
113
-
104
+ font-size: $badge-label-size;
105
+ font-variation-settings: 'wght' 500;
114
106
  letter-spacing: 0;
107
+ line-height: $badge-label-line-height;
108
+ text-transform: uppercase;
115
109
  }
116
110
  }
117
111
 
118
- @mixin eyebrow($size: $font-size-xsm, $color: $pure-black, $line-height: $line-height-default, $letter-spacing: 0) {
119
- @include Montserrat;
120
-
121
- color: $color;
122
- font-size: $size;
123
- font-variation-settings: 'wght' 500;
124
- letter-spacing: $letter-spacing;
125
- line-height: $line-height;
126
- text-transform: uppercase;
127
- }
128
-
129
112
  @mixin text($token) {
130
113
  // Labels
131
- @if $token == 'labelLg' {
132
- @include label($size: $font-size-md);
133
- }
134
-
135
- @if $token == 'labelLgBold' {
136
- @include label($size: $font-size-md, $font-weight: 600);
137
- }
138
-
139
- @if $token == 'labelMd' {
140
- @include label($size: $font-size-sm, $font-weight: 400);
141
- }
142
-
143
- @if $token == 'labelMdBold' {
144
- @include label($size: $font-size-sm, $font-weight: 600);
145
- }
146
-
147
- @if $token == 'labelSm' {
148
- @include label($size: $font-size-xsm, $font-weight: 400);
149
- }
150
-
151
- @if $token == 'labelSmBold' {
152
- @include label($size: $font-size-xsm, $font-weight: 600);
153
- }
154
-
155
114
  @if $token == 'button' {
156
- @include label($size: $font-size-sm, $font-weight: 600);
115
+ @include labelText($button);
157
116
  }
158
117
 
159
118
  @if $token == 'link' {
160
- @include label($size: $font-size-sm, $text-decoration: underline);
161
- }
162
-
163
- @if $token == 'linkBold' {
164
- @include label($size: $font-size-sm, $font-weight: 600, $text-decoration: underline);
119
+ @include labelText($link);
165
120
  }
166
121
 
167
122
  @if $token == 'email' {
168
- @include label($size: $font-size-sm, $font-weight: 600);
123
+ @include labelText($email);
169
124
  }
170
125
 
171
126
  @if $token == 'label' {
172
- @include label($size: $font-size-xsm, $font-weight: 600);
127
+ @include labelText($label);
173
128
  }
174
129
 
175
130
  @if $token == 'badge' {
176
- @include eyebrow($size: $font-size-xsm);
177
- }
178
-
179
- @if $token == 'bodyLg' {
180
- @include pText($font-size-md);
181
- }
182
-
183
- @if $token == 'bodyMd' {
184
- @include pText($font-size-sm);
185
- }
186
-
187
- @if $token == 'bodySm' {
188
- @include pText($font-size-xsm);
189
- }
190
-
191
- @if $token == 'bodyLgBold' {
192
- @include pText($font-size-md, $font-weight: 600);
193
- }
194
-
195
- @if $token == 'bodyMdBold' {
196
- @include pText($font-size-sm, $font-weight: 600);
197
- }
198
-
199
- @if $token == 'bodySmBold' {
200
- @include pText($font-size-xsm, $font-weight: 600);
131
+ @include labelText($badge);
201
132
  }
202
133
 
203
134
  // Headings
204
135
  @if $token == 'blockquote' {
205
- @include hText($font-size-xl, $color: $primary-black, $transform-style: initial, $line-height: $font-size-xxl);
136
+ @include hText(
137
+ $heading-size1,
138
+ $color: $primary-black,
139
+ $transform-style: initial,
140
+ $line-height: $heading-line-height-size1
141
+ );
206
142
  }
207
143
 
208
144
  @if $token == 'heading1' {
209
- @include hText($font-size-xl);
145
+ @include hText($heading-size1, $line-height: $heading-line-height-size1, $transform-style: capitalize);
210
146
  }
211
147
 
212
148
  @if $token == 'heading2' {
213
- @include hText($font-size-lg);
149
+ @include hText($heading-size2, $line-height: $heading-line-height-size2, $transform-style: capitalize);
214
150
  }
215
151
 
216
152
  @if $token == 'heading3' {
217
- @include hText($font-size-md);
218
- }
219
-
220
- @if $token == 'heading3Italic' {
221
- @include hText($font-size-md, $font-style: italic);
153
+ @include hText($heading-size3, $line-height: $heading-line-height-size3, $transform-style: capitalize);
222
154
  }
223
155
 
224
156
  @if $token == 'heading4' {
225
- @include hText($font-size-sm);
226
- }
227
-
228
- @if $token == 'heading4Italic' {
229
- @include hText($font-size-sm, $font-style: italic);
157
+ @include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: capitalize);
230
158
  }
231
159
 
232
160
  @if $token == 'heading5' {
233
- @include hText($font-size-xsm);
161
+ @include hText($heading-size5, $line-height: $heading-line-height-size5, $transform-style: capitalize);
234
162
  }
235
163
 
236
164
  @if $token == 'title1' {
237
- @include hText($font-size-xl, $transform-style: uppercase);
238
-
239
- letter-spacing: 0.03rem; // design team request
165
+ @include hText($heading-size1, $line-height: $heading-line-height-size1, $transform-style: uppercase);
240
166
  }
241
167
 
242
168
  // the title2 token skips heading 2 because it's the same size currently as heading1
243
169
  @if $token == 'title2' {
244
- @include hText($font-size-lg, $transform-style: uppercase);
245
-
246
- letter-spacing: 0.03rem;
170
+ @include hText($heading-size3, $line-height: $heading-line-height-size3, $transform-style: uppercase);
247
171
  }
248
172
 
249
173
  @if $token == 'title3' {
250
- @include hText($font-size-md, $transform-style: uppercase);
251
-
252
- letter-spacing: 0.03rem;
174
+ @include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: uppercase);
253
175
  }
254
176
 
255
177
  @if $token == 'title4' {
256
- @include hText($font-size-sm, $transform-style: uppercase);
257
-
258
- letter-spacing: 0.03rem;
178
+ @include hText($heading-size5, $line-height: $heading-line-height-size5, $transform-style: uppercase);
259
179
  }
260
180
 
261
181
  // Body
262
182
  @if $token == 'body1' {
263
- @include pText($font-size-md);
183
+ @include pText($body-size1, $line-height: $body-line-height-size1);
264
184
  }
265
185
 
266
186
  @if $token == 'body2' {
267
- @include pText($font-size-sm);
187
+ @include pText($body-size2, $line-height: $body-line-height-size2);
268
188
  }
269
189
 
270
190
  @if $token == 'body3' {
271
- @include pText($font-size-xsm);
191
+ @include pText($body-size3, $line-height: $body-line-height-size3);
272
192
  }
273
193
 
274
194
  // String
275
195
  @if $token == 'string1' {
276
- @include label($size: $font-size-md);
196
+ @include pText($string-size1, $line-height: $string-line-height-size1);
277
197
  }
278
198
 
279
199
  @if $token == 'string2' {
280
- @include label($size: $font-size-sm);
200
+ @include pText($string-size2, $line-height: $string-line-height-size2);
281
201
  }
282
202
 
283
203
  @if $token == 'string3' {
284
- @include label($size: $font-size-xsm);
204
+ @include pText($string-size3, $line-height: $string-line-height-size3);
285
205
  }
286
206
 
287
207
  // SNW
288
208
  @if $token == 'snwHeaderLink' {
289
- @include hText($font-size-md, $transform-style: uppercase);
209
+ @include DistinctDisplay;
290
210
 
291
- letter-spacing: 0.03rem;
211
+ font-size: $snw-header-link-size;
212
+ font-variation-settings: 'wght' 400;
213
+ letter-spacing: 1px;
214
+ line-height: $snw-header-link-line-height;
215
+ text-transform: uppercase;
292
216
  }
293
217
 
294
218
  @if $token == 'snwFlyoutLink' {
295
- @include label($size: $font-size-md);
219
+ @include Montserrat;
220
+
221
+ font-size: $snw-flyout-link-size;
222
+ font-variation-settings: 'wght' 400;
223
+ letter-spacing: 1px;
224
+ line-height: $snw-flyout-link-line-height;
225
+ text-transform: capitalize;
296
226
  }
297
227
 
298
228
  @if $token == 'snwHeadingHero1' {
299
- @include hText($font-size-xl, $transform-style: uppercase);
229
+ @include hText($snw-heading-hero-size1, $line-height: $snw-heading-hero-line-height1, $transform-style: uppercase);
300
230
 
301
231
  text-align: center;
302
232
  }
303
233
 
304
234
  @if $token == 'snwHeadingHero2' {
305
- @include hText($font-size-lg, $transform-style: uppercase);
235
+ @include hText($snw-heading-hero-size2, $line-height: $snw-heading-hero-line-height2, $transform-style: uppercase);
306
236
 
307
237
  text-align: center;
308
238
  }
309
-
310
- // Eyebrows
311
- @if $token == 'eyebrowLg' {
312
- @include eyebrow($size: $font-size-sm);
313
- }
314
-
315
- @if $token == 'eyebrowSm' {
316
- @include eyebrow($size: $font-size-xsm);
317
- }
318
239
  }
@@ -1,41 +1,6 @@
1
1
  // prefix
2
2
  $px: seldon;
3
3
 
4
- @mixin font-size-vars--sm {
5
- --font-size-micro: 0.25rem;
6
- --font-size-xsm: 0.5rem;
7
- --font-size-sm: 0.75rem;
8
- --font-size-md: 1rem;
9
- --font-size-lg: 1.25rem;
10
- --font-size-xl: 1.5rem;
11
- --font-size-xxl: 1.75rem;
12
- --font-size-xxxl: 2rem;
13
- }
14
-
15
- @mixin font-size-vars--md {
16
- @include font-size-vars--sm;
17
- }
18
-
19
- @mixin font-size-vars--lg {
20
- --font-size-micro: 0.5rem;
21
- --font-size-xsm: 0.75rem;
22
- --font-size-sm: 1rem;
23
- --font-size-md: 1.25rem;
24
- --font-size-lg: 1.5rem;
25
- --font-size-xl: 1.75rem;
26
- --font-size-xxl: 2rem;
27
- --font-size-xxxl: 2.25rem;
28
- }
29
-
30
- $font-size-micro: var(--font-size-micro);
31
- $font-size-xsm: var(--font-size-xsm);
32
- $font-size-sm: var(--font-size-sm);
33
- $font-size-md: var(--font-size-md);
34
- $font-size-lg: var(--font-size-lg);
35
- $font-size-xl: var(--font-size-xl);
36
- $font-size-xxl: var(--font-size-xxl);
37
- $font-size-xxxl: var(--font-size-xxxl);
38
-
39
4
  ////////////////////////
40
5
  /// COlORS:
41
6
  ///////////////////////
@@ -118,40 +83,19 @@ $text-family: $DistinctText;
118
83
 
119
84
  // Used with the labelText mixin
120
85
  // @include labelText($label)
121
- $labelLg: 'labelLg';
122
- $labelLgBold: 'labelLgBold';
123
- $labelMd: 'labelMd';
124
- $labelMdBold: 'labelMdBold';
125
- $labelSm: 'labelSm';
126
- $labelSmBold: 'labelSmBold';
127
86
  $button: 'button';
128
87
  $link: 'link';
129
- $linkBold: 'linkBold';
130
88
  $email: 'email';
131
89
  $label: 'label';
132
90
  $badge: 'badge';
133
91
 
134
- // Body styles
135
- $bodyLg: 'bodyLg';
136
- $bodyMd: 'bodyMd';
137
- $bodySm: 'bodySm';
138
- $bodyLgBold: 'bodyLgBold';
139
- $bodyMdBold: 'bodyMdBold';
140
- $bodySmBold: 'bodySmBold';
141
-
142
92
  // Used with the hText mixin
143
93
  $blockquote: 'blockquote';
144
94
  $heading1: 'heading1';
145
95
  $heading2: 'heading2';
146
96
  $heading3: 'heading3';
147
- $heading3Italic: 'heading3Italic';
148
97
  $heading4: 'heading4';
149
- $heading4Italic: 'heading4Italic';
150
98
  $heading5: 'heading5';
151
-
152
- // Eyebrow tokens
153
- $eyebrowLg: 'eyebrowLg';
154
- $eyebrowSm: 'eyebrowSm';
155
99
  $title1: 'title1';
156
100
  $title2: 'title2';
157
101
  $title3: 'title3';
@@ -166,11 +110,9 @@ $snwHeaderLink: 'snwHeaderLink';
166
110
  $snwFlyoutLink: 'snwFlyoutLink';
167
111
  $snwHeadingHero1: 'snwHeadingHero1';
168
112
  $snwHeadingHero2: 'snwHeadingHero2';
169
- $text-tokens: $labelLg, $labelLgBold, $labelMd, $labelMdBold, $labelSm, $labelSmBold, $button, $link, $linkBold, $email,
170
- $label, $badge, $bodyLg, $bodyMd, $bodySm, $bodyLgBold, $bodyMdBold, $bodySmBold, $blockquote, $heading1, $heading2,
171
- $heading3, $heading3Italic, $heading4, $heading4Italic, $heading5, $eyebrowLg, $eyebrowSm, $title1, $title2, $title3,
172
- $title4, $body1, $body2, $body3, $string1, $string2, $string3, $snwFlyoutLink, $snwHeaderLink, $snwHeadingHero1,
173
- $snwHeadingHero2;
113
+ $text-tokens: $button, $link, $email, $label, $badge, $blockquote, $heading1, $heading2, $heading3, $heading4, $heading5,
114
+ $title1, $title2, $title3, $title4, $body1, $body2, $body3, $string1, $string2, $string3, $snwFlyoutLink,
115
+ $snwHeaderLink, $snwHeadingHero1, $snwHeadingHero2;
174
116
 
175
117
  ////////////////////////
176
118
  /// Breakpoint TOKENS to be used for min-width comparisons, make sure they match BREAKPOINTS in constants.ts
@@ -185,14 +127,20 @@ $breakpoint-xl: 1801px;
185
127
  ///////////////////////
186
128
  // @TODO: These tokens need to be aligned with the new values from the design system https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/EASEL-Compendium%3A-Tokens%2C-Components-%26-Patterns?node-id=7263-1361&node-type=canvas&m=dev
187
129
  // Once we update ObjectTile and other components will need to be updated to match the new token.
188
-
189
- $line-height-default: 1.2;
190
- $line-height-body: 1.4;
191
-
192
130
  :root {
193
131
  --desktop-max-width: 120rem;
194
132
  --quote-size: 1.5rem;
195
133
  --quote-line-height: 2rem;
134
+ --heading-size1: 1.5rem;
135
+ --heading-line-height-size1: 1.75rem;
136
+ --heading-size2: 1.5rem;
137
+ --heading-line-height-size2: 1.75rem;
138
+ --heading-size3: 1.25rem;
139
+ --heading-line-height-size3: 1.5rem;
140
+ --heading-size4: 1rem;
141
+ --heading-line-height-size4: 1.25rem;
142
+ --heading-size5: 0.75rem;
143
+ --heading-line-height-size5: 1rem;
196
144
  --string-size1: 1rem;
197
145
  --string-line-height-size1: 1.25rem;
198
146
  --string-size2: 0.75rem;
@@ -225,15 +173,19 @@ $line-height-body: 1.4;
225
173
  --snw-heading-hero-size2: 1.625rem;
226
174
  --snw-heading-hero-line-height-size2: 1.9375rem;
227
175
 
228
- // FONT SIZES
229
- --font-size-step: 0.25rem;
230
- --body-size-step: 0.5rem;
231
-
232
- @include font-size-vars--sm;
233
-
234
176
  @media (min-width: $breakpoint-md) {
235
177
  --quote-size: 1.75rem;
236
178
  --quote-line-height: 2.25rem;
179
+ --heading-size1: 1.75rem;
180
+ --heading-line-height-size1: 2rem;
181
+ --heading-size2: 1.75rem;
182
+ --heading-line-height-size2: 2rem;
183
+ --heading-size3: 1.5rem;
184
+ --heading-line-height-size3: 1.75rem;
185
+ --heading-size4: 1.25rem;
186
+ --heading-line-height-size4: 1.5rem;
187
+ --heading-size5: 1rem;
188
+ --heading-line-height-size5: 1.25rem;
237
189
  --string-size1: 1.25rem;
238
190
  --string-line-height-size1: 1.5rem;
239
191
  --string-size2: 1rem;
@@ -272,6 +224,16 @@ $line-height-body: 1.4;
272
224
  @media (min-width: $breakpoint-xl) {
273
225
  --quote-size: 2rem;
274
226
  --quote-line-height: 2.5rem;
227
+ --heading-size1: 2rem;
228
+ --heading-line-height-size1: 2.25rem;
229
+ --heading-size2: 2rem;
230
+ --heading-line-height-size2: 2.25rem;
231
+ --heading-size3: 1.75rem;
232
+ --heading-line-height-size3: 2rem;
233
+ --heading-size4: 1.5rem;
234
+ --heading-line-height-size4: 1.75rem;
235
+ --heading-size5: 1.25rem;
236
+ --heading-line-height-size5: 1.5rem;
275
237
  --string-size1: 1.5rem;
276
238
  --string-line-height-size1: 1.75rem;
277
239
  --string-size2: 1.25rem;
@@ -297,9 +259,6 @@ $line-height-body: 1.4;
297
259
  --snw-header-link-line-height: 1.75rem;
298
260
  --snw-flyout-link-size: 1.125rem;
299
261
  --snw-flyout-link-line-height: 2.125rem;
300
-
301
- // FONT SIZES
302
- @include font-size-vars--lg;
303
262
  }
304
263
  }
305
264
 
@@ -309,6 +268,18 @@ $title-size2: var(--heading-size2);
309
268
  $title-size3: var(--heading-size3);
310
269
  $title-size4: var(--heading-size4);
311
270
 
271
+ // HEADING
272
+ $heading-size1: var(--heading-size1);
273
+ $heading-line-height-size1: var(--heading-line-height-size1);
274
+ $heading-size2: var(--heading-size2);
275
+ $heading-line-height-size2: var(--heading-line-height-size2);
276
+ $heading-size3: var(--heading-size3);
277
+ $heading-line-height-size3: var(--heading-line-height-size3);
278
+ $heading-size4: var(--heading-size4);
279
+ $heading-line-height-size4: var(--heading-line-height-size4);
280
+ $heading-size5: var(--heading-size5);
281
+ $heading-line-height-size5: var(--heading-line-height-size5);
282
+
312
283
  // BODY
313
284
  $body-size1: var(--body-size1);
314
285
  $body-line-height-size1: var(--body-line-height-size1);