cosmic-ai-genius 0.3.32 → 0.3.42

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 CHANGED
@@ -2,6 +2,30 @@
2
2
 
3
3
  Private AI SDK for internal use only.
4
4
 
5
+ ## iOS Safari Z-Index Issues Fix
6
+
7
+ When integrating with ReScript/Tailwind CSS projects, you may experience z-index positioning issues specifically on iOS Safari. This has been fixed in v0.0.1+.
8
+
9
+ ### Solution
10
+
11
+ 1. **Automatic Fix**: The SDK now uses iOS Safari compatible z-index values (1500-1800 range) instead of high values (9998-10000) that don't work reliably on iOS Safari.
12
+
13
+ 2. **Manual Override** (if needed):
14
+ ```css
15
+ .genius-toggle-button { z-index: 1500 !important; }
16
+ .genius-chatbot-wrapper { z-index: 1600 !important; }
17
+ .genius-chatbot-mobile-wrapper { z-index: 1700 !important; }
18
+ .genius-voice-call-container { z-index: 1800 !important; }
19
+ ```
20
+
21
+ 3. **Hardware Acceleration**: The SDK now uses `transform: translateZ(0)` and `will-change: transform` to create proper stacking contexts on iOS Safari.
22
+
23
+ ### Z-Index Hierarchy
24
+ - 1500: Toggle Button (above Tailwind's max z-index of 1250)
25
+ - 1600: Main Chatbot Container
26
+ - 1700: Mobile Chatbot Overlay
27
+ - 1800: Voice Call Component
28
+
5
29
  ---
6
30
 
7
31
  (c) Cosmic AI Team