@cargo-ai/ui 0.0.0-stage → 1.0.1

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 (320) hide show
  1. package/LICENSE +58 -0
  2. package/README.md +116 -2
  3. package/build/blocks/Banner/Banner.d.ts +19 -0
  4. package/build/blocks/Banner/Banner.d.ts.map +1 -0
  5. package/build/blocks/Banner/Banner.js +7 -0
  6. package/build/blocks/BeforeAfter/BeforeAfter.d.ts +21 -0
  7. package/build/blocks/BeforeAfter/BeforeAfter.d.ts.map +1 -0
  8. package/build/blocks/BeforeAfter/BeforeAfter.js +13 -0
  9. package/build/blocks/CardGrid/CardGrid.d.ts +19 -0
  10. package/build/blocks/CardGrid/CardGrid.d.ts.map +1 -0
  11. package/build/blocks/CardGrid/CardGrid.js +17 -0
  12. package/build/blocks/CtaBand/CtaBand.d.ts +18 -0
  13. package/build/blocks/CtaBand/CtaBand.d.ts.map +1 -0
  14. package/build/blocks/CtaBand/CtaBand.js +13 -0
  15. package/build/blocks/Faq/Faq.d.ts +25 -0
  16. package/build/blocks/Faq/Faq.d.ts.map +1 -0
  17. package/build/blocks/Faq/Faq.js +20 -0
  18. package/build/blocks/FeatureGrid/FeatureGrid.d.ts +23 -0
  19. package/build/blocks/FeatureGrid/FeatureGrid.d.ts.map +1 -0
  20. package/build/blocks/FeatureGrid/FeatureGrid.js +12 -0
  21. package/build/blocks/FeatureRows/FeatureRows.d.ts +22 -0
  22. package/build/blocks/FeatureRows/FeatureRows.d.ts.map +1 -0
  23. package/build/blocks/FeatureRows/FeatureRows.js +14 -0
  24. package/build/blocks/HeroCentered/HeroCentered.d.ts +27 -0
  25. package/build/blocks/HeroCentered/HeroCentered.d.ts.map +1 -0
  26. package/build/blocks/HeroCentered/HeroCentered.js +13 -0
  27. package/build/blocks/HeroSplit/HeroSplit.d.ts +28 -0
  28. package/build/blocks/HeroSplit/HeroSplit.d.ts.map +1 -0
  29. package/build/blocks/HeroSplit/HeroSplit.js +18 -0
  30. package/build/blocks/LogoCloud/LogoCloud.d.ts +17 -0
  31. package/build/blocks/LogoCloud/LogoCloud.d.ts.map +1 -0
  32. package/build/blocks/LogoCloud/LogoCloud.js +8 -0
  33. package/build/blocks/Pricing/Pricing.d.ts +33 -0
  34. package/build/blocks/Pricing/Pricing.d.ts.map +1 -0
  35. package/build/blocks/Pricing/Pricing.js +33 -0
  36. package/build/blocks/Showcase/Showcase.d.ts +27 -0
  37. package/build/blocks/Showcase/Showcase.d.ts.map +1 -0
  38. package/build/blocks/Showcase/Showcase.js +40 -0
  39. package/build/blocks/SiteFooter/SiteFooter.d.ts +25 -0
  40. package/build/blocks/SiteFooter/SiteFooter.d.ts.map +1 -0
  41. package/build/blocks/SiteFooter/SiteFooter.js +14 -0
  42. package/build/blocks/SiteHeader/SiteHeader.d.ts +27 -0
  43. package/build/blocks/SiteHeader/SiteHeader.d.ts.map +1 -0
  44. package/build/blocks/SiteHeader/SiteHeader.js +101 -0
  45. package/build/blocks/Stats/Stats.d.ts +17 -0
  46. package/build/blocks/Stats/Stats.d.ts.map +1 -0
  47. package/build/blocks/Stats/Stats.js +9 -0
  48. package/build/blocks/Steps/Steps.d.ts +26 -0
  49. package/build/blocks/Steps/Steps.d.ts.map +1 -0
  50. package/build/blocks/Steps/Steps.js +23 -0
  51. package/build/blocks/Testimonials/Testimonials.d.ts +26 -0
  52. package/build/blocks/Testimonials/Testimonials.d.ts.map +1 -0
  53. package/build/blocks/Testimonials/Testimonials.js +30 -0
  54. package/build/blocks/types.d.ts +44 -0
  55. package/build/blocks/types.d.ts.map +1 -0
  56. package/build/blocks/types.js +1 -0
  57. package/build/components/CargoMark/CargoMark.d.ts +7 -0
  58. package/build/components/CargoMark/CargoMark.d.ts.map +1 -0
  59. package/build/components/CargoMark/CargoMark.js +16 -0
  60. package/build/components/CheckList/CheckList.d.ts +9 -0
  61. package/build/components/CheckList/CheckList.d.ts.map +1 -0
  62. package/build/components/CheckList/CheckList.js +8 -0
  63. package/build/components/CodeWindow/CodeWindow.d.ts +15 -0
  64. package/build/components/CodeWindow/CodeWindow.d.ts.map +1 -0
  65. package/build/components/CodeWindow/CodeWindow.js +53 -0
  66. package/build/components/CodeWindow/highlight.d.ts +4 -0
  67. package/build/components/CodeWindow/highlight.d.ts.map +1 -0
  68. package/build/components/CodeWindow/highlight.js +48 -0
  69. package/build/components/ComparisonTable/ComparisonTable.d.ts +62 -0
  70. package/build/components/ComparisonTable/ComparisonTable.d.ts.map +1 -0
  71. package/build/components/ComparisonTable/ComparisonTable.js +60 -0
  72. package/build/components/CountUp/CountUp.d.ts +13 -0
  73. package/build/components/CountUp/CountUp.d.ts.map +1 -0
  74. package/build/components/CountUp/CountUp.js +52 -0
  75. package/build/components/Eyebrow/Eyebrow.d.ts +21 -0
  76. package/build/components/Eyebrow/Eyebrow.d.ts.map +1 -0
  77. package/build/components/Eyebrow/Eyebrow.js +29 -0
  78. package/build/components/FeatureCard/FeatureCard.d.ts +12 -0
  79. package/build/components/FeatureCard/FeatureCard.d.ts.map +1 -0
  80. package/build/components/FeatureCard/FeatureCard.js +8 -0
  81. package/build/components/GlowCard/GlowCard.d.ts +11 -0
  82. package/build/components/GlowCard/GlowCard.d.ts.map +1 -0
  83. package/build/components/GlowCard/GlowCard.js +14 -0
  84. package/build/components/Highlight/Highlight.d.ts +12 -0
  85. package/build/components/Highlight/Highlight.d.ts.map +1 -0
  86. package/build/components/Highlight/Highlight.js +10 -0
  87. package/build/components/InstallCommand/InstallCommand.d.ts +9 -0
  88. package/build/components/InstallCommand/InstallCommand.d.ts.map +1 -0
  89. package/build/components/InstallCommand/InstallCommand.js +30 -0
  90. package/build/components/Logo/Logo.d.ts +16 -0
  91. package/build/components/Logo/Logo.d.ts.map +1 -0
  92. package/build/components/Logo/Logo.js +7 -0
  93. package/build/components/Marquee/Marquee.d.ts +17 -0
  94. package/build/components/Marquee/Marquee.d.ts.map +1 -0
  95. package/build/components/Marquee/Marquee.js +19 -0
  96. package/build/components/Marquee/index.d.ts +3 -0
  97. package/build/components/Marquee/index.d.ts.map +1 -0
  98. package/build/components/Marquee/index.js +1 -0
  99. package/build/components/Marquee/types.d.ts +9 -0
  100. package/build/components/Marquee/types.d.ts.map +1 -0
  101. package/build/components/Marquee/types.js +1 -0
  102. package/build/components/MaskedHeadline/MaskedHeadline.d.ts +10 -0
  103. package/build/components/MaskedHeadline/MaskedHeadline.d.ts.map +1 -0
  104. package/build/components/MaskedHeadline/MaskedHeadline.js +8 -0
  105. package/build/components/MediaFrame/MediaFrame.d.ts +17 -0
  106. package/build/components/MediaFrame/MediaFrame.d.ts.map +1 -0
  107. package/build/components/MediaFrame/MediaFrame.js +15 -0
  108. package/build/components/Prose/Prose.d.ts +23 -0
  109. package/build/components/Prose/Prose.d.ts.map +1 -0
  110. package/build/components/Prose/Prose.js +15 -0
  111. package/build/components/ResourceCard/ResourceCard.d.ts +31 -0
  112. package/build/components/ResourceCard/ResourceCard.d.ts.map +1 -0
  113. package/build/components/ResourceCard/ResourceCard.js +20 -0
  114. package/build/components/Reveal/Reveal.d.ts +14 -0
  115. package/build/components/Reveal/Reveal.d.ts.map +1 -0
  116. package/build/components/Reveal/Reveal.js +26 -0
  117. package/build/components/Terminal/Terminal.d.ts +11 -0
  118. package/build/components/Terminal/Terminal.d.ts.map +1 -0
  119. package/build/components/Terminal/Terminal.js +69 -0
  120. package/build/components/Terminal/index.d.ts +3 -0
  121. package/build/components/Terminal/index.d.ts.map +1 -0
  122. package/build/components/Terminal/index.js +1 -0
  123. package/build/components/Terminal/types.d.ts +10 -0
  124. package/build/components/Terminal/types.d.ts.map +1 -0
  125. package/build/components/Terminal/types.js +1 -0
  126. package/build/components/ThemeIsland/ThemeIsland.d.ts +22 -0
  127. package/build/components/ThemeIsland/ThemeIsland.d.ts.map +1 -0
  128. package/build/components/ThemeIsland/ThemeIsland.js +25 -0
  129. package/build/components/ThemeIsland/context.d.ts +5 -0
  130. package/build/components/ThemeIsland/context.d.ts.map +1 -0
  131. package/build/components/ThemeIsland/context.js +4 -0
  132. package/build/components/ThemeIsland/index.d.ts +3 -0
  133. package/build/components/ThemeIsland/index.d.ts.map +1 -0
  134. package/build/components/ThemeIsland/index.js +1 -0
  135. package/build/foundations/type-scale.d.ts +12 -0
  136. package/build/foundations/type-scale.d.ts.map +1 -0
  137. package/build/foundations/type-scale.js +11 -0
  138. package/build/hooks/use-mobile.d.ts +2 -0
  139. package/build/hooks/use-mobile.d.ts.map +1 -0
  140. package/build/hooks/use-mobile.js +15 -0
  141. package/build/hooks/use-reduced-motion.d.ts +6 -0
  142. package/build/hooks/use-reduced-motion.d.ts.map +1 -0
  143. package/build/hooks/use-reduced-motion.js +14 -0
  144. package/build/layout/Container/Container.d.ts +10 -0
  145. package/build/layout/Container/Container.d.ts.map +1 -0
  146. package/build/layout/Container/Container.js +7 -0
  147. package/build/layout/Page/Page.d.ts +9 -0
  148. package/build/layout/Page/Page.d.ts.map +1 -0
  149. package/build/layout/Page/Page.js +7 -0
  150. package/build/layout/Section/Section.d.ts +12 -0
  151. package/build/layout/Section/Section.d.ts.map +1 -0
  152. package/build/layout/Section/Section.js +9 -0
  153. package/build/layout/SectionHeading/SectionHeading.d.ts +18 -0
  154. package/build/layout/SectionHeading/SectionHeading.d.ts.map +1 -0
  155. package/build/layout/SectionHeading/SectionHeading.js +14 -0
  156. package/build/lib/utils.d.ts +2 -0
  157. package/build/lib/utils.d.ts.map +1 -0
  158. package/build/lib/utils.js +1 -0
  159. package/build/primitives/accordion.d.ts +8 -0
  160. package/build/primitives/accordion.d.ts.map +1 -0
  161. package/build/primitives/accordion.js +18 -0
  162. package/build/primitives/alert-dialog.d.ts +19 -0
  163. package/build/primitives/alert-dialog.d.ts.map +1 -0
  164. package/build/primitives/alert-dialog.js +43 -0
  165. package/build/primitives/alert.d.ts +10 -0
  166. package/build/primitives/alert.d.ts.map +1 -0
  167. package/build/primitives/alert.js +24 -0
  168. package/build/primitives/aspect-ratio.d.ts +5 -0
  169. package/build/primitives/aspect-ratio.d.ts.map +1 -0
  170. package/build/primitives/aspect-ratio.js +6 -0
  171. package/build/primitives/avatar.d.ts +12 -0
  172. package/build/primitives/avatar.d.ts.map +1 -0
  173. package/build/primitives/avatar.js +22 -0
  174. package/build/primitives/badge.d.ts +10 -0
  175. package/build/primitives/badge.d.ts.map +1 -0
  176. package/build/primitives/badge.js +28 -0
  177. package/build/primitives/breadcrumb.d.ts +12 -0
  178. package/build/primitives/breadcrumb.d.ts.map +1 -0
  179. package/build/primitives/breadcrumb.js +27 -0
  180. package/build/primitives/button-group.d.ts +13 -0
  181. package/build/primitives/button-group.d.ts.map +1 -0
  182. package/build/primitives/button-group.js +27 -0
  183. package/build/primitives/button.d.ts +11 -0
  184. package/build/primitives/button.d.ts.map +1 -0
  185. package/build/primitives/button.js +37 -0
  186. package/build/primitives/calendar.d.ts +9 -0
  187. package/build/primitives/calendar.d.ts.map +1 -0
  188. package/build/primitives/calendar.js +77 -0
  189. package/build/primitives/card.d.ts +10 -0
  190. package/build/primitives/card.d.ts.map +1 -0
  191. package/build/primitives/card.js +24 -0
  192. package/build/primitives/carousel.d.ts +20 -0
  193. package/build/primitives/carousel.d.ts.map +1 -0
  194. package/build/primitives/carousel.js +91 -0
  195. package/build/primitives/chart.d.ts +45 -0
  196. package/build/primitives/chart.d.ts.map +1 -0
  197. package/build/primitives/chart.js +136 -0
  198. package/build/primitives/checkbox.d.ts +5 -0
  199. package/build/primitives/checkbox.d.ts.map +1 -0
  200. package/build/primitives/checkbox.js +8 -0
  201. package/build/primitives/collapsible.d.ts +7 -0
  202. package/build/primitives/collapsible.d.ts.map +1 -0
  203. package/build/primitives/collapsible.js +13 -0
  204. package/build/primitives/command.d.ts +19 -0
  205. package/build/primitives/command.d.ts.map +1 -0
  206. package/build/primitives/command.js +33 -0
  207. package/build/primitives/context-menu.d.ts +26 -0
  208. package/build/primitives/context-menu.d.ts.map +1 -0
  209. package/build/primitives/context-menu.js +51 -0
  210. package/build/primitives/dialog.d.ts +18 -0
  211. package/build/primitives/dialog.d.ts.map +1 -0
  212. package/build/primitives/dialog.js +37 -0
  213. package/build/primitives/drawer.d.ts +14 -0
  214. package/build/primitives/drawer.d.ts.map +1 -0
  215. package/build/primitives/drawer.js +36 -0
  216. package/build/primitives/dropdown-menu.d.ts +26 -0
  217. package/build/primitives/dropdown-menu.d.ts.map +1 -0
  218. package/build/primitives/dropdown-menu.js +51 -0
  219. package/build/primitives/empty.d.ts +13 -0
  220. package/build/primitives/empty.d.ts.map +1 -0
  221. package/build/primitives/empty.js +33 -0
  222. package/build/primitives/field.d.ts +26 -0
  223. package/build/primitives/field.d.ts.map +1 -0
  224. package/build/primitives/field.js +76 -0
  225. package/build/primitives/form.d.ts +25 -0
  226. package/build/primitives/form.d.ts.map +1 -0
  227. package/build/primitives/form.js +59 -0
  228. package/build/primitives/hover-card.d.ts +7 -0
  229. package/build/primitives/hover-card.d.ts.map +1 -0
  230. package/build/primitives/hover-card.js +14 -0
  231. package/build/primitives/input-group.d.ts +17 -0
  232. package/build/primitives/input-group.d.ts.map +1 -0
  233. package/build/primitives/input-group.js +63 -0
  234. package/build/primitives/input-otp.d.ts +12 -0
  235. package/build/primitives/input-otp.d.ts.map +1 -0
  236. package/build/primitives/input-otp.js +21 -0
  237. package/build/primitives/input.d.ts +4 -0
  238. package/build/primitives/input.d.ts.map +1 -0
  239. package/build/primitives/input.js +6 -0
  240. package/build/primitives/item.d.ts +24 -0
  241. package/build/primitives/item.d.ts.map +1 -0
  242. package/build/primitives/item.js +66 -0
  243. package/build/primitives/kbd.d.ts +5 -0
  244. package/build/primitives/kbd.d.ts.map +1 -0
  245. package/build/primitives/kbd.js +9 -0
  246. package/build/primitives/label.d.ts +5 -0
  247. package/build/primitives/label.d.ts.map +1 -0
  248. package/build/primitives/label.js +7 -0
  249. package/build/primitives/menubar.d.ts +27 -0
  250. package/build/primitives/menubar.d.ts.map +1 -0
  251. package/build/primitives/menubar.js +55 -0
  252. package/build/primitives/navigation-menu.d.ts +15 -0
  253. package/build/primitives/navigation-menu.d.ts.map +1 -0
  254. package/build/primitives/navigation-menu.js +31 -0
  255. package/build/primitives/pagination.d.ts +14 -0
  256. package/build/primitives/pagination.d.ts.map +1 -0
  257. package/build/primitives/pagination.js +29 -0
  258. package/build/primitives/popover.d.ts +11 -0
  259. package/build/primitives/popover.d.ts.map +1 -0
  260. package/build/primitives/popover.js +27 -0
  261. package/build/primitives/progress.d.ts +5 -0
  262. package/build/primitives/progress.d.ts.map +1 -0
  263. package/build/primitives/progress.js +7 -0
  264. package/build/primitives/radio-group.d.ts +6 -0
  265. package/build/primitives/radio-group.d.ts.map +1 -0
  266. package/build/primitives/radio-group.js +12 -0
  267. package/build/primitives/resizable.d.ts +9 -0
  268. package/build/primitives/resizable.d.ts.map +1 -0
  269. package/build/primitives/resizable.js +14 -0
  270. package/build/primitives/scroll-area.d.ts +6 -0
  271. package/build/primitives/scroll-area.d.ts.map +1 -0
  272. package/build/primitives/scroll-area.js +13 -0
  273. package/build/primitives/select.d.ts +16 -0
  274. package/build/primitives/select.d.ts.map +1 -0
  275. package/build/primitives/select.js +39 -0
  276. package/build/primitives/separator.d.ts +5 -0
  277. package/build/primitives/separator.d.ts.map +1 -0
  278. package/build/primitives/separator.js +8 -0
  279. package/build/primitives/sheet.d.ts +15 -0
  280. package/build/primitives/sheet.d.ts.map +1 -0
  281. package/build/primitives/sheet.js +41 -0
  282. package/build/primitives/sidebar.d.ts +70 -0
  283. package/build/primitives/sidebar.d.ts.map +1 -0
  284. package/build/primitives/sidebar.js +212 -0
  285. package/build/primitives/skeleton.d.ts +4 -0
  286. package/build/primitives/skeleton.d.ts.map +1 -0
  287. package/build/primitives/skeleton.js +6 -0
  288. package/build/primitives/slider.d.ts +5 -0
  289. package/build/primitives/slider.d.ts.map +1 -0
  290. package/build/primitives/slider.js +14 -0
  291. package/build/primitives/sonner.d.ts +5 -0
  292. package/build/primitives/sonner.d.ts.map +1 -0
  293. package/build/primitives/sonner.js +19 -0
  294. package/build/primitives/spinner.d.ts +4 -0
  295. package/build/primitives/spinner.d.ts.map +1 -0
  296. package/build/primitives/spinner.js +7 -0
  297. package/build/primitives/switch.d.ts +7 -0
  298. package/build/primitives/switch.d.ts.map +1 -0
  299. package/build/primitives/switch.js +8 -0
  300. package/build/primitives/table.d.ts +11 -0
  301. package/build/primitives/table.d.ts.map +1 -0
  302. package/build/primitives/table.js +28 -0
  303. package/build/primitives/tabs.d.ts +12 -0
  304. package/build/primitives/tabs.d.ts.map +1 -0
  305. package/build/primitives/tabs.js +28 -0
  306. package/build/primitives/textarea.d.ts +4 -0
  307. package/build/primitives/textarea.d.ts.map +1 -0
  308. package/build/primitives/textarea.js +6 -0
  309. package/build/primitives/toggle-group.d.ts +10 -0
  310. package/build/primitives/toggle-group.d.ts.map +1 -0
  311. package/build/primitives/toggle-group.js +22 -0
  312. package/build/primitives/toggle.d.ts +10 -0
  313. package/build/primitives/toggle.d.ts.map +1 -0
  314. package/build/primitives/toggle.js +25 -0
  315. package/build/primitives/tooltip.d.ts +8 -0
  316. package/build/primitives/tooltip.d.ts.map +1 -0
  317. package/build/primitives/tooltip.js +18 -0
  318. package/build/shadcn.css +650 -0
  319. package/build/styles.css +699 -0
  320. package/package.json +188 -4
