@opensite/ui 0.4.6 → 0.4.7

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 (307) hide show
  1. package/dist/hero-ad-campaign-expert.cjs +408 -150
  2. package/dist/hero-ad-campaign-expert.d.cts +20 -1
  3. package/dist/hero-ad-campaign-expert.d.ts +20 -1
  4. package/dist/hero-ad-campaign-expert.js +409 -150
  5. package/dist/hero-adaptable-product-grid.cjs +397 -24
  6. package/dist/hero-adaptable-product-grid.d.cts +20 -1
  7. package/dist/hero-adaptable-product-grid.d.ts +20 -1
  8. package/dist/hero-adaptable-product-grid.js +398 -24
  9. package/dist/hero-agency-animated-images.cjs +385 -8
  10. package/dist/hero-agency-animated-images.d.cts +20 -1
  11. package/dist/hero-agency-animated-images.d.ts +20 -1
  12. package/dist/hero-agency-animated-images.js +386 -8
  13. package/dist/hero-ai-powered-carousel.cjs +480 -103
  14. package/dist/hero-ai-powered-carousel.d.cts +20 -1
  15. package/dist/hero-ai-powered-carousel.d.ts +20 -1
  16. package/dist/hero-ai-powered-carousel.js +481 -103
  17. package/dist/hero-announcement-badge.cjs +393 -16
  18. package/dist/hero-announcement-badge.d.cts +20 -1
  19. package/dist/hero-announcement-badge.d.ts +20 -1
  20. package/dist/hero-announcement-badge.js +394 -16
  21. package/dist/hero-architecture-fullscreen.cjs +374 -122
  22. package/dist/hero-architecture-fullscreen.d.cts +20 -1
  23. package/dist/hero-architecture-fullscreen.d.ts +20 -1
  24. package/dist/hero-architecture-fullscreen.js +375 -122
  25. package/dist/hero-badge-image-split.cjs +397 -139
  26. package/dist/hero-badge-image-split.d.cts +20 -1
  27. package/dist/hero-badge-image-split.d.ts +20 -1
  28. package/dist/hero-badge-image-split.js +398 -139
  29. package/dist/hero-badge-shadow-overlay.cjs +402 -25
  30. package/dist/hero-badge-shadow-overlay.d.cts +20 -1
  31. package/dist/hero-badge-shadow-overlay.d.ts +20 -1
  32. package/dist/hero-badge-shadow-overlay.js +403 -25
  33. package/dist/hero-billing-platform-logos.cjs +373 -2
  34. package/dist/hero-billing-platform-logos.d.cts +20 -1
  35. package/dist/hero-billing-platform-logos.d.ts +20 -1
  36. package/dist/hero-billing-platform-logos.js +374 -2
  37. package/dist/hero-business-carousel-dots.cjs +413 -36
  38. package/dist/hero-business-carousel-dots.d.cts +20 -1
  39. package/dist/hero-business-carousel-dots.d.ts +20 -1
  40. package/dist/hero-business-carousel-dots.js +414 -37
  41. package/dist/hero-business-operations-mosaic.cjs +388 -7
  42. package/dist/hero-business-operations-mosaic.d.cts +20 -1
  43. package/dist/hero-business-operations-mosaic.d.ts +20 -1
  44. package/dist/hero-business-operations-mosaic.js +385 -7
  45. package/dist/hero-centered-gradient-cta.cjs +368 -1
  46. package/dist/hero-centered-gradient-cta.d.cts +20 -1
  47. package/dist/hero-centered-gradient-cta.d.ts +20 -1
  48. package/dist/hero-centered-gradient-cta.js +369 -1
  49. package/dist/hero-centered-image-grid.cjs +409 -32
  50. package/dist/hero-centered-image-grid.d.cts +20 -1
  51. package/dist/hero-centered-image-grid.d.ts +20 -1
  52. package/dist/hero-centered-image-grid.js +410 -32
  53. package/dist/hero-centered-screenshot.cjs +393 -135
  54. package/dist/hero-centered-screenshot.d.cts +20 -1
  55. package/dist/hero-centered-screenshot.d.ts +20 -1
  56. package/dist/hero-centered-screenshot.js +394 -135
  57. package/dist/hero-coming-soon-countdown.cjs +368 -1
  58. package/dist/hero-coming-soon-countdown.d.cts +20 -1
  59. package/dist/hero-coming-soon-countdown.d.ts +20 -1
  60. package/dist/hero-coming-soon-countdown.js +369 -1
  61. package/dist/hero-community-survey-cta.cjs +389 -12
  62. package/dist/hero-community-survey-cta.d.cts +20 -1
  63. package/dist/hero-community-survey-cta.d.ts +20 -1
  64. package/dist/hero-community-survey-cta.js +390 -12
  65. package/dist/hero-conversation-intelligence.cjs +368 -1
  66. package/dist/hero-conversation-intelligence.d.cts +20 -1
  67. package/dist/hero-conversation-intelligence.d.ts +20 -1
  68. package/dist/hero-conversation-intelligence.js +369 -1
  69. package/dist/hero-conversion-video-play.cjs +401 -24
  70. package/dist/hero-conversion-video-play.d.cts +20 -1
  71. package/dist/hero-conversion-video-play.d.ts +20 -1
  72. package/dist/hero-conversion-video-play.js +402 -25
  73. package/dist/hero-creative-studio-stacked.cjs +388 -11
  74. package/dist/hero-creative-studio-stacked.d.cts +20 -1
  75. package/dist/hero-creative-studio-stacked.d.ts +20 -1
  76. package/dist/hero-creative-studio-stacked.js +389 -12
  77. package/dist/hero-crm-streamlined.cjs +397 -20
  78. package/dist/hero-crm-streamlined.d.cts +20 -1
  79. package/dist/hero-crm-streamlined.d.ts +20 -1
  80. package/dist/hero-crm-streamlined.js +398 -20
  81. package/dist/hero-customer-support-layered.cjs +377 -5
  82. package/dist/hero-customer-support-layered.d.cts +20 -1
  83. package/dist/hero-customer-support-layered.d.ts +20 -1
  84. package/dist/hero-customer-support-layered.js +374 -5
  85. package/dist/hero-dashed-border-features.cjs +390 -132
  86. package/dist/hero-dashed-border-features.d.cts +20 -1
  87. package/dist/hero-dashed-border-features.d.ts +20 -1
  88. package/dist/hero-dashed-border-features.js +391 -132
  89. package/dist/hero-design-carousel-portfolio.cjs +393 -135
  90. package/dist/hero-design-carousel-portfolio.d.cts +20 -1
  91. package/dist/hero-design-carousel-portfolio.d.ts +20 -1
  92. package/dist/hero-design-carousel-portfolio.js +394 -135
  93. package/dist/hero-design-showcase-logos.cjs +388 -11
  94. package/dist/hero-design-showcase-logos.d.cts +20 -1
  95. package/dist/hero-design-showcase-logos.d.ts +20 -1
  96. package/dist/hero-design-showcase-logos.js +389 -11
  97. package/dist/hero-design-system-3d.cjs +386 -13
  98. package/dist/hero-design-system-3d.d.cts +20 -1
  99. package/dist/hero-design-system-3d.d.ts +20 -1
  100. package/dist/hero-design-system-3d.js +387 -13
  101. package/dist/hero-developer-tools-code.cjs +386 -9
  102. package/dist/hero-developer-tools-code.d.cts +20 -1
  103. package/dist/hero-developer-tools-code.d.ts +20 -1
  104. package/dist/hero-developer-tools-code.js +387 -9
  105. package/dist/hero-digital-agency-fullscreen.cjs +373 -121
  106. package/dist/hero-digital-agency-fullscreen.d.cts +20 -1
  107. package/dist/hero-digital-agency-fullscreen.d.ts +20 -1
  108. package/dist/hero-digital-agency-fullscreen.js +374 -121
  109. package/dist/hero-ecommerce-product-showcase.cjs +387 -10
  110. package/dist/hero-ecommerce-product-showcase.d.cts +20 -1
  111. package/dist/hero-ecommerce-product-showcase.d.ts +20 -1
  112. package/dist/hero-ecommerce-product-showcase.js +388 -10
  113. package/dist/hero-enterprise-security.cjs +387 -10
  114. package/dist/hero-enterprise-security.d.cts +20 -2
  115. package/dist/hero-enterprise-security.d.ts +20 -2
  116. package/dist/hero-enterprise-security.js +388 -10
  117. package/dist/hero-event-registration.cjs +387 -10
  118. package/dist/hero-event-registration.d.cts +20 -2
  119. package/dist/hero-event-registration.d.ts +20 -2
  120. package/dist/hero-event-registration.js +388 -10
  121. package/dist/hero-feature-cards-grid.cjs +385 -8
  122. package/dist/hero-feature-cards-grid.d.cts +20 -2
  123. package/dist/hero-feature-cards-grid.d.ts +20 -2
  124. package/dist/hero-feature-cards-grid.js +386 -8
  125. package/dist/hero-floating-images.cjs +419 -7
  126. package/dist/hero-floating-images.d.cts +24 -3
  127. package/dist/hero-floating-images.d.ts +24 -3
  128. package/dist/hero-floating-images.js +416 -8
  129. package/dist/hero-fullscreen-background-image.cjs +368 -120
  130. package/dist/hero-fullscreen-background-image.d.cts +20 -2
  131. package/dist/hero-fullscreen-background-image.d.ts +20 -2
  132. package/dist/hero-fullscreen-background-image.js +369 -120
  133. package/dist/hero-fullscreen-logo-cta.cjs +368 -120
  134. package/dist/hero-fullscreen-logo-cta.d.cts +20 -2
  135. package/dist/hero-fullscreen-logo-cta.d.ts +20 -2
  136. package/dist/hero-fullscreen-logo-cta.js +369 -120
  137. package/dist/hero-gradient-avatars-rating.cjs +401 -24
  138. package/dist/hero-gradient-avatars-rating.d.cts +20 -2
  139. package/dist/hero-gradient-avatars-rating.d.ts +20 -2
  140. package/dist/hero-gradient-avatars-rating.js +402 -24
  141. package/dist/hero-gradient-client-focused.cjs +368 -1
  142. package/dist/hero-gradient-client-focused.d.cts +20 -2
  143. package/dist/hero-gradient-client-focused.d.ts +20 -2
  144. package/dist/hero-gradient-client-focused.js +369 -1
  145. package/dist/hero-grid-pattern-efficiency.cjs +386 -9
  146. package/dist/hero-grid-pattern-efficiency.d.cts +20 -2
  147. package/dist/hero-grid-pattern-efficiency.d.ts +20 -2
  148. package/dist/hero-grid-pattern-efficiency.js +387 -9
  149. package/dist/hero-grid-pattern-solutions.cjs +388 -11
  150. package/dist/hero-grid-pattern-solutions.d.cts +20 -2
  151. package/dist/hero-grid-pattern-solutions.d.ts +20 -2
  152. package/dist/hero-grid-pattern-solutions.js +389 -11
  153. package/dist/hero-hiring-animated-text.cjs +368 -120
  154. package/dist/hero-hiring-animated-text.d.cts +20 -2
  155. package/dist/hero-hiring-animated-text.d.ts +20 -2
  156. package/dist/hero-hiring-animated-text.js +369 -120
  157. package/dist/hero-image-left-content.cjs +397 -139
  158. package/dist/hero-image-left-content.d.cts +20 -1
  159. package/dist/hero-image-left-content.d.ts +20 -1
  160. package/dist/hero-image-left-content.js +398 -139
  161. package/dist/hero-innovation-image-grid.cjs +387 -10
  162. package/dist/hero-innovation-image-grid.d.cts +20 -2
  163. package/dist/hero-innovation-image-grid.d.ts +20 -2
  164. package/dist/hero-innovation-image-grid.js +388 -10
  165. package/dist/hero-logo-centered-screenshot.cjs +388 -11
  166. package/dist/hero-logo-centered-screenshot.d.cts +20 -2
  167. package/dist/hero-logo-centered-screenshot.d.ts +20 -2
  168. package/dist/hero-logo-centered-screenshot.js +389 -11
  169. package/dist/hero-marketplace-scattered-images.cjs +387 -10
  170. package/dist/hero-marketplace-scattered-images.d.cts +20 -2
  171. package/dist/hero-marketplace-scattered-images.d.ts +20 -2
  172. package/dist/hero-marketplace-scattered-images.js +388 -10
  173. package/dist/hero-mental-health-team.cjs +373 -1
  174. package/dist/hero-mental-health-team.d.cts +20 -2
  175. package/dist/hero-mental-health-team.d.ts +20 -2
  176. package/dist/hero-mental-health-team.js +369 -1
  177. package/dist/hero-mentorship-video-split.cjs +388 -11
  178. package/dist/hero-mentorship-video-split.d.cts +20 -2
  179. package/dist/hero-mentorship-video-split.d.ts +20 -2
  180. package/dist/hero-mentorship-video-split.js +389 -12
  181. package/dist/hero-minimal-centered-dark.cjs +368 -1
  182. package/dist/hero-minimal-centered-dark.d.cts +20 -2
  183. package/dist/hero-minimal-centered-dark.d.ts +20 -2
  184. package/dist/hero-minimal-centered-dark.js +369 -1
  185. package/dist/hero-mobile-app-download.cjs +387 -10
  186. package/dist/hero-mobile-app-download.d.cts +20 -2
  187. package/dist/hero-mobile-app-download.d.ts +20 -2
  188. package/dist/hero-mobile-app-download.js +388 -10
  189. package/dist/hero-newsletter-minimal.cjs +368 -1
  190. package/dist/hero-newsletter-minimal.d.cts +20 -2
  191. package/dist/hero-newsletter-minimal.d.ts +20 -2
  192. package/dist/hero-newsletter-minimal.js +369 -1
  193. package/dist/hero-overlay-cta-grid.cjs +336 -120
  194. package/dist/hero-overlay-cta-grid.js +336 -120
  195. package/dist/hero-pattern-badge-logos.cjs +401 -24
  196. package/dist/hero-pattern-badge-logos.d.cts +20 -2
  197. package/dist/hero-pattern-badge-logos.d.ts +20 -2
  198. package/dist/hero-pattern-badge-logos.js +402 -24
  199. package/dist/hero-pattern-logo-tech-stack.cjs +401 -24
  200. package/dist/hero-pattern-logo-tech-stack.d.cts +20 -2
  201. package/dist/hero-pattern-logo-tech-stack.d.ts +20 -2
  202. package/dist/hero-pattern-logo-tech-stack.js +402 -24
  203. package/dist/hero-platform-features-grid.cjs +386 -9
  204. package/dist/hero-platform-features-grid.d.cts +20 -2
  205. package/dist/hero-platform-features-grid.d.ts +20 -2
  206. package/dist/hero-platform-features-grid.js +387 -9
  207. package/dist/hero-portfolio-creative.cjs +387 -10
  208. package/dist/hero-portfolio-creative.d.cts +20 -2
  209. package/dist/hero-portfolio-creative.d.ts +20 -2
  210. package/dist/hero-portfolio-creative.js +388 -10
  211. package/dist/hero-premium-split-avatars.cjs +389 -12
  212. package/dist/hero-premium-split-avatars.d.cts +20 -2
  213. package/dist/hero-premium-split-avatars.d.ts +20 -2
  214. package/dist/hero-premium-split-avatars.js +390 -12
  215. package/dist/hero-presentation-platform-video.cjs +368 -85
  216. package/dist/hero-presentation-platform-video.d.cts +20 -2
  217. package/dist/hero-presentation-platform-video.d.ts +20 -2
  218. package/dist/hero-presentation-platform-video.js +369 -85
  219. package/dist/hero-pricing-comparison.cjs +385 -8
  220. package/dist/hero-pricing-comparison.d.cts +20 -2
  221. package/dist/hero-pricing-comparison.d.ts +20 -2
  222. package/dist/hero-pricing-comparison.js +386 -8
  223. package/dist/hero-product-showcase-floating.cjs +386 -9
  224. package/dist/hero-product-showcase-floating.d.cts +20 -2
  225. package/dist/hero-product-showcase-floating.d.ts +20 -2
  226. package/dist/hero-product-showcase-floating.js +387 -9
  227. package/dist/hero-productivity-launcher-video.cjs +368 -85
  228. package/dist/hero-productivity-launcher-video.d.cts +20 -2
  229. package/dist/hero-productivity-launcher-video.d.ts +20 -2
  230. package/dist/hero-productivity-launcher-video.js +369 -85
  231. package/dist/hero-saas-dashboard-preview.cjs +386 -9
  232. package/dist/hero-saas-dashboard-preview.d.cts +20 -2
  233. package/dist/hero-saas-dashboard-preview.d.ts +20 -2
  234. package/dist/hero-saas-dashboard-preview.js +387 -9
  235. package/dist/hero-shared-inbox-layered.cjs +372 -1
  236. package/dist/hero-shared-inbox-layered.d.cts +20 -2
  237. package/dist/hero-shared-inbox-layered.d.ts +20 -2
  238. package/dist/hero-shared-inbox-layered.js +369 -1
  239. package/dist/hero-simple-centered-image.cjs +393 -135
  240. package/dist/hero-simple-centered-image.d.cts +20 -1
  241. package/dist/hero-simple-centered-image.d.ts +20 -1
  242. package/dist/hero-simple-centered-image.js +394 -135
  243. package/dist/hero-software-growth-video-dialog.cjs +368 -1
  244. package/dist/hero-software-growth-video-dialog.d.cts +20 -2
  245. package/dist/hero-software-growth-video-dialog.d.ts +20 -2
  246. package/dist/hero-software-growth-video-dialog.js +369 -2
  247. package/dist/hero-spiral-pattern-cards.cjs +416 -39
  248. package/dist/hero-spiral-pattern-cards.d.cts +20 -2
  249. package/dist/hero-spiral-pattern-cards.d.ts +20 -2
  250. package/dist/hero-spiral-pattern-cards.js +417 -39
  251. package/dist/hero-split-geometric-shapes.cjs +386 -9
  252. package/dist/hero-split-geometric-shapes.d.cts +20 -2
  253. package/dist/hero-split-geometric-shapes.d.ts +20 -2
  254. package/dist/hero-split-geometric-shapes.js +387 -9
  255. package/dist/hero-split-image-newsletter.cjs +368 -1
  256. package/dist/hero-split-image-newsletter.d.cts +20 -2
  257. package/dist/hero-split-image-newsletter.d.ts +20 -2
  258. package/dist/hero-split-image-newsletter.js +369 -1
  259. package/dist/hero-split-spiral-shapes.cjs +386 -9
  260. package/dist/hero-split-spiral-shapes.d.cts +20 -2
  261. package/dist/hero-split-spiral-shapes.d.ts +20 -2
  262. package/dist/hero-split-spiral-shapes.js +387 -9
  263. package/dist/hero-startup-launch-cta.cjs +404 -146
  264. package/dist/hero-startup-launch-cta.d.cts +20 -2
  265. package/dist/hero-startup-launch-cta.d.ts +20 -2
  266. package/dist/hero-startup-launch-cta.js +405 -146
  267. package/dist/hero-stats-social-proof.cjs +401 -143
  268. package/dist/hero-stats-social-proof.d.cts +20 -2
  269. package/dist/hero-stats-social-proof.d.ts +20 -2
  270. package/dist/hero-stats-social-proof.js +402 -143
  271. package/dist/hero-task-timer-animated.cjs +368 -1
  272. package/dist/hero-task-timer-animated.d.cts +20 -2
  273. package/dist/hero-task-timer-animated.d.ts +20 -2
  274. package/dist/hero-task-timer-animated.js +369 -1
  275. package/dist/hero-tech-carousel.cjs +406 -33
  276. package/dist/hero-tech-carousel.d.cts +20 -2
  277. package/dist/hero-tech-carousel.d.ts +20 -2
  278. package/dist/hero-tech-carousel.js +407 -34
  279. package/dist/hero-testimonial-image-grid.cjs +364 -1
  280. package/dist/hero-testimonial-image-grid.js +365 -1
  281. package/dist/hero-therapy-testimonial-grid.cjs +368 -1
  282. package/dist/hero-therapy-testimonial-grid.d.cts +20 -2
  283. package/dist/hero-therapy-testimonial-grid.d.ts +20 -2
  284. package/dist/hero-therapy-testimonial-grid.js +369 -1
  285. package/dist/hero-ui-library-showcase.cjs +368 -1
  286. package/dist/hero-ui-library-showcase.d.cts +20 -2
  287. package/dist/hero-ui-library-showcase.d.ts +20 -2
  288. package/dist/hero-ui-library-showcase.js +369 -1
  289. package/dist/hero-video-background-dark.cjs +386 -93
  290. package/dist/hero-video-background-dark.d.cts +20 -2
  291. package/dist/hero-video-background-dark.d.ts +20 -2
  292. package/dist/hero-video-background-dark.js +387 -93
  293. package/dist/hero-video-dialog-gradient.cjs +368 -1
  294. package/dist/hero-video-dialog-gradient.d.cts +20 -2
  295. package/dist/hero-video-dialog-gradient.d.ts +20 -2
  296. package/dist/hero-video-dialog-gradient.js +369 -2
  297. package/dist/hero-video-overlay-stars.cjs +368 -85
  298. package/dist/hero-video-overlay-stars.d.cts +24 -1
  299. package/dist/hero-video-overlay-stars.d.ts +24 -1
  300. package/dist/hero-video-overlay-stars.js +369 -85
  301. package/dist/hero-welcome-asymmetric-images.cjs +385 -8
  302. package/dist/hero-welcome-asymmetric-images.d.cts +20 -1
  303. package/dist/hero-welcome-asymmetric-images.d.ts +20 -1
  304. package/dist/hero-welcome-asymmetric-images.js +386 -8
  305. package/dist/registry.cjs +1790 -937
  306. package/dist/registry.js +1790 -937
  307. package/package.json +1 -1
