@courtneyring/components-library 1.0.1 → 1.0.2

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 (38) hide show
  1. package/dist/assets/Banner.css +1 -1
  2. package/dist/assets/Button.css +1 -1
  3. package/dist/assets/Container.css +1 -1
  4. package/dist/assets/Fifty.css +1 -1
  5. package/dist/assets/Footer.css +1 -1
  6. package/dist/assets/IconDetail.css +1 -0
  7. package/dist/assets/ImageTextBlock.css +1 -1
  8. package/dist/assets/List.css +1 -1
  9. package/dist/assets/MenuButton.css +1 -1
  10. package/dist/assets/Navbar.css +1 -1
  11. package/dist/assets/Note.css +1 -1
  12. package/dist/assets/Overlay.css +1 -1
  13. package/dist/assets/OverlayHero.css +1 -1
  14. package/dist/assets/PageContainer.css +1 -1
  15. package/dist/assets/PinnedImage.css +1 -0
  16. package/dist/assets/Promo.css +1 -1
  17. package/dist/assets/PromoGroup.css +1 -1
  18. package/dist/assets/index.css +1 -0
  19. package/dist/components/Banner/Banner.js +12 -10
  20. package/dist/components/Button/Button.js +27 -23
  21. package/dist/components/Container/Container.js +3 -3
  22. package/dist/components/Fifty/Fifty.js +15 -15
  23. package/dist/components/Footer/Footer.js +7 -7
  24. package/dist/components/IconDetail/IconDetail.js +14 -0
  25. package/dist/components/ImageTextBlock/ImageTextBlock.js +12 -12
  26. package/dist/components/List/List.js +7 -7
  27. package/dist/components/MenuButton/MenuButton.js +13 -13
  28. package/dist/components/Navbar/Navbar.js +135 -96
  29. package/dist/components/Note/Note.js +10 -10
  30. package/dist/components/Overlay/Overlay.js +17 -17
  31. package/dist/components/OverlayHero/OverlayHero.js +7 -7
  32. package/dist/components/PageContainer/PageContainer.js +13 -13
  33. package/dist/components/PinnedImage/PinnedImage.js +44 -0
  34. package/dist/components/Promo/Promo.js +30 -21
  35. package/dist/components/PromoGroup/PromoGroup.js +10 -6
  36. package/dist/index.js +52 -0
  37. package/package.json +5 -2
  38. package/dist/main.js +0 -30
@@ -1,9 +1,10 @@
1
1
  "use client";
2
- import { jsxs as D, jsx as v } from "react/jsx-runtime";
3
- import R, { useState as N } from "react";
4
- import M from "../MenuButton/MenuButton.js";
5
- import w from "../Overlay/Overlay.js";
6
- import '../../assets/Navbar.css';var O = { exports: {} }, u = {};
2
+ import { jsxs as N, jsx as p } from "react/jsx-runtime";
3
+ import D, { useRef as w, useState as S, useEffect as M } from "react";
4
+ import L from "../MenuButton/MenuButton.js";
5
+ import A from "../Overlay/Overlay.js";
6
+ import { c as P } from "../../index-BIlioXmW.js";
7
+ import '../../assets/Navbar.css';var O = { exports: {} }, l = {};
7
8
  /**
8
9
  * @license React
9
10
  * react-dom.production.js
@@ -13,12 +14,12 @@ import '../../assets/Navbar.css';var O = { exports: {} }, u = {};
13
14
  * This source code is licensed under the MIT license found in the
14
15
  * LICENSE file in the root directory of this source tree.
15
16
  */
