@courtneyring/components-library 1.0.30 → 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.
- package/dist/AccordionItem-BlVXPxrh.js +40 -0
- 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/MenuButton.css +1 -1
- 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 +1 -1
- package/dist/components/Accordion/AccordionItem.js +2 -2
- package/dist/components/Background/Background.js +24 -22
- package/dist/components/Banner/Banner.js +16 -14
- package/dist/components/BorderedBackground/BorderedBackground.js +1 -1
- package/dist/components/Button/Button.js +34 -27
- package/dist/components/ButtonGroup/ButtonGroup.js +10 -0
- package/dist/components/Container/Container.js +18 -17
- package/dist/components/Countdown/Countdown.js +35 -23
- package/dist/components/Fifty/Fifty.js +41 -33
- package/dist/components/FloatingWordsHero/FloatingWordsHero.js +30 -0
- package/dist/components/Footer/Footer.js +9 -9
- package/dist/components/GenericOverlay/GenericOverlay.js +13 -13
- 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 -25
- package/dist/components/List/List.js +15 -15
- package/dist/components/Map/Map.js +41 -0
- package/dist/components/Map/Map.stories.js +16 -0
- package/dist/components/MenuButton/MenuButton.js +21 -21
- package/dist/components/Navbar/Navbar.js +50 -43
- package/dist/components/Note/Note.js +26 -22
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/OverlayHero/OverlayHero.js +5 -5
- package/dist/components/PageContainer/PageContainer.js +5 -5
- package/dist/components/ParallaxImageGrid/ParallaxImageGrid.js +4 -3
- package/dist/components/PinnedImage/PinnedImage.js +34 -33
- package/dist/components/PromoGroup/PromoGroup.js +98 -51
- package/dist/components/RSVPEmbed/RSVPEmbed.js +9 -8
- package/dist/components/Schedule/Schedule.js +10 -10
- package/dist/components/Spacer/Spacer.js +6 -0
- package/dist/components/TextBlock/TextBlock.js +18 -18
- package/dist/components/Timeline/Timeline.js +12 -11
- package/dist/components/Toolbar/Toolbar.js +43 -15
- package/dist/hooks/useActiveSection 2.js +27 -0
- package/dist/hooks/useFadeIn 2.js +52 -0
- package/dist/hooks/useFadeIn.js +17 -16
- package/dist/hooks/useNavColor 2.js +15 -0
- package/dist/hooks/useRepeatable 2.js +32 -0
- package/dist/hooks/useResize 2.js +19 -0
- package/dist/hooks/useResponsive 2.js +15 -0
- package/dist/hooks/useReveal 2.js +38 -0
- package/dist/hooks/useReveal.js +38 -0
- package/dist/hooks/useStagger 2.js +43 -0
- package/dist/hooks/useStagger.js +43 -0
- package/dist/{index-BIlioXmW.js → index-B2JRaoNz 2.js } +2 -1
- package/dist/index-B2JRaoNz.js +48 -0
- package/dist/index-BmTo-IS6.js +2018 -0
- package/dist/{index-BlCqcUwj.js → index-K0WrPJ_C.js} +1 -1
- package/dist/index.js +42 -46
- package/dist/index.modern-DPbS1w7M.js +1443 -0
- package/dist/presets/animations 3.js +19 -0
- package/dist/presets/animations.js +19 -0
- package/dist/utils/breakpoints 3.js +8 -0
- package/dist/utils/gsapSetup 3.js +8 -0
- package/dist/utils/gsapSetup.js +4 -3
- package/dist/utils/parse 3.js +12 -0
- package/dist/utils/parse.js +7 -7
- package/package.json +8 -4
- package/src/styles/_breakpoints.scss +107 -0
- package/src/styles/_colors.scss +50 -0
- package/src/styles/_fonts.scss +241 -0
- package/src/styles/_mixins.scss +114 -0
- package/src/styles/_sizes.scss +191 -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/AccordionItem-DuHzStoZ.js +0 -40
- package/dist/Particles-CKNJUrOc.js +0 -2789
- package/dist/ScrollTrigger-DDbij8gI.js +0 -3102
- package/dist/components/ParticleBackground/ParticleBackground.js +0 -31
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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:
|
|
12
|
-
target:
|
|
13
|
-
hollow:
|
|
14
|
-
variation:
|
|
15
|
-
textDecoration:
|
|
16
|
-
label:
|
|
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:
|
|
19
|
-
onClick:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
icon: r,
|
|
20
|
+
onClick: a,
|
|
21
|
+
className: d
|
|
22
|
+
}) => /* @__PURE__ */ u(
|
|
23
|
+
s || n ? "a" : "button",
|
|
22
24
|
{
|
|
23
|
-
href:
|
|
24
|
-
onClick: o ||
|
|
25
|
-
target:
|
|
26
|
-
className:
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
31
|
-
|
|
37
|
+
e || i,
|
|
38
|
+
r && /* @__PURE__ */ f("span", { className: "material-symbols-outlined", children: r })
|
|
32
39
|
]
|
|
33
40
|
}
|
|
34
41
|
);
|
|
35
42
|
export {
|
|
36
|
-
|
|
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,45 +1,46 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, N = ({
|
|
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 = ({
|
|
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
|
+
..._
|
|
20
20
|
}) => {
|
|
21
|
-
const
|
|
22
|
-
if (!
|
|
21
|
+
const f = u();
|
|
22
|
+
if (!d)
|
|
23
23
|
return /* @__PURE__ */ n(
|
|
24
24
|
"div",
|
|
25
25
|
{
|
|
26
26
|
className: t(e.container, o && e.styleless),
|
|
27
27
|
"data-color": s,
|
|
28
|
-
ref:
|
|
28
|
+
ref: f,
|
|
29
29
|
style: { backgroundImage: `url(${i})`, backgroundPosition: l },
|
|
30
30
|
"data-full-height": c,
|
|
31
31
|
"data-center": m,
|
|
32
|
+
..._,
|
|
32
33
|
children: /* @__PURE__ */ n(
|
|
33
34
|
"div",
|
|
34
35
|
{
|
|
35
36
|
className: t(e.innerContainer),
|
|
36
|
-
"data-max-width":
|
|
37
|
-
children:
|
|
37
|
+
"data-max-width": a,
|
|
38
|
+
children: r
|
|
38
39
|
}
|
|
39
40
|
)
|
|
40
41
|
}
|
|
41
42
|
);
|
|
42
43
|
};
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
+
x as default
|
|
45
46
|
};
|
|
@@ -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_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)
|
|
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,54 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import u from "../Button/Button.js";
|
|
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
|
-
|
|
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 = ({
|
|
20
|
+
heading: o,
|
|
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
|
|
27
|
-
return /* @__PURE__ */
|
|
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:
|
|
31
|
-
|
|
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,
|
|
34
|
-
/* @__PURE__ */ e("h2", { children:
|
|
35
|
-
|
|
36
|
-
/* @__PURE__ */ e("div", { className: t.ctas,
|
|
37
|
-
/* @__PURE__ */ e("div", { className: t.details, children:
|
|
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:
|
|
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
|
-
|
|
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
|
|
3
|
-
import '../../assets/Footer.css';const
|
|
4
|
-
footer:
|
|
5
|
-
image:
|
|
6
|
-
text:
|
|
7
|
-
},
|
|
8
|
-
/* @__PURE__ */ e("img", { src:
|
|
9
|
-
/* @__PURE__ */ e("p", { className: t.text, children:
|
|
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
|
-
|
|
12
|
+
x as default
|
|
13
13
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
import l from "../../utils/parse.js";
|
|
4
|
-
import
|
|
5
|
-
import '../../assets/GenericOverlay.css';const i = "
|
|
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:
|
|
8
|
-
ctas:
|
|
9
|
-
},
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */ n("div", { className:
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ n("div", { className:
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
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-
|
|
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 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
|
|
3
|
-
import
|
|
4
|
-
import { c as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
34
|
+
E as default
|
|
33
35
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import '../../assets/List.css';const
|
|
5
|
-
item:
|
|
6
|
-
emphasis:
|
|
7
|
-
body:
|
|
8
|
-
},
|
|
9
|
-
/* @__PURE__ */ e("h2", { children:
|
|
10
|
-
|
|
11
|
-
/* @__PURE__ */ e(
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ e("p", { className: s.emphasis, children:
|
|
14
|
-
/* @__PURE__ */ e("p", { className: s.body, children:
|
|
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-${
|
|
16
|
+
] }, `item-${n}`))
|
|
17
17
|
] }));
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
b as default
|
|
20
20
|
};
|