@contractspec/bundle.marketing 3.7.5 → 3.7.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 (164) hide show
  1. package/.turbo/turbo-build.log +84 -84
  2. package/AGENTS.md +29 -21
  3. package/CHANGELOG.md +27 -0
  4. package/README.md +36 -49
  5. package/dist/browser/components/marketing/ChangelogPage.js +8 -8
  6. package/dist/browser/components/marketing/CofounderPage.js +167 -523
  7. package/dist/browser/components/marketing/ContactClient.js +200 -207
  8. package/dist/browser/components/marketing/ContributePage.js +211 -463
  9. package/dist/browser/components/marketing/DesignPartnerPage.js +165 -218
  10. package/dist/browser/components/marketing/LandingPage.js +464 -568
  11. package/dist/browser/components/marketing/PricingClient.js +213 -839
  12. package/dist/browser/components/marketing/ProductClientPage.js +265 -463
  13. package/dist/browser/components/marketing/index.js +2007 -3338
  14. package/dist/browser/components/marketing/pricing-thinking-modal.js +12 -12
  15. package/dist/browser/components/marketing/sections/AudienceSection.js +2 -2
  16. package/dist/browser/components/marketing/sections/CorePositioningSection.js +2 -2
  17. package/dist/browser/components/marketing/sections/CtaSection.js +3 -3
  18. package/dist/browser/components/marketing/sections/FearsSection.js +3 -3
  19. package/dist/browser/components/marketing/sections/HeroMarketingSection.js +6 -6
  20. package/dist/browser/components/marketing/sections/IconGridSection.js +2 -2
  21. package/dist/browser/components/marketing/sections/OutputsSection.js +2 -2
  22. package/dist/browser/components/marketing/sections/ProblemSection.js +2 -2
  23. package/dist/browser/components/marketing/sections/SolutionSection.js +2 -2
  24. package/dist/browser/components/marketing/sections/StepsSection.js +4 -4
  25. package/dist/browser/components/marketing/studio-signup-section.js +25 -41
  26. package/dist/browser/components/templates/TemplatesClientPage.js +2324 -3578
  27. package/dist/browser/components/templates/TemplatesPage.js +1 -1
  28. package/dist/browser/components/templates/TemplatesPreviewModal.js +3 -3
  29. package/dist/browser/components/templates/index.js +2361 -3615
  30. package/dist/browser/index.js +2363 -3617
  31. package/dist/browser/libs/email/client.js +1 -1
  32. package/dist/browser/libs/email/contact.js +1 -1
  33. package/dist/browser/libs/email/newsletter.js +1 -1
  34. package/dist/browser/libs/email/waitlist-application.js +1 -1
  35. package/dist/browser/libs/email/waitlist.js +1 -1
  36. package/dist/browser/registry/engine.js +2003 -3334
  37. package/dist/browser/registry/index.js +2003 -3334
  38. package/dist/browser/registry/registry-docs.js +2 -2
  39. package/dist/browser/registry/registry-landing.js +2007 -3338
  40. package/dist/browser/registry/registry.js +2003 -3334
  41. package/dist/browser/registry/utils.js +2003 -3334
  42. package/dist/components/marketing/ChangelogPage.js +8 -8
  43. package/dist/components/marketing/CofounderPage.js +167 -523
  44. package/dist/components/marketing/ContactClient.js +200 -207
  45. package/dist/components/marketing/ContributePage.d.ts +0 -2
  46. package/dist/components/marketing/ContributePage.js +211 -463
  47. package/dist/components/marketing/DesignPartnerPage.js +165 -218
  48. package/dist/components/marketing/LandingPage.js +464 -568
  49. package/dist/components/marketing/PricingClient.js +213 -839
  50. package/dist/components/marketing/ProductClientPage.js +265 -463
  51. package/dist/components/marketing/index.d.ts +5 -5
  52. package/dist/components/marketing/index.js +2007 -3338
  53. package/dist/components/marketing/pricing-thinking-modal.js +12 -12
  54. package/dist/components/marketing/sections/AudienceSection.js +2 -2
  55. package/dist/components/marketing/sections/CorePositioningSection.js +2 -2
  56. package/dist/components/marketing/sections/CtaSection.js +3 -3
  57. package/dist/components/marketing/sections/FearsSection.js +3 -3
  58. package/dist/components/marketing/sections/HeroMarketingSection.js +6 -6
  59. package/dist/components/marketing/sections/IconGridSection.d.ts +3 -3
  60. package/dist/components/marketing/sections/IconGridSection.js +2 -2
  61. package/dist/components/marketing/sections/OutputsSection.js +2 -2
  62. package/dist/components/marketing/sections/ProblemSection.js +2 -2
  63. package/dist/components/marketing/sections/SolutionSection.js +2 -2
  64. package/dist/components/marketing/sections/StepsSection.js +4 -4
  65. package/dist/components/marketing/studio-signup-section.js +25 -41
  66. package/dist/components/templates/TemplatesClientPage.js +2324 -3578
  67. package/dist/components/templates/TemplatesPage.js +1 -1
  68. package/dist/components/templates/TemplatesPreviewModal.js +3 -3
  69. package/dist/components/templates/index.js +2361 -3615
  70. package/dist/index.js +2363 -3617
  71. package/dist/libs/email/client.js +1 -1
  72. package/dist/libs/email/contact.js +1 -1
  73. package/dist/libs/email/newsletter.js +1 -1
  74. package/dist/libs/email/waitlist-application.js +1 -1
  75. package/dist/libs/email/waitlist.js +1 -1
  76. package/dist/node/components/marketing/ChangelogPage.js +8 -8
  77. package/dist/node/components/marketing/CofounderPage.js +167 -523
  78. package/dist/node/components/marketing/ContactClient.js +200 -207
  79. package/dist/node/components/marketing/ContributePage.js +211 -463
  80. package/dist/node/components/marketing/DesignPartnerPage.js +165 -218
  81. package/dist/node/components/marketing/LandingPage.js +464 -568
  82. package/dist/node/components/marketing/PricingClient.js +213 -839
  83. package/dist/node/components/marketing/ProductClientPage.js +265 -463
  84. package/dist/node/components/marketing/index.js +2007 -3338
  85. package/dist/node/components/marketing/pricing-thinking-modal.js +12 -12
  86. package/dist/node/components/marketing/sections/AudienceSection.js +2 -2
  87. package/dist/node/components/marketing/sections/CorePositioningSection.js +2 -2
  88. package/dist/node/components/marketing/sections/CtaSection.js +3 -3
  89. package/dist/node/components/marketing/sections/FearsSection.js +3 -3
  90. package/dist/node/components/marketing/sections/HeroMarketingSection.js +6 -6
  91. package/dist/node/components/marketing/sections/IconGridSection.js +2 -2
  92. package/dist/node/components/marketing/sections/OutputsSection.js +2 -2
  93. package/dist/node/components/marketing/sections/ProblemSection.js +2 -2
  94. package/dist/node/components/marketing/sections/SolutionSection.js +2 -2
  95. package/dist/node/components/marketing/sections/StepsSection.js +4 -4
  96. package/dist/node/components/marketing/studio-signup-section.js +25 -41
  97. package/dist/node/components/templates/TemplatesClientPage.js +2324 -3578
  98. package/dist/node/components/templates/TemplatesPage.js +1 -1
  99. package/dist/node/components/templates/TemplatesPreviewModal.js +3 -3
  100. package/dist/node/components/templates/index.js +2361 -3615
  101. package/dist/node/index.js +2363 -3617
  102. package/dist/node/libs/email/client.js +1 -1
  103. package/dist/node/libs/email/contact.js +1 -1
  104. package/dist/node/libs/email/newsletter.js +1 -1
  105. package/dist/node/libs/email/waitlist-application.js +1 -1
  106. package/dist/node/libs/email/waitlist.js +1 -1
  107. package/dist/node/registry/engine.js +2003 -3334
  108. package/dist/node/registry/index.js +2003 -3334
  109. package/dist/node/registry/registry-docs.js +2 -2
  110. package/dist/node/registry/registry-landing.js +2007 -3338
  111. package/dist/node/registry/registry.js +2003 -3334
  112. package/dist/node/registry/utils.js +2003 -3334
  113. package/dist/registry/engine.js +2003 -3334
  114. package/dist/registry/index.js +2003 -3334
  115. package/dist/registry/registry-docs.js +2 -2
  116. package/dist/registry/registry-landing.js +2007 -3338
  117. package/dist/registry/registry.js +2003 -3334
  118. package/dist/registry/utils.js +2003 -3334
  119. package/package.json +29 -29
  120. package/src/bundles/MarketingBundle.ts +273 -273
  121. package/src/components/marketing/ChangelogPage.tsx +72 -100
  122. package/src/components/marketing/CofounderPage.tsx +120 -384
  123. package/src/components/marketing/ContactClient.tsx +164 -154
  124. package/src/components/marketing/ContributePage.tsx +139 -313
  125. package/src/components/marketing/DesignPartnerPage.tsx +133 -171
  126. package/src/components/marketing/LandingPage.tsx +353 -25
  127. package/src/components/marketing/PricingClient.tsx +192 -437
  128. package/src/components/marketing/ProductClientPage.tsx +255 -377
  129. package/src/components/marketing/index.ts +5 -5
  130. package/src/components/marketing/pricing-thinking-modal.tsx +197 -197
  131. package/src/components/marketing/sections/AudienceSection.tsx +55 -56
  132. package/src/components/marketing/sections/CorePositioningSection.tsx +37 -37
  133. package/src/components/marketing/sections/CtaSection.tsx +49 -50
  134. package/src/components/marketing/sections/DevelopersSection.tsx +26 -27
  135. package/src/components/marketing/sections/FearsSection.tsx +36 -37
  136. package/src/components/marketing/sections/HeroMarketingSection.tsx +59 -59
  137. package/src/components/marketing/sections/IconGridSection.tsx +71 -71
  138. package/src/components/marketing/sections/OutputsSection.tsx +51 -52
  139. package/src/components/marketing/sections/ProblemSection.tsx +39 -40
  140. package/src/components/marketing/sections/SolutionSection.tsx +39 -40
  141. package/src/components/marketing/sections/StepsSection.tsx +47 -48
  142. package/src/components/marketing/studio-signup-section.tsx +39 -41
  143. package/src/components/templates/TemplatesClientPage.tsx +727 -685
  144. package/src/components/templates/TemplatesPage.tsx +110 -110
  145. package/src/components/templates/TemplatesPreviewModal.tsx +197 -198
  146. package/src/index.ts +4 -4
  147. package/src/libs/email/client.test.ts +81 -81
  148. package/src/libs/email/client.ts +111 -111
  149. package/src/libs/email/contact.ts +35 -35
  150. package/src/libs/email/newsletter.ts +46 -46
  151. package/src/libs/email/types.ts +29 -29
  152. package/src/libs/email/utils.ts +5 -5
  153. package/src/libs/email/waitlist-application.ts +72 -72
  154. package/src/libs/email/waitlist.ts +46 -46
  155. package/src/libs/pricing-examples.ts +12 -12
  156. package/src/registry/engine.ts +16 -16
  157. package/src/registry/factory.ts +57 -57
  158. package/src/registry/registry-docs.ts +656 -666
  159. package/src/registry/registry-landing.ts +94 -95
  160. package/src/registry/registry.ts +36 -37
  161. package/src/registry/types.ts +2 -2
  162. package/src/registry/utils.ts +56 -56
  163. package/tsconfig.json +11 -11
  164. package/tsdown.config.js +5 -5
