dune-react 0.0.8 → 0.0.10

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 (227) hide show
  1. package/dist/components/puck-base/article-card.js +1 -1
  2. package/dist/components/puck-base/button.js +2 -1
  3. package/dist/components/puck-base/container.d.ts +7 -1
  4. package/dist/components/puck-base/container.js +2 -1
  5. package/dist/components/puck-base/content.d.ts +1 -4
  6. package/dist/components/puck-base/content.js +15 -17
  7. package/dist/components/puck-base/core/fields.d.ts +1 -127
  8. package/dist/components/puck-base/core/fields.js +1 -76
  9. package/dist/components/puck-base/core/styles.d.ts +1877 -0
  10. package/dist/components/puck-base/core/styles.js +286 -0
  11. package/dist/components/puck-base/core/types.d.ts +2 -2
  12. package/dist/components/puck-base/core/with-editable.d.ts +4 -1
  13. package/dist/components/puck-base/core/with-editable.js +51 -27
  14. package/dist/components/puck-base/editor-context.d.ts +8 -0
  15. package/dist/components/puck-base/fields/auto-field.d.ts +1 -0
  16. package/dist/components/puck-base/fields/auto-field.js +131 -49
  17. package/dist/components/puck-base/gradient-text.js +12 -3
  18. package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.d.ts +9 -7
  19. package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.js +11 -8
  20. package/dist/components/puck-block/banner-sections/announcement-banner-1/index.js +19 -37
  21. package/dist/components/puck-block/banner-sections/marquee-1/index.js +26 -24
  22. package/dist/components/puck-block/banner-sections/marquee-1/marquee.d.ts +9 -9
  23. package/dist/components/puck-block/banner-sections/marquee-1/marquee.js +28 -21
  24. package/dist/components/puck-block/banner-sections/props.d.ts +22 -0
  25. package/dist/components/puck-block/contact-sections/api/form-leads.d.ts +16 -0
  26. package/dist/components/puck-block/contact-sections/api/form-leads.js +25 -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 +122 -121
  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 +30 -0
  31. package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.js +234 -0
  32. package/dist/components/puck-block/contact-sections/contact-us-2/index.d.ts +5 -0
  33. package/dist/components/puck-block/contact-sections/contact-us-2/index.js +74 -0
  34. package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.d.ts +32 -0
  35. package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.js +250 -0
  36. package/dist/components/puck-block/contact-sections/contact-us-3/index.d.ts +5 -0
  37. package/dist/components/puck-block/contact-sections/contact-us-3/index.js +114 -0
  38. package/dist/components/puck-block/contact-sections/props.d.ts +65 -0
  39. package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.d.ts +12 -9
  40. package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.js +28 -30
  41. package/dist/components/puck-block/cta-sections/banner-cta-1/index.js +23 -25
  42. package/dist/components/puck-block/cta-sections/cta-1/cta.d.ts +6 -4
  43. package/dist/components/puck-block/cta-sections/cta-1/cta.js +5 -7
  44. package/dist/components/puck-block/cta-sections/cta-1/index.js +5 -9
  45. package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.d.ts +10 -10
  46. package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.js +24 -20
  47. package/dist/components/puck-block/cta-sections/gradient-cta-1/index.js +36 -29
  48. package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.js +13 -5
  49. package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.d.ts +7 -3
  50. package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.js +36 -32
  51. package/dist/components/puck-block/cta-sections/promo-section-1/index.js +4 -5
  52. package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.d.ts +6 -4
  53. package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.js +94 -79
  54. package/dist/components/puck-block/cta-sections/props.d.ts +47 -0
  55. package/dist/components/puck-block/faq-sections/accordion-1/accordion.d.ts +6 -4
  56. package/dist/components/puck-block/faq-sections/accordion-1/accordion.js +39 -33
  57. package/dist/components/puck-block/faq-sections/accordion-1/index.js +3 -5
  58. package/dist/components/puck-block/faq-sections/faq-1/faq.d.ts +9 -7
  59. package/dist/components/puck-block/faq-sections/faq-1/faq.js +50 -44
  60. package/dist/components/puck-block/faq-sections/faq-1/index.js +12 -14
  61. package/dist/components/puck-block/faq-sections/faq-2/faq-2.d.ts +18 -0
  62. package/dist/components/puck-block/faq-sections/faq-2/faq-2.js +54 -0
  63. package/dist/components/puck-block/faq-sections/faq-2/index.d.ts +5 -0
  64. package/dist/components/puck-block/faq-sections/faq-2/index.js +61 -0
  65. package/dist/components/puck-block/faq-sections/props.d.ts +30 -0
  66. package/dist/components/puck-block/feature-sections/bento-1/bento.d.ts +6 -4
  67. package/dist/components/puck-block/feature-sections/bento-1/bento.js +2 -4
  68. package/dist/components/puck-block/feature-sections/bento-1/index.js +4 -5
  69. package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.d.ts +8 -7
  70. package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.js +15 -7
  71. package/dist/components/puck-block/feature-sections/feature-cards-1/index.js +37 -18
  72. package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.d.ts +6 -4
  73. package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.js +4 -12
  74. package/dist/components/puck-block/feature-sections/feature-showcase-1/index.js +4 -5
  75. package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.d.ts +6 -4
  76. package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.js +59 -53
  77. package/dist/components/puck-block/feature-sections/icon-grid-1/index.js +7 -8
  78. package/dist/components/puck-block/feature-sections/product-features-1/index.js +4 -5
  79. package/dist/components/puck-block/feature-sections/product-features-1/product-features.d.ts +6 -4
  80. package/dist/components/puck-block/feature-sections/product-features-1/product-features.js +7 -29
  81. package/dist/components/puck-block/feature-sections/props.d.ts +48 -0
  82. package/dist/components/puck-block/footer-sections/footer-1/footer.d.ts +5 -3
  83. package/dist/components/puck-block/footer-sections/footer-1/footer.js +6 -6
  84. package/dist/components/puck-block/footer-sections/footer-1/index.js +3 -5
  85. package/dist/components/puck-block/footer-sections/props.d.ts +31 -0
  86. package/dist/components/puck-block/gallery-sections/gallery-1/gallery.d.ts +9 -7
  87. package/dist/components/puck-block/gallery-sections/gallery-1/gallery.js +49 -40
  88. package/dist/components/puck-block/gallery-sections/gallery-1/index.js +32 -34
  89. package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.d.ts +16 -0
  90. package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.js +86 -0
  91. package/dist/components/puck-block/gallery-sections/gallery-2/index.d.ts +5 -0
  92. package/dist/components/puck-block/gallery-sections/gallery-2/index.js +42 -0
  93. package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.d.ts +19 -0
  94. package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.js +119 -0
  95. package/dist/components/puck-block/gallery-sections/gallery-3/index.d.ts +5 -0
  96. package/dist/components/puck-block/gallery-sections/gallery-3/index.js +59 -0
  97. package/dist/components/puck-block/gallery-sections/props.d.ts +26 -0
  98. package/dist/components/puck-block/header-sections/header-1/header.d.ts +7 -5
  99. package/dist/components/puck-block/header-sections/header-1/header.js +8 -9
  100. package/dist/components/puck-block/header-sections/header-1/index.d.ts +1 -1
  101. package/dist/components/puck-block/header-sections/header-1/index.js +13 -12
  102. package/dist/components/puck-block/header-sections/props.d.ts +41 -0
  103. package/dist/components/puck-block/header-sections/sticky-nav-1/index.js +12 -12
  104. package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.d.ts +8 -6
  105. package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.js +5 -5
  106. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.d.ts +11 -4
  107. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.js +60 -23
  108. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.js +18 -6
  109. package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.d.ts +9 -5
  110. package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.js +37 -24
  111. package/dist/components/puck-block/hero-sections/gradient-hero-1/index.js +18 -15
  112. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.d.ts +7 -6
  113. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.js +7 -10
  114. package/dist/components/puck-block/hero-sections/grid-hero-1/index.js +43 -11
  115. package/dist/components/puck-block/hero-sections/hero-1/hero.d.ts +6 -4
  116. package/dist/components/puck-block/hero-sections/hero-1/hero.js +5 -7
  117. package/dist/components/puck-block/hero-sections/hero-1/index.js +4 -4
  118. package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.d.ts +14 -8
  119. package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.js +64 -60
  120. package/dist/components/puck-block/hero-sections/image-hero-1/index.js +16 -34
  121. package/dist/components/puck-block/hero-sections/props.d.ts +71 -0
  122. package/dist/components/puck-block/hero-sections/split-hero-1/index.js +6 -5
  123. package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.d.ts +8 -8
  124. package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.js +48 -47
  125. package/dist/components/puck-block/hero-sections/video-hero-1/index.js +4 -3
  126. package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.d.ts +6 -2
  127. package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.js +30 -22
  128. package/dist/components/puck-block/index.d.ts +15 -0
  129. package/dist/components/puck-block/location-sections/location-1/index.d.ts +5 -0
  130. package/dist/components/puck-block/location-sections/location-1/index.js +108 -0
  131. package/dist/components/puck-block/location-sections/location-1/location.d.ts +28 -0
  132. package/dist/components/puck-block/location-sections/location-1/location.js +137 -0
  133. package/dist/components/puck-block/location-sections/location-2/index.d.ts +5 -0
  134. package/dist/components/puck-block/location-sections/location-2/index.js +123 -0
  135. package/dist/components/puck-block/location-sections/location-2/location.d.ts +30 -0
  136. package/dist/components/puck-block/location-sections/location-2/location.js +131 -0
  137. package/dist/components/puck-block/location-sections/location-3/index.d.ts +5 -0
  138. package/dist/components/puck-block/location-sections/location-3/index.js +84 -0
  139. package/dist/components/puck-block/location-sections/location-3/location.d.ts +24 -0
  140. package/dist/components/puck-block/location-sections/location-3/location.js +127 -0
  141. package/dist/components/puck-block/location-sections/props.d.ts +45 -0
  142. package/dist/components/puck-block/metrics-sections/props.d.ts +43 -0
  143. package/dist/components/puck-block/metrics-sections/stats-1/index.js +6 -7
  144. package/dist/components/puck-block/metrics-sections/stats-1/stats.d.ts +7 -5
  145. package/dist/components/puck-block/metrics-sections/stats-1/stats.js +61 -55
  146. package/dist/components/puck-block/metrics-sections/stats-2/index.d.ts +5 -0
  147. package/dist/components/puck-block/metrics-sections/stats-2/index.js +76 -0
  148. package/dist/components/puck-block/metrics-sections/stats-2/stats-2.d.ts +18 -0
  149. package/dist/components/puck-block/metrics-sections/stats-2/stats-2.js +57 -0
  150. package/dist/components/puck-block/metrics-sections/stats-3/index.d.ts +5 -0
  151. package/dist/components/puck-block/metrics-sections/stats-3/index.js +86 -0
  152. package/dist/components/puck-block/metrics-sections/stats-3/stats-3.d.ts +18 -0
  153. package/dist/components/puck-block/metrics-sections/stats-3/stats-3.js +56 -0
  154. package/dist/components/puck-block/pricing-sections/comparison-1/comparison.d.ts +7 -5
  155. package/dist/components/puck-block/pricing-sections/comparison-1/comparison.js +45 -39
  156. package/dist/components/puck-block/pricing-sections/comparison-1/index.js +5 -7
  157. package/dist/components/puck-block/pricing-sections/pricing-1/index.js +10 -11
  158. package/dist/components/puck-block/pricing-sections/pricing-1/pricing.d.ts +8 -6
  159. package/dist/components/puck-block/pricing-sections/pricing-1/pricing.js +47 -35
  160. package/dist/components/puck-block/pricing-sections/pricing-2/index.d.ts +5 -0
  161. package/dist/components/puck-block/pricing-sections/pricing-2/index.js +151 -0
  162. package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.d.ts +26 -0
  163. package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.js +71 -0
  164. package/dist/components/puck-block/pricing-sections/props.d.ts +46 -0
  165. package/dist/components/puck-block/showcase-sections/before-after-1/before-after.d.ts +22 -0
  166. package/dist/components/puck-block/showcase-sections/before-after-1/before-after.js +71 -0
  167. package/dist/components/puck-block/showcase-sections/before-after-1/index.d.ts +5 -0
  168. package/dist/components/puck-block/showcase-sections/before-after-1/index.js +73 -0
  169. package/dist/components/puck-block/showcase-sections/case-study-1/case-study.d.ts +6 -2
  170. package/dist/components/puck-block/showcase-sections/case-study-1/case-study.js +30 -28
  171. package/dist/components/puck-block/showcase-sections/case-study-1/index.js +4 -3
  172. package/dist/components/puck-block/showcase-sections/props.d.ts +48 -0
  173. package/dist/components/puck-block/showcase-sections/step-by-step-1/index.js +3 -5
  174. package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.d.ts +6 -4
  175. package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.js +38 -41
  176. package/dist/components/puck-block/team-sections/props.d.ts +39 -0
  177. package/dist/components/puck-block/team-sections/team-grid-1/index.js +4 -5
  178. package/dist/components/puck-block/team-sections/team-grid-1/team-grid.d.ts +6 -4
  179. package/dist/components/puck-block/team-sections/team-grid-1/team-grid.js +27 -41
  180. package/dist/components/puck-block/team-sections/team-grid-2/index.d.ts +5 -0
  181. package/dist/components/puck-block/team-sections/team-grid-2/index.js +62 -0
  182. package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.d.ts +23 -0
  183. package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.js +44 -0
  184. package/dist/components/puck-block/team-sections/team-profiles-1/index.d.ts +5 -0
  185. package/dist/components/puck-block/team-sections/team-profiles-1/index.js +53 -0
  186. package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.d.ts +23 -0
  187. package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.js +105 -0
  188. package/dist/components/puck-block/testimonial-sections/customers-1/customers.d.ts +9 -7
  189. package/dist/components/puck-block/testimonial-sections/customers-1/customers.js +8 -11
  190. package/dist/components/puck-block/testimonial-sections/customers-1/index.js +17 -17
  191. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.js +15 -12
  192. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.d.ts +7 -3
  193. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.js +34 -24
  194. package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.d.ts +5 -0
  195. package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.js +51 -0
  196. package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.d.ts +17 -0
  197. package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.js +55 -0
  198. package/dist/components/puck-block/testimonial-sections/props.d.ts +34 -0
  199. package/dist/components/puck-block/testimonial-sections/review-section-1/index.js +16 -15
  200. package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.d.ts +8 -6
  201. package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.js +25 -19
  202. package/dist/components/puck-block/testimonial-sections/testimonials-1/index.js +17 -17
  203. package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.d.ts +8 -6
  204. package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.js +76 -63
  205. package/dist/components/puck-block/text-sections/articles-1/articles.d.ts +7 -4
  206. package/dist/components/puck-block/text-sections/articles-1/articles.js +42 -22
  207. package/dist/components/puck-block/text-sections/articles-1/index.js +31 -19
  208. package/dist/components/puck-block/text-sections/content-section-1/content-section.d.ts +7 -5
  209. package/dist/components/puck-block/text-sections/content-section-1/content-section.js +11 -12
  210. package/dist/components/puck-block/text-sections/content-section-1/index.js +14 -14
  211. package/dist/components/puck-block/text-sections/props.d.ts +58 -0
  212. package/dist/components/puck-block/text-sections/rich-text-1/index.js +13 -15
  213. package/dist/components/puck-block/text-sections/rich-text-1/rich-text.d.ts +7 -5
  214. package/dist/components/puck-block/text-sections/rich-text-1/rich-text.js +11 -11
  215. package/dist/components/puck-block/text-sections/tab-section-1/index.js +4 -5
  216. package/dist/components/puck-block/text-sections/tab-section-1/tab-section.d.ts +6 -4
  217. package/dist/components/puck-block/text-sections/tab-section-1/tab-section.js +6 -7
  218. package/dist/components/puck-block/text-sections/timeline-1/index.js +3 -5
  219. package/dist/components/puck-block/text-sections/timeline-1/timeline.d.ts +6 -4
  220. package/dist/components/puck-block/text-sections/timeline-1/timeline.js +3 -5
  221. package/dist/components/puck-block/text-sections/two-column-1/index.js +4 -6
  222. package/dist/components/puck-block/text-sections/two-column-1/two-column.d.ts +6 -4
  223. package/dist/components/puck-block/text-sections/two-column-1/two-column.js +5 -7
  224. package/dist/components/shadcn/navigation-menu.d.ts +1 -1
  225. package/dist/components/shadcn/navigation-menu.js +33 -0
  226. package/dist/index.js +106 -75
  227. package/package.json +1 -1
