@courtneyring/components-library 1.0.30 → 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 (107) hide show
  1. package/dist/{AccordionItem-DuHzStoZ.js → AccordionItem-CDN4L4a7.js} +11 -11
  2. package/dist/ScrollTrigger-6HnikosL.js +1086 -0
  3. package/dist/animations/FadeIn.js +8 -7
  4. package/dist/assets/AccordionItem.css +1 -1
  5. package/dist/assets/Background.css +1 -1
  6. package/dist/assets/Banner.css +1 -1
  7. package/dist/assets/Button.css +1 -1
  8. package/dist/assets/ButtonGroup.css +1 -0
  9. package/dist/assets/Container.css +1 -1
  10. package/dist/assets/Countdown.css +1 -1
  11. package/dist/assets/Fifty.css +1 -1
  12. package/dist/assets/FloatingWordsHero.css +1 -0
  13. package/dist/assets/Footer.css +1 -1
  14. package/dist/assets/GenericOverlay.css +1 -1
  15. package/dist/assets/IconDetail.css +1 -1
  16. package/dist/assets/ImageTextBlock.css +1 -1
  17. package/dist/assets/List.css +1 -1
  18. package/dist/assets/Map.css +1 -0
  19. package/dist/assets/Navbar.css +1 -1
  20. package/dist/assets/Note.css +1 -1
  21. package/dist/assets/OverlayHero.css +1 -1
  22. package/dist/assets/PageContainer.css +1 -1
  23. package/dist/assets/PinnedImage.css +1 -1
  24. package/dist/assets/PromoGroup.css +1 -1
  25. package/dist/assets/RSVPEmbed.css +1 -1
  26. package/dist/assets/Schedule.css +1 -1
  27. package/dist/assets/TextBlock.css +1 -1
  28. package/dist/components/Accordion/Accordion.js +21 -14
  29. package/dist/components/Accordion/AccordionItem.js +2 -2
  30. package/dist/components/Background/Background.js +24 -22
  31. package/dist/components/Banner/Banner.js +18 -16
  32. package/dist/components/BorderedBackground/BorderedBackground.js +1 -1
  33. package/dist/components/Button/Button.js +23 -16
  34. package/dist/components/ButtonGroup/ButtonGroup.js +11 -0
  35. package/dist/components/Container/Container.js +18 -15
  36. package/dist/components/Countdown/Countdown.js +35 -23
  37. package/dist/components/Fifty/Fifty.js +43 -34
  38. package/dist/components/FloatingWordsHero/FloatingWordsHero.js +60 -0
  39. package/dist/components/Footer/Footer.js +7 -7
  40. package/dist/components/GenericOverlay/GenericOverlay.js +7 -7
  41. package/dist/components/GridGallery/GridGallery.js +1 -1
  42. package/dist/components/HorizontalScrollImages/HorizontalScrollImages.js +13 -12
  43. package/dist/components/IconDetail/IconDetail.js +8 -8
  44. package/dist/components/ImageTextBlock/ImageTextBlock.js +27 -24
  45. package/dist/components/List/List.js +8 -8
  46. package/dist/components/Map/Map.js +43 -0
  47. package/dist/components/Map/Map.stories.js +16 -0
  48. package/dist/components/MenuButton/MenuButton.js +1 -1
  49. package/dist/components/Navbar/Navbar.js +61 -54
  50. package/dist/components/Note/Note.js +26 -22
  51. package/dist/components/Overlay/Overlay.js +1 -1
  52. package/dist/components/OverlayHero/OverlayHero.js +63 -21
  53. package/dist/components/PageContainer/PageContainer.js +6 -6
  54. package/dist/components/ParallaxImageGrid/ParallaxImageGrid.js +4 -3
  55. package/dist/components/PinnedImage/PinnedImage.js +34 -33
  56. package/dist/components/PromoGroup/PromoGroup.js +100 -51
  57. package/dist/components/RSVPEmbed/RSVPEmbed.js +9 -8
  58. package/dist/components/Schedule/Schedule.js +6 -6
  59. package/dist/components/Spacer/Spacer.js +6 -0
  60. package/dist/components/TextBlock/TextBlock.js +5 -5
  61. package/dist/components/Timeline/Timeline.js +12 -11
  62. package/dist/components/Toolbar/Toolbar.js +41 -13
  63. package/dist/hooks/useActiveSection 4.js +27 -0
  64. package/dist/hooks/useFadeIn 4.js +52 -0
  65. package/dist/hooks/useFadeIn.js +17 -16
  66. package/dist/hooks/useImageReveal 4.js +55 -0
  67. package/dist/hooks/useImageReveal.js +55 -0
  68. package/dist/hooks/useNavColor 4.js +15 -0
  69. package/dist/hooks/useRepeatable 4.js +32 -0
  70. package/dist/hooks/useResize 4.js +23 -0
  71. package/dist/hooks/useResize.js +11 -7
  72. package/dist/hooks/useResponsive 4.js +15 -0
  73. package/dist/hooks/useReveal 4.js +38 -0
  74. package/dist/hooks/useReveal.js +38 -0
  75. package/dist/hooks/useStagger 4.js +43 -0
  76. package/dist/hooks/useStagger.js +43 -0
  77. package/dist/index 2.js +50 -0
  78. package/dist/{index-BIlioXmW.js → index-B2JRaoNz 4.js } +2 -1
  79. package/dist/index-B2JRaoNz.js +48 -0
  80. package/dist/index-BmTo-IS6 4.js +2018 -0
  81. package/dist/index-BmTo-IS6.js +2018 -0
  82. package/dist/index-DyQs5aC7 4.js +388 -0
  83. package/dist/{index-BlCqcUwj.js → index-K0WrPJ_C 4.js } +1 -1
  84. package/dist/index-K0WrPJ_C.js +29 -0
  85. package/dist/index.js +42 -46
  86. package/dist/index.modern-DPbS1w7M 4.js +1443 -0
  87. package/dist/index.modern-DPbS1w7M.js +1443 -0
  88. package/dist/presets/animations 4.js +24 -0
  89. package/dist/presets/animations.js +24 -0
  90. package/dist/utils/breakpoints 4.js +8 -0
  91. package/dist/utils/gsapSetup 4.js +8 -0
  92. package/dist/utils/gsapSetup.js +4 -3
  93. package/dist/utils/parse 4.js +12 -0
  94. package/dist/utils/parse.js +7 -7
  95. package/package.json +9 -4
  96. package/src/styles/_breakpoints.scss +107 -0
  97. package/src/styles/_colors.scss +50 -0
  98. package/src/styles/_fonts.scss +238 -0
  99. package/src/styles/_mixins.scss +114 -0
  100. package/src/styles/_reveal.scss +93 -0
  101. package/src/styles/_sizes.scss +192 -0
  102. package/src/styles/globals.scss +77 -0
  103. package/src/styles/index.scss +1 -0
  104. package/src/styles/variables.module.scss +20 -0
  105. package/dist/Particles-CKNJUrOc.js +0 -2789
  106. package/dist/ScrollTrigger-DDbij8gI.js +0 -3102
  107. package/dist/components/ParticleBackground/ParticleBackground.js +0 -31
