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
@@ -0,0 +1,5 @@
1
+ import { ComponentConfig } from "@puckeditor/core";
2
+ import { Faq2Props } from "./faq-2";
3
+ export type { Faq2Props };
4
+ export declare const conf: ComponentConfig<Faq2Props>;
5
+ export default conf;
@@ -0,0 +1,61 @@
1
+ import { image1x1Placeholder, image } from "../../../puck-base/core/fields.js";
2
+ import { Faq2 } from "./faq-2.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
4
+ const defaultItems = [
5
+ {
6
+ question: "What's included in a session?",
7
+ answer: "Each session includes a personalized warm-up, structured training tailored to your goals, form coaching, and a cool-down. You'll also receive guidance on next steps to keep progressing."
8
+ },
9
+ {
10
+ question: "How do I know if this is right for me?",
11
+ answer: "If you have a goal — whether it's losing weight, building strength, improving mobility, or just feeling better — we can help. We offer a free consultation to assess your needs and build a plan."
12
+ },
13
+ {
14
+ question: "How often should I train to see results?",
15
+ answer: "Most clients see meaningful results training 2–3 times per week. We'll work with your schedule and lifestyle to find the right frequency for your goals."
16
+ },
17
+ {
18
+ question: "Do you offer programs for specific goals?",
19
+ answer: "Yes — we tailor every program to your specific objectives, whether that's weight loss, muscle gain, athletic performance, or general wellness."
20
+ }
21
+ ];
22
+ const conf = {
23
+ fields: {
24
+ heading: { type: "textarea", contentEditable: true },
25
+ items: {
26
+ type: "array",
27
+ min: 1,
28
+ max: 20,
29
+ getItemSummary: (item, index = 0) => item.question ? `${item.question.slice(0, 30)}${item.question.length > 30 ? "..." : ""}` : `Question ${index + 1}`,
30
+ arrayFields: {
31
+ question: { type: "text", contentEditable: true },
32
+ answer: { type: "textarea", contentEditable: true }
33
+ },
34
+ defaultItemProps: {
35
+ question: "Your question here",
36
+ answer: "A helpful answer to the question."
37
+ }
38
+ },
39
+ image,
40
+ imagePosition: {
41
+ type: "radio",
42
+ label: "Image Position",
43
+ options: [
44
+ { label: "Left", value: "left" },
45
+ { label: "Right", value: "right" }
46
+ ]
47
+ },
48
+ styles: createStylesField()
49
+ },
50
+ defaultProps: {
51
+ heading: "Questions about getting started",
52
+ items: defaultItems,
53
+ image: image1x1Placeholder,
54
+ imagePosition: "right",
55
+ styles: createStylesDefaults()
56
+ },
57
+ render: Faq2
58
+ };
59
+ export {
60
+ conf
61
+ };
@@ -0,0 +1,30 @@
1
+ type FaqVariant = "accordion-1" | "faq-1" | "faq-2";
2
+ type FaqPadding = {
3
+ top?: "none" | "small" | "medium" | "large";
4
+ bottom?: "none" | "small" | "medium" | "large";
5
+ };
6
+ type FaqSectionStyle = "default" | "dark" | "muted" | "inverted" | "custom";
7
+ type FaqImage = {
8
+ src: string;
9
+ alt?: string;
10
+ };
11
+ type FaqItem = {
12
+ question: string;
13
+ answer: string;
14
+ };
15
+ type FaqSectionProps = {
16
+ variant?: FaqVariant;
17
+ heading?: string;
18
+ description?: string;
19
+ items?: FaqItem[];
20
+ layout?: "single-col" | "two-col";
21
+ expandMode?: "single" | "multiple";
22
+ collapsible?: boolean;
23
+ image?: FaqImage;
24
+ styles?: {
25
+ padding?: FaqPadding;
26
+ sectionStyle?: FaqSectionStyle;
27
+ backgroundColor?: string;
28
+ imagePosition?: "left" | "right";
29
+ };
30
+ };
@@ -2,9 +2,11 @@ import { CompoundContainerProps } from "@/components/puck-base/container";
2
2
  import { CompoundContentProps } from "@/components/puck-base/content";
3
3
  import { CompoundCardProps } from "@/components/puck-base/card";
4
4
  export interface BentoProps extends CompoundContentProps {
5
- padding?: CompoundContainerProps["padding"];
6
- sectionStyle?: CompoundContainerProps["sectionStyle"];
7
- backgroundColor?: string;
5
+ styles?: {
6
+ padding?: CompoundContainerProps["padding"];
7
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
8
+ backgroundColor?: string;
9
+ };
8
10
  cards?: CompoundCardProps[];
9
11
  }