package/LICENSE ADDED
@@ -0,0 +1,58 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cargo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ --------------------------------------------------------------------------------
24
+
25
+ Trademarks
26
+
27
+ This license covers the code. It grants no rights to the Cargo name, the Cargo
28
+ logo or the Cargo mark, including as drawn by the CargoMark and Logo
29
+ components. Those remain trademarks of Cargo.
30
+
31
+ --------------------------------------------------------------------------------
32
+
33
+ Third-party notice
34
+
35
+ The components in src/primitives are adapted from shadcn/ui
36
+ (https://github.com/shadcn-ui/ui), distributed under the following license:
37
+
38
+ MIT License
39
+
40
+ Copyright (c) 2023 shadcn
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43
+ of this software and associated documentation files (the "Software"), to deal
44
+ in the Software without restriction, including without limitation the rights
45
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the Software is
47
+ furnished to do so, subject to the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be included in all
50
+ copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,117 @@
1
- # Temporary Holding Version
1
+ # @cargo-ai/ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The UI kit for the marketing sites and Vela: shadcn primitives (new-york style) set to the house look, the components
4
+ and layout built on them, and whole page blocks. getcargo.io wears it dark, Vela wears it light; the pieces are the same.
5
+
6
+ The product app keeps using `@cargo-ai/components`. This package is **React 19 only**: the primitives take `ref` as a
7
+ prop, which React 18 ignores, so a Radix trigger wrapping one of them loses its position. An app adopts it when it
8
+ moves to React 19.
9
+
10
+ ## Use it
11
+
12
+ Published to npm as `@cargo-ai/ui`. `npm run build` compiles `src/` to `build/` (JS, types and the two stylesheets),
13
+ which is what the exports point at. Bump `version` in `package.json` to release.
14
+
15
+ ```css
16
+ /* the app's global stylesheet */
17
+ @import "tailwindcss";
18
+ @import "@cargo-ai/ui/styles.css";
19
+ ```
20
+
21
+ ```tsx
22
+ import { Button } from "@cargo-ai/ui/primitives/button";
23
+ import { Logo } from "@cargo-ai/ui/components/logo";
24
+ import { Container } from "@cargo-ai/ui/layout/container";
25
+ import { Page } from "@cargo-ai/ui/layout/page";
26
+ import { HeroSplit } from "@cargo-ai/ui/blocks/hero-split";
27
+ ```
28
+
29
+ - Every import path is `<layer>/<kebab-name>`. There is no root barrel, so an app only bundles what it imports.
30
+ - Light is the default. Put `.dark` on an ancestor for dark. For a band in the other theme (a light band on a dark
31
+ page), use `<ThemeIsland theme="light">`: a bare `.light` class themes the band, but menus, tooltips and dialogs
32
+ opened inside it render at the end of `body` and would take the page's theme. `ThemeIsland` carries its theme to
33
+ them.
34
+ - The app loads the fonts: Inter, and Source Code Pro for mono.
35
+ - `Page` carries the class `cui-page`, so an app still migrating can give kit pages settings (fonts, radius) without
36
+ changing the pages that are not on the kit yet.
37
+ - `TYPE` (from `foundations/type-scale`), `Container` and `Section` size against the page container, so they only work
38
+ inside a `Page`.
39
+ - `Toaster` takes `theme` from the app, since each app owns how its theme is set.
40
+
41
+ ## The layers
42
+
43
+ | Layer | Path | What |
44
+ | ----------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
+ | Foundations | `src/styles.css`, `src/foundations/` | the tokens and `TYPE`, the type scale. `src/shadcn.css` is shadcn's variants and keyframes, vendored so the CLI is not a dependency |
46
+ | Primitives | `src/primitives/` | shadcn, kept close to upstream so `npx shadcn` diffs stay readable. Changed: import paths, the toaster (no theme hook), the chart's dark selector, `PortalTheme` around every portal, the command dialog's title moved inside its content, strict-mode fixes in calendar, chart and field, the `brand` variants of button and badge, the toggle group's inner edges (flattened between segments, so a host that marks `rounded-none` important keeps its outer corners) and its soft selected fill, and no inset top highlight on outline buttons |
47
+ | Layout | `src/layout/` | `Page` (the size container), `Container` (the content column), `Section` (the vertical rhythm of a band), `SectionHeading` (eyebrow, title, description). The same split as Radix Themes |
48
+ | Components | `src/components/` | the house pieces: `Logo`, `MediaFrame`, `ResourceCard`, `CargoMark`, `Eyebrow`, `MaskedHeadline`, `Reveal`, `CountUp`, `Marquee`, `InstallCommand`, `Terminal`, `CodeWindow`, `GlowCard`, `FeatureCard`, `CheckList`, `ComparisonTable`, `Prose`, `ThemeIsland` |
49
+ | Blocks | `src/blocks/` | whole bands of a page: `Banner`, `CardGrid`, `SiteHeader`, `SiteFooter`, `HeroCentered`, `HeroSplit`, `LogoCloud`, `Stats`, `BeforeAfter`, `FeatureRows`, `FeatureGrid`, `Steps`, `Showcase`, `Pricing`, `Faq`, `Testimonials`, `CtaBand`. "Blocks" is shadcn's word for them, and keeps them apart from `Section` |
50
+
51
+ Primitives stay as upstream writes them, because rewriting them would make every future `npx shadcn` update a manual
52
+ merge. Everything else follows `.claude/skills/writing-code` (`React.FC<Props>`, explicit comparisons, `is*` and `has*`
53
+ booleans), in PascalCase folders on disk behind kebab-case import paths.
54
+
55
+ ## Tokens
56
+
57
+ The accent is one token, `--brand`, named for its role rather than its colour, so a rebrand changes one value per theme:
58
+
59
+ | Token | Use |
60
+ | ------------------ | ------------------------------------------------------- |
61
+ | `brand` | the solid accent: icons, dots, a brand button |
62
+ | `brand-foreground` | text on a solid `brand` background |
63
+ | `brand-text` | accent-coloured text on the page, readable at body size |
64
+ | `brand-subtle` | a tinted background: badges, a picked card |
65
+ | `brand-border` | the border of something picked |
66
+ | `brand-glow` | the soft light behind a stage or a closing card |
67
+
68
+ `brand-subtle`, `brand-border` and `brand-glow` are mixed from `brand`, and `ring` and the first chart colours point at
69
+ it. The brand means "the engine acted" or "you can click this"; `destructive` only means something broke and `warning`
70
+ marks a change. `stage`, `tile`, `line`, `edge` and `faint` are the neutral surfaces and hairlines.
71
+
72
+ ## Conventions
73
+
74
+ The same names mean the same thing everywhere, the way Radix and shadcn do it:
75
+
76
+ - **Text:** `eyebrow`, `title`, `description`. `titleMuted` is a second title line in the muted colour.
77
+ `Eyebrow` has a `variant`: `path` (the default, `~/cookbooks/`), `plain` (the words in the brand colour) and `label`
78
+ (the small mono label of menu groups); each works on dark and light. A block's `eyebrow` takes words for the
79
+ default, or an `<Eyebrow variant="plain">` for another. `Highlight` takes the deep brand shade on light, where the
80
+ bright one is under 3:1 against the cream.
81
+ - **Slots:** `actions` for buttons, `media` for the picture beside or below the copy, `footnote` for a small line under
82
+ the actions, `aside` for extra content under a heading.
83
+ - **Every block** takes `id` (the anchor a nav link points at) and `className`. A block with a title puts `id` on its
84
+ `<h2>`, so `#faq` lands on the heading and the heading carries the slug.
85
+ - **Headings are bare tags:** `<h1>`, `<h2 id>` and `<h3>` carry no class, their type sits on a wrapper. A reader that
86
+ takes headings by tag (an outline check, a crawler without CSS) gets the text and nothing else. An accordion's
87
+ questions are buttons, not headings.
88
+ - **Time** is in milliseconds: `delayMs`, `durationMs`, `autoplayMs`. Autoplay holds still under reduced motion, as
89
+ `Reveal`, `CountUp` and `Terminal` do.
90
+ - **Kit classes** in `styles.css` carry a `cui-` prefix (`cui-eyebrow`, `cui-marquee`, `cui-strike` ...), the way Radix
91
+ Themes prefixes `rt-`, so they cannot collide with a class the app already has. The two exceptions are `.dark` and
92
+ `.light`, the theme switches shadcn and Tailwind's `dark:` variant read.
93
+
94
+ ## Blocks hold the shape, the app holds the words
95
+
96
+ Every block takes its copy, links and pictures as props. None of them names Cargo, a customer, a price or a URL. That
97
+ is what lets getcargo.io and Vela wear the same blocks, and what keeps a rebrand to the tokens and the props.
98
+
99
+ The test for a new block: if renaming the product would mean editing the file, it is not a block. It belongs to the
100
+ app, built from these blocks and components (getcargo.io's engine trace and its doors, Vela's review and brain). The
101
+ cast and the Explainer Kit plates stay out for the same reason; a page passes them in through `media`.
102
+
103
+ ## See it
104
+
105
+ `npm run dev -w @cargo-ai/ui` opens Storybook on port 6007, with a light/dark switch in the toolbar. The sidebar
106
+ follows the layers: `Foundations`, `Primitives/`, `Layout/`, `Components/`, `Blocks/`. `npm run build:storybook -w @cargo-ai/ui`
107
+ writes the static site to `storybook-static/`.
108
+
109
+ ## Where it came from
110
+
111
+ The prototypes of 2026-10-14 (the UI kit, getcargo.io, the Vela site and app), built in a scratch Vite project.
112
+ The cast of characters and the Explainer Kit plates stayed there: they draw from scripts the sites do not ship.
113
+
114
+ ## License
115
+
116
+ MIT, see `LICENSE`. The license covers the code, not the Cargo name or logo (the `CargoMark` and `Logo` components draw
117
+ them). The primitives are adapted from shadcn/ui, also MIT.
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ type Props = {
3
+ id?: string;
4
+ className?: string;
5
+ /** Where the whole bar leads. */
6
+ href: string;
7
+ /** `_blank` for a page on another site, such as an event's registration. */
8
+ target?: React.HTMLAttributeAnchorTarget;
9
+ /** The news, always shown. */
10
+ title: React.ReactNode;
11
+ /** A detail after the title, such as a date. Hidden on narrow pages. */
12
+ description?: React.ReactNode;
13
+ /** The verb at the end, such as "Register". Gets an arrow. */
14
+ action?: React.ReactNode;
15
+ };
16
+ /** A one-line announcement across the top of the page, above the header. The whole bar is one link. */
17
+ export declare const Banner: React.FC<Props>;
18
+ export {};
19
+ //# sourceMappingURL=Banner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/blocks/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,MAAM,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC;IACzC,8BAA8B;IAC9B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,wEAAwE;IACxE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,8DAA8D;IAC9D,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,uGAAuG;AACvG,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAsClC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/utils";
3
+ /** A one-line announcement across the top of the page, above the header. The whole bar is one link. */
4
+ export const Banner = (props) => {
5
+ const { id, className, href, target, title, description, action } = props;
6
+ return (_jsx("div", { id: id, className: cn("bg-background relative border-b", className), children: _jsxs("a", { href: href, target: target, rel: target === "_blank" ? "noopener noreferrer" : undefined, className: "group text-muted-foreground hover:text-foreground flex w-full items-center justify-center gap-2 px-4 py-2.5 text-center text-xs transition-colors @2xl/page:gap-3 @2xl/page:text-sm", children: [_jsx("span", { "aria-hidden": true, className: "bg-brand hidden size-1.5 shrink-0 rounded-full shadow-[0_0_0_3px_var(--brand-subtle)] @2xl/page:block" }), _jsx("span", { className: "text-foreground font-medium", children: title }), description !== undefined ? (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, className: "text-faint hidden @2xl/page:block", children: "\u00B7" }), _jsx("span", { className: "hidden @2xl/page:block", children: description })] })) : null, action !== undefined ? (_jsxs("span", { className: "text-brand-text font-medium", children: [action, _jsx("span", { "aria-hidden": true, className: "ml-1 inline-block transition-transform duration-200 group-hover:translate-x-0.5", children: "\u2192" })] })) : null] }) }));
7
+ };
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, such as "pricing" for `#pricing`. Set on the title's `<h2>`. */
4
+ id?: string;
5
+ className?: string;
6
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
7
+ eyebrow?: React.ReactNode;
8
+ title: React.ReactNode;
9
+ description?: React.ReactNode;
10
+ before?: string[];
11
+ after?: string[];
12
+ /** A picture under the list on each side, such as a trace of the new way running. */
13
+ beforeMedia?: React.ReactNode;
14
+ afterMedia?: React.ReactNode;
15
+ beforeLabel?: string;
16
+ afterLabel?: string;
17
+ };
18
+ /** The old way crossed in red, the new way ringed in the brand colour, side by side. */
19
+ export declare const BeforeAfter: React.FC<Props>;
20
+ export {};
21
+ //# sourceMappingURL=BeforeAfter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeforeAfter.d.ts","sourceRoot":"","sources":["../../../src/blocks/BeforeAfter/BeforeAfter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,KAAK,GAAG;IACX,gGAAgG;IAChG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,qFAAqF;IACrF,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAuEvC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Check, X } from "lucide-react";
3
+ import { Reveal } from "../../components/Reveal/Reveal";
4
+ import { Container } from "../../layout/Container/Container";
5
+ import { Section } from "../../layout/Section/Section";
6
+ import { SectionHeading } from "../../layout/SectionHeading/SectionHeading";
7
+ import { Badge } from "../../primitives/badge";
8
+ import { Card } from "../../primitives/card";
9
+ /** The old way crossed in red, the new way ringed in the brand colour, side by side. */
10
+ export const BeforeAfter = (props) => {
11
+ const { id, className, eyebrow, title, description, before = [], after = [], beforeMedia, afterMedia, beforeLabel = "Before", afterLabel = "After", } = props;
12
+ return (_jsx(Section, { className: className, children: _jsxs(Container, { className: "flex flex-col gap-[clamp(28px,4cqi,52px)]", children: [_jsx(Reveal, { children: _jsx(SectionHeading, { id: id, eyebrow: eyebrow, title: title, description: description, isCentered: true }) }), _jsxs("div", { className: "relative grid gap-3.5 @3xl/page:grid-cols-2", children: [_jsx(Reveal, { children: _jsxs(Card, { className: "h-full gap-5 rounded-[22px] p-6 shadow-none @4xl/page:p-7", children: [_jsx(Badge, { variant: "muted", asChild: true, children: _jsx("div", { children: _jsx("h3", { children: beforeLabel }) }) }), _jsx("ul", { className: "text-muted-foreground flex flex-col gap-2.5", children: before.map((item) => (_jsxs("li", { className: "flex items-baseline gap-2.5", children: [_jsx(X, { className: "text-destructive size-3.5 shrink-0 translate-y-0.5" }), item] }, item))) }), beforeMedia] }) }), _jsx("span", { className: "bg-background text-muted-foreground absolute top-1/2 left-1/2 z-10 hidden size-11 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full border font-mono text-xs @3xl/page:grid", children: "vs" }), _jsx(Reveal, { delayMs: 80, children: _jsxs(Card, { className: "border-brand-border h-full gap-5 rounded-[22px] p-6 shadow-none @4xl/page:p-7", children: [_jsx(Badge, { variant: "brand", asChild: true, children: _jsx("div", { children: _jsx("h3", { children: afterLabel }) }) }), _jsx("ul", { className: "flex flex-col gap-2.5", children: after.map((item) => (_jsxs("li", { className: "flex items-baseline gap-2.5", children: [_jsx(Check, { className: "text-brand size-3.5 shrink-0 translate-y-0.5" }), item] }, item))) }), afterMedia] }) })] })] }) }));
13
+ };
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, set on the heading when there is one, otherwise on the section. */
4
+ id?: string;
5
+ className?: string;
6
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
7
+ eyebrow?: React.ReactNode;
8
+ title?: React.ReactNode;
9
+ description?: React.ReactNode;
10
+ /** Beside or under the heading: filters, a search, a "Browse all" link. */
11
+ actions?: React.ReactNode;
12
+ columns?: 2 | 3 | 4;
13
+ /** The cards, usually `ResourceCard`s. */
14
+ children: React.ReactNode;
15
+ };
16
+ /** A heading over a grid of cards: an index of stories, templates, articles or integrations. */
17
+ export declare const CardGrid: React.FC<Props>;
18
+ export {};
19
+ //# sourceMappingURL=CardGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardGrid.d.ts","sourceRoot":"","sources":["../../../src/blocks/CardGrid/CardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,KAAK,GAAG;IACX,mGAAmG;IACnG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,0CAA0C;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AASF,gGAAgG;AAChG,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwCpC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Container } from "../../layout/Container/Container";
3
+ import { Section } from "../../layout/Section/Section";
4
+ import { SectionHeading } from "../../layout/SectionHeading/SectionHeading";
5
+ import { cn } from "../../lib/utils";
6
+ // written out so Tailwind sees every class
7
+ const COLUMNS = {
8
+ 2: "@3xl/page:grid-cols-2",
9
+ 3: "@3xl/page:grid-cols-2 @5xl/page:grid-cols-3",
10
+ 4: "@3xl/page:grid-cols-2 @5xl/page:grid-cols-4",
11
+ };
12
+ /** A heading over a grid of cards: an index of stories, templates, articles or integrations. */
13
+ export const CardGrid = (props) => {
14
+ const { id, className, eyebrow, title, description, actions, columns = 3, children, } = props;
15
+ const hasHeading = title !== undefined;
16
+ return (_jsx(Section, { id: hasHeading === true ? undefined : id, className: className, children: _jsxs(Container, { className: "flex flex-col gap-[clamp(24px,3.5cqi,44px)]", children: [hasHeading === true || actions !== undefined ? (_jsxs("div", { className: "flex flex-wrap items-end justify-between gap-5", children: [hasHeading === true ? (_jsx(SectionHeading, { id: id, eyebrow: eyebrow, title: title, description: description })) : null, actions] })) : null, _jsx("div", { className: cn("grid grid-cols-[minmax(0,1fr)] gap-3.5", COLUMNS[columns]), children: children })] }) }));
17
+ };
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, set on the `<h2>` itself. */
4
+ id?: string;
5
+ className?: string;
6
+ title: React.ReactNode;
7
+ description?: React.ReactNode;
8
+ /** Buttons, an InstallCommand. */
9
+ actions: React.ReactNode;
10
+ /** A small line under the actions. */
11
+ footnote?: React.ReactNode;
12
+ /** A picture on the right. Without it, everything is centred. */
13
+ media?: React.ReactNode;
14
+ };
15
+ /** The closing call to action: a rounded card lit from one edge. */
16
+ export declare const CtaBand: React.FC<Props>;
17
+ export {};
18
+ //# sourceMappingURL=CtaBand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CtaBand.d.ts","sourceRoot":"","sources":["../../../src/blocks/CtaBand/CtaBand.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,KAAK,GAAG;IACX,6DAA6D;IAC7D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,kCAAkC;IAClC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iEAAiE;IACjE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAoDnC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { TYPE } from "../../foundations/type-scale";
3
+ import { Container } from "../../layout/Container/Container";
4
+ import { Section } from "../../layout/Section/Section";
5
+ import { cn } from "../../lib/utils";
6
+ /** The closing call to action: a rounded card lit from one edge. */
7
+ export const CtaBand = (props) => {
8
+ const { id, className, title, description, actions, footnote, media } = props;
9
+ const hasMedia = media !== undefined;
10
+ return (_jsx(Section, { className: className, children: _jsx(Container, { children: _jsxs("div", { className: cn("relative grid overflow-hidden rounded-[30px] border px-[clamp(20px,5cqi,64px)]", hasMedia === true
11
+ ? "items-end gap-8 pt-[clamp(36px,6cqi,76px)] [background:radial-gradient(ellipse_50%_90%_at_82%_100%,var(--brand-glow),transparent_70%),var(--card)] @4xl/page:grid-cols-[1fr_auto]"
12
+ : "justify-items-center py-[clamp(40px,7cqi,88px)] text-center [background:radial-gradient(ellipse_60%_70%_at_50%_0%,var(--brand-glow),transparent_70%),var(--card)]"), children: [_jsxs("div", { className: cn("flex flex-col gap-4", hasMedia === true ? "pb-[clamp(36px,6cqi,76px)]" : "items-center"), children: [_jsx("div", { className: cn(TYPE.display2, "max-w-[20ch] [&>h2]:scroll-mt-24"), children: _jsx("h2", { id: id, children: title }) }), description !== undefined ? (_jsx("p", { className: cn(TYPE.lead, hasMedia === false && "mx-auto"), children: description })) : null, _jsx("div", { className: cn("mt-2 flex flex-wrap items-center gap-3", hasMedia === false && "justify-center"), children: actions }), footnote !== undefined ? (_jsx("div", { className: "text-muted-foreground text-sm", children: footnote })) : null] }), hasMedia === true ? (_jsx("div", { className: "relative flex items-end justify-center", children: media })) : null] }) }) }));
13
+ };
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, such as "pricing" for `#pricing`. Set on the title's `<h2>`. */
4
+ id?: string;
5
+ className?: string;
6
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
7
+ eyebrow?: React.ReactNode;
8
+ title: React.ReactNode;
9
+ description?: React.ReactNode;
10
+ items: {
11
+ question: string;
12
+ answer: React.ReactNode;
13
+ }[];
14
+ /** Under the heading, which stays in view while the answers scroll. */
15
+ aside?: React.ReactNode;
16
+ };
17
+ /**
18
+ * The heading on the left, the questions as an accordion on the right, all closed. Every answer is in the HTML,
19
+ * closed ones hidden, so a crawler or a reader without scripts gets them all; Radix would otherwise unmount them. The
20
+ * questions are buttons, not headings (the primitive's trigger wraps each in an `<h3>`), so the page outline stays its
21
+ * section titles.
22
+ */
23
+ export declare const Faq: React.FC<Props>;
24
+ export {};
25
+ //# sourceMappingURL=Faq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Faq.d.ts","sourceRoot":"","sources":["../../../src/blocks/Faq/Faq.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,KAAK,KAAK,GAAG;IACX,gGAAgG;IAChG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE,EAAE,CAAC;IACvD,uEAAuE;IACvE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA+C/B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ChevronDownIcon } from "lucide-react";
3
+ import { Accordion as AccordionPrimitive } from "radix-ui";
4
+ import { Container } from "../../layout/Container/Container";
5
+ import { Section } from "../../layout/Section/Section";
6
+ import { SectionHeading } from "../../layout/SectionHeading/SectionHeading";
7
+ import { Accordion, AccordionContent, AccordionItem, } from "../../primitives/accordion";
8
+ /**
9
+ * The heading on the left, the questions as an accordion on the right, all closed. Every answer is in the HTML,
10
+ * closed ones hidden, so a crawler or a reader without scripts gets them all; Radix would otherwise unmount them. The
11
+ * questions are buttons, not headings (the primitive's trigger wraps each in an `<h3>`), so the page outline stays its
12
+ * section titles.
13
+ */
14
+ export const Faq = (props) => {
15
+ const { id, className, eyebrow, title, description, items, aside } = props;
16
+ return (_jsx(Section, { className: className, children: _jsxs(Container, { className: "grid grid-cols-[minmax(0,1fr)] items-start gap-10 @4xl/page:grid-cols-[1fr_1.6fr]", children: [_jsxs("div", { className: "flex flex-col gap-5 @4xl/page:sticky @4xl/page:top-24", children: [_jsx(SectionHeading, { id: id, eyebrow: eyebrow, title: title, description: description }), aside] }), _jsx(Accordion, { type: "single", collapsible: true, children: items.map((item, index) => (_jsxs(AccordionItem, { value: `item-${index}`,
17
+ // Closed answers stay mounted and hidden, so the primitive's height animation has nothing to measure and
18
+ // jumps: they open and close outright instead.
19
+ className: "[&>[data-slot=accordion-content]]:animate-none [&>[data-slot=accordion-content][data-state=closed]]:hidden", children: [_jsx(AccordionPrimitive.Header, { asChild: true, children: _jsx("div", { className: "flex", children: _jsxs(AccordionPrimitive.Trigger, { "data-slot": "accordion-trigger", className: "focus-visible:ring-ring/40 -mx-3 flex flex-1 items-start justify-between gap-4 rounded-lg px-3 py-5 text-left text-base font-semibold outline-none focus-visible:ring-2 [&[data-state=open]>svg]:rotate-180", children: [item.question, _jsx(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })] }) }) }), _jsx(AccordionContent, { forceMount: true, className: "text-muted-foreground text-[15px] leading-relaxed", children: item.answer })] }, item.question))) })] }) }));
20
+ };
@@ -0,0 +1,23 @@
1
+ import type { LucideIcon } from "lucide-react";
2
+ import React from "react";
3
+ type Feature = {
4
+ icon: LucideIcon;
5
+ title: string;
6
+ description: React.ReactNode;
7
+ };
8
+ type Props = {
9
+ /** The anchor a link points at, such as "pricing" for `#pricing`. Set on the title's `<h2>`. */
10
+ id?: string;
11
+ className?: string;
12
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
13
+ eyebrow?: React.ReactNode;
14
+ title: React.ReactNode;
15
+ description?: React.ReactNode;
16
+ isCentered?: boolean;
17
+ items: Feature[];
18
+ columns?: 3 | 4;
19
+ };
20
+ /** A grid of feature cards: capabilities, security facts, the resources you can declare. */
21
+ export declare const FeatureGrid: React.FC<Props>;
22
+ export {};
23
+ //# sourceMappingURL=FeatureGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeatureGrid.d.ts","sourceRoot":"","sources":["../../../src/blocks/FeatureGrid/FeatureGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,gGAAgG;IAChG,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;CACjB,CAAC;AAEF,4FAA4F;AAC5F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA2CvC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { FeatureCard } from "../../components/FeatureCard/FeatureCard";
3
+ import { Reveal } from "../../components/Reveal/Reveal";
4
+ import { Container } from "../../layout/Container/Container";
5
+ import { Section } from "../../layout/Section/Section";
6
+ import { SectionHeading } from "../../layout/SectionHeading/SectionHeading";
7
+ import { cn } from "../../lib/utils";
8
+ /** A grid of feature cards: capabilities, security facts, the resources you can declare. */
9
+ export const FeatureGrid = (props) => {
10
+ const { id, className, eyebrow, title, description, isCentered = false, items, columns = 3, } = props;
11
+ return (_jsx(Section, { className: className, children: _jsxs(Container, { className: "flex flex-col gap-[clamp(28px,4cqi,52px)]", children: [_jsx(Reveal, { children: _jsx(SectionHeading, { id: id, eyebrow: eyebrow, title: title, description: description, isCentered: isCentered }) }), _jsx("div", { className: cn("grid grid-cols-[minmax(0,1fr)] gap-3.5 @xl/page:grid-cols-2", columns === 4 ? "@4xl/page:grid-cols-4" : "@4xl/page:grid-cols-3"), children: items.map((item, index) => (_jsx(Reveal, { delayMs: (index % columns) * 50, children: _jsx(FeatureCard, { icon: item.icon, title: item.title, description: item.description }) }, item.title))) })] }) }));
12
+ };
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ import type { NavLink } from "../types";
3
+ type FeatureRow = {
4
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
5
+ eyebrow?: React.ReactNode;
6
+ title: string;
7
+ description: React.ReactNode;
8
+ checks?: string[];
9
+ link?: NavLink;
10
+ /** The picture beside the copy. */
11
+ media: React.ReactNode;
12
+ };
13
+ type Props = {
14
+ /** The anchor a link points at, such as "pricing" for `#pricing`. */
15
+ id?: string;
16
+ className?: string;
17
+ rows: FeatureRow[];
18
+ };
19
+ /** Copy beside a picture, one row per feature, swapping sides each row. */
20
+ export declare const FeatureRows: React.FC<Props>;
21
+ export {};
22
+ //# sourceMappingURL=FeatureRows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeatureRows.d.ts","sourceRoot":"","sources":["../../../src/blocks/FeatureRows/FeatureRows.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,KAAK,UAAU,GAAG;IAChB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mCAAmC;IACnC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwCvC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ArrowRight } from "lucide-react";
3
+ import { CheckList } from "../../components/CheckList/CheckList";
4
+ import { EyebrowSlot } from "../../components/Eyebrow/Eyebrow";
5
+ import { Reveal } from "../../components/Reveal/Reveal";
6
+ import { TYPE } from "../../foundations/type-scale";
7
+ import { Container } from "../../layout/Container/Container";
8
+ import { Section } from "../../layout/Section/Section";
9
+ import { cn } from "../../lib/utils";
10
+ /** Copy beside a picture, one row per feature, swapping sides each row. */
11
+ export const FeatureRows = (props) => {
12
+ const { id, className, rows } = props;
13
+ return (_jsx(Section, { id: id, className: className, children: _jsx(Container, { className: "flex flex-col gap-[clamp(56px,8cqi,96px)]", children: rows.map((row, index) => (_jsx(Reveal, { children: _jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)] items-center gap-10 @4xl/page:grid-cols-2", children: [_jsxs("div", { className: cn("flex flex-col gap-5", index % 2 === 1 && "@4xl/page:order-2"), children: [row.eyebrow !== undefined ? (_jsx(EyebrowSlot, { eyebrow: row.eyebrow })) : null, _jsx("h2", { className: TYPE.display2, children: row.title }), _jsx("p", { className: TYPE.body, children: row.description }), row.checks !== undefined ? (_jsx(CheckList, { items: row.checks })) : null, row.link !== undefined ? (_jsxs("a", { href: row.link.href, className: "group inline-flex items-center gap-1.5 font-semibold", children: [row.link.label, _jsx(ArrowRight, { className: "size-4 transition-transform group-hover:translate-x-0.5" })] })) : null] }), _jsx("div", { className: "min-w-0", children: row.media })] }) }, row.title))) }) }));
14
+ };
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, such as "pricing" for `#pricing`. */
4
+ id?: string;
5
+ className?: string;
6
+ /** A pill above the title linking to what is new. */
7
+ announcement?: {
8
+ badge: string;
9
+ label: string;
10
+ href: string;
11
+ };
12
+ title: string;
13
+ /** A second title line in the muted colour. */
14
+ titleMuted?: string;
15
+ description?: React.ReactNode;
16
+ /** Buttons, an InstallCommand. */
17
+ actions?: React.ReactNode;
18
+ /** A small line under the actions. */
19
+ footnote?: React.ReactNode;
20
+ /** The picture under the copy, full width. */
21
+ media?: React.ReactNode;
22
+ hasGrid?: boolean;
23
+ };
24
+ /** The homepage hero: everything centred, the product as the picture below. */
25
+ export declare const HeroCentered: React.FC<Props>;
26
+ export {};
27
+ //# sourceMappingURL=HeroCentered.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroCentered.d.ts","sourceRoot":"","sources":["../../../src/blocks/HeroCentered/HeroCentered.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,KAAK,GAAG;IACX,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,YAAY,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,kCAAkC;IAClC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,8CAA8C;IAC9C,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAmDxC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ArrowRight } from "lucide-react";
3
+ import { MaskedHeadline } from "../../components/MaskedHeadline/MaskedHeadline";
4
+ import { TYPE } from "../../foundations/type-scale";
5
+ import { Container } from "../../layout/Container/Container";
6
+ import { Section } from "../../layout/Section/Section";
7
+ import { cn } from "../../lib/utils";
8
+ import { Badge } from "../../primitives/badge";
9
+ /** The homepage hero: everything centred, the product as the picture below. */
10
+ export const HeroCentered = (props) => {
11
+ const { id, className, announcement, title, titleMuted, description, actions, footnote, media, hasGrid = false, } = props;
12
+ return (_jsxs(Section, { id: id, className: cn("overflow-hidden", className), children: [hasGrid === true ? _jsx("div", { className: "cui-grid-bg" }) : null, _jsxs(Container, { className: "relative flex flex-col items-center gap-6 text-center", children: [announcement !== undefined ? (_jsxs("a", { href: announcement.href, className: "group bg-card hover:border-brand-border inline-flex h-9 items-center gap-2.5 rounded-full border py-1 pr-3 pl-1 text-[13.5px] font-medium transition-colors", children: [_jsx(Badge, { variant: "brand", children: announcement.badge }), announcement.label, _jsx(ArrowRight, { className: "text-muted-foreground size-3.5 transition-transform group-hover:translate-x-0.5" })] })) : null, _jsxs("h1", { className: cn(TYPE.display1, "max-w-[18ch] leading-[1.02]"), children: [_jsx(MaskedHeadline, { as: "span", text: title, className: "block" }), titleMuted !== undefined ? (_jsx("span", { className: "text-muted-foreground block", children: titleMuted })) : null] }), description !== undefined ? (_jsx("p", { className: cn(TYPE.lead, "mx-auto max-w-[50ch]"), children: description })) : null, actions !== undefined ? (_jsx("div", { className: "flex flex-wrap items-center justify-center gap-2.5", children: actions })) : null, footnote !== undefined ? (_jsx("div", { className: "text-muted-foreground text-sm", children: footnote })) : null, media !== undefined ? (_jsx("div", { className: "mt-6 w-full text-left", children: media })) : null] })] }));
13
+ };
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+ type Props = {
3
+ /** The anchor a link points at, such as "pricing" for `#pricing`. */
4
+ id?: string;
5
+ className?: string;
6
+ /** Words, shown as the default eyebrow, or an `<Eyebrow>` with another variant. */
7
+ eyebrow?: React.ReactNode;
8
+ /** Above the title, in place of the eyebrow: a breadcrumb. */
9
+ above?: React.ReactNode;
10
+ /** Wrap a phrase in `Highlight` to set it in the brand colour. */
11
+ title: React.ReactNode;
12
+ /** A second title line in the muted colour. */
13
+ titleMuted?: string;
14
+ description?: React.ReactNode;
15
+ actions?: React.ReactNode;
16
+ /** Under the actions: an InstallCommand, a line of proof. */
17
+ footnote?: React.ReactNode;
18
+ checks?: string[];
19
+ /** The picture on the right. Without it, the copy is centred on its own. */
20
+ media?: React.ReactNode;
21
+ };
22
+ /**
23
+ * The hero for product and feature pages: copy on the left, the product on the right. A page with no picture worth
24
+ * putting beside its title leaves `media` out, and the copy takes the band alone, centred.
25
+ */
26
+ export declare const HeroSplit: React.FC<Props>;
27
+ export {};
28
+ //# sourceMappingURL=HeroSplit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroSplit.d.ts","sourceRoot":"","sources":["../../../src/blocks/HeroSplit/HeroSplit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,KAAK,KAAK,GAAG;IACX,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,kEAAkE;IAClE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkFrC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { CheckList } from "../../components/CheckList/CheckList";
3
+ import { EyebrowSlot } from "../../components/Eyebrow/Eyebrow";
4
+ import { Reveal } from "../../components/Reveal/Reveal";
5
+ import { TYPE } from "../../foundations/type-scale";
6
+ import { Container } from "../../layout/Container/Container";
7
+ import { Section } from "../../layout/Section/Section";
8
+ import { cn } from "../../lib/utils";
9
+ /**
10
+ * The hero for product and feature pages: copy on the left, the product on the right. A page with no picture worth
11
+ * putting beside its title leaves `media` out, and the copy takes the band alone, centred.
12
+ */
13
+ export const HeroSplit = (props) => {
14
+ const { id, className, eyebrow, above, title, titleMuted, description, actions, footnote, checks, media, } = props;
15
+ const hasMedia = media !== undefined;
16
+ return (_jsx(Section, { id: id, className: className, children: _jsxs(Container, { className: cn("grid grid-cols-[minmax(0,1fr)] items-center gap-10", hasMedia === true && "@4xl/page:grid-cols-[.9fr_1.1fr]"), children: [_jsxs("div", { className: cn("flex flex-col gap-5", hasMedia === false &&
17
+ "mx-auto max-w-[820px] items-center text-center"), children: [eyebrow !== undefined ? _jsx(EyebrowSlot, { eyebrow: eyebrow }) : null, above, _jsx("div", { className: cn(TYPE.display1, "text-[clamp(36px,5.2cqi,60px)] leading-[1.02]"), children: _jsxs("h1", { children: [title, titleMuted !== undefined ? (_jsx("span", { className: "text-muted-foreground block", children: titleMuted })) : null] }) }), description !== undefined ? (_jsx("p", { className: cn(TYPE.lead, hasMedia === false && "mx-auto"), children: description })) : null, actions !== undefined ? (_jsx("div", { className: cn("flex flex-wrap items-center gap-2.5", hasMedia === false && "justify-center"), children: actions })) : null, footnote, checks !== undefined ? (_jsx(CheckList, { items: checks, className: cn("text-muted-foreground flex-row flex-wrap gap-4 text-[13.5px]", hasMedia === false && "justify-center") })) : null] }), hasMedia === true ? (_jsx(Reveal, { className: "min-w-0", children: media })) : null] }) }));
18
+ };
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { type MarqueeItem } from "../../components/Marquee";
3
+ type Props = {
4
+ /** The anchor a link points at, such as "pricing" for `#pricing`. */
5
+ id?: string;
6
+ className?: string;
7
+ label: string;
8
+ items: MarqueeItem[];
9
+ /** Milliseconds for one full loop. */
10
+ durationMs?: number;
11
+ /** Scrolls endlessly; false lays the names out still, wrapped and centred. */
12
+ isScrolling?: boolean;
13
+ };
14
+ /** A one-line caption over a row of logos or names, scrolling or still: customers, integrations. */
15
+ export declare const LogoCloud: React.FC<Props>;
16
+ export {};
17
+ //# sourceMappingURL=LogoCloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoCloud.d.ts","sourceRoot":"","sources":["../../../src/blocks/LogoCloud/LogoCloud.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAC;AAGlC,KAAK,KAAK,GAAG;IACX,qEAAqE;IACrE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA+BrC,CAAC"}