What's New?
We're happy to introduce RNUILib Packages.
With Packages you can import individual components instead of the whole library, Only components you find necessary for your app.
Why Packages are important?
- Smaller bundle size - By importing only the components you need, your bundle size will be reduced to the files that were imported.
- Quicker setup - Avoid installing a long list of peer dependencies and linking native dependencies that you don't need.
Important
In the version we started using react-native-community/picker instead of using React Native core Picker component.
This will require you to install this library as a dependency in your own project (and also pod install it).
This is according to React Native recommendations and plans to deprecate their internal Picker component.
Features
1189046 | Badge
- Support passing borderRadius (#865)
c33e9f0 | Add onToggleExpandableModal
callback to DateTimePicker
(#872)
8d109ab | Switching to 'react-native-community/picker' for Picker native component. (#846)
7e35bcf, 4ce92eb | Drawer
now support left toggle swipe (#844)
e35cf04 | Add margin modifiers support to Image
component (#853)
69a7911 | Declare testID for Picker.Item
030ea61 | Migrate Drawer
to TS (#861)
ab3c347 | Migrate FloatingButton
to TS
Bug fixes
d9c0dc5 | Fix a crash (Android) - CustomKeyboardLayout -> clearKeyboardOverlayMode -> NullPointer (#869)
d3af6be | Fix #848 - Fix issue with Picker
in mulitselect mode with custom value object structure (#863)
63e9377 | Add numeric size support to Avatar's badge + unit-tests (#850)
6355505 | TS/fix carousel-related typing errors (#856)
Maintenance & Infra
d524bfb | Update KeyboardRegistry example screen
31c34c4 | Update KeyboardInput example screen
d655e51,794d2a1f | Update KeyboardTrackView example screen
00b50ab | Update setup guidelines
997d2ea | Docs - set fixed version to gatsby (#867)
98a9a79 | Update Carousel example screen
0e539fc | Fix export of keyboard components
a2ccee0 | Fix docs broken example links
7989052 | Fix DateTimePicker docs
54c3238 | Fix ButtonScreen TS errors