@@ -571,6 +571,369 @@ function Input({ className, type, ...props }) {
571
571
  }
572
572
  );
573
573
  }
574
+ var maxWidthStyles = {
575
+ sm: "max-w-screen-sm",
576
+ md: "max-w-screen-md",
577
+ lg: "max-w-screen-lg",
578
+ xl: "max-w-7xl",
579
+ "2xl": "max-w-screen-2xl",
580
+ "4xl": "max-w-[1536px]",
581
+ full: "max-w-full"
582
+ };
583
+ var Container = React__namespace.default.forwardRef(
584
+ ({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
585
+ const Component = as;
586
+ return /* @__PURE__ */ jsxRuntime.jsx(
587
+ Component,
588
+ {
589
+ ref,
590
+ className: cn(
591
+ "mx-auto w-full px-2 sm:px-4 lg:px-8",
592
+ maxWidthStyles[maxWidth],
593
+ className
594
+ ),
595
+ ...props,
596
+ children
597
+ }
598
+ );
599
+ }
600
+ );
601
+ Container.displayName = "Container";
602
+
603
+ // lib/patternSvgs.ts
604
+ var patternSvgs = {
605
+ squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
606
+ grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
607
+ noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
608
+ dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
609
+ dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
610
+ dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
611
+ circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
612
+ waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
613
+ crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
614
+ architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
615
+ tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
616
+ p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
617
+ };
618
+ var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
619
+ var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
620
+ var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
621
+ var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
622
+ var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
623
+ var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
624
+ var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
625
+ var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxRuntime.jsxs(
626
+ "svg",
627
+ {
628
+ className: "h-full w-full",
629
+ xmlns: "http://www.w3.org/2000/svg",
630
+ style: mask ? {
631
+ maskImage: mask,
632
+ WebkitMaskImage: mask
633
+ } : void 0,
634
+ children: [
635
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
636
+ "pattern",
637
+ {
638
+ id,
639
+ x: "0",
640
+ y: "0",
641
+ width: "100",
642
+ height: "100",
643
+ patternUnits: "userSpaceOnUse",
644
+ children: [
645
+ /* @__PURE__ */ jsxRuntime.jsx(
646
+ "path",
647
+ {
648
+ d: "M0 50h40M60 50h40M50 0v40M50 60v40",
649
+ stroke: "hsl(var(--muted))",
650
+ strokeWidth: "1",
651
+ fill: "none"
652
+ }
653
+ ),
654
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
655
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
656
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
657
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
658
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
659
+ ]
660
+ }
661
+ ) }),
662
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
663
+ ]
664
+ }
665
+ );
666
+ var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxRuntime.jsxs(
667
+ "svg",
668
+ {
669
+ className: "h-full w-full",
670
+ xmlns: "http://www.w3.org/2000/svg",
671
+ style: mask ? {
672
+ maskImage: mask,
673
+ WebkitMaskImage: mask
674
+ } : void 0,
675
+ children: [
676
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxs(
677
+ "pattern",
678
+ {
679
+ id,
680
+ x: "0",
681
+ y: "0",
682
+ width: "40",
683
+ height: "40",
684
+ patternUnits: "userSpaceOnUse",
685
+ children: [
686
+ /* @__PURE__ */ jsxRuntime.jsx(
687
+ "path",
688
+ {
689
+ d: "M0 20h40M20 0v40",
690
+ stroke: "hsl(var(--muted))",
691
+ strokeWidth: "0.5",
692
+ fill: "none"
693
+ }
694
+ ),
695
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
696
+ ]
697
+ }
698
+ ) }),
699
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
700
+ ]
701
+ }
702
+ );
703
+ var gridPattern = (size, mask) => /* @__PURE__ */ jsxRuntime.jsx(
704
+ "div",
705
+ {
706
+ className: "h-full w-full bg-[linear-gradient(to_right,_hsl(var(--muted))_1px,_transparent_1px),linear-gradient(to_bottom,_hsl(var(--muted))_1px,_transparent_1px)]",
707
+ style: {
708
+ backgroundSize: `${size}px ${size}px`,
709
+ ...mask ? {
710
+ maskImage: mask,
711
+ WebkitMaskImage: mask
712
+ } : {}
713
+ }
714
+ }
715
+ );
716
+ var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsxRuntime.jsx(
717
+ "div",
718
+ {
719
+ className: "h-full w-full",
720
+ style: {
721
+ backgroundImage: "repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px), repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)",
722
+ ...mask ? {
723
+ maskImage: mask,
724
+ WebkitMaskImage: mask
725
+ } : {}
726
+ }
727
+ }
728
+ );
729
+ var dashedGridMaskBase = "repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px), repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px)";
730
+ var dashedGridPattern = (fadeMask) => {
731
+ const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
732
+ return /* @__PURE__ */ jsxRuntime.jsx(
733
+ "div",
734
+ {
735
+ className: "h-full w-full",
736
+ style: {
737
+ backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
738
+ backgroundSize: "20px 20px",
739
+ backgroundPosition: "0 0, 0 0",
740
+ maskImage: mask,
741
+ WebkitMaskImage: mask,
742
+ maskComposite: "intersect",
743
+ WebkitMaskComposite: "source-in"
744
+ }
745
+ }
746
+ );
747
+ };
748
+ var gradientGlow = (position) => /* @__PURE__ */ jsxRuntime.jsx(
749
+ "div",
750
+ {
751
+ className: cn(
752
+ "pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
753
+ position === "top" ? "-top-1/4" : "-bottom-1/4"
754
+ ),
755
+ style: {
756
+ background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
757
+ }
758
+ }
759
+ );
760
+ var spotlight = (position) => /* @__PURE__ */ jsxRuntime.jsx(
761
+ "div",
762
+ {
763
+ className: cn(
764
+ "pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
765
+ position === "left" ? "-left-1/4" : "-right-1/4"
766
+ ),
767
+ style: {
768
+ background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
769
+ }
770
+ }
771
+ );
772
+ var patternOverlays = {
773
+ circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
774
+ circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
775
+ circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
776
+ circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
777
+ circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
778
+ circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
779
+ circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
780
+ circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
781
+ dashedGridBasic: () => dashedGridPattern(),
782
+ dashedGridFadeTop: () => dashedGridPattern(maskTop),
783
+ dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
784
+ dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
785
+ dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
786
+ dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
787
+ dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
788
+ dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
789
+ diagonalCrossBasic: () => diagonalCrossPattern(),
790
+ diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
791
+ diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
792
+ diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
793
+ diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
794
+ diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
795
+ diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
796
+ diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
797
+ gridBasic: () => gridPattern(40),
798
+ gridFadeTop: () => gridPattern(32, maskTop),
799
+ gridFadeBottom: () => gridPattern(32, maskBottom),
800
+ gridFadeCenter: () => gridPattern(40, maskCenter),
801
+ gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
802
+ gridFadeTopRight: () => gridPattern(32, maskTopRight),
803
+ gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
804
+ gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
805
+ gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
806
+ gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
807
+ gradientGlowTop: () => gradientGlow("top"),
808
+ gradientGlowBottom: () => gradientGlow("bottom"),
809
+ spotlightLeft: () => spotlight("left"),
810
+ spotlightRight: () => spotlight("right")
811
+ };
812
+ var inlinePatternStyles = {
813
+ radialGradientTop: {
814
+ background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
815
+ },
816
+ radialGradientBottom: {
817
+ background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
818
+ }
819
+ };
820
+ function PatternBackground({
821
+ pattern,
822
+ opacity = 0.08,
823
+ className,
824
+ style
825
+ }) {
826
+ if (!pattern) {
827
+ return null;
828
+ }
829
+ if (pattern in inlinePatternStyles) {
830
+ const inlineStyle = inlinePatternStyles[pattern];
831
+ return /* @__PURE__ */ jsxRuntime.jsx(
832
+ "div",
833
+ {
834
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
835
+ style: { ...inlineStyle, opacity, ...style },
836
+ "aria-hidden": "true"
837
+ }
838
+ );
839
+ }
840
+ if (pattern in patternOverlays) {
841
+ const Overlay = patternOverlays[pattern];
842
+ return /* @__PURE__ */ jsxRuntime.jsx(
843
+ "div",
844
+ {
845
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
846
+ style: { opacity, ...style },
847
+ "aria-hidden": "true",
848
+ children: Overlay()
849
+ }
850
+ );
851
+ }
852
+ const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
853
+ return /* @__PURE__ */ jsxRuntime.jsx(
854
+ "div",
855
+ {
856
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
857
+ style: {
858
+ backgroundImage: `url(${patternUrl})`,
859
+ backgroundRepeat: "repeat",
860
+ backgroundSize: "auto",
861
+ opacity,
862
+ ...style
863
+ },
864
+ "aria-hidden": "true"
865
+ }
866
+ );
867
+ }
868
+ var backgroundStyles = {
869
+ white: "bg-background text-foreground",
870
+ gray: "bg-muted/30 text-foreground",
871
+ dark: "bg-foreground text-background",
872
+ transparent: "bg-transparent text-foreground",
873
+ gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
874
+ primary: "bg-primary text-primary-foreground",
875
+ secondary: "bg-secondary text-secondary-foreground",
876
+ muted: "bg-muted text-muted-foreground"
877
+ };
878
+ var spacingStyles = {
879
+ none: "py-0 md:py-0",
880
+ sm: "py-12 md:py-16",
881
+ md: "py-16 md:py-24",
882
+ lg: "py-20 md:py-32",
883
+ xl: "py-24 md:py-40"
884
+ };
885
+ var Section = React__namespace.default.forwardRef(
886
+ ({
887
+ id,
888
+ title,
889
+ subtitle,
890
+ children,
891
+ className,
892
+ style,
893
+ background = "white",
894
+ spacing = "lg",
895
+ pattern,
896
+ patternOpacity,
897
+ patternClassName,
898
+ ...props
899
+ }, ref) => {
900
+ const effectivePatternOpacity = patternOpacity !== void 0 ? patternOpacity : pattern ? 1 : 0;
901
+ return /* @__PURE__ */ jsxRuntime.jsxs(
902
+ "section",
903
+ {
904
+ ref,
905
+ id,
906
+ className: cn(
907
+ "relative",
908
+ pattern ? "overflow-hidden" : null,
909
+ backgroundStyles[background],
910
+ spacingStyles[spacing],
911
+ className
912
+ ),
913
+ style,
914
+ ...props,
915
+ children: [
916
+ /* @__PURE__ */ jsxRuntime.jsx(
917
+ PatternBackground,
918
+ {
919
+ pattern,
920
+ opacity: effectivePatternOpacity,
921
+ className: patternClassName
922
+ }
923
+ ),
924
+ /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: "relative z-10", children: [
925
+ (title || subtitle) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
926
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
927
+ title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
928
+ ] }),
929
+ children
930
+ ] })
931
+ ]
932
+ }
933
+ );
934
+ }
935
+ );
936
+ Section.displayName = "Section";
574
937
  function HeroSaasDashboardPreview({
575
938
  badgeText,
576
939
  badgeIcon,
@@ -581,6 +944,10 @@ function HeroSaasDashboardPreview({
581
944
  emailFormSlot,
582
945
  browserPreview,
583
946
  browserPreviewSlot,
947
+ background = "white",
948
+ spacing = "lg",
949
+ pattern,
950
+ patternOpacity,
584
951
  className,
585
952
  containerClassName,
586
953
  headerClassName,
@@ -656,15 +1023,25 @@ function HeroSaasDashboardPreview({
656
1023
  ] })
657
1024
  ] });
