@contractspec/bundle.marketing 3.7.7 → 3.8.2

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.
@@ -2575,11 +2575,14 @@ var MessagingWorkspace = dynamic(() => import("@contractspec/bundle.library/comp
2575
2575
  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) });
2576
2576
  var SaasDashboard = dynamic(() => import("@contractspec/example.saas-boilerplate").then((mod) => mod.SaasDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2577
2577
  var CrmDashboard = dynamic(() => import("@contractspec/example.crm-pipeline").then((mod) => mod.CrmDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2578
+ var DataGridShowcase = dynamic(() => import("@contractspec/example.data-grid-showcase/ui").then((mod) => mod.DataGridShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2579
+ var VisualizationShowcase = dynamic(() => import("@contractspec/example.visualization-showcase/ui").then((mod) => mod.VisualizationShowcase), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2578
2580
  var AgentDashboard = dynamic(() => import("@contractspec/example.agent-console/ui").then((mod) => mod.AgentDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2579
2581
  var WorkflowDashboard = dynamic(() => import("@contractspec/example.workflow-system/ui").then((mod) => mod.WorkflowDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2580
2582
  var MarketplaceDashboard = dynamic(() => import("@contractspec/example.marketplace/ui").then((mod) => mod.MarketplaceDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2581
2583
  var IntegrationDashboard = dynamic(() => import("@contractspec/example.integration-hub/ui").then((mod) => mod.IntegrationDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2582
2584
  var AnalyticsDashboard = dynamic(() => import("@contractspec/example.analytics-dashboard").then((mod) => mod.AnalyticsDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2585
+ var AiChatAssistantDashboard = dynamic(() => import("@contractspec/example.ai-chat-assistant").then((mod) => mod.AiChatAssistantDashboard), { ssr: false, loading: () => /* @__PURE__ */ jsxDEV11(LoadingSpinner, {}, undefined, false, undefined, this) });
2583
2586
  var TemplatePreviewModal = ({
2584
2587
  templateId,
2585
2588
  onClose
@@ -2621,6 +2624,20 @@ var TemplatePreviewModal = ({
2621
2624
  showSaveAction: false,
2622
2625
  children: /* @__PURE__ */ jsxDEV11(CrmDashboard, {}, undefined, false, undefined, this)
2623
2626
  }, undefined, false, undefined, this);
2627
+ case "data-grid-showcase":
2628
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2629
+ title: "Data Grid Showcase",
2630
+ description: "Shared ContractSpec table primitives with client, server, and DataView-driven lanes.",
2631
+ showSaveAction: false,
2632
+ children: /* @__PURE__ */ jsxDEV11(DataGridShowcase, {}, undefined, false, undefined, this)
2633
+ }, undefined, false, undefined, this);
2634
+ case "visualization-showcase":
2635
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2636
+ title: "Visualization Showcase",
2637
+ description: "ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers.",
2638
+ showSaveAction: false,
2639
+ children: /* @__PURE__ */ jsxDEV11(VisualizationShowcase, {}, undefined, false, undefined, this)
2640
+ }, undefined, false, undefined, this);
2624
2641
  case "agent-console":
2625
2642
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2626
2643
  title: "AI Agent Console",
@@ -2628,6 +2645,13 @@ var TemplatePreviewModal = ({
2628
2645
  showSaveAction: false,
2629
2646
  children: /* @__PURE__ */ jsxDEV11(AgentDashboard, {}, undefined, false, undefined, this)
2630
2647
  }, undefined, false, undefined, this);
2648
+ case "ai-chat-assistant":
2649
+ return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2650
+ title: "AI Chat Assistant",
2651
+ description: "Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools.",
2652
+ showSaveAction: false,
2653
+ children: /* @__PURE__ */ jsxDEV11(AiChatAssistantDashboard, {}, undefined, false, undefined, this)
2654
+ }, undefined, false, undefined, this);
2631
2655
  case "workflow-system":
2632
2656
  return /* @__PURE__ */ jsxDEV11(TemplateShell, {
2633
2657
  title: "Workflow System",
@@ -2735,6 +2759,28 @@ var templates = [
2735
2759
  previewUrl: "/sandbox?template=crm-pipeline",
2736
2760
  docsUrl: "/docs/templates/crm-pipeline"
2737
2761
  },
2762
+ {
2763
+ id: "data-grid-showcase",
2764
+ templateId: "data-grid-showcase",
2765
+ title: "Data Grid Showcase",
2766
+ description: "Focused example for ContractSpec headless tables across client, server, and DataView-driven lanes.",
2767
+ tags: ["Ops", "Business"],
2768
+ capabilities: "Tables, Sorting, Pagination, Column Controls",
2769
+ isNew: true,
2770
+ previewUrl: "/sandbox?template=data-grid-showcase",
2771
+ docsUrl: "/docs/examples/data-grid-showcase"
2772
+ },
2773
+ {
2774
+ id: "visualization-showcase",
2775
+ templateId: "visualization-showcase",
2776
+ title: "Visualization Showcase",
2777
+ description: "Canonical ContractSpec example for chart primitives, shared visualization contracts, and opinionated dashboard blocks.",
2778
+ tags: ["Ops", "Visualization"],
2779
+ capabilities: "Metrics, Charts, Timelines, Comparisons",
2780
+ isNew: true,
2781
+ previewUrl: "/sandbox?template=visualization-showcase",
2782
+ docsUrl: "/docs/examples/visualization-showcase"
2783
+ },
2738
2784
  {
2739
2785
  id: "agent-console",
2740
2786
  templateId: "agent-console",
@@ -2744,7 +2790,18 @@ var templates = [
2744
2790
  capabilities: "Tools, Agents, Runs, Metrics",
2745
2791
  isNew: true,
2746
2792
  previewUrl: "/sandbox?template=agent-console",
2747
- docsUrl: "/docs/templates/agent-console"
2793
+ docsUrl: "/docs/examples/agent-console"
2794
+ },
2795
+ {
2796
+ id: "ai-chat-assistant",
2797
+ templateId: "ai-chat-assistant",
2798
+ title: "AI Chat Assistant",
2799
+ description: "Focused assistant template with reasoning, sources, suggestions, and MCP-aware tooling.",
2800
+ tags: ["AI", "Ops"],
2801
+ capabilities: "Chat UX, Sources, Suggestions, MCP",
2802
+ isNew: true,
2803
+ previewUrl: "/sandbox?template=ai-chat-assistant",
2804
+ docsUrl: "/docs/examples/ai-chat-assistant"
2748
2805
  },
2749
2806
  {
2750
2807
  id: "workflow-system",
@@ -2755,7 +2812,7 @@ var templates = [
2755
2812
  capabilities: "Workflows, Approvals, State Machine",
2756
2813
  isNew: true,
2757
2814
  previewUrl: "/sandbox?template=workflow-system",
2758
- docsUrl: "/docs/templates/workflow-system"
2815
+ docsUrl: "/docs/examples/workflow-system"
2759
2816
  },
2760
2817
  {
2761
2818
  id: "marketplace",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/bundle.marketing",
3
- "version": "3.7.7",
3
+ "version": "3.8.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",
@@ -340,26 +340,28 @@
340
340
  },
341
341
  "types": "./dist/index.d.ts",
342
342
  "dependencies": {
343
- "@contractspec/bundle.library": "3.7.7",
344
- "@contractspec/lib.surface-runtime": "0.5.7",
345
- "@contractspec/example.agent-console": "3.7.7",
346
- "@contractspec/example.analytics-dashboard": "3.8.0",
347
- "@contractspec/example.crm-pipeline": "3.7.7",
348
- "@contractspec/example.integration-hub": "3.7.7",
349
- "@contractspec/example.marketplace": "3.7.7",
350
- "@contractspec/example.saas-boilerplate": "3.7.7",
351
- "@contractspec/example.workflow-system": "3.7.7",
352
- "@contractspec/lib.contracts-spec": "4.0.0",
353
- "@contractspec/lib.contracts-runtime-client-react": "3.7.7",
354
- "@contractspec/lib.design-system": "3.8.0",
355
- "@contractspec/lib.email": "3.7.6",
356
- "@contractspec/lib.example-shared-ui": "6.0.7",
357
- "@contractspec/lib.logger": "3.7.6",
358
- "@contractspec/lib.runtime-sandbox": "2.7.6",
359
- "@contractspec/lib.ui-kit-core": "3.7.6",
360
- "@contractspec/lib.ui-kit-web": "3.8.0",
361
- "@contractspec/lib.ui-link": "3.7.6",
362
- "@contractspec/module.examples": "3.7.7",
343
+ "@contractspec/bundle.library": "3.8.2",
344
+ "@contractspec/lib.surface-runtime": "0.5.10",
345
+ "@contractspec/example.agent-console": "3.8.2",
346
+ "@contractspec/example.analytics-dashboard": "3.9.2",
347
+ "@contractspec/example.crm-pipeline": "3.7.10",
348
+ "@contractspec/example.data-grid-showcase": "3.8.2",
349
+ "@contractspec/example.integration-hub": "3.8.2",
350
+ "@contractspec/example.marketplace": "3.8.2",
351
+ "@contractspec/example.saas-boilerplate": "3.8.2",
352
+ "@contractspec/example.visualization-showcase": "3.9.2",
353
+ "@contractspec/example.workflow-system": "3.8.2",
354
+ "@contractspec/lib.contracts-spec": "4.1.2",
355
+ "@contractspec/lib.contracts-runtime-client-react": "3.7.10",
356
+ "@contractspec/lib.design-system": "3.8.3",
357
+ "@contractspec/lib.email": "3.7.8",
358
+ "@contractspec/lib.example-shared-ui": "6.0.10",
359
+ "@contractspec/lib.logger": "3.7.8",
360
+ "@contractspec/lib.runtime-sandbox": "2.7.9",
361
+ "@contractspec/lib.ui-kit-core": "3.7.8",
362
+ "@contractspec/lib.ui-kit-web": "3.9.2",
363
+ "@contractspec/lib.ui-link": "3.7.8",
364
+ "@contractspec/module.examples": "3.8.2",
363
365
  "@electric-sql/pglite": "^0.4.1",
364
366
  "@hookform/resolvers": "^5.2.2",
365
367
  "@scaleway/sdk": "^3.4.1",
@@ -374,9 +376,9 @@
374
376
  },
375
377
  "devDependencies": {
376
378
  "@types/react": "~19.2.14",
377
- "@contractspec/tool.typescript": "3.7.6",
379
+ "@contractspec/tool.typescript": "3.7.8",
378
380
  "typescript": "^5.9.3",
379
- "@contractspec/tool.bun": "3.7.6"
381
+ "@contractspec/tool.bun": "3.7.8"
380
382
  },
381
383
  "publishConfig": {
382
384
  "access": "public",
@@ -70,6 +70,30 @@ const templates = [
70
70
  previewUrl: '/sandbox?template=crm-pipeline',
71
71
  docsUrl: '/docs/templates/crm-pipeline',
72
72
  },
73
+ {
74
+ id: 'data-grid-showcase',
75
+ templateId: 'data-grid-showcase' as TemplateId,
76
+ title: 'Data Grid Showcase',
77
+ description:
78
+ 'Focused example for ContractSpec headless tables across client, server, and DataView-driven lanes.',
79
+ tags: ['Ops', 'Business'],
80
+ capabilities: 'Tables, Sorting, Pagination, Column Controls',
81
+ isNew: true,
82
+ previewUrl: '/sandbox?template=data-grid-showcase',
83
+ docsUrl: '/docs/examples/data-grid-showcase',
84
+ },
85
+ {
86
+ id: 'visualization-showcase',
87
+ templateId: 'visualization-showcase' as TemplateId,
88
+ title: 'Visualization Showcase',
89
+ description:
90
+ 'Canonical ContractSpec example for chart primitives, shared visualization contracts, and opinionated dashboard blocks.',
91
+ tags: ['Ops', 'Visualization'],
92
+ capabilities: 'Metrics, Charts, Timelines, Comparisons',
93
+ isNew: true,
94
+ previewUrl: '/sandbox?template=visualization-showcase',
95
+ docsUrl: '/docs/examples/visualization-showcase',
96
+ },
73
97
  {
74
98
  id: 'agent-console',
75
99
  templateId: 'agent-console' as TemplateId,
@@ -80,7 +104,19 @@ const templates = [
80
104
  capabilities: 'Tools, Agents, Runs, Metrics',
81
105
  isNew: true,
82
106
  previewUrl: '/sandbox?template=agent-console',
83
- docsUrl: '/docs/templates/agent-console',
107
+ docsUrl: '/docs/examples/agent-console',
108
+ },
109
+ {
110
+ id: 'ai-chat-assistant',
111
+ templateId: 'ai-chat-assistant' as TemplateId,
112
+ title: 'AI Chat Assistant',
113
+ description:
114
+ 'Focused assistant template with reasoning, sources, suggestions, and MCP-aware tooling.',
115
+ tags: ['AI', 'Ops'],
116
+ capabilities: 'Chat UX, Sources, Suggestions, MCP',
117
+ isNew: true,
118
+ previewUrl: '/sandbox?template=ai-chat-assistant',
119
+ docsUrl: '/docs/examples/ai-chat-assistant',
84
120
  },
85
121
  // ============================================
86
122
  // Phase 2-4 Examples
@@ -95,7 +131,7 @@ const templates = [
95
131
  capabilities: 'Workflows, Approvals, State Machine',
96
132
  isNew: true,
97
133
  previewUrl: '/sandbox?template=workflow-system',
98
- docsUrl: '/docs/templates/workflow-system',
134
+ docsUrl: '/docs/examples/workflow-system',
99
135
  },
100
136
  {
101
137
  id: 'marketplace',
@@ -56,6 +56,22 @@ const CrmDashboard = dynamic(
56
56
  { ssr: false, loading: () => <LoadingSpinner /> }
57
57
  );
58
58
 
59
+ const DataGridShowcase = dynamic(
60
+ () =>
61
+ import('@contractspec/example.data-grid-showcase/ui').then(
62
+ (mod) => mod.DataGridShowcase
63
+ ),
64
+ { ssr: false, loading: () => <LoadingSpinner /> }
65
+ );
66
+
67
+ const VisualizationShowcase = dynamic(
68
+ () =>
69
+ import('@contractspec/example.visualization-showcase/ui').then(
70
+ (mod) => mod.VisualizationShowcase
71
+ ),
72
+ { ssr: false, loading: () => <LoadingSpinner /> }
73
+ );
74
+
59
75
  const AgentDashboard = dynamic(
60
76
  () =>
61
77
  import('@contractspec/example.agent-console/ui').then(
@@ -96,6 +112,14 @@ const AnalyticsDashboard = dynamic(
96
112
  { ssr: false, loading: () => <LoadingSpinner /> }
97
113
  );
98
114
 
115
+ const AiChatAssistantDashboard = dynamic(
116
+ () =>
117
+ import('@contractspec/example.ai-chat-assistant').then(
118
+ (mod) => mod.AiChatAssistantDashboard
119
+ ),
120
+ { ssr: false, loading: () => <LoadingSpinner /> }
121
+ );
122
+
99
123
  interface TemplatePreviewModalProps {
100
124
  templateId: TemplateId | null;
101
125
  onClose: () => void;
@@ -173,6 +197,26 @@ export const TemplatePreviewModal = ({
173
197
  <CrmDashboard />
174
198
  </TemplateShell>
175
199
  );
200
+ case 'data-grid-showcase':
201
+ return (
202
+ <TemplateShell
203
+ title="Data Grid Showcase"
204
+ description="Shared ContractSpec table primitives with client, server, and DataView-driven lanes."
205
+ showSaveAction={false}
206
+ >
207
+ <DataGridShowcase />
208
+ </TemplateShell>
209
+ );
210
+ case 'visualization-showcase':
211
+ return (
212
+ <TemplateShell
213
+ title="Visualization Showcase"
214
+ description="ContractSpec-owned chart primitives rendered through shared visualization contracts and design-system wrappers."
215
+ showSaveAction={false}
216
+ >
217
+ <VisualizationShowcase />
218
+ </TemplateShell>
219
+ );
176
220
  case 'agent-console':
177
221
  return (
178
222
  <TemplateShell
@@ -183,6 +227,16 @@ export const TemplatePreviewModal = ({
183
227
  <AgentDashboard />
184
228
  </TemplateShell>
185
229
  );
230
+ case 'ai-chat-assistant':
231
+ return (
232
+ <TemplateShell
233
+ title="AI Chat Assistant"
234
+ description="Focused assistant surface with reasoning, sources, suggestions, and MCP-aware tools."
235
+ showSaveAction={false}
236
+ >
237
+ <AiChatAssistantDashboard />
238
+ </TemplateShell>
239
+ );
186
240
  case 'workflow-system':
187
241
  return (
188
242
  <TemplateShell