- Changed package namespace from
@pxblue
to@brightlayer-ui
.
Previous versions listed after this indicator refer to our deprecated @pxblue
packages.
- Many new theme color properties to give greater control over the styles of various components. Note that the global ReactNativePaper namespace will need to be updated in your application to use these properties.
- The
blueDarkAlt
theme has been consolidated into theblueDark
theme and a selection of wrapper components in the@pxblue/react-native-components
library. This eliminates the need for using two theme providers and writing your own wrappers for these components. theme.colors.textSecondary
— usetheme.colors.textPalette.secondary
instead.
- blueDarkAlt theme deprecation notice.
- Initial Dark themes (regular and alternate)
- Updated peerDependencies to allow for use with react-native-paper version 4.
- Updated theme to comply with the react-native-paper specification.
** Breaking Changes **
- Font weights available in the theme have changed. We now have
thin
,light
,regular
, andmedium
(previouslysemiBold
).Bold
andExtraBold
have been removed. onPrimary
color is no longer available.sizes
property of the theme has been removed. If you need these size values, they are now exported from @brightlayer-ui/react-native-components.
- Themes have been broken out into their own packages. This package was originally part of @brightlayer-ui/themes. If you are switching to this package, you'll need to update some import statements (refer to the usage instructions in the README).