dune-react 0.0.25 → 0.0.27
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/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +1 -1
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +1 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +1 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +1 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +2 -2
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +1 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +1 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +1 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +1 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +1 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +1 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +1 -1
- package/package.json +1 -1
package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
4
3
|
import { useRef } from "react";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
8
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
9
9
|
const ScrollDrivenMarquee = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
headings = [],
|
package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
8
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
9
9
|
const ScrollParallaxText = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
headings = [],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import { motion } from "framer-motion";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { resolveActionUrl } from "../../../puck-core/core/props/interactive.js";
|
|
7
|
+
import { motion } from "framer-motion";
|
|
8
8
|
const getDirection = (ev, obj) => {
|
|
9
9
|
const { width: w, height: h, left, top } = obj.getBoundingClientRect();
|
|
10
10
|
const centerX = left + w / 2;
|
package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js
CHANGED
|
@@ -3,10 +3,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
6
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
8
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
9
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
10
10
|
const FullscreenPortfolio = (props) => {
|
|
11
11
|
const { projects, styles } = {
|
|
12
12
|
...FullscreenPortfolioDefaults,
|
package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef, useState } from "react";
|
|
4
|
-
import { motion } from "framer-motion";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
+
import { motion } from "framer-motion";
|
|
8
8
|
const getDirection = (ev, obj) => {
|
|
9
9
|
const { width: w, height: h, left, top } = obj.getBoundingClientRect();
|
|
10
10
|
const centerX = left + w / 2;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
9
8
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
9
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
10
10
|
const ScrollParallax = (props) => {
|
|
11
11
|
const { heading, description, images, styles } = {
|
|
12
12
|
...ScrollParallaxDefaults,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion, useSpring, easeOut, easeInOut } from "framer-motion";
|
|
5
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
9
8
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
9
|
+
import { useScroll, useTransform, motion, useSpring, easeOut, easeInOut } from "framer-motion";
|
|
10
10
|
const ScrollParallaxPortfolio = (props) => {
|
|
11
11
|
const { projects: projects2, styles } = {
|
|
12
12
|
...ScrollParallaxPortfolioDefaults,
|
|
@@ -49,7 +49,7 @@ const ThreeImageParallaxVariant = ({
|
|
|
49
49
|
const transformRef = useRef(null);
|
|
50
50
|
const [scrollContainerRef] = useScrollContainer(transformRef);
|
|
51
51
|
const { scrollYProgress } = useScroll({
|
|
52
|
-
target: transformRef,
|
|
52
|
+
...isEditor ? {} : { target: transformRef },
|
|
53
53
|
...scrollContainerRef.current ? { container: scrollContainerRef } : {}
|
|
54
54
|
});
|
|
55
55
|
const smoothProgress = useSpring(scrollYProgress, {
|
|
@@ -3,9 +3,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { motion } from "framer-motion";
|
|
7
6
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
|
+
import { motion } from "framer-motion";
|
|
9
9
|
const CenteredNavbar = (props) => {
|
|
10
10
|
const { logo, navLinks, buttons, styles } = {
|
|
11
11
|
...CenteredNavbarDefaults,
|
|
@@ -3,9 +3,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { AnimatePresence, motion } from "framer-motion";
|
|
7
6
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
|
+
import { AnimatePresence, motion } from "framer-motion";
|
|
9
9
|
const DrawerNavbar = (props) => {
|
|
10
10
|
const { logo, navLinks, buttons, styles } = {
|
|
11
11
|
...DrawerNavbarDefaults,
|
|
@@ -4,10 +4,10 @@ import { useState } from "react";
|
|
|
4
4
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { motion, AnimatePresence } from "framer-motion";
|
|
8
7
|
import { RxChevronDown } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/rx/index.js";
|
|
9
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
9
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
|
+
import { motion, AnimatePresence } from "framer-motion";
|
|
11
11
|
const FloatingBorderedNavbar = (props) => {
|
|
12
12
|
const { logo, navLinks, button, styles } = {
|
|
13
13
|
...FloatingBorderedNavbarDefaults,
|
|
@@ -3,9 +3,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { motion, AnimatePresence } from "framer-motion";
|
|
7
6
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
|
+
import { motion, AnimatePresence } from "framer-motion";
|
|
9
9
|
const FullscreenOverlayNavbar = (props) => {
|
|
10
10
|
const { logo, navLinks, button, styles } = {
|
|
11
11
|
...FullscreenOverlayNavbarDefaults,
|
|
@@ -4,9 +4,9 @@ import { useState } from "react";
|
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { motion } from "framer-motion";
|
|
8
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { motion } from "framer-motion";
|
|
10
10
|
const MegaMenuNavbar = (props) => {
|
|
11
11
|
const { logo, navLinks, buttons, styles } = { ...MegaMenuNavbarDefaults, ...props };
|
|
12
12
|
const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
|
|
@@ -4,10 +4,10 @@ import { useState } from "react";
|
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { motion, AnimatePresence } from "framer-motion";
|
|
8
7
|
import { RxChevronDown } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/rx/index.js";
|
|
9
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
9
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
|
+
import { motion, AnimatePresence } from "framer-motion";
|
|
11
11
|
const StandardNavbar = (props) => {
|
|
12
12
|
const { logo, navLinks, buttons, styles } = { ...StandardNavbarDefaults, ...props };
|
|
13
13
|
const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
4
|
import { VideoIframe } from "../../../shadcn/video-iframe.js";
|
|
6
5
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
7
6
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
@@ -11,6 +10,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
11
10
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
12
11
|
import { cn } from "../../../../utils/css-utils.js";
|
|
13
12
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
13
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
14
14
|
const FullscreenVideoHero = (props) => {
|
|
15
15
|
const { heading, description, buttons = [], video = "", images = [{ src: "", alt: "" }], styles } = {
|
|
16
16
|
...FullscreenVideoHeroDefaults,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, motion, useTransform } from "framer-motion";
|
|
5
4
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
6
5
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
7
6
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
@@ -9,6 +8,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
11
10
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
11
|
+
import { useScroll, motion, useTransform } from "framer-motion";
|
|
12
12
|
const GridExpandHero = (props) => {
|
|
13
13
|
const {
|
|
14
14
|
heading,
|
|
@@ -5,9 +5,9 @@ import { CompoundButton } from "../../../puck-base/button.js";
|
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
6
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
|
-
import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";
|
|
9
8
|
import { useCallback } from "react";
|
|
10
9
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
10
|
+
import { motion, useMotionValue, useSpring, useTransform } from "framer-motion";
|
|
11
11
|
const imagePositions = {
|
|
12
12
|
group1: [
|
|
13
13
|
"bottom-[5%] left-[-8%] z-10 max-w-[18%] sm:bottom-[10%] lg:bottom-auto",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
4
3
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
4
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
5
|
import { useRef } from "react";
|
|
@@ -8,6 +7,7 @@ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
|
8
7
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
9
8
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
10
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
|
+
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
11
11
|
const ParallaxImagesHero = (props) => {
|
|
12
12
|
const { heading, description, buttons = [], images = [], styles } = {
|
|
13
13
|
...ParallaxImagesHeroDefaults,
|
|
@@ -4,13 +4,13 @@ import { useState, useRef } from "react";
|
|
|
4
4
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
8
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
10
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
11
10
|
import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
|
|
12
11
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
13
12
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
13
|
+
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
14
14
|
const ScrollExpandVideoHero = (props) => {
|
|
15
15
|
const { heading, description, buttons = [], video = "", images = [{ src: "", alt: "" }], styles } = {
|
|
16
16
|
...ScrollExpandVideoHeroDefaults,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
4
|
import { VideoIframe } from "../../../shadcn/video-iframe.js";
|
|
6
5
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
7
6
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
@@ -12,6 +11,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
12
11
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
13
12
|
import { cn } from "../../../../utils/css-utils.js";
|
|
14
13
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
14
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
15
15
|
const ScrollZoomHero = (props) => {
|
|
16
16
|
var _a, _b, _c, _d;
|
|
17
17
|
const {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
4
3
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
5
4
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
6
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
@@ -8,6 +7,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
9
|
import { useRef } from "react";
|
|
10
|
+
import { useScroll, useSpring, useTransform, motion } from "framer-motion";
|
|
11
11
|
const StickyExpandHero = (props) => {
|
|
12
12
|
const { heading, description, buttons = [], images, styles } = {
|
|
13
13
|
...StickyExpandHeroDefaults,
|
|
@@ -4,12 +4,12 @@ import { useState, useRef } from "react";
|
|
|
4
4
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
8
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
10
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
11
10
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
12
11
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
12
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
13
13
|
const StickyVideoHero = (props) => {
|
|
14
14
|
const {
|
|
15
15
|
heading = "",
|
|
@@ -4,9 +4,9 @@ import { useState } from "react";
|
|
|
4
4
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../shadcn/tabs.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
-
import { AnimatePresence, motion } from "framer-motion";
|
|
8
7
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { AnimatePresence, motion } from "framer-motion";
|
|
10
10
|
const TabHero = (props) => {
|
|
11
11
|
const { defaultTabValue, tabs, styles } = {
|
|
12
12
|
...TabHeroDefaults,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useRef } from "react";
|
|
4
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
4
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
6
5
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
7
6
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
8
7
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
11
11
|
const ThreeImageParallaxHero = (props) => {
|
|
12
12
|
const {
|
|
13
13
|
heading,
|
|
@@ -3,10 +3,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
10
10
|
const SingleColumnTimeline = (props) => {
|
|
11
11
|
const {
|
|
12
12
|
tagline,
|
|
@@ -3,10 +3,10 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
10
10
|
const StickyScrollTimeline = (props) => {
|
|
11
11
|
const {
|
|
12
12
|
tagline,
|
|
@@ -3,10 +3,10 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
-
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
6
|
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
8
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
10
10
|
const ZigzagTimeline = (props) => {
|
|
11
11
|
const {
|
|
12
12
|
tagline,
|