@warp-ds/core
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -23,3 +23,3 @@ import { validKeyCodes, validKeys, eventOptions, clamp, roundDecimals, } from './helpers.js'; | ||
const key = e.key; | ||
if (!validKeyCodes.includes(key)) | ||
if (props.disabled || !validKeyCodes.includes(key)) | ||
return; | ||
@@ -26,0 +26,0 @@ e.preventDefault(); |
@@ -5,3 +5,3 @@ { | ||
"description": "Shared business logic for JS implementations of Warp Design System", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "exports": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25807