@@ -1,21 +1,23 @@
1
1
  "use client";
2
- import { jsxs as c, jsx as s } from "react/jsx-runtime";
3
- import { useFadeIn as d } from "../../hooks/useFadeIn.js";
4
- import m from "../Button/Button.js";
5
- import { Fragment as _ } from "react";
6
- import '../../assets/Banner.css';const l = "_banner_6ii3s_1", b = "_header_6ii3s_8", h = "_body_6ii3s_55", f = "_ctas_6ii3s_94", e = {
7
- banner: l,
8
- header: b,
9
- body: h,
10
- ctas: f
11
- }, N = ({ header: n, body: a, ctas: r }) => {
12
- const t = d();
13
- return /* @__PURE__ */ c("div", { className: e.banner, ref: t, children: [
14
- n && /* @__PURE__ */ s("div", { className: e.header, children: n }),
15
- /* @__PURE__ */ s("div", { className: e.body, children: a }),
16
- /* @__PURE__ */ s("div", { className: e.ctas, children: r && r.map((o, i) => /* @__PURE__ */ s(_, { children: /* @__PURE__ */ s(m, { ...o }) }, `button-${i}`)) })
2
+ import { jsxs as _, jsx as e } from "react/jsx-runtime";
3
+ import "../../hooks/useFadeIn.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
+ import { appleReveal as n } from "../../presets/animations.js";
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
+ header: v,
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}`)) })
17
19
  ] });
18
20
  };
19
21
  export {
20
- N as default
22
+ R as default
21
23
  };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as v, jsx as _ } from "react/jsx-runtime";
3
- import { c as a } from "../../index-BIlioXmW.js";
3
+ import { c as a } from "../../index-B2JRaoNz.js";
4
4
  import '../../assets/BorderedBackground.css';const q = "_container_atjqo_1", d = "_corner_atjqo_10", m = "_lineh_atjqo_37", p = "_linev_atjqo_38", u = "_h0_atjqo_55", b = "_v0_atjqo_59", w = "_h1_atjqo_63", N = "_v1_atjqo_67", f = "_h2_atjqo_71", x = "_v2_atjqo_75", y = "_tr_atjqo_79", $ = "_bl_atjqo_120", t = {
5
5
  container: q,
6
6
  corner: d,
@@ -1,37 +1,44 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as u } from "react/jsx-runtime";
3
- import '../../assets/Button.css';const m = "_button_1cz9b_1", f = "_hollow_1cz9b_103", h = "_filled_1cz9b_106", k = "_link_1cz9b_142", l = {
4
- button: m,
5
- hollow: f,
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,
6
7
  filled: h,
7
- link: k
8
- }, y = ({
9
- children: a,
8
+ link: p
9
+ }, g = ({
10
+ children: c,
10
11
  fn: o,
11
12
  href: t,
12
13
  target: r,
13
14
  hollow: _ = !1,
14
15
  variation: s = "color-primary-dark",
15
- textDecoration: b,
16
+ textDecoration: i,
16
17
  label: d,
17
18
  value: n,
18
- icon: c,
19
- onClick: e
20
- }) => /* @__PURE__ */ i(
19
+ icon: a,
20
+ onClick: e,
21
+ className: m
22
+ }) => /* @__PURE__ */ u(
21
23
  t || n ? "a" : "button",
22
24
  {
23
25
  href: t || n,
24
26
  onClick: o || e ? o || e : null,
25
27
  target: r,
26
- className: `${l.button} ${_ ? l.hollow : l.filled} ${l[s]}`,
27
- style: { textDecoration: b },
28
+ className: f(
29
+ l.button,
30
+ _ ? l.hollow : l.filled,
31
+ l[s],
32
+ m
33
+ ),
34
+ style: { textDecoration: i },
28
35
  "data-color": s,
29
36
  children: [
30
- a || d,
31
- c && /* @__PURE__ */ u("span", { className: "material-symbols-outlined", children: c })
37
+ c || d,
38
+ a && /* @__PURE__ */ k("span", { className: "material-symbols-outlined", children: a })
32
39
  ]
33
40
  }
34
41
  );
35
42
  export {
36
- y as default
43
+ g as default
37
44
  };
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx as u } from "react/jsx-runtime";
3
+ import { createElement as e } from "react";
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 = {
7
+ buttonGroup: p
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}` })) });
9
+ export {
10
+ G as default
11
+ };
@@ -1,45 +1,48 @@
1
1
  "use client";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
