@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.
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +240 -198
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +242 -345
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.js +2 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/shared/index.d.ts +46 -35
- package/dist/shared/index.js +99 -208
- package/dist/shared/index.js.map +1 -1
- package/dist/styles.css +809 -13
- package/dist/view/index.d.ts +12 -4
- package/dist/view/index.js +1528 -217
- package/dist/view/index.js.map +1 -1
- package/package.json +7 -6
package/dist/view/index.d.ts
CHANGED
|
@@ -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 —
|
|
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
|
|
106
|
-
|
|
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 };
|