@contractspec/bundle.marketing 3.7.7 → 3.8.4

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 (32) hide show
  1. package/.turbo/turbo-build.log +27 -27
  2. package/CHANGELOG.md +115 -0
  3. package/dist/browser/components/templates/TemplatesClientPage.js +59 -2
  4. package/dist/browser/components/templates/TemplatesPreviewModal.js +24 -0
  5. package/dist/browser/components/templates/index.js +59 -2
  6. package/dist/browser/index.js +62 -5
  7. package/dist/browser/registry/engine.js +3 -3
  8. package/dist/browser/registry/index.js +3 -3
  9. package/dist/browser/registry/registry.js +2 -2
  10. package/dist/browser/registry/utils.js +3 -3
  11. package/dist/components/templates/TemplatesClientPage.js +59 -2
  12. package/dist/components/templates/TemplatesPreviewModal.js +24 -0
  13. package/dist/components/templates/index.js +59 -2
  14. package/dist/index.js +62 -5
  15. package/dist/node/components/templates/TemplatesClientPage.js +59 -2
  16. package/dist/node/components/templates/TemplatesPreviewModal.js +24 -0
  17. package/dist/node/components/templates/index.js +59 -2
  18. package/dist/node/index.js +62 -5
  19. package/dist/node/registry/engine.js +3 -3
  20. package/dist/node/registry/index.js +3 -3
  21. package/dist/node/registry/registry.js +2 -2
  22. package/dist/node/registry/utils.js +3 -3
  23. package/dist/registry/engine.d.ts +1 -1
  24. package/dist/registry/engine.js +3 -3
  25. package/dist/registry/index.js +3 -3
  26. package/dist/registry/registry.js +2 -2
  27. package/dist/registry/utils.js +3 -3
  28. package/package.json +25 -23
  29. package/src/components/templates/TemplatesClientPage.tsx +38 -2
  30. package/src/components/templates/TemplatesPreviewModal.tsx +54 -0
  31. package/src/registry/engine.ts +1 -1
  32. package/src/registry/registry.ts +1 -1
@@ -3,25 +3,25 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
5
  [contractspec-bun-build] transpile target=bun root=src entries=45 noBundle=false
6
- Bundled 45 modules in 26ms
6
+ Bundled 45 modules in 32ms
7
7
 
8
8
  bundles/MarketingBundle.js 8.0 KB (entry point)
9
9
  libs/email/types.js 49 bytes (entry point)
10
- ./index.js 226.43 KB (entry point)
10
+ ./index.js 229.90 KB (entry point)
11
11
  libs/email/waitlist-application.js 11.18 KB (entry point)
12
12
  libs/email/waitlist.js 7.48 KB (entry point)
13
- registry/index.js 154.41 KB (entry point)
13
+ registry/index.js 154.47 KB (entry point)
14
14
  registry/types.js 8 bytes (entry point)
15
- registry/utils.js 154.0 KB (entry point)
16
- registry/engine.js 152.46 KB (entry point)
17
- registry/registry.js 151.93 KB (entry point)
15
+ registry/utils.js 154.1 KB (entry point)
16
+ registry/engine.js 152.52 KB (entry point)
17
+ registry/registry.js 151.99 KB (entry point)
18
18
  registry/registry-docs.js 27.11 KB (entry point)
19
19
  registry/registry-landing.js 124.66 KB (entry point)
20
20
  registry/factory.js 1.35 KB (entry point)
21
- components/templates/index.js 177.74 KB (entry point)
22
- components/templates/TemplatesClientPage.js 170.80 KB (entry point)
21
+ components/templates/index.js 181.15 KB (entry point)
22
+ components/templates/TemplatesClientPage.js 174.21 KB (entry point)
23
23
  components/templates/TemplatesPage.js 6.85 KB (entry point)
24
- components/templates/TemplatesPreviewModal.js 7.81 KB (entry point)
24
+ components/templates/TemplatesPreviewModal.js 9.86 KB (entry point)
25
25
  libs/email/newsletter.js 6.88 KB (entry point)
26
26
  components/marketing/sections/FearsSection.js 3.36 KB (entry point)
27
27
  components/marketing/sections/HeroMarketingSection.js 3.65 KB (entry point)
@@ -52,25 +52,25 @@ Bundled 45 modules in 26ms
52
52
  components/marketing/LandingPage.js 25.71 KB (entry point)
53
53
 
54
54
  [contractspec-bun-build] transpile target=node root=src entries=45 noBundle=false
55
- Bundled 45 modules in 26ms
55
+ Bundled 45 modules in 23ms
56
56
 
57
57
  bundles/MarketingBundle.js 8.1 KB (entry point)
58
58
  libs/email/types.js 41 bytes (entry point)
59
- ./index.js 226.37 KB (entry point)
59
+ ./index.js 229.85 KB (entry point)
60
60
  libs/email/waitlist-application.js 11.23 KB (entry point)
61
61
  libs/email/waitlist.js 7.53 KB (entry point)
62
- registry/index.js 154.44 KB (entry point)
62
+ registry/index.js 154.50 KB (entry point)
63
63
  registry/types.js 0 KB (entry point)
