diff --git a/example/storybook-nativewind/package.json b/example/storybook-nativewind/package.json index e32ec8cab9..8d9b595398 100644 --- a/example/storybook-nativewind/package.json +++ b/example/storybook-nativewind/package.json @@ -53,7 +53,7 @@ "expo-linear-gradient": "^12.3.0", "expo-status-bar": "~1.4.2", "fs": "^0.0.1-security", - "lucide-react-native": "^0.378.0", + "lucide-react-native": "^0.236.0", "nativewind": "^4.0.36", "next": "^13.5.3", "prism-react-renderer": "^1.3.5", diff --git a/packages/react-native-aria/slider/src/useSlider.web.ts b/packages/react-native-aria/slider/src/useSlider.web.ts index 742971b6f0..b97aba5741 100644 --- a/packages/react-native-aria/slider/src/useSlider.web.ts +++ b/packages/react-native-aria/slider/src/useSlider.web.ts @@ -186,11 +186,13 @@ function useSliderWeb( } }; - if (labelProps.htmlFor) { + //@ts-ignore + if (labelProps.htmlFor !== undefined) { // Ideally the `for` attribute should point to the first thumb, but VoiceOver on iOS // causes this to override the `aria-labelledby` on the thumb. This causes the first // thumb to only be announced as the slider label rather than its individual name as well. // See https://bugs.webkit.org/show_bug.cgi?id=172464. + //@ts-ignore delete labelProps.htmlFor; labelProps.onClick = () => { // Safari does not focus elements when clicking on an associated