10
- export declare const Bento: ({ padding, sectionStyle, backgroundColor, badge, heading, description, buttons, cards, }: BentoProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Bento: ({ styles, badge, heading, description, buttons, cards, }: BentoProps) => import("react/jsx-runtime").JSX.Element;
@@ -4,16 +4,14 @@ import { CompoundContainer } from "../../../puck-base/container.js";
4
4
  import { CompoundContent } from "../../../puck-base/content.js";
5
5
  import { CompoundCard } from "../../../puck-base/card.js";
6
6
  const Bento = ({
7
- padding,
8
- sectionStyle,
9
- backgroundColor,
7
+ styles,
10
8
  badge,
11
9
  heading,
12
10
  description,
13
11
  buttons,
14
12
  cards = []
15
13
  }) => {
16
- return /* @__PURE__ */ jsx(CompoundContainer, { padding, sectionStyle, backgroundColor, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-10", children: [
14
+ return /* @__PURE__ */ jsx(CompoundContainer, { padding: styles == null ? void 0 : styles.padding, sectionStyle: styles == null ? void 0 : styles.sectionStyle, backgroundColor: styles == null ? void 0 : styles.backgroundColor, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-10", children: [
17
15
  /* @__PURE__ */ jsx(
18
16
  CompoundContent,
19
17
  {
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding, cards, contentFields } from "../../../puck-base/core/fields.js";
1
+ import { cards, contentFields } from "../../../puck-base/core/fields.js";
2
2
  import { Bento } from "./bento.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const conf = {
4
5
  fields: {
5
6
  ...contentFields,
@@ -8,9 +9,7 @@ const conf = {
8
9
  min: 1,
9
10
  max: 4
10
11
  },
11
- padding,
12
- sectionStyle,
13
- backgroundColor
12
+ styles: createStylesField()
14
13
  },
15
14
  defaultProps: {
16
15
  badge: {
@@ -25,7 +24,7 @@ const conf = {
25
24
  ...cards.defaultItemProps,
26
25
  heading: `Card ${index + 1}`
27
26
  })),
28
- padding: paddingDefaults
27
+ styles: createStylesDefaults()
29
28
  },
30
29
  render: Bento
31
30
  };
@@ -1,12 +1,13 @@
1
1
  import { CompoundContentProps } from "@/components/puck-base/content";
2
2
  import { CompoundContainerProps } from "@/components/puck-base/container";
3
- import { PuckComponent, Slot } from "@puckeditor/core";
3
+ import { CompoundArticleCardProps } from "@/components/puck-base/article-card";
4
4
  export interface FeatureCardsProps extends CompoundContentProps {
5
- padding?: CompoundContainerProps["padding"];
6
- sectionStyle?: CompoundContainerProps["sectionStyle"];
7
- backgroundColor?: string;
5
+ styles?: {
6
+ padding?: CompoundContainerProps["padding"];
7
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
8
+ backgroundColor?: string;
9
+ };
8
10
  columns?: 1 | 2 | 3;
9
- cards: Slot;
11
+ cards?: CompoundArticleCardProps[];
10
12
  }
11
- export declare const FeatureCard: PuckComponent<CompoundContainerProps>;
12
- export declare const FeatureCards: PuckComponent<FeatureCardsProps>;
13
+ export declare const FeatureCards: ({ styles, badge, heading, description, buttons, columns, cards, alignContent, className, }: FeatureCardsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,21 +1,20 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { CompoundContent } from "../../../puck-base/content.js";
3
3
  import { CompoundContainer } from "../../../puck-base/container.js";
4
+ import { CompoundArticleCard } from "../../../puck-base/article-card.js";
4
5
  import { cn } from "../../../../utils/css-utils.js";
5
6
  const FeatureCards = ({
6
- padding,
7
- sectionStyle,
8
- backgroundColor,
7
+ styles,
9
8
  badge,
10
9
  heading,
11
10
  description,
12
11
  buttons,
13
12
  columns = 3,
14
- cards: Cards,
13
+ cards = [],
15
14
  alignContent = "start",
16
15
  className
17
16
  }) => {
18
- return /* @__PURE__ */ jsx(CompoundContainer, { padding, sectionStyle, backgroundColor, className, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-10", children: [
17
+ return /* @__PURE__ */ jsx(CompoundContainer, { padding: styles == null ? void 0 : styles.padding, sectionStyle: styles == null ? void 0 : styles.sectionStyle, backgroundColor: styles == null ? void 0 : styles.backgroundColor, className, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-10", children: [
19
18
  /* @__PURE__ */ jsx(
20
19
  CompoundContent,
21
20
  {
@@ -27,10 +26,19 @@ const FeatureCards = ({
27
26
  spacing: "tight"
28
27
  }
29
28
  ),
30
- Cards && /* @__PURE__ */ jsx(Cards, { className: cn("grid grid-cols-1 gap-8", {
29
+ cards.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-1 gap-8", {
31
30
  "sm:grid-cols-2": columns >= 2,
32
31
  "lg:grid-cols-3": columns >= 3
33
- }) })
32
+ }), children: cards.map((card, index) => /* @__PURE__ */ jsx(
33
+ CompoundArticleCard,
34
+ {
35
+ image: card.image,
36
+ heading: card.heading,
37
+ description: card.description,
38
+ button: card.button
39
+ },
40
+ index
41
+ )) })
34
42
  ] }) });
35
43
  };
36
44
  export {
@@ -1,10 +1,6 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding, contentFields, image16x9Placeholder, cards } from "../../../puck-base/core/fields.js";
1
+ import { image16x9Placeholder, button, image, contentFields } from "../../../puck-base/core/fields.js";
2
2
  import { FeatureCards } from "./feature-cards.js";
3
- const { icon: defaultIcon, ...cardsDefaultItemProps } = cards.defaultItemProps;
4
- const defaultCard = {
5
- ...cardsDefaultItemProps,
6
- image: image16x9Placeholder
7
- };
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
8
4
  const conf = {
9
5
  fields: {
10
6
  ...contentFields,
@@ -26,12 +22,28 @@ const conf = {
26
22
  ]
27
23
  },
28
24
  cards: {
29
- type: "slot",
30
- allow: ["ArticleCard"]
25
+ type: "array",
26
+ getItemSummary: (item, index = 0) => item.heading || `Card ${index + 1}`,
27
+ arrayFields: {
28
+ image,
29
+ heading: { type: "text", contentEditable: true },
30
+ description: { type: "textarea", contentEditable: true },
31
+ button
32
+ },
33
+ defaultItemProps: {
34
+ image: image16x9Placeholder,
35
+ heading: "Card heading",
36
+ description: "Card description goes here.",
37
+ button: {
38
+ label: "",
39
+ url: "",
40
+ variant: "link",
41
+ size: "default",
42
+ icon: "move-right"
43
+ }
44
+ }
31
45
  },
32
- padding,
33
- sectionStyle,
34
- backgroundColor
46
+ styles: createStylesField()
35
47
  },
36
48
  defaultProps: {
37
49
  heading: "Something new!",
@@ -44,14 +56,21 @@ const conf = {
44
56
  buttons: [],
45
57
  alignContent: "start",
46
58
  columns: 3,
47
- cards: Array.from({ length: 1 }).map((_, index) => ({
48
- type: "ArticleCard",
49
- props: {
50
- ...defaultCard,
51
- heading: `Card ${index + 1}`
59
+ cards: [
60
+ {
61
+ image: image16x9Placeholder,
62
+ heading: "Card 1",
63
+ description: "Card description goes here.",
64
+ button: {
65
+ label: "",
66
+ url: "",
67
+ variant: "link",
68
+ size: "default",
69
+ icon: "move-right"
70
+ }
52
71
  }
53
- })),
54
- padding: paddingDefaults
72
+ ],
73
+ styles: createStylesDefaults()
55
74
  },
56
75
  render: FeatureCards
57
76
  };
@@ -1,8 +1,10 @@
1
1
  import { CompoundContainerProps } from "@/components/puck-base/container";
2
2
  export interface FeatureShowcaseProps {
3
- padding?: CompoundContainerProps["padding"];
4
- sectionStyle?: CompoundContainerProps["sectionStyle"];
5
- backgroundColor?: string;
3
+ styles?: {
4
+ padding?: CompoundContainerProps["padding"];
5
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
6
+ backgroundColor?: string;
7
+ };
6
8
  heading?: string;
7
9
  description?: string;
8
10
  image?: {
@@ -16,4 +18,4 @@ export interface FeatureShowcaseProps {
16
18
  }>;
17
19
  layout?: "image-left" | "image-right";
18
20
  }
19
- export declare const FeatureShowcase: ({ padding, sectionStyle, backgroundColor, heading, description, image, features, layout, }: FeatureShowcaseProps) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const FeatureShowcase: ({ styles, heading, description, image, features, layout, }: FeatureShowcaseProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,15 @@
1
1
  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
+ import { CompoundImage } from "../../../puck-base/image.js";
4
5
  const FeatureShowcase = ({
5
- padding,
6
- sectionStyle,
7
- backgroundColor,
6
+ styles,
8
7
  heading,
9
8
  description,
10
9
  image,
11
10
  features = [],
12
11
  layout = "image-right"
13
- }) => /* @__PURE__ */ jsxs(CompoundContainer, { padding, sectionStyle, backgroundColor, children: [
12
+ }) => /* @__PURE__ */ jsxs(CompoundContainer, { padding: styles == null ? void 0 : styles.padding, sectionStyle: styles == null ? void 0 : styles.sectionStyle, backgroundColor: styles == null ? void 0 : styles.backgroundColor, children: [
14
13
  /* @__PURE__ */ jsxs("div", { className: "mb-12 max-w-2xl", children: [
15
14
  heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground text-3xl font-bold tracking-tight md:text-4xl", children: heading }),
16
15
  description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-4 text-lg", children: description })
@@ -27,14 +26,7 @@ const FeatureShowcase = ({
27
26
  /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: f.title }),
28
27
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1", children: f.description })
29
28
  ] }, i)) }),
30
- /* @__PURE__ */ jsx("div", { className: "border-border/50 bg-muted overflow-hidden rounded-xl border", children: (image == null ? void 0 : image.src) ? /* @__PURE__ */ jsx(
31
- "img",
32
- {
33
- src: image.src,
34
- alt: (image == null ? void 0 : image.alt) || "",
35
- className: "h-full w-full object-cover"
36
- }
37
- ) : /* @__PURE__ */ jsx("div", { className: "flex aspect-[4/3] w-full items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Feature Image" }) }) })
29
+ /* @__PURE__ */ jsx("div", { className: "border-border/50 bg-muted [&>span]:w-full overflow-hidden rounded-xl border", children: (image == null ? void 0 : image.src) ? /* @__PURE__ */ jsx(CompoundImage, { src: image.src, alt: (image == null ? void 0 : image.alt) || "", className: "w-full object-cover" }) : /* @__PURE__ */ jsx("div", { className: "flex aspect-[4/3] w-full items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Feature Image" }) }) })
38
30
  ]
39
31
  }
40
32
  )
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, image16x9Placeholder, backgroundColor, sectionStyle, padding, image } from "../../../puck-base/core/fields.js";
1
+ import { image16x9Placeholder, image } from "../../../puck-base/core/fields.js";
2
2
  import { FeatureShowcase } from "./feature-showcase.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 },