64
- registry/utils.js 154.0 KB (entry point)
65
- registry/engine.js 152.49 KB (entry point)
66
- registry/registry.js 151.96 KB (entry point)
64
+ registry/utils.js 154.1 KB (entry point)
65
+ registry/engine.js 152.56 KB (entry point)
66
+ registry/registry.js 152.0 KB (entry point)
67
67
  registry/registry-docs.js 27.18 KB (entry point)
68
68
  registry/registry-landing.js 124.69 KB (entry point)
69
69
  registry/factory.js 1.42 KB (entry point)
70
- components/templates/index.js 177.74 KB (entry point)
71
- components/templates/TemplatesClientPage.js 170.80 KB (entry point)
70
+ components/templates/index.js 181.15 KB (entry point)
71
+ components/templates/TemplatesClientPage.js 174.21 KB (entry point)
72
72
  components/templates/TemplatesPage.js 6.91 KB (entry point)
73
- components/templates/TemplatesPreviewModal.js 7.88 KB (entry point)
73
+ components/templates/TemplatesPreviewModal.js 9.92 KB (entry point)
74
74
  libs/email/newsletter.js 6.93 KB (entry point)
75
75
  components/marketing/sections/FearsSection.js 3.42 KB (entry point)
76
76
  components/marketing/sections/HeroMarketingSection.js 3.71 KB (entry point)
@@ -101,25 +101,25 @@ Bundled 45 modules in 26ms
101
101
  components/marketing/LandingPage.js 25.76 KB (entry point)
102
102
 
103
103
  [contractspec-bun-build] transpile target=browser root=src entries=45 noBundle=false
104
- Bundled 45 modules in 26ms
104
+ Bundled 45 modules in 28ms
105
105
 
106
106
  bundles/MarketingBundle.js 8.36 KB (entry point)
107
107
  libs/email/types.js 41 bytes (entry point)
108
- ./index.js 226.63 KB (entry point)
108
+ ./index.js 230.11 KB (entry point)
109
109
  libs/email/waitlist-application.js 11.49 KB (entry point)
110
110
  libs/email/waitlist.js 7.79 KB (entry point)
111
- registry/index.js 154.70 KB (entry point)
111
+ registry/index.js 154.76 KB (entry point)
112
112
  registry/types.js 0 KB (entry point)
113
- registry/utils.js 154.30 KB (entry point)
114
- registry/engine.js 152.75 KB (entry point)
115
- registry/registry.js 152.22 KB (entry point)
113
+ registry/utils.js 154.36 KB (entry point)
114
+ registry/engine.js 152.82 KB (entry point)
115
+ registry/registry.js 152.28 KB (entry point)
116
116
  registry/registry-docs.js 27.44 KB (entry point)
117
117
  registry/registry-landing.js 124.95 KB (entry point)
118
118
  registry/factory.js 1.68 KB (entry point)
119
- components/templates/index.js 178.00 KB (entry point)
120
- components/templates/TemplatesClientPage.js 171.1 KB (entry point)
119
+ components/templates/index.js 181.41 KB (entry point)
120
+ components/templates/TemplatesClientPage.js 174.47 KB (entry point)
121
121
  components/templates/TemplatesPage.js 7.17 KB (entry point)
122
- components/templates/TemplatesPreviewModal.js 8.14 KB (entry point)
122
+ components/templates/TemplatesPreviewModal.js 10.18 KB (entry point)
123
123
  libs/email/newsletter.js 7.19 KB (entry point)
124
124
  components/marketing/sections/FearsSection.js 3.68 KB (entry point)
125
125
  components/marketing/sections/HeroMarketingSection.js 3.97 KB (entry point)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,119 @@
1
1
  # @contractspec/bundle.marketing
2
2
 