@@ -2,51 +2,57 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { cn } from "../../../../utils/css-utils.js";
3
3
  import { CompoundContainer } from "../../../puck-base/container.js";
4
4
  const Comparison = ({
5
- padding,
6
- sectionStyle,
7
- backgroundColor,
8
5
  heading,
9
6
  description,
10
- columns = []
11
- }) => /* @__PURE__ */ jsxs(CompoundContainer, { padding, sectionStyle, backgroundColor, children: [
12
- /* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 max-w-2xl text-center", 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
- /* @__PURE__ */ jsx(
17
- "div",
18
- {
19
- className: cn(
20
- "grid gap-6",
21
- columns.length === 2 ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1 md:grid-cols-3"
22
- ),
23
- children: columns.map((col, i) => /* @__PURE__ */ jsxs(
7
+ plans = [],
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
+ /* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 max-w-2xl text-center", 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
+ /* @__PURE__ */ jsx(
24
21
  "div",
25
22
  {
26
23
  className: cn(
27
- "rounded-xl border p-6",
28
- col.highlighted ? "border-primary bg-primary/5 shadow-lg" : "border-border bg-card"
24
+ "grid gap-6",
25
+ plans.length === 2 ? "grid-cols-1 md:grid-cols-2" : "grid-cols-1 md:grid-cols-3"
29
26
  ),
30
- children: [
31
- /* @__PURE__ */ jsx("h3", { className: "text-foreground mb-4 text-xl font-bold", children: col.name }),
32
- /* @__PURE__ */ jsx("ul", { className: "space-y-3", children: col.features.map((f, fi) => /* @__PURE__ */ jsxs(
33
- "li",
34
- {
35
- className: "text-muted-foreground flex items-start gap-2",
36
- children: [
37
- /* @__PURE__ */ jsx("span", { className: "text-primary mt-0.5", children: "✓" }),
38
- /* @__PURE__ */ jsx("span", { children: f })
39
- ]
40
- },
41
- fi
42
- )) })
43
- ]
44
- },
45
- i
46
- ))
47
- }
48
- )
49
- ] });
27
+ children: plans.map((col, i) => /* @__PURE__ */ jsxs(
28
+ "div",
29
+ {
30
+ className: cn(
31
+ "rounded-xl border p-6",
32
+ col.highlighted ? "border-primary bg-primary/5 shadow-lg" : "border-border bg-card"
33
+ ),
34
+ children: [
35
+ /* @__PURE__ */ jsx("h3", { className: "text-foreground mb-4 text-xl font-bold", children: col.name }),
36
+ /* @__PURE__ */ jsx("ul", { className: "space-y-3", children: col.features.map((f, fi) => /* @__PURE__ */ jsxs(
37
+ "li",
38
+ {
39
+ className: "text-muted-foreground flex items-start gap-2",
40
+ children: [
41
+ /* @__PURE__ */ jsx("span", { className: "text-primary mt-0.5", children: "✓" }),
42
+ /* @__PURE__ */ jsx("span", { children: f })
43
+ ]
44
+ },
45
+ fi
46
+ )) })
47
+ ]
48
+ },
49
+ i
50
+ ))
51
+ }
52
+ )
53
+ ]
54
+ }
55
+ );
50
56
  export {
51
57
  Comparison
52
58
  };