16
- var S;
17
- function A() {
18
- if (S) return u;
19
- S = 1;
20
- var c = R;
21
- function p(n) {
17
+ var E;
18
+ function k() {
19
+ if (E) return l;
20
+ E = 1;
21
+ var c = D;
22
+ function _(n) {
22
23
  var r = "https://react.dev/errors/" + n;
23
24
  if (1 < arguments.length) {
24
25
  r += "?args[]=" + encodeURIComponent(arguments[1]);
@@ -33,7 +34,7 @@ function A() {
33
34
  d: {
34
35
  f: g,
35
36
  r: function() {
36
- throw Error(p(522));
37
+ throw Error(_(522));
37
38
  },
38
39
  D: g,
39
40
  C: g,
@@ -46,7 +47,7 @@ function A() {
46
47
  p: 0,
47
48
  findDOMNode: null
48
49
  }, s = Symbol.for("react.portal");
49
- function d(n, r, i) {
50
+ function f(n, r, i) {
50
51
  var t = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
51
52
  return {
52
53
  $$typeof: s,
@@ -56,29 +57,29 @@ function A() {
56
57
  implementation: i
57
58
  };
58
59
  }
59
- var f = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
60
+ var d = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
60
61
  function m(n, r) {
61
62
  if (n === "font") return "";
62
63
  if (typeof r == "string")
63
64
  return r === "use-credentials" ? r : "";
64
65
  }
65
- return u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, u.createPortal = function(n, r) {
66
+ return l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, l.createPortal = function(n, r) {
66
67
  var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
67
68
  if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
68
- throw Error(p(299));
69
- return d(n, r, null, i);
70
- }, u.flushSync = function(n) {
71
- var r = f.T, i = o.p;
69
+ throw Error(_(299));
70
+ return f(n, r, null, i);
71
+ }, l.flushSync = function(n) {
72
+ var r = d.T, i = o.p;
72
73
  try {
73
- if (f.T = null, o.p = 2, n) return n();
74
+ if (d.T = null, o.p = 2, n) return n();
74
75
  } finally {
75
- f.T = r, o.p = i, o.d.f();
76
+ d.T = r, o.p = i, o.d.f();
76
77
  }
77
- }, u.preconnect = function(n, r) {
78
+ }, l.preconnect = function(n, r) {
78
79
  typeof n == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, o.d.C(n, r));
79
- }, u.prefetchDNS = function(n) {
80
+ }, l.prefetchDNS = function(n) {
80
81
  typeof n == "string" && o.d.D(n);
81
- }, u.preinit = function(n, r) {
82
+ }, l.preinit = function(n, r) {
82
83
  if (typeof n == "string" && r && typeof r.as == "string") {
83
84
  var i = r.as, t = m(i, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, a = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
84
85
  i === "style" ? o.d.S(
@@ -96,7 +97,7 @@ function A() {
96
97
  nonce: typeof r.nonce == "string" ? r.nonce : void 0
97
98
  });
98
99
  }
99
- }, u.preinitModule = function(n, r) {
100
+ }, l.preinitModule = function(n, r) {
100
101
  if (typeof n == "string")
101
102
  if (typeof r == "object" && r !== null) {
102
103
  if (r.as == null || r.as === "script") {
@@ -111,7 +112,7 @@ function A() {
111
112
  });
112
113
  }
113
114
  } else r == null && o.d.M(n);
114
- }, u.preload = function(n, r) {
115
+ }, l.preload = function(n, r) {
115
116
  if (typeof n == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
116
117
  var i = r.as, t = m(i, r.crossOrigin);
117
118
  o.d.L(n, i, {
@@ -126,7 +127,7 @@ function A() {
126
127
  media: typeof r.media == "string" ? r.media : void 0
127
128
  });
128
129
  }
129
- }, u.preloadModule = function(n, r) {
130
+ }, l.preloadModule = function(n, r) {
130
131
  if (typeof n == "string")
131
132
  if (r) {
132
133
  var i = m(r.as, r.crossOrigin);
@@ -136,17 +137,17 @@ function A() {
136
137
  integrity: typeof r.integrity == "string" ? r.integrity : void 0
137
138
  });
138
139
  } else o.d.m(n);
139
- }, u.requestFormReset = function(n) {
140
+ }, l.requestFormReset = function(n) {
140
141
  o.d.r(n);
141
- }, u.unstable_batchedUpdates = function(n, r) {
142
+ }, l.unstable_batchedUpdates = function(n, r) {
142
143
  return n(r);
143
- }, u.useFormState = function(n, r, i) {
144
- return f.H.useFormState(n, r, i);
145
- }, u.useFormStatus = function() {
146
- return f.H.useHostTransitionStatus();
147
- }, u.version = "19.2.0", u;
144
+ }, l.useFormState = function(n, r, i) {
145
+ return d.H.useFormState(n, r, i);
146
+ }, l.useFormStatus = function() {
147
+ return d.H.useHostTransitionStatus();
148
+ }, l.version = "19.2.0", l;
148
149
  }
149
- var l = {};
150
+ var u = {};
150
151
  /**
151
152
  * @license React
152
153
  * react-dom.development.js
@@ -157,17 +158,17 @@ var l = {};
157
158
  * LICENSE file in the root directory of this source tree.
158
159
  */
159
160
  var T;
160
- function L() {
161
+ function C() {
161
162
  return T || (T = 1, process.env.NODE_ENV !== "production" && (function() {
162
163
  function c() {
163
164
  }
164
- function p(t) {
165
+ function _(t) {
165
166
  return "" + t;
166
167
  }
167
168
  function g(t, e, a) {
168
169
  var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
169
170
  try {
170
- p(y);
171
+ _(y);
171
172
  var h = !1;
172
173
  } catch {
173
174
  h = !0;
@@ -175,7 +176,7 @@ function L() {
175
176
  return h && (console.error(
176
177
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
177
178
  typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
178
- ), p(y)), {
179
+ ), _(y)), {
179
180
  $$typeof: r,
180
181
  key: y == null ? null : "" + y,
181
182
  children: t,
@@ -191,10 +192,10 @@ function L() {
191
192
  function s(t) {
192
193
  return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : 'something with type "' + typeof t + '"';
193
194
  }
194
- function d(t) {
195
+ function f(t) {
195
196
  return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : typeof t == "string" ? JSON.stringify(t) : typeof t == "number" ? "`" + t + "`" : 'something with type "' + typeof t + '"';
196
197
  }
197
- function f() {
198
+ function d() {
198
199
  var t = i.H;
199
200
  return t === null && console.error(
200
201
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
@@ -205,7 +206,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
205
206
  ), t;
206
207
  }
207
208
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
208
- var m = R, n = {
209
+ var m = D, n = {
209
210
  d: {
210
211
  f: c,
211
212
  r: function() {
@@ -226,12 +227,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
226
227
  }, r = Symbol.for("react.portal"), i = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
227
228
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
228
229
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
229
- ), l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, l.createPortal = function(t, e) {
230
+ ), u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, u.createPortal = function(t, e) {
230
231
  var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
231
232
  if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
232
233
  throw Error("Target container is not a DOM element.");
233
234
  return g(t, e, null, a);
234
- }, l.flushSync = function(t) {
235
+ }, u.flushSync = function(t) {
235
236
  var e = i.T, a = n.p;
236
237
  try {
237
238
  if (i.T = null, n.p = 2, t)
@@ -241,10 +242,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
241
242
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
242
243
  );
243
244
  }
244
- }, l.preconnect = function(t, e) {
245
+ }, u.preconnect = function(t, e) {
245
246
  typeof t == "string" && t ? e != null && typeof e != "object" ? console.error(
246
247
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
247
- d(e)
248
+ f(e)
248
249
  ) : e != null && typeof e.crossOrigin != "string" && console.error(
249
250
  "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
250
251
  s(e.crossOrigin)
@@ -252,7 +253,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
252
253
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
253
254
  s(t)
254
255
  ), typeof t == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(t, e));
255
- }, l.prefetchDNS = function(t) {
256
+ }, u.prefetchDNS = function(t) {
256
257
  if (typeof t != "string" || !t)
257
258
  console.error(
258
259
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
@@ -262,20 +263,20 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
262
263
  var e = arguments[1];
263
264
  typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
264
265
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
265
- d(e)
266
+ f(e)
266
267
  ) : console.error(
267
268
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
268
- d(e)
269
+ f(e)
269
270
  );
270
271
  }
271
272
  typeof t == "string" && n.d.D(t);
272
- }, l.preinit = function(t, e) {
273
+ }, u.preinit = function(t, e) {
273
274
  if (typeof t == "string" && t ? e == null || typeof e != "object" ? console.error(
274
275
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
275
- d(e)
276
+ f(e)
276
277
  ) : e.as !== "style" && e.as !== "script" && console.error(
277
278
  'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
278
- d(e.as)
279
+ f(e.as)
279
280
  ) : console.error(
280
281
  "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
281
282
  s(t)
@@ -296,9 +297,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
296
297
  nonce: typeof e.nonce == "string" ? e.nonce : void 0
297
298
  });
298
299
  }
299
- }, l.preinitModule = function(t, e) {
300
+ }, u.preinitModule = function(t, e) {
300
301
  var a = "";
301
- if (typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && e.as !== "script" && (a += " The `as` option encountered was " + d(e.as) + "."), a)
302
+ if (typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && e.as !== "script" && (a += " The `as` option encountered was " + f(e.as) + "."), a)
302
303
  console.error(
303
304
  "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
304
305
  a
@@ -308,7 +309,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
308
309
  case "script":
309
310
  break;
310
311
  default:
311
- a = d(a), console.error(
312
+ a = f(a), console.error(
312
313
  'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
313
314
  a,
314
315
  t
@@ -322,7 +323,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
322
323
  integrity: typeof e.integrity == "string" ? e.integrity : void 0,
323
324
  nonce: typeof e.nonce == "string" ? e.nonce : void 0
324
325
  })) : e == null && n.d.M(t));
325
- }, l.preload = function(t, e) {
326
+ }, u.preload = function(t, e) {
326
327
  var a = "";
327
328
  if (typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e == null || typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : typeof e.as == "string" && e.as || (a += " The `as` option encountered was " + s(e.as) + "."), a && console.error(
328
329
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
@@ -345,7 +346,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
345
346
  media: typeof e.media == "string" ? e.media : void 0
346
347
  });
347
348
  }
348
- }, l.preloadModule = function(t, e) {
349
+ }, u.preloadModule = function(t, e) {
349
350
  var a = "";
350
351
  typeof t == "string" && t || (a += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? a += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && typeof e.as != "string" && (a += " The `as` option encountered was " + s(e.as) + "."), a && console.error(
351
352
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
@@ -358,59 +359,97 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
358
359
  crossOrigin: a,
359
360
  integrity: typeof e.integrity == "string" ? e.integrity : void 0
360
361
  })) : n.d.m(t));
361
- }, l.requestFormReset = function(t) {
362
+ }, u.requestFormReset = function(t) {
362
363
  n.d.r(t);
363
- }, l.unstable_batchedUpdates = function(t, e) {
364
+ }, u.unstable_batchedUpdates = function(t, e) {
364
365
  return t(e);
365
- }, l.useFormState = function(t, e, a) {
366
- return f().useFormState(t, e, a);
367
- }, l.useFormStatus = function() {
368
- return f().useHostTransitionStatus();
369
- }, l.version = "19.2.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
370
- })()), l;
366
+ }, u.useFormState = function(t, e, a) {
367
+ return d().useFormState(t, e, a);
368
+ }, u.useFormStatus = function() {
369
+ return d().useHostTransitionStatus();
370
+ }, u.version = "19.2.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
371
+ })()), u;
371
372
  }
372
- var E;
373
- function k() {
374
- if (E) return O.exports;
375
- E = 1;
373
+ var R;
374
+ function x() {
375
+ if (R) return O.exports;
376
+ R = 1;
376
377
  function c() {
377
378
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
378
379
  if (process.env.NODE_ENV !== "production")
379
380
  throw new Error("^_^");
380
381
  try {
381
382
  __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c);
382
- } catch (p) {
383
- console.error(p);
383
+ } catch (_) {
384
+ console.error(_);
384
385
  }
385
386
  }
386
387
  }
387
- return process.env.NODE_ENV === "production" ? (c(), O.exports = A()) : O.exports = L(), O.exports;
388
+ return process.env.NODE_ENV === "production" ? (c(), O.exports = k()) : O.exports = C(), O.exports;
388
389
  }
389
- var P = k();
390
- const C = "_navbar_18cye_1", x = "_background_18cye_12", I = "_open_18cye_16", j = "_navbar__logo_18cye_20", H = "_navbar__links_18cye_28", U = "_navbar__link_18cye_28", V = "_navbar__mobileDialog_18cye_38", $ = "_navbar__toggle_18cye_48", _ = {
391
- navbar: C,
392
- background: x,
393
- open: I,
394
- navbar__logo: j,
395
- navbar__links: H,
396
- navbar__link: U,
397
- navbar__mobileDialog: V,
398
- navbar__toggle: $
399
- }, K = ({ links: c, logoImage: p, title: g, background: o, transparent: s }) => {
400
- const [d, f] = N(!1), m = () => {
401
- let n = d ? "unset" : "hidden";
402
- document.body.style.overflow = n, f(!d);
390
+ var q = x();
391
+ const I = "_navbar_1qigq_1", j = "_hide_1qigq_17", H = "_navbar__logo_1qigq_21", U = "_navbar__links_1qigq_30", V = "_navbar__link_1qigq_30", F = "_navbar__mobileDialog_1qigq_42", G = "_navbar__toggle_1qigq_50", v = {
392
+ navbar: I,
393
+ hide: j,
394
+ navbar__logo: H,
395
+ navbar__links: U,
396
+ navbar__link: V,
397
+ navbar__mobileDialog: F,
398
+ navbar__toggle: G
399
+ }, Y = {}, X = ({ links: c, logoImage: _, color: g }) => {
400
+ const o = w(0), [s, f] = S("up"), [d, m] = S(!1), n = () => {
401
+ let i = d ? "unset" : "hidden";
402
+ document.body.style.overflow = i, m(!d);
403
+ }, r = () => {
404
+ const i = window.scrollY;
405
+ i - o.current !== 0 && f(i > o.current ? "down" : "up"), o.current = i > 0 ? i : 0;
403
406
  };
404
- return /* @__PURE__ */ D("nav", { className: `${_.navbar} ${o && _.background} ${d && _.open} ${s && _.transparent}`, children: [
405
- /* @__PURE__ */ v("a", { className: _.navbar__logo, href: "/", children: /* @__PURE__ */ v("img", { src: p }) }),
406
- /* @__PURE__ */ v("div", { className: _.navbar__toggle, children: /* @__PURE__ */ v(M, { clickFn: m, isOpen: d }) }),
407
- /* @__PURE__ */ v("div", { className: _.navbar__links, children: c.map((n, r) => /* @__PURE__ */ v("a", { className: `${_.navbar__link}`, href: n.value, children: n.label }, `navbar-d-${n}`)) }),
408
- d && P.createPortal(
409
- /* @__PURE__ */ v(w, { closeFn: () => f(!1), hideClose: !0, background: variables.neutralDark, children: /* @__PURE__ */ v("div", { className: _.navbar__mobileDialog, children: c.map((n, r) => /* @__PURE__ */ v("a", { className: _.navbar__link, href: n.value, onClick: m, children: n.label }, `m-${n}`)) }) }),
410
- document.body
411
- )
412
- ] });
407
+ return M(() => (window.addEventListener("scroll", r), () => window.removeEventListener("scroll", r)), []), /* @__PURE__ */ N(
408
+ "nav",
409
+ {
410
+ "data-color": g,
411
+ className: P(
412
+ v.navbar,
413
+ // background && styles.background,
414
+ d && v.open,
415
+ s === "down" && v.hide
416
+ ),
417
+ children: [
418
+ /* @__PURE__ */ p("a", { className: v.navbar__logo, href: "/", children: /* @__PURE__ */ p("img", { src: _ }) }),
419
+ /* @__PURE__ */ p("div", { className: v.navbar__toggle, children: /* @__PURE__ */ p(L, { clickFn: n, isOpen: d }) }),
420
+ /* @__PURE__ */ p("div", { className: v.navbar__links, children: c.map((i, t) => /* @__PURE__ */ p(
421
+ "a",
422
+ {
423
+ className: `${v.navbar__link}`,
424
+ href: i.value,
425
+ children: i.label
426
+ },
427
+ `navbar-d-${i.value}`
428
+ )) }),
429
+ d && q.createPortal(
430
+ /* @__PURE__ */ p(
431
+ A,
432
+ {
433
+ closeFn: () => m(!1),
434
+ hideClose: !0,
435
+ background: Y.neutralDark,
436
+ children: /* @__PURE__ */ p("div", { className: v.navbar__mobileDialog, children: c.map((i, t) => /* @__PURE__ */ p(
437
+ "a",
438
+ {
439
+ className: v.navbar__link,
440
+ href: i.value,
441
+ children: i.label
442
+ },
443
+ `m-${i.value}`
444
+ )) })
445
+ }
446
+ ),
447
+ document.body
448
+ )
449
+ ]
450
+ }
451
+ );
413
452
  };
414
453
  export {
415
- K as default
454
+ X as default
416
455
  };
@@ -2,25 +2,25 @@
2
2
  import { jsx as o, jsxs as e } from "react/jsx-runtime";
3
3
  import l from "../../utils/parse.js";
4
4
  import d from "../../animations/FadeInMotion.js";
5
- import '../../assets/Note.css';const i = "_salutation_dhapf_2", p = "_opener_dhapf_21", m = "_from_dhapf_25", _ = "_body_dhapf_32", f = "_close_dhapf_57", h = "_signature_dhapf_77", s = {
5
+ import '../../assets/Note.css';const i = "_salutation_1sd8z_2", m = "_opener_1sd8z_21", _ = "_from_1sd8z_25", p = "_body_1sd8z_32", u = "_close_1sd8z_57", f = "_signature_1sd8z_77", s = {
6
6
  salutation: i,
7
- opener: p,
8
- from: m,
9
- body: _,
10
- close: f,
11
- signature: h
12
- }, b = ({ salutation: a, from: n, body: t, signature: r, close: c }) => /* @__PURE__ */ o(d, { children: /* @__PURE__ */ e("div", { className: s.note, children: [
7
+ opener: m,
8
+ from: _,
9
+ body: p,
10
+ close: u,
11
+ signature: f
12
+ }, y = ({ salutation: n, from: a, body: t, signature: r, close: c }) => /* @__PURE__ */ o(d, { children: /* @__PURE__ */ e("div", { className: s.note, children: [
13
13
  /* @__PURE__ */ e("p", { className: s.salutation, children: [
14
14
  /* @__PURE__ */ e("span", { className: s.opener, children: [
15
- a,
15
+ n,
16
16
  " "
17
17
  ] }),
18
- /* @__PURE__ */ o("span", { className: s.from, children: n })
18
+ /* @__PURE__ */ o("span", { className: s.from, children: a })
19
19
  ] }),
20
20
  /* @__PURE__ */ o("div", { className: s.body, children: l(t) }),
21
21
  /* @__PURE__ */ o("p", { className: s.close, children: c }),
22
22
  /* @__PURE__ */ o("p", { className: s.signature, children: r })
23
23
  ] }) });
24
24
  export {
25
- b as default
25
+ y as default
26
26
  };
@@ -1,31 +1,31 @@
1
1
  "use client";
2
- import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
+ import { jsxs as _, jsx as l } from "react/jsx-runtime";
3
3
  import { useState as u, useEffect as f } from "react";
4
- import '../../assets/Overlay.css';const v = "_overlay__background_1ohwx_17", y = "_fadeIn_1ohwx_1", i = "_fadeOut_1ohwx_27", m = "_overlay__dialog_1ohwx_31", h = "_overlay__close_1ohwx_46", g = "_fullscreen_1ohwx_66", e = {
5
- overlay__background: v,
6
- fadeIn: y,
7
- fadeOut: i,
8
- overlay__dialog: m,
9
- overlay__close: h,
10
- fullscreen: g
11
- }, O = ({ children: _, closeFn: t, hideClose: r, background: s, fullscreen: c = !0 }) => {
12
- const [l, d] = u(!1);
4
+ import '../../assets/Overlay.css';const v = "_overlay__dialog_1wgl6_17", y = "_overlay__background_1wgl6_21", i = "_fadeIn_1wgl6_1", g = "_fadeOut_1wgl6_31", m = "_overlay__close_1wgl6_50", w = "_fullscreen_1wgl6_70", e = {
5
+ overlay__dialog: v,
6
+ overlay__background: y,
7
+ fadeIn: i,
8
+ fadeOut: g,
9
+ overlay__close: m,
10
+ fullscreen: w
11
+ }, b = ({ children: t, closeFn: r, hideClose: o, background: s, fullscreen: c = !0 }) => {
12
+ const [a, d] = u(!1);
13
13
  f(() => (document.body.style.overflow = "hidden", () => {
14
14
  document.body.style.overflow = "unset";
15
15
  }), []);
16
16
  const n = () => {
17
17
  d(!0), setTimeout(() => {
18
- t();
18
+ r();
19
19
  }, 500);
20
20
  };
21
- return /* @__PURE__ */ a("div", { className: e.overlay, children: [
22
- /* @__PURE__ */ o("div", { className: ` ${e.overlay__background} ${l && e.fadeOut}` }),
23
- /* @__PURE__ */ a("div", { className: `${e.overlay__dialog} ${l ? e.fadeOut : e.fadeIn} ${c && e.fullscreen}`, style: s ? { background: s } : {}, children: [
24
- !r && /* @__PURE__ */ o("div", { className: e.overlay__close, onClick: n, children: /* @__PURE__ */ o("img", { src: "assets/icons/close.svg" }) }),
25
- _
21
+ return /* @__PURE__ */ _("div", { className: e.overlay, children: [
22
+ /* @__PURE__ */ l("div", { className: ` ${e.overlay__background} ${a && e.fadeOut} ${o && e.hideClose}` }),
23
+ /* @__PURE__ */ _("div", { className: `${e.overlay__dialog} ${a ? e.fadeOut : e.fadeIn} ${c && e.fullscreen}`, style: s ? { background: s } : {}, children: [
24
+ !o && /* @__PURE__ */ l("div", { className: e.overlay__close, onClick: n, children: /* @__PURE__ */ l("img", { src: "assets/icons/close.svg" }) }),
25
+ t
26
26
  ] })
27
27
  ] });
28
28
  };
29
29
  export {
30
- O as default
30
+ b as default
31
31
  };
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
2
+ import { jsx as o, jsxs as c } from "react/jsx-runtime";
3
3
  import t from "../../utils/parse.js";
4
- import '../../assets/OverlayHero.css';const n = "_hero_1029s_1", _ = "_overlay_1029s_13", d = "_eyebrow_1029s_33", y = "_title_1029s_40", b = "_subtitle_1029s_53", e = {
4
+ import '../../assets/OverlayHero.css';const n = "_hero_7o547_1", _ = "_overlay_7o547_12", d = "_eyebrow_7o547_32", y = "_title_7o547_39", b = "_subtitle_7o547_52", e = {
5
5
  hero: n,
6
6
  overlay: _,
7
7
  eyebrow: d,
8
8
  title: y,
9
9
  subtitle: b
10
- }, v = ({ text: h, image: r, pos: o, eyebrow: l, title: a, subtitle: i }) => /* @__PURE__ */ s(
10
+ }, v = ({ text: h, image: r, pos: s, eyebrow: l, title: a, subtitle: i }) => /* @__PURE__ */ o(
11
11
  "div",
12
12
  {
13
13
  className: e.hero,
14
- style: { backgroundImage: `url(${r})`, backgroundPosition: o },
14
+ style: { backgroundImage: `url(${r})`, backgroundPosition: s },
15
15
  children: /* @__PURE__ */ c("div", { className: e.overlay, children: [
16
- /* @__PURE__ */ s("p", { className: e.eyebrow, children: l }),
17
- /* @__PURE__ */ s("h1", { className: e.title, children: t(a) }),
18
- /* @__PURE__ */ s("div", { className: e.subtitle, children: t(i) })
16
+ /* @__PURE__ */ o("p", { className: e.eyebrow, children: l }),
17
+ /* @__PURE__ */ o("h1", { className: e.title, children: t(a) }),
18
+ /* @__PURE__ */ o("div", { className: e.subtitle, children: t(i) })
19
19
  ] })
20
20
  }
21
21
  );
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { jsxs as _, jsx as i } from "react/jsx-runtime";
3
- import '../../assets/PageContainer.css';const s = "_container__inner_1iuwz_2", l = "_removePadding_1iuwz_32", m = "_container__body_1iuwz_36", y = "_container__copy_1iuwz_51", n = {
2
+ import { jsxs as i, jsx as o } from "react/jsx-runtime";
3
+ import '../../assets/PageContainer.css';const s = "_container__inner_d4cox_2", l = "_removePadding_d4cox_32", m = "_container__body_d4cox_36", y = "_container__copy_d4cox_51", n = {
4
4
  container__inner: s,
5
5
  removePadding: l,
6
6
  container__body: m,
7
7
  container__copy: y
8
- }, v = ({ heroImage: g, pageTitle: o, children: t, hero: h, copy: e, excludePadding: c = [] }) => {
9
- const a = () => {
10
- let r = {};
11
- for (let d of c)
12
- r[`padding-${d}`] = 0;
13
- return r;
8
+ }, v = ({ heroImage: g, pageTitle: r, children: c, hero: h, copy: e, excludePadding: t = [] }) => {
9
+ const d = () => {
10
+ let _ = {};
11
+ for (let a of t)
12
+ _[`padding-${a}`] = 0;
13
+ return _;
14
14
  };
15
- return /* @__PURE__ */ _("main", { children: [
16
- /* @__PURE__ */ i("div", { className: `${n.container__inner} ${!o && !e && n.removePadding}`, style: a(), children: /* @__PURE__ */ _("div", { className: n.container__copy, children: [
17
- /* @__PURE__ */ i("h1", { children: o }),
18
- e && /* @__PURE__ */ i("div", { className: n.container__body, children: e })
15
+ return /* @__PURE__ */ i("main", { children: [
16
+ /* @__PURE__ */ o("div", { className: `${n.container__inner} ${!r && !e && n.removePadding}`, style: d(), children: /* @__PURE__ */ i("div", { className: n.container__copy, children: [
17
+ /* @__PURE__ */ o("h1", { children: r }),
18
+ e && /* @__PURE__ */ o("div", { className: n.container__body, children: e })
19
19
  ] }) }),
20
- t
20
+ c
21
21
  ] });
22
22
  };
23
23
  export {
@@ -0,0 +1,44 @@
1
+ "use client";
2
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
3
+ import { useRef as a, useEffect as g, createElement as h } from "react";
4
+ import u from "../IconDetail/IconDetail.js";
5
+ import { g as o, S as x } from "../../ScrollTrigger-DDbij8gI.js";
6
+ import '../../assets/PinnedImage.css';const k = "_container_p9mka_1", v = "_content_p9mka_5", N = "_title_p9mka_9", y = "_image_p9mka_20", R = "_section_p9mka_31", S = "_copy_p9mka_35", j = "_text_p9mka_47", e = {
7
+ container: k,
8
+ content: v,
9
+ title: N,
10
+ image: y,
11
+ section: R,
12
+ copy: S,
13
+ text: j
14
+ };
15
+ o.registerPlugin(x);
16
+ const D = ({ image: l, title: m, sections: p }) => {
17
+ const i = a(null), _ = a(null), d = a([]);
18
+ return g(() => {
19
+ const t = o.context(() => {
20
+ }, i);
21
+ return () => t.revert();
22
+ }, []), /* @__PURE__ */ s("div", { className: e.container, ref: i, children: [
23
+ /* @__PURE__ */ n("div", { className: e.title, children: m }),
24
+ /* @__PURE__ */ s("div", { className: e.content, children: [
25
+ /* @__PURE__ */ n("div", { className: e.image, ref: _, children: /* @__PURE__ */ n("img", { src: l }) }),
26
+ /* @__PURE__ */ n("div", { className: e.copy, children: p.map((t, r) => /* @__PURE__ */ s(
27
+ "div",
28
+ {
29
+ className: e.section,
30
+ ref: (c) => d.current[r] = c,
31
+ children: [
32
+ /* @__PURE__ */ n("h3", { children: t.header }),
33
+ /* @__PURE__ */ n("p", { className: e.text, children: t.description }),
34
+ t.details && t.details.map((c, f) => /* @__PURE__ */ h(u, { ...c, key: f }))
35
+ ]
36
+ },
37
+ r
38
+ )) })
39
+ ] })
40
+ ] });
41
+ };
42
+ export {
43
+ D as default
44
+ };