@courtneyring/components-library 1.0.31 → 1.0.32

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 (79) hide show
  1. package/dist/AccordionItem-CDN4L4a7.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/Countdown.css +1 -1
  8. package/dist/assets/Fifty.css +1 -1
  9. package/dist/assets/FloatingWordsHero.css +1 -1
  10. package/dist/assets/Footer.css +1 -1
  11. package/dist/assets/GenericOverlay.css +1 -1
  12. package/dist/assets/IconDetail.css +1 -1
  13. package/dist/assets/ImageTextBlock.css +1 -1
  14. package/dist/assets/List.css +1 -1
  15. package/dist/assets/Map.css +1 -1
  16. package/dist/assets/MenuButton.css +1 -1
  17. package/dist/assets/Navbar.css +1 -1
  18. package/dist/assets/Note.css +1 -1
  19. package/dist/assets/OverlayHero.css +1 -1
  20. package/dist/assets/PageContainer.css +1 -1
  21. package/dist/assets/PinnedImage.css +1 -1
  22. package/dist/assets/PromoGroup.css +1 -1
  23. package/dist/assets/RSVPEmbed.css +1 -1
  24. package/dist/assets/Schedule.css +1 -1
  25. package/dist/assets/TextBlock.css +1 -1
  26. package/dist/components/Accordion/Accordion.js +21 -14
  27. package/dist/components/Accordion/AccordionItem.js +1 -1
  28. package/dist/components/Background/Background.js +6 -6
  29. package/dist/components/Banner/Banner.js +15 -15
  30. package/dist/components/Button/Button.js +29 -29
  31. package/dist/components/ButtonGroup/ButtonGroup.js +5 -4
  32. package/dist/components/Container/Container.js +13 -11
  33. package/dist/components/Countdown/Countdown.js +1 -1
  34. package/dist/components/Fifty/Fifty.js +24 -23
  35. package/dist/components/FloatingWordsHero/FloatingWordsHero.js +55 -25
  36. package/dist/components/Footer/Footer.js +6 -6
  37. package/dist/components/GenericOverlay/GenericOverlay.js +14 -14
  38. package/dist/components/IconDetail/IconDetail.js +3 -3
  39. package/dist/components/ImageTextBlock/ImageTextBlock.js +24 -23
  40. package/dist/components/List/List.js +12 -12
  41. package/dist/components/Map/Map.js +25 -23
  42. package/dist/components/MenuButton/MenuButton.js +21 -21
  43. package/dist/components/Navbar/Navbar.js +40 -40
  44. package/dist/components/Note/Note.js +14 -14
  45. package/dist/components/OverlayHero/OverlayHero.js +63 -21
  46. package/dist/components/PageContainer/PageContainer.js +6 -6
  47. package/dist/components/PinnedImage/PinnedImage.js +36 -36
  48. package/dist/components/PromoGroup/PromoGroup.js +46 -44
  49. package/dist/components/RSVPEmbed/RSVPEmbed.js +3 -3
  50. package/dist/components/Schedule/Schedule.js +12 -12
  51. package/dist/components/TextBlock/TextBlock.js +18 -18
  52. package/dist/components/Toolbar/Toolbar.js +16 -16
  53. package/dist/hooks/useImageReveal 4.js +55 -0
  54. package/dist/hooks/useImageReveal.js +55 -0
  55. package/dist/hooks/{useResize 2.js → useResize 4.js } +11 -7
  56. package/dist/hooks/useResize.js +11 -7
  57. package/dist/index 2.js +50 -0
  58. package/dist/index-BmTo-IS6 4.js +2018 -0
  59. package/dist/index-DyQs5aC7 4.js +388 -0
  60. package/dist/index-K0WrPJ_C 4.js +29 -0
  61. package/dist/index.modern-DPbS1w7M 4.js +1443 -0
  62. package/dist/presets/{animations 3.js → animations 4.js } +7 -2
  63. package/dist/presets/animations.js +7 -2
  64. package/package.json +3 -2
  65. package/src/styles/_fonts.scss +4 -7
  66. package/src/styles/_reveal.scss +93 -0
  67. package/src/styles/_sizes.scss +1 -0
  68. package/dist/AccordionItem-BlVXPxrh.js +0 -40
  69. /package/dist/hooks/{useActiveSection 2.js → useActiveSection 4.js} +0 -0
  70. /package/dist/hooks/{useFadeIn 2.js → useFadeIn 4.js} +0 -0
  71. /package/dist/hooks/{useNavColor 2.js → useNavColor 4.js} +0 -0
  72. /package/dist/hooks/{useRepeatable 2.js → useRepeatable 4.js} +0 -0
  73. /package/dist/hooks/{useResponsive 2.js → useResponsive 4.js} +0 -0
  74. /package/dist/hooks/{useReveal 2.js → useReveal 4.js} +0 -0
  75. /package/dist/hooks/{useStagger 2.js → useStagger 4.js} +0 -0
  76. /package/dist/{index-B2JRaoNz 2.js → index-B2JRaoNz 4.js} +0 -0
  77. /package/dist/utils/{breakpoints 3.js → breakpoints 4.js} +0 -0
  78. /package/dist/utils/{gsapSetup 3.js → gsapSetup 4.js} +0 -0
  79. /package/dist/utils/{parse 3.js → parse 4.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as _, jsx as e } from "react/jsx-runtime";
