@courtneyring/components-library 1.0.29 → 1.0.31

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 (101) hide show
  1. package/dist/AccordionItem-BlVXPxrh.js +40 -0
  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 -0
  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/MenuButton.css +1 -1
  20. package/dist/assets/Navbar.css +1 -1
  21. package/dist/assets/Note.css +1 -1
  22. package/dist/assets/OverlayHero.css +1 -1
  23. package/dist/assets/PageContainer.css +1 -1
  24. package/dist/assets/PinnedImage.css +1 -1
  25. package/dist/assets/PromoGroup.css +1 -1
  26. package/dist/assets/RSVPEmbed.css +1 -1
  27. package/dist/assets/Schedule.css +1 -0
  28. package/dist/assets/TextBlock.css +1 -1
  29. package/dist/components/Accordion/Accordion.js +1 -1
  30. package/dist/components/Accordion/AccordionItem.js +2 -2
  31. package/dist/components/Background/Background.js +24 -22
  32. package/dist/components/Banner/Banner.js +16 -14
  33. package/dist/components/BorderedBackground/BorderedBackground.js +1 -1
  34. package/dist/components/Button/Button.js +34 -27
  35. package/dist/components/ButtonGroup/ButtonGroup.js +10 -0
  36. package/dist/components/Container/Container.js +37 -34
  37. package/dist/components/Countdown/Countdown.js +41 -0
  38. package/dist/components/Fifty/Fifty.js +40 -32
  39. package/dist/components/FloatingWordsHero/FloatingWordsHero.js +30 -0
  40. package/dist/components/Footer/Footer.js +9 -9
  41. package/dist/components/GenericOverlay/GenericOverlay.js +13 -13
  42. package/dist/components/GridGallery/GridGallery.js +1 -1
  43. package/dist/components/HorizontalScrollImages/HorizontalScrollImages.js +13 -12
  44. package/dist/components/IconDetail/IconDetail.js +8 -8
  45. package/dist/components/ImageTextBlock/ImageTextBlock.js +27 -25
  46. package/dist/components/List/List.js +15 -15
  47. package/dist/components/Map/Map.js +41 -0
  48. package/dist/components/Map/Map.stories.js +16 -0
  49. package/dist/components/MenuButton/MenuButton.js +21 -21
  50. package/dist/components/Navbar/Navbar.js +50 -43
  51. package/dist/components/Note/Note.js +26 -22
  52. package/dist/components/Overlay/Overlay.js +1 -1
  53. package/dist/components/OverlayHero/OverlayHero.js +5 -5
  54. package/dist/components/PageContainer/PageContainer.js +5 -5
  55. package/dist/components/ParallaxImageGrid/ParallaxImageGrid.js +4 -3
  56. package/dist/components/PinnedImage/PinnedImage.js +34 -33
  57. package/dist/components/PromoGroup/PromoGroup.js +98 -50
  58. package/dist/components/RSVPEmbed/RSVPEmbed.js +9 -8
  59. package/dist/components/Schedule/Schedule.js +24 -0
  60. package/dist/components/Spacer/Spacer.js +6 -0
  61. package/dist/components/TextBlock/TextBlock.js +18 -18
  62. package/dist/components/Timeline/Timeline.js +12 -11
  63. package/dist/components/Toolbar/Toolbar.js +43 -15
  64. package/dist/hooks/useActiveSection 2.js +27 -0
  65. package/dist/hooks/useFadeIn 2.js +52 -0
  66. package/dist/hooks/useFadeIn.js +17 -16
  67. package/dist/hooks/useNavColor 2.js +15 -0
  68. package/dist/hooks/useRepeatable 2.js +32 -0
  69. package/dist/hooks/useResize 2.js +19 -0
  70. package/dist/hooks/useResponsive 2.js +15 -0
  71. package/dist/hooks/useReveal 2.js +38 -0
  72. package/dist/hooks/useReveal.js +38 -0
  73. package/dist/hooks/useStagger 2.js +43 -0
  74. package/dist/hooks/useStagger.js +43 -0
  75. package/dist/{index-BIlioXmW.js → index-B2JRaoNz 2.js } +2 -1
  76. package/dist/index-B2JRaoNz.js +48 -0
  77. package/dist/index-BmTo-IS6.js +2018 -0
  78. package/dist/{index-BlCqcUwj.js → index-K0WrPJ_C.js} +1 -1
  79. package/dist/index.js +48 -69
  80. package/dist/index.modern-DPbS1w7M.js +1443 -0
  81. package/dist/presets/animations 3.js +19 -0
  82. package/dist/presets/animations.js +19 -0
  83. package/dist/utils/breakpoints 3.js +8 -0
  84. package/dist/utils/gsapSetup 3.js +8 -0
  85. package/dist/utils/gsapSetup.js +4 -3
  86. package/dist/utils/parse 3.js +12 -0
  87. package/dist/utils/parse.js +7 -7
  88. package/package.json +8 -4
  89. package/src/styles/_breakpoints.scss +107 -0
  90. package/src/styles/_colors.scss +50 -0
  91. package/src/styles/_fonts.scss +241 -0
  92. package/src/styles/_mixins.scss +114 -0
  93. package/src/styles/_sizes.scss +191 -0
  94. package/src/styles/globals.scss +77 -0
  95. package/src/styles/index.scss +1 -0
  96. package/src/styles/variables.module.scss +20 -0
  97. package/dist/AccordionItem-DuHzStoZ.js +0 -40
  98. package/dist/Particles-CKNJUrOc.js +0 -2789
  99. package/dist/ScrollTrigger-DDbij8gI.js +0 -3102
  100. package/dist/assets/index.css +0 -1
  101. package/dist/components/ParticleBackground/ParticleBackground.js +0 -31
