@contractspec/bundle.marketing 3.8.8 → 3.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +73 -29
- package/CHANGELOG.md +63 -0
- package/dist/browser/components/templates/TemplateCard.js +83 -0
- package/dist/browser/components/templates/TemplateCommandDialog.js +110 -0
- package/dist/browser/components/templates/TemplatePreviewContent.js +96 -0
- package/dist/browser/components/templates/TemplatesBrowseControls.js +130 -0
- package/dist/browser/components/templates/TemplatesCatalogSection.js +307 -0
- package/dist/browser/components/templates/TemplatesClientPage.js +1020 -917
- package/dist/browser/components/templates/TemplatesHeroSection.js +87 -0
- package/dist/browser/components/templates/TemplatesNextStepsSection.js +126 -0
- package/dist/browser/components/templates/TemplatesOverlays.js +2874 -0
- package/dist/browser/components/templates/TemplatesPreviewModal.js +136 -126
- package/dist/browser/components/templates/index.js +1055 -952
- package/dist/browser/components/templates/template-catalog.js +83 -0
- package/dist/browser/components/templates/template-filters.js +99 -0
- package/dist/browser/components/templates/template-new.js +23 -0
- package/dist/browser/components/templates/template-preview.js +43 -0
- package/dist/browser/components/templates/template-source.js +19 -0
- package/dist/browser/components/templates/template-tag-visibility.js +40 -0
- package/dist/browser/components/templates/useTemplateBrowseState.js +191 -0
- package/dist/browser/index.js +1055 -952
- package/dist/components/templates/TemplateCard.d.ts +12 -0
- package/dist/components/templates/TemplateCard.js +78 -0
- package/dist/components/templates/TemplateCommandDialog.d.ts +6 -0
- package/dist/components/templates/TemplateCommandDialog.js +105 -0
- package/dist/components/templates/TemplatePreviewContent.d.ts +5 -0
- package/dist/components/templates/TemplatePreviewContent.js +91 -0
- package/dist/components/templates/TemplatesBrowseControls.d.ts +18 -0
- package/dist/components/templates/TemplatesBrowseControls.js +125 -0
- package/dist/components/templates/TemplatesCatalogSection.d.ts +17 -0
- package/dist/components/templates/TemplatesCatalogSection.js +302 -0
- package/dist/components/templates/TemplatesClientPage.js +1020 -917
- package/dist/components/templates/TemplatesHeroSection.d.ts +5 -0
- package/dist/components/templates/TemplatesHeroSection.js +82 -0
- package/dist/components/templates/TemplatesNextStepsSection.d.ts +1 -0
- package/dist/components/templates/TemplatesNextStepsSection.js +121 -0
- package/dist/components/templates/TemplatesOverlays.d.ts +10 -0
- package/dist/components/templates/TemplatesOverlays.js +2869 -0
- package/dist/components/templates/TemplatesPreviewModal.d.ts +3 -4
- package/dist/components/templates/TemplatesPreviewModal.js +136 -126
- package/dist/components/templates/index.js +1055 -952
- package/dist/components/templates/template-catalog.d.ts +28 -0
- package/dist/components/templates/template-catalog.js +78 -0
- package/dist/components/templates/template-catalog.test.d.ts +1 -0
- package/dist/components/templates/template-filters.d.ts +12 -0
- package/dist/components/templates/template-filters.js +94 -0
- package/dist/components/templates/template-new.d.ts +2 -0
- package/dist/components/templates/template-new.js +18 -0
- package/dist/components/templates/template-preview.d.ts +18 -0
- package/dist/components/templates/template-preview.js +38 -0
- package/dist/components/templates/template-source.d.ts +3 -0
- package/dist/components/templates/template-source.js +14 -0
- package/dist/components/templates/template-tag-visibility.d.ts +10 -0
- package/dist/components/templates/template-tag-visibility.js +35 -0
- package/dist/components/templates/useTemplateBrowseState.d.ts +22 -0
- package/dist/components/templates/useTemplateBrowseState.js +186 -0
- package/dist/index.js +1055 -952
- package/dist/node/components/templates/TemplateCard.js +78 -0
- package/dist/node/components/templates/TemplateCommandDialog.js +105 -0
- package/dist/node/components/templates/TemplatePreviewContent.js +91 -0
- package/dist/node/components/templates/TemplatesBrowseControls.js +125 -0
- package/dist/node/components/templates/TemplatesCatalogSection.js +302 -0
- package/dist/node/components/templates/TemplatesClientPage.js +1020 -917
- package/dist/node/components/templates/TemplatesHeroSection.js +82 -0
- package/dist/node/components/templates/TemplatesNextStepsSection.js +121 -0
- package/dist/node/components/templates/TemplatesOverlays.js +2869 -0
- package/dist/node/components/templates/TemplatesPreviewModal.js +136 -126
- package/dist/node/components/templates/index.js +1055 -952
- package/dist/node/components/templates/template-catalog.js +78 -0
- package/dist/node/components/templates/template-filters.js +94 -0
- package/dist/node/components/templates/template-new.js +18 -0
- package/dist/node/components/templates/template-preview.js +38 -0
- package/dist/node/components/templates/template-source.js +14 -0
- package/dist/node/components/templates/template-tag-visibility.js +35 -0
- package/dist/node/components/templates/useTemplateBrowseState.js +186 -0
- package/dist/node/index.js +1055 -952
- package/package.json +237 -26
- package/src/components/templates/TemplateCard.tsx +74 -0
- package/src/components/templates/TemplateCommandDialog.tsx +92 -0
- package/src/components/templates/TemplatePreviewContent.tsx +182 -0
- package/src/components/templates/TemplatesBrowseControls.tsx +144 -0
- package/src/components/templates/TemplatesCatalogSection.tsx +191 -0
- package/src/components/templates/TemplatesClientPage.tsx +85 -773
- package/src/components/templates/TemplatesHeroSection.tsx +41 -0
- package/src/components/templates/TemplatesNextStepsSection.tsx +80 -0
- package/src/components/templates/TemplatesOverlays.tsx +65 -0
- package/src/components/templates/TemplatesPreviewModal.tsx +19 -294
- package/src/components/templates/template-catalog.test.ts +162 -0
- package/src/components/templates/template-catalog.ts +140 -0
- package/src/components/templates/template-filters.ts +57 -0
- package/src/components/templates/template-new.ts +12 -0
- package/src/components/templates/template-preview.ts +57 -0
- package/src/components/templates/template-source.ts +13 -0
- package/src/components/templates/template-tag-visibility.ts +58 -0
- package/src/components/templates/useTemplateBrowseState.ts +101 -0
- package/.turbo/turbo-prebuild.log +0 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
+
}) : x)(function(x) {
|
|
4
|
+
if (typeof require !== "undefined")
|
|
5
|
+
return require.apply(this, arguments);
|
|
6
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
// src/components/templates/TemplatesHeroSection.tsx
|
|
10
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
11
|
+
function TemplatesHeroSection({
|
|
12
|
+
localTemplateCount,
|
|
13
|
+
sourceCount
|
|
14
|
+
}) {
|
|
15
|
+
return /* @__PURE__ */ jsxDEV("section", {
|
|
16
|
+
className: "section-padding hero-gradient border-border/70 border-b",
|
|
17
|
+
children: /* @__PURE__ */ jsxDEV("div", {
|
|
18
|
+
className: "editorial-shell space-y-8",
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
21
|
+
className: "max-w-4xl space-y-5",
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
24
|
+
className: "editorial-kicker",
|
|
25
|
+
children: "Proof through real scenarios"
|
|
26
|
+
}, undefined, false, undefined, this),
|
|
27
|
+
/* @__PURE__ */ jsxDEV("h1", {
|
|
28
|
+
className: "editorial-title",
|
|
29
|
+
children: "Templates that show the open system in practice."
|
|
30
|
+
}, undefined, false, undefined, this),
|
|
31
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
32
|
+
className: "editorial-subtitle",
|
|
33
|
+
children: "These scenarios are the fastest way to understand ContractSpec: explicit contracts, aligned surfaces, and an adoption path from OSS exploration into Studio deployment."
|
|
34
|
+
}, undefined, false, undefined, this)
|
|
35
|
+
]
|
|
36
|
+
}, undefined, true, undefined, this),
|
|
37
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
38
|
+
className: "editorial-proof-strip",
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
41
|
+
className: "editorial-stat",
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
44
|
+
className: "editorial-stat-value",
|
|
45
|
+
children: localTemplateCount
|
|
46
|
+
}, undefined, false, undefined, this),
|
|
47
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
48
|
+
className: "editorial-label",
|
|
49
|
+
children: "curated scenarios"
|
|
50
|
+
}, undefined, false, undefined, this)
|
|
51
|
+
]
|
|
52
|
+
}, undefined, true, undefined, this),
|
|
53
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
54
|
+
className: "editorial-stat",
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
57
|
+
className: "editorial-stat-value",
|
|
58
|
+
children: sourceCount
|
|
59
|
+
}, undefined, false, undefined, this),
|
|
60
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
61
|
+
className: "editorial-label",
|
|
62
|
+
children: "entry paths"
|
|
63
|
+
}, undefined, false, undefined, this)
|
|
64
|
+
]
|
|
65
|
+
}, undefined, true, undefined, this),
|
|
66
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
67
|
+
className: "editorial-stat",
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
70
|
+
className: "editorial-stat-value",
|
|
71
|
+
children: "OSS"
|
|
72
|
+
}, undefined, false, undefined, this),
|
|
73
|
+
/* @__PURE__ */ jsxDEV("span", {
|
|
74
|
+
className: "editorial-label",
|
|
75
|
+
children: "first, Studio second"
|
|
76
|
+
}, undefined, false, undefined, this)
|
|
77
|
+
]
|
|
78
|
+
}, undefined, true, undefined, this)
|
|
79
|
+
]
|
|
80
|
+
}, undefined, true, undefined, this)
|
|
81
|
+
]
|
|
82
|
+
}, undefined, true, undefined, this)
|
|
83
|
+
}, undefined, false, undefined, this);
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
TemplatesHeroSection
|
|
87
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
+
}) : x)(function(x) {
|
|
4
|
+
if (typeof require !== "undefined")
|
|
5
|
+
return require.apply(this, arguments);
|
|
6
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
// src/components/templates/TemplatesNextStepsSection.tsx
|
|
10
|
+
import Link from "next/link";
|
|
11
|
+
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
12
|
+
function TemplatesNextStepsSection() {
|
|
13
|
+
return /* @__PURE__ */ jsxDEV("section", {
|
|
14
|
+
className: "editorial-section bg-striped",
|
|
15
|
+
children: /* @__PURE__ */ jsxDEV("div", {
|
|
16
|
+
className: "editorial-shell space-y-8",
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
19
|
+
className: "max-w-3xl space-y-4",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
22
|
+
className: "editorial-kicker",
|
|
23
|
+
children: "From template to real system"
|
|
24
|
+
}, undefined, false, undefined, this),
|
|
25
|
+
/* @__PURE__ */ jsxDEV("h2", {
|
|
26
|
+
className: "font-serif text-4xl tracking-[-0.04em] md:text-5xl",
|
|
27
|
+
children: "Templates become useful when the system can absorb more context."
|
|
28
|
+
}, undefined, false, undefined, this),
|
|
29
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
30
|
+
className: "editorial-copy",
|
|
31
|
+
children: "Use templates to prove the base flow, then layer integrations, knowledge, and runtime behavior on top without losing the same contract source."
|
|
32
|
+
}, undefined, false, undefined, this)
|
|
33
|
+
]
|
|
34
|
+
}, undefined, true, undefined, this),
|
|
35
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
36
|
+
className: "grid gap-6 md:grid-cols-3",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
39
|
+
className: "editorial-panel space-y-4",
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
42
|
+
className: "text-3xl",
|
|
43
|
+
children: "\uD83D\uDCB3"
|
|
44
|
+
}, undefined, false, undefined, this),
|
|
45
|
+
/* @__PURE__ */ jsxDEV("h3", {
|
|
46
|
+
className: "font-serif text-2xl tracking-[-0.03em]",
|
|
47
|
+
children: "Add payments"
|
|
48
|
+
}, undefined, false, undefined, this),
|
|
49
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
50
|
+
className: "text-muted-foreground text-sm",
|
|
51
|
+
children: "Connect Stripe to any template for payment processing, subscriptions, and invoicing. Type-safe and policy-enforced."
|
|
52
|
+
}, undefined, false, undefined, this),
|
|
53
|
+
/* @__PURE__ */ jsxDEV(Link, {
|
|
54
|
+
href: "/docs/integrations/stripe",
|
|
55
|
+
className: "font-medium text-[color:var(--blue)] text-sm hover:opacity-80",
|
|
56
|
+
children: "Learn more →"
|
|
57
|
+
}, undefined, false, undefined, this)
|
|
58
|
+
]
|
|
59
|
+
}, undefined, true, undefined, this),
|
|
60
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
61
|
+
className: "editorial-panel space-y-4",
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
64
|
+
className: "text-3xl",
|
|
65
|
+
children: "\uD83D\uDCE7"
|
|
66
|
+
}, undefined, false, undefined, this),
|
|
67
|
+
/* @__PURE__ */ jsxDEV("h3", {
|
|
68
|
+
className: "font-serif text-2xl tracking-[-0.03em]",
|
|
69
|
+
children: "Add notifications"
|
|
70
|
+
}, undefined, false, undefined, this),
|
|
71
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
72
|
+
className: "text-muted-foreground text-sm",
|
|
73
|
+
children: "Send transactional emails via Postmark or Resend. Process inbound emails with Gmail API. SMS via Twilio."
|
|
74
|
+
}, undefined, false, undefined, this),
|
|
75
|
+
/* @__PURE__ */ jsxDEV(Link, {
|
|
76
|
+
href: "/docs/integrations",
|
|
77
|
+
className: "font-medium text-[color:var(--blue)] text-sm hover:opacity-80",
|
|
78
|
+
children: "View integrations →"
|
|
79
|
+
}, undefined, false, undefined, this)
|
|
80
|
+
]
|
|
81
|
+
}, undefined, true, undefined, this),
|
|
82
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
83
|
+
className: "editorial-panel space-y-4",
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
86
|
+
className: "text-3xl",
|
|
87
|
+
children: "\uD83E\uDDE0"
|
|
88
|
+
}, undefined, false, undefined, this),
|
|
89
|
+
/* @__PURE__ */ jsxDEV("h3", {
|
|
90
|
+
className: "font-serif text-2xl tracking-[-0.03em]",
|
|
91
|
+
children: "Add AI and knowledge"
|
|
92
|
+
}, undefined, false, undefined, this),
|
|
93
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
94
|
+
className: "text-muted-foreground text-sm",
|
|
95
|
+
children: "Power templates with OpenAI, vector search via Qdrant, and structured knowledge spaces for context-aware workflows."
|
|
96
|
+
}, undefined, false, undefined, this),
|
|
97
|
+
/* @__PURE__ */ jsxDEV(Link, {
|
|
98
|
+
href: "/docs/knowledge",
|
|
99
|
+
className: "font-medium text-[color:var(--blue)] text-sm hover:opacity-80",
|
|
100
|
+
children: "Learn about knowledge →"
|
|
101
|
+
}, undefined, false, undefined, this)
|
|
102
|
+
]
|
|
103
|
+
}, undefined, true, undefined, this)
|
|
104
|
+
]
|
|
105
|
+
}, undefined, true, undefined, this),
|
|
106
|
+
/* @__PURE__ */ jsxDEV("div", {
|
|
107
|
+
className: "pt-4 text-center",
|
|
108
|
+
children: [
|
|
109
|
+
/* @__PURE__ */ jsxDEV("p", {
|
|
110
|
+
className: "mb-4 text-muted-foreground text-sm",
|
|
111
|
+
children: "All integrations are configured per-tenant with automatic health checks and credential rotation."
|
|
112
|
+
}, undefined, false, undefined, this),
|
|
113
|
+
/* @__PURE__ */ jsxDEV(Link, {
|
|
114
|
+
href: "/docs/architecture",
|
|
115
|
+
className: "btn-primary",
|
|
116
|
+
children: "View Architecture"
|
|
117
|
+
}, undefined, false, undefined, this)
|
|
118
|
+
]
|
|
119
|
+
}, undefined, true, undefined, this)
|
|
120
|
+
]
|
|
121
|
+
}, undefined, true, undefined, this)
|
|
122
|
+
}, undefined, false, undefined, this);
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
TemplatesNextStepsSection
|
|
126
|
+
};
|