ngft_ds 1.0.9
ngft_ds: ^1.0.9 copied to clipboard
NGFT Design System is a Flutter library with reusable UI components for consistent UI across all NGFT applications
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.9 - 2024-11-05 #
Changed #
- NgftPhoneInputText:
- Updated the country code for Italy from 41 to 39 to prevent conflicts with the Swiss country code.
1.0.8 - 2024-10-28 #
Changed #
- NGFTInputNumber:
- Changed the input number type from double to integer.
1.0.7 - 2024-10-21 #
Added #
- NgftPhoneInputText:
- Added a
phoneInputKeyparameter to allow external access to the widget's state. - Implemented a
setCountrymethod inNgftPhoneInputTextStateto programmatically change the selected country.
- Added a
Changed #
- NgftPhoneInputText:
- Modified the widget to use a
GlobalKey<FormFieldState>for the internalIntlPhoneField. - Updated the build method to pass the new
phoneInputKeyto the internalIntlPhoneField.
- Modified the widget to use a
- Updated
example/pubspec.lockfile. - Modified spacing constants for improved consistency.
- Refactored input text widgets, including phone input, for better performance and maintainability.
- Updated select widget for enhanced functionality and user experience.
1.0.6 - 2024-10-11 #
Changed #
- Minor fixes and improvements to text input components and tab component.
1.0.5 - 2024-09-10 #
Added #
- Validation:
- Added validation logic to
NGFTPhoneInputTextto ensure proper phone number formatting.
- Added validation logic to
- Icons:
- Integrated a complete set of icons into the design system for consistent use across components.
Changed #
- NGFTPhoneInputText:
- Updated the text field decoration for a more refined visual presentation.
- Added a chevron down icon to indicate the country code dropdown.
1.0.3 - 2024-08-29 #
Added #
- NGFTLabelText: Label text can now include asterisks to indicate required fields.
- Component Updates:
NGFTPhoneInputText,NGFTSelectFormField, andNGFTMultiSelectFormFieldnow utilizeNGFTInputTextLabelfor consistent label styling.
Changed #
- NGFTSelectFormField Component: Updated the color of hint text for better readability and consistency across the design system.
Exposed #
- NGFTInputTextLabel: Exposed
NGFTInputTextLabelas a standalone component, making it available for use outside the design system.
1.0.2 - 2024-08-29 #
Added #
- Phone Number Input Text Component
- Introduced
NgftPhoneInputText, a specialized input field designed for phone number entry with integrated country code selection.
- Introduced
Changed #
- NGFTInputText Component
- Modified the
NGFTInputTextcontroller behavior so that it is no longer disposed of by the custom widget, allowing better control over its lifecycle and state management.
- Modified the
1.0.1 - 2024-08-27 #
1.0.0 - 2024-08-25 #
Added #
-
Button Components:
NGFTPrimaryButton: Standard primary button for key actions.NGFTSecondaryButton: Secondary button for less prominent actions.NGFTDestructiveButton: Button for destructive actions like deleting.
-
Input Field Components:
NGFTInputText: Standard text input field for user input.NGFTInputNumber: Input field for numerical data.NGFTInputSearch: Search input for search functionality.NGFTInputTextarea: Multi-line text input for larger text entries.
-
Checkbox Component:
NGFTCheckbox: Checkbox for boolean input.
-
Radio Button Component:
NGFTRadioButton: Radio button for selecting a single option from multiple choices.
-
Switch Component:
NGFTSwitch: Toggle switch for on/off settings.
-
Snackbar Component:
NGFTSnackbar: Snackbar for displaying temporary messages and notifications.
-
Notification Component:
NGFTNotification: In-app notification for alerts and messages.
-
Avatar Component:
NGFTAvatar: Component to display user avatars and profile images.
-
Bottom Navigation Bar Component:
NGFTBottomNavigationBar: Navigation bar for bottom navigation with customizable items.
Summary #
- Initial release of the NGFT Design System.
- Included a comprehensive set of UI components to support consistent design and development in Flutter applications.
- Provides basic theming and customization options for easy integration.