@courtneyring/components-library 1.0.32 → 1.0.34
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-BnGlD8YU.js +40 -0
- 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/Container.css +1 -1
- package/dist/assets/Fifty.css +1 -1
- 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/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/Schedule.css +1 -1
- package/dist/assets/TextBlock.css +1 -1
- package/dist/assets/Toolbar.css +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Background/Background.js +8 -8
- package/dist/components/Banner/Banner.js +13 -13
- package/dist/components/Button/Button.js +20 -20
- package/dist/components/Container/Container.js +24 -24
- package/dist/components/Fifty/Fifty.js +16 -16
- package/dist/components/Footer/Footer.js +6 -6
- package/dist/components/GenericOverlay/GenericOverlay.js +14 -14
- package/dist/components/IconDetail/IconDetail.js +8 -8
- package/dist/components/ImageTextBlock/ImageTextBlock.js +22 -22
- package/dist/components/List/List.js +12 -12
- package/dist/components/Navbar/Navbar.js +31 -31
- package/dist/components/Note/Note.js +11 -11
- package/dist/components/OverlayHero/OverlayHero.js +21 -21
- package/dist/components/PageContainer/PageContainer.js +6 -6
- package/dist/components/PinnedImage/PinnedImage.js +23 -23
- package/dist/components/PromoGroup/PromoGroup.js +37 -37
- package/dist/components/Schedule/Schedule.js +8 -8
- package/dist/components/Spacer/Spacer.js +3 -3
- package/dist/components/TextBlock/TextBlock.js +17 -17
- package/dist/components/Toolbar/Toolbar.js +29 -23
- package/package.json +1 -1
- package/src/styles/_fonts.scss +48 -94
- package/src/styles/_sizes.scss +1 -1
- package/dist/AccordionItem-CDN4L4a7.js +0 -40
- package/dist/hooks/useActiveSection 4.js +0 -27
- package/dist/hooks/useFadeIn 4.js +0 -52
- package/dist/hooks/useImageReveal 4.js +0 -55
- package/dist/hooks/useNavColor 4.js +0 -15
- package/dist/hooks/useRepeatable 4.js +0 -32
- package/dist/hooks/useResize 4.js +0 -23
- package/dist/hooks/useResponsive 4.js +0 -15
- package/dist/hooks/useReveal 4.js +0 -38
- package/dist/hooks/useStagger 4.js +0 -43
- package/dist/index 2.js +0 -50
- package/dist/index-BmTo-IS6 4.js +0 -2018
- package/dist/index-K0WrPJ_C 4.js +0 -29
- package/dist/index.modern-DPbS1w7M 4.js +0 -1443
- /package/dist/{index-B2JRaoNz 4.js → index-B2JRaoNz 2.js} +0 -0
- /package/dist/{index-DyQs5aC7 4.js → index-DyQs5aC7 3.js} +0 -0
- /package/dist/presets/{animations 4.js → animations 3.js} +0 -0
- /package/dist/utils/{breakpoints 4.js → breakpoints 3.js} +0 -0
- /package/dist/utils/{gsapSetup 4.js → gsapSetup 3.js} +0 -0
- /package/dist/utils/{parse 4.js → parse 3.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { c as
|
|
4
|
-
import '../../assets/Button.css';const
|
|
5
|
-
button:
|
|
6
|
-
hollow:
|
|
7
|
-
filled:
|
|
8
|
-
link:
|
|
9
|
-
},
|
|
2
|
+
import { jsxs as m, jsx as f } from "react/jsx-runtime";
|
|
3
|
+
import { c as b } from "../../index-B2JRaoNz.js";
|
|
4
|
+
import '../../assets/Button.css';const h = "_button_14j8u_1", j = "_hollow_14j8u_110", p = "_filled_14j8u_113", k = "_link_14j8u_149", l = {
|
|
5
|
+
button: h,
|
|
6
|
+
hollow: j,
|
|
7
|
+
filled: p,
|
|
8
|
+
link: k
|
|
9
|
+
}, N = ({
|
|
10
10
|
children: c,
|
|
11
11
|
fn: o,
|
|
12
12
|
href: t,
|
|
13
13
|
target: r,
|
|
14
|
-
hollow:
|
|
14
|
+
hollow: u = !1,
|
|
15
15
|
variation: s = "color-primary-dark",
|
|
16
|
-
textDecoration:
|
|
17
|
-
label:
|
|
16
|
+
textDecoration: _,
|
|
17
|
+
label: i,
|
|
18
18
|
value: n,
|
|
19
19
|
icon: a,
|
|
20
20
|
onClick: e,
|
|
21
|
-
className:
|
|
22
|
-
}) => /* @__PURE__ */
|
|
21
|
+
className: d
|
|
22
|
+
}) => /* @__PURE__ */ m(
|
|
23
23
|
t || n ? "a" : "button",
|
|
24
24
|
{
|
|
25
25
|
href: t || n,
|
|
26
26
|
onClick: o || e ? o || e : null,
|
|
27
27
|
target: r,
|
|
28
|
-
className:
|
|
28
|
+
className: b(
|
|
29
29
|
l.button,
|
|
30
|
-
|
|
30
|
+
u ? l.hollow : l.filled,
|
|
31
31
|
l[s],
|
|
32
|
-
|
|
32
|
+
d
|
|
33
33
|
),
|
|
34
|
-
style: { textDecoration:
|
|
34
|
+
style: { textDecoration: _ },
|
|
35
35
|
"data-color": s,
|
|
36
36
|
children: [
|
|
37
|
-
c ||
|
|
38
|
-
a && /* @__PURE__ */
|
|
37
|
+
c || i,
|
|
38
|
+
a && /* @__PURE__ */ f("span", { className: "material-symbols-outlined", children: a })
|
|
39
39
|
]
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
N as default
|
|
44
44
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useRef as
|
|
5
|
-
import '../../assets/Container.css';const
|
|
6
|
-
container:
|
|
7
|
-
innerContainer:
|
|
8
|
-
styleless:
|
|
9
|
-
},
|
|
10
|
-
color:
|
|
11
|
-
children:
|
|
12
|
-
maxWidth:
|
|
13
|
-
styleless:
|
|
14
|
-
backgroundImage:
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { c as s } from "../../index-B2JRaoNz.js";
|
|
4
|
+
import { useRef as y } from "react";
|
|
5
|
+
import '../../assets/Container.css';const C = "_container_13kbo_1", h = "_innerContainer_13kbo_37", p = "_styleless_13kbo_140", e = {
|
|
6
|
+
container: C,
|
|
7
|
+
innerContainer: h,
|
|
8
|
+
styleless: p
|
|
9
|
+
}, N = ({
|
|
10
|
+
color: r,
|
|
11
|
+
children: a,
|
|
12
|
+
maxWidth: o,
|
|
13
|
+
styleless: i,
|
|
14
|
+
backgroundImage: n,
|
|
15
15
|
backgroundPosition: l,
|
|
16
16
|
fullHeight: c,
|
|
17
17
|
center: m,
|
|
@@ -19,30 +19,30 @@ import '../../assets/Container.css';const u = "_container_zvphg_1", g = "_innerC
|
|
|
19
19
|
id: _,
|
|
20
20
|
...f
|
|
21
21
|
}) => {
|
|
22
|
-
const
|
|
22
|
+
const u = y();
|
|
23
23
|
if (!d)
|
|
24
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ t(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
|
-
className:
|
|
28
|
-
"data-color":
|
|
29
|
-
ref:
|
|
30
|
-
style: { backgroundImage: `url(${
|
|
27
|
+
className: s(e.container, i && e.styleless),
|
|
28
|
+
"data-color": r,
|
|
29
|
+
ref: u,
|
|
30
|
+
style: n && { backgroundImage: `url(${n})`, backgroundPosition: l },
|
|
31
31
|
"data-full-height": c,
|
|
32
32
|
"data-center": m,
|
|
33
33
|
...f,
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ t(
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
|
-
className:
|
|
38
|
-
"data-max-width":
|
|
37
|
+
className: s(e.innerContainer),
|
|
38
|
+
"data-max-width": o,
|
|
39
39
|
id: _,
|
|
40
|
-
children:
|
|
40
|
+
children: a
|
|
41
41
|
}
|
|
42
42
|
)
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
};
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
N as default
|
|
48
48
|
};
|
|
@@ -5,47 +5,47 @@ import { c as f } from "../../index-B2JRaoNz.js";
|
|
|
5
5
|
import { Fragment as d } from "react";
|
|
6
6
|
import F from "../IconDetail/IconDetail.js";
|
|
7
7
|
import j from "../../utils/parse.js";
|
|
8
|
-
import { useReveal as
|
|
9
|
-
import { appleReveal as
|
|
8
|
+
import { useReveal as s } from "../../hooks/useReveal.js";
|
|
9
|
+
import { appleReveal as n } from "../../presets/animations.js";
|
|
10
10
|
import { useImageReveal as I } from "../../hooks/useImageReveal.js";
|
|
11
|
-
import '../../assets/Fifty.css';const b = "
|
|
11
|
+
import '../../assets/Fifty.css';const b = "_content_l4kmn_2", B = "_fifty_l4kmn_49", D = "_contentFirst_l4kmn_86", P = "_reverse_l4kmn_90", q = "_image_l4kmn_93", w = "_text_l4kmn_161", z = "_ctas_l4kmn_219", A = "_details_l4kmn_237", t = {
|
|
12
12
|
content: b,
|
|
13
13
|
fifty: B,
|
|
14
14
|
contentFirst: D,
|
|
15
15
|
reverse: P,
|
|
16
|
-
image:
|
|
17
|
-
text:
|
|
16
|
+
image: q,
|
|
17
|
+
text: w,
|
|
18
18
|
ctas: z,
|
|
19
19
|
details: A
|
|
20
20
|
}, Q = ({
|
|
21
|
-
heading:
|
|
22
|
-
body:
|
|
21
|
+
heading: c,
|
|
22
|
+
body: i,
|
|
23
23
|
ctas: r,
|
|
24
24
|
color: _,
|
|
25
25
|
image: v,
|
|
26
26
|
reverse: p,
|
|
27
|
-
pos:
|
|
27
|
+
pos: R,
|
|
28
28
|
details: l,
|
|
29
|
-
contentFirst:
|
|
29
|
+
contentFirst: h = !0
|
|
30
30
|
}) => {
|
|
31
|
-
const
|
|
31
|
+
const y = I({ duration: 1.4 }), g = s(n), k = s({ ...n, delay: 0.2 }), u = s({ ...n, delay: 0.4 }), x = s({ ...n, delay: 0.4 });
|
|
32
32
|
return /* @__PURE__ */ m(
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
35
|
className: f(
|
|
36
36
|
t.fifty,
|
|
37
37
|
!!p && t.reverse,
|
|
38
|
-
|
|
38
|
+
h && t.contentFirst
|
|
39
39
|
),
|
|
40
40
|
"data-color": _,
|
|
41
41
|
children: [
|
|
42
42
|
/* @__PURE__ */ e("div", { className: f(t.content), children: /* @__PURE__ */ m("div", { className: t.text, children: [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref:
|
|
46
|
-
/* @__PURE__ */ e("div", { className: t.details, ref: x, children: l && l.map((
|
|
43
|
+
c && /* @__PURE__ */ e("h2", { ref: g, children: c }),
|
|
44
|
+
i && /* @__PURE__ */ e("div", { ref: k, children: j(i) }),
|
|
45
|
+
r && !!r.length && /* @__PURE__ */ e("div", { className: t.ctas, ref: u, children: r.map((a, o) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(N, { ...a }) }, o)) }),
|
|
46
|
+
/* @__PURE__ */ e("div", { className: t.details, ref: x, children: l && l.map((a, o) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(F, { ...a }) }, o)) })
|
|
47
47
|
] }) }),
|
|
48
|
-
/* @__PURE__ */ e("div", { className: t.image, ref:
|
|
48
|
+
/* @__PURE__ */ e("div", { className: t.image, ref: y, children: /* @__PURE__ */ e("img", { src: v, style: { objectPosition: R } }) })
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import '../../assets/Footer.css';const a = "
|
|
3
|
+
import '../../assets/Footer.css';const a = "_footer_js61i_2", c = "_image_js61i_58", i = "_text_js61i_63", t = {
|
|
4
4
|
footer: a,
|
|
5
5
|
image: c,
|
|
6
|
-
text:
|
|
7
|
-
},
|
|
8
|
-
/* @__PURE__ */ e("img", { src:
|
|
9
|
-
/* @__PURE__ */ e("p", { className: t.text, children:
|
|
6
|
+
text: i
|
|
7
|
+
}, _ = ({ 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
|
+
_ as default
|
|
13
13
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import '../../assets/GenericOverlay.css';const i = "
|
|
2
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
+
import l from "../../utils/parse.js";
|
|
4
|
+
import o from "../Button/Button.js";
|
|
5
|
+
import '../../assets/GenericOverlay.css';const i = "_overlay_ukyq8_2", d = "_content_ukyq8_61", v = "_ctas_ukyq8_155", n = {
|
|
6
6
|
overlay: i,
|
|
7
|
-
content:
|
|
8
|
-
ctas:
|
|
9
|
-
},
|
|
10
|
-
/* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
content: d,
|
|
8
|
+
ctas: v
|
|
9
|
+
}, y = ({ header: r, body: a, primaryCta: c, secondaryCta: s }) => /* @__PURE__ */ e("div", { className: n.overlay, children: /* @__PURE__ */ t("div", { className: n.innerContainer, children: [
|
|
10
|
+
/* @__PURE__ */ e("h2", { children: r }),
|
|
11
|
+
/* @__PURE__ */ t("div", { className: n.content, children: [
|
|
12
|
+
/* @__PURE__ */ e("div", { children: l(a) }),
|
|
13
|
+
/* @__PURE__ */ t("div", { className: n.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
|
+
y as default
|
|
21
21
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import { c } from "../../index-B2JRaoNz.js";
|
|
5
|
-
import '../../assets/IconDetail.css';const r = "
|
|
2
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import c from "../../utils/parse.js";
|
|
4
|
+
import { c as i } from "../../index-B2JRaoNz.js";
|
|
5
|
+
import '../../assets/IconDetail.css';const r = "_detail_vbocq_1", n = "_label_vbocq_57", a = {
|
|
6
6
|
detail: r,
|
|
7
7
|
label: n
|
|
8
|
-
},
|
|
9
|
-
/* @__PURE__ */ l("span", { className:
|
|
10
|
-
/* @__PURE__ */ l("div", { className: a.label, children:
|
|
8
|
+
}, _ = ({ icon: s, text: e, href: t }) => /* @__PURE__ */ o(t ? "a" : "div", { className: a.detail, children: [
|
|
9
|
+
/* @__PURE__ */ l("span", { className: i(a.icon, "material-symbols-outlined"), children: s }),
|
|
10
|
+
/* @__PURE__ */ l("div", { className: a.label, children: c(e) })
|
|
11
11
|
] });
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
_ as default
|
|
14
14
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as e, jsxs as
|
|
2
|
+
import { jsx as e, jsxs as c, Fragment as v } from "react/jsx-runtime";
|
|
3
3
|
import i from "../Button/Button.js";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as u } from "../../index-B2JRaoNz.js";
|
|
5
5
|
import "../../hooks/useFadeIn.js";
|
|
6
|
-
import
|
|
7
|
-
import { Children as
|
|
8
|
-
import { appleReveal as
|
|
9
|
-
import { useReveal as
|
|
6
|
+
import f from "../../utils/parse.js";
|
|
7
|
+
import { Children as h } from "react";
|
|
8
|
+
import { appleReveal as p } from "../../presets/animations.js";
|
|
9
|
+
import { useReveal as g } from "../../hooks/useReveal.js";
|
|
10
10
|
import { useImageReveal as N } from "../../hooks/useImageReveal.js";
|
|
11
|
-
import '../../assets/ImageTextBlock.css';const
|
|
12
|
-
container:
|
|
13
|
-
reverse:
|
|
14
|
-
content:
|
|
15
|
-
header:
|
|
16
|
-
body:
|
|
17
|
-
ctas:
|
|
18
|
-
image:
|
|
19
|
-
block:
|
|
20
|
-
}, G = ({ image: m, header:
|
|
21
|
-
const d = N(),
|
|
22
|
-
return /* @__PURE__ */ e("div", { className:
|
|
11
|
+
import '../../assets/ImageTextBlock.css';const k = "_container_cuob2_1", R = "_reverse_cuob2_7", x = "_content_cuob2_11", y = "_header_cuob2_16", j = "_body_cuob2_69", I = "_ctas_cuob2_121", B = "_image_cuob2_125", F = "_block_cuob2_186", o = {
|
|
12
|
+
container: k,
|
|
13
|
+
reverse: R,
|
|
14
|
+
content: x,
|
|
15
|
+
header: y,
|
|
16
|
+
body: j,
|
|
17
|
+
ctas: I,
|
|
18
|
+
image: B,
|
|
19
|
+
block: F
|
|
20
|
+
}, G = ({ image: m, header: s, body: t, primaryCta: r, secondaryCta: a, reverse: l, children: n, imagePos: _ }) => {
|
|
21
|
+
const d = N(), b = g({ ...p, delay: 0.2 });
|
|
22
|
+
return /* @__PURE__ */ e("div", { className: u(o.block, l && o.reverse), children: /* @__PURE__ */ c("div", { className: o.container, children: [
|
|
23
23
|
/* @__PURE__ */ e("div", { className: o.image, ref: d, children: /* @__PURE__ */ e("img", { src: m, style: { objectPosition: _ } }) }),
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
/* @__PURE__ */ c("div", { className: o.content, ref: b, children: [
|
|
25
|
+
s && /* @__PURE__ */ e("h2", { className: o.header, children: s }),
|
|
26
|
+
t && /* @__PURE__ */ e("div", { className: o.body, children: f(t) }),
|
|
27
|
+
h.count(n) > 0 ? n : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ c("div", { className: o.ctas, children: [
|
|
28
28
|
r && /* @__PURE__ */ e(i, { ...r }),
|
|
29
29
|
a && /* @__PURE__ */ e(i, { ...a })
|
|
30
30
|
] }) })
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import '../../assets/List.css';const
|
|
5
|
-
item:
|
|
2
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import r from "../Icon/Icon.js";
|
|
4
|
+
import '../../assets/List.css';const n = "_item_17ro6_1", d = "_emphasis_17ro6_61", l = "_body_17ro6_109", s = {
|
|
5
|
+
item: n,
|
|
6
6
|
emphasis: d,
|
|
7
7
|
body: l
|
|
8
|
-
}, _ = ({ icon: a, items: c, header:
|
|
9
|
-
/* @__PURE__ */ e("h2", { children:
|
|
10
|
-
c.map((
|
|
11
|
-
/* @__PURE__ */ e(
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */ e("p", { className: s.emphasis, children:
|
|
14
|
-
/* @__PURE__ */ e("p", { className: s.body, children:
|
|
8
|
+
}, _ = ({ icon: a, items: c, header: o }) => (new URL((/* @__PURE__ */ Object.assign({}))[`./assets/icons/${a}.svg`], import.meta.url).href, /* @__PURE__ */ i("div", { className: s.list, children: [
|
|
9
|
+
/* @__PURE__ */ e("h2", { children: o }),
|
|
10
|
+
c.map((t, m) => /* @__PURE__ */ i("div", { className: s.item, children: [
|
|
11
|
+
/* @__PURE__ */ e(r, { type: "checkmark" }),
|
|
12
|
+
/* @__PURE__ */ i("div", { className: s.content, children: [
|
|
13
|
+
/* @__PURE__ */ e("p", { className: s.emphasis, children: t.header }),
|
|
14
|
+
/* @__PURE__ */ e("p", { className: s.body, children: t.body })
|
|
15
15
|
] })
|
|
16
|
-
] }, `item-${
|
|
16
|
+
] }, `item-${m}`))
|
|
17
17
|
] }));
|
|
18
18
|
export {
|
|
19
19
|
_ as default
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { useRef as g, useState as l, useEffect as
|
|
4
|
-
import
|
|
5
|
-
import { r as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { c as
|
|
9
|
-
import '../../assets/Navbar.css';const
|
|
10
|
-
navbar:
|
|
2
|
+
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as g, useState as l, useEffect as f, cloneElement as y } from "react";
|
|
4
|
+
import k from "../MenuButton/MenuButton.js";
|
|
5
|
+
import { r as w } from "../../index-DyQs5aC7.js";
|
|
6
|
+
import N from "../Overlay/Overlay.js";
|
|
7
|
+
import D from "../Container/Container.js";
|
|
8
|
+
import { c as x } from "../../index-B2JRaoNz.js";
|
|
9
|
+
import '../../assets/Navbar.css';const E = "_navbar_1yhdr_1", O = "_hide_1yhdr_19", Y = "_background_1yhdr_22", S = "_navbar__link_1yhdr_22", $ = "_navbar__logo_1yhdr_26", j = "_component_1yhdr_34", B = "_navbar__links_1yhdr_38", C = "_navbar__mobileDialog_1yhdr_95", F = "_open_1yhdr_107", L = "_navbar__toggle_1yhdr_118", a = {
|
|
10
|
+
navbar: E,
|
|
11
11
|
hide: O,
|
|
12
12
|
background: Y,
|
|
13
13
|
navbar__link: S,
|
|
@@ -23,67 +23,67 @@ import '../../assets/Navbar.css';const y = "_navbar_1okw8_1", O = "_hide_1okw8_1
|
|
|
23
23
|
backgroundColor: I,
|
|
24
24
|
color: P,
|
|
25
25
|
logoComponent: t,
|
|
26
|
-
hidden:
|
|
26
|
+
hidden: b,
|
|
27
27
|
position: v = "absolute"
|
|
28
28
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const o = g(0), [R, m] = l("up"), [e, _] = l(!1), [u, h] = l(!1);
|
|
30
|
+
f(() => (window.addEventListener("scroll", i), () => window.removeEventListener("scroll", i)), []);
|
|
31
31
|
const i = () => {
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
32
|
+
h(window.scrollY > 30);
|
|
33
|
+
const r = window.scrollY;
|
|
34
|
+
r - o.current !== 0 && m(r > o.current ? "down" : "up"), o.current = r > 0 ? r : 0;
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ d(
|
|
37
37
|
"nav",
|
|
38
38
|
{
|
|
39
|
-
className:
|
|
39
|
+
className: x(
|
|
40
40
|
a.navbar,
|
|
41
41
|
u && a.background,
|
|
42
42
|
e && a.open,
|
|
43
43
|
// (direction === "down" || hidden) && styles.hide
|
|
44
|
-
|
|
44
|
+
b && a.hide
|
|
45
45
|
),
|
|
46
46
|
style: e ? {} : { position: v },
|
|
47
47
|
children: [
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ d("a", { className: a.navbar__logo, href: "/", children: [
|
|
49
49
|
s && /* @__PURE__ */ n("img", { src: s }),
|
|
50
|
-
t &&
|
|
50
|
+
t && y(t, {
|
|
51
51
|
className: a.component
|
|
52
52
|
})
|
|
53
53
|
] }),
|
|
54
54
|
/* @__PURE__ */ n("div", { className: a.navbar__toggle, children: /* @__PURE__ */ n(
|
|
55
|
-
|
|
55
|
+
k,
|
|
56
56
|
{
|
|
57
57
|
clickFn: () => _(!e),
|
|
58
58
|
isOpen: e,
|
|
59
59
|
theme: "color-white"
|
|
60
60
|
}
|
|
61
61
|
) }),
|
|
62
|
-
/* @__PURE__ */ n("div", { className: a.navbar__links, children: c.map((
|
|
62
|
+
/* @__PURE__ */ n("div", { className: a.navbar__links, children: c.map((r, p) => /* @__PURE__ */ n(
|
|
63
63
|
"a",
|
|
64
64
|
{
|
|
65
65
|
className: `${a.navbar__link}`,
|
|
66
|
-
href:
|
|
67
|
-
children:
|
|
66
|
+
href: r.value,
|
|
67
|
+
children: r.label
|
|
68
68
|
},
|
|
69
|
-
`navbar-d-${
|
|
69
|
+
`navbar-d-${r.value}`
|
|
70
70
|
)) }),
|
|
71
|
-
e &&
|
|
71
|
+
e && w.createPortal(
|
|
72
72
|
/* @__PURE__ */ n(
|
|
73
|
-
|
|
73
|
+
N,
|
|
74
74
|
{
|
|
75
75
|
closeFn: () => _(!1),
|
|
76
76
|
hideClose: !0,
|
|
77
77
|
background: M.white,
|
|
78
78
|
fullscreen: !0,
|
|
79
|
-
children: /* @__PURE__ */ n(
|
|
79
|
+
children: /* @__PURE__ */ n(D, { color: "color-white", children: /* @__PURE__ */ n("div", { className: a.navbar__mobileDialog, children: c.map((r, p) => /* @__PURE__ */ n(
|
|
80
80
|
"a",
|
|
81
81
|
{
|
|
82
82
|
className: a.navbar__link,
|
|
83
|
-
href:
|
|
84
|
-
children:
|
|
83
|
+
href: r.value,
|
|
84
|
+
children: r.label
|
|
85
85
|
},
|
|
86
|
-
`m-${
|
|
86
|
+
`m-${r.value}`
|
|
87
87
|
)) }) })
|
|
88
88
|
}
|
|
89
89
|
),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { useReveal as i } from "../../hooks/useReveal.js";
|
|
4
4
|
import { appleReveal as m } from "../../presets/animations.js";
|
|
5
5
|
import _ from "../../utils/parse.js";
|
|
6
|
-
import '../../assets/Note.css';const p = "
|
|
6
|
+
import '../../assets/Note.css';const p = "_salutation_69fus_2", u = "_opener_69fus_48", f = "_from_69fus_53", d = "_body_69fus_100", N = "_close_69fus_152", h = "_signature_69fus_199", s = {
|
|
7
7
|
salutation: p,
|
|
8
|
-
opener:
|
|
9
|
-
from:
|
|
10
|
-
body:
|
|
8
|
+
opener: u,
|
|
9
|
+
from: f,
|
|
10
|
+
body: d,
|
|
11
11
|
close: N,
|
|
12
12
|
signature: h
|
|
13
|
-
},
|
|
13
|
+
}, x = ({ salutation: a, from: n, body: r, signature: t, close: c }) => {
|
|
14
14
|
const l = i(m);
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
18
|
-
|
|
15
|
+
return /* @__PURE__ */ o("div", { className: s.note, ref: l, children: [
|
|
16
|
+
/* @__PURE__ */ o("p", { className: s.salutation, children: [
|
|
17
|
+
/* @__PURE__ */ o("span", { className: s.opener, children: [
|
|
18
|
+
a,
|
|
19
19
|
" "
|
|
20
20
|
] }),
|
|
21
21
|
/* @__PURE__ */ e("span", { className: s.from, children: n })
|
|
@@ -26,5 +26,5 @@ import '../../assets/Note.css';const p = "_salutation_1azns_2", d = "_opener_1az
|
|
|
26
26
|
] });
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
x as default
|
|
30
30
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
3
3
|
import y from "../../utils/parse.js";
|
|
4
|
-
import { useRef as e, useEffect as
|
|
4
|
+
import { useRef as e, useEffect as z } from "react";
|
|
5
5
|
import { g as t } from "../../index-BmTo-IS6.js";
|
|
6
|
-
import { S as
|
|
7
|
-
import
|
|
8
|
-
import '../../assets/OverlayHero.css';const
|
|
9
|
-
hero:
|
|
10
|
-
heroBg:
|
|
11
|
-
overlay:
|
|
12
|
-
eyebrow:
|
|
13
|
-
title:
|
|
14
|
-
subtitle:
|
|
6
|
+
import { S as q } from "../../ScrollTrigger-6HnikosL.js";
|
|
7
|
+
import N from "../../hooks/useResize.js";
|
|
8
|
+
import '../../assets/OverlayHero.css';const B = "_hero_fbz3q_5", T = "_heroBg_fbz3q_34", S = "_overlay_fbz3q_42", j = "_eyebrow_fbz3q_69", k = "_title_fbz3q_76", E = "_subtitle_fbz3q_94", r = {
|
|
9
|
+
hero: B,
|
|
10
|
+
heroBg: T,
|
|
11
|
+
overlay: S,
|
|
12
|
+
eyebrow: j,
|
|
13
|
+
title: k,
|
|
14
|
+
subtitle: E
|
|
15
15
|
};
|
|
16
|
-
t.registerPlugin(
|
|
17
|
-
const $ = ({ text:
|
|
18
|
-
const { innerWidth:
|
|
19
|
-
return
|
|
20
|
-
const
|
|
21
|
-
if (w ||
|
|
16
|
+
t.registerPlugin(q);
|
|
17
|
+
const $ = ({ text: P, image: d, pos: g, eyebrow: c, title: b, subtitle: n }) => {
|
|
18
|
+
const { innerWidth: h } = N(), s = e(null), l = e(), a = e(null), i = e(null), u = e(null), f = e(null);
|
|
19
|
+
return z(() => {
|
|
20
|
+
const _ = s.current, v = a.current, w = window.matchMedia("(prefers-reduced-motion: reduce)").matches, m = l.current;
|
|
21
|
+
if (w || h < 390) return;
|
|
22
22
|
const R = t.context(() => {
|
|
23
23
|
t.fromTo(
|
|
24
24
|
v,
|
|
@@ -45,7 +45,7 @@ const $ = ({ text: W, image: d, pos: g, eyebrow: c, title: h, subtitle: a }) =>
|
|
|
45
45
|
y: "15%",
|
|
46
46
|
ease: "none",
|
|
47
47
|
scrollTrigger: {
|
|
48
|
-
trigger:
|
|
48
|
+
trigger: _,
|
|
49
49
|
start: "top top",
|
|
50
50
|
end: "bottom top",
|
|
51
51
|
scrub: !0
|
|
@@ -54,11 +54,11 @@ const $ = ({ text: W, image: d, pos: g, eyebrow: c, title: h, subtitle: a }) =>
|
|
|
54
54
|
}, s);
|
|
55
55
|
return () => R.revert();
|
|
56
56
|
}, []), /* @__PURE__ */ p("div", { ref: s, className: r.hero, children: [
|
|
57
|
-
/* @__PURE__ */ o("div", { ref:
|
|
58
|
-
/* @__PURE__ */ p("div", { ref:
|
|
57
|
+
/* @__PURE__ */ o("div", { ref: l, className: r.heroBg, style: { backgroundImage: `url(${d})`, backgroundPosition: g, opacity: 0 } }),
|
|
58
|
+
/* @__PURE__ */ p("div", { ref: a, className: r.overlay, style: { opacity: 0 }, children: [
|
|
59
59
|
c && /* @__PURE__ */ o("p", { ref: i, className: r.eyebrow, children: c }),
|
|
60
|
-
/* @__PURE__ */ o("h1", { ref: u, className: r.title, children: y(
|
|
61
|
-
|
|
60
|
+
/* @__PURE__ */ o("h1", { ref: u, className: r.title, children: y(b) }),
|
|
61
|
+
n && /* @__PURE__ */ o("div", { ref: f, className: r.subtitle, children: y(n) })
|
|
62
62
|
] })
|
|
63
63
|
] });
|
|
64
64
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import '../../assets/PageContainer.css';const s = "
|
|
3
|
+
import '../../assets/PageContainer.css';const s = "_container__inner_18w4z_2", l = "_removePadding_18w4z_55", m = "_container__body_18w4z_59", y = "_container__copy_18w4z_74", n = {
|
|
4
4
|
container__inner: s,
|
|
5
5
|
removePadding: l,
|
|
6
6
|
container__body: m,
|
|
7
|
-
container__copy:
|
|
8
|
-
},
|
|
9
|
-
heroImage:
|
|
7
|
+
container__copy: y
|
|
8
|
+
}, P = ({
|
|
9
|
+
heroImage: g,
|
|
10
10
|
pageTitle: r,
|
|
11
11
|
children: t,
|
|
12
|
-
hero:
|
|
12
|
+
hero: h,
|
|
13
13
|
copy: e,
|
|
14
14
|
excludePadding: c = []
|
|
15
15
|
}) => {
|
|
@@ -35,5 +35,5 @@ import '../../assets/PageContainer.css';const s = "_container__inner_bnzqv_2", l
|
|
|
35
35
|
] });
|
|
36
36
|
};
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
P as default
|
|
39
39
|
};
|