dune-react 0.0.9 → 0.0.11

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.
Files changed (210) hide show
  1. package/dist/components/puck-base/article-card.js +1 -1
  2. package/dist/components/puck-base/button.d.ts +0 -1
  3. package/dist/components/puck-base/button.js +5 -4
  4. package/dist/components/puck-base/card.js +0 -1
  5. package/dist/components/puck-base/content.js +0 -1
  6. package/dist/components/puck-base/core/fields.d.ts +2 -150
  7. package/dist/components/puck-base/core/fields.js +7 -83
  8. package/dist/components/puck-base/core/styles.d.ts +1946 -0
  9. package/dist/components/puck-base/core/styles.js +250 -0
  10. package/dist/components/puck-base/core/with-editable.d.ts +5 -7
  11. package/dist/components/puck-base/core/with-editable.js +69 -64
  12. package/dist/components/puck-base/{action-field.d.ts → fields/action-field.d.ts} +1 -1
  13. package/dist/components/puck-base/{action-field.js → fields/action-field.js} +91 -16
  14. package/dist/components/puck-base/fields/auto-field.d.ts +0 -1
  15. package/dist/components/puck-base/fields/auto-field.js +2 -90
  16. package/dist/components/puck-base/form.js +0 -1
  17. package/dist/components/puck-base/index.d.ts +1 -1
  18. package/dist/components/puck-base/navigation-menu.d.ts +18 -0
  19. package/dist/components/puck-base/navigation-menu.js +202 -0
  20. package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.d.ts +9 -7
  21. package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.js +11 -8
  22. package/dist/components/puck-block/banner-sections/announcement-banner-1/index.js +19 -37
  23. package/dist/components/puck-block/banner-sections/marquee-1/index.js +26 -24
  24. package/dist/components/puck-block/banner-sections/marquee-1/marquee.d.ts +9 -9
  25. package/dist/components/puck-block/banner-sections/marquee-1/marquee.js +28 -21
  26. package/dist/components/puck-block/banner-sections/props.d.ts +22 -0
  27. package/dist/components/puck-block/contact-sections/contact-us-1/contact-us.d.ts +13 -4
  28. package/dist/components/puck-block/contact-sections/contact-us-1/contact-us.js +114 -105
  29. package/dist/components/puck-block/contact-sections/contact-us-1/index.js +87 -7
  30. package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.d.ts +15 -11
  31. package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.js +27 -22
  32. package/dist/components/puck-block/contact-sections/contact-us-2/index.js +54 -52
  33. package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.d.ts +15 -12
  34. package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.js +29 -24
  35. package/dist/components/puck-block/contact-sections/contact-us-3/index.js +73 -60
  36. package/dist/components/puck-block/contact-sections/props.d.ts +65 -0
  37. package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.d.ts +13 -9
  38. package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.js +28 -30
  39. package/dist/components/puck-block/cta-sections/banner-cta-1/index.js +23 -25
  40. package/dist/components/puck-block/cta-sections/cta-1/cta.d.ts +6 -4
  41. package/dist/components/puck-block/cta-sections/cta-1/cta.js +5 -7
  42. package/dist/components/puck-block/cta-sections/cta-1/index.js +5 -9
  43. package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.d.ts +10 -10
  44. package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.js +48 -22
  45. package/dist/components/puck-block/cta-sections/gradient-cta-1/index.js +36 -29
  46. package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.js +13 -5
  47. package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.d.ts +7 -3
  48. package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.js +35 -32
  49. package/dist/components/puck-block/cta-sections/promo-section-1/index.js +5 -7
  50. package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.d.ts +6 -4
  51. package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.js +93 -79
  52. package/dist/components/puck-block/cta-sections/props.d.ts +47 -0
  53. package/dist/components/puck-block/faq-sections/accordion-1/accordion.d.ts +6 -4
  54. package/dist/components/puck-block/faq-sections/accordion-1/accordion.js +44 -33
  55. package/dist/components/puck-block/faq-sections/accordion-1/index.js +3 -5
  56. package/dist/components/puck-block/faq-sections/faq-1/faq.d.ts +9 -7
  57. package/dist/components/puck-block/faq-sections/faq-1/faq.js +50 -44
  58. package/dist/components/puck-block/faq-sections/faq-1/index.js +12 -14
  59. package/dist/components/puck-block/faq-sections/faq-2/faq-2.d.ts +6 -4
  60. package/dist/components/puck-block/faq-sections/faq-2/faq-2.js +4 -6
  61. package/dist/components/puck-block/faq-sections/faq-2/index.js +4 -5
  62. package/dist/components/puck-block/faq-sections/props.d.ts +30 -0
  63. package/dist/components/puck-block/feature-sections/bento-1/bento.d.ts +6 -4
  64. package/dist/components/puck-block/feature-sections/bento-1/bento.js +2 -4
  65. package/dist/components/puck-block/feature-sections/bento-1/index.js +4 -5
  66. package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.d.ts +6 -4
  67. package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.js +2 -4
  68. package/dist/components/puck-block/feature-sections/feature-cards-1/index.js +4 -7
  69. package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.d.ts +6 -4
  70. package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.js +2 -4
  71. package/dist/components/puck-block/feature-sections/feature-showcase-1/index.js +4 -5
  72. package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.d.ts +6 -4
  73. package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.js +59 -53
  74. package/dist/components/puck-block/feature-sections/icon-grid-1/index.js +7 -8
  75. package/dist/components/puck-block/feature-sections/product-features-1/index.js +4 -5
  76. package/dist/components/puck-block/feature-sections/product-features-1/product-features.d.ts +6 -4
  77. package/dist/components/puck-block/feature-sections/product-features-1/product-features.js +2 -4
  78. package/dist/components/puck-block/feature-sections/props.d.ts +48 -0
  79. package/dist/components/puck-block/footer-sections/footer-1/footer.d.ts +5 -3
  80. package/dist/components/puck-block/footer-sections/footer-1/footer.js +6 -6
  81. package/dist/components/puck-block/footer-sections/footer-1/index.js +3 -5
  82. package/dist/components/puck-block/footer-sections/props.d.ts +31 -0
  83. package/dist/components/puck-block/gallery-sections/gallery-1/gallery.d.ts +9 -7
  84. package/dist/components/puck-block/gallery-sections/gallery-1/gallery.js +48 -40
  85. package/dist/components/puck-block/gallery-sections/gallery-1/index.js +33 -35
  86. package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.d.ts +6 -4
  87. package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.js +19 -13
  88. package/dist/components/puck-block/gallery-sections/gallery-2/index.js +4 -6
  89. package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.d.ts +7 -5
  90. package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.js +5 -7
  91. package/dist/components/puck-block/gallery-sections/gallery-3/index.js +13 -14
  92. package/dist/components/puck-block/gallery-sections/props.d.ts +26 -0
  93. package/dist/components/puck-block/header-sections/header-1/header.d.ts +11 -6
  94. package/dist/components/puck-block/header-sections/header-1/header.js +34 -28
  95. package/dist/components/puck-block/header-sections/header-1/index.d.ts +1 -1
  96. package/dist/components/puck-block/header-sections/header-1/index.js +26 -30
  97. package/dist/components/puck-block/header-sections/props.d.ts +41 -0
  98. package/dist/components/puck-block/header-sections/sticky-nav-1/index.js +12 -12
  99. package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.d.ts +8 -6
  100. package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.js +5 -5
  101. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.d.ts +7 -5
  102. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.js +19 -5
  103. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.js +17 -17
  104. package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.d.ts +8 -4
  105. package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.js +36 -26
  106. package/dist/components/puck-block/hero-sections/gradient-hero-1/index.js +19 -15
  107. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.d.ts +7 -6
  108. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.js +8 -11
  109. package/dist/components/puck-block/hero-sections/grid-hero-1/index.js +43 -11
  110. package/dist/components/puck-block/hero-sections/hero-1/hero.d.ts +6 -4
  111. package/dist/components/puck-block/hero-sections/hero-1/hero.js +6 -8
  112. package/dist/components/puck-block/hero-sections/hero-1/index.js +4 -4
  113. package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.d.ts +9 -7
  114. package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.js +65 -59
  115. package/dist/components/puck-block/hero-sections/image-hero-1/index.js +35 -36
  116. package/dist/components/puck-block/hero-sections/props.d.ts +71 -0
  117. package/dist/components/puck-block/hero-sections/split-hero-1/index.js +6 -5
  118. package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.d.ts +8 -8
  119. package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.js +48 -47
  120. package/dist/components/puck-block/hero-sections/video-hero-1/index.js +4 -3
  121. package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.d.ts +6 -2
  122. package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.js +30 -22
  123. package/dist/components/puck-block/location-sections/location-1/index.js +44 -42
  124. package/dist/components/puck-block/location-sections/location-1/location.d.ts +8 -6
  125. package/dist/components/puck-block/location-sections/location-1/location.js +8 -15
  126. package/dist/components/puck-block/location-sections/location-2/index.js +66 -57
  127. package/dist/components/puck-block/location-sections/location-2/location.d.ts +12 -6
  128. package/dist/components/puck-block/location-sections/location-2/location.js +8 -14
  129. package/dist/components/puck-block/location-sections/location-3/index.js +25 -24
  130. package/dist/components/puck-block/location-sections/location-3/location.d.ts +10 -6
  131. package/dist/components/puck-block/location-sections/location-3/location.js +12 -11
  132. package/dist/components/puck-block/location-sections/props.d.ts +45 -0
  133. package/dist/components/puck-block/metrics-sections/props.d.ts +43 -0
  134. package/dist/components/puck-block/metrics-sections/stats-1/index.js +6 -7
  135. package/dist/components/puck-block/metrics-sections/stats-1/stats.d.ts +7 -5
  136. package/dist/components/puck-block/metrics-sections/stats-1/stats.js +61 -55
  137. package/dist/components/puck-block/metrics-sections/stats-2/index.js +4 -7
  138. package/dist/components/puck-block/metrics-sections/stats-2/stats-2.d.ts +6 -4
  139. package/dist/components/puck-block/metrics-sections/stats-2/stats-2.js +4 -7
  140. package/dist/components/puck-block/metrics-sections/stats-3/index.js +19 -29
  141. package/dist/components/puck-block/metrics-sections/stats-3/stats-3.d.ts +7 -6
  142. package/dist/components/puck-block/metrics-sections/stats-3/stats-3.js +22 -13
  143. package/dist/components/puck-block/pricing-sections/comparison-1/comparison.d.ts +7 -5
  144. package/dist/components/puck-block/pricing-sections/comparison-1/comparison.js +45 -39
  145. package/dist/components/puck-block/pricing-sections/comparison-1/index.js +5 -7
  146. package/dist/components/puck-block/pricing-sections/pricing-1/index.js +10 -13
  147. package/dist/components/puck-block/pricing-sections/pricing-1/pricing.d.ts +8 -6
  148. package/dist/components/puck-block/pricing-sections/pricing-1/pricing.js +47 -35
  149. package/dist/components/puck-block/pricing-sections/pricing-2/index.js +7 -12
  150. package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.d.ts +6 -4
  151. package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.js +60 -57
  152. package/dist/components/puck-block/pricing-sections/props.d.ts +46 -0
  153. package/dist/components/puck-block/showcase-sections/before-after-1/before-after.d.ts +7 -5
  154. package/dist/components/puck-block/showcase-sections/before-after-1/before-after.js +8 -10
  155. package/dist/components/puck-block/showcase-sections/before-after-1/index.js +6 -8
  156. package/dist/components/puck-block/showcase-sections/case-study-1/case-study.d.ts +6 -2
  157. package/dist/components/puck-block/showcase-sections/case-study-1/case-study.js +29 -21
  158. package/dist/components/puck-block/showcase-sections/case-study-1/index.js +4 -3
  159. package/dist/components/puck-block/showcase-sections/props.d.ts +48 -0
  160. package/dist/components/puck-block/showcase-sections/step-by-step-1/index.js +3 -5
  161. package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.d.ts +6 -4
  162. package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.js +38 -41
  163. package/dist/components/puck-block/team-sections/props.d.ts +39 -0
  164. package/dist/components/puck-block/team-sections/team-grid-1/index.js +5 -6
  165. package/dist/components/puck-block/team-sections/team-grid-1/team-grid.d.ts +6 -4
  166. package/dist/components/puck-block/team-sections/team-grid-1/team-grid.js +23 -17
  167. package/dist/components/puck-block/team-sections/team-grid-2/index.js +4 -7
  168. package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.d.ts +6 -4
  169. package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.js +5 -7
  170. package/dist/components/puck-block/team-sections/team-profiles-1/index.js +4 -5
  171. package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.d.ts +6 -4
  172. package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.js +5 -7
  173. package/dist/components/puck-block/testimonial-sections/customers-1/customers.d.ts +9 -7
  174. package/dist/components/puck-block/testimonial-sections/customers-1/customers.js +8 -11
  175. package/dist/components/puck-block/testimonial-sections/customers-1/index.js +17 -17
  176. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.js +15 -12
  177. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.d.ts +7 -3
  178. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.js +33 -24
  179. package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.js +17 -16
  180. package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.d.ts +6 -4
  181. package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.js +5 -7
  182. package/dist/components/puck-block/testimonial-sections/props.d.ts +34 -0
  183. package/dist/components/puck-block/testimonial-sections/review-section-1/index.js +17 -16
  184. package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.d.ts +8 -6
  185. package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.js +22 -17
  186. package/dist/components/puck-block/testimonial-sections/testimonials-1/index.js +17 -17
  187. package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.d.ts +8 -6
  188. package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.js +100 -67
  189. package/dist/components/puck-block/text-sections/articles-1/articles.d.ts +7 -5
  190. package/dist/components/puck-block/text-sections/articles-1/articles.js +41 -34
  191. package/dist/components/puck-block/text-sections/articles-1/index.js +24 -25
  192. package/dist/components/puck-block/text-sections/content-section-1/content-section.d.ts +7 -5
  193. package/dist/components/puck-block/text-sections/content-section-1/content-section.js +6 -9
  194. package/dist/components/puck-block/text-sections/content-section-1/index.js +14 -16
  195. package/dist/components/puck-block/text-sections/props.d.ts +58 -0
  196. package/dist/components/puck-block/text-sections/rich-text-1/index.js +13 -15
  197. package/dist/components/puck-block/text-sections/rich-text-1/rich-text.d.ts +7 -5
  198. package/dist/components/puck-block/text-sections/rich-text-1/rich-text.js +11 -11
  199. package/dist/components/puck-block/text-sections/tab-section-1/index.js +4 -5
  200. package/dist/components/puck-block/text-sections/tab-section-1/tab-section.d.ts +6 -4
  201. package/dist/components/puck-block/text-sections/tab-section-1/tab-section.js +10 -8
  202. package/dist/components/puck-block/text-sections/timeline-1/index.js +3 -5
  203. package/dist/components/puck-block/text-sections/timeline-1/timeline.d.ts +6 -4
  204. package/dist/components/puck-block/text-sections/timeline-1/timeline.js +3 -5
  205. package/dist/components/puck-block/text-sections/two-column-1/index.js +4 -6
  206. package/dist/components/puck-block/text-sections/two-column-1/two-column.d.ts +6 -4
  207. package/dist/components/puck-block/text-sections/two-column-1/two-column.js +5 -7
  208. package/dist/components/shadcn/navigation-menu.js +8 -33
  209. package/dist/index.js +3 -2
  210. package/package.json +2 -2
