@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.
- package/dist/{AccordionItem-DuHzStoZ.js → AccordionItem-CDN4L4a7.js} +11 -11
- package/dist/ScrollTrigger-6HnikosL.js +1086 -0
- package/dist/animations/FadeIn.js +8 -7
- package/dist/assets/AccordionItem.css +1 -1
- package/dist/assets/Background.css +1 -1
- package/dist/assets/Banner.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -0
- package/dist/assets/Container.css +1 -1
- package/dist/assets/Countdown.css +1 -1
- package/dist/assets/Fifty.css +1 -1
- package/dist/assets/FloatingWordsHero.css +1 -0
- package/dist/assets/Footer.css +1 -1
- package/dist/assets/GenericOverlay.css +1 -1
- package/dist/assets/IconDetail.css +1 -1
- package/dist/assets/ImageTextBlock.css +1 -1
- package/dist/assets/List.css +1 -1
- package/dist/assets/Map.css +1 -0
- package/dist/assets/Navbar.css +1 -1
- package/dist/assets/Note.css +1 -1
- package/dist/assets/OverlayHero.css +1 -1
- package/dist/assets/PageContainer.css +1 -1
- package/dist/assets/PinnedImage.css +1 -1
- package/dist/assets/PromoGroup.css +1 -1
- package/dist/assets/RSVPEmbed.css +1 -1
- package/dist/assets/Schedule.css +1 -1
- package/dist/assets/TextBlock.css +1 -1
- package/dist/components/Accordion/Accordion.js +21 -14
- package/dist/components/Accordion/AccordionItem.js +2 -2
- package/dist/components/Background/Background.js +24 -22
- package/dist/components/Banner/Banner.js +18 -16
- package/dist/components/BorderedBackground/BorderedBackground.js +1 -1
- package/dist/components/Button/Button.js +23 -16
- package/dist/components/ButtonGroup/ButtonGroup.js +11 -0
- package/dist/components/Container/Container.js +18 -15
- package/dist/components/Countdown/Countdown.js +35 -23
- package/dist/components/Fifty/Fifty.js +43 -34
- package/dist/components/FloatingWordsHero/FloatingWordsHero.js +60 -0
- package/dist/components/Footer/Footer.js +7 -7
- package/dist/components/GenericOverlay/GenericOverlay.js +7 -7
- package/dist/components/GridGallery/GridGallery.js +1 -1
- package/dist/components/HorizontalScrollImages/HorizontalScrollImages.js +13 -12
- package/dist/components/IconDetail/IconDetail.js +8 -8
- package/dist/components/ImageTextBlock/ImageTextBlock.js +27 -24
- package/dist/components/List/List.js +8 -8
- package/dist/components/Map/Map.js +43 -0
- package/dist/components/Map/Map.stories.js +16 -0
- package/dist/components/MenuButton/MenuButton.js +1 -1
- package/dist/components/Navbar/Navbar.js +61 -54
- package/dist/components/Note/Note.js +26 -22
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/OverlayHero/OverlayHero.js +63 -21
- package/dist/components/PageContainer/PageContainer.js +6 -6
- package/dist/components/ParallaxImageGrid/ParallaxImageGrid.js +4 -3
- package/dist/components/PinnedImage/PinnedImage.js +34 -33
- package/dist/components/PromoGroup/PromoGroup.js +100 -51
- package/dist/components/RSVPEmbed/RSVPEmbed.js +9 -8
- package/dist/components/Schedule/Schedule.js +6 -6
- package/dist/components/Spacer/Spacer.js +6 -0
- package/dist/components/TextBlock/TextBlock.js +5 -5
- package/dist/components/Timeline/Timeline.js +12 -11
- package/dist/components/Toolbar/Toolbar.js +41 -13
- package/dist/hooks/useActiveSection 4.js +27 -0
- package/dist/hooks/useFadeIn 4.js +52 -0
- package/dist/hooks/useFadeIn.js +17 -16
- package/dist/hooks/useImageReveal 4.js +55 -0
- package/dist/hooks/useImageReveal.js +55 -0
- package/dist/hooks/useNavColor 4.js +15 -0
- package/dist/hooks/useRepeatable 4.js +32 -0
- package/dist/hooks/useResize 4.js +23 -0
- package/dist/hooks/useResize.js +11 -7
- package/dist/hooks/useResponsive 4.js +15 -0
- package/dist/hooks/useReveal 4.js +38 -0
- package/dist/hooks/useReveal.js +38 -0
- package/dist/hooks/useStagger 4.js +43 -0
- package/dist/hooks/useStagger.js +43 -0
- package/dist/index 2.js +50 -0
- package/dist/{index-BIlioXmW.js → index-B2JRaoNz 4.js } +2 -1
- package/dist/index-B2JRaoNz.js +48 -0
- package/dist/index-BmTo-IS6 4.js +2018 -0
- package/dist/index-BmTo-IS6.js +2018 -0
- package/dist/index-DyQs5aC7 4.js +388 -0
- package/dist/{index-BlCqcUwj.js → index-K0WrPJ_C 4.js } +1 -1
- package/dist/index-K0WrPJ_C.js +29 -0
- package/dist/index.js +42 -46
- package/dist/index.modern-DPbS1w7M 4.js +1443 -0
- package/dist/index.modern-DPbS1w7M.js +1443 -0
- package/dist/presets/animations 4.js +24 -0
- package/dist/presets/animations.js +24 -0
- package/dist/utils/breakpoints 4.js +8 -0
- package/dist/utils/gsapSetup 4.js +8 -0
- package/dist/utils/gsapSetup.js +4 -3
- package/dist/utils/parse 4.js +12 -0
- package/dist/utils/parse.js +7 -7
- package/package.json +9 -4
- package/src/styles/_breakpoints.scss +107 -0
- package/src/styles/_colors.scss +50 -0
- package/src/styles/_fonts.scss +238 -0
- package/src/styles/_mixins.scss +114 -0
- package/src/styles/_reveal.scss +93 -0
- package/src/styles/_sizes.scss +192 -0
- package/src/styles/globals.scss +77 -0
- package/src/styles/index.scss +1 -0
- package/src/styles/variables.module.scss +20 -0
- package/dist/Particles-CKNJUrOc.js +0 -2789
- package/dist/ScrollTrigger-DDbij8gI.js +0 -3102
- package/dist/components/ParticleBackground/ParticleBackground.js +0 -31
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { Fragment as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/* @__PURE__ */
|
|
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
|
-
|
|
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-
|
|
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
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
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:
|
|
8
|
-
},
|
|
9
|
-
children:
|
|
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:
|
|
16
|
+
textDecoration: i,
|
|
16
17
|
label: d,
|
|
17
18
|
value: n,
|
|
18
|
-
icon:
|
|
19
|
-
onClick: e
|
|
20
|
-
|
|
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:
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
37
|
+
c || d,
|
|
38
|
+
a && /* @__PURE__ */ k("span", { className: "material-symbols-outlined", children: a })
|
|
32
39
|
]
|
|
33
40
|
}
|
|
34
41
|
);
|
|
35
42
|
export {
|
|
36
|
-
|
|
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-
|
|
4
|
-
import { useRef as
|
|
5
|
-
import
|
|
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:
|
|
7
|
+
innerContainer: g,
|
|
9
8
|
styleless: y
|
|
10
|
-
},
|
|
9
|
+
}, z = ({
|
|
11
10
|
color: s,
|
|
12
|
-
children:
|
|
13
|
-
maxWidth:
|
|
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:
|
|
18
|
+
hide: d,
|
|
19
|
+
id: _,
|
|
20
|
+
...f
|
|
20
21
|
}) => {
|
|
21
|
-
const
|
|
22
|
-
if (!
|
|
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:
|
|
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":
|
|
37
|
-
|
|
38
|
+
"data-max-width": a,
|
|
39
|
+
id: _,
|
|
40
|
+
children: r
|
|
38
41
|
}
|
|
39
42
|
)
|
|
40
43
|
}
|
|
41
44
|
);
|
|
42
45
|
};
|
|
43
46
|
export {
|
|
44
|
-
|
|
47
|
+
z as default
|
|
45
48
|
};
|
|
@@ -1,29 +1,41 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
}, [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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(
|
|
22
|
-
}, []),
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
] }, `countdown-${
|
|
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
|
-
|
|
40
|
+
k as default
|
|
29
41
|
};
|
|
@@ -1,46 +1,55 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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 =
|
|
27
|
-
return /* @__PURE__ */
|
|
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:
|
|
31
|
-
|
|
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,
|
|
34
|
-
/* @__PURE__ */ e("h2", { children:
|
|
35
|
-
|
|
36
|
-
/* @__PURE__ */ e("div", { className: t.ctas,
|
|
37
|
-
/* @__PURE__ */ e("div", { className: t.details, children:
|
|
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:
|
|
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
|
-
|
|
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
|
|
3
|
-
import '../../assets/Footer.css';const
|
|
4
|
-
footer:
|
|
5
|
-
image:
|
|
6
|
-
text:
|
|
7
|
-
},
|
|
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
|
-
|
|
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
|
|
3
|
+
import a from "../../utils/parse.js";
|
|
4
4
|
import s from "../Button/Button.js";
|
|
5
|
-
import '../../assets/GenericOverlay.css';const i = "
|
|
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
|
-
},
|
|
10
|
-
/* @__PURE__ */ t("h2", { children:
|
|
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
|
|
12
|
+
/* @__PURE__ */ t("div", { children: a(l) }),
|
|
13
13
|
/* @__PURE__ */ n("div", { className: e.ctas, children: [
|
|
14
|
-
|
|
14
|
+
o && /* @__PURE__ */ t(s, { ...o }),
|
|
15
15
|
c && /* @__PURE__ */ t(s, { ...c })
|
|
16
16
|
] })
|
|
17
17
|
] })
|
|
18
18
|
] }) });
|
|
19
19
|
export {
|
|
20
|
-
|
|
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-
|
|
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
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
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
|
-
|
|
11
|
-
const
|
|
12
|
-
const e =
|
|
11
|
+
a.registerPlugin(p);
|
|
12
|
+
const b = () => {
|
|
13
|
+
const e = o(null), i = o([]), n = o();
|
|
13
14
|
return m(() => {
|
|
14
|
-
const t =
|
|
15
|
-
|
|
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:
|
|
31
|
+
className: s.container,
|
|
31
32
|
ref: e,
|
|
32
33
|
style: { "--images": images.length },
|
|
33
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
34
|
+
children: /* @__PURE__ */ r("div", { className: s.scrollWrapper, ref: n, children: images.map((t, c) => /* @__PURE__ */ r(
|
|
34
35
|
"div",
|
|
35
36
|
{
|
|
36
|
-
className:
|
|
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
|
-
|
|
47
|
+
b as default
|
|
47
48
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as i, jsx as
|
|
2
|
+
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import o from "../../utils/parse.js";
|
|
4
|
-
import { c
|
|
5
|
-
import '../../assets/IconDetail.css';const
|
|
6
|
-
detail:
|
|
7
|
-
label:
|
|
8
|
-
}, b = ({ icon:
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import { c as f } from "../../index-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Children as
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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:
|
|
16
|
-
image:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
/* @__PURE__ */ e("
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
35
|
+
G as default
|
|
33
36
|
};
|