gralobe 1.0.5 → 1.0.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/index.d.ts CHANGED
@@ -276,6 +276,11 @@ export declare interface GlobeVizConfig {
276
276
 
277
277
  export declare type LabelStyle = 'none' | 'major' | 'all' | 'capitals' | 'minimal';
278
278
 
279
+ /**
280
+ * Normalize a values object/map to use numeric codes
281
+ */
282
+ export declare function normalizeCountryValues(values: Record<string, number> | Map<string, number>): Record<string, number>;
283
+
279
284
  /**
280
285
  * Complete statistic data ready for visualization
281
286
  */
@@ -323,6 +328,16 @@ export declare interface StatisticDefinition {
323
328
  */
324
329
  export declare type TexturePreset = 'satellite' | 'natural' | 'dark' | 'light' | 'night' | 'topographic';
325
330
 
331
+ /**
332
+ * ISO 3166-1 country code mappings
333
+ * Maps alpha-2, alpha-3, and common names to numeric codes
334
+ */
335
+ /**
336
+ * Convert any country identifier to ISO 3166-1 numeric code
337
+ * Supports: numeric codes, alpha-2, alpha-3, and common names
338
+ */
339
+ export declare function toNumericCode(input: string): string;
340
+
326
341
  export declare const WORLD_STATISTICS: CountryStatistics[];
327
342
 
328
343
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gralobe",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
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",