@courtneyring/components-library 1.0.35 → 1.0.36
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/assets/OverlayHero.css +1 -1
- package/package.json +1 -1
- package/dist/AccordionItem-DUGBw5pW 2.js +0 -40
- package/dist/AccordionItem-DUGBw5pW.js +0 -40
- package/dist/ScrollTrigger-6HnikosL 3.js +0 -1086
- package/dist/ScrollTrigger-6HnikosL.js +0 -1086
- package/dist/animations/FadeIn 3.js +0 -34
- package/dist/animations/FadeIn.js +0 -34
- package/dist/animations/FadeInMotion.js +0 -4805
- package/dist/assets/AccordionItem 4.css +0 -1
- package/dist/assets/Background.css +0 -1
- package/dist/assets/Banner 3.css +0 -1
- package/dist/assets/Banner.css +0 -1
- package/dist/assets/BorderedBackground 4.css +0 -1
- package/dist/assets/Button 4.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/ButtonGroup 4.css +0 -1
- package/dist/assets/ButtonGroup.css +0 -1
- package/dist/assets/Container 4.css +0 -1
- package/dist/assets/Container.css +0 -1
- package/dist/assets/Countdown 4.css +0 -1
- package/dist/assets/Countdown.css +0 -1
- package/dist/assets/Fifty 4.css +0 -1
- package/dist/assets/Fifty.css +0 -1
- package/dist/assets/FloatingWordsHero 4.css +0 -1
- package/dist/assets/FloatingWordsHero.css +0 -1
- package/dist/assets/Footer 4.css +0 -1
- package/dist/assets/Footer.css +0 -1
- package/dist/assets/GenericOverlay 4.css +0 -1
- package/dist/assets/GridGallery 4.css +0 -1
- package/dist/assets/GridGallery.css +0 -1
- package/dist/assets/HorizontalScrollImages 4.css +0 -1
- package/dist/assets/HorizontalScrollImages.css +0 -1
- package/dist/assets/IconDetail 4.css +0 -1
- package/dist/assets/IconDetail.css +0 -1
- package/dist/assets/ImageTextBlock 4.css +0 -1
- package/dist/assets/ImageTextBlock.css +0 -1
- package/dist/assets/List.css +0 -1
- package/dist/assets/Map 4.css +0 -1
- package/dist/assets/Map.css +0 -1
- package/dist/assets/MenuButton 4.css +0 -1
- package/dist/assets/MenuButton.css +0 -1
- package/dist/assets/Navbar 4.css +0 -1
- package/dist/assets/Navbar.css +0 -1
- package/dist/assets/Note 4.css +0 -1
- package/dist/assets/Note.css +0 -1
- package/dist/assets/Overlay 4.css +0 -1
- package/dist/assets/Overlay.css +0 -1
- package/dist/assets/OverlayHero 4.css +0 -1
- package/dist/assets/PageContainer 4.css +0 -1
- package/dist/assets/PageContainer.css +0 -1
- package/dist/assets/ParallaxImageGrid 4.css +0 -1
- package/dist/assets/ParallaxImageGrid.css +0 -1
- package/dist/assets/PinnedImage 4.css +0 -1
- package/dist/assets/PromoGroup 4.css +0 -1
- package/dist/assets/PromoGroup.css +0 -1
- package/dist/assets/RSVPEmbed 4.css +0 -1
- package/dist/assets/Schedule 4.css +0 -1
- package/dist/assets/TextBlock 4.css +0 -1
- package/dist/assets/TextBlock.css +0 -1
- package/dist/assets/Timeline 3.css +0 -1
- package/dist/assets/Timeline.css +0 -1
- package/dist/assets/Toolbar 3.css +0 -1
- package/dist/assets/Toolbar.css +0 -1
- package/dist/assets/icons/checkmark.svg +0 -3
- package/dist/components/Accordion/Accordion.js +0 -33
- package/dist/components/Accordion/AccordionItem.js +0 -8
- package/dist/components/Background/Background.js +0 -59
- package/dist/components/Banner/Banner.js +0 -23
- package/dist/components/Button/Button.js +0 -44
- package/dist/components/ButtonGroup/ButtonGroup.js +0 -11
- package/dist/components/Countdown/Countdown.js +0 -41
- package/dist/components/Fifty/Fifty.js +0 -55
- package/dist/components/Fifty/Fifty.stories.js +0 -32
- package/dist/components/FloatingWordsHero/FloatingWordsHero.js +0 -60
- package/dist/components/IconDetail/IconDetail.js +0 -14
- package/dist/components/ImageTextBlock/ImageTextBlock.js +0 -36
- package/dist/components/Navbar/Navbar.js +0 -98
- package/dist/components/Note/Note.js +0 -30
- package/dist/components/OverlayHero/OverlayHero.js +0 -67
- package/dist/components/PageContainer/PageContainer.js +0 -39
- package/dist/components/ParallaxImageGrid/ParallaxImageGrid.js +0 -92
- package/dist/components/PromoGroup/PromoGroup.js +0 -107
- package/dist/components/Schedule/Schedule.js +0 -24
- package/dist/components/Spacer/Spacer.js +0 -6
- package/dist/components/TextBlock/TextBlock.js +0 -27
- package/dist/components/Timeline/Timeline.js +0 -54
- package/dist/hooks/useActiveSection 4.js +0 -27
- package/dist/hooks/useActiveSection.js +0 -27
- package/dist/hooks/useFadeIn 4.js +0 -52
- package/dist/hooks/useFadeIn.js +0 -52
- package/dist/hooks/useImageReveal 4.js +0 -55
- package/dist/hooks/useImageReveal.js +0 -55
- package/dist/hooks/useNavColor 4.js +0 -15
- package/dist/hooks/useNavColor.js +0 -15
- package/dist/hooks/useRepeatable 4.js +0 -32
- package/dist/hooks/useRepeatable.js +0 -32
- package/dist/hooks/useResize 4.js +0 -23
- package/dist/hooks/useResize.js +0 -23
- package/dist/hooks/useResponsive 4.js +0 -15
- package/dist/hooks/useResponsive.js +0 -15
- package/dist/hooks/useReveal 4.js +0 -38
- package/dist/hooks/useReveal.js +0 -38
- package/dist/hooks/useStagger 4.js +0 -43
- package/dist/hooks/useStagger.js +0 -43
- package/dist/index 4.js +0 -50
- package/dist/index-B2JRaoNz 4.js +0 -48
- package/dist/index-B2JRaoNz.js +0 -48
- package/dist/index-BmTo-IS6 4.js +0 -2018
- package/dist/index-BmTo-IS6.js +0 -2018
- package/dist/index-DyQs5aC7 4.js +0 -388
- package/dist/index-DyQs5aC7.js +0 -388
- package/dist/index-K0WrPJ_C 4.js +0 -29
- package/dist/index-K0WrPJ_C.js +0 -29
- package/dist/index.js +0 -50
- package/dist/index.modern-DPbS1w7M 4.js +0 -1443
- package/dist/index.modern-DPbS1w7M.js +0 -1443
- package/dist/presets/animations 4.js +0 -24
- package/dist/presets/animations.js +0 -24
- package/dist/utils/breakpoints 4.js +0 -8
- package/dist/utils/breakpoints.js +0 -8
- package/dist/utils/gsapSetup 4.js +0 -8
- package/dist/utils/gsapSetup.js +0 -8
- package/dist/utils/parse 4.js +0 -12
- package/dist/utils/parse.js +0 -12
- /package/dist/components/{GenericOverlay → GenericOverlay 6}/GenericOverlay.js +0 -0
- /package/dist/components/{PinnedImage → PinnedImage 8}/PinnedImage.js +0 -0
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { useRef as g, useEffect as d } from "react";
|
|
2
|
-
import { g as r } from "../index-BmTo-IS6.js";
|
|
3
|
-
import { S as s } from "../ScrollTrigger-6HnikosL.js";
|
|
4
|
-
function h(o = {}) {
|
|
5
|
-
const t = g(null);
|
|
6
|
-
return d(() => {
|
|
7
|
-
const e = t.current;
|
|
8
|
-
if (!e) return;
|
|
9
|
-
const {
|
|
10
|
-
from: c = { opacity: 0, y: 30 },
|
|
11
|
-
to: n = { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
|
|
12
|
-
start: i = "top 85%",
|
|
13
|
-
once: f = !0,
|
|
14
|
-
delay: a = 0
|
|
15
|
-
} = o, l = window.matchMedia(
|
|
16
|
-
"(prefers-reduced-motion: reduce)"
|
|
17
|
-
).matches, u = r.context(() => {
|
|
18
|
-
if (l) {
|
|
19
|
-
r.set(e, n);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
r.fromTo(e, c, {
|
|
23
|
-
...n,
|
|
24
|
-
delay: a,
|
|
25
|
-
scrollTrigger: {
|
|
26
|
-
trigger: o.trigger ?? e,
|
|
27
|
-
start: i,
|
|
28
|
-
toggleActions: f ? "play none none none" : "play none none reverse",
|
|
29
|
-
onEnter: () => console.log("ScrollTrigger fired for:", e)
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
return window.addEventListener("load", () => s.refresh()), setTimeout(() => s.refresh(), 500), () => u.revert();
|
|
34
|
-
}, []), t;
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
h as useReveal
|
|
38
|
-
};
|
package/dist/hooks/useReveal.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { useRef as g, useEffect as d } from "react";
|
|
2
|
-
import { g as r } from "../index-BmTo-IS6.js";
|
|
3
|
-
import { S as s } from "../ScrollTrigger-6HnikosL.js";
|
|
4
|
-
function h(o = {}) {
|
|
5
|
-
const t = g(null);
|
|
6
|
-
return d(() => {
|
|
7
|
-
const e = t.current;
|
|
8
|
-
if (!e) return;
|
|
9
|
-
const {
|
|
10
|
-
from: c = { opacity: 0, y: 30 },
|
|
11
|
-
to: n = { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
|
|
12
|
-
start: i = "top 85%",
|
|
13
|
-
once: f = !0,
|
|
14
|
-
delay: a = 0
|
|
15
|
-
} = o, l = window.matchMedia(
|
|
16
|
-
"(prefers-reduced-motion: reduce)"
|
|
17
|
-
).matches, u = r.context(() => {
|
|
18
|
-
if (l) {
|
|
19
|
-
r.set(e, n);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
r.fromTo(e, c, {
|
|
23
|
-
...n,
|
|
24
|
-
delay: a,
|
|
25
|
-
scrollTrigger: {
|
|
26
|
-
trigger: o.trigger ?? e,
|
|
27
|
-
start: i,
|
|
28
|
-
toggleActions: f ? "play none none none" : "play none none reverse",
|
|
29
|
-
onEnter: () => console.log("ScrollTrigger fired for:", e)
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
return window.addEventListener("load", () => s.refresh()), setTimeout(() => s.refresh(), 500), () => u.revert();
|
|
34
|
-
}, []), t;
|
|
35
|
-
}
|
|
36
|
-
export {
|
|
37
|
-
h as useReveal
|
|
38
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { useRef as g, useEffect as l } from "react";
|
|
2
|
-
import { g as e } from "../index-BmTo-IS6.js";
|
|
3
|
-
function y(c, i = {}, n = {}, r = !0) {
|
|
4
|
-
const o = g(null);
|
|
5
|
-
return l(() => {
|
|
6
|
-
if (!r) return;
|
|
7
|
-
const t = o.current;
|
|
8
|
-
if (!t) return;
|
|
9
|
-
const u = window.matchMedia(
|
|
10
|
-
"(prefers-reduced-motion: reduce)"
|
|
11
|
-
).matches, { scrollTrigger: a, ...f } = n, p = e.context(() => {
|
|
12
|
-
const s = e.utils.toArray(c, t);
|
|
13
|
-
if (u) {
|
|
14
|
-
e.set(s, { opacity: 1, y: 0, scale: 1 });
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
e.fromTo(
|
|
18
|
-
s,
|
|
19
|
-
{ opacity: 0, y: 20, scale: 0.98, ...i },
|
|
20
|
-
{
|
|
21
|
-
opacity: 1,
|
|
22
|
-
y: 0,
|
|
23
|
-
scale: 1,
|
|
24
|
-
stagger: 0.1,
|
|
25
|
-
duration: 0.5,
|
|
26
|
-
ease: "power2.out",
|
|
27
|
-
...f,
|
|
28
|
-
scrollTrigger: {
|
|
29
|
-
trigger: t,
|
|
30
|
-
// ← always keep el as trigger
|
|
31
|
-
start: "top 85%",
|
|
32
|
-
...a
|
|
33
|
-
// ← merge in start/other overrides on top
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
}, t);
|
|
38
|
-
return () => p.revert();
|
|
39
|
-
}, [r]), o;
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
y as useStagger
|
|
43
|
-
};
|
package/dist/hooks/useStagger.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { useRef as g, useEffect as l } from "react";
|
|
2
|
-
import { g as e } from "../index-BmTo-IS6.js";
|
|
3
|
-
function y(c, i = {}, n = {}, r = !0) {
|
|
4
|
-
const o = g(null);
|
|
5
|
-
return l(() => {
|
|
6
|
-
if (!r) return;
|
|
7
|
-
const t = o.current;
|
|
8
|
-
if (!t) return;
|
|
9
|
-
const u = window.matchMedia(
|
|
10
|
-
"(prefers-reduced-motion: reduce)"
|
|
11
|
-
).matches, { scrollTrigger: a, ...f } = n, p = e.context(() => {
|
|
12
|
-
const s = e.utils.toArray(c, t);
|
|
13
|
-
if (u) {
|
|
14
|
-
e.set(s, { opacity: 1, y: 0, scale: 1 });
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
e.fromTo(
|
|
18
|
-
s,
|
|
19
|
-
{ opacity: 0, y: 20, scale: 0.98, ...i },
|
|
20
|
-
{
|
|
21
|
-
opacity: 1,
|
|
22
|
-
y: 0,
|
|
23
|
-
scale: 1,
|
|
24
|
-
stagger: 0.1,
|
|
25
|
-
duration: 0.5,
|
|
26
|
-
ease: "power2.out",
|
|
27
|
-
...f,
|
|
28
|
-
scrollTrigger: {
|
|
29
|
-
trigger: t,
|
|
30
|
-
// ← always keep el as trigger
|
|
31
|
-
start: "top 85%",
|
|
32
|
-
...a
|
|
33
|
-
// ← merge in start/other overrides on top
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
}, t);
|
|
38
|
-
return () => p.revert();
|
|
39
|
-
}, [r]), o;
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
y as useStagger
|
|
43
|
-
};
|
package/dist/index 4.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { default as r } from "./components/PromoGroup/PromoGroup.js";
|
|
2
|
-
import { default as t } from "./components/Background/Background.js";
|
|
3
|
-
import { default as l } from "./components/Banner/Banner.js";
|
|
4
|
-
import { default as d } from "./components/Button/Button.js";
|
|
5
|
-
import { default as p } from "./components/Container/Container.js";
|
|
6
|
-
import { default as s } from "./components/Fifty/Fifty.js";
|
|
7
|
-
import { default as c } from "./components/Footer/Footer.js";
|
|
8
|
-
import { default as B } from "./components/ImageTextBlock/ImageTextBlock.js";
|
|
9
|
-
import { default as y } from "./components/OverlayHero/OverlayHero.js";
|
|
10
|
-
import { default as g } from "./components/Note/Note.js";
|
|
11
|
-
import { default as F } from "./components/MenuButton/MenuButton.js";
|
|
12
|
-
import { default as S } from "./components/Navbar/Navbar.js";
|
|
13
|
-
import { default as C } from "./components/IconDetail/IconDetail.js";
|
|
14
|
-
import { default as H } from "./components/Overlay/Overlay.js";
|
|
15
|
-
import { default as M } from "./components/GenericOverlay/GenericOverlay.js";
|
|
16
|
-
import { default as P } from "./components/Toolbar/Toolbar.js";
|
|
17
|
-
import { default as w } from "./components/TextBlock/TextBlock.js";
|
|
18
|
-
import { default as D } from "./components/RSVPEmbed/RSVPEmbed.js";
|
|
19
|
-
import { default as R } from "./components/Accordion/Accordion.js";
|
|
20
|
-
import { default as W } from "./components/Schedule/Schedule.js";
|
|
21
|
-
import { default as q } from "./components/Countdown/Countdown.js";
|
|
22
|
-
import { default as J } from "./components/FloatingWordsHero/FloatingWordsHero.js";
|
|
23
|
-
import { default as L } from "./components/Map/Map.js";
|
|
24
|
-
import { default as U } from "./components/Spacer/Spacer.js";
|
|
25
|
-
export {
|
|
26
|
-
R as Accordion,
|
|
27
|
-
t as Background,
|
|
28
|
-
l as Banner,
|
|
29
|
-
d as Button,
|
|
30
|
-
p as Container,
|
|
31
|
-
q as Countdown,
|
|
32
|
-
s as Fifty,
|
|
33
|
-
J as FloatingWordsHero,
|
|
34
|
-
c as Footer,
|
|
35
|
-
M as GenericOverlay,
|
|
36
|
-
C as IconDetail,
|
|
37
|
-
B as ImageTextBlock,
|
|
38
|
-
L as Map,
|
|
39
|
-
F as MenuButton,
|
|
40
|
-
S as Navbar,
|
|
41
|
-
g as Note,
|
|
42
|
-
H as Overlay,
|
|
43
|
-
y as OverlayHero,
|
|
44
|
-
r as PromoGroup,
|
|
45
|
-
D as RSVPEmbed,
|
|
46
|
-
W as Schedule,
|
|
47
|
-
U as Spacer,
|
|
48
|
-
w as TextBlock,
|
|
49
|
-
P as Toolbar
|
|
50
|
-
};
|
package/dist/index-B2JRaoNz 4.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function c(e) {
|
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
-
}
|
|
4
|
-
var o = { exports: {} };
|
|
5
|
-
/*!
|
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
|
7
|
-
Licensed under the MIT License (MIT), see
|
|
8
|
-
http://jedwatson.github.io/classnames
|
|
9
|
-
*/
|
|
10
|
-
var i;
|
|
11
|
-
function p() {
|
|
12
|
-
return i || (i = 1, (function(e) {
|
|
13
|
-
(function() {
|
|
14
|
-
var u = {}.hasOwnProperty;
|
|
15
|
-
function s() {
|
|
16
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
17
|
-
var n = arguments[r];
|
|
18
|
-
n && (t = a(t, f(n)));
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
}
|
|
22
|
-
function f(t) {
|
|
23
|
-
if (typeof t == "string" || typeof t == "number")
|
|
24
|
-
return t;
|
|
25
|
-
if (typeof t != "object")
|
|
26
|
-
return "";
|
|
27
|
-
if (Array.isArray(t))
|
|
28
|
-
return s.apply(null, t);
|
|
29
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
30
|
-
return t.toString();
|
|
31
|
-
var r = "";
|
|
32
|
-
for (var n in t)
|
|
33
|
-
u.call(t, n) && t[n] && (r = a(r, n));
|
|
34
|
-
return r;
|
|
35
|
-
}
|
|
36
|
-
function a(t, r) {
|
|
37
|
-
return r ? t ? t + " " + r : t + r : t;
|
|
38
|
-
}
|
|
39
|
-
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
40
|
-
})();
|
|
41
|
-
})(o)), o.exports;
|
|
42
|
-
}
|
|
43
|
-
var l = p();
|
|
44
|
-
const m = /* @__PURE__ */ c(l);
|
|
45
|
-
export {
|
|
46
|
-
m as c,
|
|
47
|
-
c as g
|
|
48
|
-
};
|
package/dist/index-B2JRaoNz.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function c(e) {
|
|
2
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
-
}
|
|
4
|
-
var o = { exports: {} };
|
|
5
|
-
/*!
|
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
|
7
|
-
Licensed under the MIT License (MIT), see
|
|
8
|
-
http://jedwatson.github.io/classnames
|
|
9
|
-
*/
|
|
10
|
-
var i;
|
|
11
|
-
function p() {
|
|
12
|
-
return i || (i = 1, (function(e) {
|
|
13
|
-
(function() {
|
|
14
|
-
var u = {}.hasOwnProperty;
|
|
15
|
-
function s() {
|
|
16
|
-
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
17
|
-
var n = arguments[r];
|
|
18
|
-
n && (t = a(t, f(n)));
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
}
|
|
22
|
-
function f(t) {
|
|
23
|
-
if (typeof t == "string" || typeof t == "number")
|
|
24
|
-
return t;
|
|
25
|
-
if (typeof t != "object")
|
|
26
|
-
return "";
|
|
27
|
-
if (Array.isArray(t))
|
|
28
|
-
return s.apply(null, t);
|
|
29
|
-
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
30
|
-
return t.toString();
|
|
31
|
-
var r = "";
|
|
32
|
-
for (var n in t)
|
|
33
|
-
u.call(t, n) && t[n] && (r = a(r, n));
|
|
34
|
-
return r;
|
|
35
|
-
}
|
|
36
|
-
function a(t, r) {
|
|
37
|
-
return r ? t ? t + " " + r : t + r : t;
|
|
38
|
-
}
|
|
39
|
-
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
40
|
-
})();
|
|
41
|
-
})(o)), o.exports;
|
|
42
|
-
}
|
|
43
|
-
var l = p();
|
|
44
|
-
const m = /* @__PURE__ */ c(l);
|
|
45
|
-
export {
|
|
46
|
-
m as c,
|
|
47
|
-
c as g
|
|
48
|
-
};
|