@@ -25,9 +26,7 @@ const conf = {
25
26
  { label: "Image Right", value: "image-right" }
26
27
  ]
27
28
  },
28
- padding,
29
- sectionStyle,
30
- backgroundColor
29
+ styles: createStylesField()
31
30
  },
32
31
  defaultProps: {
33
32
  heading: "Everything you need",
@@ -48,7 +47,7 @@ const conf = {
48
47
  }
49
48
  ],
50
49
  layout: "image-right",
51
- padding: paddingDefaults
50
+ styles: createStylesDefaults()
52
51
  },
53
52
  render: FeatureShowcase
54
53
  };
@@ -1,17 +1,19 @@
1
1
  import { CompoundContainerProps } from "@/components/puck-base/container";
2
2
  import { CompoundButtonProps } from "@/components/puck-base/button";
3
3
  export interface IconGridProps {
4
- padding?: CompoundContainerProps["padding"];
5
- sectionStyle?: CompoundContainerProps["sectionStyle"];
6
- backgroundColor?: string;
7
4
  heading?: string;
8
5
  description?: string;
9
6
  buttons?: CompoundButtonProps[];
10
7
  columns?: 2 | 3 | 4;
11
- items?: Array<{
8
+ features?: Array<{
12
9
  icon: string;
13
10
  title: string;
14
11
  description: string;
15
12
  }>;
13
+ styles?: {
14
+ padding?: CompoundContainerProps["padding"];
15
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
16
+ backgroundColor?: string;
17
+ };
16
18
  }
17
19
  export declare const IconGrid: (allProps: IconGridProps) => import("react/jsx-runtime").JSX.Element;
@@ -16,64 +16,70 @@ function getLucideIcon(name) {
16
16
  const IconGrid = (allProps) => {
17
17
  const componentId = allProps.id;
18
18
  const {
19
- padding,
20
- sectionStyle,
21
- backgroundColor,
22
19
  heading,
23
20
  description,
24
21
  buttons,
25
22
  columns = 3,
26
- items = []
23
+ features = [],
24
+ styles
27
25
  } = allProps;
28
- return /* @__PURE__ */ jsxs(CompoundContainer, { padding, sectionStyle, backgroundColor, children: [
29
- heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground font-serif text-2xl md:text-3xl leading-snug mb-16 max-w-3xl", children: heading }),
30
- description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-4 text-lg mb-8", children: description }),
31
- Array.isArray(buttons) && buttons.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-4 mb-8", children: buttons.filter((b) => b.label).map((button, idx) => /* @__PURE__ */ jsx(
32
- CompoundButton,
33
- {
34
- label: button.label,
35
- url: button.url,
36
- variant: button.variant,
37
- size: button.size,
38
- icon: button.icon
39
- },
40
- idx
41
- )) }),
42
- /* @__PURE__ */ jsx("div", { className: cn(
43
- "grid grid-cols-1 gap-x-12",
44
- gridColsClass[columns] || ""
45
- ), children: items.map((item, i) => /* @__PURE__ */ jsxs("div", { children: [
46
- /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-6 py-6", children: [
47
- /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 mt-1 text-muted-foreground", children: (() => {
48
- const Icon = getLucideIcon(item.icon);
49
- return Icon ? /* @__PURE__ */ jsx(Icon, { className: "h-9 w-9 stroke-[1.5]" }) : /* @__PURE__ */ jsx("span", { className: "text-3xl", children: "📦" });
50
- })() }),
51
- /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
52
- /* @__PURE__ */ jsx(
53
- InlineEditable,
54
- {
55
- tag: "h3",
56
- className: "text-foreground font-serif text-xl font-medium mb-3",
57
- value: item.title,
58
- componentId: componentId || "",
59
- propPath: `items[${i}].title`
60
- }
61
- ),
62
- /* @__PURE__ */ jsx(
63
- InlineEditable,
64
- {
65
- tag: "p",
66
- className: "text-muted-foreground text-sm leading-relaxed max-w-2xl",
67
- value: item.description,
68
- componentId: componentId || "",
69
- propPath: `items[${i}].description`
70
- }
71
- )
72
- ] })
73
- ] }),
74
- /* @__PURE__ */ jsx("hr", { className: "border-foreground/10" })
75
- ] }, i)) })
76
- ] });
26
+ return /* @__PURE__ */ jsxs(
27
+ CompoundContainer,
28
+ {
29
+ padding: styles == null ? void 0 : styles.padding,
30
+ sectionStyle: styles == null ? void 0 : styles.sectionStyle,
31
+ backgroundColor: styles == null ? void 0 : styles.backgroundColor,
32
+ children: [
33
+ heading && /* @__PURE__ */ jsx("h2", { className: "text-foreground font-serif text-2xl md:text-3xl leading-snug mb-16 max-w-3xl", children: heading }),
34
+ description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-4 text-lg mb-8", children: description }),
35
+ Array.isArray(buttons) && buttons.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-4 mb-8", children: buttons.filter((b) => b.label).map((button, idx) => /* @__PURE__ */ jsx(
36
+ CompoundButton,
37
+ {
38
+ label: button.label,
39
+ url: button.url,
40
+ variant: button.variant,
41
+ size: button.size,
42
+ icon: button.icon
43
+ },
44
+ idx
45
+ )) }),
46
+ /* @__PURE__ */ jsx("div", { className: cn(
47
+ "grid grid-cols-1 gap-x-12",
48
+ gridColsClass[columns] || ""
49
+ ), children: features.map((item, i) => /* @__PURE__ */ jsxs("div", { children: [
50
+ /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-6 py-6", children: [
51
+ /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 mt-1 text-muted-foreground", children: (() => {
52
+ const Icon = getLucideIcon(item.icon);
53
+ return Icon ? /* @__PURE__ */ jsx(Icon, { className: "h-9 w-9 stroke-[1.5]" }) : /* @__PURE__ */ jsx("span", { className: "text-3xl", children: "📦" });
54
+ })() }),
55
+ /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
56
+ /* @__PURE__ */ jsx(
57
+ InlineEditable,
58
+ {
59
+ tag: "h3",
60
+ className: "text-foreground font-serif text-xl font-medium mb-3",
61
+ value: item.title,
62
+ componentId: componentId || "",
63
+ propPath: `features[${i}].title`
64
+ }
65
+ ),
66
+ /* @__PURE__ */ jsx(
67
+ InlineEditable,
68
+ {
69
+ tag: "p",
70
+ className: "text-muted-foreground text-sm leading-relaxed max-w-2xl",
71
+ value: item.description,
72
+ componentId: componentId || "",
73
+ propPath: `features[${i}].description`
74
+ }
75
+ )
76
+ ] })
77
+ ] }),
78
+ /* @__PURE__ */ jsx("hr", { className: "border-foreground/10" })
79
+ ] }, i)) })
80
+ ]
81
+ }
82
+ );
77
83
  };
