gralobe 1.0.9 → 1.0.10

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/index.d.ts CHANGED
@@ -184,6 +184,7 @@ export declare class GlobeViz implements GlobeVizAPI {
184
184
  private createStars;
185
185
  private createGUI;
186
186
  private handleResize;
187
+ private handleFullscreenChange;
187
188
  private handleKeydown;
188
189
  private animate;
189
190
  toGlobe(): void;
@@ -199,6 +200,8 @@ export declare class GlobeViz implements GlobeVizAPI {
199
200
  recordVideo(options?: ExportOptions): Promise<void>;
200
201
  setEffects(effects: Partial<EffectsConfig>): void;
201
202
  resize(width: number, height: number): void;
203
+ toggleFullscreen(): Promise<void>;
204
+ isFullscreen(): boolean;
202
205
  destroy(): void;
203
206
  }
204
207
 
@@ -234,6 +237,10 @@ export declare interface GlobeVizAPI {
234
237
  setEffects(effects: Partial<EffectsConfig>): void;
235
238
  /** Resize the visualization */
236
239
  resize(width: number, height: number): void;
240
+ /** Toggle fullscreen mode */
241
+ toggleFullscreen(): Promise<void>;
242
+ /** Check if currently fullscreen */
243
+ isFullscreen(): boolean;
237
244
  /** Destroy the instance and clean up */
238
245
  destroy(): void;
239
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gralobe",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Interactive 3D globe visualization with statistics, smooth flat map ↔ globe transitions, and country labels",
5
5
  "type": "module",
6
6
  "main": "./dist/gralobe.umd.cjs",