@votax572002/fluxfx 0.1.1 → 0.1.4
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/fluxfx.min.js +312 -93
- package/dist/index.cjs +312 -93
- package/dist/index.d.cts +163 -15
- package/dist/index.d.ts +163 -15
- package/dist/index.js +312 -93
- package/dist/react.cjs +312 -93
- package/dist/react.d.cts +51 -46
- package/dist/react.d.ts +51 -46
- package/dist/react.js +312 -93
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
type QualityLevel = 'low' | 'medium' | 'high';
|
|
4
|
+
type ThemeMode = 'auto' | 'light' | 'dark';
|
|
5
|
+
type LayerMode = 'background' | 'overlay';
|
|
4
6
|
interface PerformanceOptions {
|
|
5
7
|
/** Enable adaptive DPR scaling when FPS drops (default: true) */
|
|
6
8
|
dynamicResolution?: boolean;
|
|
@@ -20,7 +22,16 @@ interface PerformanceOptions {
|
|
|
20
22
|
interface FXOptions extends PerformanceOptions {
|
|
21
23
|
speed?: number;
|
|
22
24
|
quality?: QualityLevel;
|
|
25
|
+
bgColor?: string;
|
|
23
26
|
colors?: string | [string, string, string] | string[];
|
|
27
|
+
theme?: ThemeMode;
|
|
28
|
+
lightColors?: string | [string, string, string] | string[];
|
|
29
|
+
darkColors?: string | [string, string, string] | string[];
|
|
30
|
+
scrollColors?: string[] | Array<[string, string]>;
|
|
31
|
+
layer?: LayerMode;
|
|
32
|
+
preserveBg?: boolean;
|
|
33
|
+
adaptToSurface?: boolean;
|
|
34
|
+
overlayOpacity?: number;
|
|
24
35
|
color1?: string;
|
|
25
36
|
color2?: string;
|
|
26
37
|
color3?: string;
|
|
@@ -34,81 +45,78 @@ interface FXOptions extends PerformanceOptions {
|
|
|
34
45
|
}
|
|
35
46
|
|
|
36
47
|
declare function useFX<T extends HTMLElement = HTMLDivElement>(effect: string | string[], options?: FXOptions, disabled?: boolean): React.RefObject<T | null>;
|
|
37
|
-
interface
|
|
48
|
+
interface WebGLCommonProps extends React.HTMLAttributes<HTMLElement> {
|
|
38
49
|
as?: React.ElementType;
|
|
39
50
|
speed?: number;
|
|
40
|
-
quality?:
|
|
41
|
-
colors?:
|
|
51
|
+
quality?: QualityLevel;
|
|
52
|
+
colors?: string | string[];
|
|
53
|
+
/** Backdrop color (hex/rgb), 'transparent', or omit for automatic light/dark theme surface */
|
|
54
|
+
bgColor?: string;
|
|
55
|
+
/** Theme adaptation mode: 'auto' | 'light' | 'dark' */
|
|
56
|
+
theme?: ThemeMode;
|
|
57
|
+
/** Optional explicit palette for light surfaces */
|
|
58
|
+
lightColors?: string | string[];
|
|
59
|
+
/** Optional explicit palette for dark surfaces */
|
|
60
|
+
darkColors?: string | string[];
|
|
61
|
+
/** Optional scroll-reactive color stops */
|
|
62
|
+
scrollColors?: string[] | Array<[string, string]>;
|
|
63
|
+
/** Track page scroll progress */
|
|
64
|
+
trackScroll?: boolean;
|
|
65
|
+
/** Render behind content ('background') or above cards with pointer-events: none ('overlay') */
|
|
66
|
+
layer?: LayerMode;
|
|
67
|
+
/** Keep underlying website/card background colors untouched */
|
|
68
|
+
preserveBg?: boolean;
|
|
69
|
+
/** Dynamically shift effect palette to contrast with hovered/touched card surfaces */
|
|
70
|
+
adaptToSurface?: boolean;
|
|
71
|
+
/** Opacity when layer='overlay' (default: 0.78) */
|
|
72
|
+
overlayOpacity?: number;
|
|
42
73
|
interactive?: boolean;
|
|
43
74
|
respectReducedMotion?: boolean;
|
|
44
75
|
disabled?: boolean;
|
|
45
76
|
}
|
|
46
|
-
|
|
47
|
-
interface LiquidMetalProps extends React.HTMLAttributes<HTMLElement> {
|
|
48
|
-
as?: React.ElementType;
|
|
49
|
-
speed?: number;
|
|
50
|
-
quality?: 'low' | 'medium' | 'high';
|
|
51
|
-
colors?: [string, string, string];
|
|
52
|
-
interactive?: boolean;
|
|
53
|
-
respectReducedMotion?: boolean;
|
|
54
|
-
disabled?: boolean;
|
|
77
|
+
interface AuroraProps extends WebGLCommonProps {
|
|
55
78
|
}
|
|
56
|
-
declare function
|
|
57
|
-
interface
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
colors?: [string, string, string];
|
|
79
|
+
declare function Aurora({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, interactive, respectReducedMotion, disabled, children, ...rest }: AuroraProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
80
|
+
interface LiquidMetalProps extends WebGLCommonProps {
|
|
81
|
+
}
|
|
82
|
+
declare function LiquidMetal({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, interactive, respectReducedMotion, disabled, children, ...rest }: LiquidMetalProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
83
|
+
interface FluidProps extends WebGLCommonProps {
|
|
62
84
|
/** How long trails stay visible: 0.90 (fast fade) to 0.995 (long ink trails) */
|
|
63
85
|
dissipation?: number;
|
|
64
86
|
/** Brush size of cursor splash (default: 0.0045) */
|
|
65
87
|
radius?: number;
|
|
66
88
|
/** Vorticity / swirl strength (default: 1.4) */
|
|
67
89
|
swirl?: number;
|
|
68
|
-
interactive?: boolean;
|
|
69
|
-
respectReducedMotion?: boolean;
|
|
70
|
-
disabled?: boolean;
|
|
71
90
|
}
|
|
72
|
-
declare function Fluid({ as, speed, quality, colors, dissipation, radius, swirl, interactive, respectReducedMotion, disabled, children, ...rest }: FluidProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
91
|
+
declare function Fluid({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, dissipation, radius, swirl, interactive, respectReducedMotion, disabled, children, ...rest }: FluidProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
73
92
|
interface TiltCardProps extends React.HTMLAttributes<HTMLElement> {
|
|
74
93
|
as?: React.ElementType;
|
|
75
94
|
maxTilt?: number;
|
|
76
95
|
scale?: number;
|
|
77
96
|
perspective?: number;
|
|
78
97
|
glare?: boolean;
|
|
98
|
+
respectReducedMotion?: boolean;
|
|
79
99
|
disabled?: boolean;
|
|
80
100
|
}
|
|
81
|
-
declare function TiltCard({ as, maxTilt, scale, perspective, glare, disabled, children, ...rest }: TiltCardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
101
|
+
declare function TiltCard({ as, maxTilt, scale, perspective, glare, respectReducedMotion, disabled, children, ...rest }: TiltCardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
82
102
|
interface MagneticProps extends React.HTMLAttributes<HTMLElement> {
|
|
83
103
|
as?: React.ElementType;
|
|
84
104
|
strength?: number;
|
|
105
|
+
respectReducedMotion?: boolean;
|
|
85
106
|
disabled?: boolean;
|
|
86
107
|
}
|
|
87
|
-
declare function Magnetic({ as, strength, disabled, style, children, ...rest }: MagneticProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
88
|
-
interface InkProps extends
|
|
89
|
-
as?: React.ElementType;
|
|
90
|
-
speed?: number;
|
|
91
|
-
quality?: 'low' | 'medium' | 'high';
|
|
92
|
-
colors?: [string, string, string];
|
|
108
|
+
declare function Magnetic({ as, strength, respectReducedMotion, disabled, style, children, ...rest }: MagneticProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
109
|
+
interface InkProps extends WebGLCommonProps {
|
|
93
110
|
/** Ink dispersion / fade retention: 0.92 to 0.996 (default: 0.982) */
|
|
94
111
|
dissipation?: number;
|
|
95
112
|
/** Brush radius for cursor ink strokes (default: 0.004) */
|
|
96
113
|
radius?: number;
|
|
97
114
|
/** Curl / tendril swirl intensity (default: 1.75) */
|
|
98
115
|
curl?: number;
|
|
99
|
-
interactive?: boolean;
|
|
100
|
-
respectReducedMotion?: boolean;
|
|
101
|
-
disabled?: boolean;
|
|
102
116
|
}
|
|
103
|
-
declare function Ink({ as, speed, quality, colors, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: InkProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
104
|
-
interface AetheriaProps extends
|
|
105
|
-
|
|
106
|
-
speed?: number;
|
|
107
|
-
quality?: 'low' | 'medium' | 'high';
|
|
108
|
-
colors?: [string, string, string];
|
|
109
|
-
/** Water backdrop hex (e.g., '#F5F3EE' for Sumi-e, '#060913' for Abyss) */
|
|
110
|
-
bgColor?: string;
|
|
111
|
-
/** Auto-detected from bgColor luminance, or pass explicitly (0 = dark abyss, 1 = light water) */
|
|
117
|
+
declare function Ink({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: InkProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
118
|
+
interface AetheriaProps extends WebGLCommonProps {
|
|
119
|
+
/** Auto-detected from theme/bgColor luminance, or pass explicitly (0 = dark abyss, 1 = light water) */
|
|
112
120
|
lightMode?: boolean | number;
|
|
113
121
|
/** Pigment absorption/luminance strength (default: 1.45) */
|
|
114
122
|
absorptionGain?: number;
|
|
@@ -118,10 +126,7 @@ interface AetheriaProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
118
126
|
radius?: number;
|
|
119
127
|
/** Curl swirl intensity (default: 1.85) */
|
|
120
128
|
curl?: number;
|
|
121
|
-
interactive?: boolean;
|
|
122
|
-
respectReducedMotion?: boolean;
|
|
123
|
-
disabled?: boolean;
|
|
124
129
|
}
|
|
125
|
-
declare function Aetheria({ as, speed, quality, colors, bgColor, lightMode, absorptionGain, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: AetheriaProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
130
|
+
declare function Aetheria({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, lightMode, absorptionGain, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: AetheriaProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
126
131
|
|
|
127
|
-
export { Aetheria, type AetheriaProps, Aurora, type AuroraProps, Fluid, type FluidProps, Ink, type InkProps, LiquidMetal, type LiquidMetalProps, Magnetic, type MagneticProps, TiltCard, type TiltCardProps, useFX };
|
|
132
|
+
export { Aetheria, type AetheriaProps, Aurora, type AuroraProps, Fluid, type FluidProps, Ink, type InkProps, LiquidMetal, type LiquidMetalProps, Magnetic, type MagneticProps, TiltCard, type TiltCardProps, type WebGLCommonProps, useFX };
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
type QualityLevel = 'low' | 'medium' | 'high';
|
|
4
|
+
type ThemeMode = 'auto' | 'light' | 'dark';
|
|
5
|
+
type LayerMode = 'background' | 'overlay';
|
|
4
6
|
interface PerformanceOptions {
|
|
5
7
|
/** Enable adaptive DPR scaling when FPS drops (default: true) */
|
|
6
8
|
dynamicResolution?: boolean;
|
|
@@ -20,7 +22,16 @@ interface PerformanceOptions {
|
|
|
20
22
|
interface FXOptions extends PerformanceOptions {
|
|
21
23
|
speed?: number;
|
|
22
24
|
quality?: QualityLevel;
|
|
25
|
+
bgColor?: string;
|
|
23
26
|
colors?: string | [string, string, string] | string[];
|
|
27
|
+
theme?: ThemeMode;
|
|
28
|
+
lightColors?: string | [string, string, string] | string[];
|
|
29
|
+
darkColors?: string | [string, string, string] | string[];
|
|
30
|
+
scrollColors?: string[] | Array<[string, string]>;
|
|
31
|
+
layer?: LayerMode;
|
|
32
|
+
preserveBg?: boolean;
|
|
33
|
+
adaptToSurface?: boolean;
|
|
34
|
+
overlayOpacity?: number;
|
|
24
35
|
color1?: string;
|
|
25
36
|
color2?: string;
|
|
26
37
|
color3?: string;
|
|
@@ -34,81 +45,78 @@ interface FXOptions extends PerformanceOptions {
|
|
|
34
45
|
}
|
|
35
46
|
|
|
36
47
|
declare function useFX<T extends HTMLElement = HTMLDivElement>(effect: string | string[], options?: FXOptions, disabled?: boolean): React.RefObject<T | null>;
|
|
37
|
-
interface
|
|
48
|
+
interface WebGLCommonProps extends React.HTMLAttributes<HTMLElement> {
|
|
38
49
|
as?: React.ElementType;
|
|
39
50
|
speed?: number;
|
|
40
|
-
quality?:
|
|
41
|
-
colors?:
|
|
51
|
+
quality?: QualityLevel;
|
|
52
|
+
colors?: string | string[];
|
|
53
|
+
/** Backdrop color (hex/rgb), 'transparent', or omit for automatic light/dark theme surface */
|
|
54
|
+
bgColor?: string;
|
|
55
|
+
/** Theme adaptation mode: 'auto' | 'light' | 'dark' */
|
|
56
|
+
theme?: ThemeMode;
|
|
57
|
+
/** Optional explicit palette for light surfaces */
|
|
58
|
+
lightColors?: string | string[];
|
|
59
|
+
/** Optional explicit palette for dark surfaces */
|
|
60
|
+
darkColors?: string | string[];
|
|
61
|
+
/** Optional scroll-reactive color stops */
|
|
62
|
+
scrollColors?: string[] | Array<[string, string]>;
|
|
63
|
+
/** Track page scroll progress */
|
|
64
|
+
trackScroll?: boolean;
|
|
65
|
+
/** Render behind content ('background') or above cards with pointer-events: none ('overlay') */
|
|
66
|
+
layer?: LayerMode;
|
|
67
|
+
/** Keep underlying website/card background colors untouched */
|
|
68
|
+
preserveBg?: boolean;
|
|
69
|
+
/** Dynamically shift effect palette to contrast with hovered/touched card surfaces */
|
|
70
|
+
adaptToSurface?: boolean;
|
|
71
|
+
/** Opacity when layer='overlay' (default: 0.78) */
|
|
72
|
+
overlayOpacity?: number;
|
|
42
73
|
interactive?: boolean;
|
|
43
74
|
respectReducedMotion?: boolean;
|
|
44
75
|
disabled?: boolean;
|
|
45
76
|
}
|
|
46
|
-
|
|
47
|
-
interface LiquidMetalProps extends React.HTMLAttributes<HTMLElement> {
|
|
48
|
-
as?: React.ElementType;
|
|
49
|
-
speed?: number;
|
|
50
|
-
quality?: 'low' | 'medium' | 'high';
|
|
51
|
-
colors?: [string, string, string];
|
|
52
|
-
interactive?: boolean;
|
|
53
|
-
respectReducedMotion?: boolean;
|
|
54
|
-
disabled?: boolean;
|
|
77
|
+
interface AuroraProps extends WebGLCommonProps {
|
|
55
78
|
}
|
|
56
|
-
declare function
|
|
57
|
-
interface
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
colors?: [string, string, string];
|
|
79
|
+
declare function Aurora({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, interactive, respectReducedMotion, disabled, children, ...rest }: AuroraProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
80
|
+
interface LiquidMetalProps extends WebGLCommonProps {
|
|
81
|
+
}
|
|
82
|
+
declare function LiquidMetal({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, interactive, respectReducedMotion, disabled, children, ...rest }: LiquidMetalProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
83
|
+
interface FluidProps extends WebGLCommonProps {
|
|
62
84
|
/** How long trails stay visible: 0.90 (fast fade) to 0.995 (long ink trails) */
|
|
63
85
|
dissipation?: number;
|
|
64
86
|
/** Brush size of cursor splash (default: 0.0045) */
|
|
65
87
|
radius?: number;
|
|
66
88
|
/** Vorticity / swirl strength (default: 1.4) */
|
|
67
89
|
swirl?: number;
|
|
68
|
-
interactive?: boolean;
|
|
69
|
-
respectReducedMotion?: boolean;
|
|
70
|
-
disabled?: boolean;
|
|
71
90
|
}
|
|
72
|
-
declare function Fluid({ as, speed, quality, colors, dissipation, radius, swirl, interactive, respectReducedMotion, disabled, children, ...rest }: FluidProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
91
|
+
declare function Fluid({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, dissipation, radius, swirl, interactive, respectReducedMotion, disabled, children, ...rest }: FluidProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
73
92
|
interface TiltCardProps extends React.HTMLAttributes<HTMLElement> {
|
|
74
93
|
as?: React.ElementType;
|
|
75
94
|
maxTilt?: number;
|
|
76
95
|
scale?: number;
|
|
77
96
|
perspective?: number;
|
|
78
97
|
glare?: boolean;
|
|
98
|
+
respectReducedMotion?: boolean;
|
|
79
99
|
disabled?: boolean;
|
|
80
100
|
}
|
|
81
|
-
declare function TiltCard({ as, maxTilt, scale, perspective, glare, disabled, children, ...rest }: TiltCardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
101
|
+
declare function TiltCard({ as, maxTilt, scale, perspective, glare, respectReducedMotion, disabled, children, ...rest }: TiltCardProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
82
102
|
interface MagneticProps extends React.HTMLAttributes<HTMLElement> {
|
|
83
103
|
as?: React.ElementType;
|
|
84
104
|
strength?: number;
|
|
105
|
+
respectReducedMotion?: boolean;
|
|
85
106
|
disabled?: boolean;
|
|
86
107
|
}
|
|
87
|
-
declare function Magnetic({ as, strength, disabled, style, children, ...rest }: MagneticProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
88
|
-
interface InkProps extends
|
|
89
|
-
as?: React.ElementType;
|
|
90
|
-
speed?: number;
|
|
91
|
-
quality?: 'low' | 'medium' | 'high';
|
|
92
|
-
colors?: [string, string, string];
|
|
108
|
+
declare function Magnetic({ as, strength, respectReducedMotion, disabled, style, children, ...rest }: MagneticProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
109
|
+
interface InkProps extends WebGLCommonProps {
|
|
93
110
|
/** Ink dispersion / fade retention: 0.92 to 0.996 (default: 0.982) */
|
|
94
111
|
dissipation?: number;
|
|
95
112
|
/** Brush radius for cursor ink strokes (default: 0.004) */
|
|
96
113
|
radius?: number;
|
|
97
114
|
/** Curl / tendril swirl intensity (default: 1.75) */
|
|
98
115
|
curl?: number;
|
|
99
|
-
interactive?: boolean;
|
|
100
|
-
respectReducedMotion?: boolean;
|
|
101
|
-
disabled?: boolean;
|
|
102
116
|
}
|
|
103
|
-
declare function Ink({ as, speed, quality, colors, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: InkProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
104
|
-
interface AetheriaProps extends
|
|
105
|
-
|
|
106
|
-
speed?: number;
|
|
107
|
-
quality?: 'low' | 'medium' | 'high';
|
|
108
|
-
colors?: [string, string, string];
|
|
109
|
-
/** Water backdrop hex (e.g., '#F5F3EE' for Sumi-e, '#060913' for Abyss) */
|
|
110
|
-
bgColor?: string;
|
|
111
|
-
/** Auto-detected from bgColor luminance, or pass explicitly (0 = dark abyss, 1 = light water) */
|
|
117
|
+
declare function Ink({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: InkProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
118
|
+
interface AetheriaProps extends WebGLCommonProps {
|
|
119
|
+
/** Auto-detected from theme/bgColor luminance, or pass explicitly (0 = dark abyss, 1 = light water) */
|
|
112
120
|
lightMode?: boolean | number;
|
|
113
121
|
/** Pigment absorption/luminance strength (default: 1.45) */
|
|
114
122
|
absorptionGain?: number;
|
|
@@ -118,10 +126,7 @@ interface AetheriaProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
118
126
|
radius?: number;
|
|
119
127
|
/** Curl swirl intensity (default: 1.85) */
|
|
120
128
|
curl?: number;
|
|
121
|
-
interactive?: boolean;
|
|
122
|
-
respectReducedMotion?: boolean;
|
|
123
|
-
disabled?: boolean;
|
|
124
129
|
}
|
|
125
|
-
declare function Aetheria({ as, speed, quality, colors, bgColor, lightMode, absorptionGain, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: AetheriaProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
130
|
+
declare function Aetheria({ as, speed, quality, colors, bgColor, theme, lightColors, darkColors, scrollColors, trackScroll, layer, preserveBg, adaptToSurface, overlayOpacity, lightMode, absorptionGain, dissipation, radius, curl, interactive, respectReducedMotion, disabled, children, ...rest }: AetheriaProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
126
131
|
|
|
127
|
-
export { Aetheria, type AetheriaProps, Aurora, type AuroraProps, Fluid, type FluidProps, Ink, type InkProps, LiquidMetal, type LiquidMetalProps, Magnetic, type MagneticProps, TiltCard, type TiltCardProps, useFX };
|
|
132
|
+
export { Aetheria, type AetheriaProps, Aurora, type AuroraProps, Fluid, type FluidProps, Ink, type InkProps, LiquidMetal, type LiquidMetalProps, Magnetic, type MagneticProps, TiltCard, type TiltCardProps, type WebGLCommonProps, useFX };
|