78
84
  export {
79
85
  IconGrid
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding, buttons } from "../../../puck-base/core/fields.js";
1
+ import { buttons } from "../../../puck-base/core/fields.js";
2
2
  import { IconGrid } from "./icon-grid.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 },
@@ -13,10 +14,10 @@ const conf = {
13
14
  { label: "4 Columns", value: 4 }
14
15
  ]
15
16
  },
16
- items: {
17
+ features: {
17
18
  type: "array",
18
19
  max: 12,
19
- getItemSummary: (item, i = 0) => item.title || `Item ${i + 1}`,
20
+ getItemSummary: (item, i = 0) => item.title || `Feature ${i + 1}`,
20
21
  arrayFields: {
21
22
  icon: {
22
23
  type: "text",
@@ -33,15 +34,13 @@ const conf = {
33
34
  description: "Description"
34
35
  }
35
36
  },
36
- padding,
37
- sectionStyle,
38
- backgroundColor
37
+ styles: createStylesField()
39
38
  },
40
39
  defaultProps: {
41
40
  heading: "Why choose us",
42
41
  description: "Features that set us apart.",
43
42
  columns: 3,
44
- items: [
43
+ features: [
45
44
  {
46
45
  icon: "zap",
47
46
  title: "Fast",
@@ -61,7 +60,7 @@ const conf = {
61
60
  description: "Built with latest tech."
62
61
  }
63
62
  ],
64
- padding: paddingDefaults
63
+ styles: createStylesDefaults()
65
64
  },
66
65
  render: IconGrid
67
66
  };
@@ -1,5 +1,6 @@
1
- import { paddingDefaults, backgroundColor, sectionStyle, padding, image, icon, description, heading, getPlaceholderImageUrl } from "../../../puck-base/core/fields.js";
1
+ import { image, icon, description, heading, getPlaceholderImageUrl } from "../../../puck-base/core/fields.js";
2
2
  import { ProductFeatures } from "./product-features.js";
3
+ import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
3
4
  const defaultFeature = {
4
5
  icon: "box",
5
6
  title: "Feature Name",
@@ -38,9 +39,7 @@ const conf = {
38
39
  ]
39
40
  },
40
41
  image,
41
- padding,
42
- sectionStyle,
43
- backgroundColor
42
+ styles: createStylesField()
44
43
  },
45
44
  defaultProps: {
46
45
  heading: "Built for the Trail",
@@ -83,7 +82,7 @@ const conf = {
83
82
  src: getPlaceholderImageUrl("1200x800", "Product Image"),
84
83
  alt: "Summit 32L hiking backpack"
85
84
  },
86
- padding: paddingDefaults
85
+ styles: createStylesDefaults()
87
86
  },
88
87
  render: ProductFeatures
89
88
  };
@@ -9,9 +9,11 @@ export interface ProductFeature {
9
9
  };
10
10
  }
11
11
  export interface ProductFeaturesProps {
12
- padding?: CompoundContainerProps["padding"];
13
- sectionStyle?: CompoundContainerProps["sectionStyle"];
14
- backgroundColor?: string;
12
+ styles?: {
13
+ padding?: CompoundContainerProps["padding"];
14
+ sectionStyle?: CompoundContainerProps["sectionStyle"];
15
+ backgroundColor?: string;
16
+ };
15
17
  heading?: string;
16
18
  description?: string;
17
19
  features?: ProductFeature[];
@@ -22,4 +24,4 @@ export interface ProductFeaturesProps {
22
24
  alt?: string;
23
25
  };
24
26
  }
25
- export declare const ProductFeatures: ({ padding, sectionStyle, backgroundColor, heading, description, features, layout, columns, image, }: ProductFeaturesProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const ProductFeatures: ({ styles, heading, description, features, layout, columns, image, }: ProductFeaturesProps) => import("react/jsx-runtime").JSX.Element;