@shoper/phoenix_design_system 1.6.13 → 1.6.15
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.
|
@@ -61,7 +61,7 @@ exports.HDisplayStepper = class HDisplayStepper extends phoenix_light_lit_elemen
|
|
|
61
61
|
_preventLettersToBeAdded(ev) {
|
|
62
62
|
const digitsDotAndBackspaceAllowedRegExp = /^[\d\b.,-]$/i;
|
|
63
63
|
const isAllowed = digitsDotAndBackspaceAllowedRegExp.test(ev.key);
|
|
64
|
-
if (!isAllowed && !['Enter', 'Backspace', 'ArrowRight', 'ArrowLeft'].includes(ev.key)) {
|
|
64
|
+
if (!isAllowed && !['Enter', 'Backspace', 'ArrowRight', 'ArrowLeft', 'Tab'].includes(ev.key)) {
|
|
65
65
|
ev.preventDefault();
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -57,7 +57,7 @@ let HDisplayStepper = class HDisplayStepper extends PhoenixLightLitElement {
|
|
|
57
57
|
_preventLettersToBeAdded(ev) {
|
|
58
58
|
const digitsDotAndBackspaceAllowedRegExp = /^[\d\b.,-]$/i;
|
|
59
59
|
const isAllowed = digitsDotAndBackspaceAllowedRegExp.test(ev.key);
|
|
60
|
-
if (!isAllowed && !['Enter', 'Backspace', 'ArrowRight', 'ArrowLeft'].includes(ev.key)) {
|
|
60
|
+
if (!isAllowed && !['Enter', 'Backspace', 'ArrowRight', 'ArrowLeft', 'Tab'].includes(ev.key)) {
|
|
61
61
|
ev.preventDefault();
|
|
62
62
|
}
|
|
63
63
|
}
|
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.
|
|
5
|
+
"version": "1.6.15",
|
|
6
6
|
"description": "phoenix design system",
|
|
7
7
|
"author": "zefirek",
|
|
8
8
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@splidejs/splide": "^4.0.7"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@dreamcommerce/utilities": "^1.
|
|
33
|
+
"@dreamcommerce/utilities": "^1.7.0",
|
|
34
34
|
"@shoper/jest_config": "^0.0.0",
|
|
35
35
|
"@shoper/tsconfig": "^0.0.0",
|
|
36
36
|
"@splidejs/splide": "4.0.7",
|