a2ui-react 0.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.
@@ -0,0 +1,541 @@
1
+ import { AlertComponent, MainComponent, NavComponent, SectionComponent, AsideComponent, HeaderComponent, FooterComponent, ArticleComponent, LiveRegionComponent, ProgressComponent, SkipLinkComponent, BubbleBackgroundComponent, FireworksBackgroundComponent, GravityStarsBackgroundComponent, HexagonBackgroundComponent, HoleBackgroundComponent, StarsBackgroundComponent, CopyButtonComponent, FlipButtonComponent, GlowButtonComponent, IconButtonComponent, LiquidButtonComponent, MagneticButtonComponent, RippleButtonComponent, ShimmerButtonComponent, ThemeTogglerButtonComponent, CursorComponent, ButtonComponent, CardComponent, CheckboxComponent, ModalComponent, SelectComponent, TabsComponent, TextComponent, AreaChartComponent, BarChartComponent, ChartDataItem, LineChartComponent, PieChartComponent } from 'a2ui-react-core';
2
+ export { A2UIComponent, A2UIMessage, A2UIStore, Alignment, BaseComponent, BeginRenderingMessage, ButtonComponent, CardComponent, CheckboxComponent, ColumnComponent, ComponentCatalog, ComponentNode, ComponentUpdate, DataModelUpdateMessage, DataValue, DateTimeInputComponent, DeleteSurfaceMessage, Distribution, DividerComponent, ErrorCallback, IconComponent, ImageComponent, InputType, ListComponent, MessageCallback, MessageParseError, ModalComponent, MultipleChoiceComponent, Orientation, RowComponent, SelectComponent, SelectOption, SliderComponent, StoreSnapshot, StreamParser, Surface, SurfaceUpdateMessage, TabItem, TabsComponent, TextComponent, TextFieldComponent, TextStyle, buildMessages, c, createStore, createStreamParser, getDataByPath, isBeginRenderingMessage, isDataModelUpdateMessage, isDeleteSurfaceMessage, isSurfaceUpdateMessage, parseJSONL, parseMessage, setDataByPath } from 'a2ui-react-core';
3
+ import * as a2ui_react_react from 'a2ui-react-react';
4
+ import { A2UIRenderer, DataAccessor } from 'a2ui-react-react';
5
+ export { A2UIAction, A2UIContext, A2UIContextValue, A2UIProvider, A2UIProviderProps, A2UIRenderer, A2UISurface, A2UISurfaceProps, ComponentRegistry, ComponentRenderer, ComponentRendererProps, DataAccessor, DataBinding, RendererExample, RendererProps, createRegistry, useA2UI, useAction, useDataBinding, useSurface } from 'a2ui-react-react';
6
+ import * as class_variance_authority_types from 'class-variance-authority/types';
7
+ import { VariantProps } from 'class-variance-authority';
8
+ import * as React from 'react';
9
+ import { RefObject } from 'react';
10
+ import * as react_jsx_runtime from 'react/jsx-runtime';
11
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
12
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
13
+ import * as LabelPrimitive from '@radix-ui/react-label';
14
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
15
+ import { ClassValue } from 'clsx';
16
+
17
+ declare const buttonVariants: (props?: ({
18
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
19
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
20
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
21
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
22
+ asChild?: boolean;
23
+ }
24
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
25
+
26
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
27
+
28
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
29
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
30
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
31
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
32
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
33
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
+ declare const DialogHeader: {
35
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ declare const DialogFooter: {
39
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
40
+ displayName: string;
41
+ };
42
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
43
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
44
+
45
+ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
46
+ }
47
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
48
+
49
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
50
+
51
+ declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
52
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
53
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
54
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
55
+
56
+ interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
57
+ }
58
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
59
+
60
+ interface Dimensions {
61
+ width: number;
62
+ height: number;
63
+ }
64
+ /**
65
+ * Hook to track container dimensions using ResizeObserver.
66
+ * Automatically updates when the container is resized.
67
+ *
68
+ * @param containerRef - React ref to the container element
69
+ * @param initialDimensions - Initial dimensions before first measurement
70
+ * @returns Current dimensions of the container
71
+ */
72
+ declare function useContainerDimensions(containerRef: RefObject<HTMLElement | null>, initialDimensions?: Dimensions): Dimensions;
73
+
74
+ /**
75
+ * Hook to detect if the user prefers reduced motion
76
+ * Respects the prefers-reduced-motion media query
77
+ *
78
+ * @returns boolean - true if the user prefers reduced motion
79
+ *
80
+ * @example
81
+ * ```tsx
82
+ * const prefersReducedMotion = useReducedMotion()
83
+ * const duration = prefersReducedMotion ? 0 : 0.3
84
+ * ```
85
+ */
86
+ declare function useReducedMotion(): boolean;
87
+
88
+ declare function cn(...inputs: ClassValue[]): string;
89
+
90
+ /**
91
+ * @extension a2ui-react-shadcn
92
+ * Alert Component Renderer
93
+ * Renders accessible alert messages with role="alert" for screen readers.
94
+ */
95
+
96
+ declare const AlertRenderer: A2UIRenderer<AlertComponent>;
97
+
98
+ /**
99
+ * @extension a2ui-react-shadcn
100
+ * Semantic HTML Landmark Renderers
101
+ * These components provide proper page structure for screen reader navigation.
102
+ */
103
+
104
+ declare const MainRenderer: A2UIRenderer<MainComponent>;
105
+ declare const NavRenderer: A2UIRenderer<NavComponent>;
106
+ declare const SectionRenderer: A2UIRenderer<SectionComponent>;
107
+ declare const AsideRenderer: A2UIRenderer<AsideComponent>;
108
+ declare const HeaderRenderer: A2UIRenderer<HeaderComponent>;
109
+ declare const FooterRenderer: A2UIRenderer<FooterComponent>;
110
+ declare const ArticleRenderer: A2UIRenderer<ArticleComponent>;
111
+
112
+ /**
113
+ * @extension a2ui-react-shadcn
114
+ * LiveRegion Component Renderer
115
+ * Renders ARIA live regions for dynamic content announcements.
116
+ */
117
+
118
+ declare const LiveRegionRenderer: A2UIRenderer<LiveRegionComponent>;
119
+
120
+ /**
121
+ * @extension a2ui-react-shadcn
122
+ * Progress Component Renderer
123
+ * Renders an accessible progress indicator.
124
+ */
125
+
126
+ declare const ProgressRenderer: A2UIRenderer<ProgressComponent>;
127
+
128
+ /**
129
+ * @extension a2ui-react-shadcn
130
+ * SkipLink Component Renderer
131
+ * Renders a skip navigation link for keyboard users.
132
+ */
133
+
134
+ declare const SkipLinkRenderer: A2UIRenderer<SkipLinkComponent>;
135
+
136
+ interface AuroraBackgroundComponent {
137
+ type: 'AuroraBackground';
138
+ id: string;
139
+ children?: string[];
140
+ colors?: string[];
141
+ speed?: number;
142
+ blur?: number;
143
+ }
144
+ declare const AuroraBackgroundRenderer: A2UIRenderer<AuroraBackgroundComponent>;
145
+
146
+ declare const BubbleBackgroundRenderer: A2UIRenderer<BubbleBackgroundComponent>;
147
+
148
+ declare const FireworksBackgroundRenderer: A2UIRenderer<FireworksBackgroundComponent>;
149
+
150
+ interface GradientBackgroundComponent {
151
+ type: 'GradientBackground';
152
+ id: string;
153
+ children?: string[];
154
+ colors?: string[];
155
+ speed?: number;
156
+ direction?: 'horizontal' | 'vertical' | 'diagonal' | 'radial';
157
+ blur?: number;
158
+ }
159
+ declare const GradientBackgroundRenderer: A2UIRenderer<GradientBackgroundComponent>;
160
+
161
+ declare const GravityStarsBackgroundRenderer: A2UIRenderer<GravityStarsBackgroundComponent>;
162
+
163
+ declare const HexagonBackgroundRenderer: A2UIRenderer<HexagonBackgroundComponent>;
164
+
165
+ declare const HoleBackgroundRenderer: A2UIRenderer<HoleBackgroundComponent>;
166
+
167
+ interface ParticlesBackgroundComponent {
168
+ type: 'ParticlesBackground';
169
+ id: string;
170
+ children?: string[];
171
+ particleCount?: number;
172
+ particleColor?: string;
173
+ particleSize?: number;
174
+ speed?: number;
175
+ connected?: boolean;
176
+ }
177
+ declare const ParticlesBackgroundRenderer: A2UIRenderer<ParticlesBackgroundComponent>;
178
+
179
+ declare const StarsBackgroundRenderer: A2UIRenderer<StarsBackgroundComponent>;
180
+
181
+ declare const CopyButtonRenderer: A2UIRenderer<CopyButtonComponent>;
182
+
183
+ declare const FlipButtonRenderer: A2UIRenderer<FlipButtonComponent>;
184
+
185
+ declare const GlowButtonRenderer: A2UIRenderer<GlowButtonComponent>;
186
+
187
+ declare const IconButtonRenderer: A2UIRenderer<IconButtonComponent>;
188
+
189
+ declare const LiquidButtonRenderer: A2UIRenderer<LiquidButtonComponent>;
190
+
191
+ declare const MagneticButtonRenderer: A2UIRenderer<MagneticButtonComponent>;
192
+
193
+ declare const RippleButtonRenderer: A2UIRenderer<RippleButtonComponent>;
194
+
195
+ declare const ShimmerButtonRenderer: A2UIRenderer<ShimmerButtonComponent>;
196
+
197
+ declare const ThemeTogglerButtonRenderer: A2UIRenderer<ThemeTogglerButtonComponent>;
198
+
199
+ interface AccordionItem {
200
+ trigger: string;
201
+ content: string;
202
+ }
203
+ interface AnimatedAccordionComponent {
204
+ type: 'AnimatedAccordion';
205
+ id: string;
206
+ items: AccordionItem[];
207
+ allowMultiple?: boolean;
208
+ defaultOpen?: number[];
209
+ }
210
+ declare const AnimatedAccordionRenderer: A2UIRenderer<AnimatedAccordionComponent>;
211
+
212
+ interface AnimatedCardComponent {
213
+ type: 'AnimatedCard';
214
+ id: string;
215
+ children?: string[];
216
+ animation?: 'hover-lift' | 'hover-glow' | 'hover-border' | 'tilt';
217
+ delay?: number;
218
+ }
219
+ declare const AnimatedCardRenderer: A2UIRenderer<AnimatedCardComponent>;
220
+
221
+ interface AnimatedDialogComponent {
222
+ type: 'AnimatedDialog';
223
+ id: string;
224
+ trigger: string;
225
+ content: string;
226
+ title?: string;
227
+ description?: string;
228
+ animation?: 'scale' | 'slide' | 'flip' | 'rotate';
229
+ }
230
+ declare const AnimatedDialogRenderer: A2UIRenderer<AnimatedDialogComponent>;
231
+
232
+ interface TabItem {
233
+ label: string;
234
+ content: string;
235
+ }
236
+ interface AnimatedTabsComponent {
237
+ type: 'AnimatedTabs';
238
+ id: string;
239
+ tabs: TabItem[];
240
+ defaultTab?: number;
241
+ animation?: 'slide' | 'fade' | 'scale';
242
+ }
243
+ declare const AnimatedTabsRenderer: A2UIRenderer<AnimatedTabsComponent>;
244
+
245
+ interface FlipCardComponent {
246
+ type: 'FlipCard';
247
+ id: string;
248
+ front: string;
249
+ back: string;
250
+ trigger?: 'hover' | 'click';
251
+ direction?: 'horizontal' | 'vertical';
252
+ height?: string;
253
+ }
254
+ declare const FlipCardRenderer: A2UIRenderer<FlipCardComponent>;
255
+
256
+ interface BlurRevealTextComponent {
257
+ type: 'BlurRevealText';
258
+ id: string;
259
+ content: string;
260
+ style?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'body' | 'caption';
261
+ delay?: number;
262
+ duration?: number;
263
+ staggerChildren?: number;
264
+ direction?: 'up' | 'down' | 'left' | 'right';
265
+ }
266
+ declare const BlurRevealTextRenderer: A2UIRenderer<BlurRevealTextComponent>;
267
+
268
+ interface CountUpComponent {
269
+ type: 'CountUp';
270
+ id: string;
271
+ from?: number;
272
+ to: number;
273
+ duration?: number;
274
+ style?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'body' | 'caption';
275
+ prefix?: string;
276
+ suffix?: string;
277
+ decimals?: number;
278
+ separator?: string;
279
+ }
280
+ declare const CountUpRenderer: A2UIRenderer<CountUpComponent>;
281
+
282
+ interface GradientTextComponent {
283
+ type: 'GradientText';
284
+ id: string;
285
+ content: string;
286
+ style?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'body' | 'caption';
287
+ colors?: string[];
288
+ animationDuration?: number;
289
+ direction?: 'horizontal' | 'vertical' | 'diagonal';
290
+ }
291
+ declare const GradientTextRenderer: A2UIRenderer<GradientTextComponent>;
292
+
293
+ interface TextScrambleComponent {
294
+ type: 'TextScramble';
295
+ id: string;
296
+ content: string;
297
+ style?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'body' | 'caption';
298
+ speed?: number;
299
+ characters?: string;
300
+ trigger?: 'mount' | 'hover';
301
+ }
302
+ declare const TextScrambleRenderer: A2UIRenderer<TextScrambleComponent>;
303
+
304
+ interface TypewriterTextComponent {
305
+ type: 'TypewriterText';
306
+ id: string;
307
+ content: string;
308
+ style?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'body' | 'caption';
309
+ speed?: number;
310
+ cursor?: boolean;
311
+ cursorChar?: string;
312
+ loop?: boolean;
313
+ delayBetweenLoops?: number;
314
+ }
315
+ declare const TypewriterTextRenderer: A2UIRenderer<TypewriterTextComponent>;
316
+
317
+ interface Avatar {
318
+ src?: string;
319
+ alt?: string;
320
+ fallback: string;
321
+ }
322
+ interface AnimatedAvatarGroupComponent {
323
+ type: 'AnimatedAvatarGroup';
324
+ id: string;
325
+ avatars: Avatar[];
326
+ maxVisible?: number;
327
+ size?: 'sm' | 'md' | 'lg';
328
+ animation?: 'expand' | 'pop' | 'slide';
329
+ }
330
+ declare const AnimatedAvatarGroupRenderer: A2UIRenderer<AnimatedAvatarGroupComponent>;
331
+
332
+ interface AnimatedTooltipComponent {
333
+ type: 'AnimatedTooltip';
334
+ id: string;
335
+ trigger: string;
336
+ content: string;
337
+ position?: 'top' | 'bottom' | 'left' | 'right';
338
+ animation?: 'scale' | 'slide' | 'fade';
339
+ }
340
+ declare const AnimatedTooltipRenderer: A2UIRenderer<AnimatedTooltipComponent>;
341
+
342
+ declare const CursorRenderer: A2UIRenderer<CursorComponent>;
343
+
344
+ interface MorphingIconComponent {
345
+ type: 'MorphingIcon';
346
+ id: string;
347
+ icons: string[];
348
+ trigger?: 'hover' | 'click' | 'auto';
349
+ interval?: number;
350
+ size?: number;
351
+ color?: string;
352
+ }
353
+ declare const MorphingIconRenderer: A2UIRenderer<MorphingIconComponent>;
354
+
355
+ interface SpotlightComponent {
356
+ type: 'Spotlight';
357
+ id: string;
358
+ children?: string[];
359
+ spotlightColor?: string;
360
+ spotlightSize?: number;
361
+ intensity?: number;
362
+ }
363
+ declare const SpotlightRenderer: A2UIRenderer<SpotlightComponent>;
364
+
365
+ /**
366
+ * Animated Button override - same type as standard Button but with animations.
367
+ * When registered after the standard ButtonRenderer, this replaces it.
368
+ */
369
+ declare const AnimatedButtonOverride: A2UIRenderer<ButtonComponent>;
370
+
371
+ /**
372
+ * Animated Card override - same type as standard Card but with hover effects.
373
+ */
374
+ declare const AnimatedCardOverride: A2UIRenderer<CardComponent>;
375
+
376
+ /**
377
+ * Animated Checkbox override - same type as standard Checkbox but with check animation.
378
+ */
379
+ declare const AnimatedCheckboxOverride: A2UIRenderer<CheckboxComponent>;
380
+
381
+ /**
382
+ * Animated Modal override - same type as standard Modal but with smooth open/close.
383
+ */
384
+ declare const AnimatedModalOverride: A2UIRenderer<ModalComponent>;
385
+
386
+ /**
387
+ * Animated Select override - same type as standard Select but with animations.
388
+ */
389
+ declare const AnimatedSelectOverride: A2UIRenderer<SelectComponent>;
390
+
391
+ /**
392
+ * Animated Tabs override - same type as standard Tabs but with smooth transitions.
393
+ */
394
+ declare const AnimatedTabsOverride: A2UIRenderer<TabsComponent>;
395
+
396
+ /**
397
+ * Animated Text override - same type as standard Text but with fade-in.
398
+ */
399
+ declare const AnimatedTextOverride: A2UIRenderer<TextComponent>;
400
+
401
+ declare const AreaChartRenderer: A2UIRenderer<AreaChartComponent>;
402
+
403
+ declare const BarChartRenderer: A2UIRenderer<BarChartComponent>;
404
+
405
+ /**
406
+ * Chart utility functions and constants
407
+ */
408
+
409
+ /**
410
+ * Default chart colors using CSS variables for theme support
411
+ */
412
+ declare const DEFAULT_CHART_COLORS: string[];
413
+ /**
414
+ * Get chart data from static data or data model
415
+ */
416
+ declare function getChartData(staticData: ChartDataItem[] | undefined, dataPath: string | undefined, dataAccessor: DataAccessor): ChartDataItem[];
417
+ /**
418
+ * Get color for a data point at a given index
419
+ */
420
+ declare function getChartColor(index: number, customColors?: string[]): string;
421
+ /**
422
+ * Transform ChartDataItem array to Recharts-compatible format
423
+ * Recharts expects { name: string, value: number } by default
424
+ */
425
+ declare function transformToRechartsData(data: ChartDataItem[], customColors?: string[]): Array<{
426
+ name: string;
427
+ value: number;
428
+ fill: string;
429
+ [key: string]: unknown;
430
+ }>;
431
+ /**
432
+ * Build chart config for shadcn ChartContainer
433
+ */
434
+ declare function buildChartConfig(data: ChartDataItem[], customColors?: string[]): Record<string, {
435
+ label: string;
436
+ color: string;
437
+ }>;
438
+
439
+ declare const LineChartRenderer: A2UIRenderer<LineChartComponent>;
440
+
441
+ declare const PieChartRenderer: A2UIRenderer<PieChartComponent>;
442
+
443
+ /**
444
+ * Renderer registry type for shadcn components
445
+ */
446
+ type RendererRegistry = Record<string, A2UIRenderer>;
447
+
448
+ /**
449
+ * Array of all shadcn renderers (standard, no animations)
450
+ */
451
+ declare const shadcnRenderers: A2UIRenderer[];
452
+ /**
453
+ * Array of chart renderers for data visualization
454
+ */
455
+ declare const chartRenderers: A2UIRenderer[];
456
+ /**
457
+ * @extension a2ui-react
458
+ * Accessibility extension renderers for WCAG 2.1 AA compliance.
459
+ * These are NOT part of the official A2UI standard but are recommended for accessibility.
460
+ * Includes: Landmarks (Main, Nav, Section, Aside, Header, Footer, Article),
461
+ * Alert, LiveRegion, SkipLink, and Progress components.
462
+ */
463
+ declare const a11yRenderers: A2UIRenderer[];
464
+ /**
465
+ * Animated overrides for standard components
466
+ * These use the SAME type names but add Framer Motion animations
467
+ */
468
+ declare const animatedOverrides: A2UIRenderer[];
469
+ /**
470
+ * Array of all animated UI renderers (animate-ui.com alternative)
471
+ * Import these separately if you want to include animated components
472
+ */
473
+ declare const animatedRenderers: A2UIRenderer[];
474
+ /**
475
+ * All renderers including animated components (but NOT animated overrides)
476
+ */
477
+ declare const allRenderers: A2UIRenderer[];
478
+ /**
479
+ * All renderers with animated overrides - standard components behave with animations
480
+ * The overrides are registered LAST so they replace the standard versions
481
+ */
482
+ declare const allAnimatedRenderers: A2UIRenderer[];
483
+ /**
484
+ * Creates a shadcn renderer registry with all renderers registered
485
+ * @param options.includeAnimated - Include animated components (RippleButton, etc.)
486
+ * @param options.useAnimatedOverrides - Replace standard components with animated versions
487
+ * @param options.includeA11y - Include accessibility extension components (@extension a2ui-react)
488
+ * @returns A component registry with all shadcn renderers
489
+ */
490
+ declare function createShadcnRegistry(options?: {
491
+ includeAnimated?: boolean;
492
+ useAnimatedOverrides?: boolean;
493
+ includeA11y?: boolean;
494
+ }): a2ui_react_react.ComponentRegistry;
495
+ /**
496
+ * Creates a registry with only animated components
497
+ * @returns A component registry with all animated renderers
498
+ */
499
+ declare function createAnimatedRegistry(): a2ui_react_react.ComponentRegistry;
500
+ /**
501
+ * Creates a fully animated registry - all standard components are replaced with animated versions
502
+ * @returns A component registry where Button, Card, Tabs, etc. all have animations
503
+ */
504
+ declare function createFullyAnimatedRegistry(): a2ui_react_react.ComponentRegistry;
505
+ /**
506
+ * @extension a2ui-react
507
+ * Creates a registry with accessibility extension components for WCAG 2.1 AA compliance.
508
+ * @returns A component registry with standard shadcn + a11y extension renderers
509
+ */
510
+ declare function createAccessibleRegistry(): a2ui_react_react.ComponentRegistry;
511
+ /**
512
+ * @extension a2ui-react
513
+ * Creates a complete registry with all features: standard, animated, and accessibility.
514
+ * @returns A component registry with all renderers
515
+ */
516
+ declare function createCompleteRegistry(): a2ui_react_react.ComponentRegistry;
517
+
518
+ /**
519
+ * a2ui-react - Beautiful shadcn/ui components for A2UI protocol
520
+ *
521
+ * This package provides everything you need to render A2UI protocol messages:
522
+ * - Core types, parser, and store from a2ui-react-core
523
+ * - React hooks and components from a2ui-react-react
524
+ * - shadcn/ui-based renderers for all A2UI component types
525
+ *
526
+ * @example
527
+ * ```tsx
528
+ * import { A2UIProvider, A2UISurface, shadcnRenderers } from 'a2ui-react'
529
+ *
530
+ * function App() {
531
+ * return (
532
+ * <A2UIProvider renderers={shadcnRenderers}>
533
+ * <A2UISurface surfaceId="my-surface" messages={messages} />
534
+ * </A2UIProvider>
535
+ * )
536
+ * }
537
+ * ```
538
+ */
539
+ declare const version = "0.1.0";
540
+
541
+ export { AlertRenderer, AnimatedAccordionRenderer, AnimatedAvatarGroupRenderer, AnimatedButtonOverride, AnimatedCardOverride, AnimatedCardRenderer, AnimatedCheckboxOverride, AnimatedDialogRenderer, AnimatedModalOverride, AnimatedSelectOverride, AnimatedTabsOverride, AnimatedTabsRenderer, AnimatedTextOverride, AnimatedTooltipRenderer, AreaChartRenderer, ArticleRenderer, AsideRenderer, AuroraBackgroundRenderer, BarChartRenderer, BlurRevealTextRenderer, BubbleBackgroundRenderer, Button, type ButtonProps, Checkbox, CopyButtonRenderer, CountUpRenderer, CursorRenderer, DEFAULT_CHART_COLORS, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Dimensions, FireworksBackgroundRenderer, FlipButtonRenderer, FlipCardRenderer, FooterRenderer, GlowButtonRenderer, GradientBackgroundRenderer, GradientTextRenderer, GravityStarsBackgroundRenderer, HeaderRenderer, HexagonBackgroundRenderer, HoleBackgroundRenderer, IconButtonRenderer, Input, type InputProps, Label, LineChartRenderer, LiquidButtonRenderer, LiveRegionRenderer, MagneticButtonRenderer, MainRenderer, MorphingIconRenderer, NavRenderer, ParticlesBackgroundRenderer, PieChartRenderer, ProgressRenderer, type RendererRegistry, RippleButtonRenderer, SectionRenderer, ShimmerButtonRenderer, SkipLinkRenderer, SpotlightRenderer, StarsBackgroundRenderer, Tabs, TabsContent, TabsList, TabsTrigger, TextScrambleRenderer, Textarea, type TextareaProps, ThemeTogglerButtonRenderer, TypewriterTextRenderer, a11yRenderers, allAnimatedRenderers, allRenderers, animatedOverrides, animatedRenderers, buildChartConfig, buttonVariants, chartRenderers, cn, createAccessibleRegistry, createAnimatedRegistry, createCompleteRegistry, createFullyAnimatedRegistry, createShadcnRegistry, getChartColor, getChartData, shadcnRenderers, transformToRechartsData, useContainerDimensions, useReducedMotion, version };