Move hitSlop normalization to JS (#4388)
## Description This moves the parsing and validation of `hitSlop` into one shared JS module and reduces the platforms to reading a fixed shape. JS now sends a normalized [left, top, right, bottom, width, height] array, where null marks an unspecified edge. That layout matches what the platforms already stored internally (FloatArray(6) on Android, RNGHHitSlop on Apple), so the native parsers shrink to mapping null → NaN, plus the DIP→px conversion on Android. Applied at all four producers: filterConfig (v1 and v2), prepareConfigForNativeSide (v3), bindSharedValues (v3's UI-thread path) and the button's web wrapper. ## Test plan Tested on Android, iOS and Web
D
Dawid Małecki committed
ecf706c9e84f12b9b29e8d7caf7e3ff5e279dbd3
Parent: cc704f0
Committed by GitHub <noreply@github.com>
on 8/12/2026, 12:36:21 PM