nebux_design_system 0.1.7
nebux_design_system: ^0.1.7 copied to clipboard
A comprehensive Flutter design system package that provides consistent theming, typography, spacing, and UI components for Nebux applications.
0.1.7 - 2025-01-27 #
- FIX: Updated package dependencies and version constraints
- Fixed
app_shimmer
dependency to use proper version constraint (^1.0.0) - Bumped package version to 0.1.7 for proper publishing sequence
- Improved package stability and dependency management
- Fixed
0.1.6 - 2025-01-27 #
- FIX: Updated package dependencies and version constraints
- Fixed
app_shimmer
dependency to use proper version constraint (^1.0.0) - Bumped package version to 0.1.6 for proper publishing sequence
- Improved package stability and dependency management
- Fixed
0.1.4 - 2025-10-06 #
- REFACTOR: Chip configuration and list tile integration
- Added
ChipConfig
utility to centralize chip parameters (label, labelStyle, colors, density, onTap) - Updated internal components to consume
ChipConfig
for improved reusability and maintainability - Refactored
AppListTileWithChip
to remove chip-specific parameters and accept aChipConfig
- Improved documentation consistency using the custom doc template
- No breaking API changes; backwards-compatible migration path provided via config object
- Added
0.1.3 - 2025-01-27 #
- FIX: Updated
NbxAppBar
to automatically imply leading button for better Material Design compliance- Fixed
automaticallyImplyLeading
behavior to properly handle leading button display - Refactored
NbxScaffold
decoration property for improved customization options - Enhanced component consistency with Material Design guidelines
- Fixed
0.1.2 - 2025-01-27 #
- REFACTOR: Enhanced
NbxAppBar
component with improved leading button handling- Refactored leading button logic for better clarity and maintainability
- Changed default
centerTitle
behavior fromtrue
tofalse
inAppBarConfig
for better alignment with Material Design guidelines - Improved
titleSpacing
logic to properly handle cases when no leading button is present - Set
automaticallyImplyLeading
tofalse
for more predictable behavior - Enhanced code organization by extracting leading button building logic
0.1.0 - 2025-09-30 #
- NEW FEATURE: Enhanced Country model with
minLength
andmaxLength
properties for improved phone number validation- Added
minLength
property to Country model for minimum phone number length validation - Added
maxLength
property to Country model for maximum phone number length validation - Updated country JSON data to include length validation information
- Improved country picker functionality with better phone number validation support
- Enhanced user experience with more accurate phone number input validation
- Added
0.0.13 #
- REFACTOR:
NbxAppBar
improvements for clarity and predictable spacing- Adjusted
titleSpacing
logic to better align with MaterialAppBar
expectations - Simplified status bar brightness handling by removing redundant branches
- Minor cleanups for readability and consistency
- Adjusted
0.0.12 #
- BREAKING CHANGE: Refactored
NbxButton
component architecture for improved modularity and maintainability- Introduced configuration-based architecture with specialized config classes:
ButtonIconConfig
: Manages icon properties (leading/trailing icons and colors)ButtonStyleConfig
: Handles visual styling (variant, colors, border radius, text style)ButtonStateConfig
: Controls state management (loading, enabled, selected)ButtonLayoutConfig
: Manages layout properties (expansion behavior)
- Added new constructor with configuration objects for better organization
- Maintained backward compatibility with
NbxButton.legacy()
constructor - Improved code organization by reducing main widget from 275 lines to ~100 lines
- Enhanced testability with isolated configuration classes
- Increased component reusability through modular configuration system
- Better separation of concerns with dedicated config files
- Added comprehensive documentation following custom doc format
- Improved maintainability with isolated change impact
- Introduced configuration-based architecture with specialized config classes:
0.0.11 #
- REFACTOR: Enhanced
NbxButton
rendering logic with improved clarity and modularity- Introduced dedicated
_buildTextWidget
method to handle text rendering based on button variant - Simplified button child widget construction by consolidating text and icon handling
- Enhanced readability and maintainability of the
NbxButton
component - Added proper text overflow handling with
TextOverflow.fade
andmaxLines: 2
- Improved text alignment and spacing with
CrossAxisAlignment.center
andTextAlign.center
- Added
Flexible
wrapper for better text layout flexibility
- Introduced dedicated
0.0.10 #
- ENHANCEMENT: Added
isSelected
property toNbxButton
to indicate selection state with corresponding background/foreground style updates - REFACTOR: Simplified
NbxButton
variant rendering by replacing if-else with switch-case and consolidating text style application - CHORE: Commented out
repository
andissue_tracker
fields inpubspec.yaml
for cleaner configuration
Country Picker Integration #
The Nebux Design System includes a custom implementation of country picker functionality based on the country_picker_pro package. This integration provides:
- Custom Implementation: Fork of the original
country_picker_pro
package with enhanced Nebux theming - Internationalization: Full support for 25+ languages
- Theme Integration: Seamless integration with Nebux color and typography systems
- Enhanced Customization: Improved accessibility and styling options
- Consistent UX: Matches the design patterns of other Nebux components
The country picker functionality is available through the NbxCountryPickerInput
component and can be used for country selection in forms, user registration, and profile management.
0.0.9 #
- NEW FEATURE: Added comprehensive country picker functionality with
NbxCountryPickerInput
component - NEW FEATURE: Integrated custom country picker implementation based on country_picker_pro package
- NEW FEATURE: Full internationalization support (25+ languages) for country selection
- ENHANCEMENT: Added customizable phone code display option in country picker input
- ENHANCEMENT: Improved button component with renamed
isDisabled
toenabled
for better clarity - ENHANCEMENT: Enhanced input styling with improved hint text consistency
- ENHANCEMENT: Added flexible appBar support in NbxScaffold (now supports null appBar)
- ENHANCEMENT: Added default SizedBox constants for standardized spacing
- IMPROVEMENT: Refactored country selection logic with context-based theming
- IMPROVEMENT: Updated export structure to include new country picker components
- DEPENDENCY: Replaced external country_picker_pro dependency with custom implementation for better integration
0.0.8 #
- BREAKING CHANGE: Refactored button variants for better clarity - renamed 'primary' to 'filled' and 'secondary' to 'text'
- Enhanced typography system with custom factory method for flexible text style overrides
- Improved text validation rules with named parameters for better clarity and maintainability
- Enhanced input field styling with improved label and hint styles using textSecondary color with reduced opacity
- Added floatingLabelStyle to input decoration for consistent theming across input fields
- Introduced customBackgroundColor property to NbxButton for flexible background color customization
- Enhanced NbxAppBar with customizable leading button for improved component flexibility
- Added secondaryVariant color to NebuxColors for better theming support
- Refined typography styles with updated font sizes for improved consistency
- Generated new model files for enhanced component structure and theming consistency
- Updated .gitignore configuration for better generated file management
0.0.5 #
- BREAKING CHANGE: Removed
font_awesome_flutter
dependency for better performance and smaller bundle size - Enhanced
NebuxAppBar
with customizable icon support, removing dependency on FontAwesome icons - Refactored
NbxSocialLoginButton
to support custom icons instead of FontAwesome icons - Improved input field styling with enhanced
enabledBorder
configuration inNbxInputDecorationExtension
- Better visual consistency across input components
0.0.4 #
- Enhanced README.md with improved documentation
- Improved package documentation and usage examples
0.0.3 #
- Updated version to reflect latest changes in the Nebux Design System
0.0.2 #
- Enhanced README.md with improved feature descriptions
- Added detailed installation instructions
- Included comprehensive usage examples for components and theming
- Updated support contact information
0.0.1 #
- Initial release of NebuX Design System
- Complete theme system with light and dark mode support
- Typography system with consistent text styles and font sizes
- Spacing utilities for standardized layouts
- UI Components including:
- App bars with customizable styling
- Button components with multiple variants
- Text field widgets with validation
- Network image component with caching
- Scaffold components for consistent page structure
- Color management system with primary, secondary, and neutral colors
- Responsive design utilities
- Comprehensive documentation and examples