@@ -1,110 +1,82 @@
1
- // export const metadata: Metadata = {
2
- // title: 'Changelog: ContractSpec',
3
- // description:
4
- // 'Updates and releases for ContractSpec. New features, improvements, and breaking changes for the spec-first compiler.',
5
- // keywords: [
6
- // 'changelog',
7
- // 'updates',
8
- // 'releases',
9
- // 'features',
10
- // 'spec-first compiler',
11
- // 'AI code stabilization',
12
- // ],
13
- // openGraph: {
14
- // title: 'Changelog: ContractSpec',
15
- // description: 'Latest releases and improvements to ContractSpec.',
16
- // url: 'https://contractspec.io/changelog',
17
- // type: 'website',
18
- // },
19
- // alternates: {
20
- // canonical: 'https://contractspec.io/changelog',
21
- // },
22
- // };
23
-
24
- // export const metadata: Metadata = {
25
- // title: 'Changelog: ContractSpec',
26
- // ...
27
- // };
28
-
29
1
  export interface ChangelogEntry {
30
- version: string;
31
- date: string;
32
- isBreaking: boolean;
33
- packages: {
34
- name: string;
35
- changes: string[];
36
- }[];
2
+ version: string;
3
+ date: string;
4
+ isBreaking: boolean;
5
+ packages: {
6
+ name: string;
7
+ changes: string[];
8
+ }[];
37
9
  }
