@courtneyring/components-library 1.0.32 → 1.0.34

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 (66) hide show
  1. package/dist/AccordionItem-BnGlD8YU.js +40 -0
  2. package/dist/assets/AccordionItem.css +1 -1
  3. package/dist/assets/Background.css +1 -1
  4. package/dist/assets/Banner.css +1 -1
  5. package/dist/assets/Button.css +1 -1
  6. package/dist/assets/Container.css +1 -1
  7. package/dist/assets/Fifty.css +1 -1
  8. package/dist/assets/Footer.css +1 -1
  9. package/dist/assets/GenericOverlay.css +1 -1
  10. package/dist/assets/IconDetail.css +1 -1
  11. package/dist/assets/ImageTextBlock.css +1 -1
  12. package/dist/assets/List.css +1 -1
  13. package/dist/assets/Navbar.css +1 -1
  14. package/dist/assets/Note.css +1 -1
  15. package/dist/assets/OverlayHero.css +1 -1
  16. package/dist/assets/PageContainer.css +1 -1
  17. package/dist/assets/PinnedImage.css +1 -1
  18. package/dist/assets/PromoGroup.css +1 -1
  19. package/dist/assets/Schedule.css +1 -1
  20. package/dist/assets/TextBlock.css +1 -1
  21. package/dist/assets/Toolbar.css +1 -1
  22. package/dist/components/Accordion/Accordion.js +1 -1
  23. package/dist/components/Accordion/AccordionItem.js +1 -1
  24. package/dist/components/Background/Background.js +8 -8
  25. package/dist/components/Banner/Banner.js +13 -13
  26. package/dist/components/Button/Button.js +20 -20
  27. package/dist/components/Container/Container.js +24 -24
  28. package/dist/components/Fifty/Fifty.js +16 -16
  29. package/dist/components/Footer/Footer.js +6 -6
  30. package/dist/components/GenericOverlay/GenericOverlay.js +14 -14
  31. package/dist/components/IconDetail/IconDetail.js +8 -8
  32. package/dist/components/ImageTextBlock/ImageTextBlock.js +22 -22
  33. package/dist/components/List/List.js +12 -12
  34. package/dist/components/Navbar/Navbar.js +31 -31
  35. package/dist/components/Note/Note.js +11 -11
  36. package/dist/components/OverlayHero/OverlayHero.js +21 -21
  37. package/dist/components/PageContainer/PageContainer.js +6 -6
  38. package/dist/components/PinnedImage/PinnedImage.js +23 -23
  39. package/dist/components/PromoGroup/PromoGroup.js +37 -37
  40. package/dist/components/Schedule/Schedule.js +8 -8
  41. package/dist/components/Spacer/Spacer.js +3 -3
  42. package/dist/components/TextBlock/TextBlock.js +17 -17
  43. package/dist/components/Toolbar/Toolbar.js +29 -23
  44. package/package.json +1 -1
  45. package/src/styles/_fonts.scss +48 -94
  46. package/src/styles/_sizes.scss +1 -1
  47. package/dist/AccordionItem-CDN4L4a7.js +0 -40
  48. package/dist/hooks/useActiveSection 4.js +0 -27
  49. package/dist/hooks/useFadeIn 4.js +0 -52
  50. package/dist/hooks/useImageReveal 4.js +0 -55
  51. package/dist/hooks/useNavColor 4.js +0 -15
  52. package/dist/hooks/useRepeatable 4.js +0 -32
  53. package/dist/hooks/useResize 4.js +0 -23
  54. package/dist/hooks/useResponsive 4.js +0 -15
  55. package/dist/hooks/useReveal 4.js +0 -38
  56. package/dist/hooks/useStagger 4.js +0 -43
  57. package/dist/index 2.js +0 -50
  58. package/dist/index-BmTo-IS6 4.js +0 -2018
  59. package/dist/index-K0WrPJ_C 4.js +0 -29
  60. package/dist/index.modern-DPbS1w7M 4.js +0 -1443
  61. /package/dist/{index-B2JRaoNz 4.js → index-B2JRaoNz 2.js} +0 -0
  62. /package/dist/{index-DyQs5aC7 4.js → index-DyQs5aC7 3.js} +0 -0
  63. /package/dist/presets/{animations 4.js → animations 3.js} +0 -0
  64. /package/dist/utils/{breakpoints 4.js → breakpoints 3.js} +0 -0
  65. /package/dist/utils/{gsapSetup 4.js → gsapSetup 3.js} +0 -0
  66. /package/dist/utils/{parse 4.js → parse 3.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  "use client";
2
- import { jsxs as u, jsx as k } from "react/jsx-runtime";
3
- import { c as f } from "../../index-B2JRaoNz.js";
4
- import '../../assets/Button.css';const x = "_button_13x2k_1", b = "_hollow_13x2k_108", h = "_filled_13x2k_111", p = "_link_13x2k_147", l = {
5
- button: x,
6
- hollow: b,
7
- filled: h,
8
- link: p
9
- }, g = ({
2
+ import { jsxs as m, jsx as f } from "react/jsx-runtime";
3
+ import { c as b } from "../../index-B2JRaoNz.js";
4
+ import '../../assets/Button.css';const h = "_button_14j8u_1", j = "_hollow_14j8u_110", p = "_filled_14j8u_113", k = "_link_14j8u_149", l = {
5
+ button: h,
6
+ hollow: j,
7
+ filled: p,
8
+ link: k
9
+ }, N = ({
10
10
  children: c,
11
11
  fn: o,
12
12
  href: t,
13
13
  target: r,
14
- hollow: _ = !1,
14
+ hollow: u = !1,
15
15
  variation: s = "color-primary-dark",
16
- textDecoration: i,
17
- label: d,
16
+ textDecoration: _,
17
+ label: i,
18
18
  value: n,
19
19
  icon: a,
20
20
  onClick: e,
21
- className: m
22
- }) => /* @__PURE__ */ u(
21
+ className: d
22
+ }) => /* @__PURE__ */ m(
23
23
  t || n ? "a" : "button",
24
24
  {
25
25
  href: t || n,
26
26
  onClick: o || e ? o || e : null,
27
27
  target: r,
28
- className: f(
28
+ className: b(
29
29
  l.button,
30
- _ ? l.hollow : l.filled,
30
+ u ? l.hollow : l.filled,
31
31
  l[s],
32
- m
32
+ d
33
33
  ),
34
- style: { textDecoration: i },
34
+ style: { textDecoration: _ },
35
35
  "data-color": s,
36
36
  children: [
37
- c || d,
38
- a && /* @__PURE__ */ k("span", { className: "material-symbols-outlined", children: a })
37
+ c || i,
38
+ a && /* @__PURE__ */ f("span", { className: "material-symbols-outlined", children: a })
39
39
  ]
40
40
  }
41
41
  );
42
42
  export {
43
- g as default
43
+ N as default
44
44
  };
@@ -1,17 +1,17 @@
1
1
  "use client";
2
- import { jsx as n } from "react/jsx-runtime";
3
- import { c as t } from "../../index-B2JRaoNz.js";
4
- import { useRef as p } from "react";
5
- import '../../assets/Container.css';const u = "_container_zvphg_1", g = "_innerContainer_zvphg_37", y = "_styleless_zvphg_140", e = {
6
- container: u,
7
- innerContainer: g,
8
- styleless: y
9
- }, z = ({
10
- color: s,
11
- children: r,
12
- maxWidth: a,
13
- styleless: o,
14
- backgroundImage: i,
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ import { c as s } from "../../index-B2JRaoNz.js";
4
+ import { useRef as y } from "react";
5
+ import '../../assets/Container.css';const C = "_container_13kbo_1", h = "_innerContainer_13kbo_37", p = "_styleless_13kbo_140", e = {
6
+ container: C,
7
+ innerContainer: h,
8
+ styleless: p
9
+ }, N = ({
10
+ color: r,
11
+ children: a,
12
+ maxWidth: o,
13
+ styleless: i,
14
+ backgroundImage: n,
15
15
  backgroundPosition: l,
16
16
  fullHeight: c,
17
17
  center: m,
@@ -19,30 +19,30 @@ import '../../assets/Container.css';const u = "_container_zvphg_1", g = "_innerC
19
19
  id: _,
20
20
  ...f
21
21
  }) => {
22
- const h = p();
22
+ const u = y();
23
23
  if (!d)
24
- return /* @__PURE__ */ n(
24
+ return /* @__PURE__ */ t(
25
25
  "div",
26
26
  {
27
- className: t(e.container, o && e.styleless),
28
- "data-color": s,
29
- ref: h,
30
- style: { backgroundImage: `url(${i})`, backgroundPosition: l },
27
+ className: s(e.container, i && e.styleless),
28
+ "data-color": r,
29
+ ref: u,
30
+ style: n && { backgroundImage: `url(${n})`, backgroundPosition: l },
31
31
  "data-full-height": c,
32
32
  "data-center": m,
33
33
  ...f,
34
- children: /* @__PURE__ */ n(
34
+ children: /* @__PURE__ */ t(
35
35
  "div",
36
36
  {
37
- className: t(e.innerContainer),
38
- "data-max-width": a,
37
+ className: s(e.innerContainer),
38
+ "data-max-width": o,
39
39
  id: _,
40
- children: r
40
+ children: a
41
41
  }
42
42
  )
43
43
  }
44
44
  );
45
45
  };
46
46
  export {
47
- z as default
47
+ N as default
48
48
  };
@@ -5,47 +5,47 @@ import { c as f } from "../../index-B2JRaoNz.js";
5
5
  import { Fragment as d } from "react";
6
6
  import F from "../IconDetail/IconDetail.js";
7
7
  import j from "../../utils/parse.js";
8
- import { useReveal as a } from "../../hooks/useReveal.js";
9
- import { appleReveal as s } from "../../presets/animations.js";
8
+ import { useReveal as s } from "../../hooks/useReveal.js";
9
+ import { appleReveal as n } from "../../presets/animations.js";
10
10
  import { useImageReveal as I } from "../../hooks/useImageReveal.js";
11
- import '../../assets/Fifty.css';const b = "_content_wuae0_2", B = "_fifty_wuae0_49", D = "_contentFirst_wuae0_86", P = "_reverse_wuae0_90", k = "_image_wuae0_93", q = "_text_wuae0_156", z = "_ctas_wuae0_214", A = "_details_wuae0_232", t = {
11
+ import '../../assets/Fifty.css';const b = "_content_l4kmn_2", B = "_fifty_l4kmn_49", D = "_contentFirst_l4kmn_86", P = "_reverse_l4kmn_90", q = "_image_l4kmn_93", w = "_text_l4kmn_161", z = "_ctas_l4kmn_219", A = "_details_l4kmn_237", t = {
12
12
  content: b,
13
13
  fifty: B,
14
14
  contentFirst: D,
15
15
  reverse: P,
16
- image: k,
17
- text: q,
16
+ image: q,
17
+ text: w,
18
18
  ctas: z,
19
19
  details: A
20
20
  }, Q = ({
21
- heading: i,
22
- body: n,
21
+ heading: c,
22
+ body: i,
23
23
  ctas: r,
24
24
  color: _,
25
25
  image: v,
26
26
  reverse: p,
27
- pos: u,
27
+ pos: R,
28
28
  details: l,
29
- contentFirst: R = !0
29
+ contentFirst: h = !0
30
30
  }) => {
31
- const h = I({ duration: 1.4 }), y = a(s), g = a({ ...s, delay: 0.2 }), w = a({ ...s, delay: 0.4 }), x = a({ ...s, delay: 0.4 });
31
+ const y = I({ duration: 1.4 }), g = s(n), k = s({ ...n, delay: 0.2 }), u = s({ ...n, delay: 0.4 }), x = s({ ...n, delay: 0.4 });
32
32
  return /* @__PURE__ */ m(
33
33
  "div",
34
34
  {
35
35
  className: f(
36
36
  t.fifty,
37
37
  !!p && t.reverse,
38
- R && t.contentFirst
38
+ h && t.contentFirst
39
39
  ),
40
40
  "data-color": _,
41
41
  children: [
42
42
  /* @__PURE__ */ e("div", { className: f(t.content), children: /* @__PURE__ */ m("div", { className: t.text, children: [
43
- i && /* @__PURE__ */ e("h2", { ref: y, children: i }),
44
- n && /* @__PURE__ */ e("div", { ref: g, children: j(n) }),
45
- r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref: w, children: r.map((o, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { ...o }) }, c)) }),
46
- /* @__PURE__ */ e("div", { className: t.details, ref: x, children: l && l.map((o, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(F, { ...o }) }, c)) })
43
+ c && /* @__PURE__ */ e("h2", { ref: g, children: c }),
44
+ i && /* @__PURE__ */ e("div", { ref: k, children: j(i) }),
45
+ r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref: u, children: r.map((a, o) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { ...a }) }, o)) }),
46
+ /* @__PURE__ */ e("div", { className: t.details, ref: x, children: l && l.map((a, o) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(F, { ...a }) }, o)) })
47
47
  ] }) }),
