Repository navigation
Releases: TechCraft-By-Subrata/react-native-mazic-ui
Releases · TechCraft-By-Subrata/react-native-mazic-ui
Release list
0.3.1
0.2.0
@tcbs/react-native-mazic-ui 0.2.0
This release modernizes icon support, improves package metadata for better ecosystem compatibility, and clarifies dependency ownership for consumers.
Highlights
- Migrated icon usage from legacy react-native-vector-icons imports to the new scoped per-family packages under @react-native-vector-icons.
- Added package exports map for clearer and safer module entry points.
- Added sideEffects: false to improve bundler tree-shaking.
- Added engines requirement (Node >= 18).
- Added bugs metadata for better issue routing.
- General package metadata cleanup for publish quality.
Breaking/Important Changes
- Dependency model updated: icon libraries are now peer dependencies instead of bundled runtime dependencies.
- Consumers must install the icon family packages used by the library.
- Legacy react-native-vector-icons package is no longer the expected integration path for this library.
Migration Guide
If you are upgrading from 0.1.x:
- Remove legacy icon package usage in your app if still present.
- Install required scoped icon packages:
- @react-native-vector-icons/ant-design
- @react-native-vector-icons/feather
- @react-native-vector-icons/fontawesome
- @react-native-vector-icons/foundation
- @react-native-vector-icons/ionicons
- @react-native-vector-icons/material-design-icons
- @react-native-vector-icons/material-icons
- @react-native-vector-icons/octicons
- Keep react-native-mmkv and zustand installed (peer dependency requirements).
- Reinstall pods and rebuild native apps.
Internal/Packaging Changes
- Updated source imports to scoped static icon entrypoints.
- Updated publish-facing package metadata for better interoperability with modern Node and bundlers.
- Aligned dependency boundaries with library best practices for React Native package authors.
Notes
- This is a modernization and compatibility-focused release.
- If your app previously relied on transitive icon dependencies from this package, you now need explicit app-level installs.
0.1.9 TcbsCard - A new component added
<TcbsCard
title={t('screens.dashboard.exploreAwarenessTopics') || 'Awareness Topics'}
description={t(
'screens.dashboard.awarenessTopicsDesc',
'Access curated topics designed to promote understanding and self-care, without replacing professional medical advice.'
)}
onPress={() => navigation.navigate('AwarenessTopics')}
accessibilityRole="button"
accessible
/>
0.1.3
🚀 Release Notes — @tcbs/react-native-mazic-ui v0.1.3
What’s New
-
AppErrorBoundary
AddedAppErrorBoundaryto gracefully capture JavaScript and runtime errors, helping prevent unexpected app crashes. -
Theme management with
setMazicColor
IntroducedsetMazicColorto enable centralized, dynamic theme color configuration for React Native apps. -
TcbsButton component
AddedTcbsButtonwith multiple variants and configurations, along with sample usage patterns for easy integration. -
Ready-made Theme Switch Modal
Added a built-in Theme Switch Modal to quickly enable and preview light/dark (or custom) theme switching in apps.