@@ -1,10 +1,10 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding } from "../../../puck-base/core/fields.js";
2
1
  import { Comparison } from "./comparison.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 },
6
6
  description: { type: "textarea", contentEditable: true },
7
- columns: {
7
+ plans: {
8
8
  type: "array",
9
9
  max: 4,
10
10
  getItemSummary: (item, i = 0) => item.name || `Column ${i + 1}`,
@@ -31,14 +31,12 @@ const conf = {
31
31
  features: ["Feature 1"]
32
32
  }
33
33
  },
34
- padding,
35
- sectionStyle,
36
- backgroundColor
34
+ styles: createStylesField()
37
35
  },
38
36
  defaultProps: {
39
37
  heading: "Compare Plans",
40
38
  description: "Choose the plan that best fits your needs.",
41
- columns: [
39
+ plans: [
42
40
  {
43
41
  name: "Starter",
44
42
  highlighted: false,
@@ -60,7 +58,7 @@ const conf = {
60
58
  features: ["Everything in Pro", "SLA", "Dedicated Manager", "SSO"]
61
59
  }
62
60
  ],
63
- padding: paddingDefaults
61
+ styles: createStylesDefaults()
64
62
  },
65
63
  render: Comparison
66
64
  };
@@ -1,15 +1,16 @@
1
1
  import { Pricing } from "./pricing.js";
2
- import { paddingDefaults, backgroundColor, sectionStyle, padding, features, button, contentFields } from "../../../puck-base/core/fields.js";
2
+ import { features, button, contentFields } from "../../../puck-base/core/fields.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const conf = {
4
5
  fields: {
5
6
  ...contentFields,
6
- tiers: {
7
+ plans: {
7
8
  type: "array",
8
9
  getItemSummary: (item, index = 0) => item.name || `Tier ${index + 1}`,
9
10
  arrayFields: {
10
11
  name: { type: "text", contentEditable: true },
11
12
  description: { type: "textarea", contentEditable: true },
12
- cost: { type: "text", contentEditable: true },
13
+ price: { type: "text", contentEditable: true },
13
14
  cycle: { type: "text", contentEditable: true },
14
15
  features,
15
16
  button
@@ -17,7 +18,7 @@ const conf = {
17
18
  defaultItemProps: {
18
19
  name: "Plan / product / pricing tier name",
19
20
  description: "Product description",
20
- cost: "$50",
21
+ price: "$50",
21
22
  cycle: "month",
22
23
  features: [features.defaultItemProps],
23
24
  button: {
@@ -31,12 +32,9 @@ const conf = {
31
32
  min: 1,
32
33
  max: 3
33
34
  },
34
- padding,
35
- sectionStyle,
36
- backgroundColor
35
+ styles: createStylesField()
37
36
  },
38
37
  defaultProps: {
39
- padding: paddingDefaults,
40
38
  badge: {
41
39
  label: "Platform",
42
40
  url: "",
@@ -45,10 +43,10 @@ const conf = {
45
43
  heading: "Something new!",
46
44
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt",
47
45
  buttons: [],
48
- tiers: Array.from({ length: 3 }).map((_, index) => ({
46
+ plans: Array.from({ length: 3 }).map((_, index) => ({
49
47
  name: `Plan ${index + 1}`,
50
48
  description: "Our goal is to streamline SMB trade, making it easier and faster than ever for everyone and everywhere.",
51
- cost: "$40",
49
+ price: "$40",
52
50
  cycle: "month",
53
51
  features: Array.from({ length: 3 }).map((_2, index2) => ({
54
52
  icon: "check",
@@ -62,7 +60,8 @@ const conf = {
62
60
  variant: "outline",
63
61
  size: "default"
64
62
  }
65
- }))
63
+ })),
64
+ styles: createStylesDefaults()
66
65
  },
67
66
  render: Pricing
68
67
  };
@@ -3,17 +3,19 @@ import { CompoundContainerProps } from "@/components/puck-base/container";
3
3
  import { CompoundContentProps } from "@/components/puck-base/content";
4
4
  import { Feature } from "@/components/puck-base/core/types";
5
5
  export interface PricingProps extends CompoundContentProps {
6
- padding?: CompoundContainerProps["padding"];
7
- sectionStyle?: CompoundContainerProps["sectionStyle"];
8
- backgroundColor?: string;
9
- tiers: {
6
+ plans: {
10
7
  name: string;
11
8
  description: string;
12
- cost: string;
9
+ price: string;
13
10
  cycle: string;
14
11
  features: Feature[];
15
12
  button: CompoundButtonProps;
16
13
  }[];
17
- className?: string;
14
+ styles?: {
15
+ padding?: CompoundContainerProps["padding"];
16
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
17
+ backgroundColor?: string;
18
+ className?: string;
19
+ };
18
20
  }
19
21
  export declare const Pricing: (props: PricingProps) => import("react/jsx-runtime").JSX.Element;
@@ -4,43 +4,55 @@ import { CompoundButton } from "../../../puck-base/button.js";
4
4
  import { CompoundContainer } from "../../../puck-base/container.js";
5
5
  import { CompoundContent } from "../../../puck-base/content.js";
6
6
  import DynamicIcon from "../../../../node_modules/.pnpm/lucide-react@0.540.0_react@19.2.4/node_modules/lucide-react/dist/esm/DynamicIcon.js";
7
- const Pricing = (props) => /* @__PURE__ */ jsx(CompoundContainer, { padding: props.padding, sectionStyle: props.sectionStyle, backgroundColor: props.backgroundColor, className: props.className, children: /* @__PURE__ */ jsxs("div", { children: [
8
- /* @__PURE__ */ jsx(
9
- CompoundContent,
7
+ const Pricing = (props) => {
8
+ var _a, _b, _c, _d;
9
+ return /* @__PURE__ */ jsx(
10
+ CompoundContainer,
10
11
  {
11
- badge: props.badge,
12
- heading: props.heading,
13
- description: props.description,
14
- buttons: props.buttons,
15
- alignContent: "center",
16
- spacing: "tight"
12
+ padding: (_a = props.styles) == null ? void 0 : _a.padding,
13
+ sectionStyle: (_b = props.styles) == null ? void 0 : _b.sectionStyle,
14
+ backgroundColor: (_c = props.styles) == null ? void 0 : _c.backgroundColor,
15
+ className: (_d = props.styles) == null ? void 0 : _d.className,
16
+ children: /* @__PURE__ */ jsxs("div", { children: [
17
+ /* @__PURE__ */ jsx(
18
+ CompoundContent,
19
+ {
20
+ badge: props.badge,
21
+ heading: props.heading,
22
+ description: props.description,
23
+ buttons: props.buttons,
24
+ alignContent: "center",
25
+ spacing: "tight"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ jsx("div", { className: "grid w-full grid-cols-1 gap-8 pt-20 text-left lg:grid-cols-3", children: (props.plans ?? []).map((tier, index) => /* @__PURE__ */ jsxs(Card, { className: "w-full rounded-md shadow", children: [
29
+ /* @__PURE__ */ jsxs(CardHeader, { children: [
30
+ /* @__PURE__ */ jsx(CardTitle, { children: /* @__PURE__ */ jsx("span", { className: "flex flex-row items-center gap-4 font-normal", children: tier.name }) }),
31
+ /* @__PURE__ */ jsx(CardDescription, { children: tier.description })
32
+ ] }),
33
+ /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-start gap-8", children: [
34
+ /* @__PURE__ */ jsxs("p", { className: "flex flex-row items-center gap-2 text-xl", children: [
35
+ /* @__PURE__ */ jsx("span", { className: "text-4xl", children: tier.price }),
36
+ /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
37
+ " ",
38
+ "/ ",
39
+ tier.cycle
40
+ ] })
41
+ ] }),
42
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col justify-start gap-4", children: (tier.features ?? []).map((feature, index2) => /* @__PURE__ */ jsxs("div", { className: "flex flex-row gap-4", children: [
43
+ feature.icon && feature.icon !== "none" ? /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon }) : null,
44
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
45
+ /* @__PURE__ */ jsx("p", { children: feature.name }),
46
+ feature.description ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: feature.description }) : null
47
+ ] })
48
+ ] }, index2)) }),
49
+ /* @__PURE__ */ jsx(CompoundButton, { ...tier.button })
50
+ ] }) })
51
+ ] }, index)) })
52
+ ] })
17
53
  }
18
- ),
19
- /* @__PURE__ */ jsx("div", { className: "grid w-full grid-cols-1 gap-8 pt-20 text-left lg:grid-cols-3", children: (props.tiers ?? []).map((tier, index) => /* @__PURE__ */ jsxs(Card, { className: "w-full rounded-md shadow", children: [
20
- /* @__PURE__ */ jsxs(CardHeader, { children: [
21
- /* @__PURE__ */ jsx(CardTitle, { children: /* @__PURE__ */ jsx("span", { className: "flex flex-row items-center gap-4 font-normal", children: tier.name }) }),
22
- /* @__PURE__ */ jsx(CardDescription, { children: tier.description })
23
- ] }),
24
- /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-start gap-8", children: [
25
- /* @__PURE__ */ jsxs("p", { className: "flex flex-row items-center gap-2 text-xl", children: [
26
- /* @__PURE__ */ jsx("span", { className: "text-4xl", children: tier.cost }),
27
- /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
28
- " ",
29
- "/ ",
30
- tier.cycle
31
- ] })
32
- ] }),
33
- /* @__PURE__ */ jsx("div", { className: "flex flex-col justify-start gap-4", children: (tier.features ?? []).map((feature, index2) => /* @__PURE__ */ jsxs("div", { className: "flex flex-row gap-4", children: [
34
- feature.icon && feature.icon !== "none" ? /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon }) : null,
35
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
36
- /* @__PURE__ */ jsx("p", { children: feature.name }),
37
- feature.description ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: feature.description }) : null
38
- ] })
39
- ] }, index2)) }),
40
- /* @__PURE__ */ jsx(CompoundButton, { ...tier.button })
41
- ] }) })
42
- ] }, index)) })
43
- ] }) });
54
+ );
55
+ };
44
56
  export {
45
57
  Pricing
46
58
  };