48
- /* @__PURE__ */ e("div", { className: t.image, ref: h, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: u } }) })
48
+ /* @__PURE__ */ e("div", { className: t.image, ref: y, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: R } }) })
49
49
  ]
50
50
  }
51
51
  );
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
3
- import '../../assets/Footer.css';const a = "_footer_141jj_2", c = "_image_141jj_58", m = "_text_141jj_63", t = {
3
+ import '../../assets/Footer.css';const a = "_footer_js61i_2", c = "_image_js61i_58", i = "_text_js61i_63", t = {
4
4
  footer: a,
5
5
  image: c,
6
- text: m
7
- }, i = ({ logo: o, logoText: s }) => /* @__PURE__ */ r("footer", { className: t.footer, children: [
8
- /* @__PURE__ */ e("img", { src: o, className: t.image }),
9
- /* @__PURE__ */ e("p", { className: t.text, children: s })
6
+ text: i
7
+ }, _ = ({ logo: s, logoText: o }) => /* @__PURE__ */ r("footer", { className: t.footer, children: [
8
+ /* @__PURE__ */ e("img", { src: s, className: t.image }),
9
+ /* @__PURE__ */ e("p", { className: t.text, children: o })
10
10
  ] });
11
11
  export {
12
- i as default
12
+ _ as default
13
13
  };
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
- import a from "../../utils/parse.js";
4
- import s from "../Button/Button.js";
5
- import '../../assets/GenericOverlay.css';const i = "_overlay_oltvp_2", v = "_content_oltvp_61", d = "_ctas_oltvp_150", e = {
2
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
+ import l from "../../utils/parse.js";
4
+ import o from "../Button/Button.js";
5
+ import '../../assets/GenericOverlay.css';const i = "_overlay_ukyq8_2", d = "_content_ukyq8_61", v = "_ctas_ukyq8_155", n = {
6
6
  overlay: i,
7
- content: v,
8
- ctas: d
9
- }, p = ({ header: r, body: l, primaryCta: o, secondaryCta: c }) => /* @__PURE__ */ t("div", { className: e.overlay, children: /* @__PURE__ */ n("div", { className: e.innerContainer, children: [
10
- /* @__PURE__ */ t("h2", { children: r }),
11
- /* @__PURE__ */ n("div", { className: e.content, children: [
12
- /* @__PURE__ */ t("div", { children: a(l) }),
13
- /* @__PURE__ */ n("div", { className: e.ctas, children: [
14
- o && /* @__PURE__ */ t(s, { ...o }),
15
- c && /* @__PURE__ */ t(s, { ...c })
7
+ content: d,
8
+ ctas: v
9
+ }, y = ({ header: r, body: a, primaryCta: c, secondaryCta: s }) => /* @__PURE__ */ e("div", { className: n.overlay, children: /* @__PURE__ */ t("div", { className: n.innerContainer, children: [
10
+ /* @__PURE__ */ e("h2", { children: r }),
11
+ /* @__PURE__ */ t("div", { className: n.content, children: [
12
+ /* @__PURE__ */ e("div", { children: l(a) }),
13
+ /* @__PURE__ */ t("div", { className: n.ctas, children: [
14
+ c && /* @__PURE__ */ e(o, { ...c }),
15
+ s && /* @__PURE__ */ e(o, { ...s })
16
16
  ] })
17
17
  ] })
18
18
  ] }) });
19
19
  export {
20
- p as default
20
+ y as default
21
21
  };
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as l } from "react/jsx-runtime";
3
- import o from "../../utils/parse.js";
4
- import { c } from "../../index-B2JRaoNz.js";
5
- import '../../assets/IconDetail.css';const r = "_detail_1iupq_1", n = "_label_1iupq_57", a = {
2
+ import { jsxs as o, jsx as l } from "react/jsx-runtime";
3
+ import c from "../../utils/parse.js";
4
+ import { c as i } from "../../index-B2JRaoNz.js";
5
+ import '../../assets/IconDetail.css';const r = "_detail_vbocq_1", n = "_label_vbocq_57", a = {
6
6
  detail: r,
7
7
  label: n
8
- }, b = ({ icon: s, text: e, href: t }) => /* @__PURE__ */ i(t ? "a" : "div", { className: a.detail, children: [
9
- /* @__PURE__ */ l("span", { className: c(a.icon, "material-symbols-outlined"), children: s }),
10
- /* @__PURE__ */ l("div", { className: a.label, children: o(e) })
8
+ }, _ = ({ icon: s, text: e, href: t }) => /* @__PURE__ */ o(t ? "a" : "div", { className: a.detail, children: [
9
+ /* @__PURE__ */ l("span", { className: i(a.icon, "material-symbols-outlined"), children: s }),
10
+ /* @__PURE__ */ l("div", { className: a.label, children: c(e) })
11
11
  ] });
12
12
  export {
13
- b as default
13
+ _ as default
14
14
  };
@@ -1,30 +1,30 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as s, Fragment as v } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as c, Fragment as v } from "react/jsx-runtime";
3
3
  import i from "../Button/Button.js";
4
- import { c as f } from "../../index-B2JRaoNz.js";
4
+ import { c as u } from "../../index-B2JRaoNz.js";
5
5
  import "../../hooks/useFadeIn.js";
6
- import p from "../../utils/parse.js";
7
- import { Children as g } from "react";
8
- import { appleReveal as b } from "../../presets/animations.js";
9
- import { useReveal as w } from "../../hooks/useReveal.js";
6
+ import f from "../../utils/parse.js";
7
+ import { Children as h } from "react";
8
+ import { appleReveal as p } from "../../presets/animations.js";
9
+ import { useReveal as g } from "../../hooks/useReveal.js";
10
10
  import { useImageReveal as N } from "../../hooks/useImageReveal.js";
11
- import '../../assets/ImageTextBlock.css';const u = "_container_7w6eh_1", k = "_reverse_7w6eh_7", R = "_content_7w6eh_11", x = "_header_7w6eh_16", y = "_body_7w6eh_64", j = "_ctas_7w6eh_116", I = "_image_7w6eh_120", B = "_block_7w6eh_180", o = {
12
- container: u,
13
- reverse: k,
14
- content: R,
15
- header: x,
16
- body: y,
17
- ctas: j,
18
- image: I,
19
- block: B
20
- }, G = ({ image: m, header: t, body: c, primaryCta: r, secondaryCta: a, reverse: l, children: n, imagePos: _ }) => {
21
- const d = N(), h = w({ ...b, delay: 0.2 });
22
- return /* @__PURE__ */ e("div", { className: f(o.block, l && o.reverse), children: /* @__PURE__ */ s("div", { className: o.container, children: [
11
+ import '../../assets/ImageTextBlock.css';const k = "_container_cuob2_1", R = "_reverse_cuob2_7", x = "_content_cuob2_11", y = "_header_cuob2_16", j = "_body_cuob2_69", I = "_ctas_cuob2_121", B = "_image_cuob2_125", F = "_block_cuob2_186", o = {
12
+ container: k,
13
+ reverse: R,
14
+ content: x,
15
+ header: y,
16
+ body: j,
17
+ ctas: I,
18
+ image: B,
19
+ block: F
20
+ }, G = ({ image: m, header: s, body: t, primaryCta: r, secondaryCta: a, reverse: l, children: n, imagePos: _ }) => {
21
+ const d = N(), b = g({ ...p, delay: 0.2 });
22
+ return /* @__PURE__ */ e("div", { className: u(o.block, l && o.reverse), children: /* @__PURE__ */ c("div", { className: o.container, children: [
23
23
  /* @__PURE__ */ e("div", { className: o.image, ref: d, children: /* @__PURE__ */ e("img", { src: m, style: { objectPosition: _ } }) }),
24
- /* @__PURE__ */ s("div", { className: o.content, ref: h, children: [
25
- t && /* @__PURE__ */ e("h2", { className: o.header, children: t }),
26
- c && /* @__PURE__ */ e("div", { className: o.body, children: p(c) }),
27
- g.count(n) > 0 ? n : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ s("div", { className: o.ctas, children: [
24
+ /* @__PURE__ */ c("div", { className: o.content, ref: b, children: [
25
+ s && /* @__PURE__ */ e("h2", { className: o.header, children: s }),
26
+ t && /* @__PURE__ */ e("div", { className: o.body, children: f(t) }),
27
+ h.count(n) > 0 ? n : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ c("div", { className: o.ctas, children: [
28
28
  r && /* @__PURE__ */ e(i, { ...r }),
29
29
  a && /* @__PURE__ */ e(i, { ...a })
30
30
  ] }) })
@@ -1,19 +1,19 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
3
- import n from "../Icon/Icon.js";
4
- import '../../assets/List.css';const r = "_item_7te51_1", d = "_emphasis_7te51_56", l = "_body_7te51_104", s = {
5
- item: r,
2
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
3
+ import r from "../Icon/Icon.js";
4
+ import '../../assets/List.css';const n = "_item_17ro6_1", d = "_emphasis_17ro6_61", l = "_body_17ro6_109", s = {
5
+ item: n,
6
6
  emphasis: d,
7
7
  body: l
8
- }, _ = ({ icon: a, items: c, header: m }) => (new URL((/* @__PURE__ */ Object.assign({}))[`./assets/icons/${a}.svg`], import.meta.url).href, /* @__PURE__ */ t("div", { className: s.list, children: [
9
- /* @__PURE__ */ e("h2", { children: m }),
10
- c.map((i, o) => /* @__PURE__ */ t("div", { className: s.item, children: [
11
- /* @__PURE__ */ e(n, { type: "checkmark" }),
12
- /* @__PURE__ */ t("div", { className: s.content, children: [
13
- /* @__PURE__ */ e("p", { className: s.emphasis, children: i.header }),
14
- /* @__PURE__ */ e("p", { className: s.body, children: i.body })
8
+ }, _ = ({ icon: a, items: c, header: o }) => (new URL((/* @__PURE__ */ Object.assign({}))[`./assets/icons/${a}.svg`], import.meta.url).href, /* @__PURE__ */ i("div", { className: s.list, children: [
9
+ /* @__PURE__ */ e("h2", { children: o }),
10
+ c.map((t, m) => /* @__PURE__ */ i("div", { className: s.item, children: [
11
+ /* @__PURE__ */ e(r, { type: "checkmark" }),
12
+ /* @__PURE__ */ i("div", { className: s.content, children: [
13
+ /* @__PURE__ */ e("p", { className: s.emphasis, children: t.header }),
14
+ /* @__PURE__ */ e("p", { className: s.body, children: t.body })
15
15
  ] })
16
- ] }, `item-${o}`))
16
+ ] }, `item-${m}`))
17
17
  ] }));
18
18
  export {
19
19
  _ as default
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { jsxs as b, jsx as n } from "react/jsx-runtime";
3
- import { useRef as g, useState as l, useEffect as w, cloneElement as h } from "react";
4
- import f from "../MenuButton/MenuButton.js";
5
- import { r as N } from "../../index-DyQs5aC7.js";
6
- import D from "../Overlay/Overlay.js";
7
- import x from "../Container/Container.js";
8
- import { c as E } from "../../index-B2JRaoNz.js";
9
- import '../../assets/Navbar.css';const y = "_navbar_1okw8_1", O = "_hide_1okw8_19", Y = "_background_1okw8_22", S = "_navbar__link_1okw8_22", $ = "_navbar__logo_1okw8_26", j = "_component_1okw8_34", B = "_navbar__links_1okw8_38", C = "_navbar__mobileDialog_1okw8_95", F = "_open_1okw8_107", L = "_navbar__toggle_1okw8_118", a = {
10
- navbar: y,
2
+ import { jsxs as d, jsx as n } from "react/jsx-runtime";
3
+ import { useRef as g, useState as l, useEffect as f, cloneElement as y } from "react";
4
+ import k from "../MenuButton/MenuButton.js";
5
+ import { r as w } from "../../index-DyQs5aC7.js";
6
+ import N from "../Overlay/Overlay.js";
7
+ import D from "../Container/Container.js";
8
+ import { c as x } from "../../index-B2JRaoNz.js";
9
+ import '../../assets/Navbar.css';const E = "_navbar_1yhdr_1", O = "_hide_1yhdr_19", Y = "_background_1yhdr_22", S = "_navbar__link_1yhdr_22", $ = "_navbar__logo_1yhdr_26", j = "_component_1yhdr_34", B = "_navbar__links_1yhdr_38", C = "_navbar__mobileDialog_1yhdr_95", F = "_open_1yhdr_107", L = "_navbar__toggle_1yhdr_118", a = {
10
+ navbar: E,
11
11
  hide: O,
12
12
  background: Y,
13
13
  navbar__link: S,
@@ -23,67 +23,67 @@ import '../../assets/Navbar.css';const y = "_navbar_1okw8_1", O = "_hide_1okw8_1
23
23
  backgroundColor: I,
24
24
  color: P,
25
25
  logoComponent: t,
26
- hidden: d,
26
+ hidden: b,
27
27
  position: v = "absolute"
28
28
  }) => {
29
- const r = g(0), [R, m] = l("up"), [e, _] = l(!1), [u, p] = l(!1);
30
- w(() => (window.addEventListener("scroll", i), () => window.removeEventListener("scroll", i)), []);
29
+ const o = g(0), [R, m] = l("up"), [e, _] = l(!1), [u, h] = l(!1);
30
+ f(() => (window.addEventListener("scroll", i), () => window.removeEventListener("scroll", i)), []);
31
31
  const i = () => {
32
- p(window.scrollY > 30);
33
- const o = window.scrollY;
34
- o - r.current !== 0 && m(o > r.current ? "down" : "up"), r.current = o > 0 ? o : 0;
32
+ h(window.scrollY > 30);
33
+ const r = window.scrollY;
34
+ r - o.current !== 0 && m(r > o.current ? "down" : "up"), o.current = r > 0 ? r : 0;
35
35
  };
36
- return /* @__PURE__ */ b(
36
+ return /* @__PURE__ */ d(
37
37
  "nav",
38
38
  {
39
- className: E(
39
+ className: x(
40
40
  a.navbar,
41
41
  u && a.background,
42
42
  e && a.open,
43
43
  // (direction === "down" || hidden) && styles.hide
44
- d && a.hide
44
+ b && a.hide
45
45
  ),
46
46
  style: e ? {} : { position: v },
47
47
  children: [
48
- /* @__PURE__ */ b("a", { className: a.navbar__logo, href: "/", children: [
48
+ /* @__PURE__ */ d("a", { className: a.navbar__logo, href: "/", children: [
49
49
  s && /* @__PURE__ */ n("img", { src: s }),
50
- t && h(t, {
50
+ t && y(t, {
51
51
  className: a.component
52
52
  })
53
53
  ] }),
54
54
  /* @__PURE__ */ n("div", { className: a.navbar__toggle, children: /* @__PURE__ */ n(
55
- f,
55
+ k,
56
56
  {
57
57
  clickFn: () => _(!e),
58
58
  isOpen: e,
59
59
  theme: "color-white"
60
60
  }
61
61
  ) }),
62
- /* @__PURE__ */ n("div", { className: a.navbar__links, children: c.map((o, k) => /* @__PURE__ */ n(
62
+ /* @__PURE__ */ n("div", { className: a.navbar__links, children: c.map((r, p) => /* @__PURE__ */ n(
63
63
  "a",
64
64
  {
65
65
  className: `${a.navbar__link}`,
66
- href: o.value,
67
- children: o.label
66
+ href: r.value,
67
+ children: r.label
68
68
  },
69
- `navbar-d-${o.value}`
69
+ `navbar-d-${r.value}`
70
70
  )) }),
71
- e && N.createPortal(
71
+ e && w.createPortal(
72
72
  /* @__PURE__ */ n(
73
- D,
73
+ N,
74
74
  {
75
75
  closeFn: () => _(!1),
76
76
  hideClose: !0,
77
77
  background: M.white,
78
78
  fullscreen: !0,
79
- children: /* @__PURE__ */ n(x, { color: "color-white", children: /* @__PURE__ */ n("div", { className: a.navbar__mobileDialog, children: c.map((o, k) => /* @__PURE__ */ n(
79
+ children: /* @__PURE__ */ n(D, { color: "color-white", children: /* @__PURE__ */ n("div", { className: a.navbar__mobileDialog, children: c.map((r, p) => /* @__PURE__ */ n(
80
80
  "a",
81
81
  {
82
82
  className: a.navbar__link,
83
- href: o.value,
84
- children: o.label
83
+ href: r.value,
84
+ children: r.label
85
85
  },
86
- `m-${o.value}`
86
+ `m-${r.value}`
87
87
  )) }) })
88
88
  }
89
89
  ),
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
3
3
  import { useReveal as i } from "../../hooks/useReveal.js";
4
4
  import { appleReveal as m } from "../../presets/animations.js";
5
5
  import _ from "../../utils/parse.js";
6
- import '../../assets/Note.css';const p = "_salutation_1azns_2", d = "_opener_1azns_48", u = "_from_1azns_53", f = "_body_1azns_95", N = "_close_1azns_147", h = "_signature_1azns_194", s = {
6
+ import '../../assets/Note.css';const p = "_salutation_69fus_2", u = "_opener_69fus_48", f = "_from_69fus_53", d = "_body_69fus_100", N = "_close_69fus_152", h = "_signature_69fus_199", s = {
7
7
  salutation: p,
8
- opener: d,
9
- from: u,
10
- body: f,
8
+ opener: u,
9
+ from: f,
10
+ body: d,
11
11
  close: N,
12
12
  signature: h
13
- }, v = ({ salutation: o, from: n, body: r, signature: t, close: c }) => {
13
+ }, x = ({ salutation: a, from: n, body: r, signature: t, close: c }) => {
14
14
  const l = i(m);
15
- return /* @__PURE__ */ a("div", { className: s.note, ref: l, children: [
16
- /* @__PURE__ */ a("p", { className: s.salutation, children: [
17
- /* @__PURE__ */ a("span", { className: s.opener, children: [
18
- o,
15
+ return /* @__PURE__ */ o("div", { className: s.note, ref: l, children: [
16
+ /* @__PURE__ */ o("p", { className: s.salutation, children: [
17
+ /* @__PURE__ */ o("span", { className: s.opener, children: [
18
+ a,
19
19
  " "
20
20
  ] }),
21
21
  /* @__PURE__ */ e("span", { className: s.from, children: n })
@@ -26,5 +26,5 @@ import '../../assets/Note.css';const p = "_salutation_1azns_2", d = "_opener_1az
26
26
  ] });
27
27
  };
28
28
  export {
29
- v as default
29
+ x as default
30
30
  };
@@ -1,24 +1,24 @@
1
1
  "use client";
2
2
  import { jsxs as p, jsx as o } from "react/jsx-runtime";
3
3
  import y from "../../utils/parse.js";
4
- import { useRef as e, useEffect as q } from "react";
4
+ import { useRef as e, useEffect as z } from "react";
5
5
  import { g as t } from "../../index-BmTo-IS6.js";
6
- import { S as N } from "../../ScrollTrigger-6HnikosL.js";
7
- import B from "../../hooks/useResize.js";
8
- import '../../assets/OverlayHero.css';const T = "_hero_qu85a_5", S = "_heroBg_qu85a_34", j = "_overlay_qu85a_42", k = "_eyebrow_qu85a_69", E = "_title_qu85a_76", P = "_subtitle_qu85a_94", r = {
9
- hero: T,
10
- heroBg: S,
11
- overlay: j,
12
- eyebrow: k,
13
- title: E,
14
- subtitle: P
6
+ import { S as q } from "../../ScrollTrigger-6HnikosL.js";
7
+ import N from "../../hooks/useResize.js";
8
+ import '../../assets/OverlayHero.css';const B = "_hero_fbz3q_5", T = "_heroBg_fbz3q_34", S = "_overlay_fbz3q_42", j = "_eyebrow_fbz3q_69", k = "_title_fbz3q_76", E = "_subtitle_fbz3q_94", r = {
9
+ hero: B,
10
+ heroBg: T,
11
+ overlay: S,
12
+ eyebrow: j,
13
+ title: k,
14
+ subtitle: E
15
15
  };
16
- t.registerPlugin(N);
17
- const $ = ({ text: W, image: d, pos: g, eyebrow: c, title: h, subtitle: a }) => {
18
- const { innerWidth: _ } = B(), s = e(null), n = e(), l = e(null), i = e(null), u = e(null), f = e(null);
19
- return q(() => {
20
- const b = s.current, v = l.current, w = window.matchMedia("(prefers-reduced-motion: reduce)").matches, m = n.current;
21
- if (w || _ < 390) return;
16
+ t.registerPlugin(q);
17
+ const $ = ({ text: P, image: d, pos: g, eyebrow: c, title: b, subtitle: n }) => {
18
+ const { innerWidth: h } = N(), s = e(null), l = e(), a = e(null), i = e(null), u = e(null), f = e(null);
19
+ return z(() => {
20
+ const _ = s.current, v = a.current, w = window.matchMedia("(prefers-reduced-motion: reduce)").matches, m = l.current;
21
+ if (w || h < 390) return;
22
22
  const R = t.context(() => {
23
23
  t.fromTo(
24
24
  v,
@@ -45,7 +45,7 @@ const $ = ({ text: W, image: d, pos: g, eyebrow: c, title: h, subtitle: a }) =>
45
45
  y: "15%",
46
46
  ease: "none",
47
47
  scrollTrigger: {
48
- trigger: b,
48
+ trigger: _,
49
49
  start: "top top",
50
50
  end: "bottom top",
51
51
  scrub: !0
@@ -54,11 +54,11 @@ const $ = ({ text: W, image: d, pos: g, eyebrow: c, title: h, subtitle: a }) =>
54
54
  }, s);
55
55
  return () => R.revert();
56
56
  }, []), /* @__PURE__ */ p("div", { ref: s, className: r.hero, children: [
57
- /* @__PURE__ */ o("div", { ref: n, className: r.heroBg, style: { backgroundImage: `url(${d})`, backgroundPosition: g, opacity: 0 } }),
58
- /* @__PURE__ */ p("div", { ref: l, className: r.overlay, style: { opacity: 0 }, children: [
57
+ /* @__PURE__ */ o("div", { ref: l, className: r.heroBg, style: { backgroundImage: `url(${d})`, backgroundPosition: g, opacity: 0 } }),
58
+ /* @__PURE__ */ p("div", { ref: a, className: r.overlay, style: { opacity: 0 }, children: [
59
59
  c && /* @__PURE__ */ o("p", { ref: i, className: r.eyebrow, children: c }),
60
- /* @__PURE__ */ o("h1", { ref: u, className: r.title, children: y(h) }),
61
- a && /* @__PURE__ */ o("div", { ref: f, className: r.subtitle, children: y(a) })
60
+ /* @__PURE__ */ o("h1", { ref: u, className: r.title, children: y(b) }),
61
+ n && /* @__PURE__ */ o("div", { ref: f, className: r.subtitle, children: y(n) })
62
62
  ] })
63
63
  ] });
64
64
  };
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
3
- import '../../assets/PageContainer.css';const s = "_container__inner_bnzqv_2", l = "_removePadding_bnzqv_55", m = "_container__body_bnzqv_59", v = "_container__copy_bnzqv_74", n = {
3
+ import '../../assets/PageContainer.css';const s = "_container__inner_18w4z_2", l = "_removePadding_18w4z_55", m = "_container__body_18w4z_59", y = "_container__copy_18w4z_74", n = {
4
4
  container__inner: s,
5
5
  removePadding: l,
6
6
  container__body: m,
7
- container__copy: v
8
- }, h = ({
9
- heroImage: y,
7
+ container__copy: y
8
+ }, P = ({
9
+ heroImage: g,
10
10
  pageTitle: r,
11
11
  children: t,
12
- hero: b,
12
+ hero: h,
13
13
  copy: e,
14
14
  excludePadding: c = []
15
15
  }) => {
@@ -35,5 +35,5 @@ import '../../assets/PageContainer.css';const s = "_container__inner_bnzqv_2", l
35
35
  ] });
36
36
  };
37
37
  export {
38
- h as default
38
+ P as default
39
39
  };