dune-react 0.0.40 → 0.0.42
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/contact-sections/centered-form/index.d.ts +96 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +6 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +3 -3
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +159 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +14 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +99 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +7 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +87 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +4 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +104 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +13 -2
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +150 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +12 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +150 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +12 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +147 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +5 -1
- package/dist/components/puck-block/contact-sections/props.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +96 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +6 -1
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +147 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +5 -1
- package/dist/components/puck-block/cta-sections/props.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/props.js +8 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +75 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +6 -6
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +3 -3
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +3 -3
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +2 -2
- package/dist/components/puck-block/faq-sections/props.d.ts +2 -2
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -5
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +3 -3
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +2 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +2 -2
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.js +2 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -3
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +6 -6
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -8
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +226 -2
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +34 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +2 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +159 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +32 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +2 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +114 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +44 -2
- package/dist/components/puck-block/footer-sections/props.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +169 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +11 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -6
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +163 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +9 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +7 -3
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +3 -3
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +7 -3
- package/dist/components/puck-block/gallery-sections/props.d.ts +3 -3
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +7 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +228 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +13 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +6 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/centered-navbar/index.js +8 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/drawer-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +8 -1
- package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +1 -6
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +24 -36
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +0 -6
- package/dist/components/puck-block/hero-sections/carousel-hero/index.js +1 -3
- package/dist/components/puck-block/hero-sections/props.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +5 -5
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +79 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +2 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +6 -1
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +55 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +7 -7
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +55 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/props.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +64 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +5 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +70 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +7 -2
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +78 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +13 -1
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +23 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +10 -1
- package/dist/components/puck-block/registry.generated.d.ts +5734 -2060
- package/dist/components/puck-block/registry.generated.js +14 -14
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/props.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +6 -6
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +6 -6
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +6 -6
- package/dist/components/puck-block/team-sections/props.d.ts +1 -1
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-grid/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +22 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +3 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +6 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +3 -3
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/props.d.ts +5 -5
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +7 -7
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +47 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +5 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -6
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +30 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +6 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +9 -9
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +21 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +5 -1
- package/dist/components/puck-block/text-sections/blog-article/component.js +3 -3
- package/dist/components/puck-block/text-sections/props.d.ts +3 -3
- package/dist/components/puck-block/text-sections/prose-content/component.js +3 -3
- package/dist/components/puck-core/core/props/index.js +7 -0
- package/dist/components/puck-core/core/puck-fields-to-zod.d.ts +1 -0
- package/dist/components/puck-core/core/puck-fields-to-zod.js +21 -10
- package/package.json +1 -1
|
@@ -273,13 +273,13 @@ const categories = {
|
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
const sectionsMap = {
|
|
276
|
-
"banner-
|
|
276
|
+
"banner-sections": [
|
|
277
277
|
"CssMarqueeBanner",
|
|
278
278
|
"DualRowMarquee",
|
|
279
279
|
"ScrollDrivenMarquee",
|
|
280
280
|
"ScrollParallaxText"
|
|
281
281
|
],
|
|
282
|
-
"contact-
|
|
282
|
+
"contact-sections": [
|
|
283
283
|
"CenteredForm",
|
|
284
284
|
"ContactCardsGrid",
|
|
285
285
|
"ContactModal",
|
|
@@ -291,29 +291,29 @@ const sectionsMap = {
|
|
|
291
291
|
"SplitInfoForm",
|
|
292
292
|
"TabLocations"
|
|
293
293
|
],
|
|
294
|
-
"cta-
|
|
294
|
+
"cta-sections": [
|
|
295
295
|
"FeatureCardCta",
|
|
296
296
|
"SideMediaCta"
|
|
297
297
|
],
|
|
298
|
-
"faq-
|
|
298
|
+
"faq-sections": [
|
|
299
299
|
"DualColumnAccordionFaq",
|
|
300
300
|
"StackedAccordionFaq",
|
|
301
301
|
"StackedStaticFaq",
|
|
302
302
|
"TwoColumnAccordionFaq",
|
|
303
303
|
"TwoColumnStaticFaq"
|
|
304
304
|
],
|
|
305
|
-
"feature-
|
|
305
|
+
"feature-sections": [
|
|
306
306
|
"FeatureCardsGrid",
|
|
307
307
|
"FeatureListSplit",
|
|
308
308
|
"TabFeature",
|
|
309
309
|
"TextMediaSplit",
|
|
310
310
|
"TextOnlySection"
|
|
311
311
|
],
|
|
312
|
-
"footer-
|
|
312
|
+
"footer-sections": [
|
|
313
313
|
"CenteredMinimalFooter",
|
|
314
314
|
"CtaLinksFooter"
|
|
315
315
|
],
|
|
316
|
-
"gallery-
|
|
316
|
+
"gallery-sections": [
|
|
317
317
|
"AsymmetricGrid",
|
|
318
318
|
"FullscreenPortfolio",
|
|
319
319
|
"ImageCarousel",
|
|
@@ -325,7 +325,7 @@ const sectionsMap = {
|
|
|
325
325
|
"SplitCarousel",
|
|
326
326
|
"StaticGrid"
|
|
327
327
|
],
|
|
328
|
-
"header-
|
|
328
|
+
"header-sections": [
|
|
329
329
|
"CenteredNavbar",
|
|
330
330
|
"DrawerNavbar",
|
|
331
331
|
"FloatingBorderedNavbar",
|
|
@@ -354,20 +354,20 @@ const sectionsMap = {
|
|
|
354
354
|
"Location2",
|
|
355
355
|
"Location3"
|
|
356
356
|
],
|
|
357
|
-
"metrics-
|
|
357
|
+
"metrics-sections": [
|
|
358
358
|
"CenterMediaStats",
|
|
359
359
|
"HeaderStatsRow",
|
|
360
360
|
"MixedGridStats",
|
|
361
361
|
"SplitStats",
|
|
362
362
|
"TabStats"
|
|
363
363
|
],
|
|
364
|
-
"pricing-
|
|
364
|
+
"pricing-sections": [
|
|
365
365
|
"SinglePricingCard",
|
|
366
366
|
"SplitPricing",
|
|
367
367
|
"TabPricingGrid",
|
|
368
368
|
"TabSinglePricing"
|
|
369
369
|
],
|
|
370
|
-
"showcase-
|
|
370
|
+
"showcase-sections": [
|
|
371
371
|
"CompactTimeline",
|
|
372
372
|
"HorizontalTimeline",
|
|
373
373
|
"SingleColumnTimeline",
|
|
@@ -375,14 +375,14 @@ const sectionsMap = {
|
|
|
375
375
|
"TabTimeline",
|
|
376
376
|
"ZigzagTimeline"
|
|
377
377
|
],
|
|
378
|
-
"team-
|
|
378
|
+
"team-sections": [
|
|
379
379
|
"TeamCarousel",
|
|
380
380
|
"TeamGrid",
|
|
381
381
|
"TeamInlineCard",
|
|
382
382
|
"TeamStickyScatter",
|
|
383
383
|
"TeamTwoColumn"
|
|
384
384
|
],
|
|
385
|
-
"testimonial-
|
|
385
|
+
"testimonial-sections": [
|
|
386
386
|
"BentoTestimonial",
|
|
387
387
|
"CenteredTestimonial",
|
|
388
388
|
"HalfscreenTestimonialCarousel",
|
|
@@ -394,7 +394,7 @@ const sectionsMap = {
|
|
|
394
394
|
"TestimonialCardGrid",
|
|
395
395
|
"TestimonialCarousel"
|
|
396
396
|
],
|
|
397
|
-
"text-
|
|
397
|
+
"text-sections": [
|
|
398
398
|
"AsideNavContent",
|
|
399
399
|
"BlogArticle",
|
|
400
400
|
"ProseContent",
|
|
@@ -19,7 +19,7 @@ const CompactTimeline = (props) => {
|
|
|
19
19
|
className: sectionClassName,
|
|
20
20
|
style: sectionStyle,
|
|
21
21
|
css,
|
|
22
|
-
hasImage = false
|
|
22
|
+
hasImage = "false"
|
|
23
23
|
} = styles ?? {};
|
|
24
24
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("overflow-hidden px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
25
25
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-lg", children: [
|
|
@@ -54,7 +54,7 @@ const CompactEntry = ({
|
|
|
54
54
|
const content = /* @__PURE__ */ jsxs("div", { className: cn("mb-8 flex flex-col items-start md:mb-0 md:mr-4", !isEven && "order-last md:order-none"), children: [
|
|
55
55
|
/* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold md:text-2xl", children: item.date }),
|
|
56
56
|
/* @__PURE__ */ jsx("p", { children: item.description }),
|
|
57
|
-
hasImage && item.media && /* @__PURE__ */ jsx("div", { className: "mt-4 w-full", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) })
|
|
57
|
+
hasImage === "true" && item.media && /* @__PURE__ */ jsx("div", { className: "mt-4 w-full", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) })
|
|
58
58
|
] });
|
|
59
59
|
const line = /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center md:w-full md:flex-row", children: [
|
|
60
60
|
/* @__PURE__ */ jsx("div", { className: "z-20 size-[0.9375rem] flex-none rounded-full bg-black shadow-[0_0_0_8px_white]" }),
|
|
@@ -92,7 +92,7 @@ const CompactTimelineDefaults = {
|
|
|
92
92
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
93
93
|
timelineItems: [defaultItem, defaultItem, defaultItem, defaultItem, defaultItem],
|
|
94
94
|
styles: {
|
|
95
|
-
hasImage: false
|
|
95
|
+
hasImage: "false"
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
export {
|
|
@@ -22,7 +22,7 @@ const HorizontalTimeline = (props) => {
|
|
|
22
22
|
className: sectionClassName,
|
|
23
23
|
style: sectionStyle,
|
|
24
24
|
css,
|
|
25
|
-
hasImage = false
|
|
25
|
+
hasImage = "false"
|
|
26
26
|
} = styles ?? {};
|
|
27
27
|
const [api, setApi] = useState();
|
|
28
28
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
@@ -52,7 +52,7 @@ const HorizontalTimeline = (props) => {
|
|
|
52
52
|
/* @__PURE__ */ jsxs("div", { className: "px-8 text-center", children: [
|
|
53
53
|
/* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold md:text-2xl", children: item.date }),
|
|
54
54
|
/* @__PURE__ */ jsx("p", { children: item.description }),
|
|
55
|
-
hasImage && item.media && /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) })
|
|
55
|
+
hasImage === "true" && item.media && /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) })
|
|
56
56
|
] })
|
|
57
57
|
] }) }, index)) }),
|
|
58
58
|
currentIndex > 0 && /* @__PURE__ */ jsx(CarouselPrevious, { className: "size-12" }),
|
|
@@ -76,7 +76,7 @@ const HorizontalTimelineDefaults = {
|
|
|
76
76
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
77
77
|
timelineItems: [defaultItem, defaultItem, defaultItem, defaultItem, defaultItem, defaultItem],
|
|
78
78
|
styles: {
|
|
79
|
-
hasImage: false
|
|
79
|
+
hasImage: "false"
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
export {
|
|
@@ -11,8 +11,8 @@ export interface ShowcaseSectionStyles {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
style?: React.CSSProperties;
|
|
13
13
|
css?: string;
|
|
14
|
-
bordered?:
|
|
15
|
-
hasImage?:
|
|
14
|
+
bordered?: string;
|
|
15
|
+
hasImage?: string;
|
|
16
16
|
contentLayout?: "image-only" | "text+image";
|
|
17
17
|
interaction?: "accordion" | "static";
|
|
18
18
|
}
|
|
@@ -23,8 +23,8 @@ const SingleColumnTimeline = (props) => {
|
|
|
23
23
|
className: sectionClassName,
|
|
24
24
|
style: sectionStyle,
|
|
25
25
|
css,
|
|
26
|
-
bordered = false,
|
|
27
|
-
hasImage = false
|
|
26
|
+
bordered = "false",
|
|
27
|
+
hasImage = "false"
|
|
28
28
|
} = styles ?? {};
|
|
29
29
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container max-w-lg", children: [
|
|
30
30
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 w-full max-w-lg", children: [
|
|
@@ -60,7 +60,7 @@ const TimelineEntry = ({
|
|
|
60
60
|
const backgroundColor = {
|
|
61
61
|
backgroundColor: useTransform(scrollYProgress, [0.85, 1], ["#ccc", "#000"])
|
|
62
62
|
};
|
|
63
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("relative", bordered && "border border-border-primary p-6 md:p-8"), children: [
|
|
63
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("relative", bordered === "true" && "border border-border-primary p-6 md:p-8"), children: [
|
|
64
64
|
/* @__PURE__ */ jsx("div", { className: "absolute -ml-8 flex h-full w-8 items-start justify-center", children: /* @__PURE__ */ jsx(
|
|
65
65
|
motion.div,
|
|
66
66
|
{
|
|
@@ -73,7 +73,7 @@ const TimelineEntry = ({
|
|
|
73
73
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-4xl font-bold leading-[1.2] md:mb-4 md:text-5xl lg:text-6xl", children: item.heading }),
|
|
74
74
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-xl font-bold md:mb-4 md:text-2xl", children: item.title }),
|
|
75
75
|
/* @__PURE__ */ jsx("p", { children: item.description }),
|
|
76
|
-
hasImage && item.media && /* @__PURE__ */ jsx("div", { className: "mt-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) }),
|
|
76
|
+
hasImage === "true" && item.media && /* @__PURE__ */ jsx("div", { className: "mt-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) }),
|
|
77
77
|
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: item.buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
78
78
|
] })
|
|
79
79
|
] });
|
|
@@ -95,8 +95,8 @@ const SingleColumnTimelineDefaults = {
|
|
|
95
95
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
96
96
|
timelineItems: [defaultItem, defaultItem, defaultItem, defaultItem],
|
|
97
97
|
styles: {
|
|
98
|
-
bordered: false,
|
|
99
|
-
hasImage: false
|
|
98
|
+
bordered: "false",
|
|
99
|
+
hasImage: "false"
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
export {
|
|
@@ -23,8 +23,8 @@ const StickyScrollTimeline = (props) => {
|
|
|
23
23
|
className: sectionClassName,
|
|
24
24
|
style: sectionStyle,
|
|
25
25
|
css,
|
|
26
|
-
bordered = false,
|
|
27
|
-
hasImage = false
|
|
26
|
+
bordered = "false",
|
|
27
|
+
hasImage = "false"
|
|
28
28
|
} = styles ?? {};
|
|
29
29
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "relative grid auto-cols-fr grid-cols-1 items-start justify-center gap-6 sm:gap-12 md:grid-cols-2 md:gap-24 lg:gap-32", children: [
|
|
30
30
|
/* @__PURE__ */ jsxs("div", { className: "relative top-0 z-10 md:sticky md:top-20 md:z-auto md:pr-4", children: [
|
|
@@ -58,7 +58,7 @@ const TimelineEntry = ({
|
|
|
58
58
|
const backgroundColor = {
|
|
59
59
|
backgroundColor: useTransform(scrollYProgress, [0.85, 1], ["#ccc", "#000"])
|
|
60
60
|
};
|
|
61
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("relative", bordered && "border border-border-primary p-6 md:p-8"), children: [
|
|
61
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("relative", bordered === "true" && "border border-border-primary p-6 md:p-8"), children: [
|
|
62
62
|
/* @__PURE__ */ jsx("div", { className: "absolute flex h-full w-8 items-start justify-center md:-ml-24 md:w-24 lg:-ml-32 lg:w-32", children: /* @__PURE__ */ jsx(
|
|
63
63
|
motion.div,
|
|
64
64
|
{
|
|
@@ -71,7 +71,7 @@ const TimelineEntry = ({
|
|
|
71
71
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-4xl font-bold leading-[1.2] md:mb-4 md:text-5xl lg:text-6xl", children: timeline.date }),
|
|
72
72
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-xl font-bold md:mb-4 md:text-2xl", children: timeline.heading }),
|
|
73
73
|
/* @__PURE__ */ jsx("p", { children: timeline.description }),
|
|
74
|
-
hasImage && timeline.media && /* @__PURE__ */ jsx("div", { className: "mt-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: timeline.media.src, alt: timeline.media.alt, className: "w-full object-cover" }) }),
|
|
74
|
+
hasImage === "true" && timeline.media && /* @__PURE__ */ jsx("div", { className: "mt-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: timeline.media.src, alt: timeline.media.alt, className: "w-full object-cover" }) }),
|
|
75
75
|
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: timeline.buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
76
76
|
] })
|
|
77
77
|
] });
|
|
@@ -93,8 +93,8 @@ const StickyScrollTimelineDefaults = {
|
|
|
93
93
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
94
94
|
timelines: [defaultTimelineItem, defaultTimelineItem, defaultTimelineItem, defaultTimelineItem],
|
|
95
95
|
styles: {
|
|
96
|
-
bordered: false,
|
|
97
|
-
hasImage: false
|
|
96
|
+
bordered: "false",
|
|
97
|
+
hasImage: "false"
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
export {
|
|
@@ -23,8 +23,8 @@ const ZigzagTimeline = (props) => {
|
|
|
23
23
|
className: sectionClassName,
|
|
24
24
|
style: sectionStyle,
|
|
25
25
|
css,
|
|
26
|
-
bordered = false,
|
|
27
|
-
hasImage = false
|
|
26
|
+
bordered = "false",
|
|
27
|
+
hasImage = "false"
|
|
28
28
|
} = styles ?? {};
|
|
29
29
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
30
30
|
/* @__PURE__ */ jsx("div", { className: "mb-12 text-center md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 w-full max-w-lg", children: [
|
|
@@ -68,13 +68,13 @@ const ZigzagEntry = ({
|
|
|
68
68
|
className: cn(
|
|
69
69
|
"z-20 mt-4 flex w-full flex-col md:w-auto",
|
|
70
70
|
!isEven && "items-start text-left md:items-end md:text-right",
|
|
71
|
-
bordered && "border border-border-primary p-6 md:p-8"
|
|
71
|
+
bordered === "true" && "border border-border-primary p-6 md:p-8"
|
|
72
72
|
),
|
|
73
73
|
children: [
|
|
74
74
|
/* @__PURE__ */ jsx("h3", { className: "mb-5 text-4xl font-bold leading-[1.2] md:mb-6 md:text-5xl lg:text-6xl", children: item.heading }),
|
|
75
75
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-xl font-bold md:mb-4 md:text-2xl", children: item.title }),
|
|
76
76
|
/* @__PURE__ */ jsx("p", { children: item.description }),
|
|
77
|
-
hasImage && item.media && /* @__PURE__ */ jsx("div", { className: "mt-6 w-full", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) }),
|
|
77
|
+
hasImage === "true" && item.media && /* @__PURE__ */ jsx("div", { className: "mt-6 w-full", children: /* @__PURE__ */ jsx(CompoundMedia, { src: item.media.src, alt: item.media.alt, className: "w-full object-cover" }) }),
|
|
78
78
|
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: item.buttons.map((button, bIndex) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, bIndex)) })
|
|
79
79
|
]
|
|
80
80
|
}
|
|
@@ -114,8 +114,8 @@ const ZigzagTimelineDefaults = {
|
|
|
114
114
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
115
115
|
timelineItems: [defaultItem, defaultItem, defaultItem, defaultItem],
|
|
116
116
|
styles: {
|
|
117
|
-
bordered: false,
|
|
118
|
-
hasImage: false
|
|
117
|
+
bordered: "false",
|
|
118
|
+
hasImage: "false"
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
export {
|
|
@@ -14,7 +14,7 @@ export interface TeamSectionStyles {
|
|
|
14
14
|
textAlign?: "left" | "center";
|
|
15
15
|
gridColumns?: "2" | "3" | "4";
|
|
16
16
|
imageShape?: "circle" | "square";
|
|
17
|
-
hasFooter?:
|
|
17
|
+
hasFooter?: string;
|
|
18
18
|
cardLayout?: "vertical" | "horizontal";
|
|
19
19
|
memberGridColumns?: "1" | "2";
|
|
20
20
|
}
|
|
@@ -30,6 +30,31 @@ declare const conf: {
|
|
|
30
30
|
description: {
|
|
31
31
|
type: string;
|
|
32
32
|
};
|
|
33
|
+
media: {
|
|
34
|
+
type: "object";
|
|
35
|
+
objectFields: {
|
|
36
|
+
src: import("@puckeditor/core").Field<string>;
|
|
37
|
+
alt: {
|
|
38
|
+
type: "text";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
socialLinks: {
|
|
43
|
+
type: string;
|
|
44
|
+
arrayFields: {
|
|
45
|
+
platform: {
|
|
46
|
+
type: string;
|
|
47
|
+
options: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
url: {
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
33
58
|
};
|
|
34
59
|
};
|
|
35
60
|
footer: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TeamCarousel, TeamCarouselDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
4
5
|
import { teamStyleFields } from "../props.js";
|
|
5
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
@@ -14,7 +15,27 @@ const conf = {
|
|
|
14
15
|
arrayFields: {
|
|
15
16
|
name: { type: "text" },
|
|
16
17
|
jobTitle: { type: "text" },
|
|
17
|
-
description: { type: "textarea" }
|
|
18
|
+
description: { type: "textarea" },
|
|
19
|
+
media: mediaField,
|
|
20
|
+
socialLinks: {
|
|
21
|
+
type: "array",
|
|
22
|
+
arrayFields: {
|
|
23
|
+
platform: {
|
|
24
|
+
type: "select",
|
|
25
|
+
options: [
|
|
26
|
+
{ label: "Twitter / X", value: "twitter" },
|
|
27
|
+
{ label: "Facebook", value: "facebook" },
|
|
28
|
+
{ label: "Instagram", value: "instagram" },
|
|
29
|
+
{ label: "LinkedIn", value: "linkedin" },
|
|
30
|
+
{ label: "YouTube", value: "youtube" },
|
|
31
|
+
{ label: "GitHub", value: "github" },
|
|
32
|
+
{ label: "TikTok", value: "tiktok" },
|
|
33
|
+
{ label: "Discord", value: "discord" }
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
url: { type: "text", label: "URL" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
18
39
|
}
|
|
19
40
|
},
|
|
20
41
|
footer: {
|
|
@@ -15,7 +15,7 @@ const TeamGrid = (props) => {
|
|
|
15
15
|
textAlign = "center",
|
|
16
16
|
imageShape = "circle",
|
|
17
17
|
gridColumns = "4",
|
|
18
|
-
hasFooter = true
|
|
18
|
+
hasFooter = "true"
|
|
19
19
|
} = styles ?? {};
|
|
20
20
|
const gridColsClass = gridColumns === "2" ? "md:grid-cols-2" : gridColumns === "3" ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2 lg:grid-cols-4";
|
|
21
21
|
const imageClass = imageShape === "circle" ? "size-20 min-h-20 min-w-20 rounded-full object-cover" : "aspect-[3/2] w-full object-cover";
|
|
@@ -34,7 +34,7 @@ const TeamGrid = (props) => {
|
|
|
34
34
|
/* @__PURE__ */ jsx("p", { children: member.description }),
|
|
35
35
|
/* @__PURE__ */ jsx("div", { className: `mt-6 grid grid-flow-col grid-cols-[max-content] gap-3.5 ${textAlign === "center" ? "self-center" : "self-start"}`, children: member.socialLinks.map((link, linkIndex) => /* @__PURE__ */ jsx("a", { href: link.href, children: link.icon }, linkIndex)) })
|
|
36
36
|
] }, index)) }),
|
|
37
|
-
hasFooter && footer && /* @__PURE__ */ jsxs("div", { className: `mx-auto mt-14 w-full max-w-md md:mt-20 lg:mt-24 ${textAlign === "center" ? "text-center" : ""}`, children: [
|
|
37
|
+
hasFooter === "true" && footer && /* @__PURE__ */ jsxs("div", { className: `mx-auto mt-14 w-full max-w-md md:mt-20 lg:mt-24 ${textAlign === "center" ? "text-center" : ""}`, children: [
|
|
38
38
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-2xl font-bold md:mb-4 md:text-3xl md:leading-[1.3] lg:text-4xl", children: footer.heading }),
|
|
39
39
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: footer.description }),
|
|
40
40
|
/* @__PURE__ */ jsx("div", { className: `mt-6 flex items-center gap-x-4 md:mt-8 ${textAlign === "center" ? "justify-center" : ""}`, children: /* @__PURE__ */ jsx(Button, { variant: footer.button.variant, size: footer.button.size, children: footer.button.label }) })
|
|
@@ -61,7 +61,7 @@ const TeamGridDefaults = {
|
|
|
61
61
|
textAlign: "center",
|
|
62
62
|
imageShape: "circle",
|
|
63
63
|
gridColumns: "4",
|
|
64
|
-
hasFooter: true
|
|
64
|
+
hasFooter: "true"
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
export {
|
|
@@ -30,6 +30,31 @@ declare const conf: {
|
|
|
30
30
|
description: {
|
|
31
31
|
type: string;
|
|
32
32
|
};
|
|
33
|
+
media: {
|
|
34
|
+
type: "object";
|
|
35
|
+
objectFields: {
|
|
36
|
+
src: import("@puckeditor/core").Field<string>;
|
|
37
|
+
alt: {
|
|
38
|
+
type: "text";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
socialLinks: {
|
|
43
|
+
type: string;
|
|
44
|
+
arrayFields: {
|
|
45
|
+
platform: {
|
|
46
|
+
type: string;
|
|
47
|
+
options: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
url: {
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
33
58
|
};
|
|
34
59
|
};
|
|
35
60
|
footer: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TeamGrid, TeamGridDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
4
5
|
import { teamStyleFields } from "../props.js";
|
|
5
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
@@ -14,7 +15,27 @@ const conf = {
|
|
|
14
15
|
arrayFields: {
|
|
15
16
|
name: { type: "text" },
|
|
16
17
|
jobTitle: { type: "text" },
|
|
17
|
-
description: { type: "textarea" }
|
|
18
|
+
description: { type: "textarea" },
|
|
19
|
+
media: mediaField,
|
|
20
|
+
socialLinks: {
|
|
21
|
+
type: "array",
|
|
22
|
+
arrayFields: {
|
|
23
|
+
platform: {
|
|
24
|
+
type: "select",
|
|
25
|
+
options: [
|
|
26
|
+
{ label: "Twitter / X", value: "twitter" },
|
|
27
|
+
{ label: "Facebook", value: "facebook" },
|
|
28
|
+
{ label: "Instagram", value: "instagram" },
|
|
29
|
+
{ label: "LinkedIn", value: "linkedin" },
|
|
30
|
+
{ label: "YouTube", value: "youtube" },
|
|
31
|
+
{ label: "GitHub", value: "github" },
|
|
32
|
+
{ label: "TikTok", value: "tiktok" },
|
|
33
|
+
{ label: "Discord", value: "discord" }
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
url: { type: "text", label: "URL" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
18
39
|
}
|
|
19
40
|
},
|
|
20
41
|
footer: {
|
|
@@ -30,6 +30,31 @@ declare const conf: {
|
|
|
30
30
|
description: {
|
|
31
31
|
type: string;
|
|
32
32
|
};
|
|
33
|
+
media: {
|
|
34
|
+
type: "object";
|
|
35
|
+
objectFields: {
|
|
36
|
+
src: import("@puckeditor/core").Field<string>;
|
|
37
|
+
alt: {
|
|
38
|
+
type: "text";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
socialLinks: {
|
|
43
|
+
type: string;
|
|
44
|
+
arrayFields: {
|
|
45
|
+
platform: {
|
|
46
|
+
type: string;
|
|
47
|
+
options: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
url: {
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
33
58
|
};
|
|
34
59
|
};
|
|
35
60
|
footer: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TeamInlineCard, TeamInlineCardDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
4
5
|
import { teamStyleFields } from "../props.js";
|
|
5
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
@@ -14,7 +15,27 @@ const conf = {
|
|
|
14
15
|
arrayFields: {
|
|
15
16
|
name: { type: "text" },
|
|
16
17
|
jobTitle: { type: "text" },
|
|
17
|
-
description: { type: "textarea" }
|
|
18
|
+
description: { type: "textarea" },
|
|
19
|
+
media: mediaField,
|
|
20
|
+
socialLinks: {
|
|
21
|
+
type: "array",
|
|
22
|
+
arrayFields: {
|
|
23
|
+
platform: {
|
|
24
|
+
type: "select",
|
|
25
|
+
options: [
|
|
26
|
+
{ label: "Twitter / X", value: "twitter" },
|
|
27
|
+
{ label: "Facebook", value: "facebook" },
|
|
28
|
+
{ label: "Instagram", value: "instagram" },
|
|
29
|
+
{ label: "LinkedIn", value: "linkedin" },
|
|
30
|
+
{ label: "YouTube", value: "youtube" },
|
|
31
|
+
{ label: "GitHub", value: "github" },
|
|
32
|
+
{ label: "TikTok", value: "tiktok" },
|
|
33
|
+
{ label: "Discord", value: "discord" }
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
url: { type: "text", label: "URL" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
18
39
|
}
|
|
19
40
|
},
|
|
20
41
|
footer: {
|
|
@@ -30,6 +30,31 @@ declare const conf: {
|
|
|
30
30
|
description: {
|
|
31
31
|
type: string;
|
|
32
32
|
};
|
|
33
|
+
media: {
|
|
34
|
+
type: "object";
|
|
35
|
+
objectFields: {
|
|
36
|
+
src: import("@puckeditor/core").Field<string>;
|
|
37
|
+
alt: {
|
|
38
|
+
type: "text";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
socialLinks: {
|
|
43
|
+
type: string;
|
|
44
|
+
arrayFields: {
|
|
45
|
+
platform: {
|
|
46
|
+
type: string;
|
|
47
|
+
options: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
url: {
|
|
53
|
+
type: string;
|
|
54
|
+
label: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
33
58
|
};
|
|
34
59
|
};
|
|
35
60
|
styles: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TeamStickyScatter, TeamStickyScatterDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
3
4
|
import { teamStyleFields } from "../props.js";
|
|
4
5
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
@@ -13,7 +14,27 @@ const conf = {
|
|
|
13
14
|
arrayFields: {
|
|
14
15
|
name: { type: "text" },
|
|
15
16
|
jobTitle: { type: "text" },
|
|
16
|
-
description: { type: "textarea" }
|
|
17
|
+
description: { type: "textarea" },
|
|
18
|
+
media: mediaField,
|
|
19
|
+
socialLinks: {
|
|
20
|
+
type: "array",
|
|
21
|
+
arrayFields: {
|
|
22
|
+
platform: {
|
|
23
|
+
type: "select",
|
|
24
|
+
options: [
|
|
25
|
+
{ label: "Twitter / X", value: "twitter" },
|
|
26
|
+
{ label: "Facebook", value: "facebook" },
|
|
27
|
+
{ label: "Instagram", value: "instagram" },
|
|
28
|
+
{ label: "LinkedIn", value: "linkedin" },
|
|
29
|
+
{ label: "YouTube", value: "youtube" },
|
|
30
|
+
{ label: "GitHub", value: "github" },
|
|
31
|
+
{ label: "TikTok", value: "tiktok" },
|
|
32
|
+
{ label: "Discord", value: "discord" }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
url: { type: "text", label: "URL" }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
17
38
|
}
|
|
18
39
|
},
|
|
19
40
|
styles: {
|
|
@@ -85,6 +85,31 @@ declare const conf: {
|
|
|
85
85
|
description: {
|
|
86
86
|
type: string;
|
|
87
87
|
};
|
|
88
|
+
media: {
|
|
89
|
+
type: "object";
|
|
90
|
+
objectFields: {
|
|
91
|
+
src: import("@puckeditor/core").Field<string>;
|
|
92
|
+
alt: {
|
|
93
|
+
type: "text";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
socialLinks: {
|
|
98
|
+
type: string;
|
|
99
|
+
arrayFields: {
|
|
100
|
+
platform: {
|
|
101
|
+
type: string;
|
|
102
|
+
options: {
|
|
103
|
+
label: string;
|
|
104
|
+
value: string;
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
url: {
|
|
108
|
+
type: string;
|
|
109
|
+
label: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
88
113
|
};
|
|
89
114
|
};
|
|
90
115
|
styles: {
|