Upgrade 0.33 to 0.34
Change startupjs and all @startupjs/* dependencies in your package.json to ^0.34.
BREAKING CHANGES
startupjs/ui/Avatar
- the
sizeproperty no longer supportedxs,xl,xxlvalues, pass number value instead
startupjs/ui/Button
- the
variantproperty no longer supportedshadowedvalue
startupjs/ui/Div
- no longer supports web only
onClickproperty, useonPressinstead
startupjs/ui/PasswordInput
- no longer supports property
secureTextEntry
startupjs/ui/Tabs
- now requires
react-native-pager-view. Run the following
IMPORTANT!!! Do the following steps only if react-native-gesture-handler and react-native-reanimated are not used by other components
-
no longer requires
react-native-gesture-handlerandreact-native-reanimatedpackages. You can remove them from yourpackage.json -
remove
react-native-gesture-handlerlink for android. For it do next steps
Open /android/app/src/main/java/com/YOUR_PROJECT_NAME/MainActivity.java. Remove from it this strings:
and this:
You can see all changes here.
startupjs/ui/Tag
-
remove
iconPositionproperty. For the icon on the left, use theiconproperty andiconStyleto style it, for the icon on the right, use thesecondaryIconandsecondaryIconStyleproperties, and all these properties to use two icons -
no more support loading indicator for async action
-
the default component size has become larger
-
add
sizeproperty
startupjs/auth
- remove
AuthModalcomponent, useModal+AuthFormlocally on your project