Skip to content

Commit 29cbf72

Browse files
committed
feat(progress-indicator): create Circular progress indicator in lib and demo app
1 parent c927684 commit 29cbf72

41 files changed

Lines changed: 1673 additions & 98 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.

app/lib/l10n/gen/ouds_flutter_app_localizations.dart

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ abstract class AppLocalizations {
271271
/// **'Rounded corner alert message'**
272272
String get app_themeSettingsDialog_roundedCornerAlertMessage_label;
273273

274+
/// No description provided for @app_themeSettingsDialog_roundedCornerProgressIndicators_label.
275+
///
276+
/// In en, this message translates to:
277+
/// **'Rounded corner progress indicators'**
278+
String get app_themeSettingsDialog_roundedCornerProgressIndicators_label;
279+
274280
/// No description provided for @app_tokens_viewCodeExample_label.
275281
///
276282
/// In en, this message translates to:
@@ -601,6 +607,12 @@ abstract class AppLocalizations {
601607
/// **'Description'**
602608
String get app_components_common_description_tech;
603609

610+
/// No description provided for @app_components_common_type_tech.
611+
///
612+
/// In en, this message translates to:
613+
/// **'Type'**
614+
String get app_components_common_type_tech;
615+
604616
/// No description provided for @app_components_alert_tech.
605617
///
606618
/// In en, this message translates to:
@@ -948,12 +960,6 @@ abstract class AppLocalizations {
948960
/// **'Badge is a UI element that emphasizes system notifications, status, or the categorization of an information, throughout colour only.'**
949961
String get app_components_badge_description_text;
950962

951-
/// No description provided for @app_components_badge_type_label.
952-
///
953-
/// In en, this message translates to:
954-
/// **'Type'**
955-
String get app_components_badge_type_label;
956-
957963
/// No description provided for @app_components_badge_standardType_label.
958964
///
959965
/// In en, this message translates to:
@@ -1290,6 +1296,67 @@ abstract class AppLocalizations {
12901296
/// **'Alphanumeric'**
12911297
String get app_components_pinCodeInput_keyboardType_alphanumeric_label;
12921298

1299+
/// No description provided for @app_components_progressIndicator_tech.
1300+
///
1301+
/// In en, this message translates to:
1302+
/// **'Progress indicator'**
1303+
String get app_components_progressIndicator_tech;
1304+
1305+
/// No description provided for @app_components_progressIndicator_description_text.
1306+
///
1307+
/// In en, this message translates to:
1308+
/// **'Progress indicator shows the progress of a task providing visual feedback. It can show a specific value (determinate) or just that something is in progress (indeterminate).'**
1309+
String get app_components_progressIndicator_description_text;
1310+
1311+
/// No description provided for @app_components_progressIndicator_circularProgressIndicator_tech.
1312+
///
1313+
/// In en, this message translates to:
1314+
/// **'Circular progress indicator'**
1315+
String get app_components_progressIndicator_circularProgressIndicator_tech;
1316+
1317+
/// No description provided for @app_components_progressIndicator_circularProgressIndicator_description_text.
1318+
///
1319+
/// In en, this message translates to:
1320+
/// **'A circular progress indicator shows the progress of a task using a circle. Useful when you need more visual focus or when space is limited.'**
1321+
String
1322+
get app_components_progressIndicator_circularProgressIndicator_description_text;
1323+
1324+
/// No description provided for @app_components_progressIndicator_animated_tech.
1325+
///
1326+
/// In en, this message translates to:
1327+
/// **'Animated'**
1328+
String get app_components_progressIndicator_animated_tech;
1329+
1330+
/// No description provided for @app_components_progressIndicator_determinate_tech.
1331+
///
1332+
/// In en, this message translates to:
1333+
/// **'Determinate'**
1334+
String get app_components_progressIndicator_determinate_tech;
1335+
1336+
/// No description provided for @app_components_progressIndicator_indeterminate_tech.
1337+
///
1338+
/// In en, this message translates to:
1339+
/// **'Indeterminate'**
1340+
String get app_components_progressIndicator_indeterminate_tech;
1341+
1342+
/// No description provided for @app_components_progressIndicator_progress_tech.
1343+
///
1344+
/// In en, this message translates to:
1345+
/// **'Progress'**
1346+
String get app_components_progressIndicator_progress_tech;
1347+
1348+
/// No description provided for @app_components_progressIndicator_track_tech.
1349+
///
1350+
/// In en, this message translates to:
1351+
/// **'Track'**
1352+
String get app_components_progressIndicator_track_tech;
1353+
1354+
/// No description provided for @app_components_progressIndicator_gapSize_tech.
1355+
///
1356+
/// In en, this message translates to:
1357+
/// **'Gap size'**
1358+
String get app_components_progressIndicator_gapSize_tech;
1359+
12931360
/// No description provided for @app_components_navigationBar_label.
12941361
///
12951362
/// In en, this message translates to:

app/lib/l10n/gen/ouds_flutter_app_localizations_ar.dart

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ class AppLocalizationsAr extends AppLocalizations {
9999
String get app_themeSettingsDialog_roundedCornerAlertMessage_label =>
100100
'رسالة تنبيه بزوايا مستديرة';
101101

102+
@override
103+
String get app_themeSettingsDialog_roundedCornerProgressIndicators_label =>
104+
'مؤشرات التقدم ذات الزوايا المستديرة';
105+
102106
@override
103107
String get app_tokens_viewCodeExample_label => 'عرض مثال على كود الرمز';
104108

@@ -272,6 +276,9 @@ class AppLocalizationsAr extends AppLocalizations {
272276
@override
273277
String get app_components_common_description_tech => 'Description';
274278

279+
@override
280+
String get app_components_common_type_tech => 'Type';
281+
275282
@override
276283
String get app_components_alert_tech => 'Alert';
277284

@@ -481,9 +488,6 @@ class AppLocalizationsAr extends AppLocalizations {
481488
String get app_components_badge_description_text =>
482489
'Badge هي عنصر صغير في واجهة المستخدم يُستخدم لتسليط الضوء على الحالة أو الإشعارات أو التصنيف داخل الواجهة. غالبًا ما يتم عرضها كعلامة أو مؤشر بلون خلفية مميز ونص.';
483490

484-
@override
485-
String get app_components_badge_type_label => 'Type';
486-
487491
@override
488492
String get app_components_badge_standardType_label => 'Standard';
489493

@@ -675,6 +679,41 @@ class AppLocalizationsAr extends AppLocalizations {
675679
String get app_components_pinCodeInput_keyboardType_alphanumeric_label =>
676680
'Alphanumeric';
677681

682+
@override
683+
String get app_components_progressIndicator_tech => 'Progress indicator';
684+
685+
@override
686+
String get app_components_progressIndicator_description_text =>
687+
'Progress indicator يُظهر تقدم مهمة ما ويقدم تغذية بصرية. يمكن أن يُظهر قيمة محددة (محدد) أو فقط أن شيئًا ما قيد التقدم (غير محدد).';
688+
689+
@override
690+
String get app_components_progressIndicator_circularProgressIndicator_tech =>
691+
'Circular progress indicator';
692+
693+
@override
694+
String
695+
get app_components_progressIndicator_circularProgressIndicator_description_text =>
696+
'Circular progress indicator يُظهر تقدم مهمة باستخدام دائرة. مفيد عندما تحتاج إلى تركيز بصري أكثر أو عندما يكون المساحة محدودة.';
697+
698+
@override
699+
String get app_components_progressIndicator_animated_tech => 'Animated';
700+
701+
@override
702+
String get app_components_progressIndicator_determinate_tech => 'Determinate';
703+
704+
@override
705+
String get app_components_progressIndicator_indeterminate_tech =>
706+
'Indeterminate';
707+
708+
@override
709+
String get app_components_progressIndicator_progress_tech => 'Progress';
710+
711+
@override
712+
String get app_components_progressIndicator_track_tech => 'Track';
713+
714+
@override
715+
String get app_components_progressIndicator_gapSize_tech => 'Gap size';
716+
678717
@override
679718
String get app_components_navigationBar_label => 'Bottom Bar';
680719

app/lib/l10n/gen/ouds_flutter_app_localizations_en.dart

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ class AppLocalizationsEn extends AppLocalizations {
9999
String get app_themeSettingsDialog_roundedCornerAlertMessage_label =>
100100
'Rounded corner alert message';
101101

102+
@override
103+
String get app_themeSettingsDialog_roundedCornerProgressIndicators_label =>
104+
'Rounded corner progress indicators';
105+
102106
@override
103107
String get app_tokens_viewCodeExample_label => 'View token code example';
104108

@@ -272,6 +276,9 @@ class AppLocalizationsEn extends AppLocalizations {
272276
@override
273277
String get app_components_common_description_tech => 'Description';
274278

279+
@override
280+
String get app_components_common_type_tech => 'Type';
281+
275282
@override
276283
String get app_components_alert_tech => 'Alert';
277284

@@ -481,9 +488,6 @@ class AppLocalizationsEn extends AppLocalizations {
481488
String get app_components_badge_description_text =>
482489
'Badge is a UI element that emphasizes system notifications, status, or the categorization of an information, throughout colour only.';
483490

484-
@override
485-
String get app_components_badge_type_label => 'Type';
486-
487491
@override
488492
String get app_components_badge_standardType_label => 'Standard';
489493

@@ -675,6 +679,41 @@ class AppLocalizationsEn extends AppLocalizations {
675679
String get app_components_pinCodeInput_keyboardType_alphanumeric_label =>
676680
'Alphanumeric';
677681

682+
@override
683+
String get app_components_progressIndicator_tech => 'Progress indicator';
684+
685+
@override
686+
String get app_components_progressIndicator_description_text =>
687+
'Progress indicator shows the progress of a task providing visual feedback. It can show a specific value (determinate) or just that something is in progress (indeterminate).';
688+
689+
@override
690+
String get app_components_progressIndicator_circularProgressIndicator_tech =>
691+
'Circular progress indicator';
692+
693+
@override
694+
String
695+
get app_components_progressIndicator_circularProgressIndicator_description_text =>
696+
'A circular progress indicator shows the progress of a task using a circle. Useful when you need more visual focus or when space is limited.';
697+
698+
@override
699+
String get app_components_progressIndicator_animated_tech => 'Animated';
700+
701+
@override
702+
String get app_components_progressIndicator_determinate_tech => 'Determinate';
703+
704+
@override
705+
String get app_components_progressIndicator_indeterminate_tech =>
706+
'Indeterminate';
707+
708+
@override
709+
String get app_components_progressIndicator_progress_tech => 'Progress';
710+
711+
@override
712+
String get app_components_progressIndicator_track_tech => 'Track';
713+
714+
@override
715+
String get app_components_progressIndicator_gapSize_tech => 'Gap size';
716+
678717
@override
679718
String get app_components_navigationBar_label => 'Bottom Bar';
680719

app/lib/l10n/gen/ouds_flutter_app_localizations_fr.dart

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ class AppLocalizationsFr extends AppLocalizations {
100100
String get app_themeSettingsDialog_roundedCornerAlertMessage_label =>
101101
'Message d’alerte à coins arrondis';
102102

103+
@override
104+
String get app_themeSettingsDialog_roundedCornerProgressIndicators_label =>
105+
'Progress indicators avec coins arrondis';
106+
103107
@override
104108
String get app_tokens_viewCodeExample_label =>
105109
'Voir l\'exemple de code du token';
@@ -274,6 +278,9 @@ class AppLocalizationsFr extends AppLocalizations {
274278
@override
275279
String get app_components_common_description_tech => 'Description';
276280

281+
@override
282+
String get app_components_common_type_tech => 'Type';
283+
277284
@override
278285
String get app_components_alert_tech => 'Alert';
279286

@@ -485,9 +492,6 @@ class AppLocalizationsFr extends AppLocalizations {
485492
String get app_components_badge_description_text =>
486493
'Un Badge est un élément d\'interface utilisateur qui met en évidence les notifications système, l\'état ou la catégorisation d\'une information, uniquement par le biais de la couleur.';
487494

488-
@override
489-
String get app_components_badge_type_label => 'Type';
490-
491495
@override
492496
String get app_components_badge_standardType_label => 'Standard';
493497

@@ -679,6 +683,41 @@ class AppLocalizationsFr extends AppLocalizations {
679683
String get app_components_pinCodeInput_keyboardType_alphanumeric_label =>
680684
'Alphanumeric';
681685

686+
@override
687+
String get app_components_progressIndicator_tech => 'Progress indicator';
688+
689+
@override
690+
String get app_components_progressIndicator_description_text =>
691+
'Un Progress indicator affiche l\'avancement d\'une tâche et fournit un retour visuel. Il peut afficher une valeur précise (déterminée) ou simplement indiquer qu\'une action est en cours (indéterminée).';
692+
693+
@override
694+
String get app_components_progressIndicator_circularProgressIndicator_tech =>
695+
'Circular progress indicator';
696+
697+
@override
698+
String
699+
get app_components_progressIndicator_circularProgressIndicator_description_text =>
700+
'Un Circular progress indicator permet de visualiser la progression d\'une tâche à l\'aide d\'un cercle. Il est particulièrement utile lorsque la concentration visuelle est nécessaire ou lorsque l\'espace est limité.';
701+
702+
@override
703+
String get app_components_progressIndicator_animated_tech => 'Animated';
704+
705+
@override
706+
String get app_components_progressIndicator_determinate_tech => 'Determinate';
707+
708+
@override
709+
String get app_components_progressIndicator_indeterminate_tech =>
710+
'Indeterminate';
711+
712+
@override
713+
String get app_components_progressIndicator_progress_tech => 'Progress';
714+
715+
@override
716+
String get app_components_progressIndicator_track_tech => 'Track';
717+
718+
@override
719+
String get app_components_progressIndicator_gapSize_tech => 'Gap size';
720+
682721
@override
683722
String get app_components_navigationBar_label => 'Bottom Bar';
684723

app/lib/l10n/ouds_flutter_ar.arb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"app_themeSettingsDialog_roundedCornerButtons_label" :"زر بزوايا مستديرة",
3636
"app_themeSettingsDialog_roundedCornerTextInputs_label" :"حقول إدخال نص بزوايا مستديرة",
3737
"app_themeSettingsDialog_roundedCornerAlertMessage_label" :"رسالة تنبيه بزوايا مستديرة",
38+
"app_themeSettingsDialog_roundedCornerProgressIndicators_label" :"مؤشرات التقدم ذات الزوايا المستديرة",
3839

3940
"@_tokens": {},
4041
"app_tokens_viewCodeExample_label": "عرض مثال على كود الرمز",
@@ -123,6 +124,10 @@
123124
"@_components_pin_code_input": {},
124125
"app_components_pinCodeInput_description_text": "PIN Code Input هو عنصر واجهة مستخدم يسمح بالتقاط رموز رقمية قصيرة ذات طول ثابت، عادةً لأغراض المصادقة أو التأكيد، مثل رقم التعريف الشخصي (PIN) المكون من أربعة أو ستة أو ثمانية أرقام.",
125126

127+
"@_components_progress_indicator": {},
128+
"app_components_progressIndicator_description_text": "Progress indicator يُظهر تقدم مهمة ما ويقدم تغذية بصرية. يمكن أن يُظهر قيمة محددة (محدد) أو فقط أن شيئًا ما قيد التقدم (غير محدد).",
129+
"app_components_progressIndicator_circularProgressIndicator_description_text": "Circular progress indicator يُظهر تقدم مهمة باستخدام دائرة. مفيد عندما تحتاج إلى تركيز بصري أكثر أو عندما يكون المساحة محدودة.",
130+
126131
"@_components_navigation_bar": {},
127132
"app_components_navigationBar_description_text": "Bottom bars يوفر الوصول إلى الوجهات الرئيسية للتطبيق باستخدام 3 إلى 5 علامات تبويب دائمة. يتم تمثيل كل وجهة بواسطة أيقونة وعلامة نصية اختيارية.",
128133
"app_components_navigationBar_badge_count_a11y": "{count, plural, zero {لا توجد إشعارات غير مقروءة} one {إشعار واحد غير مقروء} two {إشعاران غير مقروءين} few {{count} إشعارات غير مقروءة} many {{count} إشعارًا غير مقروء} other {{count} إشعار غير مقروء}}",

app/lib/l10n/ouds_flutter_en.arb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"app_themeSettingsDialog_roundedCornerButtons_label" :"Rounded corner button",
3838
"app_themeSettingsDialog_roundedCornerTextInputs_label" :"Rounded corner text inputs",
3939
"app_themeSettingsDialog_roundedCornerAlertMessage_label" :"Rounded corner alert message",
40+
"app_themeSettingsDialog_roundedCornerProgressIndicators_label" :"Rounded corner progress indicators",
4041

4142
"@_tokens": {},
4243
"app_tokens_viewCodeExample_label": "View token code example",
@@ -133,6 +134,7 @@
133134
"app_components_common_action_a11y": "Action",
134135
"app_components_common_trailingActionCount_label": "Trailing action count",
135136
"app_components_common_description_tech": "Description",
137+
"app_components_common_type_tech" : "Type",
136138

137139
"@_components_alert": {},
138140
"app_components_alert_tech": "Alert",
@@ -216,7 +218,6 @@
216218
"@_components_badge": {},
217219
"app_components_badge_label": "Badge",
218220
"app_components_badge_description_text":"Badge is a UI element that emphasizes system notifications, status, or the categorization of an information, throughout colour only.",
219-
"app_components_badge_type_label" : "Type",
220221
"app_components_badge_standardType_label": "Standard",
221222
"app_components_badge_countType_label" : "Count",
222223
"app_components_badge_iconType_label" : "Icon",
@@ -289,6 +290,18 @@
289290
"app_components_pinCodeInput_keyboardType_numeric_label": "Numeric",
290291
"app_components_pinCodeInput_keyboardType_alphanumeric_label": "Alphanumeric",
291292

293+
"@_components_progress_indicator": {},
294+
"app_components_progressIndicator_tech": "Progress indicator",
295+
"app_components_progressIndicator_description_text": "Progress indicator shows the progress of a task providing visual feedback. It can show a specific value (determinate) or just that something is in progress (indeterminate).",
296+
"app_components_progressIndicator_circularProgressIndicator_tech": "Circular progress indicator",
297+
"app_components_progressIndicator_circularProgressIndicator_description_text": "A circular progress indicator shows the progress of a task using a circle. Useful when you need more visual focus or when space is limited.",
298+
"app_components_progressIndicator_animated_tech": "Animated",
299+
"app_components_progressIndicator_determinate_tech": "Determinate",
300+
"app_components_progressIndicator_indeterminate_tech": "Indeterminate",
301+
"app_components_progressIndicator_progress_tech": "Progress",
302+
"app_components_progressIndicator_track_tech": "Track",
303+
"app_components_progressIndicator_gapSize_tech": "Gap size",
304+
292305
"@_components_navigation_bar": {},
293306
"app_components_navigationBar_label": "Bottom Bar",
294307
"app_components_navigationBar_description_text": "The Bottom bar provides access to an app’s primary destinations using 3 to 5 persistent tabs. Each destination is represented by an icon and optionally a text label.",

0 commit comments

Comments
 (0)