@shohojdhara/atomix 0.6.5 → 0.6.6
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/atomix.css +2 -2
- package/dist/atomix.css.map +1 -1
- package/dist/atomix.min.css +1 -1
- package/dist/atomix.min.css.map +1 -1
- package/dist/atomix.umd.js +1 -1
- package/dist/atomix.umd.js.map +1 -1
- package/dist/atomix.umd.min.js +1 -1
- package/dist/charts.js +65 -255
- package/dist/charts.js.map +1 -1
- package/dist/core.js +65 -255
- package/dist/core.js.map +1 -1
- package/dist/forms.js +65 -255
- package/dist/forms.js.map +1 -1
- package/dist/heavy.js +65 -255
- package/dist/heavy.js.map +1 -1
- package/dist/index.d.ts +6 -37
- package/dist/index.esm.js +66 -300
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +66 -300
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AtomixGlass/AtomixGlass.tsx +0 -9
- package/src/components/AtomixGlass/AtomixGlassContainer.tsx +0 -2
- package/src/components/AtomixGlass/__snapshots__/AtomixGlass.test.tsx.snap +1 -1
- package/src/components/AtomixGlass/glass-utils.ts +82 -53
- package/src/components/AtomixGlass/shader-utils.ts +19 -77
- package/src/components/Form/Select.test.tsx +6 -6
- package/src/components/Form/Textarea.stories.tsx +5 -5
- package/src/lib/composables/useAtomixGlass.ts +2 -134
- package/src/lib/composables/useAtomixGlassStyles.ts +3 -3
- package/src/lib/composables/usePerformanceMonitor.ts +0 -66
- package/src/lib/constants/components.ts +6 -1
- package/src/styles/01-settings/_settings.atomix-glass.scss +2 -2
- package/src/styles/02-tools/_tools.button.scss +51 -42
- package/src/styles/06-components/_components.atomix-glass.scss +2 -2
- package/src/components/AtomixGlass/PerformanceDashboard.tsx +0 -171
- package/src/components/AtomixGlass/animation-system.ts +0 -578
package/dist/index.d.ts
CHANGED
|
@@ -11119,6 +11119,10 @@ declare const ATOMIX_GLASS: {
|
|
|
11119
11119
|
MIN_BLUR: number;
|
|
11120
11120
|
MOUSE_INFLUENCE_DIVISOR: number;
|
|
11121
11121
|
EDGE_FADE_PIXELS: number;
|
|
11122
|
+
INTERACTION: {
|
|
11123
|
+
HOVER_INTENSITY: number;
|
|
11124
|
+
ACTIVE_INTENSITY: number;
|
|
11125
|
+
};
|
|
11122
11126
|
ELASTICITY_TRANSLATION_FACTOR: number;
|
|
11123
11127
|
ELASTICITY_DISTANCE_THRESHOLD: number;
|
|
11124
11128
|
ELASTICITY_COMPRESSION_FACTOR: number;
|
|
@@ -11980,11 +11984,6 @@ interface UseAtomixGlassOptions extends Omit<AtomixGlassProps, 'children'> {
|
|
|
11980
11984
|
isFixedOrSticky?: boolean;
|
|
11981
11985
|
priority?: number;
|
|
11982
11986
|
withLiquidBlur?: boolean;
|
|
11983
|
-
animationQuality?: 'low' | 'medium' | 'high';
|
|
11984
|
-
timeSpeed?: number;
|
|
11985
|
-
noiseAmplitude?: number;
|
|
11986
|
-
noiseFrequency?: number;
|
|
11987
|
-
displacementStrength?: number;
|
|
11988
11987
|
}
|
|
11989
11988
|
interface UseAtomixGlassReturn {
|
|
11990
11989
|
isHovered: boolean;
|
|
@@ -12011,14 +12010,6 @@ interface UseAtomixGlassReturn {
|
|
|
12011
12010
|
transformStyle: string;
|
|
12012
12011
|
/** Resolved liquid glass rim configuration */
|
|
12013
12012
|
resolvedBorder: ResolvedGlassBorderConfig;
|
|
12014
|
-
getShaderTime: () => number;
|
|
12015
|
-
applyTimeBasedDistortion: (uv: {
|
|
12016
|
-
x: number;
|
|
12017
|
-
y: number;
|
|
12018
|
-
}) => {
|
|
12019
|
-
x: number;
|
|
12020
|
-
y: number;
|
|
12021
|
-
};
|
|
12022
12013
|
handleMouseEnter: () => void;
|
|
12023
12014
|
handleMouseLeave: () => void;
|
|
12024
12015
|
handleMouseDown: () => void;
|
|
@@ -12029,8 +12020,7 @@ interface UseAtomixGlassReturn {
|
|
|
12029
12020
|
* Composable hook for AtomixGlass component logic
|
|
12030
12021
|
* Manages all state, calculations, and event handlers
|
|
12031
12022
|
*/
|
|
12032
|
-
declare function useAtomixGlass({ glassRef, contentRef, wrapperRef, borderRadius, globalMousePosition: externalGlobalMousePosition, mouseOffset: externalMouseOffset, mouseContainer, overLight, reducedMotion, highContrast, withoutEffects, border, withBorder, elasticity, onClick, debugBorderRadius, debugOverLight, children, blurAmount, saturation, withLiquidBlur, isFixedOrSticky, priority,
|
|
12033
|
-
withTimeAnimation, animationSpeed, withMultiLayerDistortion, distortionOctaves, distortionLacunarity, distortionGain, distortionQuality, }: UseAtomixGlassOptions): UseAtomixGlassReturn;
|
|
12023
|
+
declare function useAtomixGlass({ glassRef, contentRef, wrapperRef, borderRadius, globalMousePosition: externalGlobalMousePosition, mouseOffset: externalMouseOffset, mouseContainer, overLight, reducedMotion, highContrast, withoutEffects, border, withBorder, elasticity, onClick, debugBorderRadius, debugOverLight, children, blurAmount, saturation, withLiquidBlur, isFixedOrSticky, priority, }: UseAtomixGlassOptions): UseAtomixGlassReturn;
|
|
12034
12024
|
|
|
12035
12025
|
/**
|
|
12036
12026
|
* Input state and functionality
|
|
@@ -12250,25 +12240,6 @@ interface UsePerformanceMonitorReturn {
|
|
|
12250
12240
|
* @returns Performance metrics and controls
|
|
12251
12241
|
*/
|
|
12252
12242
|
declare function usePerformanceMonitor$1(config?: PerformanceMonitorConfig$1): UsePerformanceMonitorReturn;
|
|
12253
|
-
/**
|
|
12254
|
-
* Debug Overlay Component (Optional)
|
|
12255
|
-
*
|
|
12256
|
-
* Shows real-time performance metrics on screen.
|
|
12257
|
-
* Only rendered when showOverlay is enabled.
|
|
12258
|
-
*/
|
|
12259
|
-
declare function PerformanceOverlay({ metrics }: {
|
|
12260
|
-
metrics: PerformanceMetrics$1;
|
|
12261
|
-
}): null;
|
|
12262
|
-
/**
|
|
12263
|
-
* Utility to get quality multipliers for glass parameters
|
|
12264
|
-
*/
|
|
12265
|
-
declare function getQualityMultipliers(quality: 'low' | 'medium' | 'high'): {
|
|
12266
|
-
distortionOctaves: number;
|
|
12267
|
-
displacementScale: number;
|
|
12268
|
-
blurAmount: number;
|
|
12269
|
-
animationSpeed: number;
|
|
12270
|
-
chromaticIntensity: number;
|
|
12271
|
-
};
|
|
12272
12243
|
|
|
12273
12244
|
/**
|
|
12274
12245
|
* Mobile optimization presets
|
|
@@ -12378,7 +12349,6 @@ declare const __lib_composables_DeviceDetector: typeof DeviceDetector;
|
|
|
12378
12349
|
type __lib_composables_LineChartOptions = LineChartOptions;
|
|
12379
12350
|
declare const __lib_composables_MOBILE_OPTIMIZED_BREAKPOINTS: typeof MOBILE_OPTIMIZED_BREAKPOINTS;
|
|
12380
12351
|
declare const __lib_composables_PERFORMANCE_PRESET: typeof PERFORMANCE_PRESET;
|
|
12381
|
-
declare const __lib_composables_PerformanceOverlay: typeof PerformanceOverlay;
|
|
12382
12352
|
type __lib_composables_PieChartOptions = PieChartOptions;
|
|
12383
12353
|
type __lib_composables_PieSlice = PieSlice;
|
|
12384
12354
|
declare const __lib_composables_QUALITY_PRESET: typeof QUALITY_PRESET;
|
|
@@ -12391,7 +12361,6 @@ declare const __lib_composables_createBreakpoints: typeof createBreakpoints;
|
|
|
12391
12361
|
declare const __lib_composables_getDefaultBreakpoints: typeof getDefaultBreakpoints;
|
|
12392
12362
|
declare const __lib_composables_getDevicePreset: typeof getDevicePreset;
|
|
12393
12363
|
declare const __lib_composables_getMobileOptimizedParams: typeof getMobileOptimizedParams;
|
|
12394
|
-
declare const __lib_composables_getQualityMultipliers: typeof getQualityMultipliers;
|
|
12395
12364
|
declare const __lib_composables_useAccordion: typeof useAccordion;
|
|
12396
12365
|
declare const __lib_composables_useAtomixGlass: typeof useAtomixGlass;
|
|
12397
12366
|
declare const __lib_composables_useBadge: typeof useBadge;
|
|
@@ -12421,7 +12390,7 @@ declare const __lib_composables_useSpinner: typeof useSpinner;
|
|
|
12421
12390
|
declare const __lib_composables_useTextarea: typeof useTextarea;
|
|
12422
12391
|
declare const __lib_composables_useTodo: typeof useTodo;
|
|
12423
12392
|
declare namespace __lib_composables {
|
|
12424
|
-
export { __lib_composables_BALANCED_PRESET as BALANCED_PRESET, __lib_composables_DEFAULT_BREAKPOINTS as DEFAULT_BREAKPOINTS, __lib_composables_DeviceDetector as DeviceDetector, __lib_composables_MOBILE_OPTIMIZED_BREAKPOINTS as MOBILE_OPTIMIZED_BREAKPOINTS, __lib_composables_PERFORMANCE_PRESET as PERFORMANCE_PRESET,
|
|
12393
|
+
export { __lib_composables_BALANCED_PRESET as BALANCED_PRESET, __lib_composables_DEFAULT_BREAKPOINTS as DEFAULT_BREAKPOINTS, __lib_composables_DeviceDetector as DeviceDetector, __lib_composables_MOBILE_OPTIMIZED_BREAKPOINTS as MOBILE_OPTIMIZED_BREAKPOINTS, __lib_composables_PERFORMANCE_PRESET as PERFORMANCE_PRESET, __lib_composables_QUALITY_PRESET as QUALITY_PRESET, __lib_composables_createBreakpoints as createBreakpoints, __lib_composables_getDefaultBreakpoints as getDefaultBreakpoints, __lib_composables_getDevicePreset as getDevicePreset, __lib_composables_getMobileOptimizedParams as getMobileOptimizedParams, __lib_composables_useAccordion as useAccordion, __lib_composables_useAtomixGlass as useAtomixGlass, __lib_composables_useBadge as useBadge, __lib_composables_useBarChart as useBarChart, __lib_composables_useBlock as useBlock, __lib_composables_useChartData as useChartData, __lib_composables_useChartInteraction as useChartInteraction, __lib_composables_useChartScale as useChartScale, __lib_composables_useEdgePanel as useEdgePanel, __lib_composables_useForm as useForm, __lib_composables_useFormGroup as useFormGroup, __lib_composables_useHero as useHero, __lib_composables_useInput as useInput, __lib_composables_useLineChart as useLineChart, __lib_composables_useNav as useNav, __lib_composables_useNavDropdown as useNavDropdown, __lib_composables_useNavItem as useNavItem, __lib_composables_useNavbar as useNavbar, usePerformanceMonitor$1 as usePerformanceMonitor, __lib_composables_usePieChart as usePieChart, __lib_composables_useRadio as useRadio, __lib_composables_useResponsiveGlass as useResponsiveGlass, __lib_composables_useRiver as useRiver, __lib_composables_useSelect as useSelect, __lib_composables_useSideMenu as useSideMenu, __lib_composables_useSideMenuItem as useSideMenuItem, __lib_composables_useSpinner as useSpinner, __lib_composables_useTextarea as useTextarea, __lib_composables_useTodo as useTodo };
|
|
12425
12394
|
export type { __lib_composables_BarChartOptions as BarChartOptions, __lib_composables_BarDimensions as BarDimensions, __lib_composables_LineChartOptions as LineChartOptions, PerformanceMetrics$1 as PerformanceMetrics, PerformanceMonitorConfig$1 as PerformanceMonitorConfig, __lib_composables_PieChartOptions as PieChartOptions, __lib_composables_PieSlice as PieSlice, __lib_composables_RiverContentColumn as RiverContentColumn, __lib_composables_RiverProps as RiverProps, __lib_composables_UseBlockOptions as UseBlockOptions, __lib_composables_UseBlockReturn as UseBlockReturn, __lib_composables_UsePerformanceMonitorReturn as UsePerformanceMonitorReturn };
|
|
12426
12395
|
}
|
|
12427
12396
|
|