ui-material-components
ui-material-components copied to clipboard
[Bottom Navigation] Confusing Duplicate Bottom Navigation Components and Broken Package
I'm new to NativeScript and wanted to start with Material Design's BottomNavigation component. I encountered several issues that I believe need to be addressed:
-
Package Confusion:
- There are two similar packages available:
@nativescript-community/ui-material-bottom-navigation@nativescript-community/ui-material-bottomnavigationbarThis creates confusion for new users like myself, as it's unclear which one should be used.
- There are two similar packages available:
-
Broken Package:
- The
@nativescript-community/ui-material-bottom-navigationpackage appears to be broken:- All TypeScript files have incorrect prefixes (using
indexinstead ofbottomnavigation) - After manually renaming the files (e.g., from
index.d.tstobottomnavigation.d.ts), it partially worked - The other package (
@nativescript-community/ui-material-bottomnavigationbar) works better
- All TypeScript files have incorrect prefixes (using
- The
This issue is potentially related to #468, as it might be caused by the same underlying problems.
Suggested Actions:
- Clarify which package is the recommended one
- Either fix or deprecate the broken package
- Update documentation to prevent confusion for new users
- Consider merging the functionality into a single, well-maintained package
Environment:
- NativeScript version: 8.9.2
- Platform: Fedora Linux 41