@@ -2,33 +2,41 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { CompoundContainer } from "../../../puck-base/container.js";
3
3
  import { CompoundImage } from "../../../puck-base/image.js";
4
4
  const CaseStudy = ({
5
- padding,
6
5
  heading,
7
6
  description,
8
7
  stats = [],
9
8
  quote,
10
9
  author,
11
- logo
12
- }) => /* @__PURE__ */ jsx(CompoundContainer, { padding, sectionStyle: "muted", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-4xl", children: [
13
- (logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx("span", { className: "mb-8 inline-block opacity-60", children: /* @__PURE__ */ jsx(CompoundImage, { src: logo.src, alt: logo.alt || "", className: "h-8 w-auto" }) }),
14
- heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground mb-4 text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
15
- description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-8 text-lg", children: description }),
16
- stats.length > 0 && /* @__PURE__ */ jsx("div", { className: "mb-10 grid grid-cols-2 gap-6 md:grid-cols-4", children: stats.map((s, i) => /* @__PURE__ */ jsxs("div", { children: [
17
- /* @__PURE__ */ jsx("p", { className: "text-primary text-3xl font-bold", children: s.value }),
18
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: s.label })
19
- ] }, i)) }),
20
- quote && /* @__PURE__ */ jsxs("blockquote", { className: "border-primary border-l-4 py-2 pl-6", children: [
21
- /* @__PURE__ */ jsxs("p", { className: "text-foreground text-lg italic", children: [
22
- "",
23
- quote,
24
- ""
25
- ] }),
26
- author && /* @__PURE__ */ jsxs("cite", { className: "text-muted-foreground mt-2 block text-sm not-italic", children: [
27
- " ",
28
- author
10
+ logo,
11
+ styles
12
+ }) => /* @__PURE__ */ jsx(
13
+ CompoundContainer,
14
+ {
15
+ padding: styles == null ? void 0 : styles.padding,
16
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
17
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
18
+ children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-4xl", children: [
19
+ (logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx("span", { className: "mb-8 inline-block opacity-60", children: /* @__PURE__ */ jsx(CompoundImage, { src: logo.src, alt: logo.alt || "", className: "h-8 w-auto" }) }),
20
+ heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground mb-4 text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
21
+ description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-8 text-lg", children: description }),
22
+ stats.length > 0 && /* @__PURE__ */ jsx("div", { className: "mb-10 grid grid-cols-2 gap-6 md:grid-cols-4", children: stats.map((s, i) => /* @__PURE__ */ jsxs("div", { children: [
23
+ /* @__PURE__ */ jsx("p", { className: "text-primary text-3xl font-bold", children: s.value }),
24
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: s.label })
25
+ ] }, i)) }),
26
+ quote && /* @__PURE__ */ jsxs("blockquote", { className: "border-primary border-l-4 py-2 pl-6", children: [
27
+ /* @__PURE__ */ jsxs("p", { className: "text-foreground text-lg italic", children: [
28
+ "“",
29
+ quote,
30
+ "”"
31
+ ] }),
32
+ author && /* @__PURE__ */ jsxs("cite", { className: "text-muted-foreground mt-2 block text-sm not-italic", children: [
33
+ "— ",
34
+ author
35
+ ] })
36
+ ] })
29
37
  ] })
30
- ] })
31
- ] }) });
38
+ }
39
+ );
32
40
  export {
33
41
  CaseStudy
34
42
  };
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, padding, image } from "../../../puck-base/core/fields.js";
1
+ import { image } from "../../../puck-base/core/fields.js";
2
2
  import { CaseStudy } from "./case-study.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const conf = {
