adaptive-ui-react 0.0.0-stage → 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 @@
1
+ {"version":3,"sources":["../src/components/ui/image-scroll.module.css","../src/components/ui/interactive-ascii-face.module.css"],"sourcesContent":[".container {\n position: relative;\n width: 100%;\n overflow: hidden;\n user-select: none;\n}\n\n/* Vertical layout */\n.verticalWrapper {\n display: flex;\n justify-content: center;\n align-items: stretch;\n gap: var(--scroll-gap, 1.25rem);\n height: var(--container-height, 560px);\n overflow: hidden;\n}\n\n.verticalTrack {\n display: flex;\n flex-direction: column;\n gap: var(--scroll-gap, 1.25rem);\n will-change: transform;\n animation-name: scrollUp;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n.verticalTrackReverse {\n display: flex;\n flex-direction: column;\n gap: var(--scroll-gap, 1.25rem);\n will-change: transform;\n animation-name: scrollDown;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n/* Horizontal layout */\n.horizontalWrapper {\n display: flex;\n flex-direction: column;\n gap: var(--scroll-gap, 1.25rem);\n width: 100%;\n overflow: hidden;\n}\n\n.horizontalTrack {\n display: flex;\n flex-direction: row;\n gap: var(--scroll-gap, 1.25rem);\n width: max-content;\n will-change: transform;\n animation-name: scrollLeft;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n.horizontalTrackReverse {\n display: flex;\n flex-direction: row;\n gap: var(--scroll-gap, 1.25rem);\n width: max-content;\n will-change: transform;\n animation-name: scrollRight;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n}\n\n/* Pause on hover */\n.pauseHover:hover .verticalTrack,\n.pauseHover:hover .verticalTrackReverse,\n.pauseHover:hover .horizontalTrack,\n.pauseHover:hover .horizontalTrackReverse {\n animation-play-state: paused;\n}\n\n/* Keyframes */\n@keyframes scrollUp {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(-50%);\n }\n}\n\n@keyframes scrollDown {\n 0% {\n transform: translateY(-50%);\n }\n 100% {\n transform: translateY(0);\n }\n}\n\n@keyframes scrollLeft {\n 0% {\n transform: translateX(0);\n }\n 100% {\n transform: translateX(-50%);\n }\n}\n\n@keyframes scrollRight {\n 0% {\n transform: translateX(-50%);\n }\n 100% {\n transform: translateX(0);\n }\n}\n\n/* Edge blur gradient masks */\n.fadeMaskVertical {\n mask-image: linear-gradient(\n to bottom,\n transparent 0%,\n rgba(0, 0, 0, 0.8) 8%,\n black 16%,\n black 84%,\n rgba(0, 0, 0, 0.8) 92%,\n transparent 100%\n );\n -webkit-mask-image: linear-gradient(\n to bottom,\n transparent 0%,\n rgba(0, 0, 0, 0.8) 8%,\n black 16%,\n black 84%,\n rgba(0, 0, 0, 0.8) 92%,\n transparent 100%\n );\n}\n\n.fadeMaskHorizontal {\n mask-image: linear-gradient(\n to right,\n transparent 0%,\n rgba(0, 0, 0, 0.8) 6%,\n black 14%,\n black 86%,\n rgba(0, 0, 0, 0.8) 94%,\n transparent 100%\n );\n -webkit-mask-image: linear-gradient(\n to right,\n transparent 0%,\n rgba(0, 0, 0, 0.8) 6%,\n black 14%,\n black 86%,\n rgba(0, 0, 0, 0.8) 94%,\n transparent 100%\n );\n}\n\n/* Tilt / Perspective effects */\n.tiltPerspective {\n perspective: 1000px;\n}\n\n.tiltInner {\n transform: rotateX(8deg) rotateZ(-4deg) skewX(2deg);\n transform-origin: center center;\n transition: transform 0.4s ease;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .verticalTrack,\n .verticalTrackReverse,\n .horizontalTrack,\n .horizontalTrackReverse {\n animation-play-state: paused !important;\n }\n}\n",".stage {\n position: relative;\n isolation: isolate;\n display: grid;\n place-items: center;\n width: 100%;\n min-height: clamp(28rem, 82svh, 58rem);\n overflow: hidden;\n padding: clamp(1rem, 4vw, 2.5rem);\n border: 1px solid #163620;\n border-radius: 1rem;\n background: radial-gradient(ellipse at center, #06190d 0%, #010603 85%);\n box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9), 0 20px 45px rgba(0, 0, 0, 0.7);\n cursor: crosshair;\n user-select: none;\n touch-action: none;\n}\n\n.field {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n/* Subtle CRT Scanline Overlay */\n.scanlines {\n position: absolute;\n inset: 0;\n pointer-events: none;\n background: linear-gradient(\n rgba(18, 16, 16, 0) 50%,\n rgba(0, 0, 0, 0.32) 50%\n );\n background-size: 100% 4px;\n z-index: 10;\n opacity: 0.75;\n}\n\n/* CRT Screen Corner Vignette */\n.vignette {\n position: absolute;\n inset: 0;\n pointer-events: none;\n background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.8) 100%);\n border-radius: 1rem;\n z-index: 11;\n}\n\n/* Retro CRT Terminal status badge at bottom-left */\n.terminalTag {\n position: absolute;\n bottom: 1.25rem;\n left: 1.5rem;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.75rem;\n font-weight: 700;\n color: #5cfc87;\n text-shadow: 0 0 8px rgba(92, 252, 135, 0.6);\n letter-spacing: 0.12em;\n pointer-events: none;\n z-index: 12;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.terminalTag::before {\n content: \"\";\n display: inline-block;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background-color: #5cfc87;\n box-shadow: 0 0 8px #5cfc87;\n animation: pulse 2s infinite ease-in-out;\n}\n\n@keyframes pulse {\n 0%, 100% {\n opacity: 0.35;\n transform: scale(0.9);\n }\n 50% {\n opacity: 1;\n transform: scale(1.15);\n }\n}\n\n.frame {\n position: relative;\n width: min(100%, 34rem, 65svh);\n aspect-ratio: 500 / 610;\n pointer-events: none;\n}\n\n.status {\n display: grid;\n height: 100%;\n place-content: center;\n padding: 1rem;\n color: #5cfc87;\n text-shadow: 0 0 8px rgba(92, 252, 135, 0.5);\n font: 0.9rem/1.5 ui-monospace, monospace;\n text-align: center;\n}\n"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;AAAA,IAAE,cAAc;AAAA,IAAE,KAAK;AAAA,IAAE,MAAM;AAAA,IAAE,QAAQ;AAAA,IAAE;AACpE,aAAW;AACX,eAAa;AACb,SAAO;AACP,eAAa,EAAE,EAAE,IAAI,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AACxC,kBAAgB;AAChB,kBAAgB;AAChB,WAAS;AACT,WAAS;AACT,eAAa;AACb,OAAK;AACP;AAEA,CAjBC,WAiBW;AACV,WAAS;AACT,WAAS;AACT,SAAO;AACP,UAAQ;AACR,iBAAe;AACf,oBAAkB;AAClB,cAAY,EAAE,EAAE,IAAI;AACpB,aAAW,MAAM,GAAG,SAAS;AAC/B;AAEA,WAHa;AAIX;AACE,aAAS;AACT,eAAW,MAAM;AACnB;AACA;AACE,aAAS;AACT,eAAW,MAAM;AACnB;AACF;AAEA,CAAC;AACC,YAAU;AACV,SAAO,IAAI,IAAI,EAAE,KAAK,EAAE;AACxB,gBAAc,IAAI,EAAE;AACpB,kBAAgB;AAClB;AAEA,CAAC;AACC,WAAS;AACT,UAAQ;AACR,iBAAe;AACf,WAAS;AACT,SAAO;AACP,eAAa,EAAE,EAAE,IAAI,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;AACxC,QAAM,MAAM,CAAC,IAAI,YAAY,EAAE;AAC/B,cAAY;AACd;","names":[]}
@@ -0,0 +1,238 @@
1
+ import * as React from 'react';
2
+
3
+ /* ===================================================================== */
4
+ /* ImageScroll & InfiniteImageScroll */
5
+ /* ===================================================================== */
6
+
7
+ interface ScrollImageItem {
8
+ id?: string | number;
9
+ src: string;
10
+ title?: string;
11
+ category?: string;
12
+ accent?: string;
13
+ }
14
+
15
+ interface ImageScrollProps {
16
+ /** Scrolling direction: "vertical" (columns) or "horizontal" (rows). Default: "vertical" */
17
+ direction?: "vertical" | "horizontal";
18
+ /** Array of image items or URL strings */
19
+ images?: Array<ScrollImageItem | string>;
20
+ /** Speed multiplier (1 = normal 1x, 2 = 2x faster, 0.5 = 0.5x slower). Default: 1 */
21
+ speed?: number;
22
+ /** Inverts the base scrolling direction. Default: false */
23
+ reverse?: boolean;
24
+ /** Pauses the scroll animation when hovering over items. Default: true */
25
+ pauseOnHover?: boolean;
26
+ /** Number of vertical tracks/columns. Default: 3 */
27
+ columns?: number;
28
+ /** Number of horizontal tracks/rows. Default: 3 */
29
+ rows?: number;
30
+ /** Alternates scroll directions of adjacent columns/rows. Default: true */
31
+ staggerDirection?: boolean;
32
+ /** Gap between cards in pixels. Default: 18 */
33
+ gap?: number;
34
+ /** Applies soft gradient fade masks to edges. Default: true */
35
+ blurEdges?: boolean;
36
+ /** Height of container in vertical mode. Default: "560px" */
37
+ height?: string;
38
+ /** Applies 3D perspective tilt. Default: false */
39
+ tilt?: boolean;
40
+ /** Card width override */
41
+ cardWidth?: string;
42
+ /** Card height override */
43
+ cardHeight?: string;
44
+ /** Custom render function for card items */
45
+ renderItem?: (item: ScrollImageItem | string, index: number) => React.ReactNode;
46
+ /** Callback fired when a card is clicked */
47
+ onCardClick?: (item: ScrollImageItem | string) => void;
48
+ /** Additional CSS class names */
49
+ className?: string;
50
+ /** Inline styles */
51
+ style?: React.CSSProperties;
52
+ }
53
+
54
+ declare const DEFAULT_SCROLL_IMAGES: ScrollImageItem[];
55
+ declare const ImageScroll: React.FC<ImageScrollProps>;
56
+ declare const InfiniteImageScroll: React.FC<ImageScrollProps>;
57
+
58
+ /* ===================================================================== */
59
+ /* InteractiveAsciiFace */
60
+ /* ===================================================================== */
61
+
62
+ interface InteractiveAsciiFaceProps {
63
+ /** Source image URL, File, or Blob to render as ASCII portrait */
64
+ src?: string | Blob | File;
65
+ /** Alt text for accessibility. Default: "Human portrait formed from green ASCII characters" */
66
+ alt?: string;
67
+ /** Whether the portrait shifts interactively on pointer move. Default: true */
68
+ followPointer?: boolean;
69
+ /** Maximum pixel offset for pointer parallax. Default: 22 */
70
+ maxOffset?: number;
71
+ /** Hex or CSS color of the ASCII characters. Default: "#60ed83" */
72
+ color?: string;
73
+ /** Animation speed multiplier for falling digital rain. Default: 1 */
74
+ lineSpeed?: number;
75
+ /** Sensitivity to pointer movements. Default: 1 */
76
+ mouseSpeed?: number;
77
+ /** Contrast/clarity factor for face sampling. Default: 1.35 */
78
+ imageClarity?: number;
79
+ /** Additional CSS class names */
80
+ className?: string;
81
+ }
82
+
83
+ declare const InteractiveAsciiFace: React.FC<InteractiveAsciiFaceProps>;
84
+
85
+ /* ===================================================================== */
86
+ /* BlobMorphHero */
87
+ /* ===================================================================== */
88
+
89
+ interface PresetItem {
90
+ id: string;
91
+ title: string;
92
+ accentColor: string;
93
+ bgColor: string;
94
+ blobColor: string;
95
+ topoColor: string;
96
+ wireColor: string;
97
+ baseImage: string;
98
+ equippedImage: string;
99
+ headBox?: { x: number; y: number; w: number; h: number };
100
+ }
101
+
102
+ interface BlobMorphHeroProps {
103
+ /** Visual preset identifier. Default: "lando-f1" */
104
+ preset?: "lando-f1" | "monza-stealth" | "stride-carbon" | string;
105
+ /** URL for the base character/subject image */
106
+ baseImage?: string;
107
+ /** URL for the equipped/helmet overlay image */
108
+ equippedImage?: string;
109
+ /** Metaball movement mode: "roam" or "flood". Default: "roam" */
110
+ blobMode?: "roam" | "flood";
111
+ /** Animation speed multiplier. Default: 1.0 */
112
+ speed?: number;
113
+ /** Whether the animation runs automatically. Default: true */
114
+ autoPlay?: boolean;
115
+ /** Toggle background topographic contour lines. Default: true */
116
+ showTopography?: boolean;
117
+ /** Toggle ambient background blobs. Default: true */
118
+ showAmbientBlobs?: boolean;
119
+ /** Toggle helmet HUD wireframe overlay. Default: true */
120
+ showHud?: boolean;
121
+ /** Show next race info banner. Default: false */
122
+ showNextRace?: boolean;
123
+ /** Custom accent color override */
124
+ accentColor?: string;
125
+ /** Custom topography line color override */
126
+ topoColor?: string;
127
+ /** Custom container background color override */
128
+ bgColor?: string;
129
+ /** Custom metaball fill color override */
130
+ blobColor?: string;
131
+ /** Custom wireframe stroke color override */
132
+ wireColor?: string;
133
+ /** Display telemetry overlay (SPD, LIVERY). Default: false */
134
+ showTelemetry?: boolean;
135
+ /** Display big background headline. Default: false */
136
+ showHeadline?: boolean;
137
+ /** Automatically calculate head bounding box. Default: true */
138
+ autoFitHead?: boolean;
139
+ /** Stretch HUD overlay to fill box. Default: false */
140
+ stretchHud?: boolean;
141
+ /** Show alignment debugging opacity. Default: false */
142
+ debugAlign?: boolean;
143
+ /** Custom SVG markup for HUD replacement */
144
+ customSvgMarkup?: string;
145
+ /** Custom head bounding box fractions {x, y, w, h} */
146
+ headBox?: { x: number; y: number; w: number; h: number };
147
+ /** Show debug outline around head box. Default: false */
148
+ debugHead?: boolean;
149
+ /** Mirror the base image horizontally. Default: false */
150
+ flipBase?: boolean;
151
+ /** Mirror the equipped overlay image horizontally. Default: false */
152
+ flipEquipped?: boolean;
153
+ /** Additional CSS class names */
154
+ className?: string;
155
+ /** Progress change callback (0 to 1) */
156
+ onProgressChange?: (progress: number) => void;
157
+ }
158
+
159
+ declare const DEFAULT_PRESETS: PresetItem[];
160
+ declare const BlobMorphHero: React.FC<BlobMorphHeroProps>;
161
+
162
+ /* ===================================================================== */
163
+ /* InfiniteTunnelHero */
164
+ /* ===================================================================== */
165
+
166
+ interface InfiniteTunnelHeroProps {
167
+ /** Neon grid and shape stroke color. Default: "#FF52EF" */
168
+ color?: string;
169
+ /** Scene background color. Default: "#1F0038" */
170
+ backgroundColor?: string;
171
+ /** Speed multiplier for the infinite tunnel loop. Default: 1 */
172
+ speed?: number;
173
+ /** Additional CSS class names */
174
+ className?: string;
175
+ /** Optional content rendered in the center of the tunnel */
176
+ children?: React.ReactNode;
177
+ }
178
+
179
+ declare const InfiniteTunnelHero: React.FC<InfiniteTunnelHeroProps>;
180
+
181
+ /* ===================================================================== */
182
+ /* SmoothScrollProvider */
183
+ /* ===================================================================== */
184
+
185
+ interface SmoothScrollProviderProps {
186
+ children: React.ReactNode;
187
+ /** Optional pathname passed to trigger immediate scroll-to-top on route changes */
188
+ pathname?: string;
189
+ }
190
+
191
+ declare const SmoothScrollProvider: React.FC<SmoothScrollProviderProps>;
192
+
193
+
194
+ /* ===================================================================== */
195
+ /* LiquidGlassButton */
196
+ /* ===================================================================== */
197
+
198
+ interface LiquidGlassButtonProps
199
+ extends React.ButtonHTMLAttributes<HTMLButtonElement> {
200
+ children?: React.ReactNode;
201
+ className?: string;
202
+ }
203
+
204
+ declare const LiquidGlassButton: React.FC<LiquidGlassButtonProps>;
205
+ declare const liquidGlassButton: React.FC<LiquidGlassButtonProps>;
206
+
207
+ /* ===================================================================== */
208
+ /* Documentation / Helper Components */
209
+ /* ===================================================================== */
210
+
211
+ interface InstallTabsProps {
212
+ packages?: string;
213
+ component?: string;
214
+ dev?: boolean;
215
+ className?: string;
216
+ }
217
+
218
+ declare const InstallTabs: React.FC<InstallTabsProps>;
219
+
220
+ interface PropItem {
221
+ prop: string;
222
+ type: string;
223
+ default?: string;
224
+ description?: string;
225
+ required?: boolean;
226
+ }
227
+
228
+ interface PropsTableProps {
229
+ data?: PropItem[];
230
+ title?: string;
231
+ description?: string;
232
+ className?: string;
233
+ }
234
+
235
+ declare const PropsTable: React.FC<PropsTableProps>;
236
+
237
+ export { BlobMorphHero, DEFAULT_PRESETS, DEFAULT_SCROLL_IMAGES, ImageScroll, InfiniteImageScroll, InfiniteTunnelHero, InstallTabs, InteractiveAsciiFace, LiquidGlassButton, PropsTable, SmoothScrollProvider, SmoothScrollProvider as default, liquidGlassButton };
238
+ export type { BlobMorphHeroProps, ImageScrollProps, InfiniteTunnelHeroProps, InstallTabsProps, InteractiveAsciiFaceProps, LiquidGlassButtonProps, PresetItem, PropItem, PropsTableProps, ScrollImageItem, SmoothScrollProviderProps };
@@ -0,0 +1,238 @@
1
+ import * as React from 'react';
2
+
3
+ /* ===================================================================== */
4
+ /* ImageScroll & InfiniteImageScroll */
5
+ /* ===================================================================== */
6
+
7
+ interface ScrollImageItem {
8
+ id?: string | number;
9
+ src: string;
10
+ title?: string;
11
+ category?: string;
12
+ accent?: string;
13
+ }
14
+
15
+ interface ImageScrollProps {
16
+ /** Scrolling direction: "vertical" (columns) or "horizontal" (rows). Default: "vertical" */
17
+ direction?: "vertical" | "horizontal";
18
+ /** Array of image items or URL strings */
19
+ images?: Array<ScrollImageItem | string>;
20
+ /** Speed multiplier (1 = normal 1x, 2 = 2x faster, 0.5 = 0.5x slower). Default: 1 */
21
+ speed?: number;
22
+ /** Inverts the base scrolling direction. Default: false */
23
+ reverse?: boolean;
24
+ /** Pauses the scroll animation when hovering over items. Default: true */
25
+ pauseOnHover?: boolean;
26
+ /** Number of vertical tracks/columns. Default: 3 */
27
+ columns?: number;
28
+ /** Number of horizontal tracks/rows. Default: 3 */
29
+ rows?: number;
30
+ /** Alternates scroll directions of adjacent columns/rows. Default: true */
31
+ staggerDirection?: boolean;
32
+ /** Gap between cards in pixels. Default: 18 */
33
+ gap?: number;
34
+ /** Applies soft gradient fade masks to edges. Default: true */
35
+ blurEdges?: boolean;
36
+ /** Height of container in vertical mode. Default: "560px" */
37
+ height?: string;
38
+ /** Applies 3D perspective tilt. Default: false */
39
+ tilt?: boolean;
40
+ /** Card width override */
41
+ cardWidth?: string;
42
+ /** Card height override */
43
+ cardHeight?: string;
44
+ /** Custom render function for card items */
45
+ renderItem?: (item: ScrollImageItem | string, index: number) => React.ReactNode;
46
+ /** Callback fired when a card is clicked */
47
+ onCardClick?: (item: ScrollImageItem | string) => void;
48
+ /** Additional CSS class names */
49
+ className?: string;
50
+ /** Inline styles */
51
+ style?: React.CSSProperties;
52
+ }
53
+
54
+ declare const DEFAULT_SCROLL_IMAGES: ScrollImageItem[];
55
+ declare const ImageScroll: React.FC<ImageScrollProps>;
56
+ declare const InfiniteImageScroll: React.FC<ImageScrollProps>;
57
+
58
+ /* ===================================================================== */
59
+ /* InteractiveAsciiFace */
60
+ /* ===================================================================== */
61
+
62
+ interface InteractiveAsciiFaceProps {
63
+ /** Source image URL, File, or Blob to render as ASCII portrait */
64
+ src?: string | Blob | File;
65
+ /** Alt text for accessibility. Default: "Human portrait formed from green ASCII characters" */
66
+ alt?: string;
67
+ /** Whether the portrait shifts interactively on pointer move. Default: true */
68
+ followPointer?: boolean;
69
+ /** Maximum pixel offset for pointer parallax. Default: 22 */
70
+ maxOffset?: number;
71
+ /** Hex or CSS color of the ASCII characters. Default: "#60ed83" */
72
+ color?: string;
73
+ /** Animation speed multiplier for falling digital rain. Default: 1 */
74
+ lineSpeed?: number;
75
+ /** Sensitivity to pointer movements. Default: 1 */
76
+ mouseSpeed?: number;
77
+ /** Contrast/clarity factor for face sampling. Default: 1.35 */
78
+ imageClarity?: number;
79
+ /** Additional CSS class names */
80
+ className?: string;
81
+ }
82
+
83
+ declare const InteractiveAsciiFace: React.FC<InteractiveAsciiFaceProps>;
84
+
85
+ /* ===================================================================== */
86
+ /* BlobMorphHero */
87
+ /* ===================================================================== */
88
+
89
+ interface PresetItem {
90
+ id: string;
91
+ title: string;
92
+ accentColor: string;
93
+ bgColor: string;
94
+ blobColor: string;
95
+ topoColor: string;
96
+ wireColor: string;
97
+ baseImage: string;
98
+ equippedImage: string;
99
+ headBox?: { x: number; y: number; w: number; h: number };
100
+ }
101
+
102
+ interface BlobMorphHeroProps {
103
+ /** Visual preset identifier. Default: "lando-f1" */
104
+ preset?: "lando-f1" | "monza-stealth" | "stride-carbon" | string;
105
+ /** URL for the base character/subject image */
106
+ baseImage?: string;
107
+ /** URL for the equipped/helmet overlay image */
108
+ equippedImage?: string;
109
+ /** Metaball movement mode: "roam" or "flood". Default: "roam" */
110
+ blobMode?: "roam" | "flood";
111
+ /** Animation speed multiplier. Default: 1.0 */
112
+ speed?: number;
113
+ /** Whether the animation runs automatically. Default: true */
114
+ autoPlay?: boolean;
115
+ /** Toggle background topographic contour lines. Default: true */
116
+ showTopography?: boolean;
117
+ /** Toggle ambient background blobs. Default: true */
118
+ showAmbientBlobs?: boolean;
119
+ /** Toggle helmet HUD wireframe overlay. Default: true */
120
+ showHud?: boolean;
121
+ /** Show next race info banner. Default: false */
122
+ showNextRace?: boolean;
123
+ /** Custom accent color override */
124
+ accentColor?: string;
125
+ /** Custom topography line color override */
126
+ topoColor?: string;
127
+ /** Custom container background color override */
128
+ bgColor?: string;
129
+ /** Custom metaball fill color override */
130
+ blobColor?: string;
131
+ /** Custom wireframe stroke color override */
132
+ wireColor?: string;
133
+ /** Display telemetry overlay (SPD, LIVERY). Default: false */
134
+ showTelemetry?: boolean;
135
+ /** Display big background headline. Default: false */
136
+ showHeadline?: boolean;
137
+ /** Automatically calculate head bounding box. Default: true */
138
+ autoFitHead?: boolean;
139
+ /** Stretch HUD overlay to fill box. Default: false */
140
+ stretchHud?: boolean;
141
+ /** Show alignment debugging opacity. Default: false */
142
+ debugAlign?: boolean;
143
+ /** Custom SVG markup for HUD replacement */
144
+ customSvgMarkup?: string;
145
+ /** Custom head bounding box fractions {x, y, w, h} */
146
+ headBox?: { x: number; y: number; w: number; h: number };
147
+ /** Show debug outline around head box. Default: false */
148
+ debugHead?: boolean;
149
+ /** Mirror the base image horizontally. Default: false */
150
+ flipBase?: boolean;
151
+ /** Mirror the equipped overlay image horizontally. Default: false */
152
+ flipEquipped?: boolean;
153
+ /** Additional CSS class names */
154
+ className?: string;
155
+ /** Progress change callback (0 to 1) */
156
+ onProgressChange?: (progress: number) => void;
157
+ }
158
+
159
+ declare const DEFAULT_PRESETS: PresetItem[];
160
+ declare const BlobMorphHero: React.FC<BlobMorphHeroProps>;
161
+
162
+ /* ===================================================================== */
163
+ /* InfiniteTunnelHero */
164
+ /* ===================================================================== */
165
+
166
+ interface InfiniteTunnelHeroProps {
167
+ /** Neon grid and shape stroke color. Default: "#FF52EF" */
168
+ color?: string;
169
+ /** Scene background color. Default: "#1F0038" */
170
+ backgroundColor?: string;
171
+ /** Speed multiplier for the infinite tunnel loop. Default: 1 */
172
+ speed?: number;
173
+ /** Additional CSS class names */
174
+ className?: string;
175
+ /** Optional content rendered in the center of the tunnel */
176
+ children?: React.ReactNode;
177
+ }
178
+
179
+ declare const InfiniteTunnelHero: React.FC<InfiniteTunnelHeroProps>;
180
+
181
+ /* ===================================================================== */
182
+ /* SmoothScrollProvider */
183
+ /* ===================================================================== */
184
+
185
+ interface SmoothScrollProviderProps {
186
+ children: React.ReactNode;
187
+ /** Optional pathname passed to trigger immediate scroll-to-top on route changes */
188
+ pathname?: string;
189
+ }
190
+
191
+ declare const SmoothScrollProvider: React.FC<SmoothScrollProviderProps>;
192
+
193
+
194
+ /* ===================================================================== */
195
+ /* LiquidGlassButton */
196
+ /* ===================================================================== */
197
+
198
+ interface LiquidGlassButtonProps
199
+ extends React.ButtonHTMLAttributes<HTMLButtonElement> {
200
+ children?: React.ReactNode;
201
+ className?: string;
202
+ }
203
+
204
+ declare const LiquidGlassButton: React.FC<LiquidGlassButtonProps>;
205
+ declare const liquidGlassButton: React.FC<LiquidGlassButtonProps>;
206
+
207
+ /* ===================================================================== */
208
+ /* Documentation / Helper Components */
209
+ /* ===================================================================== */
210
+
211
+ interface InstallTabsProps {
212
+ packages?: string;
213
+ component?: string;
214
+ dev?: boolean;
215
+ className?: string;
216
+ }
217
+
218
+ declare const InstallTabs: React.FC<InstallTabsProps>;
219
+
220
+ interface PropItem {
221
+ prop: string;
222
+ type: string;
223
+ default?: string;
224
+ description?: string;
225
+ required?: boolean;
226
+ }
227
+
228
+ interface PropsTableProps {
229
+ data?: PropItem[];
230
+ title?: string;
231
+ description?: string;
232
+ className?: string;
233
+ }
234
+
235
+ declare const PropsTable: React.FC<PropsTableProps>;
236
+
237
+ export { BlobMorphHero, DEFAULT_PRESETS, DEFAULT_SCROLL_IMAGES, ImageScroll, InfiniteImageScroll, InfiniteTunnelHero, InstallTabs, InteractiveAsciiFace, LiquidGlassButton, PropsTable, SmoothScrollProvider, SmoothScrollProvider as default, liquidGlassButton };
238
+ export type { BlobMorphHeroProps, ImageScrollProps, InfiniteTunnelHeroProps, InstallTabsProps, InteractiveAsciiFaceProps, LiquidGlassButtonProps, PresetItem, PropItem, PropsTableProps, ScrollImageItem, SmoothScrollProviderProps };