3
3
  import "../../hooks/useFadeIn.js";
4
- import f from "../Button/Button.js";
5
- import { Fragment as _ } from "react";
6
- import { useReveal as a } from "../../hooks/useReveal.js";
4
+ import y from "../Button/Button.js";
5
+ import { Fragment as p } from "react";
6
+ import { useReveal as r } from "../../hooks/useReveal.js";
7
7
  import { appleReveal as n } from "../../presets/animations.js";
8
- import '../../assets/Banner.css';const p = "_banner_1efbb_1", v = "_header_1efbb_8", h = "_body_1efbb_55", y = "_ctas_1efbb_100", r = {
9
- banner: p,
8
+ import '../../assets/Banner.css';const f = "_banner_a5qcy_1", v = "_header_a5qcy_8", b = "_body_a5qcy_55", h = "_ctas_a5qcy_99", a = {
9
+ banner: f,
10
10
  header: v,
11
- body: h,
12
- ctas: y
13
- }, g = ({ header: s, body: o, ctas: t }) => {
14
- const c = a(n), d = a({ ...n, delay: 0.2 }), l = a({ ...n, delay: 0.4 });
15
- return /* @__PURE__ */ i("div", { className: r.banner, children: [
16
- s && /* @__PURE__ */ e("div", { className: r.header, ref: c, children: s }),
17
- o && /* @__PURE__ */ e("div", { className: r.body, ref: d, children: o }),
18
- t && /* @__PURE__ */ e("div", { className: r.ctas, ref: l, children: t.map((m, b) => /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(f, { ...m }) }, `button-${b}`)) })
11
+ body: b,
12
+ ctas: h
13
+ }, R = ({ header: s, body: o, ctas: t }) => {
14
+ const c = r(n), d = r({ ...n, delay: 0.2 }), l = r({ ...n, delay: 0.4 });
15
+ return /* @__PURE__ */ _("div", { className: a.banner, children: [
16
+ s && /* @__PURE__ */ e("div", { className: a.header, ref: c, children: s }),
17
+ o && /* @__PURE__ */ e("div", { className: a.body, ref: d, children: o }),
18
+ t && /* @__PURE__ */ e("div", { className: a.ctas, ref: l, children: t.map((m, i) => /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(y, { ...m }) }, `button-${i}`)) })
19
19
  ] });
20
20
  };
21
21
  export {
22
- g as default
22
+ R as default
23
23
  };
