@mdxui/named 7.0.0 → 8.1.0

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.
@@ -33,6 +33,10 @@ type NamedAgentFeature = {
33
33
  text: string;
34
34
  }[];
35
35
  code: string;
36
+ /** Shiki language id for the code window. Optional — the persona DSL is
37
+ * valid TypeScript, which is the default; the cascade may emit any
38
+ * language per agent (python, sql, yaml, …). */
39
+ language?: string;
36
40
  badge: string;
37
41
  };
38
42
  type NamedAgentFeatures = {
@@ -40,7 +44,7 @@ type NamedAgentFeatures = {
40
44
  description: string;
41
45
  features: NamedAgentFeature[];
42
46
  };
43
- /** Pricing — Pricing1 (single tier) vs Pricing2 (multi-tier) fork, discriminated
47
+ /** Pricing — single-tier vs multi-tier fork, discriminated
44
48
  * on `variant` so both are expressible on one wire field. */
45
49
  type NamedAgentPricingFeature = {
46
50
  text: string;
@@ -102,7 +106,11 @@ type NamedAgentLandingContent = {
102
106
  cta: NamedAgentCta;
103
107
  };
104
108
 
105
- type NamedAgentViewProps = DialectViewProps<NamedAgentLandingContent>;
106
- declare function NamedAgentView({ content, theme, mode, brandName, hostname }: NamedAgentViewProps): react_jsx_runtime.JSX.Element;
109
+ type NamedAgentTemplate = 'studio' | 'executive' | 'gallery';
110
+ type NamedAgentViewProps = DialectViewProps<NamedAgentLandingContent> & {
111
+ /** Design language for the page. Defaults to the named-agents baseline. */
112
+ template?: NamedAgentTemplate;
113
+ };
114
+ declare function NamedAgentView({ content, theme, mode, brandName, hostname, template }: NamedAgentViewProps): react_jsx_runtime.JSX.Element;
107
115
 
108
- export { type NamedAgentCta, type NamedAgentCtaButton, type NamedAgentFaq, type NamedAgentFaqItem, type NamedAgentFeature, type NamedAgentFeatures, type NamedAgentHero, type NamedAgentLandingContent, type NamedAgentPricing, type NamedAgentPricingFeature, type NamedAgentPricingTier, NamedAgentView, type NamedAgentViewProps, NamedAgentView as default };
116
+ export { type NamedAgentCta, type NamedAgentCtaButton, type NamedAgentFaq, type NamedAgentFaqItem, type NamedAgentFeature, type NamedAgentFeatures, type NamedAgentHero, type NamedAgentLandingContent, type NamedAgentPricing, type NamedAgentPricingFeature, type NamedAgentPricingTier, type NamedAgentTemplate, NamedAgentView, type NamedAgentViewProps, NamedAgentView as default };