Releases: ontech7/react-native-dialog
Releases · ontech7/react-native-dialog
Release list
v1.3.0
Changelog
- Add dark-mode support to
DialogProvider:customStylesnow also accepts a{ light, dark }theme, plus newdarkStylesandcolorSchemeprops.colorSchemedefaults tolight— drive it fromuseColorScheme()or your in-app theme toggle to enable dark - Fix the expo-blur
blurReductionFactorprop name (was misspelledblurReducedFactor) - Add the
DialogStyleThemetype - Rework
shadcnStyleto match the shadcn/uiDialog(default neutral tokens,p-6/gap-4spacing,tracking-tighttitle,rounded-lg/rounded-mdradii,shadow-lg/shadow-sm), shipped as a light + dark theme - Add a
materialStylepreset (Material Design 3), also with a dark variant - The backdrop (blur + dim) now fades in/out with the open animation instead of appearing instantly
- Add an
overlayColorprop to set the scrim over the backdrop; the default scrim behind a blurred dialog is now a bit darker so the dialog stands out DialogInputnow defaults itscursorColorto the themed text color, so the caret stays visible in dark mode
v1.2.0
v1.1.2
v1.1.1
v1.1.0
- Added
onPressOutevent onDialogcomponent - Added
animationprop onDialogcomponent - Removed blur library (the user can import whatever blur library), no Expo necessary
- Changed portal library
- Removed
react-native-reanimatedand usedreact-nativelibrary for animations - Moved from
disttobuild
v1.0.0
- Fully compatible with Expo SDK >= 51
shadcn/uiapproach, with fully customizable components- Possibility to change global styles from the
DialogProvider - Portalized pupup/dialog
- Modifiable duration (default:
200) - Modifiable tint dark/light (default:
dark) - Modifiable slide-in animation (default:
none)