@@ -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,
6
- filled: h,
7
- link: k
8
- }, y = ({
9
- children: a,
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
9
+ }, g = ({
10
+ children: e,
10
11
  fn: o,
11
- href: t,
12
- target: r,
13
- hollow: _ = !1,
14
- variation: s = "color-primary-dark",
15
- textDecoration: b,
16
- label: d,
12
+ href: s,
13
+ target: c,
14
+ hollow: m = !1,
15
+ variation: t = "color-primary-dark",
16
+ textDecoration: _,
17
+ label: i,
17
18
  value: n,
18
- icon: c,
19
- onClick: e
20
- }) => /* @__PURE__ */ i(
21
- t || n ? "a" : "button",
19
+ icon: r,
20
+ onClick: a,
21
+ className: d
22
+ }) => /* @__PURE__ */ u(
23
+ s || n ? "a" : "button",
22
24
  {
23
- href: t || n,
24
- onClick: o || e ? o || e : null,
25
- target: r,
26
- className: `${l.button} ${_ ? l.hollow : l.filled} ${l[s]}`,
27
- style: { textDecoration: b },
28
- "data-color": s,
25
+ href: s || n,
26
+ onClick: o || a ? o || a : null,
27
+ target: c,
28
+ className: b(
29
+ l.button,
30
+ m ? l.hollow : l.filled,
31
+ l[t],
32
+ d
33
+ ),
34
+ style: { textDecoration: _ },
35
+ "data-color": t,
29
36
  children: [
30
- a || d,
31
- c && /* @__PURE__ */ u("span", { className: "material-symbols-outlined", children: c })
37
+ e || i,
38
+ r && /* @__PURE__ */ f("span", { className: "material-symbols-outlined", children: r })
32
39
  ]
33
40
  }
34
41
  );
