aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
38 lines • 1.29 kB
TypeScript
import React from "react";
export declare enum OptimizationLevel {
NONE = "none",
LIGHT = "light",
MODERATE = "moderate",
HEAVY = "heavy",
MAXIMUM = "heavy",
AGGRESSIVE = "heavy"
}
export interface OptimizedGlassContainerProps extends React.HTMLAttributes<HTMLDivElement> {
children?: React.ReactNode;
initialOptimizationLevel?: "none" | "light" | "moderate" | "heavy";
autoOptimize?: boolean;
performanceThreshold?: number;
glassIntensity?: number;
targetFps?: number;
checkInterval?: number;
showIndicator?: boolean;
preferReducedMotion?: boolean;
preserveBlur?: boolean;
onOptimizationChange?: (level: string) => void;
maxOptimizationLevel?: "none" | "light" | "moderate" | "heavy";
/**
* Accessibility label for screen readers
*/
"aria-label"?: string;
/**
* Accessibility role for semantic meaning
*/
role?: string;
}
/**
* OptimizedGlassContainer Component
* A container that automatically adjusts glass effects based on performance
*/
export declare const OptimizedGlassContainer: React.ForwardRefExoticComponent<OptimizedGlassContainerProps & React.RefAttributes<HTMLDivElement>>;
export default OptimizedGlassContainer;
//# sourceMappingURL=OptimizedGlassContainer.d.ts.map