@mdxui/named 6.4.0 → 8.0.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.
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- export { P as Problem, a as ProblemProps, W as WorkflowItem } from '../problem-B2-XszSB.js';
3
2
  import { IconType } from 'react-icons';
4
3
 
5
4
  interface HeroProps {
@@ -29,6 +28,8 @@ interface Feature {
29
28
  description: string;
30
29
  items: FeatureItem[];
31
30
  code: string;
31
+ /** Shiki language id; defaults to TypeScript (the persona DSL). */
32
+ language?: string;
32
33
  badge: string;
33
34
  }
34
35
  interface FeaturesProps {
@@ -122,7 +123,7 @@ interface NavigationProps {
122
123
  links?: NavLink[];
123
124
  ctaText?: string;
124
125
  ctaHref?: string;
125
- ctaVariant?: 'default' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive';
126
+ ctaVariant?: 'default' | 'secondary' | 'outline' | 'ghost' | 'link' | 'accent';
126
127
  className?: string;
127
128
  maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full';
128
129
  sticky?: boolean;
@@ -153,53 +154,4 @@ interface FooterProps {
153
154
  }
154
155
  declare function Footer({ logo, description, socialLinks, quickLinks, contactTitle, emailPlaceholder, onEmailSubmit, copyrightText, className, }: FooterProps): react_jsx_runtime.JSX.Element;
155
156
 
156
- interface FormField {
157
- id: string;
158
- label: string;
159
- type: 'text' | 'email' | 'tel' | 'textarea';
160
- placeholder?: string;
161
- required?: boolean;
162
- }
163
- interface ContactProps {
164
- heading?: string;
165
- subheading?: string;
166
- fields?: FormField[];
167
- submitButtonText?: string;
168
- successMessage?: string;
169
- errorMessage?: string;
170
- onSubmit?: (data: Record<string, string>) => Promise<void> | void;
171
- backgroundColor?: string;
172
- className?: string;
173
- }
174
- declare function Contact({ heading, subheading, fields, submitButtonText, successMessage, errorMessage, onSubmit, backgroundColor, className, }: ContactProps): react_jsx_runtime.JSX.Element;
175
-
176
- interface IntegrationNode {
177
- type: 'image' | 'icon' | 'component';
178
- content: string | React.ReactNode;
179
- alt?: string;
180
- className?: string;
181
- }
182
- interface AnimationConfig {
183
- startYOffset?: number;
184
- endYOffset?: number;
185
- curvature?: number;
186
- duration?: number;
187
- reverse?: boolean;
188
- }
189
- interface IntegrationProps {
190
- title?: string;
191
- description?: string;
192
- buttonText?: string;
193
- buttonHref?: string;
194
- leftNode: IntegrationNode;
195
- rightNode: IntegrationNode;
196
- beamAnimations?: AnimationConfig[];
197
- gridPatternWidth?: number;
198
- gridPatternHeight?: number;
199
- maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl';
200
- className?: string;
201
- contentOrder?: 'left' | 'right';
202
- }
203
- declare function Integration({ title, description, buttonText, buttonHref, leftNode, rightNode, beamAnimations, gridPatternWidth, gridPatternHeight, maxWidth, className, contentOrder, }: IntegrationProps): react_jsx_runtime.JSX.Element;
204
-
205
- export { type AnimationConfig, CTA, type CTAButton, type CTAProps, Contact, type ContactProps, FAQ, type FAQItem, type FAQProps, type Feature, type FeatureItem, Features, type FeaturesProps, Footer, type FooterProps, type FormField, Hero, type HeroProps, Integration, type IntegrationNode, type IntegrationProps, type NavLink, Navigation, type NavigationProps, Pricing, type PricingFeature, type PricingProps, type PricingTier, type PricingTierFeature, PricingTiers, type PricingTiersProps, type QuickLink, type SocialLink };
157
+ export { CTA, type CTAButton, type CTAProps, FAQ, type FAQItem, type FAQProps, type Feature, type FeatureItem, Features, type FeaturesProps, Footer, type FooterProps, Hero, type HeroProps, type NavLink, Navigation, type NavigationProps, Pricing, type PricingFeature, type PricingProps, type PricingTier, type PricingTierFeature, PricingTiers, type PricingTiersProps, type QuickLink, type SocialLink };