4
5
  fields: {
5
6
  heading: { type: "text", contentEditable: true },
@@ -14,7 +15,7 @@ const conf = {
14
15
  },
15
16
  quote: { type: "textarea", contentEditable: true },
16
17
  author: { type: "text" },
17
- padding
18
+ styles: createStylesField()
18
19
  },
19
20
  defaultProps: {
20
21
  heading: "How Acme Corp grew 3x in 6 months",
@@ -26,7 +27,7 @@ const conf = {
26
27
  ],
27
28
  quote: "This product changed everything for our team. We can't imagine going back.",
28
29
  author: "Jane Doe, CEO at Acme",
29
- padding: paddingDefaults
30
+ styles: createStylesDefaults({ sectionStyle: "muted" })
30
31
  },
31
32
  render: CaseStudy
32
33
  };
@@ -0,0 +1,48 @@
1
+ type ShowcaseVariant = "before-after-1" | "case-study-1" | "step-by-step-1";
2
+ type ShowcasePadding = {
3
+ top?: "none" | "small" | "medium" | "large";
4
+ bottom?: "none" | "small" | "medium" | "large";
5
+ };
6
+ type ShowcaseSectionStyle = "default" | "dark" | "muted" | "inverted" | "custom";
7
+ type ShowcaseButton = {
8
+ label: string;
9
+ url?: string;
10
+ variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
11
+ size?: "default" | "sm" | "lg" | "icon";
12
+ icon?: string;
13
+ };
14
+ type ShowcaseImage = {
15
+ src: string;
16
+ alt?: string;
17
+ };
18
+ type ShowcaseItem = {
19
+ title?: string;
20
+ description?: string;
21
+ label?: string;
22
+ value?: string;
23
+ };
24
+ type ShowcaseSectionProps = {
25
+ variant?: ShowcaseVariant;
26
+ eyebrow?: string;
27
+ heading?: string;
28
+ description?: string;
29
+ beforeLabel?: string;
30
+ beforeItems?: ShowcaseItem[];
31
+ afterLabel?: string;
32
+ afterItems?: ShowcaseItem[];
33
+ layout?: "side-by-side" | "stacked" | "vertical" | "horizontal" | "numbered";
34
+ button?: ShowcaseButton;
35
+ steps?: ShowcaseItem[];
36
+ stats?: Array<{
37
+ value: string;
38
+ label: string;
39
+ }>;
40
+ quote?: string;
41
+ author?: string;
42
+ logo?: ShowcaseImage;
43
+ styles?: {
44
+ padding?: ShowcasePadding;
45
+ sectionStyle?: ShowcaseSectionStyle;
46
+ backgroundColor?: string;
47
+ };
48
+ };
@@ -1,5 +1,5 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding } from "../../../puck-base/core/fields.js";
2
1
  import { StepByStep } from "./step-by-step.js";
