chore: update forms Input forms input 2.6.0 tokens - #911
Conversation
|
📖 Documentation preview deployed! 🔗 https://flutter.unified-design-system.orange.com/prPreview/911/ |
- Add MIGRATION.md entry for OudsTextInputPrefixIcon/OudsTextInputSuffixIconButton breaking change (prefixIcon/suffixIcon type change, onSuffixPressed removal) - Document OudsButton.tinted as a non-breaking addition - Sync skills/ouds-flutter-migration-guide/SKILL.md with the same migration steps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add v2.0.0 -> v2.1.0 section (Navigation Button, Circular/Linear Progress Indicator, tokens v2.6.0), matching the released CHANGELOG entries - Add v2.1.0 -> v3.0.0 section and move the OudsTextInput/OudsPhoneNumberInput typed prefix/suffix icon breaking change and OudsButton.tinted addition there, since they belong to the upcoming 3.0.0 release (per ouds_core pubspec.yaml and CHANGELOG Unreleased section), not v2.0.0 - Remove those entries from the v1.3.1 -> v2.0.0 section where they had been incorrectly attributed - Sync skills/ouds-flutter-migration-guide/SKILL.md version summary table and the typed icon migration example with the new v2.1.0 -> v3.0.0 section Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Metadata-only update (phone/short-number metadata, carrier and geocoding data refresh) within the existing ^1.1.51 constraint declared in ouds_core/pubspec.yaml. No API changes; PhoneNumberUtil usage in OudsPhoneNumberInput is unaffected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
forms Input forms input 2.6.0 tokens
| widget.decoration.labelText ?? "", | ||
| style: theme.typographyTokens | ||
| .typeLabelDefaultLarge(context) | ||
| .typeLabelModerateLarge(context) |
There was a problem hiding this comment.
why you hcange the typo here from labelLargeDefault to moderate ? in figma is specified as Label/Large/Default
| overflow: TextOverflow.ellipsis, | ||
| style: theme.typographyTokens | ||
| .typeLabelDefaultLarge(context) | ||
| .typeLabelModerateLarge(context) |
There was a problem hiding this comment.
why you changed the typo here ? teh correct one is LabelLargeDefault
| prefixToDisplay, | ||
| style: theme.typographyTokens | ||
| .typeLabelDefaultLarge(context) | ||
| .typeLabelModerateLarge(context) |
There was a problem hiding this comment.
the correct one as in figma is LabelLargeDefault
| text, | ||
| baseStyle: theme.typographyTokens | ||
| .typeLabelDefaultMedium(context) | ||
| .typeLabelModerateMedium(context) |
There was a problem hiding this comment.
changed it to typeLabelDefaultMedium as in figma
| overflow: TextOverflow.ellipsis, | ||
| style: theme.typographyTokens | ||
| .typeLabelDefaultLarge(context) | ||
| .typeLabelModerateLarge(context) |
There was a problem hiding this comment.
the moderate is applied only for the filled text, do not make this change
| 'assets/communication/accessibility/accessibility-vision.svg'; | ||
| final String communicationSecurityAndSafetyLockClosed = | ||
| 'assets/communication/security-and-safety/lock-closed.svg'; | ||
| final String communicationAssistanceTipsAndTricks = |
There was a problem hiding this comment.
i think no need to add this assets to use it in inputs you can use other assets already implemented in project
| - [Library] In library, update `link` component to v2.3.0 ([#838](https://github.com/Orange-OpenSource/ouds-flutter/issues/838)) | ||
| - [Library] For `button` component, update to version 3.3.0 ([#832](https://github.com/Orange-OpenSource/ouds-flutter/issues/832)) | ||
| - [Library] Update `progress-indicator`: add size parameter to OudsCircularProgressIndicator for button integration ([#876](https://github.com/Orange-OpenSource/ouds-flutter/issues/876)) | ||
| - [Library] deps update dependency `dlibphonenumber` to 1.1.70 |
| final String? hintText; | ||
| final String? suffixIcon; | ||
| final String? prefixIcon; | ||
| final OudsTextInputSuffixIconButton? suffixIcon; |
There was a problem hiding this comment.
on doit passer par deprecated d'abord si non on va casser l'API ici !
| final String? suffixIcon; | ||
| final String? prefixIcon; | ||
| final OudsTextInputSuffixIconButton? suffixIcon; | ||
| final OudsTextInputPrefixIcon? prefixIcon; |
There was a problem hiding this comment.
on doit passer par deprecated d'abord si non on va casser l'API ici !
| final String? suffix; | ||
| final String? errorText; | ||
| final bool? loader; | ||
| final OudsTextInputLoader? loader; |
There was a problem hiding this comment.
on doit passer par deprecated d'abord si non on va casser l'API ici !
There was a problem hiding this comment.
-
update the table in readme.md in core module to show the actuelle version of the components
-
update the version of the component in doc
from 1.3.0 to 1.3.1
/// OUDS Password Input Design Guidelines
///
/// Reference design version : 1.3.0
from 1.4.0 to 1.4.1
/// OUDS Text Input Design Guidelines
///
/// Reference design version : 1.4.0
Note: Please transform
- [ ]into- (NA)in the description when things are not applicableRelated issues
text inputcomponent, update to v1.4.1 #784password input, update to v1.3.1 #785tintedparameter #912Description
phone number inputcomponent, update to v1.3.1 #839Motivation & Context
Types of change
Previews
Checklist
Contribution
Accessibility
Design
Development
Documentation
Checklist (for Core Team only)