Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
2e93482
chore: update tokens
boosted-bot May 5, 2026
b9f40b9
chore: update tokens with version 2.4.0
AhmedAmineZr May 5, 2026
b7493bd
chore: update tokens with version 2.4.0
AhmedAmineZr May 5, 2026
1a17b38
Merge remote-tracking branch 'origin/tokenator-update-tokens-20260505…
nouha06 May 5, 2026
60038af
Merge branch 'develop' into tokenator-update-tokens-20260505120328
nouha06 May 8, 2026
53733c5
chore: update version components
AhmedAmineZr May 8, 2026
9f93946
Merge branch 'tokenator-update-tokens-20260505120328' of https://gith…
AhmedAmineZr May 8, 2026
9121be7
Merge branch 'develop' into tokenator-update-tokens-20260505120328
AhmedAmineZr May 8, 2026
0e7bc7c
Merge branch 'develop' into tokenator-update-tokens-20260505120328
AhmedAmineZr May 8, 2026
1657cc3
chore(version): prepare version 2.0.0 (#747)
AhmedAmineZr May 11, 2026
e00a5d5
Merge branch 'develop' into tokenator-update-tokens-20260505120328
nouha06 May 13, 2026
4601a0d
feat(password-input): update password input to v1.3
nouha06 May 13, 2026
1535a75
fix(password-input): Label is truncated when zoom is applied
nouha06 May 13, 2026
9e7def4
Merge remote-tracking branch 'origin/prepare-new-version-2.0.0' into …
nouha06 May 20, 2026
88bdbf6
Merge branch 'prepare-new-version-2.0.0' into 689-for-password-input-…
nouha06 May 20, 2026
ae00db5
feat(password-input): update changelog file
nouha06 May 20, 2026
70d1538
Merge branch 'prepare-new-version-2.0.0' into 689-for-password-input-…
nouha06 May 26, 2026
889d57d
Merge branch 'prepare-new-version-2.0.0' into 689-for-password-input-…
nouha06 May 26, 2026
7025029
Merge branch 'prepare-new-version-2.0.0' into 689-for-password-input-…
nouha06 May 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.3.1...develop)
### Added
### Changed
- [Library] update `Password input` component to v1.3 ([#689](https://github.com/Orange-OpenSource/ouds-flutter/issues/689))
- [Library] `filter chip` and `suggestion chip` component update to v1.4 ([#688](https://github.com/Orange-OpenSource/ouds-flutter/issues/688))
- [DemoApp][Library] update `badge icon` component to 1.3.0 ([#680](https://github.com/Orange-OpenSource/ouds-flutter/issues/680))
- [Library] update library icons to use the one from v1.6 ([#661](https://github.com/Orange-OpenSource/ouds-flutter/issues/661))
Expand All @@ -20,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [DemoApp][Library] update tokens 2.4.0 ([#726](https://github.com/Orange-OpenSource/ouds-flutter/issues/726))

### Fixed
- [Library] `Password input` Label is truncated when zoom is applied ([#600](https://github.com/Orange-OpenSource/ouds-flutter/issues/600))
- [Library] `Filter chip` is not reached by keyboard focus or Switch Access focus ([#474](https://github.com/Orange-OpenSource/ouds-flutter/issues/474))
- [Library] `Phone number input` Add a hint to explain how to interact with fields ([#571](https://github.com/Orange-OpenSource/ouds-flutter/issues/571))
- [Library] `input tag` the whole component should have the role button ([#481](https://github.com/Orange-OpenSource/ouds-flutter/issues/481))
Expand Down
2 changes: 2 additions & 0 deletions ouds_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.3.1...develop)
### Added
### Changed
- [Library] update `Password input` component to v1.3 ([#689](https://github.com/Orange-OpenSource/ouds-flutter/issues/689))
- [Library] `filter chip` and `suggestion chip` component update to v1.4 ([#688](https://github.com/Orange-OpenSource/ouds-flutter/issues/688))
- [Library] update `badge` icon component to 1.3.0 ([#680](https://github.com/Orange-OpenSource/ouds-flutter/issues/680))
- [Library] update library icons to use the one from v1.6 ([#661](https://github.com/Orange-OpenSource/ouds-flutter/issues/661))
Expand All @@ -19,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Library] update tokens 2.4.0 ([#726](https://github.com/Orange-OpenSource/ouds-flutter/issues/726))

### Fixed
- [Library] `Password input` Label is truncated when zoom is applied ([#600](https://github.com/Orange-OpenSource/ouds-flutter/issues/600))
- [Library] `Filter chip` is not reached by keyboard focus or Switch Access focus ([#474](https://github.com/Orange-OpenSource/ouds-flutter/issues/474))
- [Library] `Phone number input` Add a hint to explain how to interact with fields ([#571](https://github.com/Orange-OpenSource/ouds-flutter/issues/571))
- [Library] `input tag` the whole component should have the role button ([#481](https://github.com/Orange-OpenSource/ouds-flutter/issues/481))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import 'package:ouds_core/components/form_input/internal/modifier/ouds_form_inpu
import 'package:ouds_core/components/form_input/internal/ouds_form_input_control_state.dart';
import 'package:ouds_core/components/form_input/password_input/ouds_password_input_decoration.dart';
import 'package:ouds_core/components/utilities/app_assets.dart';
import 'package:ouds_core/components/utilities/input_utils.dart';
import 'package:ouds_core/l10n/gen/ouds_localizations.dart';
import 'package:ouds_theme_contract/ouds_theme.dart';
import 'package:ouds_theme_contract/ouds_theme_contract.dart';
Expand Down Expand Up @@ -242,64 +241,51 @@ class _OudsPasswordInputState extends State<OudsPasswordInput> {
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
height: textInput.sizeMinHeight,
child: DecoratedBox(
decoration: BoxDecoration(
// Background color based on current state and error presence
color: inputTextBackgroundModifier.getBackgroundColor(
state,
isError,
widget.decoration.outlined,
),

/// Bottom border styling; full border if style is not default
border: inputTextBorderModifier.getBorder(
state,
isError,
widget.decoration.outlined,
),

// Border radius if enabled in theme configuration
borderRadius: inputTextBorderModifier.getBorderRadius(context),
DecoratedBox(
decoration: BoxDecoration(
// Background color based on current state and error presence
color: inputTextBackgroundModifier.getBackgroundColor(
state,
isError,
widget.decoration.outlined,
),
child: Padding(
padding: EdgeInsetsGeometry.directional(
start: textInput.spacePaddingInlineDefault,
end: textInput.spacePaddingInlineTrailingAction,
top: textInput.spacePaddingBlockDefault,
bottom: textInput.spacePaddingBlockDefault,
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
/// Left block: prefix icon container
Container(
alignment: Alignment.center,
child: _buildPrefixIcon(context, state),
),

/// Center block: main text input
Flexible(
fit: FlexFit.loose,
child: Semantics(
hint: helperText,
child:
widget.readOnly == true ||
(widget.decoration.loader == true && _isTyping)
? IgnorePointer(
child: _buildTextField(
inputTextTextModifier,
state,
isError,
effectiveFocusNode,
theme,
context,
textInput,
effectiveIsFocused,
),
)
: _buildTextField(
/// Bottom border styling; full border if style is not default
border: inputTextBorderModifier.getBorder(
state,
isError,
widget.decoration.outlined,
),

// Border radius if enabled in theme configuration
borderRadius: inputTextBorderModifier.getBorderRadius(context),
),
child: Padding(
padding: EdgeInsetsGeometry.directional(
start: textInput.spacePaddingInlineDefault,
end: textInput.spacePaddingInlineTrailingAction,
top: textInput.spacePaddingBlockDefault,
bottom: textInput.spacePaddingBlockDefault,
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
/// Left block: prefix icon container
Container(
alignment: Alignment.center,
child: _buildPrefixIcon(context, state),
),

/// Center block: main text input
Flexible(
fit: FlexFit.loose,
child: Semantics(
hint: helperText,
child:
widget.readOnly == true ||
(widget.decoration.loader == true && _isTyping)
? IgnorePointer(
child: _buildTextField(
inputTextTextModifier,
state,
isError,
Expand All @@ -309,16 +295,26 @@ class _OudsPasswordInputState extends State<OudsPasswordInput> {
textInput,
effectiveIsFocused,
),
),
)
: _buildTextField(
inputTextTextModifier,
state,
isError,
effectiveFocusNode,
theme,
context,
textInput,
effectiveIsFocused,
),
),
),

/// spacing between center container et suffic icon container
SizedBox(width: textInput.spaceColumnGapDefault),
/// spacing between center container et suffic icon container
SizedBox(width: textInput.spaceColumnGapDefault),

/// Right block: suffix icon container
_buildSuffixIcon(context, state),
],
),
/// Right block: suffix icon container
_buildSuffixIcon(context, state),
],
),
),
),
Expand Down Expand Up @@ -377,7 +373,7 @@ class _OudsPasswordInputState extends State<OudsPasswordInput> {
controller: widget.controller,
keyboardType: widget.keyboardType,
style: theme.typographyTokens
.typeLabelDefaultLarge(context)
.typeLabelModerateLarge(context)
.copyWith(
color: inputTextTextModifier.getTextLabelColor(state, isError),
),
Expand Down Expand Up @@ -412,27 +408,14 @@ class _OudsPasswordInputState extends State<OudsPasswordInput> {

// Label text widget, shown if labelText is provided
label: widget.decoration.labelText != null
? Container(
constraints: BoxConstraints(
maxHeight: textInput.sizeLabelMaxHeight,
),
child: Text(
maxLines: InputUtils.getLabelMaxLines(
hintText: widget.decoration.hintText,
controller: widget.controller,
isFocused: effectiveIsFocused,
),
overflow: TextOverflow.ellipsis,
widget.decoration.labelText ?? "",
style: theme.typographyTokens
.typeLabelDefaultLarge(context)
.copyWith(
color: inputTextTextModifier.getTextColor(
state,
isError,
),
),
),
? Text(
widget.decoration.labelText ?? "",
overflow: TextOverflow.ellipsis,
style: theme.typographyTokens
.typeLabelDefaultLarge(context)
.copyWith(
color: inputTextTextModifier.getTextColor(state, isError),
),
)
: null,

Expand All @@ -446,9 +429,8 @@ class _OudsPasswordInputState extends State<OudsPasswordInput> {
// Hint text widget, shown if hintText is provided
hint: widget.decoration.hintText != null
? Text(
maxLines: 1,
overflow: TextOverflow.ellipsis,
widget.decoration.hintText!,
overflow: TextOverflow.ellipsis,
style: theme.typographyTokens
.typeLabelDefaultLarge(context)
.copyWith(
Expand Down
Loading