658
1025
  };
659
- return /* @__PURE__ */ jsxRuntime.jsx("section", { className: cn("bg-background py-20 md:py-32", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container", containerClassName), children: [
660
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto max-w-4xl text-center", headerClassName), children: [
661
- renderBadge(),
662
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mt-8 text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mt-8 text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl", headingClassName), children: heading })),
663
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-6 text-lg text-muted-foreground md:text-xl", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
664
- renderEmailForm()
665
- ] }),
666
- renderBrowserPreview()
667
- ] }) });
1026
+ return /* @__PURE__ */ jsxRuntime.jsx(
1027
+ Section,
1028
+ {
1029
+ background,
1030
+ spacing,
1031
+ pattern,
1032
+ patternOpacity,
1033
+ className: cn(className),
1034
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container", containerClassName), children: [
1035
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mx-auto max-w-4xl text-center", headerClassName), children: [
1036
+ renderBadge(),
1037
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mt-8 text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl", headingClassName), children: heading }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("mt-8 text-4xl font-bold tracking-tight text-foreground md:text-5xl lg:text-6xl", headingClassName), children: heading })),
1038
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-6 text-lg text-muted-foreground md:text-xl", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
1039
+ renderEmailForm()
1040
+ ] }),
1041
+ renderBrowserPreview()
1042
+ ] })
1043
+ }
1044
+ );
668
1045
  }