3
+ ## 3.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [81256ea]
8
+ - Updated dependencies [2619dd8]
9
+ - Updated dependencies [81256ea]
10
+ - Updated dependencies [a4489bb]
11
+ - Updated dependencies [9cb304e]
12
+ - @contractspec/lib.contracts-spec@5.0.0
13
+ - @contractspec/lib.contracts-runtime-client-react@3.8.0
14
+ - @contractspec/bundle.library@3.8.4
15
+ - @contractspec/example.agent-console@3.8.4
16
+ - @contractspec/example.analytics-dashboard@3.9.4
17
+ - @contractspec/example.crm-pipeline@3.7.12
18
+ - @contractspec/example.data-grid-showcase@3.8.4
19
+ - @contractspec/example.integration-hub@3.8.4
20
+ - @contractspec/example.marketplace@3.8.4
21
+ - @contractspec/example.saas-boilerplate@3.8.4
22
+ - @contractspec/example.visualization-showcase@3.9.4
23
+ - @contractspec/example.workflow-system@3.8.4
24
+ - @contractspec/lib.design-system@3.8.5
25
+ - @contractspec/lib.example-shared-ui@6.0.12
26
+ - @contractspec/lib.surface-runtime@0.5.12
27
+ - @contractspec/lib.ui-kit-web@3.9.4
28
+ - @contractspec/module.examples@3.8.4
29
+
30
+ ## 3.8.3
31
+
32
+ ### Patch Changes
33
+
34
+ - fix: release
35
+ - Updated dependencies
36
+ - @contractspec/lib.contracts-runtime-client-react@3.7.11
37
+ - @contractspec/example.visualization-showcase@3.9.3
38
+ - @contractspec/example.analytics-dashboard@3.9.3
39
+ - @contractspec/example.data-grid-showcase@3.8.3
40
+ - @contractspec/example.saas-boilerplate@3.8.3
41
+ - @contractspec/example.integration-hub@3.8.3
42
+ - @contractspec/example.workflow-system@3.8.3
43
+ - @contractspec/example.agent-console@3.8.3
44
+ - @contractspec/lib.example-shared-ui@6.0.11
45
+ - @contractspec/example.crm-pipeline@3.7.11
46
+ - @contractspec/example.marketplace@3.8.3
47
+ - @contractspec/lib.runtime-sandbox@2.7.10
48
+ - @contractspec/lib.surface-runtime@0.5.11
49
+ - @contractspec/lib.contracts-spec@4.1.3
50
+ - @contractspec/lib.design-system@3.8.4
51
+ - @contractspec/lib.ui-kit-core@3.7.9
52
+ - @contractspec/module.examples@3.8.3
53
+ - @contractspec/bundle.library@3.8.3
54
+ - @contractspec/lib.ui-kit-web@3.9.3
55
+ - @contractspec/lib.ui-link@3.7.9
56
+ - @contractspec/lib.logger@3.7.9
57
+ - @contractspec/lib.email@3.7.9
58
+
59
+ ## 3.8.2
60
+
61
+ ### Patch Changes
62
+
63
+ - 1a44cb6: feat: improve examples to increase coverage of Contracts type
64
+ - Updated dependencies [1a44cb6]
65
+ - @contractspec/lib.contracts-runtime-client-react@3.7.10
66
+ - @contractspec/example.visualization-showcase@3.9.2
67
+ - @contractspec/example.analytics-dashboard@3.9.2
68
+ - @contractspec/example.data-grid-showcase@3.8.2
69
+ - @contractspec/example.saas-boilerplate@3.8.2
70
+ - @contractspec/example.integration-hub@3.8.2
71
+ - @contractspec/example.workflow-system@3.8.2
72
+ - @contractspec/example.agent-console@3.8.2
73
+ - @contractspec/lib.example-shared-ui@6.0.10
74
+ - @contractspec/example.crm-pipeline@3.7.10
75
+ - @contractspec/example.marketplace@3.8.2
76
+ - @contractspec/lib.runtime-sandbox@2.7.9
77
+ - @contractspec/lib.surface-runtime@0.5.10
78
+ - @contractspec/lib.contracts-spec@4.1.2
79
+ - @contractspec/lib.design-system@3.8.3
80
+ - @contractspec/lib.ui-kit-core@3.7.8
81
+ - @contractspec/module.examples@3.8.2
82
+ - @contractspec/bundle.library@3.8.2
83
+ - @contractspec/lib.ui-kit-web@3.9.2
84
+ - @contractspec/lib.ui-link@3.7.8
85
+ - @contractspec/lib.logger@3.7.8
86
+ - @contractspec/lib.email@3.7.8
87
+
88
+ ## 3.8.1
89
+
90
+ ### Patch Changes
91
+
92
+ - fix: release
93
+ - Updated dependencies
94
+ - @contractspec/lib.contracts-runtime-client-react@3.7.9
95
+ - @contractspec/example.visualization-showcase@3.9.1
96
+ - @contractspec/example.analytics-dashboard@3.9.1
97
+ - @contractspec/example.data-grid-showcase@3.8.1
98
+ - @contractspec/example.saas-boilerplate@3.8.1
99
+ - @contractspec/example.integration-hub@3.8.1
100
+ - @contractspec/example.workflow-system@3.8.1
101
+ - @contractspec/example.agent-console@3.8.1
102
+ - @contractspec/lib.example-shared-ui@6.0.9
103
+ - @contractspec/example.crm-pipeline@3.7.9
104
+ - @contractspec/example.marketplace@3.8.1
105
+ - @contractspec/lib.runtime-sandbox@2.7.8
106
+ - @contractspec/lib.surface-runtime@0.5.9
107
+ - @contractspec/lib.contracts-spec@4.1.1
108
+ - @contractspec/lib.design-system@3.8.2
109
+ - @contractspec/module.examples@3.8.1
110
+ - @contractspec/bundle.library@3.8.1
111
+ - @contractspec/lib.ui-kit-web@3.9.1
112
+ - @contractspec/lib.ui-link@3.7.7
113
+ - @contractspec/lib.email@3.7.7
114
+ - @contractspec/lib.logger@3.7.7
115
+ - @contractspec/lib.ui-kit-core@3.7.7
116
+
3
117
  ## 3.7.6
4
118
 
5
119
  ### Patch Changes
@@ -374,6 +488,7 @@
374
488
  ### Patch Changes
375
489
 
376
490
  - 66c51da: feat(bundle.marketing): add MarketingBundle, bundles export
491
+
377
492
  - Add MarketingBundle and bundles/index for surface-runtime composition
378
493
  - Add @contractspec/lib.surface-runtime dependency
379
494
 