- import { c as t } from "../../index-BIlioXmW.js";
4
- import { useRef as _ } from "react";
5
- import "../../Particles-CKNJUrOc.js";
6
- import '../../assets/Container.css';const u = "_container_xosaf_1", x = "_innerContainer_xosaf_36", y = "_styleless_xosaf_127", e = {
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 = {
7
6
  container: u,
8
- innerContainer: x,
7
+ innerContainer: g,
9
8
  styleless: y
10
- }, N = ({
9
+ }, z = ({
11
10
  color: s,
12
- children: a,
13
- maxWidth: r,
11
+ children: r,
12
+ maxWidth: a,
14
13
  styleless: o,
15
14
  backgroundImage: i,
16
15
  backgroundPosition: l,
17
16
  fullHeight: c,
18
17
  center: m,
19
- hide: f
18
+ hide: d,
19
+ id: _,
20
+ ...f
20
21
  }) => {
21
- const d = _();
22
- if (!f)
22
+ const h = p();
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: d,
29
+ ref: h,
29
30
  style: { backgroundImage: `url(${i})`, backgroundPosition: l },
30
31
  "data-full-height": c,
31
32
  "data-center": m,
33
+ ...f,
32
34
  children: /* @__PURE__ */ n(
33
35
  "div",
34
36
  {
35
37
  className: t(e.innerContainer),
36
- "data-max-width": r,
37
- children: a
38
+ "data-max-width": a,
39
+ id: _,
40
+ children: r
38
41
  }
39
42
  )
40
43
  }
41
44
  );
42
45
  };