@@ -0,0 +1,5 @@
1
+ import { ComponentConfig } from "@puckeditor/core";
2
+ import { Pricing2Props } from "./pricing-2";
3
+ export type { Pricing2Props };
4
+ export declare const conf: ComponentConfig<Pricing2Props>;
5
+ export default conf;
@@ -0,0 +1,151 @@
1
+ import { Pricing2 } from "./pricing-2.js";
2
+ import { button } from "../../../puck-base/core/fields.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
4
+ const conf = {
5
+ fields: {
6
+ heading: { type: "text", contentEditable: true },
7
+ description: { type: "textarea", contentEditable: true },
8
+ plans: {
9
+ type: "array",
10
+ getItemSummary: (item, index = 0) => item.title || `Tier ${index + 1}`,
11
+ arrayFields: {
12
+ badgeLabel: {
13
+ type: "text",
14
+ label: "Badge (optional)",
15
+ contentEditable: true
16
+ },
17
+ title: { type: "text", contentEditable: true },
18
+ description: { type: "textarea", contentEditable: true },
19
+ price: { type: "text", label: "Price", contentEditable: true },
20
+ period: { type: "text", label: "Period", contentEditable: true },
21
+ button,
22
+ featuresLabel: {
23
+ type: "text",
24
+ label: "Features heading",
25
+ contentEditable: true
26
+ },
27
+ features: {
28
+ type: "array",
29
+ max: 8,
30
+ getItemSummary: (item, index = 0) => item.title || `Feature ${index + 1}`,
31
+ arrayFields: {
32
+ title: { type: "text", contentEditable: true }
33
+ },
34
+ defaultItemProps: { title: "Feature item" }
35
+ },
36
+ isFeatured: {
37
+ type: "radio",
38
+ label: "Card style",
39
+ options: [
40
+ { label: "Featured (elevated)", value: true },
41
+ { label: "Standard", value: false }
42
+ ]
43
+ }
44
+ },
45
+ defaultItemProps: {
46
+ badgeLabel: "",
47
+ title: "Plan Name",
48
+ description: "Brief description of this plan.",
49
+ price: "$50",
50
+ period: "per month",
51
+ button: {
52
+ label: "Get started",
53
+ url: "#",
54
+ variant: "outline",
55
+ size: "default",
56
+ icon: "none"
57
+ },
58
+ featuresLabel: "What's included:",
59
+ features: [
60
+ { title: "Feature one" },
61
+ { title: "Feature two" },
62
+ { title: "Feature three" }
63
+ ],
64
+ isFeatured: false
65
+ },
66
+ min: 1,
67
+ max: 4
68
+ },
69
+ styles: createStylesField()
70
+ },
71
+ defaultProps: {
72
+ heading: "Training plans tailored to you",
73
+ description: "Choose the package that fits your goals. Start with one session or commit to a program.",
74
+ plans: [
75
+ {
76
+ badgeLabel: "",
77
+ title: "Single Session",
78
+ description: "Try a one-on-one training session. Perfect for first-timers or testing your fit.",
79
+ price: "$75",
80
+ period: "per session",
81
+ button: {
82
+ label: "Schedule a session",
83
+ url: "#",
84
+ variant: "outline",
85
+ size: "default",
86
+ icon: "none"
87
+ },
88
+ featuresLabel: "What's included:",
89
+ features: [
90
+ { title: "One 60-minute session" },
91
+ { title: "Form and technique guidance" },
92
+ { title: "Personalized exercise selection" },
93
+ { title: "No commitment required" }
94
+ ],
95
+ isFeatured: false
96
+ },
97
+ {
98
+ badgeLabel: "Most popular",
99
+ title: "4-Week Program",
100
+ description: "Four weekly sessions designed around your goals. Build momentum and see real progress in a month.",
101
+ price: "$260",
102
+ period: "per month",
103
+ button: {
104
+ label: "Start your program",
105
+ url: "#",
106
+ variant: "default",
107
+ size: "default",
108
+ icon: "none"
109
+ },
110
+ featuresLabel: "What's included:",
111
+ features: [
112
+ { title: "Four 60-minute sessions" },
113
+ { title: "Custom workout plan" },
114
+ { title: "Monthly progress check-in" },
115
+ { title: "Email support between sessions" },
116
+ { title: "Form videos and tips" }
117
+ ],
118
+ isFeatured: true
119
+ },
120
+ {
121
+ badgeLabel: "",
122
+ title: "8-Week Intensive",
123
+ description: "Two sessions per week for eight weeks. Get serious results with consistent training and close coaching.",
124
+ price: "$480",
125
+ period: "per month",
126
+ button: {
127
+ label: "Join the intensive",
128
+ url: "#",
129
+ variant: "outline",
130
+ size: "default",
131
+ icon: "none"
132
+ },
133
+ featuresLabel: "What's included:",
134
+ features: [
135
+ { title: "Eight 60-minute sessions" },
136
+ { title: "Detailed fitness assessment" },
137
+ { title: "Progressive training plan" },
138
+ { title: "Bi-weekly progress reviews" },
139
+ { title: "Priority scheduling" },
140
+ { title: "Direct phone and email support" }
141
+ ],
142
+ isFeatured: false
143
+ }
144
+ ],
145
+ styles: createStylesDefaults()
146
+ },
147
+ render: Pricing2
148
+ };
149
+ export {
150
+ conf
151
+ };
@@ -0,0 +1,26 @@
1
+ import { CompoundButtonProps } from "@/components/puck-base/button";
2
+ import { CompoundContainerProps } from "@/components/puck-base/container";
3
+ export interface PricingTierItem {
4
+ badgeLabel: string;
5
+ title: string;
6
+ description: string;
7
+ price: string;
8
+ period: string;
9
+ button: CompoundButtonProps;
10
+ featuresLabel: string;
11
+ features: {
12
+ title: string;
13
+ }[];
14
+ isFeatured: boolean;
15
+ }
16
+ export interface Pricing2Props {
17
+ heading: string;
18
+ description: string;
19
+ plans: PricingTierItem[];
20
+ styles?: {
21
+ padding?: CompoundContainerProps["padding"];
22
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
23
+ backgroundColor?: string;
24
+ };
25
+ }
26
+ export declare const Pricing2: (props: Pricing2Props) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,71 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Check } from "lucide-react";
3
+ import { cn } from "../../../../utils/css-utils.js";
4
+ import { CompoundButton } from "../../../puck-base/button.js";
5
+ import { CompoundContainer } from "../../../puck-base/container.js";
6
+ const Pricing2 = (props) => {
7
+ var _a, _b, _c;
8
+ return /* @__PURE__ */ jsx(
9
+ CompoundContainer,
10
+ {
11
+ padding: (_a = props.styles) == null ? void 0 : _a.padding,
12
+ sectionStyle: (_b = props.styles) == null ? void 0 : _b.sectionStyle,
13
+ backgroundColor: (_c = props.styles) == null ? void 0 : _c.backgroundColor,
14
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-14", children: [
15
+ /* @__PURE__ */ jsxs("div", { className: "flex max-w-2xl flex-col items-center gap-4 text-center", children: [
16
+ /* @__PURE__ */ jsx("h2", { className: "text-foreground text-balance text-4xl font-bold tracking-tight", children: props.heading }),
17
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-base leading-relaxed", children: props.description })
18
+ ] }),
19
+ /* @__PURE__ */ jsx("div", { className: "grid w-full max-w-7xl grid-cols-1 gap-6 lg:grid-cols-3", children: (props.plans ?? []).map((tier, index) => /* @__PURE__ */ jsx(
20
+ "div",
21
+ {
22
+ className: cn("flex flex-col", tier.isFeatured && "lg:-mt-8"),
23
+ children: /* @__PURE__ */ jsxs("div", { className: "bg-foreground/5 flex h-full flex-col gap-6 overflow-hidden rounded-3xl px-1 pt-1 pb-8", children: [
24
+ /* @__PURE__ */ jsxs(
25
+ "div",
26
+ {
27
+ className: cn(
28
+ "bg-foreground/5 flex w-full flex-col gap-2 rounded-3xl px-8 py-7",
29
+ tier.isFeatured ? "min-h-44" : "min-h-36"
30
+ ),
31
+ children: [
32
+ tier.badgeLabel && /* @__PURE__ */ jsx("div", { className: "w-fit rounded-full bg-foreground px-2.5 py-1", children: /* @__PURE__ */ jsx("span", { className: "text-background text-xs font-medium", children: tier.badgeLabel }) }),
33
+ /* @__PURE__ */ jsx("h3", { className: "text-foreground text-xl font-semibold", children: tier.title }),
34
+ /* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-sm", children: tier.description })
35
+ ]
36
+ }
37
+ ),
38
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 px-8", children: [
39
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
40
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-baseline gap-1", children: [
41
+ /* @__PURE__ */ jsx("span", { className: "text-foreground text-4xl font-bold", children: tier.price }),
42
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: tier.period })
43
+ ] }),
44
+ /* @__PURE__ */ jsx(
45
+ CompoundButton,
46
+ {
47
+ ...tier.button,
48
+ className: cn("w-full", tier.button.className)
49
+ }
50
+ )
51
+ ] }),
52
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
53
+ /* @__PURE__ */ jsx("div", { className: "bg-border h-px w-full" }),
54
+ tier.featuresLabel && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs font-medium uppercase tracking-wider", children: tier.featuresLabel }),
55
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: (tier.features ?? []).map((feature, fi) => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
56
+ /* @__PURE__ */ jsx(Check, { className: "text-foreground h-4 w-4 shrink-0" }),
57
+ /* @__PURE__ */ jsx("span", { className: "text-foreground text-sm", children: feature.title })
58
+ ] }, fi)) })
59
+ ] })
60
+ ] })
61
+ ] })
62
+ },
63
+ index
64
+ )) })
65
+ ] })
66
+ }
67
+ );
68
+ };
69
+ export {
70
+ Pricing2
71
+ };
@@ -0,0 +1,46 @@
1
+ type PricingVariant = "comparison-1" | "pricing-1" | "pricing-2";
2
+ type PricingPadding = {
3
+ top?: "none" | "small" | "medium" | "large";
4
+ bottom?: "none" | "small" | "medium" | "large";
5
+ };
6
+ type PricingSectionStyle = "default" | "dark" | "muted" | "inverted" | "custom";
7
+ type PricingBadge = {
8
+ label: string;
9
+ url?: string;
10
+ variant?: "default" | "secondary" | "destructive" | "outline";
11
+ };
12
+ type PricingButton = {
13
+ label: string;
14
+ url?: string;
15
+ variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
16
+ size?: "default" | "sm" | "lg" | "icon";
17
+ icon?: string;
18
+ };
19
+ type PricingFeature = string | {
20
+ name: string;
21
+ description?: string;
22
+ icon?: string;
23
+ };
24
+ type PricingPlan = {
25
+ name: string;
26
+ description?: string;
27
+ price?: string;
28
+ cycle?: string;
29
+ features?: PricingFeature[];
30
+ button?: PricingButton;
31
+ highlighted?: boolean;
32
+ };
33
+ type PricingSectionProps = {
34
+ variant?: PricingVariant;
35
+ badge?: PricingBadge;
36
+ heading?: string;
37
+ description?: string;
38
+ buttons?: PricingButton[];
39
+ plans?: PricingPlan[];
40
+ styles?: {
41
+ padding?: PricingPadding;
42
+ sectionStyle?: PricingSectionStyle;
43
+ backgroundColor?: string;
44
+ className?: string;
45
+ };
46
+ };
@@ -0,0 +1,22 @@
1
+ import { CompoundContainerProps } from "@/components/puck-base/container";
2
+ import { CompoundButtonProps } from "@/components/puck-base/button";
3
+ export interface BeforeAfterItem {
4
+ text: string;
5
+ }
6
+ export interface BeforeAfterProps {
7
+ eyebrow?: string;
8
+ heading?: string;
9
+ description?: string;
10
+ beforeLabel?: string;
11
+ beforeItems?: BeforeAfterItem[];
12
+ afterLabel?: string;
13
+ afterItems?: BeforeAfterItem[];
14
+ button?: CompoundButtonProps;
15
+ layout?: "side-by-side" | "stacked";
16
+ styles?: {
17
+ padding?: CompoundContainerProps["padding"];
18
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
19
+ backgroundColor?: string;
20
+ };
21
+ }
22
+ export declare const BeforeAfter: ({ eyebrow, heading, description, beforeLabel, beforeItems, afterLabel, afterItems, button, layout, styles, }: BeforeAfterProps) => import("react/jsx-runtime").JSX.Element;