2
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
3
  const conf = {
4
4
  fields: {
5
5
  heading: { type: "text", contentEditable: true },
@@ -28,9 +28,7 @@ const conf = {
28
28
  description: "Describe what happens in this step."
29
29
  }
30
30
  },
31
- padding,
32
- sectionStyle,
33
- backgroundColor
31
+ styles: createStylesField()
34
32
  },
35
33
  defaultProps: {
36
34
  heading: "How it works",
@@ -53,7 +51,7 @@ const conf = {
53
51
  description: "Launch your first project and see results immediately."
54
52
  }
55
53
  ],
56
- padding: paddingDefaults
54
+ styles: createStylesDefaults()
57
55
  },
58
56
  render: StepByStep
59
57
  };
@@ -6,12 +6,14 @@ export interface StepByStepItem {
6
6
  iconUrl?: string;
7
7
  }
8
8
  export interface StepByStepProps {
9
- padding?: CompoundContainerProps["padding"];
10
- sectionStyle?: CompoundContainerProps["sectionStyle"];
11
- backgroundColor?: string;
12
9
  heading?: string;
13
10
  description?: string;
14
11
  layout?: "vertical" | "horizontal" | "numbered";
15
12
  steps?: StepByStepItem[];
13
+ styles?: {
14
+ padding?: CompoundContainerProps["padding"];
15
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
16
+ backgroundColor?: string;
17
+ };
16
18
  }