@@ -2580,11 +2580,14 @@ var MessagingWorkspace = dynamic(() => import("@contractspec/bundle.library/comp
2580
2580
  var RecipesExperience = dynamic(() => import("@contractspec/bundle.library/components/templates/recipes/RecipeList").then((mod) => mod.RecipeList), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2581
2581
  var SaasDashboard = dynamic(() => import("@contractspec/example.saas-boilerplate").then((mod) => mod.SaasDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2582
2582
  var CrmDashboard = dynamic(() => import("@contractspec/example.crm-pipeline").then((mod) => mod.CrmDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
+ var DataGridShowcase = dynamic(() => import("@contractspec/example.data-grid-showcase/ui").then((mod) => mod.DataGridShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
+ var VisualizationShowcase = dynamic(() => import("@contractspec/example.visualization-showcase/ui").then((mod) => mod.VisualizationShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
2585
  var AgentDashboard = dynamic(() => import("@contractspec/example.agent-console/ui").then((mod) => mod.AgentDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
2586
  var WorkflowDashboard = dynamic(() => import("@contractspec/example.workflow-system/ui").then((mod) => mod.WorkflowDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2585
2587
  var MarketplaceDashboard = dynamic(() => import("@contractspec/example.marketplace/ui").then((mod) => mod.MarketplaceDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2586
2588
  var IntegrationDashboard = dynamic(() => import("@contractspec/example.integration-hub/ui").then((mod) => mod.IntegrationDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2587
2589
  var AnalyticsDashboard = dynamic(() => import("@contractspec/example.analytics-dashboard").then((mod) => mod.AnalyticsDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2590
+ var AiChatAssistantDashboard = dynamic(() => import("@contractspec/example.ai-chat-assistant").then((mod) => mod.AiChatAssistantDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2588
2591
  var TemplatePreviewModal = ({
2589
2592
  templateId,
2590
2593
  onClose
@@ -2626,6 +2629,20 @@ var TemplatePreviewModal = ({
2626
2629
  showSaveAction: false,
2627
2630
  children: /* @__PURE__ */ jsxDEV11(CrmDashboard, {}, undefined, false, undefined, this)
2628
2631
  }, undefined, false, undefined, this);
2632
+ case "data-grid-showcase":
2633
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2634
+ title: "Data Grid Showcase",
2635
+ description: "Shared ContractSpec table primitives with client, server, and DataView-driven lanes.",
2636
+ showSaveAction: false,
2637
+ children: /* @__PURE__ */ jsxDEV11(DataGridShowcase, {}, undefined, false, undefined, this)
2638
+ }, undefined, false, undefined, this);
2639
+ case "visualization-showcase":
2640
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2641
+ title: "Visualization Showcase",
2642
+ description: "ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers.",
2643
+ showSaveAction: false,
2644
+ children: /* @__PURE__ */ jsxDEV11(VisualizationShowcase, {}, undefined, false, undefined, this)
2645
+ }, undefined, false, undefined, this);
2629
2646
  case "agent-console":
2630
2647
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2631
2648
  title: "AI Agent Console",
@@ -2633,6 +2650,13 @@ var TemplatePreviewModal = ({
2633
2650
  showSaveAction: false,
2634
2651
  children: /* @__PURE__ */ jsxDEV11(AgentDashboard, {}, undefined, false, undefined, this)
2635
2652
  }, undefined, false, undefined, this);
2653
+ case "ai-chat-assistant":
2654
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2655
+ title: "AI Chat Assistant",
2656
+ description: "Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools.",
2657
+ showSaveAction: false,
2658
+ children: /* @__PURE__ */ jsxDEV11(AiChatAssistantDashboard, {}, undefined, false, undefined, this)
2659
+ }, undefined, false, undefined, this);
2636
2660
  case "workflow-system":
2637
2661
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2638
2662
  title: "Workflow System",
@@ -2740,6 +2764,28 @@ var templates = [
2740
2764
  previewUrl: "/sandbox?template=crm-pipeline",
2741
2765
  docsUrl: "/docs/templates/crm-pipeline"
2742
2766
  },
2767
+ {
2768
+ id: "data-grid-showcase",
2769
+ templateId: "data-grid-showcase",
2770
+ title: "Data Grid Showcase",
2771
+ description: "Focused example for ContractSpec headless tables across client, server, and DataView-driven lanes.",
2772
+ tags: ["Ops", "Business"],
2773
+ capabilities: "Tables, Sorting, Pagination, Column Controls",
2774
+ isNew: true,
2775
+ previewUrl: "/sandbox?template=data-grid-showcase",
2776
+ docsUrl: "/docs/examples/data-grid-showcase"
2777
+ },
2778
+ {
2779
+ id: "visualization-showcase",
2780
+ templateId: "visualization-showcase",
2781
+ title: "Visualization Showcase",
2782
+ description: "Canonical ContractSpec example for chart primitives, shared visualization contracts, and opinionated dashboard blocks.",
2783
+ tags: ["Ops", "Visualization"],
2784
+ capabilities: "Metrics, Charts, Timelines, Comparisons",
2785
+ isNew: true,
2786
+ previewUrl: "/sandbox?template=visualization-showcase",
2787
+ docsUrl: "/docs/examples/visualization-showcase"
2788
+ },
2743
2789
  {
2744
2790
  id: "agent-console",
2745
2791
  templateId: "agent-console",
@@ -2749,7 +2795,18 @@ var templates = [
2749
2795
  capabilities: "Tools, Agents, Runs, Metrics",
2750
2796
  isNew: true,
2751
2797
  previewUrl: "/sandbox?template=agent-console",
2752
- docsUrl: "/docs/templates/agent-console"
2798
+ docsUrl: "/docs/examples/agent-console"
2799
+ },
2800
+ {
2801
+ id: "ai-chat-assistant",
2802
+ templateId: "ai-chat-assistant",
2803
+ title: "AI Chat Assistant",
2804
+ description: "Focused assistant template with reasoning, sources, suggestions, and MCP-aware tooling.",
2805
+ tags: ["AI", "Ops"],
2806
+ capabilities: "Chat UX, Sources, Suggestions, MCP",
2807
+ isNew: true,
2808
+ previewUrl: "/sandbox?template=ai-chat-assistant",
2809
+ docsUrl: "/docs/examples/ai-chat-assistant"
2753
2810
  },
2754
2811
  {
2755
2812
  id: "workflow-system",
@@ -2760,7 +2817,7 @@ var templates = [
2760
2817
  capabilities: "Workflows, Approvals, State Machine",
2761
2818
  isNew: true,
2762
2819
  previewUrl: "/sandbox?template=workflow-system",
2763
- docsUrl: "/docs/templates/workflow-system"
2820
+ docsUrl: "/docs/examples/workflow-system"
2764
2821
  },
2765
2822
  {
2766
2823
  id: "marketplace",
@@ -20,11 +20,14 @@ var MessagingWorkspace = dynamic(() => import("@contractspec/bundle.library/comp
20
20
  var RecipesExperience = dynamic(() => import("@contractspec/bundle.library/components/templates/recipes/RecipeList").then((mod) => mod.RecipeList), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
21
21
  var SaasDashboard = dynamic(() => import("@contractspec/example.saas-boilerplate").then((mod) => mod.SaasDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
22
22
  var CrmDashboard = dynamic(() => import("@contractspec/example.crm-pipeline").then((mod) => mod.CrmDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
23
+ var DataGridShowcase = dynamic(() => import("@contractspec/example.data-grid-showcase/ui").then((mod) => mod.DataGridShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
24
+ var VisualizationShowcase = dynamic(() => import("@contractspec/example.visualization-showcase/ui").then((mod) => mod.VisualizationShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
23
25
  var AgentDashboard = dynamic(() => import("@contractspec/example.agent-console/ui").then((mod) => mod.AgentDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
24
26
  var WorkflowDashboard = dynamic(() => import("@contractspec/example.workflow-system/ui").then((mod) => mod.WorkflowDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
25
27
  var MarketplaceDashboard = dynamic(() => import("@contractspec/example.marketplace/ui").then((mod) => mod.MarketplaceDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
26
28
  var IntegrationDashboard = dynamic(() => import("@contractspec/example.integration-hub/ui").then((mod) => mod.IntegrationDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
27
29
  var AnalyticsDashboard = dynamic(() => import("@contractspec/example.analytics-dashboard").then((mod) => mod.AnalyticsDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
30
+ var AiChatAssistantDashboard = dynamic(() => import("@contractspec/example.ai-chat-assistant").then((mod) => mod.AiChatAssistantDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV(LoadingSpinner, {}, undefined, false, undefined, this) });
28
31
  var TemplatePreviewModal = ({
29
32
  templateId,
30
33
  onClose
@@ -66,6 +69,20 @@ var TemplatePreviewModal = ({
66
69
  showSaveAction: false,
67
70
  children: /* @__PURE__ */ jsxDEV(CrmDashboard, {}, undefined, false, undefined, this)
68
71
  }, undefined, false, undefined, this);
72
+ case "data-grid-showcase":
73
+ return /* @__PURE__ */ jsxDEV(TemplateShell, {
74
+ title: "Data Grid Showcase",
75
+ description: "Shared ContractSpec table primitives with client, server, and DataView-driven lanes.",
76
+ showSaveAction: false,
77
+ children: /* @__PURE__ */ jsxDEV(DataGridShowcase, {}, undefined, false, undefined, this)
78
+ }, undefined, false, undefined, this);
79
+ case "visualization-showcase":
80
+ return /* @__PURE__ */ jsxDEV(TemplateShell, {
81
+ title: "Visualization Showcase",
82
+ description: "ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers.",
83
+ showSaveAction: false,
84
+ children: /* @__PURE__ */ jsxDEV(VisualizationShowcase, {}, undefined, false, undefined, this)
85
+ }, undefined, false, undefined, this);
69
86
  case "agent-console":
70
87
  return /* @__PURE__ */ jsxDEV(TemplateShell, {
71
88
  title: "AI Agent Console",
@@ -73,6 +90,13 @@ var TemplatePreviewModal = ({
73
90
  showSaveAction: false,
74
91
  children: /* @__PURE__ */ jsxDEV(AgentDashboard, {}, undefined, false, undefined, this)
75
92
  }, undefined, false, undefined, this);
93
+ case "ai-chat-assistant":
94
+ return /* @__PURE__ */ jsxDEV(TemplateShell, {
95
+ title: "AI Chat Assistant",
96
+ description: "Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools.",
97
+ showSaveAction: false,
98
+ children: /* @__PURE__ */ jsxDEV(AiChatAssistantDashboard, {}, undefined, false, undefined, this)
99
+ }, undefined, false, undefined, this);
76
100
  case "workflow-system":
77
101
  return /* @__PURE__ */ jsxDEV(TemplateShell, {
78
102
  title: "Workflow System",
@@ -2580,11 +2580,14 @@ var MessagingWorkspace = dynamic(() => import("@contractspec/bundle.library/comp
2580
2580
  var RecipesExperience = dynamic(() => import("@contractspec/bundle.library/components/templates/recipes/RecipeList").then((mod) => mod.RecipeList), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2581
2581
  var SaasDashboard = dynamic(() => import("@contractspec/example.saas-boilerplate").then((mod) => mod.SaasDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2582
2582
  var CrmDashboard = dynamic(() => import("@contractspec/example.crm-pipeline").then((mod) => mod.CrmDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
+ var DataGridShowcase = dynamic(() => import("@contractspec/example.data-grid-showcase/ui").then((mod) => mod.DataGridShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
+ var VisualizationShowcase = dynamic(() => import("@contractspec/example.visualization-showcase/ui").then((mod) => mod.VisualizationShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
2585
  var AgentDashboard = dynamic(() => import("@contractspec/example.agent-console/ui").then((mod) => mod.AgentDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
2586
  var WorkflowDashboard = dynamic(() => import("@contractspec/example.workflow-system/ui").then((mod) => mod.WorkflowDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2585
2587
  var MarketplaceDashboard = dynamic(() => import("@contractspec/example.marketplace/ui").then((mod) => mod.MarketplaceDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2586
2588
  var IntegrationDashboard = dynamic(() => import("@contractspec/example.integration-hub/ui").then((mod) => mod.IntegrationDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2587
2589
  var AnalyticsDashboard = dynamic(() => import("@contractspec/example.analytics-dashboard").then((mod) => mod.AnalyticsDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2590
+ var AiChatAssistantDashboard = dynamic(() => import("@contractspec/example.ai-chat-assistant").then((mod) => mod.AiChatAssistantDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2588
2591
  var TemplatePreviewModal = ({
2589
2592
  templateId,
2590
2593
  onClose
@@ -2626,6 +2629,20 @@ var TemplatePreviewModal = ({
2626
2629
  showSaveAction: false,
2627
2630
  children: /* @__PURE__ */ jsxDEV11(CrmDashboard, {}, undefined, false, undefined, this)
2628
2631
  }, undefined, false, undefined, this);
2632
+ case "data-grid-showcase":
2633
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2634
+ title: "Data Grid Showcase",
2635
+ description: "Shared ContractSpec table primitives with client, server, and DataView-driven lanes.",
2636
+ showSaveAction: false,
2637
+ children: /* @__PURE__ */ jsxDEV11(DataGridShowcase, {}, undefined, false, undefined, this)
2638
+ }, undefined, false, undefined, this);
2639
+ case "visualization-showcase":
2640
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2641
+ title: "Visualization Showcase",
2642
+ description: "ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers.",
2643
+ showSaveAction: false,
2644
+ children: /* @__PURE__ */ jsxDEV11(VisualizationShowcase, {}, undefined, false, undefined, this)
2645
+ }, undefined, false, undefined, this);
2629
2646
  case "agent-console":
2630
2647
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2631
2648
  title: "AI Agent Console",
@@ -2633,6 +2650,13 @@ var TemplatePreviewModal = ({
2633
2650
  showSaveAction: false,
2634
2651
  children: /* @__PURE__ */ jsxDEV11(AgentDashboard, {}, undefined, false, undefined, this)
2635
2652
  }, undefined, false, undefined, this);
2653
+ case "ai-chat-assistant":
2654
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2655
+ title: "AI Chat Assistant",
2656
+ description: "Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools.",
2657
+ showSaveAction: false,
2658
+ children: /* @__PURE__ */ jsxDEV11(AiChatAssistantDashboard, {}, undefined, false, undefined, this)
2659
+ }, undefined, false, undefined, this);
2636
2660
  case "workflow-system":
2637
2661
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2638
2662
  title: "Workflow System",
@@ -2740,6 +2764,28 @@ var templates = [
2740
2764
  previewUrl: "/sandbox?template=crm-pipeline",
2741
2765
  docsUrl: "/docs/templates/crm-pipeline"
2742
2766
  },
2767
+ {
2768
+ id: "data-grid-showcase",
2769
+ templateId: "data-grid-showcase",
2770
+ title: "Data Grid Showcase",
2771
+ description: "Focused example for ContractSpec headless tables across client, server, and DataView-driven lanes.",
2772
+ tags: ["Ops", "Business"],
2773
+ capabilities: "Tables, Sorting, Pagination, Column Controls",
2774
+ isNew: true,
2775
+ previewUrl: "/sandbox?template=data-grid-showcase",
2776
+ docsUrl: "/docs/examples/data-grid-showcase"
2777
+ },
2778
+ {
2779
+ id: "visualization-showcase",
2780
+ templateId: "visualization-showcase",
2781
+ title: "Visualization Showcase",
2782
+ description: "Canonical ContractSpec example for chart primitives, shared visualization contracts, and opinionated dashboard blocks.",
2783
+ tags: ["Ops", "Visualization"],
2784
+ capabilities: "Metrics, Charts, Timelines, Comparisons",
2785
+ isNew: true,
2786
+ previewUrl: "/sandbox?template=visualization-showcase",
2787
+ docsUrl: "/docs/examples/visualization-showcase"
2788
+ },
2743
2789
  {
2744
2790
  id: "agent-console",
2745
2791
  templateId: "agent-console",
@@ -2749,7 +2795,18 @@ var templates = [
2749
2795
  capabilities: "Tools, Agents, Runs, Metrics",
2750
2796
  isNew: true,
2751
2797
  previewUrl: "/sandbox?template=agent-console",
2752
- docsUrl: "/docs/templates/agent-console"
2798
+ docsUrl: "/docs/examples/agent-console"
2799
+ },
2800
+ {
2801
+ id: "ai-chat-assistant",
2802
+ templateId: "ai-chat-assistant",
2803
+ title: "AI Chat Assistant",
2804
+ description: "Focused assistant template with reasoning, sources, suggestions, and MCP-aware tooling.",
2805
+ tags: ["AI", "Ops"],
2806
+ capabilities: "Chat UX, Sources, Suggestions, MCP",
2807
+ isNew: true,
2808
+ previewUrl: "/sandbox?template=ai-chat-assistant",
2809
+ docsUrl: "/docs/examples/ai-chat-assistant"
2753
2810
  },
2754
2811
  {
2755
2812
  id: "workflow-system",
@@ -2760,7 +2817,7 @@ var templates = [
2760
2817
  capabilities: "Workflows, Approvals, State Machine",
2761
2818
  isNew: true,
2762
2819
  previewUrl: "/sandbox?template=workflow-system",
2763
- docsUrl: "/docs/templates/workflow-system"
2820
+ docsUrl: "/docs/examples/workflow-system"
2764
2821
  },
2765
2822
  {
2766
2823
  id: "marketplace",
@@ -2580,11 +2580,14 @@ var MessagingWorkspace = dynamic(() => import("@contractspec/bundle.library/comp
2580
2580
  var RecipesExperience = dynamic(() => import("@contractspec/bundle.library/components/templates/recipes/RecipeList").then((mod) => mod.RecipeList), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2581
2581
  var SaasDashboard = dynamic(() => import("@contractspec/example.saas-boilerplate").then((mod) => mod.SaasDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2582
2582
  var CrmDashboard = dynamic(() => import("@contractspec/example.crm-pipeline").then((mod) => mod.CrmDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
+ var DataGridShowcase = dynamic(() => import("@contractspec/example.data-grid-showcase/ui").then((mod) => mod.DataGridShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
+ var VisualizationShowcase = dynamic(() => import("@contractspec/example.visualization-showcase/ui").then((mod) => mod.VisualizationShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
2585
  var AgentDashboard = dynamic(() => import("@contractspec/example.agent-console/ui").then((mod) => mod.AgentDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2584
2586
  var WorkflowDashboard = dynamic(() => import("@contractspec/example.workflow-system/ui").then((mod) => mod.WorkflowDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2585
2587
  var MarketplaceDashboard = dynamic(() => import("@contractspec/example.marketplace/ui").then((mod) => mod.MarketplaceDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2586
2588
  var IntegrationDashboard = dynamic(() => import("@contractspec/example.integration-hub/ui").then((mod) => mod.IntegrationDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2587
2589
  var AnalyticsDashboard = dynamic(() => import("@contractspec/example.analytics-dashboard").then((mod) => mod.AnalyticsDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2590
+ var AiChatAssistantDashboard = dynamic(() => import("@contractspec/example.ai-chat-assistant").then((mod) => mod.AiChatAssistantDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2588
2591
  var TemplatePreviewModal = ({
2589
2592
  templateId,
2590
2593
  onClose
@@ -2626,6 +2629,20 @@ var TemplatePreviewModal = ({
2626
2629
  showSaveAction: false,
2627
2630
  children: /* @__PURE__ */ jsxDEV11(CrmDashboard, {}, undefined, false, undefined, this)
2628
2631
  }, undefined, false, undefined, this);
2632
+ case "data-grid-showcase":
2633
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2634
+ title: "Data Grid Showcase",
2635
+ description: "Shared ContractSpec table primitives with client, server, and DataView-driven lanes.",
2636
+ showSaveAction: false,
2637
+ children: /* @__PURE__ */ jsxDEV11(DataGridShowcase, {}, undefined, false, undefined, this)
2638
+ }, undefined, false, undefined, this);
2639
+ case "visualization-showcase":
2640
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2641
+ title: "Visualization Showcase",
2642
+ description: "ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers.",
2643
+ showSaveAction: false,
2644
+ children: /* @__PURE__ */ jsxDEV11(VisualizationShowcase, {}, undefined, false, undefined, this)
2645
+ }, undefined, false, undefined, this);
2629
2646
  case "agent-console":
2630
2647
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2631
2648
  title: "AI Agent Console",
@@ -2633,6 +2650,13 @@ var TemplatePreviewModal = ({
2633
2650
  showSaveAction: false,
2634
2651
  children: /* @__PURE__ */ jsxDEV11(AgentDashboard, {}, undefined, false, undefined, this)
2635
2652
  }, undefined, false, undefined, this);
2653
+ case "ai-chat-assistant":
2654
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2655
+ title: "AI Chat Assistant",
2656
+ description: "Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools.",
2657
+ showSaveAction: false,
2658
+ children: /* @__PURE__ */ jsxDEV11(AiChatAssistantDashboard, {}, undefined, false, undefined, this)
2659
+ }, undefined, false, undefined, this);
2636
2660
  case "workflow-system":
2637
2661
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2638
2662
  title: "Workflow System",
@@ -2740,6 +2764,28 @@ var templates = [
2740
2764
  previewUrl: "/sandbox?template=crm-pipeline",
2741
2765
  docsUrl: "/docs/templates/crm-pipeline"
2742
2766
  },
2767
+ {
2768
+ id: "data-grid-showcase",
2769
+ templateId: "data-grid-showcase",
2770
+ title: "Data Grid Showcase",
2771
+ description: "Focused example for ContractSpec headless tables across client, server, and DataView-driven lanes.",
2772
+ tags: ["Ops", "Business"],
2773
+ capabilities: "Tables, Sorting, Pagination, Column Controls",
2774
+ isNew: true,
2775
+ previewUrl: "/sandbox?template=data-grid-showcase",
2776
+ docsUrl: "/docs/examples/data-grid-showcase"
2777
+ },
2778
+ {
2779
+ id: "visualization-showcase",
2780
+ templateId: "visualization-showcase",
2781
+ title: "Visualization Showcase",
2782
+ description: "Canonical ContractSpec example for chart primitives, shared visualization contracts, and opinionated dashboard blocks.",
2783
+ tags: ["Ops", "Visualization"],
2784
+ capabilities: "Metrics, Charts, Timelines, Comparisons",
2785
+ isNew: true,
2786
+ previewUrl: "/sandbox?template=visualization-showcase",
2787
+ docsUrl: "/docs/examples/visualization-showcase"
2788
+ },
2743
2789
  {
2744
2790
  id: "agent-console",
2745
2791
  templateId: "agent-console",
@@ -2749,7 +2795,18 @@ var templates = [
2749
2795
  capabilities: "Tools, Agents, Runs, Metrics",
2750
2796
  isNew: true,
2751
2797
  previewUrl: "/sandbox?template=agent-console",
2752
- docsUrl: "/docs/templates/agent-console"
2798
+ docsUrl: "/docs/examples/agent-console"
2799
+ },
2800
+ {
2801
+ id: "ai-chat-assistant",
2802
+ templateId: "ai-chat-assistant",
2803
+ title: "AI Chat Assistant",
2804
+ description: "Focused assistant template with reasoning, sources, suggestions, and MCP-aware tooling.",
2805
+ tags: ["AI", "Ops"],
2806
+ capabilities: "Chat UX, Sources, Suggestions, MCP",
2807
+ isNew: true,
2808
+ previewUrl: "/sandbox?template=ai-chat-assistant",
2809
+ docsUrl: "/docs/examples/ai-chat-assistant"
2753
2810
  },
2754
2811
  {
2755
2812
  id: "workflow-system",
@@ -2760,7 +2817,7 @@ var templates = [
2760
2817
  capabilities: "Workflows, Approvals, State Machine",
2761
2818
  isNew: true,
2762
2819
  previewUrl: "/sandbox?template=workflow-system",
2763
- docsUrl: "/docs/templates/workflow-system"
2820
+ docsUrl: "/docs/examples/workflow-system"
2764
2821
  },
2765
2822
  {
2766
2823
  id: "marketplace",
@@ -4438,9 +4495,9 @@ import { techContractsDocBlocks } from "@contractspec/bundle.library/components/
4438
4495
  import {
4439
4496
  docBlocksToPresentationRoutes,
4440
4497
  listRegisteredDocBlocks,
4441
- metaDocs,
4442
- techContractsDocs
4498
+ metaDocs
4443
4499
  } from "@contractspec/lib.contracts-spec/docs";
4500
+ import { techContractsDocs } from "@contractspec/lib.contracts-spec/presentations";
4444
4501
  var componentMap = {
4445
4502
  ...landingComponentMap,
4446
4503
  ...docsComponentMap
@@ -4481,7 +4538,7 @@ import {
4481
4538
  registerBasicValidation,
4482
4539
  registerDefaultReactRenderer,
4483
4540
  registerReactToMarkdownRenderer
4484
- } from "@contractspec/lib.contracts-spec/presentations/transform-engine";
4541
+ } from "@contractspec/lib.contracts-runtime-client-react/transform-engine";
4485
4542
  function createPresentationEngine(customComponentMap) {
4486
4543
  const engine = createDefaultTransformEngine();
4487
4544
  registerDefaultReactRenderer(engine);