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