@phillips/seldon 1.38.6 → 1.40.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.
@@ -3,10 +3,6 @@ export interface FooterProps extends React.HTMLAttributes<HTMLElement> {
3
3
  * Copyright data added to bottom of site
4
4
  */
5
5
  copyright?: string;
6
- /**
7
- * Navigation items
8
- */
9
- navigationComponent: React.ReactElement;
10
6
  }
11
7
  /**
12
8
  * ## Overview
@@ -1,20 +1,21 @@
1
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
- import i from "../../node_modules/classnames/index.js";
3
- import { px as e, defaultYear as m } from "../../utils/index.js";
4
- import f from "../SplitPanel/SplitPanel.js";
5
- import c from "../../assets/PhillipsLogo.svg.js";
6
- const _ = ({
7
- children: t,
8
- className: l,
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import l from "../../node_modules/classnames/index.js";
3
+ import { px as r, defaultYear as m } from "../../utils/index.js";
4
+ import d from "../../assets/PhillipsLogo.svg.js";
5
+ import { TextVariants as f } from "../Text/types.js";
6
+ import c from "../Text/Text.js";
7
+ const $ = ({
8
+ children: a,
9
+ className: i,
9
10
  copyright: s = `© ${m} Phillips Auctioneers, LLC`,
10
- id: r
11
- }) => /* @__PURE__ */ a("footer", { "data-testid": r || "footer", id: r, className: i(`${e}-footer`, { className: l }), children: [
12
- /* @__PURE__ */ o(f, { className: `${e}-footer__content`, hasBorder: !1, children: t }),
13
- /* @__PURE__ */ a("div", { className: `${e}-footer__copyright`, children: [
14
- /* @__PURE__ */ o("h1", { "data-testid": "header-logo", className: `${e}-header__logo`, children: /* @__PURE__ */ o("a", { href: "/", "aria-label": "logo", children: /* @__PURE__ */ o(c, {}) }) }),
15
- s
11
+ id: e
12
+ }) => /* @__PURE__ */ t("footer", { "data-testid": e || "footer", id: e, className: l(`${r}-footer`, { className: i }), children: [
13
+ /* @__PURE__ */ o("div", { className: `${r}-footer__links`, children: a }),
14
+ /* @__PURE__ */ t("div", { className: `${r}-footer__copyright`, children: [
15
+ /* @__PURE__ */ o("h3", { "data-testid": "header-logo", className: `${r}-header__logo`, children: /* @__PURE__ */ o("a", { href: "/", "aria-label": "logo", children: /* @__PURE__ */ o(d, {}) }) }),
16
+ /* @__PURE__ */ o(c, { variant: f.body3, children: s })
16
17
  ] })
17
18
  ] });
18
19
  export {
19
- _ as default
20
+ $ as default
20
21
  };
@@ -12,5 +12,11 @@ export declare enum LinkVariants {
12
12
  /** link is being rendered in a nav bar flyout*/
13
13
  navLinkLg = "navLinkLg",
14
14
  /** link is being rendered in a nav bar flyout*/
15
- navLinkSm = "navLinkSm"
15
+ navLinkSm = "navLinkSm",
16
+ /** link is being rendered in a footer */
17
+ link = "link",
18
+ /** link is being rendered in a footer|header */
19
+ snwHeaderLink = "snwHeaderLink",
20
+ /** link is being rendered in a footer|header */
21
+ snwFlyoutLink = "snwFlyoutLink"
16
22
  }
@@ -1,4 +1,4 @@
1
- var e = /* @__PURE__ */ ((n) => (n.standalone = "standalone", n.email = "email", n.list = "list", n.inline = "inline", n.navMain = "navMain", n.navLinkLg = "navLinkLg", n.navLinkSm = "navLinkSm", n))(e || {});
1
+ var e = /* @__PURE__ */ ((n) => (n.standalone = "standalone", n.email = "email", n.list = "list", n.inline = "inline", n.navMain = "navMain", n.navLinkLg = "navLinkLg", n.navLinkSm = "navLinkSm", n.link = "link", n.snwHeaderLink = "snwHeaderLink", n.snwFlyoutLink = "snwFlyoutLink", n))(e || {});
2
2
  export {
3
3
  e as LinkVariants
4
4
  };
@@ -1,23 +1,25 @@
1
- import { jsxs as c, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import l from "../../node_modules/classnames/index.js";
3
- import { getCommonProps as u } from "../../utils/index.js";
4
- import N from "../Button/Button.js";
3
+ import { getCommonProps as f } from "../../utils/index.js";
4
+ import p from "../Button/Button.js";
5
5
  import { ButtonVariants as d } from "../Button/types.js";
6
- const v = ({
7
- className: e,
8
- children: t,
9
- titleText: a = "Never Miss A Moment",
6
+ import { TextVariants as u } from "../Text/types.js";
7
+ import N from "../Text/Text.js";
8
+ const S = ({
9
+ className: s,
10
+ children: a,
11
+ titleText: e = "Never Miss A Moment",
10
12
  buttonText: m = "Subscribe To Our Newsletter",
11
13
  onSubscribeClick: i,
12
- ...s
14
+ ...r
13
15
  }) => {
14
- const { className: o, ...n } = u(s, "Social");
15
- return /* @__PURE__ */ c("div", { ...n, className: l(o, e), ...s, children: [
16
- /* @__PURE__ */ r("h3", { className: `${o}__header`, children: a }),
17
- /* @__PURE__ */ r(N, { onClick: i, variant: d.ghost, className: `${o}__button`, children: m }),
18
- t
16
+ const { className: o, ...n } = f(r, "Social");
17
+ return /* @__PURE__ */ c("div", { ...n, className: l(o, s), ...r, children: [
18
+ /* @__PURE__ */ t(N, { variant: u.heading3, className: `${o}__header`, children: e }),
19
+ /* @__PURE__ */ t(p, { onClick: i, variant: d.ghost, className: `${o}__button`, children: m }),
20
+ a
19
21
  ] });
20
22
  };
21
23
  export {
22
- v as default
24
+ S as default
23
25
  };
@@ -5,12 +5,20 @@ export declare enum TextVariants {
5
5
  display3 = "display3",
6
6
  display4 = "display4",
7
7
  blockquote = "blockquote",
8
+ heading1 = "heading1",
8
9
  heading2 = "heading2",
9
10
  heading3 = "heading3",
10
11
  heading4 = "heading4",
12
+ title1 = "title1",
13
+ title2 = "title2",
14
+ title3 = "title3",
15
+ title4 = "title4",
11
16
  body1 = "body1",
12
17
  body2 = "body2",
13
18
  body3 = "body3",
19
+ string1 = "string1",
20
+ string2 = "string2",
21
+ string3 = "string3",
14
22
  button = "button",
15
23
  ctaLg = "ctaLg",
16
24
  ctaSm = "ctaSm",
@@ -1,4 +1,4 @@
1
- var l = /* @__PURE__ */ ((d) => (d.display0 = "display0", d.display1 = "display1", d.display2 = "display2", d.display3 = "display3", d.display4 = "display4", d.blockquote = "blockquote", d.heading2 = "heading2", d.heading3 = "heading3", d.heading4 = "heading4", d.body1 = "body1", d.body2 = "body2", d.body3 = "body3", d.button = "button", d.ctaLg = "ctaLg", d.ctaSm = "ctaSm", d.email = "email", d.label = "label", d.badge = "badge", d))(l || {});
1
+ var l = /* @__PURE__ */ ((d) => (d.display0 = "display0", d.display1 = "display1", d.display2 = "display2", d.display3 = "display3", d.display4 = "display4", d.blockquote = "blockquote", d.heading1 = "heading1", d.heading2 = "heading2", d.heading3 = "heading3", d.heading4 = "heading4", d.title1 = "title1", d.title2 = "title2", d.title3 = "title3", d.title4 = "title4", d.body1 = "body1", d.body2 = "body2", d.body3 = "body3", d.string1 = "string1", d.string2 = "string2", d.string3 = "string3", d.button = "button", d.ctaLg = "ctaLg", d.ctaSm = "ctaSm", d.email = "email", d.label = "label", d.badge = "badge", d))(l || {});
2
2
  export {
3
3
  l as TextVariants
4
4
  };
@@ -38,30 +38,46 @@
38
38
  padding-bottom: $padding;
39
39
  }
40
40
 
41
- @mixin hText($size: $heading-size1, $color: $primary-black, $transform-style: capitalize) {
41
+ @mixin hText(
42
+ $size: $heading-size1,
43
+ $color: $pure-black,
44
+ $transform-style: capitalize,
45
+ $line-height: $heading-line-height-size1
46
+ ) {
42
47
  color: $color;
43
48
  font-family: DistinctDisplay, sans-serif;
44
49
  font-size: $size;
45
50
  font-weight: 400;
46
- line-height: 1.25;
51
+ line-height: $line-height;
52
+ text-decoration: none;
47
53
  text-transform: $transform-style;
48
54
  }
49
55
 
50
- @mixin pText($size: $body-size1, $color: $soft-black) {
56
+ @mixin pText($size: $body-size1, $color: $pure-black, $line-height: 1.5) {
51
57
  color: $color;
52
58
  font-family: Montserrat, sans-serif;
53
59
  font-size: $size;
54
- letter-spacing: 0.0625rem;
55
- line-height: 1.5;
60
+ line-height: $line-height;
56
61
  }
57
62
 
58
63
  @mixin labelText($label) {
59
64
  font-family: Montserrat, sans-serif;
60
65
 
66
+ @if $label == 'link' {
67
+ color: $pure-black;
68
+ font-size: $link-button-label-size;
69
+ line-height: $link-label-line-height;
70
+ font-weight: 600;
71
+ letter-spacing: 1px;
72
+ text-transform: uppercase;
73
+ text-decoration: underline;
74
+ }
75
+
61
76
  @if $label == 'button' {
62
- font-size: $button-label-size;
63
- font-weight: 500;
64
- letter-spacing: 0.0625rem;
77
+ font-size: $link-button-label-size;
78
+ line-height: $button-label-line-height;
79
+ font-weight: 600;
80
+ letter-spacing: 0;
65
81
  text-transform: capitalize;
66
82
  }
67
83
 
@@ -98,9 +114,9 @@
98
114
 
99
115
  @if $label == 'badge' {
100
116
  font-size: $badge-label-size;
117
+ line-height: $badge-label-line-height;
101
118
  font-weight: 500;
102
- letter-spacing: 0.1875rem;
103
- line-height: 1.25;
119
+ letter-spacing: 0;
104
120
  text-transform: uppercase;
105
121
  }
106
122
  }
@@ -111,6 +127,10 @@
111
127
  @include labelText($button);
112
128
  }
113
129
 
130
+ @if $token == 'link' {
131
+ @include labelText($link);
132
+ }
133
+
114
134
  @if $token == 'cta-sm' {
115
135
  @include labelText($cta-sm);
116
136
  }
@@ -154,31 +174,87 @@
154
174
 
155
175
  // Headings
156
176
  @if $token == 'blockquote' {
157
- @include hText($heading-size1, $color: $primary-black, $transform-style: initial);
177
+ @include hText(
178
+ $heading-size1,
179
+ $color: $primary-black,
180
+ $transform-style: initial,
181
+ $line-height: $heading-line-height-size1
182
+ );
183
+ }
184
+
185
+ @if $token == 'heading1' {
186
+ @include hText($heading-size1, $line-height: $heading-line-height-size1, $transform-style: capitalize);
158
187
  }
159
188
 
160
189
  @if $token == 'heading2' {
161
- @include hText($heading-size2);
190
+ @include hText($heading-size2, $line-height: $heading-line-height-size2, $transform-style: capitalize);
162
191
  }
163
192
 
164
193
  @if $token == 'heading3' {
165
- @include hText($heading-size3);
194
+ @include hText($heading-size3, $line-height: $heading-line-height-size3, $transform-style: capitalize);
166
195
  }
167
196
 
168
197
  @if $token == 'heading4' {
169
- @include hText($heading-size4);
198
+ @include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: capitalize);
199
+ }
200
+
201
+ @if $token == 'title1' {
202
+ @include hText($heading-size1, $line-height: $heading-line-height-size1, $transform-style: uppercase);
203
+ }
204
+
205
+ @if $token == 'title2' {
206
+ @include hText($heading-size2, $line-height: $heading-line-height-size2, $transform-style: uppercase);
207
+ }
208
+
209
+ @if $token == 'title3' {
210
+ @include hText($heading-size3, $line-height: $heading-line-height-size3, $transform-style: uppercase);
211
+ }
212
+
213
+ @if $token == 'title4' {
214
+ @include hText($heading-size4, $line-height: $heading-line-height-size4, $transform-style: uppercase);
170
215
  }
171
216
 
172
217
  // Body
173
218
  @if $token == 'body1' {
174
- @include pText($body-size1);
219
+ @include pText($body-size1, $line-height: $body-line-height-size1);
175
220
  }
176
221
 
177
222
  @if $token == 'body2' {
178
- @include pText($body-size2);
223
+ @include pText($body-size2, $line-height: $body-line-height-size2);
179
224
  }
180
225
 
181
226
  @if $token == 'body3' {
182
- @include pText($body-size3);
227
+ @include pText($body-size3, $line-height: $body-line-height-size3);
228
+ }
229
+
230
+ // String
231
+ @if $token == 'string1' {
232
+ @include pText($string-size1, $line-height: $string-line-height-size1);
233
+ }
234
+
235
+ @if $token == 'string2' {
236
+ @include pText($string-size2, $line-height: $string-line-height-size2);
237
+ }
238
+
239
+ @if $token == 'string3' {
240
+ @include pText($string-size3, $line-height: $string-line-height-size3);
241
+ }
242
+
243
+ // SNW
244
+ @if $token == 'snwHeaderLink' {
245
+ font-family: $DistinctDisplay;
246
+ font-weight: 400;
247
+ letter-spacing: 1px;
248
+ font-size: $snw-header-link-size;
249
+ line-height: $snw-header-link-line-height;
250
+ text-transform: uppercase;
251
+ }
252
+
253
+ @if $token == 'snwFlyoutLink' {
254
+ font-weight: 400;
255
+ letter-spacing: 1px;
256
+ font-size: $snw-flyout-link-size;
257
+ line-height: $snw-flyout-link-line-height;
258
+ text-transform: capitalize;
183
259
  }
184
260
  }
@@ -71,71 +71,159 @@ $text-family: $DistinctText;
71
71
  // Used with the labelText mixin
72
72
  // @include labelText($label)
73
73
  $button: 'button';
74
+ $link: 'link';
75
+ $badge: 'badge';
74
76
  $cta-sm: 'cta-sm';
75
77
  $cta-lg: 'cta-lg';
76
78
  $email: 'email';
77
79
  $label: 'label';
78
- $badge: 'badge';
79
80
  $display0: 'display0';
80
81
  $display1: 'display1';
81
82
  $display2: 'display2';
82
83
  $display3: 'display3';
83
84
  $display4: 'display4';
84
85
  $blockquote: 'blockquote';
86
+ $heading1: 'heading1';
85
87
  $heading2: 'heading2';
86
88
  $heading3: 'heading3';
87
89
  $heading4: 'heading4';
90
+ $title1: 'title1';
91
+ $title2: 'title2';
92
+ $title3: 'title3';
93
+ $title4: 'title4';
88
94
  $body1: 'body1';
89
95
  $body2: 'body2';
90
96
  $body3: 'body3';
97
+ $string1: 'string1';
98
+ $string2: 'string2';
99
+ $string3: 'string3';
100
+ $snwHeaderLink: 'snwHeaderLink';
101
+ $snwFlyoutLink: 'snwFlyoutLink';
91
102
  $text-tokens: $button, $cta-sm, $cta-lg, $email, $label, $badge, $display0, $display1, $display2, $display3, $display4,
92
- $blockquote, $heading2, $heading3, $heading4, $body1, $body2, $body3;
103
+ $blockquote, $heading1, $heading2, $heading3, $heading4, $title1, $title2, $title3, $title4, $body1, $body2, $body3,
104
+ $string1, $string2, $string3;
93
105
 
94
106
  ////////////////////////
95
107
  /// FONT SIZE TOKENS:
96
108
  ///////////////////////
97
109
 
98
110
  :root {
111
+ --desktop-max-width: 120rem;
99
112
  --heading-size0: 3.25rem;
100
- --heading-size1: 2.44rem;
101
- --heading-size2: 1.95rem;
102
- --heading-size3: 1.56rem;
103
- --heading-size4: 1.56rem;
113
+ --quote-size: 1.75rem;
114
+ --quote-line-height: 2.25rem;
115
+ --heading-size1: 1.75rem;
116
+ --heading-line-height-size1: 2rem;
117
+ --heading-size2: 1.5rem;
118
+ --heading-line-height-size2: 1.75rem;
119
+ --heading-size3: 1.25rem;
120
+ --heading-line-height-size3: 1.5rem;
121
+ --heading-size4: 1rem;
122
+ --heading-line-height-size4: 1.25rem;
123
+ --string-size1: 1.25rem;
124
+ --string-line-height-size1: 1.5rem;
125
+ --string-size2: 1rem;
126
+ --string-line-height-size2: 1.25rem;
127
+ --string-size3: 0.75rem;
128
+ --string-line-height-size3: 1rem;
104
129
  --body-size1: 1.25rem;
130
+ --body-line-height-size1: 1.75rem;
105
131
  --body-size2: 1rem;
132
+ --body-line-height-size2: 1.5rem;
106
133
  --body-size3: 0.75rem;
134
+ --body-line-height-size3: 1.25rem;
107
135
  --label-size1: 1.25rem;
108
136
  --label-size2: 1rem;
109
137
  --label-size3: 0.75rem;
138
+ --link-button-label-size: 1rem;
139
+ --link-label-line-height: 1rem;
140
+ --button-label-line-height: 1.25rem;
141
+ --badge-label-size: 0.75rem;
142
+ --badge-label-line-height: 1rem;
143
+ --snw-header-link-size: 0.875rem;
144
+ --snw-header-link-line-height: 1.5rem;
145
+ --snw-flyout-link-size: 0.875rem;
146
+ --snw-flyout-link-line-height: 1.75rem;
110
147
 
111
148
  @media (max-width: 960px) {
112
149
  --heading-size0: 2.59rem;
113
- --heading-size1: 1.83rem;
114
- --heading-size2: 1.46rem;
115
- --heading-size3: 1.17rem;
116
- --heading-size4: 0.94rem;
117
- --body-size1: 0.94rem;
150
+ --quote-size: 1.5rem;
151
+ --quote-line-height: 2rem;
152
+ --heading-size1: 1.5rem;
153
+ --heading-line-height-size1: 1.75rem;
154
+ --heading-size2: 1.25rem;
155
+ --heading-line-height-size2: 1.5rem;
156
+ --heading-size3: 1rem;
157
+ --heading-line-height-size3: 1.25rem;
158
+ --heading-size4: 0.75rem;
159
+ --heading-line-height-size4: 1rem;
160
+ --string-size1: 1rem;
161
+ --string-line-height-size1: 1.25rem;
162
+ --string-size2: 0.75rem;
163
+ --string-line-height-size2: 1rem;
164
+ --string-size3: 0.5rem;
165
+ --string-line-height-size3: 0.75rem;
166
+ --body-size1: 1rem;
167
+ --body-line-height-size1: 1.5rem;
118
168
  --body-size2: 0.75rem;
119
- --body-size3: 0.56rem;
169
+ --body-line-height-size2: 1.25rem;
170
+ --body-size3: 0.5rem;
171
+ --body-line-height-size3: 1rem;
120
172
  --label-size1: 1rem;
121
173
  --label-size2: 0.75rem;
122
174
  --label-size3: 0.56rem;
175
+ --link-button-label-size: 0.75rem;
176
+ --link-label-line-height: 0.75rem;
177
+ --button-label-line-height: 1rem;
178
+ --badge-label-size: 0.5rem;
179
+ --badge-label-line-height: 0.67rem;
180
+ --snw-header-link-size: 1rem;
181
+ --snw-header-link-line-height: 1.5rem;
182
+ --snw-flyout-link-size: 1rem;
183
+ --snw-flyout-link-line-height: 1.75rem;
123
184
  }
124
185
 
125
186
  @media (min-width: 1801px) {
126
187
  --heading-size0: 4.06rem;
127
- --heading-size1: 3.05rem;
128
- --heading-size2: 2.44rem;
129
- --heading-size3: 1.95rem;
130
- --body-size1: 1.56rem;
188
+ --quote-size: 2rem;
189
+ --quote-line-height: 2.5rem;
190
+ --heading-size1: 2rem;
191
+ --heading-line-height-size1: 2.25rem;
192
+ --heading-size2: 1.75rem;
193
+ --heading-line-height-size2: 2rem;
194
+ --heading-size3: 1.5rem;
195
+ --heading-line-height-size3: 1.75rem;
196
+ --heading-size4: 1.25rem;
197
+ --heading-line-height-size4: 1.5rem;
198
+ --string-size1: 1.5rem;
199
+ --string-line-height-size1: 1.75rem;
200
+ --string-size2: 1.25rem;
201
+ --string-line-height-size2: 1.5rem;
202
+ --string-size3: 1rem;
203
+ --string-line-height-size3: 1.25rem;
204
+ --body-size1: 1.5rem;
205
+ --body-line-height-size1: 2rem;
131
206
  --body-size2: 1.25rem;
132
- --body-size3: 0.94rem;
207
+ --body-line-height-size2: 1.75rem;
208
+ --body-size3: 1rem;
209
+ --body-line-height-size3: 1.5rem;
133
210
  --label-size1: 1.56rem;
134
211
  --label-size2: 1.25rem;
135
212
  --label-size3: 1rem;
213
+ --link-button-label-size: 1.25rem;
214
+ --link-label-line-height: 1.25rem;
215
+ --button-label-line-height: 1.5rem;
216
+ --badge-label-size: 1rem;
217
+ --badge-label-line-height: 1.5rem;
218
+ --snw-header-link-size: 1.125rem;
219
+ --snw-header-link-line-height: 1.75rem;
220
+ --snw-flyout-link-size: 1.125rem;
221
+ --snw-flyout-link-line-height: 2.125rem;
136
222
  }
137
223
  }
138
224
 
225
+ $desktop-max-width: var(--desktop-max-width);
226
+
139
227
  // DISPLAY
140
228
  $display-size0: var(--heading-size0);
141
229
  $display-size1: var(--heading-size1);
@@ -145,14 +233,29 @@ $display-size4: var(--heading-size4);
145
233
 
146
234
  // HEADING
147
235
  $heading-size1: var(--heading-size1);
236
+ $heading-line-height-size1: var(--heading-line-height-size1);
148
237
  $heading-size2: var(--heading-size2);
238
+ $heading-line-height-size2: var(--heading-line-height-size2);
149
239
  $heading-size3: var(--heading-size3);
240
+ $heading-line-height-size3: var(--heading-line-height-size3);
150
241
  $heading-size4: var(--heading-size4);
242
+ $heading-line-height-size4: var(--heading-line-height-size4);
151
243
 
152
244
  // BODY
153
245
  $body-size1: var(--body-size1);
246
+ $body-line-height-size1: var(--body-line-height-size1);
154
247
  $body-size2: var(--body-size2);
248
+ $body-line-height-size2: var(--body-line-height-size2);
155
249
  $body-size3: var(--body-size3);
250
+ $body-line-height-size3: var(--body-line-height-size3);
251
+
252
+ // STRING
253
+ $string-size1: var(--string-size1);
254
+ $string-line-height-size1: var(--string-line-height-size1);
255
+ $string-size2: var(--string-size2);
256
+ $string-line-height-size2: var(--string-line-height-size2);
257
+ $string-size3: var(--string-size3);
258
+ $string-line-height-size3: var(--string-line-height-size3);
156
259
 
157
260
  // LABELS
158
261
  $button-label-size: var(--label-size2);
@@ -161,6 +264,15 @@ $email-label-size: var(--label-size2);
161
264
  $cta-lg-label-size: var(--label-size1);
162
265
  $text-label-size: var(--label-size3);
163
266
  $badge-label-size: var(--label-size3);
267
+ $link-button-label-size: var(--link-button-label-size);
268
+ $link-label-line-height: var(--link-label-line-height);
269
+ $button-label-line-height: var(--button-label-line-height);
270
+ $badge-label-size: var(--badge-label-size);
271
+ $badge-label-line-height: var(--badge-label-line-height);
272
+ $snw-header-link-size: var(--snw-header-link-size);
273
+ $snw-header-link-line-height: var(--snw-header-link-line-height);
274
+ $snw-flyout-link-size: var(--snw-flyout-link-size);
275
+ $snw-flyout-link-line-height: var(--snw-flyout-link-line-height);
164
276
 
165
277
  ////////////////////////
166
278
  /// SPACING TOKENS:
@@ -172,24 +284,24 @@ $badge-label-size: var(--label-size3);
172
284
  --spacing-sm: 1rem;
173
285
  --spacing-md: 2rem;
174
286
  --spacing-lg: 3rem;
175
- --spacing-xl: 6rem;
287
+ --spacing-xl: 4rem;
176
288
 
177
289
  @media (max-width: 960px) {
178
- --spacing-micro: 0.19rem;
179
- --spacing-xsm: 0.38rem;
290
+ --spacing-micro: 0.25;
291
+ --spacing-xsm: 0.5rem;
180
292
  --spacing-sm: 0.75rem;
181
- --spacing-md: 1.5rem;
182
- --spacing-lg: 2.25rem;
183
- --spacing-xl: 4.8rem;
293
+ --spacing-md: 1.75rem;
294
+ --spacing-lg: 2.75rem;
295
+ --spacing-xl: 3.75rem;
184
296
  }
185
297
 
186
298
  @media (min-width: 1801px) {
187
- --spacing-micro: 0.31rem;
188
- --spacing-xsm: 0.63rem;
299
+ --spacing-micro: 0.5rem;
300
+ --spacing-xsm: 0.75rem;
189
301
  --spacing-sm: 1.25rem;
190
302
  --spacing-md: 2.5rem;
191
303
  --spacing-lg: 3.75rem;
192
- --spacing-xl: 7.5rem;
304
+ --spacing-xl: 5rem;
193
305
  }
194
306
  }
195
307
 
@@ -1,49 +1,59 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-footer {
4
+ align-items: center;
4
5
  background-color: $off-white;
6
+ display: flex;
7
+ flex-direction: column;
5
8
  margin: $spacing-lg 0 0;
6
- width: 100%;
9
+ max-width: 100%;
7
10
 
8
- &-desktop {
9
- display: none;
11
+ ul {
12
+ li {
13
+ a {
14
+ @include text('snwFlyoutLink');
15
+
16
+ &:hover {
17
+ text-decoration: underline;
18
+ }
19
+ }
20
+ }
21
+ }
22
+
23
+ &__links {
24
+ display: flex;
25
+ flex-direction: column;
26
+ margin: 0 auto;
27
+ max-width: 30rem;
28
+ padding: $spacing-lg $spacing-md $spacing-md $spacing-md;
29
+ width: 100%;
30
+
31
+ @include media($size-sm) {
32
+ flex-direction: row;
33
+ max-width: $desktop-max-width;
34
+ padding: $spacing-lg $spacing-md $spacing-lg $spacing-md;
35
+ }
10
36
 
11
37
  div {
12
38
  flex: 1;
13
- max-width: 18rem;
14
- padding: 1rem;
15
-
16
- h4 {
17
- color: $pure-black;
18
- font-family: $Distinct;
19
- font-size: 1rem;
20
- font-weight: 600;
21
- letter-spacing: 0.0625rem;
22
- margin-bottom: 0;
23
- padding-bottom: 0.5rem;
24
- }
39
+ }
40
+ }
25
41
 
26
- ul {
27
- li {
28
- a {
29
- font-size: 0.875rem;
30
- font-weight: 500;
31
- line-height: 1.875rem;
32
-
33
- &:hover {
34
- text-decoration: underline;
35
- }
36
- }
37
- }
42
+ &-desktop {
43
+ display: none;
44
+
45
+ @include media($size-sm) {
46
+ display: block;
47
+ }
48
+
49
+ h3.#{$px}-text {
50
+ @include media($size-sm) {
51
+ margin-bottom: $spacing-sm;
38
52
  }
39
53
  }
40
54
  }
41
55
 
42
56
  @include media($size-sm) {
43
- &-desktop {
44
- display: flex;
45
- }
46
-
47
57
  &-mobile {
48
58
  display: none;
49
59
  }
@@ -52,38 +62,28 @@
52
62
  .#{$px}-accordion {
53
63
  border-bottom: 1px solid #eae8e4;
54
64
  border-top: 1px solid #eae8e4;
65
+ margin-bottom: $spacing-md;
55
66
  width: 100%;
56
67
 
57
68
  &-item {
58
- padding: $spacing-sm 0 0;
59
-
60
- ul {
61
- li {
62
- a {
63
- font-size: 0.875rem;
64
- font-weight: 500;
65
- line-height: 1.875rem;
66
-
67
- &:hover {
68
- text-decoration: underline;
69
- }
70
- }
71
- }
69
+ padding: 0;
70
+
71
+ &--expanded {
72
+ margin-bottom: $spacing-md;
73
+ margin-top: 0;
74
+ padding: 0;
72
75
  }
73
76
 
74
77
  &-label {
75
78
  opacity: 1;
76
- padding: 0 0 0.5rem;
79
+ padding: $spacing-sm 0;
77
80
 
78
81
  @include media($size-sm) {
79
82
  cursor: unset;
80
83
  }
81
84
 
82
85
  &__text {
83
- color: $pure-black;
84
- font-family: $Distinct;
85
- font-size: 1rem;
86
- font-weight: 600;
86
+ @include text('snwHeaderLink');
87
87
  }
88
88
  }
89
89
 
@@ -93,92 +93,16 @@
93
93
  }
94
94
  }
95
95
 
96
- @include media($size-sm) {
97
- .#{$px}-accordion {
98
- border-bottom: 0;
99
- border-top: 0;
100
- width: 100%;
101
-
102
- &-item {
103
- border-bottom: 0;
104
- flex: 1;
105
- max-width: 18rem;
106
- padding: $spacing-sm;
107
-
108
- &-label__icon {
109
- display: none;
110
- }
111
- }
112
- }
113
- }
114
-
115
- ul {
116
- list-style: none;
117
- padding: 0;
118
- }
119
-
120
- &__content {
121
- align-items: center;
122
- display: flex;
123
- flex-direction: column;
124
- padding: $spacing-lg $spacing-md 0;
125
-
126
- @include media($size-sm) {
127
- align-items: flex-start;
128
- flex-direction: row;
129
- justify-content: space-between;
130
- }
131
-
132
- @include media($size-md) {
133
- padding: 3.75rem $spacing-lg;
134
- }
135
-
136
- @include media($size-lg) {
137
- padding: 3.75rem $spacing-xl;
138
- }
139
- }
140
-
141
- &__content-split-panel__left {
142
- margin-bottom: $spacing-md;
143
-
144
- @include media($size-sm) {
145
- margin-bottom: 0;
146
- }
147
- }
148
-
149
- &__content-split-panel__right {
150
- display: flex;
151
-
152
- @include media($size-sm) {
153
- justify-content: flex-end;
154
- }
155
- }
156
-
157
96
  &__copyright {
158
- @include text($body3);
159
-
160
97
  align-items: center;
161
98
  background-color: $white;
162
99
  display: flex;
163
100
  flex-direction: column;
164
- font-size: 1rem;
165
- gap: 1rem;
166
-
167
- // height: 2.125rem;
168
- justify-content: center;
169
- padding: $spacing-xsm 0;
101
+ width: 100%;
170
102
 
171
- h1 {
103
+ h3 {
104
+ margin-bottom: $spacing-sm;
172
105
  margin-top: $spacing-md;
173
106
  }
174
107
  }
175
-
176
- .#{$px}-split-panel {
177
- @include media($size-sm) {
178
- & > :last-child {
179
- flex: unset;
180
- width: unset;
181
- }
182
- }
183
- }
184
108
  }
@@ -5,8 +5,8 @@
5
5
  text-decoration: none;
6
6
  white-space: nowrap;
7
7
 
8
- &:hover:not(&--list, &--navMain, &--navLinkLg, &--navLinkSm),
9
- &:focus:not(&--list, &--navMain, &--navLinkLg, &--navLinkSm) {
8
+ &:hover:not(&--list, &--navMain, &--navLinkLg, &--navLinkSm, &--link, &--snwHeaderLink, &--snwFlyoutLink),
9
+ &:focus:not(&--list, &--navMain, &--navLinkLg, &--navLinkSm, &--link, &--snwHeaderLink, &--snwFlyoutLink) {
10
10
  @include underline;
11
11
  }
12
12
 
@@ -99,4 +99,16 @@
99
99
  }
100
100
  }
101
101
  }
102
+
103
+ &--link {
104
+ @include labelText('link');
105
+ }
106
+
107
+ &--snwHeaderLink {
108
+ @include labelText('snwHeaderLink');
109
+ }
110
+
111
+ &--snwFlyoutLink {
112
+ @include labelText('snwFlyoutLink');
113
+ }
102
114
  }
@@ -1,29 +1,34 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-social {
4
+ align-items: center;
4
5
  display: inline-flex;
5
6
  flex-direction: column;
7
+ margin-top: $spacing-md;
6
8
  padding: 0;
7
9
  width: 100%;
8
10
 
9
11
  @include media($size-sm) {
10
- align-items: center;
11
- padding: $spacing-sm;
12
- width: unset;
12
+ margin-top: 0;
13
13
  }
14
14
 
15
- &__button {
16
- color: $pure-black;
17
- font-size: 0.875rem;
18
- justify-content: flex-start;
19
- opacity: 1;
20
- padding: 0;
21
- text-decoration: underline;
22
- white-space: nowrap;
15
+ .#{$px}-text {
16
+ margin-bottom: $spacing-sm;
23
17
 
24
18
  @include media($size-sm) {
25
- justify-content: center;
19
+ margin-bottom: $spacing-sm;
26
20
  }
21
+ }
22
+
23
+ @include media($size-sm) {
24
+ align-items: flex-start;
25
+ }
26
+
27
+ &__button {
28
+ @include labelText('link');
29
+
30
+ padding: 0;
31
+ text-align: left;
27
32
 
28
33
  &:hover {
29
34
  background-color: unset;
@@ -36,31 +41,20 @@
36
41
  }
37
42
  }
38
43
 
39
- @include media($size-sm) {
40
- align-items: flex-end;
41
- }
42
-
43
- &__header {
44
- color: $pure-black;
45
- font-family: $Distinct;
46
- font-size: 1rem;
47
- font-weight: 600;
48
- letter-spacing: 0.0625rem;
49
- margin-bottom: 0.75rem;
50
- }
51
-
52
44
  ul {
53
45
  align-items: center;
54
46
  border-top: 1px solid #eae8e4;
55
47
  display: flex;
56
48
  gap: 0 1.25rem;
49
+ justify-content: center;
57
50
  list-style: none;
58
- margin: $spacing-md 0 $spacing-md;
59
- padding: $spacing-md 0 0;
51
+ margin: $spacing-md 0 0;
52
+ padding: $spacing-sm 0 0;
53
+ width: 100%;
60
54
 
61
55
  @include media($size-sm) {
62
56
  gap: 0 1rem;
63
- justify-content: flex-end;
57
+ justify-content: flex-start;
64
58
  margin: $spacing-sm 0 $spacing-md;
65
59
  padding: $spacing-sm 0 0;
66
60
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.38.6",
3
+ "version": "1.40.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"