keymap-inspector 0.1.4 → 0.1.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 CHANGED
@@ -429,7 +429,17 @@ class KeymapInspector {
429
429
 
430
430
  MIT © [mikyviz](https://github.com/MikyViz)
431
431
 
432
- ## 🤝 Contributing
432
+ ## Tests & Examples
433
+
434
+ For testing and development, check out the [tests/](./tests/) directory which contains:
435
+ - Interactive examples and demos
436
+ - Browser compatibility tests
437
+ - Development testing tools
438
+ - Sample implementations
439
+
440
+ See [tests/README.md](./tests/README.md) for detailed descriptions.
441
+
442
+ ## �🤝 Contributing
433
443
 
434
444
  Contributions are welcome! Please feel free to submit a Pull Request.
435
445
 
@@ -421,6 +421,14 @@
421
421
  // Global access for script tag usage
422
422
  if (typeof window !== 'undefined') {
423
423
  window.KeymapInspector = KeymapInspector;
424
+ // Добавляем раскладки прямо к KeymapInspector для браузера
425
+ KeymapInspector.en = en;
426
+ KeymapInspector.ru = ru;
427
+ KeymapInspector.de = de;
428
+ KeymapInspector.fr = fr;
429
+ KeymapInspector.es = es;
430
+ KeymapInspector.ua = ua;
431
+ KeymapInspector.he = he;
424
432
  window.KeymapLayouts = { en, ru, de, fr, es, ua, he };
425
433
  }
426
434
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keymap-inspector",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Inspect keyboard events and characters across different layouts.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/keymap-inspector.esm.js",