17
- export declare const StepByStep: ({ padding, sectionStyle, backgroundColor, heading, description, layout, steps, }: StepByStepProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const StepByStep: ({ heading, description, layout, steps, styles, }: StepByStepProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,53 +1,50 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { CompoundContainer } from "../../../puck-base/container.js";
3
3
  const StepByStep = ({
4
- padding,
5
- sectionStyle,
6
- backgroundColor,
7
4
  heading,
8
5
  description,
9
6
  layout = "horizontal",
10
- steps = []
11
- }) => /* @__PURE__ */ jsxs(CompoundContainer, { padding, sectionStyle, backgroundColor, children: [
12
- (heading || description) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center max-w-2xl mx-auto", children: [
13
- heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
14
- description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-4 text-lg", children: description })
15
- ] }),
16
- layout === "vertical" ? (
17
- // Vertical timeline-style
18
- /* @__PURE__ */ jsxs("div", { className: "relative max-w-2xl mx-auto", children: [
19
- /* @__PURE__ */ jsx("div", { className: "bg-border absolute top-0 bottom-0 left-6 w-px" }),
20
- /* @__PURE__ */ jsx("div", { className: "space-y-10", children: steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "relative flex gap-8 pl-4", children: [
21
- /* @__PURE__ */ jsx("div", { className: "bg-primary text-primary-foreground flex-shrink-0 w-12 h-12 rounded-full flex items-center justify-center text-sm font-bold z-10", children: step.stepNumber || String(i + 1) }),
22
- /* @__PURE__ */ jsxs("div", { className: "pb-4", children: [
23
- /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: step.title }),
24
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1", children: step.description })
25
- ] })
26
- ] }, i)) })
27
- ] })
28
- ) : layout === "numbered" ? (
29
- // Large number style
30
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8", children: steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "flex gap-6", children: [
31
- /* @__PURE__ */ jsx("div", { className: "text-primary text-5xl font-black leading-none opacity-20 flex-shrink-0", children: step.stepNumber || String(i + 1).padStart(2, "0") }),
32
- /* @__PURE__ */ jsxs("div", { children: [
33
- /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: step.title }),
34
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2", children: step.description })
35
- ] })
36
- ] }, i)) })
37
- ) : (
38
- // Horizontal (default) — cards in a row with connecting line
39
- /* @__PURE__ */ jsxs("div", { className: "relative grid grid-cols-1 md:grid-cols-3 gap-8", children: [
40
- /* @__PURE__ */ jsx("div", { className: "hidden md:block bg-border absolute top-6 left-[calc(16.66%+1rem)] right-[calc(16.66%+1rem)] h-px" }),
41
- steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center gap-4 relative", children: [
42
- /* @__PURE__ */ jsx("div", { className: "bg-primary text-primary-foreground w-12 h-12 rounded-full flex items-center justify-center text-sm font-bold z-10 flex-shrink-0", children: step.stepNumber || String(i + 1) }),
7
+ steps = [],
8
+ styles
9
+ }) => /* @__PURE__ */ jsxs(
10
+ CompoundContainer,
11
+ {
12
+ padding: styles == null ? void 0 : styles.padding,
13
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
14
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
15
+ children: [
16
+ (heading || description) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center max-w-2xl mx-auto", children: [
17
+ heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
18
+ description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-4 text-lg", children: description })
19
+ ] }),
20
+ layout === "vertical" ? /* @__PURE__ */ jsxs("div", { className: "relative max-w-2xl mx-auto", children: [
21
+ /* @__PURE__ */ jsx("div", { className: "bg-border absolute top-0 bottom-0 left-6 w-px" }),
22
+ /* @__PURE__ */ jsx("div", { className: "space-y-10", children: steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "relative flex gap-8 pl-4", children: [
23
+ /* @__PURE__ */ jsx("div", { className: "bg-primary text-primary-foreground flex-shrink-0 w-12 h-12 rounded-full flex items-center justify-center text-sm font-bold z-10", children: step.stepNumber || String(i + 1) }),
24
+ /* @__PURE__ */ jsxs("div", { className: "pb-4", children: [
25
+ /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: step.title }),
26
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1", children: step.description })
27
+ ] })
28
+ ] }, i)) })
29
+ ] }) : layout === "numbered" ? /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8", children: steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "flex gap-6", children: [
30
+ /* @__PURE__ */ jsx("div", { className: "text-primary text-5xl font-black leading-none opacity-20 flex-shrink-0", children: step.stepNumber || String(i + 1).padStart(2, "0") }),
43
31
  /* @__PURE__ */ jsxs("div", { children: [
44
32
  /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: step.title }),
45
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: step.description })
33
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2", children: step.description })
46
34
  ] })
