aura-glass 2.0.15 → 2.0.16
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/components/advanced/GlassFoldableSupport.d.ts +1 -1
- package/dist/components/button/GlassFab.d.ts +1 -1
- package/dist/components/charts/hooks/useQualityTier.d.ts +1 -1
- package/dist/components/website-components/MotionAwareGlass.d.ts +1 -1
- package/dist/contexts/MotionPreferenceContext.d.ts +2 -3
- package/dist/contexts/MotionPreferenceContext.d.ts.map +1 -1
- package/dist/core/themeUtils.d.ts +1 -1
- package/dist/hooks/useGlassOptimization.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/LiquidGlassMaterial.d.ts +2 -2
- package/dist/primitives/focus/ScreenReader.d.ts +30 -30
- package/dist/services/ai/config.d.ts +6 -6
- package/dist/services/ai/openai-service.d.ts +16 -16
- package/dist/services/auth/auth-service.d.ts +2 -2
- package/dist/ssr/index.js +349 -0
- package/dist/ssr/index.js.map +1 -0
- package/dist/ssr/index.mjs +322 -0
- package/dist/ssr/index.mjs.map +1 -0
- package/dist/tokens/designConstants.d.ts +10 -10
- package/dist/utils/aiPersonalization.d.ts +1 -1
- package/dist/utils/glassStyleProbes.d.ts +1 -1
- package/dist/utils/glassStyleProbes.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -49,7 +49,7 @@ export declare function useFoldableDevice(): {
|
|
|
49
49
|
};
|
|
50
50
|
export declare function useFoldableLayout(): {
|
|
51
51
|
isFoldable: boolean;
|
|
52
|
-
foldState: "
|
|
52
|
+
foldState: "unknown" | "folded" | "unfolded" | "partial";
|
|
53
53
|
segments: ScreenSegment[];
|
|
54
54
|
hinge: {
|
|
55
55
|
position: "horizontal" | "vertical";
|
|
@@ -93,7 +93,7 @@ export interface FabProps extends ConsciousnessFeatures {
|
|
|
93
93
|
*
|
|
94
94
|
* A floating action button (FAB) performs the primary action in an application.
|
|
95
95
|
*/
|
|
96
|
-
export declare const Fab: React.ForwardRefExoticComponent<FabProps & React.RefAttributes<
|
|
96
|
+
export declare const Fab: React.ForwardRefExoticComponent<FabProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
97
97
|
/**
|
|
98
98
|
* GlassFab Component
|
|
99
99
|
*
|
|
@@ -20,7 +20,7 @@ export declare function useChartPerformanceMonitoring(enabled?: boolean): {
|
|
|
20
20
|
endMeasurement: (label: string) => number;
|
|
21
21
|
};
|
|
22
22
|
export declare function useAdaptiveQuality(initialTier?: ChartQualityTier['tier'], enabled?: boolean): {
|
|
23
|
-
currentTier: "
|
|
23
|
+
currentTier: "high" | "medium" | "low" | "ultra";
|
|
24
24
|
updateQualityBasedOnPerformance: (renderTime: number, targetFPS?: number) => void;
|
|
25
25
|
};
|
|
26
26
|
export declare function getQualityBasedPhysicsParams(qualityTier: ChartQualityTier['tier']): PhysicsParams;
|
|
@@ -15,7 +15,7 @@ interface MotionAwareGlassProps extends Omit<React.ComponentProps<typeof motion.
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const MotionAwareGlass: React.ForwardRefExoticComponent<Omit<MotionAwareGlassProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export declare const MotionAwareGlassCard: React.ForwardRefExoticComponent<Omit<Omit<MotionAwareGlassProps, "variant">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export declare const MotionAwareGlassButton: React.ForwardRefExoticComponent<Omit<Omit<MotionAwareGlassProps, "
|
|
18
|
+
export declare const MotionAwareGlassButton: React.ForwardRefExoticComponent<Omit<Omit<MotionAwareGlassProps, "interactive" | "variant" | "asButton">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
export declare const MotionAwareGlassInput: React.ForwardRefExoticComponent<Omit<Omit<MotionAwareGlassProps, "variant">, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export declare const useMotionAwareGlassStyles: () => {
|
|
21
21
|
getGlassStyle: (variant?: MotionAwareGlassProps["variant"]) => React.CSSProperties;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
export declare const useMotionPreferenceContext: () => {
|
|
3
3
|
prefersReducedMotion: boolean;
|
|
4
4
|
isMotionSafe: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const useMotionPreferenceContext: () => MotionPreferenceContextType;
|
|
5
|
+
};
|
|
7
6
|
interface MotionPreferenceProviderProps {
|
|
8
7
|
children: React.ReactNode;
|
|
9
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotionPreferenceContext.d.ts","sourceRoot":"","sources":["../../src/contexts/MotionPreferenceContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MotionPreferenceContext.d.ts","sourceRoot":"","sources":["../../src/contexts/MotionPreferenceContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAY9E,eAAO,MAAM,0BAA0B;;;CAUtC,CAAC;AAEF,UAAU,6BAA6B;IACrC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAyB5E,CAAC"}
|
|
@@ -2,7 +2,7 @@ export declare const getThemeValue: (theme: any, key: string) => any;
|
|
|
2
2
|
export declare const createThemeVariant: (baseTheme: any, overrides: any) => any;
|
|
3
3
|
export declare const mergeThemes: (themes: any[]) => any;
|
|
4
4
|
export declare const createThemeContext: (defaultTheme?: "light" | "dark" | "glass" | undefined) => {
|
|
5
|
-
theme: "
|
|
5
|
+
theme: "glass" | "light" | "dark";
|
|
6
6
|
setTheme: (theme: "light" | "dark" | "glass") => void;
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=themeUtils.d.ts.map
|
|
@@ -21,7 +21,7 @@ export interface OptimizedGlassStyles {
|
|
|
21
21
|
export declare function useGlassOptimization(baseOptions?: GlassOptions, config?: GlassOptimizationConfig): {
|
|
22
22
|
optimizedOptions: GlassOptions;
|
|
23
23
|
optimizedStyles: OptimizedGlassStyles;
|
|
24
|
-
performanceMode: "high" | "
|
|
24
|
+
performanceMode: "high" | "low" | "balanced";
|
|
25
25
|
isHighPerformance: boolean;
|
|
26
26
|
isLowPerformance: boolean;
|
|
27
27
|
shouldReduceEffects: boolean;
|
package/dist/index.js
CHANGED