43
46
  export {
44
- N as default
47
+ z as default
45
48
  };
@@ -1,29 +1,41 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as i } from "react/jsx-runtime";
3
- import { useState as u, useEffect as d } from "react";
4
- import '../../assets/Countdown.css';const f = "_countdown_1ilam_1", m = "_block_1ilam_12", s = {
5
- countdown: f,
6
- block: m
7
- }, w = ({ targetDate: c }) => {
8
- const n = () => {
9
- const e = new Date(c) - /* @__PURE__ */ new Date();
10
- return e <= 0 ? null : {
11
- days: Math.floor(e / 864e5),
12
- hours: Math.floor(e / 36e5 % 24),
13
- minutes: Math.floor(e / 1e3 / 60 % 60),
14
- seconds: Math.floor(e / 1e3 % 60)
2
+ import { jsx as n, jsxs as f } from "react/jsx-runtime";
3
+ import { useState as d, useEffect as m } from "react";
4
+ import { useStagger as p } from "../../hooks/useStagger.js";
5
+ import { appleStagger as o } from "../../presets/animations.js";
6
+ import '../../assets/Countdown.css';const h = "_countdown_px87l_1", g = "_block_px87l_12", r = {
7
+ countdown: h,
8
+ block: g
9
+ }, k = ({ targetDate: s }) => {
10
+ const c = () => {
11
+ const t = new Date(s) - /* @__PURE__ */ new Date();
12
+ return t <= 0 ? 0 : {
13
+ days: Math.floor(t / 864e5),
14
+ hours: Math.floor(t / 36e5 % 24),
15
+ minutes: Math.floor(t / 1e3 / 60 % 60),
16
+ seconds: Math.floor(t / 1e3 % 60)
15
17
  };
16
- }, [o, r] = u(n()), a = ["days", "hours", "minutes", "seconds"];
17
- return d(() => {
18
- const e = setInterval(() => {
19
- r(n());
18
+ }, [e, l] = d(void 0), a = ["days", "hours", "minutes", "seconds"], i = p(
19
+ `.${r.block}`,
20
+ o.from,
21
+ {
22
+ ...o.to,
23
+ stagger: o.stagger,
24
+ scrollTrigger: { start: o.start }
25
+ },
26
+ typeof e == "object"
27
+ );
28
+ return m(() => {
29
+ l(c());
30
+ const t = setInterval(() => {
31
+ l(c());
20
32
  }, 1e3);
21
- return () => clearInterval(e);
22
- }, []), o ? /* @__PURE__ */ t("div", { className: s.countdown, children: a.map((e, l) => /* @__PURE__ */ i("div", { className: s.block, children: [
23
- /* @__PURE__ */ t("span", { children: o[e] }),
24
- /* @__PURE__ */ t("span", { children: e })
25
- ] }, `countdown-${l}`)) }) : /* @__PURE__ */ t("span", { children: "Time’s up" });
33
+ return () => clearInterval(t);
34
+ }, [s]), e === void 0 || e === 0 ? null : /* @__PURE__ */ n("div", { className: r.countdown, ref: i, children: e && a.map((t, u) => /* @__PURE__ */ f("div", { className: r.block, children: [
35
+ /* @__PURE__ */ n("span", { children: e[t] }),
36
+ /* @__PURE__ */ n("span", { children: t })
37
+ ] }, `countdown-${u}`)) });
26
38
  };
27
39
  export {
28
- w as default
40
+ k as default
29
41
  };
@@ -1,46 +1,55 @@
1
1
  "use client";
2
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
3
- import u from "../Button/Button.js";
4
- import { useFadeIn as p } from "../../hooks/useFadeIn.js";
5
- import { c as v } from "../../index-BIlioXmW.js";
6
- import { Fragment as o } from "react";
7
- import g from "../IconDetail/IconDetail.js";
8
- import '../../assets/Fifty.css';const w = "_content_1d5wu_2", x = "_fifty_1d5wu_41", N = "_reverse_1d5wu_79", y = "_image_1d5wu_82", j = "_text_1d5wu_146", F = "_ctas_1d5wu_199", I = "_details_1d5wu_212", t = {
9
- content: w,
10
- fifty: x,
11
- reverse: N,
12
- image: y,
13
- text: j,
14
- ctas: F,
15
- details: I
16
- }, q = ({
17
- heading: d,
18
- body: r,
19
- ctas: s,
20
- color: m,
21
- image: l,
22
- reverse: _,
23
- pos: f,
24
- details: n
2
+ import { jsxs as m, jsx as e } from "react/jsx-runtime";
3
+ import N from "../Button/Button.js";
4
+ import { c as f } from "../../index-B2JRaoNz.js";
5
+ import { Fragment as d } from "react";
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,
18
+ ctas: z,
19
+ details: A
20
+ }, Q = ({
21
+ heading: i,
22
+ body: n,
23
+ ctas: r,
24
+ color: _,
25
+ image: v,
26
+ reverse: p,
27
+ pos: u,
28
+ details: l,
29
+ contentFirst: R = !0
25
30
  }) => {
26
- const h = p({ duration: 0.8 });
27
- return /* @__PURE__ */ a(
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 });
32
+ return /* @__PURE__ */ m(
28
33
  "div",
29
34
  {
30
- className: v(t.fifty, !!_ && t.reverse),
31
- "data-color": m,
35
+ className: f(
36
+ t.fifty,
37
+ !!p && t.reverse,
38
+ R && t.contentFirst
39
+ ),
40
+ "data-color": _,
32
41
  children: [
33
- /* @__PURE__ */ e("div", { className: t.content, ref: h, children: /* @__PURE__ */ a("div", { className: t.text, children: [
34
- /* @__PURE__ */ e("h2", { children: d }),
35
- r && /* @__PURE__ */ e("p", { children: r }),
36
- /* @__PURE__ */ e("div", { className: t.ctas, children: s && !!s.length && s.map((i, c) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(u, { ...i }) }, c)) }),
37
- /* @__PURE__ */ e("div", { className: t.details, children: n && n.map((i, c) => /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(g, { ...i }) }, c)) })
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)) })
38
47
  ] }) }),