@@ -1,41 +1,41 @@
1
1
  "use client";
2
- import { jsxs as u, jsx as f } from "react/jsx-runtime";
3
- import { c as b } from "../../index-B2JRaoNz.js";
4
- import '../../assets/Button.css';const h = "_button_mr1sl_1", p = "_hollow_mr1sl_109", k = "_filled_mr1sl_112", w = "_link_mr1sl_148", l = {
5
- button: h,
6
- hollow: p,
7
- filled: k,
8
- link: w
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
9
  }, g = ({
10
- children: e,
10
+ children: c,
11
11
  fn: o,
12
- href: s,
13
- target: c,
14
- hollow: m = !1,
15
- variation: t = "color-primary-dark",
16
- textDecoration: _,
17
- label: i,
12
+ href: t,
13
+ target: r,
14
+ hollow: _ = !1,
15
+ variation: s = "color-primary-dark",
16
+ textDecoration: i,
17
+ label: d,
18
18
  value: n,
19
- icon: r,
20
- onClick: a,
21
- className: d
19
+ icon: a,
20
+ onClick: e,
21
+ className: m
22
22
  }) => /* @__PURE__ */ u(
23
- s || n ? "a" : "button",
23
+ t || n ? "a" : "button",
24
24
  {
25
- href: s || n,
26
- onClick: o || a ? o || a : null,
27
- target: c,
28
- className: b(
25
+ href: t || n,
26
+ onClick: o || e ? o || e : null,
27
+ target: r,
28
+ className: f(
29
29
  l.button,
30
- m ? l.hollow : l.filled,
31
- l[t],
32
- d
30
+ _ ? l.hollow : l.filled,
31
+ l[s],
32
+ m
33
33
  ),
34
- style: { textDecoration: _ },
35
- "data-color": t,
34
+ style: { textDecoration: i },
35
+ "data-color": s,
36
36
  children: [
37
- e || i,
38
- r && /* @__PURE__ */ f("span", { className: "material-symbols-outlined", children: r })
37
+ c || d,
38
+ a && /* @__PURE__ */ k("span", { className: "material-symbols-outlined", children: a })
39
39
  ]
40
40
  }
41
41
  );
@@ -1,10 +1,11 @@
1
1
  "use client";
2
2
  import { jsx as u } from "react/jsx-runtime";
3
3
  import { createElement as e } from "react";
4
- import s from "../Button/Button.js";
5
- import '../../assets/ButtonGroup.css';const p = "_buttonGroup_1w1h9_1", m = {
4
+ import m from "../Button/Button.js";
5
+ import { c as n } from "../../index-B2JRaoNz.js";
6
+ import '../../assets/ButtonGroup.css';const p = "_buttonGroup_1w1h9_1", a = {
6
7
  buttonGroup: p
7
- }, l = ({ ctas: t, alignment: o }) => /* @__PURE__ */ u("div", { className: m.buttonGroup, style: { justifyContent: o }, children: t.map((r, n) => /* @__PURE__ */ e(s, { ...r, key: `cta-${n}` })) });
8
+ }, G = ({ ctas: t, className: o }) => /* @__PURE__ */ u("div", { className: n(a.buttonGroup, o), children: t.map((r, s) => /* @__PURE__ */ e(m, { ...r, key: `cta-${s}` })) });
8
9
  export {
9
- l as default
10
+ G as default
10
11
  };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
3
  import { c as t } from "../../index-B2JRaoNz.js";
4
- import { useRef as u } from "react";
5
- import '../../assets/Container.css';const y = "_container_19k16_1", C = "_innerContainer_19k16_36", h = "_styleless_19k16_127", e = {
6
- container: y,
7
- innerContainer: C,
8
- styleless: h
9
- }, x = ({
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
10
  color: s,
11
11
  children: r,
12
12
  maxWidth: a,
@@ -16,25 +16,27 @@ import '../../assets/Container.css';const y = "_container_19k16_1", C = "_innerC
16
16
  fullHeight: c,
17
17
  center: m,
18
18
  hide: d,
19
- ..._
19
+ id: _,
20
+ ...f
20
21
  }) => {
21
- const f = u();
22
+ const h = p();
22
23
  if (!d)
23
24
  return /* @__PURE__ */ n(
24
25
  "div",
25
26
  {
26
27
  className: t(e.container, o && e.styleless),
27
28
  "data-color": s,
28
- ref: f,
29
+ ref: h,
29
30
  style: { backgroundImage: `url(${i})`, backgroundPosition: l },
30
31
  "data-full-height": c,
31
32
  "data-center": m,
32
- ..._,
33
+ ...f,
33
34
  children: /* @__PURE__ */ n(
34
35
  "div",
35
36
  {
36
37
  className: t(e.innerContainer),
37
38
  "data-max-width": a,
39
+ id: _,
38
40
  children: r
39
41
  }
40
42
  )
@@ -42,5 +44,5 @@ import '../../assets/Container.css';const y = "_container_19k16_1", C = "_innerC
42
44
  );
43
45
  };
44
46
  export {
45
- x as default
47
+ z as default
46
48
  };
@@ -3,7 +3,7 @@ import { jsx as n, jsxs as f } from "react/jsx-runtime";
3
3
  import { useState as d, useEffect as m } from "react";
4
4
  import { useStagger as p } from "../../hooks/useStagger.js";
5
5
  import { appleStagger as o } from "../../presets/animations.js";
6
- import '../../assets/Countdown.css';const h = "_countdown_32v13_1", g = "_block_32v13_12", r = {
6
+ import '../../assets/Countdown.css';const h = "_countdown_px87l_1", g = "_block_px87l_12", r = {
7
7
  countdown: h,
8
8
  block: g
9
9
  }, k = ({ targetDate: s }) => {
@@ -1,33 +1,34 @@
1
1
  "use client";
2
2
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
3
- import u from "../Button/Button.js";
3
+ import N from "../Button/Button.js";
4
4
  import { c as f } from "../../index-B2JRaoNz.js";
5
5
  import { Fragment as d } from "react";
6
- import j from "../IconDetail/IconDetail.js";
7
- import b from "../../utils/parse.js";
8
- import { useReveal as s } from "../../hooks/useReveal.js";
9
- import { appleReveal as n, appleFade as B } from "../../presets/animations.js";
10
- import '../../assets/Fifty.css';const D = "_content_1ne41_2", I = "_fifty_1ne41_41", P = "_contentFirst_1ne41_78", k = "_reverse_1ne41_82", q = "_image_1ne41_85", w = "_text_1ne41_148", z = "_ctas_1ne41_206", A = "_details_1ne41_224", t = {
11
- content: D,
12
- fifty: I,
13
- contentFirst: P,
14
- reverse: k,
15
- image: q,
16
- text: w,
6
+ import F from "../IconDetail/IconDetail.js";
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";
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 = {
12
+ content: b,
13
+ fifty: B,
14
+ contentFirst: D,
15
+ reverse: P,
16
+ image: k,
17
+ text: q,
17
18
  ctas: z,
18
19
  details: A
19
- }, O = ({
20
- heading: o,
21
- body: i,
20
+ }, Q = ({
21
+ heading: i,
22
+ body: n,
22
23
  ctas: r,
23
24
  color: _,
24
25
  image: v,
25
26
  reverse: p,
26
- pos: h,
27
+ pos: u,
27
28
  details: l,
28
29
  contentFirst: R = !0
29
30
  }) => {
30
- const y = s(B), g = s(n), x = s({ ...n, delay: 0.2 }), F = s({ ...n, delay: 0.4 }), N = s({ ...n, delay: 0.4 });
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
32
  return /* @__PURE__ */ m(
32
33
  "div",
33
34
  {
@@ -39,16 +40,16 @@ import '../../assets/Fifty.css';const D = "_content_1ne41_2", I = "_fifty_1ne41_
39
40
  "data-color": _,
40
41
  children: [
41
42
  /* @__PURE__ */ e("div", { className: f(t.content), children: /* @__PURE__ */ m("div", { className: t.text, children: [
42
- o && /* @__PURE__ */ e("h2", { ref: g, children: o }),
43
- i && /* @__PURE__ */ e("div", { ref: x, children: b(i) }),
44
- r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref: F, children: r.map((a, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(u, { ...a }) }, c)) }),
45
- /* @__PURE__ */ e("div", { className: t.details, ref: N, children: l && l.map((a, c) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(j, { ...a }) }, c)) })
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)) })
46
47
  ] }) }),
47
- /* @__PURE__ */ e("div", { className: t.image, ref: y, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: h } }) })
48
+ /* @__PURE__ */ e("div", { className: t.image, ref: h, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: u } }) })
48
49
  ]