47
- ] }, i))
48
- ] })
49
- )
50
- ] });
35
+ ] }, i)) }) : /* @__PURE__ */ jsxs("div", { className: "relative grid grid-cols-1 md:grid-cols-3 gap-8", children: [
36
+ /* @__PURE__ */ jsx("div", { className: "hidden md:block bg-border absolute top-6 left-[calc(16.66%+1rem)] right-[calc(16.66%+1rem)] h-px" }),
37
+ steps.map((step, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center gap-4 relative", children: [
38
+ /* @__PURE__ */ jsx("div", { className: "bg-primary text-primary-foreground w-12 h-12 rounded-full flex items-center justify-center text-sm font-bold z-10 flex-shrink-0", children: step.stepNumber || String(i + 1) }),
39
+ /* @__PURE__ */ jsxs("div", { children: [
40
+ /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: step.title }),
41
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: step.description })
42
+ ] })
43
+ ] }, i))
44
+ ] })
45
+ ]
46
+ }
47
+ );
51
48
  export {
52
49
  StepByStep
53
50
  };
@@ -0,0 +1,39 @@
1
+ type TeamVariant = "team-grid-1" | "team-grid-2" | "team-profiles-1";
2
+ type TeamPadding = {
3
+ top?: "none" | "small" | "medium" | "large";
4
+ bottom?: "none" | "small" | "medium" | "large";
5
+ };
6
+ type TeamSectionStyle = "default" | "dark" | "muted" | "inverted" | "custom";
7
+ type TeamButton = {
8
+ label: string;
9
+ url?: string;
10
+ variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
11
+ size?: "default" | "sm" | "lg" | "icon";
12
+ icon?: string;
13
+ };
14
+ type TeamImage = {
15
+ src: string;
16
+ alt?: string;
17
+ };
18
+ type TeamMember = {
19
+ name: string;
20
+ role: string;
21
+ image?: TeamImage;
22
+ description?: string;
23
+ instagramUrl?: string;
24
+ linkedinUrl?: string;
25
+ };
26
+ type TeamSectionProps = {
27
+ variant?: TeamVariant;
28
+ heading?: string;
29
+ description?: string;
30
+ buttons?: TeamButton[];
31
+ members?: TeamMember[];
32
+ columns?: 2 | 3 | 4;
33
+ layout?: "card" | "simple" | "round";
34
+ styles?: {
35
+ padding?: TeamPadding;
36
+ sectionStyle?: TeamSectionStyle;
37
+ backgroundColor?: string;
38
+ };
39
+ };
@@ -1,10 +1,11 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding, image, description, heading } from "../../../puck-base/core/fields.js";
1
+ import { image, description, heading } from "../../../puck-base/core/fields.js";
2
2
  import { TeamGrid } from "./team-grid.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const defaultMember = {
4
5
  name: "Jane Smith",
5
6
  role: "CEO & Co-founder",
6
7
  image: {
7
- src: "https://dummyimage.com/600x600/f5f4f4/101010.png&text=Team+Member",
8
+ src: "https://picsum.photos/seed/Team%20Member/600/600",
8
9
  alt: "Team member"
9
10
  },
10
11
  bio: "Leading the team with 10+ years of experience in the industry."
@@ -42,9 +43,7 @@ const conf = {
42
43
  { label: "Round Avatar", value: "round" }
43
44
  ]
44
45
  },
45
- padding,
46
- sectionStyle,
47
- backgroundColor
46
+ styles: createStylesField()
48
47
  },
49
48
  defaultProps: {
50
49
  heading: "Meet Our Team",
@@ -57,7 +56,7 @@ const conf = {
57
56
  { ...defaultMember, name: "Sarah Williams", role: "Head of Design" },
58
57
  { ...defaultMember, name: "Michael Chen", role: "Lead Engineer" }
59
58
  ],
60
- padding: paddingDefaults
59
+ styles: createStylesDefaults()
61
60
  },
62
61
  render: TeamGrid
63
62
  };
@@ -9,13 +9,15 @@ export interface TeamMember {
9
9
  bio?: string;
10
10
  }