39
- /* @__PURE__ */ e("div", { className: t.image, children: /* @__PURE__ */ e("img", { src: l, style: { objectPosition: f } }) })
48
+ /* @__PURE__ */ e("div", { className: t.image, ref: h, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: u } }) })
40
49
  ]
41
50
  }
42
51
  );
43
52
  };
44
53
  export {
45
- q as default
54
+ Q as default
46
55
  };
@@ -0,0 +1,60 @@
1
+ "use client";
2
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
+ import u from "../../utils/parse.js";
4
+ import "../../index-B2JRaoNz.js";
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
+ ] });
57
+ };
58
+ export {
59
+ $ as default
60
+ };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
3
- import '../../assets/Footer.css';const r = "_footer_1yn3n_2", a = "_image_1yn3n_50", c = "_text_1yn3n_55", t = {
4
- footer: r,
5
- image: a,
6
- text: c
7
- }, _ = ({ logo: o, logoText: s }) => /* @__PURE__ */ n("footer", { className: t.footer, children: [
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 = {
4
+ footer: a,
5
+ image: c,
6
+ text: m
7
+ }, i = ({ logo: o, logoText: s }) => /* @__PURE__ */ r("footer", { className: t.footer, children: [
8
8
  /* @__PURE__ */ e("img", { src: o, className: t.image }),
9
9
  /* @__PURE__ */ e("p", { className: t.text, children: s })
10
10
  ] });
11
11
  export {
12
- _ as default
12
+ i as default
13
13
  };
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
- import l from "../../utils/parse.js";
3
+ import a from "../../utils/parse.js";
4
4
  import s from "../Button/Button.js";
5
- import '../../assets/GenericOverlay.css';const i = "_overlay_5xrtv_2", v = "_content_5xrtv_53", d = "_ctas_5xrtv_137", e = {
5
+ import '../../assets/GenericOverlay.css';const i = "_overlay_oltvp_2", v = "_content_oltvp_61", d = "_ctas_oltvp_150", e = {
6
6
  overlay: i,
7
7
  content: v,
8
8
  ctas: d
9
- }, x = ({ header: o, body: a, primaryCta: r, secondaryCta: c }) => /* @__PURE__ */ t("div", { className: e.overlay, children: /* @__PURE__ */ n("div", { className: e.innerContainer, children: [
10
- /* @__PURE__ */ t("h2", { children: o }),
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
11
  /* @__PURE__ */ n("div", { className: e.content, children: [
12
- /* @__PURE__ */ t("div", { children: l(a) }),
12
+ /* @__PURE__ */ t("div", { children: a(l) }),
13
13
  /* @__PURE__ */ n("div", { className: e.ctas, children: [
14
- r && /* @__PURE__ */ t(s, { ...r }),
14
+ o && /* @__PURE__ */ t(s, { ...o }),
15
15
  c && /* @__PURE__ */ t(s, { ...c })
16
16
  ] })
17
17
  ] })
18
18
  ] }) });
19
19
  export {
20
- x as default
20
+ p as default
21
21
  };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
- import { c } from "../../index-BIlioXmW.js";
3
+ import { c } from "../../index-B2JRaoNz.js";
4
4
  import '../../assets/GridGallery.css';const m = "_gallery_xj28v_1", o = "_image_xj28v_6", i = "_row_xj28v_15", t = "_reverse_xj28v_30", r = {
5
5
  gallery: m,
6
6
  image: o,
@@ -1,18 +1,19 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import { g as o, S as p } from "../../ScrollTrigger-DDbij8gI.js";
4
- import { useRef as s, useEffect as m } from "react";
5
- import '../../assets/HorizontalScrollImages.css';const g = "_container_b5pev_1", f = "_scrollWrapper_b5pev_8", u = "_imageWrapper_b5pev_17", a = {
3
+ import { g as a } from "../../index-BmTo-IS6.js";
4
+ import { S as p } from "../../ScrollTrigger-6HnikosL.js";
5
+ import { useRef as o, useEffect as m } from "react";
6
+ import '../../assets/HorizontalScrollImages.css';const g = "_container_b5pev_1", f = "_scrollWrapper_b5pev_8", u = "_imageWrapper_b5pev_17", s = {
6
7
  container: g,
7
8
  scrollWrapper: f,
8
9
  imageWrapper: u
9
10
  };
10
- o.registerPlugin(p);
11
- const v = () => {
12
- const e = s(null), i = s([]), n = s();
11
+ a.registerPlugin(p);
12
+ const b = () => {
13
+ const e = o(null), i = o([]), n = o();
13
14
  return m(() => {
14
- const t = o.context(() => {
15
- o.to(n.current, {
15
+ const t = a.context(() => {
16
+ a.to(n.current, {
16
17
  x: () => -window.innerWidth * 1.2,
17
18
  ease: "none",
18
19
  scrollTrigger: {
@@ -27,13 +28,13 @@ const v = () => {
27
28
  }, [images]), /* @__PURE__ */ r(
28
29
  "div",
29
30
  {
30
- className: a.container,
31
+ className: s.container,
31
32
  ref: e,
32
33
  style: { "--images": images.length },
33
- children: /* @__PURE__ */ r("div", { className: a.scrollWrapper, ref: n, children: images.map((t, c) => /* @__PURE__ */ r(
34
+ children: /* @__PURE__ */ r("div", { className: s.scrollWrapper, ref: n, children: images.map((t, c) => /* @__PURE__ */ r(
34
35
  "div",
35
36
  {
36
- className: a.imageWrapper,
37
+ className: s.imageWrapper,
37
38
  ref: (l) => i.current[c] = l,
38
39
  children: /* @__PURE__ */ r("img", { src: t.src, alt: "" })
39
40
  },
@@ -43,5 +44,5 @@ const v = () => {
43
44
  );
44
45
  };
45
46
  export {
46
- v as default
47
+ b as default
47
48
  };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as i, jsx as l } from "react/jsx-runtime";
3
3
  import o from "../../utils/parse.js";
4
- import { c as r } from "../../index-BIlioXmW.js";
5
- import '../../assets/IconDetail.css';const c = "_detail_4rjme_1", m = "_label_4rjme_53", a = {
6
- detail: c,
7
- label: m
8
- }, b = ({ icon: l, text: s, href: t }) => /* @__PURE__ */ i(t ? "a" : "div", { className: a.detail, children: [
9
- /* @__PURE__ */ e("span", { className: r(a.icon, "material-symbols-outlined"), children: l }),
10
- /* @__PURE__ */ e("div", { className: a.label, children: o(s) })
4
+ import { c } from "../../index-B2JRaoNz.js";
5
+ import '../../assets/IconDetail.css';const r = "_detail_1iupq_1", n = "_label_1iupq_57", a = {
6
+ detail: r,
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) })
11
11
  ] });
12
12
  export {
13
13
  b as default
@@ -1,33 +1,36 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as c, Fragment as u } from "react/jsx-runtime";
3
- import a from "../Button/Button.js";
4
- import { c as f } from "../../index-BIlioXmW.js";
5
- import { useFadeIn as i } from "../../hooks/useFadeIn.js";
6
- import g from "../../utils/parse.js";
7
- import { Children as b } from "react";
8
- import '../../assets/ImageTextBlock.css';const v = "_block_hnnuu_1", N = "_container_hnnuu_5", p = "_reverse_hnnuu_11", k = "_content_hnnuu_15", x = "_header_hnnuu_20", y = "_body_hnnuu_68", I = "_ctas_hnnuu_115", j = "_image_hnnuu_119", n = {
9
- block: v,
10
- container: N,
11
- reverse: p,
12
- content: k,
2
+ import { jsx as e, jsxs as s, Fragment as v } from "react/jsx-runtime";
3
+ import i from "../Button/Button.js";
4
+ import { c as f } from "../../index-B2JRaoNz.js";
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";
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,
13
15
  header: x,
14
16
  body: y,
15
- ctas: I,
16
- image: j
17
- }, z = ({ image: d, header: m, body: l, primaryCta: o, secondaryCta: s, reverse: t, children: r }) => {
18
- const _ = i({ direction: t ? "right" : "left" }), h = i({ direction: t ? "right" : "left" });
19
- return /* @__PURE__ */ e("div", { className: f(n.block, t && n.reverse), children: /* @__PURE__ */ c("div", { className: n.container, children: [
20
- /* @__PURE__ */ e("div", { className: n.image, ref: _, children: /* @__PURE__ */ e("img", { src: d }) }),
21
- /* @__PURE__ */ c("div", { className: n.content, ref: h, children: [
22
- /* @__PURE__ */ e("h2", { className: n.header, children: m }),
23
- /* @__PURE__ */ e("div", { className: n.body, children: g(l) }),
24
- b.count(r) > 0 ? r : /* @__PURE__ */ e(u, { children: /* @__PURE__ */ c("div", { className: n.ctas, children: [
25
- o && /* @__PURE__ */ e(a, { ...o }),
26
- s && /* @__PURE__ */ e(a, { ...s })
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: [
28
+ r && /* @__PURE__ */ e(i, { ...r }),
29
+ a && /* @__PURE__ */ e(i, { ...a })
27
30
  ] }) })
28
31
  ] })
29
32
  ] }) });
30
33
  };
31
34
  export {
32
- z as default
35
+ G as default
33
36
  };