38
10
 
39
11
  interface ChangelogPageProps {
40
- entries: ChangelogEntry[];
12
+ entries: ChangelogEntry[];
41
13
  }
42
14
 
43
15
  export function ChangelogPage({ entries }: ChangelogPageProps) {
44
- return (
45
- <main>
46
- {/* Hero */}
47
- <section className="section-padding hero-gradient border-border relative border-b">
48
- <div className="mx-auto max-w-4xl space-y-6 text-center">
49
- <h1 className="text-5xl leading-tight font-bold md:text-6xl">
50
- Changelog
51
- </h1>
52
- <p className="text-muted-foreground text-lg">
53
- Latest releases and improvements to ContractSpec.
54
- </p>
55
- </div>
56
- </section>
16
+ return (
17
+ <main>
18
+ {/* Hero */}
19
+ <section className="section-padding hero-gradient relative border-border border-b">
20
+ <div className="mx-auto max-w-4xl space-y-6 text-center">
21
+ <h1 className="font-bold text-5xl leading-tight md:text-6xl">
22
+ Changelog
23
+ </h1>
24
+ <p className="text-lg text-muted-foreground">
25
+ Latest releases and improvements to ContractSpec.
26
+ </p>
27
+ </div>
28
+ </section>
57
29
 
58
- {/* Timeline */}
59
- <section className="section-padding">
60
- <div className="mx-auto max-w-3xl space-y-8">
61
- {entries.map((entry, i) => (
62
- <div
63
- key={i}
64
- className="card-subtle flex flex-col gap-6 p-8 md:flex-row md:items-start"
65
- >
66
- {/* Left: Version & Date */}
67
- <div className="md:w-48 md:flex-shrink-0">
68
- <div className="sticky top-24">
69
- <h3 className="text-2xl font-bold tracking-tight">
70
- {entry.version}
71
- </h3>
72
- <time className="text-muted-foreground mt-1 block text-sm font-medium">
73
- {entry.date}
74
- </time>
75
- {entry.isBreaking && (
76
- <span className="mt-2 inline-flex items-center rounded-full border border-red-500/50 bg-red-500/10 px-2.5 py-0.5 text-xs font-semibold text-red-500">
77
- Breaking Change
78
- </span>
79
- )}
80
- </div>
81
- </div>
30
+ {/* Timeline */}
31
+ <section className="section-padding">
32
+ <div className="mx-auto max-w-3xl space-y-8">
33
+ {entries.map((entry, i) => (
34
+ <div
35
+ key={i}
36
+ className="card-subtle flex flex-col gap-6 p-8 md:flex-row md:items-start"
37
+ >
38
+ {/* Left: Version & Date */}
39
+ <div className="md:w-48 md:flex-shrink-0">
40
+ <div className="sticky top-24">
41
+ <h3 className="font-bold text-2xl tracking-tight">
42
+ {entry.version}
43
+ </h3>
44
+ <time className="mt-1 block font-medium text-muted-foreground text-sm">
45
+ {entry.date}
46
+ </time>
47
+ {entry.isBreaking && (
48
+ <span className="mt-2 inline-flex items-center rounded-full border border-red-500/50 bg-red-500/10 px-2.5 py-0.5 font-semibold text-red-500 text-xs">
49
+ Breaking Change
50
+ </span>
51
+ )}
52
+ </div>
53
+ </div>
82
54
 
83
- {/* Right: Changes per package */}
84
- <div className="flex-1 space-y-6">
85
- {entry.packages.map((pkg, j) => (
86
- <div key={j} className="space-y-3">
87
- <h4 className="font-mono text-sm font-semibold text-violet-400">
88
- {pkg.name}
89
- </h4>
90
- <ul className="space-y-2">
91
- {pkg.changes.map((change, k) => (
92
- <li
93
- key={k}
94
- className="text-muted-foreground flex items-start gap-3 text-base leading-relaxed"
95
- >
96
- <span className="mt-1.5 h-1.5 w-1.5 flex-shrink-0 rounded-full bg-violet-500/50" />
97
- <span>{change}</span>
98
- </li>
99
- ))}
100
- </ul>
101
- </div>
102
- ))}
103
- </div>
104
- </div>
105
- ))}
106
- </div>
107
- </section>
108
- </main>
109
- );
55
+ {/* Right: Changes per package */}
56
+ <div className="flex-1 space-y-6">
57
+ {entry.packages.map((pkg, j) => (
58
+ <div key={j} className="space-y-3">
59
+ <h4 className="font-mono font-semibold text-sm text-violet-400">
60
+ {pkg.name}
61
+ </h4>
62
+ <ul className="space-y-2">
63
+ {pkg.changes.map((change, k) => (
64
+ <li
65
+ key={k}
66
+ className="flex items-start gap-3 text-base text-muted-foreground leading-relaxed"
67
+ >
68
+ <span className="mt-1.5 h-1.5 w-1.5 flex-shrink-0 rounded-full bg-violet-500/50" />
69
+ <span>{change}</span>
70
+ </li>
71
+ ))}
72
+ </ul>
73
+ </div>
74
+ ))}
75
+ </div>
76
+ </div>
77
+ ))}
78
+ </div>
79
+ </section>
80
+ </main>
81
+ );
110
82
  }