669
1046
 
670
1047
  exports.HeroSaasDashboardPreview = HeroSaasDashboardPreview;
@@ -1,5 +1,8 @@
1
1
  import * as React from 'react';
2
+ import { SectionBackground, SectionSpacing } from './types.cjs';
3
+ import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
2
4
  import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
5
+ import 'react/jsx-runtime';
3
6
  import 'class-variance-authority';
4
7
  import './button-variants-lRElsmTc.cjs';
5
8
  import 'class-variance-authority/types';
@@ -64,7 +67,22 @@ interface HeroSaasDashboardPreviewProps {
64
67
  /**
65
68
  * Custom slot for browser preview (overrides browserPreview prop)
66
69
  */
67
- browserPreviewSlot?: React.ReactNode;
70
+ browserPreviewSlot?: React.ReactNode; /**
71
+ * Background style for the section
72
+ */
73
+ background?: SectionBackground;
74
+ /**
75
+ * Vertical spacing for the section
76
+ */
77
+ spacing?: SectionSpacing;
78
+ /**
79
+ * Optional background pattern name
80
+ */
81
+ pattern?: PatternName | undefined;
82
+ /**
83
+ * Pattern overlay opacity (0-1)
84
+ */
85
+ patternOpacity?: number;
68
86
  /**
69
87
  * Additional CSS classes for the section
70
88
  */
@@ -94,6 +112,6 @@ interface HeroSaasDashboardPreviewProps {
94
112
  */
95
113
  optixFlowConfig?: OptixFlowConfig;
96
114
  }
97
- declare function HeroSaasDashboardPreview({ badgeText, badgeIcon, badgeSlot, heading, description, emailForm, emailFormSlot, browserPreview, browserPreviewSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, previewClassName, optixFlowConfig, }: HeroSaasDashboardPreviewProps): React.JSX.Element;
115
+ declare function HeroSaasDashboardPreview({ badgeText, badgeIcon, badgeSlot, heading, description, emailForm, emailFormSlot, browserPreview, browserPreviewSlot, background, spacing, pattern, patternOpacity, className, containerClassName, headerClassName, headingClassName, descriptionClassName, previewClassName, optixFlowConfig, }: HeroSaasDashboardPreviewProps): React.JSX.Element;
98
116
 
99
117
  export { HeroSaasDashboardPreview, type HeroSaasDashboardPreviewProps };
@@ -1,5 +1,8 @@
1
1
  import * as React from 'react';
2
+ import { SectionBackground, SectionSpacing } from './types.js';
3
+ import { P as PatternName } from './pattern-background-a7gKHzHy.js';
2
4
  import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-k17uluAz.js';
5
+ import 'react/jsx-runtime';
3
6
  import 'class-variance-authority';
4
7
  import './button-variants-lRElsmTc.js';
5
8
  import 'class-variance-authority/types';
@@ -64,7 +67,22 @@ interface HeroSaasDashboardPreviewProps {
64
67
  /**
65
68
  * Custom slot for browser preview (overrides browserPreview prop)
66
69
  */
67
- browserPreviewSlot?: React.ReactNode;
70
+ browserPreviewSlot?: React.ReactNode; /**
71
+ * Background style for the section
72
+ */
73
+ background?: SectionBackground;
74
+ /**
75
+ * Vertical spacing for the section
76
+ */
77
+ spacing?: SectionSpacing;
78
+ /**
79
+ * Optional background pattern name
80
+ */
81
+ pattern?: PatternName | undefined;
82
+ /**
83
+ * Pattern overlay opacity (0-1)
84
+ */
85
+ patternOpacity?: number;
68
86
  /**
69
87
  * Additional CSS classes for the section
70
88
  */
@@ -94,6 +112,6 @@ interface HeroSaasDashboardPreviewProps {
94
112
  */
95
113
  optixFlowConfig?: OptixFlowConfig;
96
114
  }
97
- declare function HeroSaasDashboardPreview({ badgeText, badgeIcon, badgeSlot, heading, description, emailForm, emailFormSlot, browserPreview, browserPreviewSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, previewClassName, optixFlowConfig, }: HeroSaasDashboardPreviewProps): React.JSX.Element;
115
+ declare function HeroSaasDashboardPreview({ badgeText, badgeIcon, badgeSlot, heading, description, emailForm, emailFormSlot, browserPreview, browserPreviewSlot, background, spacing, pattern, patternOpacity, className, containerClassName, headerClassName, headingClassName, descriptionClassName, previewClassName, optixFlowConfig, }: HeroSaasDashboardPreviewProps): React.JSX.Element;
98
116
 
99
117
  export { HeroSaasDashboardPreview, type HeroSaasDashboardPreviewProps };