35
42
  export {
36
- y as default
43
+ g as default
37
44
  };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import { jsx as u } from "react/jsx-runtime";
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 = {
6
+ 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
+ export {
9
+ l as default
10
+ };
@@ -1,43 +1,46 @@
1
1
  "use client";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
- import { c as s } from "../../index-BIlioXmW.js";
4
- import { useRef as f } from "react";
5
- import "../../Particles-CKNJUrOc.js";
6
- import '../../assets/Container.css';const _ = "_container_xosaf_1", u = "_innerContainer_xosaf_36", x = "_styleless_xosaf_127", e = {
7
- container: _,
8
- innerContainer: u,
9
- styleless: x
10
- }, g = ({
11
- color: t,
12
- children: a,
13
- maxWidth: o,
14
- styleless: r,
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 = ({
10
+ color: s,
11
+ children: r,
12
+ maxWidth: a,
13
+ styleless: o,
15
14
  backgroundImage: i,
16
15
  backgroundPosition: l,
17
16
  fullHeight: c,
18
- center: m
17
+ center: m,
18
+ hide: d,
19
+ ..._
19
20
  }) => {
20
- const d = f();
21
- return /* @__PURE__ */ n(
22
- "div",
23
- {
24
- className: s(e.container, r && e.styleless),
25
- "data-color": t,
26
- ref: d,
27
- style: { backgroundImage: `url(${i})`, backgroundPosition: l },
28
- "data-full-height": c,
29
- "data-center": m,
30
- children: /* @__PURE__ */ n(
31
- "div",
32
- {
33
- className: s(e.innerContainer),
34
- "data-max-width": o,
35
- children: a
36
- }
37
- )
38
- }
39
- );
21
+ const f = u();
22
+ if (!d)
23
+ return /* @__PURE__ */ n(
24
+ "div",
25
+ {
26
+ className: t(e.container, o && e.styleless),
27
+ "data-color": s,
28
+ ref: f,
29
+ style: { backgroundImage: `url(${i})`, backgroundPosition: l },
30
+ "data-full-height": c,
31
+ "data-center": m,
32
+ ..._,
33
+ children: /* @__PURE__ */ n(
34
+ "div",
35
+ {
36
+ className: t(e.innerContainer),
37
+ "data-max-width": a,
38
+ children: r
39
+ }
40
+ )
41
+ }
42
+ );
40
43
  };
41
44
  export {
42
- g as default
45
+ x as default
43
46
  };
@@ -0,0 +1,41 @@
1
+ "use client";
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_32v13_1", g = "_block_32v13_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)
17
+ };
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());
32
+ }, 1e3);
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}`)) });
38
+ };
39
+ export {
40
+ k as default
41
+ };
@@ -1,46 +1,54 @@
1
1
  "use client";
2
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as m, jsx as e } from "react/jsx-runtime";
3
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 a } from "react";
7
- import g from "../IconDetail/IconDetail.js";
8
- import '../../assets/Fifty.css';const w = "_content_1d5wu_2", x = "_fifty_1d5wu_41", y = "_reverse_1d5wu_79", N = "_image_1d5wu_82", j = "_text_1d5wu_146", F = "_ctas_1d5wu_199", I = "_details_1d5wu_212", t = {
9
- content: w,
10
- fifty: x,
11
- reverse: y,
12
- image: N,
13
- text: j,
14
- ctas: F,
15
- details: I
16
- }, q = ({
4
+ import { c as f } from "../../index-B2JRaoNz.js";
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,
17
+ ctas: z,
18
+ details: A
19
+ }, O = ({
17
20
  heading: o,
18
- body: d,
19
- ctas: s,
20
- color: m,
21
- image: l,
22
- reverse: _,
23
- pos: f,
24
- details: r
21
+ body: i,
22
+ ctas: r,
23
+ color: _,
24
+ image: v,
25
+ reverse: p,
26
+ pos: h,
27
+ details: l,
28
+ contentFirst: R = !0
25
29
  }) => {
26
- const h = p({ duration: 0.8 });
27
- return /* @__PURE__ */ n(
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
+ return /* @__PURE__ */ m(
28
32
  "div",
29
33
  {
30
- className: v(t.fifty, !!_ && t.reverse),
31
- "data-color": m,
34
+ className: f(
35
+ t.fifty,
36
+ !!p && t.reverse,
37
+ R && t.contentFirst
38
+ ),
39
+ "data-color": _,
32
40
  children: [
33
- /* @__PURE__ */ e("div", { className: t.content, ref: h, children: /* @__PURE__ */ n("div", { className: t.text, children: [
34
- /* @__PURE__ */ e("h2", { children: o }),
35
- /* @__PURE__ */ e("p", { children: d }),
36
- /* @__PURE__ */ e("div", { className: t.ctas, children: s && !!s.length && s.map((i, c) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(u, { ...i }) }, c)) }),
37
- /* @__PURE__ */ e("div", { className: t.details, children: r && r.map((i, c) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(g, { ...i }) }, c)) })
41
+ /* @__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)) })
38
46
  ] }) }),
39
- /* @__PURE__ */ e("div", { className: t.image, children: /* @__PURE__ */ e("img", { src: l, style: { objectPosition: f } }) })
47
+ /* @__PURE__ */ e("div", { className: t.image, ref: y, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: h } }) })
40
48
  ]
41
49
  }
42
50
  );
43
51
  };
44
52
  export {
45
- q as default
53
+ O as default
46
54
  };
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ import { jsx as t, jsxs as d } from "react/jsx-runtime";
3
+ import r from "../../utils/parse.js";
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
+ );
27
+ };
28
+ export {
29
+ H as default
30
+ };
@@ -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: [
8
- /* @__PURE__ */ e("img", { src: o, className: t.image }),
9
- /* @__PURE__ */ e("p", { className: t.text, children: s })
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 = {
4
+ footer: a,
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 })
10
10
  ] });
11
11
  export {
12
- _ as default
12
+ x as default
13
13
  };
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
3
3
  import l from "../../utils/parse.js";
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 = {
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 = {
6
6
  overlay: i,
7
- content: v,
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 }),
11
- /* @__PURE__ */ n("div", { className: e.content, children: [
12
- /* @__PURE__ */ t("div", { children: l(a) }),
13
- /* @__PURE__ */ n("div", { className: e.ctas, children: [
14
- r && /* @__PURE__ */ t(s, { ...r }),
15
- c && /* @__PURE__ */ t(s, { ...c })
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 })
16
16
  ] })
17
17
  ] })
18
18
  ] }) });
19
19
  export {
20
- x as default
20
+ f 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 n = "_detail_ntq0w_1", r = "_label_ntq0w_58", a = {
6
+ detail: n,
7
+ label: r
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,35 @@
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";
2
+ import { jsx as e, jsxs as o, Fragment as f } from "react/jsx-runtime";
3
+ import i from "../Button/Button.js";
4
+ import { c as h } from "../../index-B2JRaoNz.js";
5
+ import "../../hooks/useFadeIn.js";
6
+ import j from "../../utils/parse.js";
7
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,
13
- header: x,
14
- 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 })
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,
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: [
27
+ r && /* @__PURE__ */ e(i, { ...r }),
28
+ a && /* @__PURE__ */ e(i, { ...a })
27
29
  ] }) })
28
30
  ] })
29
31
  ] }) });
30
32
  };
31
33
  export {
32
- z as default
34
+ E as default
33
35
  };
@@ -1,20 +1,20 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
3
- import l from "../Icon/Icon.js";
4
- import '../../assets/List.css';const n = "_item_gt8yl_1", r = "_emphasis_gt8yl_56", d = "_body_gt8yl_99", s = {
5
- item: n,
6
- emphasis: r,
7
- body: d
8
- }, y = ({ 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(l, { 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 })
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 = {
5
+ item: r,
6
+ emphasis: d,
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 })
15
15
  ] })
16
- ] }, `item-${o}`))
16
+ ] }, `item-${n}`))
17
17
  ] }));
18
18
  export {
19
- y as default
19
+ b as default
20
20
  };
@@ -0,0 +1,41 @@
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";
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,
17
+ {
18
+ className: o.map,
19
+ defaultZoom: t,
20
+ mapId: s,
21
+ gestureHandling: "none",
22
+ defaultCenter: i,
23
+ zoomControl: !1,
24
+ panControl: !1,
25
+ disableDefaultUI: !0,
26
+ children: r.map((n, c) => /* @__PURE__ */ a(
27
+ d,
28
+ {
29
+ position: n.position,
30
+ className: b(o.marker, o[n.dialogPos]),
31
+ children: /* @__PURE__ */ a("div", { className: o.pin, children: n.label })
32
+ },
33
+ `${c}-${n.label}`
34
+ ))
35
+ }
36
+ ) }),
37
+ /* @__PURE__ */ a(u, { ...l, className: o.button })
38
+ ] });
39
+ export {
40
+ P as default
41
+ };
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import e from "./Map.js";
3
+ const s = {
4
+ title: "Components/Map",
5
+ component: e,
6
+ parameters: { layout: "centered" },
7
+ tags: ["autodocs"]
8
+ }, t = {
9
+ args: {
10
+ sourceUrl: "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2837.8505399802675!2d-84.71720358452077!3d44.66140519466946!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x882011411ddf3bef%3A0x22e70df983887b6!2sCrawford+County+Historical+Museum!5e0!3m2!1sen!2sus!4v1460244247057"
11
+ }
12
+ };
13
+ export {
14
+ t as Primary,
15
+ s as default
16
+ };