@shoper/phoenix_design_system 1.6.3 → 1.6.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.
@@ -71,7 +71,7 @@ class KeystrokesController {
71
71
  if (ev instanceof KeyboardEvent) {
72
72
  key = ev.key;
73
73
  }
74
- else {
74
+ else if (ev.detail && ev.detail.key) {
75
75
  key = ev.detail.key;
76
76
  }
77
77
  if (key) {
@@ -67,7 +67,7 @@ class KeystrokesController {
67
67
  if (ev instanceof KeyboardEvent) {
68
68
  key = ev.key;
69
69
  }
70
- else {
70
+ else if (ev.detail && ev.detail.key) {
71
71
  key = ev.detail.key;
72
72
  }
73
73
  if (key) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@shoper/phoenix_design_system",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "1.6.3",
5
+ "version": "1.6.5",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",