49
50
  }
50
51
  );
51
52
  };
52
53
  export {
53
- O as default
54
+ Q as default
54
55
  };
@@ -1,30 +1,60 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as d } from "react/jsx-runtime";
3
- import r from "../../utils/parse.js";
2
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
+ import u from "../../utils/parse.js";
4
4
  import "../../index-B2JRaoNz.js";
5
- import h from "../ButtonGroup/ButtonGroup.js";
6
- import _ from "../../hooks/useResize.js";
7
- import '../../assets/FloatingWordsHero.css';const u = "_hero_k3lib_1", b = "_content_k3lib_9", p = "_title_k3lib_16", f = "_subtitle_k3lib_26", e = {
8
- hero: u,
9
- content: b,
10
- title: p,
11
- subtitle: f
12
- }, H = ({ image: l, pos: c, eyebrow: n, title: a, subtitle: o, cta: g, contentPos: k, ctas: i }) => {
13
- const { innerWidth: s, innerHeight: m } = _();
14
- return /* @__PURE__ */ t(
15
- "div",
16
- {
17
- className: e.hero,
18
- style: { backgroundImage: `url(${l})`, backgroundPosition: c },
19
- children: /* @__PURE__ */ d("div", { className: e.content, children: [
20
- n && /* @__PURE__ */ t("p", { className: e.eyebrow, children: n }),
21
- /* @__PURE__ */ t("h1", { className: e.title, children: r(a) }),
22
- o && /* @__PURE__ */ t("div", { className: e.subtitle, children: r(o) }),
23
- i && /* @__PURE__ */ t(h, { ctas: i, alignment: s >= 800 && s > m ? "flex-end" : "center" })
24
- ] })
25
- }
26
- );
5
+ import w from "../ButtonGroup/ButtonGroup.js";
6
+ import b from "../../hooks/useResize.js";
7
+ import { useRef as a, useEffect as v } from "react";
8
+ import { g as o } from "../../index-BmTo-IS6.js";
9
+ import { S as N } from "../../ScrollTrigger-6HnikosL.js";
10
+ import '../../assets/FloatingWordsHero.css';const k = "_hero_ug1ep_1", x = "_buttonGroup_ug1ep_28", B = "_heroBg_ug1ep_32", C = "_content_ug1ep_40", R = "_title_ug1ep_48", G = "_subtitle_ug1ep_62", S = "_arrow_ug1ep_80", y = "_arrowCircle_ug1ep_91", r = {
11
+ hero: k,
12
+ buttonGroup: x,
13
+ heroBg: B,
14
+ content: C,
15
+ title: R,
16
+ subtitle: G,
17
+ arrow: S,
18
+ arrowCircle: y
19
+ };
20
+ o.registerPlugin(N);
21
+ const $ = ({ image: d, pos: p, eyebrow: n, title: g, subtitle: s, cta: W, contentPos: j, ctas: c, scrollToId: m }) => {
22
+ const { innerWidth: I, innerHeight: P } = b(), t = a(null), i = a(null), h = () => {
23
+ document.getElementById(m).scrollIntoView({ behavior: "smooth" });
24
+ };
25
+ return v(() => {
26
+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
27
+ const f = o.context(() => {
28
+ o.to(i.current, {
29
+ y: "15%",
30
+ ease: "none",
31
+ scrollTrigger: {
32
+ trigger: t.current,
33
+ start: "top top",
34
+ end: "bottom top",
35
+ scrub: !0
36
+ }
37
+ });
38
+ }, t);
39
+ return () => f.revert();
40
+ }, []), /* @__PURE__ */ l("div", { ref: t, className: r.hero, children: [
41
+ /* @__PURE__ */ e(
42
+ "div",
43
+ {
44
+ ref: i,
45
+ className: r.heroBg,
46
+ style: { backgroundImage: `url(${d})`, backgroundPosition: p }
47
+ }
48
+ ),
49
+ /* @__PURE__ */ l("div", { className: r.content, children: [
50
+ n && /* @__PURE__ */ e("p", { className: r.eyebrow, children: n }),
51
+ /* @__PURE__ */ e("h1", { className: r.title, children: u(g) }),
52
+ s && /* @__PURE__ */ e("div", { className: r.subtitle, children: u(s) }),
53
+ c && /* @__PURE__ */ e(w, { ctas: c, className: r.buttonGroup })
54
+ ] }),
55
+ /* @__PURE__ */ e("div", { className: r.arrow, onClick: h, children: /* @__PURE__ */ e("div", { className: r.arrowCircle, children: /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ e("path", { d: "M6 9l6 6 6-6" }) }) }) })
56
+ ] });
27
57
  };