11
11
  export interface TeamGridProps {
12
- padding?: CompoundContainerProps["padding"];
13
- sectionStyle?: CompoundContainerProps["sectionStyle"];
14
- backgroundColor?: string;
15
12
  heading?: string;
16
13
  description?: string;
17
14
  members?: TeamMember[];
18
15
  columns?: 2 | 3 | 4;
19
16
  layout?: "card" | "simple" | "round";
17
+ styles?: {
18
+ padding?: CompoundContainerProps["padding"];
19
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
20
+ backgroundColor?: string;
21
+ };
20
22
  }
21
- export declare const TeamGrid: ({ padding, sectionStyle, backgroundColor, heading, description, members, columns, layout, }: TeamGridProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const TeamGrid: ({ heading, description, members, columns, layout, styles, }: TeamGridProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,27 +8,33 @@ const columnClasses = {
8
8
  4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
9
9
  };
10
10
  const TeamGrid = ({
11
- padding,
12
- sectionStyle,
13
- backgroundColor,
14
11
  heading,
15
12
  description,
16
13
  members = [],
17
14
  columns = 3,
18
- layout = "card"
19
- }) => /* @__PURE__ */ jsx(CompoundContainer, { padding, sectionStyle, backgroundColor, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-12", children: [
20
- (heading || description) && /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
21
- heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
22
- description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mx-auto mt-4 max-w-2xl text-lg", children: description })
23
- ] }),
24
- /* @__PURE__ */ jsx(
25
- "div",
26
- {
27
- className: cn("grid gap-8", columnClasses[columns] ?? columnClasses[3]),
28
- children: members.map((member, index) => /* @__PURE__ */ jsx(MemberCard, { member, layout }, index))
29
- }
30
- )
31
- ] }) });
15
+ layout = "card",
16
+ styles
17
+ }) => /* @__PURE__ */ jsx(
18
+ CompoundContainer,
19
+ {
20
+ padding: styles == null ? void 0 : styles.padding,
21
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
22
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
23
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-12", children: [
24
+ (heading || description) && /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
25
+ heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
26
+ description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mx-auto mt-4 max-w-2xl text-lg", children: description })
27
+ ] }),
28
+ /* @__PURE__ */ jsx(
29
+ "div",
30
+ {
31
+ className: cn("grid gap-8", columnClasses[columns] ?? columnClasses[3]),
32
+ children: members.map((member, index) => /* @__PURE__ */ jsx(MemberCard, { member, layout }, index))
33
+ }
34
+ )
35
+ ] })
36
+ }
37
+ );
32
38
  const MemberCard = ({
33
39
  member,
34
40
  layout
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, image1x1Placeholder, backgroundColor, sectionStyle, padding, image, buttons } from "../../../puck-base/core/fields.js";
1
+ import { image1x1Placeholder, image, buttons } from "../../../puck-base/core/fields.js";
2
2
  import { TeamGrid2 } from "./team-grid-2.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const defaultMember = {
4
5
  name: "Jane Smith",
5
6
  role: "Founder & Head Trainer",
@@ -23,9 +24,7 @@ const conf = {
23
24
  },
24
25
  defaultItemProps: defaultMember
25
26
  },
26
- padding,
27
- sectionStyle,
28
- backgroundColor
27
+ styles: createStylesField()
29
28
  },
