aura-glass 2.0.3 → 2.0.5
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/README.md +188 -6
- package/dist/animations/accessible/index.d.ts +9 -0
- package/dist/animations/accessible/index.d.ts.map +1 -0
- package/dist/animations/orchestration/useOrchestration.d.ts +72 -0
- package/dist/animations/orchestration/useOrchestration.d.ts.map +1 -0
- package/dist/animations/physics/gesturePhysics.d.ts +82 -0
- package/dist/animations/physics/gesturePhysics.d.ts.map +1 -0
- package/dist/components/card/GlowingCard.d.ts +25 -0
- package/dist/components/card/GlowingCard.d.ts.map +1 -0
- package/dist/components/charts/hooks/useChartPhysicsInteraction.d.ts +79 -0
- package/dist/components/charts/hooks/useChartPhysicsInteraction.d.ts.map +1 -0
- package/dist/components/dashboard/DimensionalDashboardContainer.d.ts +25 -0
- package/dist/components/dashboard/DimensionalDashboardContainer.d.ts.map +1 -0
- package/dist/components/layout/ZSpaceAppLayout.d.ts +34 -0
- package/dist/components/layout/ZSpaceAppLayout.d.ts.map +1 -0
- package/dist/components/navigation/GlassTabItem.d.ts +27 -0
- package/dist/components/navigation/GlassTabItem.d.ts.map +1 -0
- package/dist/hooks/extended/use3DTransform.d.ts +53 -0
- package/dist/hooks/extended/use3DTransform.d.ts.map +1 -0
- package/dist/hooks/extended/useAmbientTilt.d.ts +33 -0
- package/dist/hooks/extended/useAmbientTilt.d.ts.map +1 -0
- package/dist/hooks/extended/useMagneticElement.d.ts +30 -0
- package/dist/hooks/extended/useMagneticElement.d.ts.map +1 -0
- package/dist/hooks/extended/useZSpace.d.ts +7 -0
- package/dist/hooks/extended/useZSpace.d.ts.map +1 -0
- package/dist/hooks/extended/useZSpaceAnimation.d.ts +2 -0
- package/dist/hooks/extended/useZSpaceAnimation.d.ts.map +1 -1
- package/dist/hooks/physics/usePhysicsEngine.d.ts +38 -0
- package/dist/hooks/physics/usePhysicsEngine.d.ts.map +1 -0
- package/dist/hooks/physics/usePhysicsLayout.d.ts +52 -0
- package/dist/hooks/physics/usePhysicsLayout.d.ts.map +1 -0
- package/dist/hooks/useDeviceCapabilities.d.ts +30 -0
- package/dist/hooks/useDeviceCapabilities.d.ts.map +1 -0
- package/dist/hooks/useEnhancedReducedMotion.d.ts +27 -0
- package/dist/hooks/useEnhancedReducedMotion.d.ts.map +1 -1
- package/dist/index.d.ts +48 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3928 -641
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3886 -642
- package/dist/index.mjs.map +1 -1
- package/dist/physics/AuraPhysicsEngine.d.ts +144 -0
- package/dist/physics/AuraPhysicsEngine.d.ts.map +1 -0
- package/dist/services/ai/openai-service.d.ts +4 -4
- package/dist/types/common.d.ts +67 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/utils/dateAdapters.d.ts +42 -0
- package/dist/utils/dateAdapters.d.ts.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,7 +87,11 @@ This is not just a design system—it's an adaptive, intelligent, multi-sensory
|
|
|
87
87
|
- **10+ New Components Planned** - Including GlassRating, GlassPullToRefresh, GlassActionSheet, and more
|
|
88
88
|
- **40+ World-First Innovations** - Genesis-inspired components with cutting-edge capabilities including 15 production-ready AI-powered systems
|
|
89
89
|
- **✅ Comprehensive Glassmorphism Audit** - All 621 components audited with critical bug fixes applied (441 files fixed)
|
|
90
|
-
-
|
|
90
|
+
- **🧪 Advanced Physics Engine** - Full 2D physics system with collision detection, spring dynamics, and gesture interactions
|
|
91
|
+
- **🎭 Complete Animation Orchestration** - Multi-element choreography with sequencing, staggering, and stage management
|
|
92
|
+
- **🎯 Transform & Motion System** - 3D transforms, ambient tilt, magnetic elements, and Z-space positioning
|
|
93
|
+
- **⚡ Production-Ready Physics Hooks** - usePhysicsEngine, usePhysicsLayout for advanced interactions
|
|
94
|
+
- **🌟 Gesture Physics Integration** - 8 gesture types with 5 preset configurations for natural interactions
|
|
91
95
|
- **Performance Optimized** - Device-adaptive rendering with quality tiers and monitoring
|
|
92
96
|
- **TypeScript Support** - Full TypeScript definitions with comprehensive type safety
|
|
93
97
|
- **Enterprise-Grade Architecture** - Production-ready with error handling and monitoring
|
|
@@ -239,6 +243,23 @@ import {
|
|
|
239
243
|
adaptiveAI,
|
|
240
244
|
useGlassSound,
|
|
241
245
|
useAdaptiveAI,
|
|
246
|
+
// 🆕 NEW! Enhanced Hooks & Utilities
|
|
247
|
+
useEnhancedReducedMotion,
|
|
248
|
+
useDeviceCapabilities,
|
|
249
|
+
useQualityTier,
|
|
250
|
+
getQualityBasedPhysicsParams,
|
|
251
|
+
getQualityBasedGlassParams,
|
|
252
|
+
useChartPhysicsInteraction,
|
|
253
|
+
useTheme,
|
|
254
|
+
useThemeVariant,
|
|
255
|
+
useThemeProviderPresence,
|
|
256
|
+
AnimationProvider,
|
|
257
|
+
useAnimation,
|
|
258
|
+
useZSpaceAnimation,
|
|
259
|
+
useParallaxZSpace,
|
|
260
|
+
useCardStackZSpace,
|
|
261
|
+
prefersReducedMotion,
|
|
262
|
+
createAccessibleAnimation,
|
|
242
263
|
// 🆕 Next-Gen Consciousness Interface
|
|
243
264
|
GlassPredictiveEngine,
|
|
244
265
|
GlassEyeTrackingProvider,
|
|
@@ -897,6 +918,85 @@ function AIComponentsApp() {
|
|
|
897
918
|
);
|
|
898
919
|
}
|
|
899
920
|
|
|
921
|
+
// 🆕 NEW! Enhanced Hooks Usage Examples
|
|
922
|
+
function EnhancedHooksApp() {
|
|
923
|
+
// Device capabilities and optimization
|
|
924
|
+
const { deviceInfo, reload } = useDeviceCapabilities();
|
|
925
|
+
const prefersReducedMotion = useEnhancedReducedMotion();
|
|
926
|
+
const { currentTheme, setTheme } = useTheme();
|
|
927
|
+
|
|
928
|
+
// Chart interactions with physics
|
|
929
|
+
const chartRef = useRef(null);
|
|
930
|
+
const wrapperRef = useRef(null);
|
|
931
|
+
const { isPanning, zoomLevel, applyZoom, resetZoom } = useChartPhysicsInteraction(
|
|
932
|
+
chartRef,
|
|
933
|
+
wrapperRef,
|
|
934
|
+
{
|
|
935
|
+
enabled: true,
|
|
936
|
+
mode: 'xy',
|
|
937
|
+
minZoom: 0.5,
|
|
938
|
+
maxZoom: 5,
|
|
939
|
+
}
|
|
940
|
+
);
|
|
941
|
+
|
|
942
|
+
// Quality tier optimization for charts
|
|
943
|
+
const qualityTier = useQualityTier(deviceInfo.performance.tier);
|
|
944
|
+
const physicsParams = getQualityBasedPhysicsParams(qualityTier);
|
|
945
|
+
const glassParams = getQualityBasedGlassParams(qualityTier);
|
|
946
|
+
|
|
947
|
+
// Z-space 3D animations
|
|
948
|
+
const {
|
|
949
|
+
layers,
|
|
950
|
+
animateToZSpace,
|
|
951
|
+
bringToFront,
|
|
952
|
+
getLayerStyles
|
|
953
|
+
} = useZSpaceAnimation([
|
|
954
|
+
{ id: 'layer1', zIndex: 1, elevation: 0, opacity: 1, scale: 1, blur: 0, transform: '' },
|
|
955
|
+
{ id: 'layer2', zIndex: 2, elevation: 5, opacity: 1, scale: 1, blur: 0, transform: '' },
|
|
956
|
+
]);
|
|
957
|
+
|
|
958
|
+
return (
|
|
959
|
+
<AnimationProvider config={{ duration: prefersReducedMotion ? 0 : 300 }}>
|
|
960
|
+
<div className="min-h-screen bg-gradient-to-br from-slate-900 to-blue-900">
|
|
961
|
+
{/* Device info display */}
|
|
962
|
+
<GlassCard className="p-4 m-4">
|
|
963
|
+
<h3>Device Information</h3>
|
|
964
|
+
<p>Type: {deviceInfo.type}</p>
|
|
965
|
+
<p>Performance Tier: {deviceInfo.performance.tier}</p>
|
|
966
|
+
<p>Reduced Motion: {prefersReducedMotion ? 'Yes' : 'No'}</p>
|
|
967
|
+
<GlassButton onClick={reload}>Refresh Detection</GlassButton>
|
|
968
|
+
</GlassCard>
|
|
969
|
+
|
|
970
|
+
{/* Chart with physics interactions */}
|
|
971
|
+
<div ref={wrapperRef} className="p-4 m-4">
|
|
972
|
+
<GlassCard>
|
|
973
|
+
<p>Zoom Level: {zoomLevel.toFixed(2)}x</p>
|
|
974
|
+
<p>Panning: {isPanning ? 'Yes' : 'No'}</p>
|
|
975
|
+
<GlassButton onClick={resetZoom}>Reset Zoom</GlassButton>
|
|
976
|
+
{/* Chart.js component would go here */}
|
|
977
|
+
</GlassCard>
|
|
978
|
+
</div>
|
|
979
|
+
|
|
980
|
+
{/* Z-space layered UI */}
|
|
981
|
+
{layers.map((layer) => (
|
|
982
|
+
<div
|
|
983
|
+
key={layer.id}
|
|
984
|
+
style={getLayerStyles(layer.id)}
|
|
985
|
+
onClick={() => bringToFront(layer.id)}
|
|
986
|
+
>
|
|
987
|
+
<GlassCard>Layer {layer.id}</GlassCard>
|
|
988
|
+
</div>
|
|
989
|
+
))}
|
|
990
|
+
|
|
991
|
+
{/* Theme switcher */}
|
|
992
|
+
<GlassButton onClick={() => setTheme(currentTheme === 'dark' ? 'light' : 'dark')}>
|
|
993
|
+
Toggle Theme
|
|
994
|
+
</GlassButton>
|
|
995
|
+
</div>
|
|
996
|
+
</AnimationProvider>
|
|
997
|
+
);
|
|
998
|
+
}
|
|
999
|
+
|
|
900
1000
|
## 🎨 Component Categories (20+ Categories)
|
|
901
1001
|
|
|
902
1002
|
### Layout & Structure
|
|
@@ -910,6 +1010,9 @@ function AIComponentsApp() {
|
|
|
910
1010
|
- `GlassAppShell` - Application shell layout
|
|
911
1011
|
- `GlassFlex` - Flexible layout container
|
|
912
1012
|
- `OptimizedGlassContainer` - Performance-optimized container
|
|
1013
|
+
- `ZSpaceAppLayout` - **NEW!** Full app layout with Z-space depth layers for header, sidebar, content, and footer
|
|
1014
|
+
- `DimensionalDashboardContainer` - **NEW!** 3D dashboard with parallax, auto-rotation, and multi-layer depth positioning
|
|
1015
|
+
- `PageGlassContainer` - Full-page glass container with scroll fade and dimensional effects
|
|
913
1016
|
|
|
914
1017
|
### Navigation & Chrome
|
|
915
1018
|
- `GlassHeader` - Application header with branding and navigation
|
|
@@ -920,13 +1023,14 @@ function AIComponentsApp() {
|
|
|
920
1023
|
- `GlassSegmentedControl` - Tab-like segmented control
|
|
921
1024
|
- `GlassPagination` - Data pagination controls
|
|
922
1025
|
- `GlassTabs` - Tab navigation component
|
|
1026
|
+
- `GlassTabItem` - **NEW!** Individual tab item with glass styling, badges, and keyboard navigation
|
|
923
1027
|
- `GlassNavigationMenu` - Dropdown navigation menu
|
|
924
1028
|
- `GlassBottomNav` - Bottom navigation for mobile
|
|
925
1029
|
- `GlassContextMenu` - Right-click context menus
|
|
926
1030
|
- `GlassDropdownMenu` - Dropdown menu component
|
|
927
1031
|
- `GlassMenubar` - Menu bar with multiple sections
|
|
928
1032
|
- `GlassMobileNav` - Mobile-optimized navigation
|
|
929
|
-
- `GlassResponsiveNav` - Responsive navigation system
|
|
1033
|
+
- `GlassResponsiveNav` / `ResponsiveNavigation` - Responsive navigation system
|
|
930
1034
|
- `GlassTabBar` - Advanced tab bar with badges
|
|
931
1035
|
|
|
932
1036
|
### Modals & Overlays
|
|
@@ -970,13 +1074,14 @@ function AIComponentsApp() {
|
|
|
970
1074
|
- `GlassToggle` - Toggle switch component
|
|
971
1075
|
|
|
972
1076
|
### Buttons & Cards
|
|
973
|
-
- `GlassButton` - Comprehensive action button with consciousness features
|
|
1077
|
+
- `GlassButton` / `Button` - Comprehensive action button with consciousness features
|
|
974
1078
|
- `EnhancedGlassButton` - Advanced button with physics engines and AI integration
|
|
975
1079
|
- `MagneticButton` - Button with magnetic cursor attraction effects
|
|
976
1080
|
- `RippleButton` - Button wrapper with ripple visual feedback
|
|
977
1081
|
- `GlassLinkButton` - Link component with button-like styling
|
|
978
|
-
- `GlassCard` - Content container card with material support
|
|
1082
|
+
- `GlassCard` / `Card` - Content container card with material support
|
|
979
1083
|
- `GlassCardLink` - Interactive card with link functionality
|
|
1084
|
+
- `GlowingCard` - **NEW!** Glassmorphic card with animated glowing edges (4 variants: default, neon, subtle, rainbow)
|
|
980
1085
|
- `GlassFab` - Floating action button
|
|
981
1086
|
- `HoudiniGlassCard` - High-performance card using CSS Houdini APIs
|
|
982
1087
|
|
|
@@ -986,7 +1091,7 @@ function AIComponentsApp() {
|
|
|
986
1091
|
- `GlassLineChart` - Line chart visualization
|
|
987
1092
|
- `GlassPieChart` - Pie chart visualization
|
|
988
1093
|
- `GlassChart` - Unified chart component with physics interactions
|
|
989
|
-
- `GlassDataChart` - Advanced chart with accessibility features
|
|
1094
|
+
- `GlassDataChart` / `DataChart` - Advanced chart with accessibility features
|
|
990
1095
|
|
|
991
1096
|
### Data Display
|
|
992
1097
|
- `GlassDataTable` - Data table with sorting/filtering
|
|
@@ -1322,13 +1427,50 @@ function AIComponentsApp() {
|
|
|
1322
1427
|
- `DeviceCapabilities` - Device detection and optimization
|
|
1323
1428
|
|
|
1324
1429
|
### Advanced Hooks
|
|
1430
|
+
|
|
1431
|
+
#### Core Performance & Optimization
|
|
1325
1432
|
- `useGlassFocus` - Advanced focus management with glass effects
|
|
1326
1433
|
- `useGlassPerformance` - Performance monitoring and optimization
|
|
1434
|
+
- `useEnhancedReducedMotion` - SSR-safe reduced motion preference detection with reactive updates
|
|
1435
|
+
- `useDeviceCapabilities` - Device capability detection and performance tier optimization
|
|
1436
|
+
- `useQualityTier` - Chart quality tier management with physics parameter optimization
|
|
1437
|
+
- `getQualityBasedPhysicsParams` - Helper to get optimal physics parameters for device
|
|
1438
|
+
- `getQualityBasedGlassParams` - Helper to get optimal glass parameters for device
|
|
1439
|
+
|
|
1440
|
+
#### Theme & Animation
|
|
1441
|
+
- `useTheme` - Access current theme and theme switching functionality
|
|
1442
|
+
- `useThemeVariant` - Access specific theme variant (light/dark/auto)
|
|
1443
|
+
- `useThemeProviderPresence` - Check if ThemeProvider is available
|
|
1444
|
+
- `AnimationProvider` - Context provider for animation configuration
|
|
1445
|
+
- `useAnimation` - Access animation context and controls
|
|
1446
|
+
|
|
1447
|
+
#### Data & Interaction
|
|
1327
1448
|
- `useSortableData` - Data sorting with multiple criteria
|
|
1328
1449
|
- `useDraggableListPhysics` - Physics-based drag and drop
|
|
1329
1450
|
- `useGalileoSprings` - Multi-spring physics animations
|
|
1330
|
-
- `
|
|
1451
|
+
- `useChartPhysicsInteraction` - Physics-based chart zoom/pan interactions for Chart.js
|
|
1452
|
+
|
|
1453
|
+
#### 3D & Spatial
|
|
1454
|
+
- `useZSpaceAnimation` - 3D depth and layering animations with z-space management
|
|
1455
|
+
- `useParallaxZSpace` - Parallax effects with mouse and scroll tracking
|
|
1456
|
+
- `useCardStackZSpace` - 3D card stacking effects with hover interactions
|
|
1457
|
+
- `useDepthNavigation` - Depth-based navigation with z-space transitions
|
|
1331
1458
|
- `useMouseMagneticEffect` - Magnetic interaction effects
|
|
1459
|
+
- `useZSpace` - **NEW!** Simplified alias for useZSpaceAnimation for easier imports
|
|
1460
|
+
|
|
1461
|
+
#### Physics & Transform (NEW!)
|
|
1462
|
+
- `usePhysicsEngine` - **NEW!** Full 2D physics engine management with collision detection and spring dynamics
|
|
1463
|
+
- `usePhysicsLayout` - **NEW!** Physics-based layout positioning with force-directed arrangement (grid, flow, magnetic modes)
|
|
1464
|
+
- `use3DTransform` - **NEW!** Advanced 3D CSS transforms with perspective, rotation, and animation
|
|
1465
|
+
- `useAmbientTilt` - **NEW!** Ambient tilting effects with device orientation and gyroscope support
|
|
1466
|
+
- `useMagneticElement` - **NEW!** Magnetic cursor attraction effects with configurable strength and range
|
|
1467
|
+
|
|
1468
|
+
#### Gesture & Animation (NEW!)
|
|
1469
|
+
- `useGesturePhysics` - **NEW!** Gesture-based physics interactions (8 gesture types: tap, double-tap, long-press, pan, swipe, pinch, rotate, hover)
|
|
1470
|
+
- `useOrchestration` - **NEW!** Multi-element animation orchestration with sequencing, staging, and choreography
|
|
1471
|
+
- `GestureType` - Enum for 8 supported gesture types
|
|
1472
|
+
- `GesturePhysicsPreset` - 5 preset configurations (smooth, snappy, bouncy, gentle, precise)
|
|
1473
|
+
- `PublicAnimationStage` - Animation stage states (idle, preparing, entering, active, exiting, completed, paused, error)
|
|
1332
1474
|
|
|
1333
1475
|
### Design Token System
|
|
1334
1476
|
- `glassTokens` - Complete glassmorphism design tokens
|
|
@@ -1361,6 +1503,46 @@ function AIComponentsApp() {
|
|
|
1361
1503
|
- `InterpolationUtils` - Advanced interpolation functions
|
|
1362
1504
|
- `GalileoElementInteractionPlugin` - Chart.js physics plugin
|
|
1363
1505
|
|
|
1506
|
+
### Accessible Animation Utilities
|
|
1507
|
+
- `prefersReducedMotion` - Check if user prefers reduced motion (SSR-safe)
|
|
1508
|
+
- `createAccessibleAnimation` - Create animations that respect user preferences
|
|
1509
|
+
- Automatic reduced motion support across all animated components
|
|
1510
|
+
|
|
1511
|
+
### TypeScript Support
|
|
1512
|
+
|
|
1513
|
+
#### Component Type Exports
|
|
1514
|
+
- `GlassCardProps` - Props for GlassCard component with material support
|
|
1515
|
+
- `GlowingCardProps` - **NEW!** Props for GlowingCard with glow variants
|
|
1516
|
+
- `GlassTabItemProps` - **NEW!** Props for GlassTabItem component
|
|
1517
|
+
- `DimensionalDashboardContainerProps` - **NEW!** Props for 3D dashboard container
|
|
1518
|
+
- `ZSpaceAppLayoutProps` - **NEW!** Props for Z-space app layout
|
|
1519
|
+
- `DateRange` - Date range interface for date pickers
|
|
1520
|
+
- `ChartDataset` - Chart data configuration for visualization components
|
|
1521
|
+
- `ColumnDefinition` - Table column definition with rendering support
|
|
1522
|
+
- `SortState` - Sorting state management for data grids
|
|
1523
|
+
- `MultiSelectOption` - Multi-select dropdown option interface
|
|
1524
|
+
- `Step` - Stepper and wizard step configuration
|
|
1525
|
+
- `MasonryItem` - Masonry grid item configuration
|
|
1526
|
+
- `ChartQualityTier` - Chart performance quality tier type
|
|
1527
|
+
- `QualityTier` - **NEW!** Quality tier type (without Chart prefix)
|
|
1528
|
+
- `PhysicsParams` - Physics simulation parameters for animations
|
|
1529
|
+
|
|
1530
|
+
#### Physics & Utility Types (NEW!)
|
|
1531
|
+
- `Vector2D` - 2D vector for position, velocity, and force calculations
|
|
1532
|
+
- `PhysicsBodyState` - Physics body state (position, velocity, acceleration, rotation, mass)
|
|
1533
|
+
- `PhysicsBodyOptions` - Configuration options for physics bodies
|
|
1534
|
+
- `CollisionEvent` - Collision event data with contact points and normals
|
|
1535
|
+
- `UnsubscribeFunction` - Type for cleanup functions
|
|
1536
|
+
- `DateAdapter` - Interface for date library adapters (date-fns, dayjs, native)
|
|
1537
|
+
|
|
1538
|
+
#### Physics Engine API (NEW!)
|
|
1539
|
+
- `AuraPhysicsEngineAPI` - Full 2D physics engine class with collision detection
|
|
1540
|
+
- `forcePhysicsEngineUpdate` - Force immediate physics simulation update
|
|
1541
|
+
- `getPhysicsBodyState` - Get current state of a physics body
|
|
1542
|
+
- `createDateFnsAdapter` - Create adapter for date-fns library
|
|
1543
|
+
- `createDayJsAdapter` - Create adapter for Day.js library
|
|
1544
|
+
- `createNativeDateAdapter` - Create adapter using native Date API
|
|
1545
|
+
|
|
1364
1546
|
## 🎛️ Glass Effects & Customization
|
|
1365
1547
|
|
|
1366
1548
|
AuraGlass provides multiple implementation variants for maximum flexibility:
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accessible Animation Utilities
|
|
3
|
+
*
|
|
4
|
+
* This module provides utilities for creating animations that respect
|
|
5
|
+
* user accessibility preferences, particularly the prefers-reduced-motion
|
|
6
|
+
* media query.
|
|
7
|
+
*/
|
|
8
|
+
export { prefersReducedMotion, createAccessibleAnimation } from '../accessibleAnimation';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/accessible/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation Orchestration Hook
|
|
3
|
+
* Provides synchronized multi-element animation control with sequencing and choreography
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Public animation stage states
|
|
7
|
+
*/
|
|
8
|
+
export declare enum PublicAnimationStage {
|
|
9
|
+
IDLE = "idle",
|
|
10
|
+
PREPARING = "preparing",
|
|
11
|
+
ENTERING = "entering",
|
|
12
|
+
ACTIVE = "active",
|
|
13
|
+
EXITING = "exiting",
|
|
14
|
+
COMPLETED = "completed",
|
|
15
|
+
PAUSED = "paused",
|
|
16
|
+
ERROR = "error"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Animation element configuration
|
|
20
|
+
*/
|
|
21
|
+
export interface AnimationElement {
|
|
22
|
+
id: string;
|
|
23
|
+
delay?: number;
|
|
24
|
+
duration?: number;
|
|
25
|
+
easing?: string;
|
|
26
|
+
properties?: Record<string, any>;
|
|
27
|
+
onStart?: () => void;
|
|
28
|
+
onComplete?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Orchestration sequence configuration
|
|
32
|
+
*/
|
|
33
|
+
export interface OrchestrationSequence {
|
|
34
|
+
elements: AnimationElement[];
|
|
35
|
+
mode?: 'parallel' | 'sequential' | 'stagger';
|
|
36
|
+
staggerDelay?: number;
|
|
37
|
+
loop?: boolean | number;
|
|
38
|
+
onSequenceStart?: () => void;
|
|
39
|
+
onSequenceComplete?: () => void;
|
|
40
|
+
onStageChange?: (stage: PublicAnimationStage) => void;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Hook for orchestrating complex animations
|
|
44
|
+
*/
|
|
45
|
+
export declare const useOrchestration: (sequence: OrchestrationSequence) => {
|
|
46
|
+
stage: PublicAnimationStage;
|
|
47
|
+
progress: number;
|
|
48
|
+
currentElementId: string | null;
|
|
49
|
+
start: () => Promise<void>;
|
|
50
|
+
pause: () => void;
|
|
51
|
+
resume: () => void;
|
|
52
|
+
stop: () => void;
|
|
53
|
+
reset: () => void;
|
|
54
|
+
seekToElement: (elementId: string) => void;
|
|
55
|
+
getState: () => {
|
|
56
|
+
stage: PublicAnimationStage;
|
|
57
|
+
currentElementIndex: number;
|
|
58
|
+
currentElementId: string | null;
|
|
59
|
+
iteration: number;
|
|
60
|
+
progress: number;
|
|
61
|
+
activeAnimations: string[];
|
|
62
|
+
elapsedTime: number;
|
|
63
|
+
};
|
|
64
|
+
isAnimating: boolean;
|
|
65
|
+
isPaused: boolean;
|
|
66
|
+
isCompleted: boolean;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Higher-order function to create orchestration sequences
|
|
70
|
+
*/
|
|
71
|
+
export declare const createOrchestrationSequence: (elements: AnimationElement[], options?: Partial<OrchestrationSequence>) => OrchestrationSequence;
|
|
72
|
+
//# sourceMappingURL=useOrchestration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOrchestration.d.ts","sourceRoot":"","sources":["../../../src/animations/orchestration/useOrchestration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACvD;AAcD;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,UAAU,qBAAqB;;;;;;;;;+BA6NhD,MAAM;;;;;;;;;;;;;CAgDrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,GACtC,UAAU,gBAAgB,EAAE,EAC5B,UAAS,OAAO,CAAC,qBAAqB,CAAM,KAC3C,qBAQD,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gesture Physics System
|
|
3
|
+
* Provides physics-based gesture interactions with preset configurations
|
|
4
|
+
*/
|
|
5
|
+
import { Vector2D } from '../../types/common';
|
|
6
|
+
/**
|
|
7
|
+
* Gesture types supported by the physics system
|
|
8
|
+
*/
|
|
9
|
+
export declare enum GestureType {
|
|
10
|
+
TAP = "tap",
|
|
11
|
+
DOUBLE_TAP = "double_tap",
|
|
12
|
+
LONG_PRESS = "long_press",
|
|
13
|
+
PAN = "pan",
|
|
14
|
+
SWIPE = "swipe",
|
|
15
|
+
PINCH = "pinch",
|
|
16
|
+
ROTATE = "rotate",
|
|
17
|
+
HOVER = "hover"
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Gesture physics preset configurations
|
|
21
|
+
*/
|
|
22
|
+
export interface GesturePhysicsPreset {
|
|
23
|
+
name: string;
|
|
24
|
+
damping: number;
|
|
25
|
+
stiffness: number;
|
|
26
|
+
mass: number;
|
|
27
|
+
velocity: number;
|
|
28
|
+
restDelta: number;
|
|
29
|
+
restSpeed: number;
|
|
30
|
+
gestures: GestureType[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Predefined gesture physics presets
|
|
34
|
+
*/
|
|
35
|
+
export declare const GESTURE_PRESETS: Record<string, GesturePhysicsPreset>;
|
|
36
|
+
/**
|
|
37
|
+
* Gesture event data
|
|
38
|
+
*/
|
|
39
|
+
export interface GestureEvent {
|
|
40
|
+
type: GestureType;
|
|
41
|
+
position: Vector2D;
|
|
42
|
+
delta: Vector2D;
|
|
43
|
+
velocity: Vector2D;
|
|
44
|
+
distance: number;
|
|
45
|
+
angle: number;
|
|
46
|
+
scale: number;
|
|
47
|
+
timestamp: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Options for gesture physics hook
|
|
51
|
+
*/
|
|
52
|
+
export interface UseGesturePhysicsOptions {
|
|
53
|
+
preset?: keyof typeof GESTURE_PRESETS | GesturePhysicsPreset;
|
|
54
|
+
enabledGestures?: GestureType[];
|
|
55
|
+
onGesture?: (event: GestureEvent) => void;
|
|
56
|
+
onGestureStart?: (event: GestureEvent) => void;
|
|
57
|
+
onGestureEnd?: (event: GestureEvent) => void;
|
|
58
|
+
threshold?: number;
|
|
59
|
+
velocityThreshold?: number;
|
|
60
|
+
longPressDelay?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Hook for gesture-based physics interactions
|
|
64
|
+
*/
|
|
65
|
+
export declare const useGesturePhysics: (options?: UseGesturePhysicsOptions) => {
|
|
66
|
+
handlers: {
|
|
67
|
+
onMouseDown: (e: React.MouseEvent) => void;
|
|
68
|
+
onMouseMove: (e: React.MouseEvent) => void;
|
|
69
|
+
onMouseUp: () => void;
|
|
70
|
+
onMouseLeave: () => void;
|
|
71
|
+
onTouchStart: (e: React.TouchEvent) => void;
|
|
72
|
+
onTouchMove: (e: React.TouchEvent) => void;
|
|
73
|
+
onTouchEnd: () => void;
|
|
74
|
+
onTouchCancel: () => void;
|
|
75
|
+
};
|
|
76
|
+
position: Vector2D;
|
|
77
|
+
isActive: boolean;
|
|
78
|
+
gestureType: GestureType | null;
|
|
79
|
+
velocity: Vector2D;
|
|
80
|
+
preset: GesturePhysicsPreset;
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=gesturePhysics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gesturePhysics.d.ts","sourceRoot":"","sources":["../../../src/animations/physics/gesturePhysics.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,QAAQ,EAAmE,MAAM,oBAAoB,CAAC;AAG/G;;GAEG;AACH,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAmDhE,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,QAAQ,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAeD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,MAAM,OAAO,eAAe,GAAG,oBAAoB,CAAC;IAC7D,eAAe,CAAC,EAAE,WAAW,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC/C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAS,wBAA6B;;yBA+LnD,KAAK,CAAC,UAAU;yBAGhB,KAAK,CAAC,UAAU;;;0BAWf,KAAK,CAAC,UAAU;yBAMjB,KAAK,CAAC,UAAU;;;;;;;;;CAkCpC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Glowing Card Component
|
|
3
|
+
* A glassmorphic card with animated glowing edges and hover effects
|
|
4
|
+
*/
|
|
5
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Glowing Card Props
|
|
8
|
+
*/
|
|
9
|
+
export interface GlowingCardProps {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
glowColor?: string;
|
|
14
|
+
glowIntensity?: number;
|
|
15
|
+
animationDuration?: number;
|
|
16
|
+
variant?: 'default' | 'neon' | 'subtle' | 'rainbow';
|
|
17
|
+
onClick?: () => void;
|
|
18
|
+
interactive?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Glowing Card Component
|
|
23
|
+
*/
|
|
24
|
+
export declare const GlowingCard: React.ForwardRefExoticComponent<GlowingCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
//# sourceMappingURL=GlowingCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlowingCard.d.ts","sourceRoot":"","sources":["../../../src/components/card/GlowingCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,aAAa,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,yFAgNvB,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Chart as ChartJS } from 'chart.js';
|
|
2
|
+
/**
|
|
3
|
+
* Physics-based chart interaction options
|
|
4
|
+
*/
|
|
5
|
+
export interface ChartPhysicsOptions {
|
|
6
|
+
/** Enable zoom/pan interactions */
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
/** Zoom mode: 'x', 'y', or 'xy' */
|
|
9
|
+
mode?: 'x' | 'y' | 'xy';
|
|
10
|
+
/** Physics parameters */
|
|
11
|
+
physics?: {
|
|
12
|
+
tension: number;
|
|
13
|
+
friction: number;
|
|
14
|
+
mass: number;
|
|
15
|
+
};
|
|
16
|
+
/** Minimum zoom level */
|
|
17
|
+
minZoom?: number;
|
|
18
|
+
/** Maximum zoom level */
|
|
19
|
+
maxZoom?: number;
|
|
20
|
+
/** Mouse wheel sensitivity */
|
|
21
|
+
wheelSensitivity?: number;
|
|
22
|
+
/** Inertia duration in milliseconds */
|
|
23
|
+
inertiaDuration?: number;
|
|
24
|
+
/** Respect user's reduced motion preference */
|
|
25
|
+
respectReducedMotion?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Return type for the useChartPhysicsInteraction hook
|
|
29
|
+
*/
|
|
30
|
+
export interface ChartPhysicsInteraction {
|
|
31
|
+
/** Whether the chart is currently being panned */
|
|
32
|
+
isPanning: boolean;
|
|
33
|
+
/** Current zoom level (1 = 100%) */
|
|
34
|
+
zoomLevel: number;
|
|
35
|
+
/** Apply a specific zoom level */
|
|
36
|
+
applyZoom: (level: number) => void;
|
|
37
|
+
/** Reset zoom to default (1.0) */
|
|
38
|
+
resetZoom: () => void;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Hook for physics-based chart interactions (zoom/pan)
|
|
42
|
+
*
|
|
43
|
+
* Provides smooth, physics-based zoom and pan interactions for Chart.js charts
|
|
44
|
+
* with configurable spring physics and constraints.
|
|
45
|
+
*
|
|
46
|
+
* @param chartRef - Reference to the Chart.js instance
|
|
47
|
+
* @param wrapperRef - Reference to the chart wrapper element
|
|
48
|
+
* @param options - Configuration options for interactions
|
|
49
|
+
*
|
|
50
|
+
* @returns Object containing interaction state and control functions
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```tsx
|
|
54
|
+
* function PhysicsChart() {
|
|
55
|
+
* const chartRef = useRef<ChartJS>(null);
|
|
56
|
+
* const wrapperRef = useRef<HTMLDivElement>(null);
|
|
57
|
+
*
|
|
58
|
+
* const { isPanning, zoomLevel, applyZoom, resetZoom } = useChartPhysicsInteraction(
|
|
59
|
+
* chartRef,
|
|
60
|
+
* wrapperRef,
|
|
61
|
+
* {
|
|
62
|
+
* enabled: true,
|
|
63
|
+
* mode: 'xy',
|
|
64
|
+
* minZoom: 0.5,
|
|
65
|
+
* maxZoom: 5,
|
|
66
|
+
* }
|
|
67
|
+
* );
|
|
68
|
+
*
|
|
69
|
+
* return (
|
|
70
|
+
* <div ref={wrapperRef}>
|
|
71
|
+
* <Chart ref={chartRef} {...chartProps} />
|
|
72
|
+
* <button onClick={resetZoom}>Reset</button>
|
|
73
|
+
* </div>
|
|
74
|
+
* );
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
export declare function useChartPhysicsInteraction(chartRef: React.RefObject<ChartJS | null>, wrapperRef: React.RefObject<HTMLDivElement | null>, options?: ChartPhysicsOptions): ChartPhysicsInteraction;
|
|
79
|
+
//# sourceMappingURL=useChartPhysicsInteraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartPhysicsInteraction.d.ts","sourceRoot":"","sources":["../../../../src/components/charts/hooks/useChartPhysicsInteraction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;IACxB,yBAAyB;IACzB,OAAO,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,kDAAkD;IAClD,SAAS,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kCAAkC;IAClC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAwCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,EACzC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAClD,OAAO,GAAE,mBAAwB,GAChC,uBAAuB,CAgNzB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dimensional Dashboard Container
|
|
3
|
+
* Advanced dashboard container with 3D depth layers and Z-space positioning
|
|
4
|
+
*/
|
|
5
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Dimensional Dashboard Container Props
|
|
8
|
+
*/
|
|
9
|
+
export interface DimensionalDashboardContainerProps {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
perspective?: number;
|
|
14
|
+
depth?: number;
|
|
15
|
+
parallax?: boolean;
|
|
16
|
+
autoRotate?: boolean;
|
|
17
|
+
rotationSpeed?: number;
|
|
18
|
+
layers?: ReactNode[];
|
|
19
|
+
onLayerClick?: (layerIndex: number) => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Dimensional Dashboard Container Component
|
|
23
|
+
*/
|
|
24
|
+
export declare const DimensionalDashboardContainer: React.ForwardRefExoticComponent<DimensionalDashboardContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
//# sourceMappingURL=DimensionalDashboardContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DimensionalDashboardContainer.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/DimensionalDashboardContainer.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,aAAa,EAAc,SAAS,EAA+B,MAAM,OAAO,CAAC;AAIjG;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED;;GAEG;AACH,eAAO,MAAM,6BAA6B,2GAyOzC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Z-Space App Layout
|
|
3
|
+
* Full application layout with Z-space depth layers for navigation, content, and overlays
|
|
4
|
+
*/
|
|
5
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Z-Space App Layout Props
|
|
8
|
+
*/
|
|
9
|
+
export interface ZSpaceAppLayoutProps {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
header?: ReactNode;
|
|
14
|
+
sidebar?: ReactNode;
|
|
15
|
+
footer?: ReactNode;
|
|
16
|
+
overlay?: ReactNode;
|
|
17
|
+
perspective?: number;
|
|
18
|
+
headerDepth?: number;
|
|
19
|
+
sidebarDepth?: number;
|
|
20
|
+
contentDepth?: number;
|
|
21
|
+
footerDepth?: number;
|
|
22
|
+
overlayDepth?: number;
|
|
23
|
+
sidebarWidth?: string | number;
|
|
24
|
+
headerHeight?: string | number;
|
|
25
|
+
footerHeight?: string | number;
|
|
26
|
+
sidebarPosition?: 'left' | 'right';
|
|
27
|
+
collapsedSidebar?: boolean;
|
|
28
|
+
onSidebarToggle?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Z-Space App Layout Component
|
|
32
|
+
*/
|
|
33
|
+
export declare const ZSpaceAppLayout: React.ForwardRefExoticComponent<ZSpaceAppLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
//# sourceMappingURL=ZSpaceAppLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZSpaceAppLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/ZSpaceAppLayout.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,aAAa,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,6FA0P3B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Glass Tab Item Component
|
|
3
|
+
* Individual tab item with glassmorphic styling for tab navigation
|
|
4
|
+
*/
|
|
5
|
+
import React, { CSSProperties, ReactNode } from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* Glass Tab Item Props
|
|
8
|
+
*/
|
|
9
|
+
export interface GlassTabItemProps {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
active?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
icon?: ReactNode;
|
|
16
|
+
badge?: string | number;
|
|
17
|
+
onClick?: (value: string) => void;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
href?: string;
|
|
21
|
+
target?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Glass Tab Item Component
|
|
25
|
+
*/
|
|
26
|
+
export declare const GlassTabItem: React.ForwardRefExoticComponent<GlassTabItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
//# sourceMappingURL=GlassTabItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassTabItem.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/GlassTabItem.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,aAAa,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,6FAsKxB,CAAC"}
|