28
58
  export {
29
- H as default
59
+ $ as default
30
60
  };
@@ -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_u0snx_2", c = "_image_u0snx_50", n = "_text_u0snx_55", t = {
3
+ import '../../assets/Footer.css';const a = "_footer_141jj_2", c = "_image_141jj_58", m = "_text_141jj_63", t = {
4
4
  footer: a,
5
5
  image: c,
6
- text: n
7
- }, x = ({ 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 })
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 })
10
10
  ] });
11
11
  export {
12
- x as default
12
+ i as default
13
13
  };
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as n } 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_e8gta_2", d = "_content_e8gta_53", v = "_ctas_e8gta_143", t = {
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 = {
6
6
  overlay: i,
7
- content: d,
8
- ctas: v
9
- }, f = ({ header: r, body: a, primaryCta: c, secondaryCta: s }) => /* @__PURE__ */ e("div", { className: t.overlay, children: /* @__PURE__ */ n("div", { className: t.innerContainer, children: [
10
- /* @__PURE__ */ e("h2", { children: r }),
11
- /* @__PURE__ */ n("div", { className: t.content, children: [
12
- /* @__PURE__ */ e("div", { children: l(a) }),
13
- /* @__PURE__ */ n("div", { className: t.ctas, children: [
14
- c && /* @__PURE__ */ e(o, { ...c }),
15
- s && /* @__PURE__ */ e(o, { ...s })
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 })
16
16
  ] })
17
17
  ] })
18
18
  ] }) });