30
29
  defaultProps: {
31
30
  heading: "Your personal\nfitness partner",
@@ -33,7 +32,6 @@ const conf = {
33
32
  buttons: [
34
33
  {
35
34
  label: "Get started",
36
- url: "#",
37
35
  action: { type: "external", pageUrl: "", externalUrl: "#", openInNewTab: "false", email: "", subject: "", phone: "", sectionId: "", downloadUrl: "" },
38
36
  variant: "default",
39
37
  size: "default",
@@ -41,7 +39,6 @@ const conf = {
41
39
  },
42
40
  {
43
41
  label: "Schedule a consultation",
44
- url: "#",
45
42
  action: { type: "external", pageUrl: "", externalUrl: "#", openInNewTab: "false", email: "", subject: "", phone: "", sectionId: "", downloadUrl: "" },
46
43
  variant: "secondary",
47
44
  size: "default",
@@ -54,7 +51,7 @@ const conf = {
54
51
  { ...defaultMember, name: "Sarah Williams", role: "Strength Coach" },
55
52
  { ...defaultMember, name: "Michael Chen", role: "Nutrition Coach" }
56
53
  ],
57
- padding: paddingDefaults
54
+ styles: createStylesDefaults()
58
55
  },
59
56
  render: TeamGrid2
60
57
  };
@@ -10,12 +10,14 @@ export interface TeamMember2 {
10
10
  description?: string;
11
11
  }
12
12
  export interface TeamGrid2Props {
13
- padding?: CompoundContainerProps["padding"];
14
- sectionStyle?: CompoundContainerProps["sectionStyle"];
15
- backgroundColor?: string;
16
13
  heading?: string;
17
14
  description?: string;
18
15
  buttons?: CompoundButtonProps[];
19
16
  members?: TeamMember2[];
17
+ styles?: {
18
+ padding?: CompoundContainerProps["padding"];
19
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
20
+ backgroundColor?: string;
21
+ };
20
22
  }
21
- export declare const TeamGrid2: ({ padding, sectionStyle, backgroundColor, heading, description, buttons, members, }: TeamGrid2Props) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const TeamGrid2: ({ heading, description, buttons, members, styles, }: TeamGrid2Props) => import("react/jsx-runtime").JSX.Element;
@@ -3,19 +3,17 @@ import { CompoundContainer } from "../../../puck-base/container.js";
3
3
  import { CompoundButton } from "../../../puck-base/button.js";
4
4
  import { CompoundImage } from "../../../puck-base/image.js";
5
5
  const TeamGrid2 = ({
6
- padding,
7
- sectionStyle,
8
- backgroundColor,
9
6
  heading,
10
7
  description,
11
8
  buttons = [],
12
- members = []
9
+ members = [],
10
+ styles
13
11
  }) => /* @__PURE__ */ jsx(
14
12
  CompoundContainer,
15
13
  {
16
- padding,
17
- sectionStyle,
18
- backgroundColor,
14
+ padding: styles == null ? void 0 : styles.padding,
15
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
16
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
19
17
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 md:gap-16", children: [
20
18
  (heading || description || buttons.length > 0) && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 md:gap-8 lg:flex-row lg:justify-between", children: [
21
19
  heading && /* @__PURE__ */ jsx("div", { className: "w-full lg:basis-1/2", children: /* @__PURE__ */ jsx("h2", { className: "text-foreground max-w-xl text-4xl font-bold leading-tight tracking-tight md:text-5xl whitespace-pre-line", children: heading }) }),
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, image1x1Placeholder, backgroundColor, sectionStyle, padding, image } from "../../../puck-base/core/fields.js";
1
+ import { image1x1Placeholder, image } from "../../../puck-base/core/fields.js";
2
2
  import { TeamProfiles } from "./team-profiles.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const defaultMember = {
4
5
  name: "Jane Smith",
5
6
  role: "CEO & Co-founder",
@@ -26,9 +27,7 @@ const conf = {
26
27
  },
27
28
  defaultItemProps: defaultMember
28
29
  },
29
- padding,
30
- sectionStyle,
31
- backgroundColor
30
+ styles: createStylesField()
32
31
  },
33
32
  defaultProps: {
34
33
  heading: "Your Personal\ntraining partner",
@@ -45,7 +44,7 @@ const conf = {
45
44
  role: "Strength & Conditioning Coach"
46
45
  }
47
46
  ],
48
- padding: paddingDefaults
47
+ styles: createStylesDefaults()
49
48
  },
50
49
  render: TeamProfiles
51
50
  };
@@ -11,11 +11,13 @@ export interface TeamMemberProfile {
11
11
  linkedinUrl?: string;
12
12
  }
13
13
  export interface TeamProfilesProps {
14
- padding?: CompoundContainerProps["padding"];
15
- sectionStyle?: CompoundContainerProps["sectionStyle"];
16
- backgroundColor?: string;
17
14
  heading?: string;
18
15
  description?: string;
19
16
  members?: TeamMemberProfile[];
17
+ styles?: {
18
+ padding?: CompoundContainerProps["padding"];
19
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
20
+ backgroundColor?: string;
21
+ };
20
22
  }
21
- export declare const TeamProfiles: ({ padding, sectionStyle, backgroundColor, heading, description, members, }: TeamProfilesProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const TeamProfiles: ({ heading, description, members, styles, }: TeamProfilesProps) => import("react/jsx-runtime").JSX.Element;
@@ -42,18 +42,16 @@ const LinkedInIcon = () => /* @__PURE__ */ jsx(
42
42
  }
43
43
  );
44
44
  const TeamProfiles = ({
45
- padding,
46
- sectionStyle,
47
- backgroundColor,
48
45
  heading,
49
46
  description,
50
- members = []
47
+ members = [],
48
+ styles
51
49
  }) => /* @__PURE__ */ jsx(
52
50
  CompoundContainer,
53
51
  {
54
- padding,
55
- sectionStyle,
56
- backgroundColor,
52
+ padding: styles == null ? void 0 : styles.padding,
53
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
54
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
57
55
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 md:gap-16", children: [
58
56
  (heading || description) && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 md:gap-8 lg:flex-row lg:justify-between", children: [
59
57
  heading && /* @__PURE__ */ jsx("div", { className: "w-full lg:basis-1/2", children: /* @__PURE__ */ jsx("h2", { className: "text-foreground max-w-xl text-4xl font-bold leading-tight tracking-tight md:text-5xl", children: heading }) }),
@@ -1,15 +1,17 @@
1
1
  import { CompoundContainerProps } from "@/components/puck-base/container";
2
2
  import { CompoundImageProps } from "@/components/puck-base/image";
3
3
  export interface CustomersProps {
4
- padding?: CompoundContainerProps["padding"];
5
- sectionStyle?: CompoundContainerProps["sectionStyle"];
6
- backgroundColor?: string;
7
- layout?: "section" | "inline";
8
4
  heading: string;
9
- customers: {
10
- name: string;
5
+ items: {
6
+ name?: string;
11
7
  image?: CompoundImageProps;
12
8
  url?: string;
13
9
  }[];
10
+ styles?: {
11
+ padding?: CompoundContainerProps["padding"];
12
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
13
+ backgroundColor?: string;
14
+ layout?: "section" | "inline";
15
+ };
14
16
  }
15
- export declare const Customers: ({ padding, sectionStyle, backgroundColor, layout, heading, customers, }: CustomersProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Customers: ({ heading, items, styles, }: CustomersProps) => import("react/jsx-runtime").JSX.Element;