@warp-ds/core
Advanced tools
Comparing version 1.1.2 to 1.1.3
import { validKeyCodes, validKeys, eventOptions, clamp, roundDecimals } from './helpers.js'; | ||
let keydownRepeat = { | ||
counter: 0, | ||
repeatsBeforeAcceleration: 3, | ||
}; | ||
export function createHandlers({ props, sliderState }) { | ||
@@ -17,6 +21,2 @@ const clampedChange = (n) => clamp(n, { max: props.max, min: props.min }); | ||
}; | ||
const keydownRepeat = { | ||
counter: 0, | ||
repeatsBeforeAcceleration: 3, | ||
}; | ||
function handleKeyDown(e) { | ||
@@ -23,0 +23,0 @@ const key = e.key; |
@@ -5,3 +5,3 @@ { | ||
"description": "Shared business logic for JS implementations of Warp Design System", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"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
30594