Skip to content

Commit f81325a

Browse files
feat : create component top app bar (#91)(#534)
* chore: add ouds app bar component first commit * chore : add medium and large top app bar * chore : add badge component in oudsButton add code generator for top appbar and finishing top app bar in demo app for android devices * chore : add CupertinoNavigationBar in core for iOS * chore : add CupertinoNavigationBar in demo app for iOS * feat : Add rules in each type of device iPhone or iPad in lib and demo app * feat : refactor top app bar in lib and update code generator in demo app * feat : manage accessibility in top app bar component * feat : manage accessibility in Cupertino navigation bar component * feat : delete cupertino navigation bar * chore : delete tag in component version * feat: add expandedHeight and lineCount parameters in SliverAppBar * doc: update documentation * refactor: refactor code and add an ouds_avatar component for top appbar * doc(navigation-bar): update doc * feat(top-appBar): refactor icon badge in top app bar * feat(top-appBar): refactor medium and large top app bar * feat(top-appbar): update code generator and doc * feat(top-appbar): update doc * feat(top-appbar): add OudsTopAppBarActionBadge, add close image for top app bar, add bottom border and blur effect * feat(top-appbar): eliminate border * chore: update changelog file and doc * review: refactor code * review: - refactor code - add a methode to generate a list for actions - update labels - clean code - add comments * review: add a control to not set invalid value for height of app bar * feat: update code generator * chore: add comments * review: refactor code * review: update doc * review: update doc in lib and code generator in demo app * feat: use the OudsTopAppBar in demo app * review: fix back and close icon button, fix monogram text and background color, use chips instead of text fields to select the maxLines" * review: add boolean value to show avatar in trailing actions * review: refactor code in demo app * review: Add methode to calculate expanded height based on size and max lines * feat: create component Toolbar Top * feat: use TopBar in demo app * review: update keys of labels * review: update app_components_common_action_a11y in arabic * review: refactor code for ouds_top_bar_action_config.dart and modifiers * review: refactor code and update doc in demo app * review: refactor code and update doc * chore: use the LightDarkBox and update assets for orange compact theme * merge: use LightDarkBox after rebase * merge: fix merge conflict and update code generator * fix: set padding and icon/label sizes to match native Figma navigation bar specifications * chore: add fixed values for padding and size of icon in toolbar top and add the previous page title in lin and demo app * chore: add previousTitle in code generator and status disabled for actions * review: add doc for previousPageTitle param * chore: add semantic label for action button * review: update changelogs and pubspec * review: update the usage of previousPageTitle ind lib, doc and demo app * review: refactor code * review: refactor code * review: rename customIcon to icon * chore: Update the color of the actions and implement the back label behavior following a long previous page title. * chore: fix the flip back icon in rtl mode * review: update padding and text size for actions * fix: fix padding of icon action * feat: add french label and fic accessibility issue * merge: update labels * merge: update code generator * review: refactor use of previousPageTitle in demo app * fix: bottom of the component screen is hidden by the bottom sheet * fix: add comment in ConstantSheetBottom class * fix: add missing comment on the top of ConstantSheetBottom class * fix: update using of buttons in top bar * review: update methode name * feat:downgrade to sdk 3.35, remove warning & error * Revert "feat:downgrade to sdk 3.35, remove warning & error" This reverts commit 69aaf94. --------- Co-authored-by: Ahmed Amine Zribi <ahmedamine.zribi@sofrecom.com>
1 parent 04f27e7 commit f81325a

108 files changed

Lines changed: 5902 additions & 814 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

NOTICE.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Any use or displaying shall constitute an infringement under intellectual proper
1212
ouds-flutter/app/assets/about_privacy_policy.md
1313
ouds-flutter/app/assets/about_legal_information.md
1414

15+
# common - component
16+
ouds-flutter/app/assets/common/component/il_top_app_bar_avatar.jpg
17+
1518
# Illustration
1619
ouds-flutter/app/assets/illustration/token/il_tokens_color.svg
1720
ouds-flutter/app/assets/illustration/token/il_tokens_color_dark.svg
@@ -26,6 +29,12 @@ ouds-flutter/app/assets/illustration/token/il_tokens_typography_dark.svg
2629
ouds-flutter/app/assets/illustration/token/il_tokens_border.svg
2730
ouds-flutter/app/assets/illustration/token/il_tokens_border_dark.svg
2831

32+
# Communication - Assistance
33+
ouds-flutter/app/assets/orange/communication/assistance/tips-and-tricks.svg
34+
ouds-flutter/app/assets/orange_compact/communication/assistance/tips-and-tricks.svg
35+
ouds-flutter/app/assets/sosh/communication/assistance/tips-and-tricks.svg
36+
ouds-flutter/app/assets/wireframe/communication/assistance/tips-and-tricks.svg
37+
2938
# Design - Component
3039
ouds-flutter/app/assets/orange/communication/design/component-atom.svg
3140
ouds-flutter/app/assets/orange/communication/design/design-token.svg
@@ -109,9 +118,9 @@ ouds_theme_orange/assets/component/link/previous.svg
109118
ouds_theme_orange/assets/component/radio-button/radio-button-selected.svg
110119
ouds_theme_orange/assets/component/switch/selected-switch.svg
111120
ouds_theme_orange/assets/component/tag/close.svg
112-
ouds_theme_orange/assets/functional/actions/copy.svg
113121
ouds_theme_orange/assets/functional/social-and-engagement/heart-empty.svg
114122
ouds_theme_orange/assets/functional/settings-and-tools/hide.svg
123+
ouds_theme_orange/assets/functional/navigation/menu.svg
115124

116125

117126
ouds_theme_orange/fonts/Roboto-Black.ttf
@@ -157,6 +166,7 @@ ouds_theme_orange_compact/assets/component/tag/close.svg
157166
ouds_theme_orange_compact/assets/functional/actions/copy.svg
158167
ouds_theme_orange_compact/assets/functional/social-and-engagement/heart-empty.svg
159168
ouds_theme_orange_compact/assets/functional/settings-and-tools/hide.svg
169+
ouds_theme_orange_compact/assets/functional/navigation/menu.svg
160170

161171
ouds_theme_orange_compact/fonts/Roboto-Black.ttf
162172
ouds_theme_orange_compact/fonts/Roboto-Bold.ttf
@@ -200,6 +210,7 @@ ouds_theme_sosh/assets/component/switch/selected-switch.svg
200210
ouds_theme_sosh/assets/component/tag/close.svg
201211
ouds_theme_sosh/assets/functional/social-and-engagement/heart-empty.svg
202212
ouds_theme_sosh/assets/functional/settings-and-tools/hide.svg
213+
ouds_theme_sosh/assets/functional/navigation/menu.svg
203214

204215
ouds_theme_sosh/fonts/Sosh-Black.ttf
205216
ouds_theme_sosh/fonts/Sosh-Bold.ttf
@@ -238,6 +249,7 @@ ouds_theme_wireframe/assets/component/switch/selected-switch.svg
238249
ouds_theme_wireframe/assets/component/tag/close.svg
239250
ouds_theme_wireframe/assets/functional/social-and-engagement/heart-empty.svg
240251
ouds_theme_wireframe/assets/functional/settings-and-tools/hide.svg
252+
ouds_theme_wireframe/assets/functional/navigation/menu.svg
241253

242254
ouds_theme_wireframe/fonts/ShantellSans-Bold.ttf
243255
ouds_theme_wireframe/fonts/ShantellSans-BoldItalic.ttf

app/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66
## [Unreleased](https://github.com/Orange-OpenSource/ouds-flutter/compare/1.1.2...develop)
77
### Added
8+
- [DemoApp][Library] Create component - `Toolbar top` ([#582](https://github.com/Orange-OpenSource/ouds-flutter/issues/582))
9+
- [DemoApp][Library] Create component - `Top app bar` ([#91](https://github.com/Orange-OpenSource/ouds-flutter/issues/91))
810
- [DemoApp] Add in README OpenSSF scorecard ([#632](https://github.com/Orange-OpenSource/ouds-flutter/issues/632))
911
- [DemoApp] Improve theme selections and tuning ([#356](https://github.com/Orange-OpenSource/ouds-flutter/issues/356))
1012
- [DemoApp][Library] Add french Language ([#638](https://github.com/Orange-OpenSource/ouds-flutter/issues/638))
26.9 KB
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)