19
19
  export {
20
- f as default
20
+ p as default
21
21
  };
@@ -2,9 +2,9 @@
2
2
  import { jsxs as i, jsx as l } from "react/jsx-runtime";
3
3
  import o from "../../utils/parse.js";
4
4
  import { c } from "../../index-B2JRaoNz.js";
5
- import '../../assets/IconDetail.css';const n = "_detail_ntq0w_1", r = "_label_ntq0w_58", a = {
6
- detail: n,
7
- label: r
5
+ import '../../assets/IconDetail.css';const r = "_detail_1iupq_1", n = "_label_1iupq_57", a = {
6
+ detail: r,
7
+ label: n
8
8
  }, b = ({ icon: s, text: e, href: t }) => /* @__PURE__ */ i(t ? "a" : "div", { className: a.detail, children: [
9
9
  /* @__PURE__ */ l("span", { className: c(a.icon, "material-symbols-outlined"), children: s }),
10
10
  /* @__PURE__ */ l("div", { className: a.label, children: o(e) })
@@ -1,29 +1,30 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as o, Fragment as f } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as s, Fragment as v } from "react/jsx-runtime";
3
3
  import i from "../Button/Button.js";
4
- import { c as h } from "../../index-B2JRaoNz.js";
4
+ import { c as f } from "../../index-B2JRaoNz.js";
5
5
  import "../../hooks/useFadeIn.js";
6
- import j from "../../utils/parse.js";
7
- import { Children as b } from "react";
8
- import { appleReveal as g, appleFade as N } from "../../presets/animations.js";
9
- import { useReveal as l } from "../../hooks/useReveal.js";
10
- import '../../assets/ImageTextBlock.css';const k = "_block_js557_1", u = "_container_js557_5", x = "_reverse_js557_11", y = "_content_js557_15", R = "_header_js557_20", B = "_body_js557_68", F = "_ctas_js557_121", I = "_image_js557_125", s = {
11
- block: k,
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";
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
12
  container: u,
13
- reverse: x,
14
- content: y,
15
- header: R,
16
- body: B,
17
- ctas: F,
18
- image: I
19
- }, E = ({ image: m, header: t, body: c, primaryCta: r, secondaryCta: a, reverse: _, children: n, imagePos: d }) => {
20
- const v = l(N), p = l({ ...g, delay: 0.2 });
21
- return /* @__PURE__ */ e("div", { className: h(s.block, _ && s.reverse), children: /* @__PURE__ */ o("div", { className: s.container, children: [
22
- /* @__PURE__ */ e("div", { className: s.image, ref: v, children: /* @__PURE__ */ e("img", { src: m, style: { objectPosition: d } }) }),
23
- /* @__PURE__ */ o("div", { className: s.content, ref: p, children: [
24
- t && /* @__PURE__ */ e("h2", { className: s.header, children: t }),
25
- c && /* @__PURE__ */ e("div", { className: s.body, children: j(c) }),
26
- b.count(n) > 0 ? n : /* @__PURE__ */ e(f, { children: /* @__PURE__ */ o("div", { className: s.ctas, children: [
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: [
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: [
27
28
  r && /* @__PURE__ */ e(i, { ...r }),
28
29
  a && /* @__PURE__ */ e(i, { ...a })
29
30
  ] }) })
@@ -31,5 +32,5 @@ import '../../assets/ImageTextBlock.css';const k = "_block_js557_1", u = "_conta
31
32
  ] }) });
32
33
  };
33
34
  export {
34
- E as default
35
+ G as default
35
36
  };
@@ -1,20 +1,20 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
3
- import o from "../Icon/Icon.js";
4
- import '../../assets/List.css';const r = "_item_upmbn_1", d = "_emphasis_upmbn_56", l = "_body_upmbn_105", s = {
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
5
  item: r,
6
6
  emphasis: d,
7
7
  body: l
8
- }, b = ({ icon: t, items: a, header: c }) => (new URL((/* @__PURE__ */ Object.assign({}))[`./assets/icons/${t}.svg`], import.meta.url).href, /* @__PURE__ */ i("div", { className: s.list, children: [
9
- /* @__PURE__ */ e("h2", { children: c }),
10
- a.map((m, n) => /* @__PURE__ */ i("div", { className: s.item, children: [
11
- /* @__PURE__ */ e(o, { type: "checkmark" }),
12
- /* @__PURE__ */ i("div", { className: s.content, children: [
13
- /* @__PURE__ */ e("p", { className: s.emphasis, children: m.header }),
14
- /* @__PURE__ */ e("p", { className: s.body, children: m.body })
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 })
15
15
  ] })
16
- ] }, `item-${n}`))
16
+ ] }, `item-${o}`))
17
17
  ] }));
18
18
  export {
19
- b as default
19
+ _ as default
20
20
  };
@@ -1,41 +1,43 @@
1
1
  "use client";
2
- import { jsxs as m, jsx as a } from "react/jsx-runtime";
3
- import { A as _, M as p, a as d } from "../../index.modern-DPbS1w7M.js";
2
+ import { jsxs as p, jsx as o } from "react/jsx-runtime";
3
+ import { A as _, M as m, a as d } from "../../index.modern-DPbS1w7M.js";
4
4
  import { c as b } from "../../index-B2JRaoNz.js";
5
- import u from "../Button/Button.js";
6
- import '../../assets/Map.css';const k = "_container_1i0kz_1", f = "_button_1i0kz_7", z = "_map_1i0kz_12", v = "_marker_1i0kz_18", N = "_pin_1i0kz_18", h = "_above_1i0kz_27", M = "_below_1i0kz_44", o = {
7
- container: k,
8
- button: f,
9
- map: z,
10
- marker: v,
11
- pin: N,
12
- above: h,
13
- below: M
14
- }, P = ({ apiKey: e, mapId: s, defaultZoom: t, defaultCenter: i, markers: r, cta: l }) => /* @__PURE__ */ m("div", { className: o.container, children: [
15
- /* @__PURE__ */ a(_, { apiKey: e, children: /* @__PURE__ */ a(
16
- p,
5
+ import f from "../Button/Button.js";
6
+ import '../../assets/Map.css';const u = "_container_p2z63_1", z = "_button_p2z63_7", v = "_map_p2z63_12", N = "_fade_p2z63_18", h = "_marker_p2z63_26", M = "_pin_p2z63_26", g = "_above_p2z63_35", w = "_below_p2z63_52", a = {
7
+ container: u,
8
+ button: z,
9
+ map: v,
10
+ fade: N,
11
+ marker: h,
12
+ pin: M,
13
+ above: g,
14
+ below: w
15
+ }, j = ({ apiKey: n, mapId: s, defaultZoom: t, defaultCenter: r, markers: l, cta: c }) => /* @__PURE__ */ p("div", { className: a.container, children: [
16
+ /* @__PURE__ */ o(_, { apiKey: n, children: /* @__PURE__ */ o(
17
+ m,
17
18
  {
18
- className: o.map,
19
+ className: a.map,
19
20
  defaultZoom: t,
20
21
  mapId: s,
21
22
  gestureHandling: "none",
22
- defaultCenter: i,
23
+ defaultCenter: r,
23
24
  zoomControl: !1,
24
25
  panControl: !1,
25
26
  disableDefaultUI: !0,
26
- children: r.map((n, c) => /* @__PURE__ */ a(
27
+ children: l.map((e, i) => /* @__PURE__ */ o(
27
28
  d,
28
29
  {
29
- position: n.position,
30
- className: b(o.marker, o[n.dialogPos]),
31
- children: /* @__PURE__ */ a("div", { className: o.pin, children: n.label })
30
+ position: e.position,
31
+ className: b(a.marker, a[e.dialogPos]),
32
+ children: /* @__PURE__ */ o("div", { className: a.pin, children: e.label })
32
33
  },
33
- `${c}-${n.label}`
34
+ `${i}-${e.label}`
34
35
  ))
35
36
  }
36
37
  ) }),
37
- /* @__PURE__ */ a(u, { ...l, className: o.button })
38
+ /* @__PURE__ */ o("div", { className: a.fade }),
39
+ /* @__PURE__ */ o(f, { ...c, className: a.button })
38
40
  ] });
39
41
  export {
40
- P as default
42
+ j as default
41
43
  };