diff --git a/example/widgetbook/pages/components/search_bar_widgetbook.dart b/example/widgetbook/pages/components/search_bar_widgetbook.dart index 9072142b..fc767a8d 100644 --- a/example/widgetbook/pages/components/search_bar_widgetbook.dart +++ b/example/widgetbook/pages/components/search_bar_widgetbook.dart @@ -49,7 +49,7 @@ Widget searchBarUseCase(BuildContext context) { size: size, shape: shape, disabled: disabled, - hintText: hint, + placeholder: hint, showSpeechToText: showSpeechToText, onChange: (value) { if (value == null) return; diff --git a/test/src/components/avatar/golden/avatar_from_name_xs.png b/test/src/components/avatar/golden/avatar_from_name_xs.png index ec8f22c7..9f715e2a 100644 Binary files a/test/src/components/avatar/golden/avatar_from_name_xs.png and b/test/src/components/avatar/golden/avatar_from_name_xs.png differ diff --git a/test/src/components/avatar/golden/avatar_initials_xs.png b/test/src/components/avatar/golden/avatar_initials_xs.png index ec8f22c7..9f715e2a 100644 Binary files a/test/src/components/avatar/golden/avatar_initials_xs.png and b/test/src/components/avatar/golden/avatar_initials_xs.png differ diff --git a/test/src/components/badge/golden/indicator_default.png b/test/src/components/badge/golden/indicator_default.png index 291fd461..51235d00 100644 Binary files a/test/src/components/badge/golden/indicator_default.png and b/test/src/components/badge/golden/indicator_default.png differ diff --git a/test/src/components/badge/golden/indicator_icon_default.png b/test/src/components/badge/golden/indicator_icon_default.png index c472cd38..c29ecee4 100644 Binary files a/test/src/components/badge/golden/indicator_icon_default.png and b/test/src/components/badge/golden/indicator_icon_default.png differ diff --git a/test/src/components/badge/golden/indicator_icon_values.png b/test/src/components/badge/golden/indicator_icon_values.png index 96e73834..9c17abf9 100644 Binary files a/test/src/components/badge/golden/indicator_icon_values.png and b/test/src/components/badge/golden/indicator_icon_values.png differ diff --git a/test/src/components/badge/golden/indicator_notification_default.png b/test/src/components/badge/golden/indicator_notification_default.png index 291fd461..51235d00 100644 Binary files a/test/src/components/badge/golden/indicator_notification_default.png and b/test/src/components/badge/golden/indicator_notification_default.png differ diff --git a/test/src/components/badge/golden/indicator_notification_values.png b/test/src/components/badge/golden/indicator_notification_values.png index 60afdfc9..45ceb87c 100644 Binary files a/test/src/components/badge/golden/indicator_notification_values.png and b/test/src/components/badge/golden/indicator_notification_values.png differ diff --git a/test/src/components/badge/golden/label_dark.png b/test/src/components/badge/golden/label_dark.png index 56650a35..a694b52a 100644 Binary files a/test/src/components/badge/golden/label_dark.png and b/test/src/components/badge/golden/label_dark.png differ diff --git a/test/src/components/badge/golden/label_default.png b/test/src/components/badge/golden/label_default.png index ab898e1a..4d0f0a23 100644 Binary files a/test/src/components/badge/golden/label_default.png and b/test/src/components/badge/golden/label_default.png differ diff --git a/test/src/components/badge/golden/label_negative.png b/test/src/components/badge/golden/label_negative.png index efd6692b..7f57efd0 100644 Binary files a/test/src/components/badge/golden/label_negative.png and b/test/src/components/badge/golden/label_negative.png differ diff --git a/test/src/components/badge/golden/label_neutral.png b/test/src/components/badge/golden/label_neutral.png index 8dc692ca..47cb8da9 100644 Binary files a/test/src/components/badge/golden/label_neutral.png and b/test/src/components/badge/golden/label_neutral.png differ diff --git a/test/src/components/badge/golden/label_positive.png b/test/src/components/badge/golden/label_positive.png index 5df40805..537944fa 100644 Binary files a/test/src/components/badge/golden/label_positive.png and b/test/src/components/badge/golden/label_positive.png differ diff --git a/test/src/components/badge/golden/label_sharp.png b/test/src/components/badge/golden/label_sharp.png index 3e96a777..5d02c668 100644 Binary files a/test/src/components/badge/golden/label_sharp.png and b/test/src/components/badge/golden/label_sharp.png differ diff --git a/test/src/components/badge/golden/label_warning.png b/test/src/components/badge/golden/label_warning.png index b4091b2c..2342243e 100644 Binary files a/test/src/components/badge/golden/label_warning.png and b/test/src/components/badge/golden/label_warning.png differ diff --git a/test/src/components/badge/golden/priority_pill_default.png b/test/src/components/badge/golden/priority_pill_default.png index 3ec6f2a1..6ff50feb 100644 Binary files a/test/src/components/badge/golden/priority_pill_default.png and b/test/src/components/badge/golden/priority_pill_default.png differ diff --git a/test/src/components/badge/golden/priority_pill_high.png b/test/src/components/badge/golden/priority_pill_high.png index 0384a884..02c9e252 100644 Binary files a/test/src/components/badge/golden/priority_pill_high.png and b/test/src/components/badge/golden/priority_pill_high.png differ diff --git a/test/src/components/badge/golden/priority_pill_low.png b/test/src/components/badge/golden/priority_pill_low.png index 6199e19f..ff465b65 100644 Binary files a/test/src/components/badge/golden/priority_pill_low.png and b/test/src/components/badge/golden/priority_pill_low.png differ diff --git a/test/src/components/badge/golden/priority_pill_medium.png b/test/src/components/badge/golden/priority_pill_medium.png index e5a1ab11..196178df 100644 Binary files a/test/src/components/badge/golden/priority_pill_medium.png and b/test/src/components/badge/golden/priority_pill_medium.png differ diff --git a/test/src/components/badge/golden/status_label_custom.png b/test/src/components/badge/golden/status_label_custom.png index dd961c4f..b3fd2c0b 100644 Binary files a/test/src/components/badge/golden/status_label_custom.png and b/test/src/components/badge/golden/status_label_custom.png differ diff --git a/test/src/components/badge/golden/status_label_default.png b/test/src/components/badge/golden/status_label_default.png index 00459554..a6807b7a 100644 Binary files a/test/src/components/badge/golden/status_label_default.png and b/test/src/components/badge/golden/status_label_default.png differ diff --git a/test/src/components/badge/golden/tag_left.png b/test/src/components/badge/golden/tag_left.png index 879b23a6..f2005eec 100644 Binary files a/test/src/components/badge/golden/tag_left.png and b/test/src/components/badge/golden/tag_left.png differ diff --git a/test/src/components/badge/golden/tag_right.png b/test/src/components/badge/golden/tag_right.png index 2f860de3..1951b8be 100644 Binary files a/test/src/components/badge/golden/tag_right.png and b/test/src/components/badge/golden/tag_right.png differ diff --git a/test/src/components/button/golden/button_disabled.png b/test/src/components/button/golden/button_disabled.png index ed2720f9..49af6a1a 100644 Binary files a/test/src/components/button/golden/button_disabled.png and b/test/src/components/button/golden/button_disabled.png differ diff --git a/test/src/components/button/golden/button_negative.png b/test/src/components/button/golden/button_negative.png index aa2882ae..4ff3985f 100644 Binary files a/test/src/components/button/golden/button_negative.png and b/test/src/components/button/golden/button_negative.png differ diff --git a/test/src/components/button/golden/button_outline.png b/test/src/components/button/golden/button_outline.png index 93145c17..c629a9ee 100644 Binary files a/test/src/components/button/golden/button_outline.png and b/test/src/components/button/golden/button_outline.png differ diff --git a/test/src/components/button/golden/button_outline_subtle.png b/test/src/components/button/golden/button_outline_subtle.png index 0fa2b83d..e4376243 100644 Binary files a/test/src/components/button/golden/button_outline_subtle.png and b/test/src/components/button/golden/button_outline_subtle.png differ diff --git a/test/src/components/button/golden/button_positive.png b/test/src/components/button/golden/button_positive.png index 62018a50..64ee3c8a 100644 Binary files a/test/src/components/button/golden/button_positive.png and b/test/src/components/button/golden/button_positive.png differ diff --git a/test/src/components/button/golden/button_primary.png b/test/src/components/button/golden/button_primary.png index 124eed1b..ad6380f1 100644 Binary files a/test/src/components/button/golden/button_primary.png and b/test/src/components/button/golden/button_primary.png differ diff --git a/test/src/components/button/golden/button_secondary.png b/test/src/components/button/golden/button_secondary.png index 984e16f5..222f8b0f 100644 Binary files a/test/src/components/button/golden/button_secondary.png and b/test/src/components/button/golden/button_secondary.png differ diff --git a/test/src/components/button/golden/button_text.png b/test/src/components/button/golden/button_text.png index 36c7c960..52159b0f 100644 Binary files a/test/src/components/button/golden/button_text.png and b/test/src/components/button/golden/button_text.png differ diff --git a/test/src/components/chat_item/golden/chat_item_custom_leading.png b/test/src/components/chat_item/golden/chat_item_custom_leading.png index 668000b0..52fce6ea 100644 Binary files a/test/src/components/chat_item/golden/chat_item_custom_leading.png and b/test/src/components/chat_item/golden/chat_item_custom_leading.png differ diff --git a/test/src/components/chat_item/golden/chat_item_custom_slidable_buttons.png b/test/src/components/chat_item/golden/chat_item_custom_slidable_buttons.png index 47655b7b..bf747b6f 100644 Binary files a/test/src/components/chat_item/golden/chat_item_custom_slidable_buttons.png and b/test/src/components/chat_item/golden/chat_item_custom_slidable_buttons.png differ diff --git a/test/src/components/chat_item/golden/chat_item_default.png b/test/src/components/chat_item/golden/chat_item_default.png index f6fa9d75..4f5c6154 100644 Binary files a/test/src/components/chat_item/golden/chat_item_default.png and b/test/src/components/chat_item/golden/chat_item_default.png differ diff --git a/test/src/components/chat_item/golden/chat_item_highlighted.png b/test/src/components/chat_item/golden/chat_item_highlighted.png index 27b3a7bd..c36e1c96 100644 Binary files a/test/src/components/chat_item/golden/chat_item_highlighted.png and b/test/src/components/chat_item/golden/chat_item_highlighted.png differ diff --git a/test/src/components/chat_item/golden/chat_item_pale_and_regular_buttons.png b/test/src/components/chat_item/golden/chat_item_pale_and_regular_buttons.png index 876c8d22..9d906e76 100644 Binary files a/test/src/components/chat_item/golden/chat_item_pale_and_regular_buttons.png and b/test/src/components/chat_item/golden/chat_item_pale_and_regular_buttons.png differ diff --git a/test/src/components/chat_item/golden/chat_item_pale_slidable_buttons.png b/test/src/components/chat_item/golden/chat_item_pale_slidable_buttons.png index cd042946..7e4b1855 100644 Binary files a/test/src/components/chat_item/golden/chat_item_pale_slidable_buttons.png and b/test/src/components/chat_item/golden/chat_item_pale_slidable_buttons.png differ diff --git a/test/src/components/chat_item/golden/chat_item_slidable_actions.png b/test/src/components/chat_item/golden/chat_item_slidable_actions.png index 797a78f2..c990b593 100644 Binary files a/test/src/components/chat_item/golden/chat_item_slidable_actions.png and b/test/src/components/chat_item/golden/chat_item_slidable_actions.png differ diff --git a/test/src/components/checkbox/golden/checkbox_disabled.png b/test/src/components/checkbox/golden/checkbox_disabled.png index 6dfe17b6..b2bee183 100644 Binary files a/test/src/components/checkbox/golden/checkbox_disabled.png and b/test/src/components/checkbox/golden/checkbox_disabled.png differ diff --git a/test/src/components/checkbox/golden/checkbox_enabled.png b/test/src/components/checkbox/golden/checkbox_enabled.png index ad258d31..1a61c857 100644 Binary files a/test/src/components/checkbox/golden/checkbox_enabled.png and b/test/src/components/checkbox/golden/checkbox_enabled.png differ diff --git a/test/src/components/checkbox/golden/checkbox_hover.png b/test/src/components/checkbox/golden/checkbox_hover.png index bc27d144..5c06615a 100644 Binary files a/test/src/components/checkbox/golden/checkbox_hover.png and b/test/src/components/checkbox/golden/checkbox_hover.png differ diff --git a/test/src/components/dialpad/golden/dialpad_disabled.png b/test/src/components/dialpad/golden/dialpad_disabled.png index 5ee42187..967bfdfd 100644 Binary files a/test/src/components/dialpad/golden/dialpad_disabled.png and b/test/src/components/dialpad/golden/dialpad_disabled.png differ diff --git a/test/src/components/dialpad/golden/dialpad_enabled.png b/test/src/components/dialpad/golden/dialpad_enabled.png index 5ee42187..967bfdfd 100644 Binary files a/test/src/components/dialpad/golden/dialpad_enabled.png and b/test/src/components/dialpad/golden/dialpad_enabled.png differ diff --git a/test/src/components/dialpad/golden/dialpadbutton.png b/test/src/components/dialpad/golden/dialpadbutton.png index 7bbc925e..40bf6273 100644 Binary files a/test/src/components/dialpad/golden/dialpadbutton.png and b/test/src/components/dialpad/golden/dialpadbutton.png differ diff --git a/test/src/components/fab/golden/FAB_default.png b/test/src/components/fab/golden/FAB_default.png index 70d8d11e..0bd42827 100644 Binary files a/test/src/components/fab/golden/FAB_default.png and b/test/src/components/fab/golden/FAB_default.png differ diff --git a/test/src/components/fab/golden/FAB_disabled.png b/test/src/components/fab/golden/FAB_disabled.png index 8a0e4a44..0c230b88 100644 Binary files a/test/src/components/fab/golden/FAB_disabled.png and b/test/src/components/fab/golden/FAB_disabled.png differ diff --git a/test/src/components/fab/golden/FAB_inverse.png b/test/src/components/fab/golden/FAB_inverse.png index 1f994e94..26557ac6 100644 Binary files a/test/src/components/fab/golden/FAB_inverse.png and b/test/src/components/fab/golden/FAB_inverse.png differ diff --git a/test/src/components/fab/golden/FAB_pressed.png b/test/src/components/fab/golden/FAB_pressed.png index e0b19382..4d7f60dc 100644 Binary files a/test/src/components/fab/golden/FAB_pressed.png and b/test/src/components/fab/golden/FAB_pressed.png differ diff --git a/test/src/components/fab/golden/FAB_secondary.png b/test/src/components/fab/golden/FAB_secondary.png index ae97e30a..88730245 100644 Binary files a/test/src/components/fab/golden/FAB_secondary.png and b/test/src/components/fab/golden/FAB_secondary.png differ diff --git a/test/src/components/in_page_banner/golden/in_page_banner_buttons.png b/test/src/components/in_page_banner/golden/in_page_banner_buttons.png index 1b34beed..4d85b7dd 100644 Binary files a/test/src/components/in_page_banner/golden/in_page_banner_buttons.png and b/test/src/components/in_page_banner/golden/in_page_banner_buttons.png differ diff --git a/test/src/components/in_page_banner/golden/in_page_banner_default.png b/test/src/components/in_page_banner/golden/in_page_banner_default.png index d1dc47c0..950fadb7 100644 Binary files a/test/src/components/in_page_banner/golden/in_page_banner_default.png and b/test/src/components/in_page_banner/golden/in_page_banner_default.png differ diff --git a/test/src/components/in_page_banner/golden/in_page_banner_negative.png b/test/src/components/in_page_banner/golden/in_page_banner_negative.png index 5f808d48..94fa9ded 100644 Binary files a/test/src/components/in_page_banner/golden/in_page_banner_negative.png and b/test/src/components/in_page_banner/golden/in_page_banner_negative.png differ diff --git a/test/src/components/in_page_banner/golden/in_page_banner_positive.png b/test/src/components/in_page_banner/golden/in_page_banner_positive.png index 2ec287da..ece5c1b6 100644 Binary files a/test/src/components/in_page_banner/golden/in_page_banner_positive.png and b/test/src/components/in_page_banner/golden/in_page_banner_positive.png differ diff --git a/test/src/components/password/golden/password_default.png b/test/src/components/password/golden/password_default.png index 8d9d5777..a11ba32a 100644 Binary files a/test/src/components/password/golden/password_default.png and b/test/src/components/password/golden/password_default.png differ diff --git a/test/src/components/password/golden/password_error.png b/test/src/components/password/golden/password_error.png index 09070cbf..40f465c8 100644 Binary files a/test/src/components/password/golden/password_error.png and b/test/src/components/password/golden/password_error.png differ diff --git a/test/src/components/search_bar/golden/search_bar_default.png b/test/src/components/search_bar/golden/search_bar_default.png index 3926f597..614622db 100644 Binary files a/test/src/components/search_bar/golden/search_bar_default.png and b/test/src/components/search_bar/golden/search_bar_default.png differ diff --git a/test/src/components/search_bar/golden/search_bar_full.png b/test/src/components/search_bar/golden/search_bar_full.png index e3ffbdaf..a0146091 100644 Binary files a/test/src/components/search_bar/golden/search_bar_full.png and b/test/src/components/search_bar/golden/search_bar_full.png differ diff --git a/test/src/components/search_bar/golden/search_bar_medium.png b/test/src/components/search_bar/golden/search_bar_medium.png index 3926f597..614622db 100644 Binary files a/test/src/components/search_bar/golden/search_bar_medium.png and b/test/src/components/search_bar/golden/search_bar_medium.png differ diff --git a/test/src/components/search_bar/golden/search_bar_sharp.png b/test/src/components/search_bar/golden/search_bar_sharp.png index 27a2b4e3..c3c1ab55 100644 Binary files a/test/src/components/search_bar/golden/search_bar_sharp.png and b/test/src/components/search_bar/golden/search_bar_sharp.png differ diff --git a/test/src/components/search_bar/golden/search_bar_small.png b/test/src/components/search_bar/golden/search_bar_small.png index 835f47d2..0f23bf32 100644 Binary files a/test/src/components/search_bar/golden/search_bar_small.png and b/test/src/components/search_bar/golden/search_bar_small.png differ diff --git a/test/src/components/search_bar/search_bar_test.dart b/test/src/components/search_bar/search_bar_test.dart index 9cfaef8b..120b326a 100644 --- a/test/src/components/search_bar/search_bar_test.dart +++ b/test/src/components/search_bar/search_bar_test.dart @@ -47,7 +47,7 @@ void main() { ); await tester.pumpAndSettle(); - expect(find.byType(TextFormField), findsOneWidget); + expect(find.byType(TextField), findsOneWidget); }); testWidgets('golden: renders initializes correctly', (WidgetTester tester) async { @@ -178,7 +178,7 @@ void main() { ); await tester.pumpAndSettle(); - await tester.enterText(find.byType(TextFormField), 'New text'); + await tester.enterText(find.byType(TextField), 'New text'); await tester.pump(); verify(callbacks.onChange.call('New text')).called(1); @@ -194,7 +194,7 @@ void main() { ); await tester.pumpAndSettle(); - await tester.enterText(find.byType(TextFormField), 'Submit text'); + await tester.enterText(find.byType(TextField), 'Submit text'); await tester.testTextInput.receiveAction(TextInputAction.done); await tester.pump(); @@ -231,7 +231,7 @@ void main() { ); await tester.pumpAndSettle(); - await tester.enterText(find.byType(TextFormField), 'Disabled input'); + await tester.enterText(find.byType(TextField), 'Disabled input'); await tester.pump(); expect(find.text('Disabled input'), findsNothing); @@ -263,7 +263,7 @@ void main() { ); await tester.pumpAndSettle(); - await tester.enterText(find.byType(TextFormField), 'New text'); + await tester.enterText(find.byType(TextField), 'New text'); await tester.pump(); verify(callbacks.onChange.call('New text')).called(1); @@ -280,7 +280,7 @@ void main() { expect(diagnostics.finder('size'), 'medium'); expect(diagnostics.finder('shape'), 'rounded'); - expect(diagnostics.finder('hintText'), 'null'); + expect(diagnostics.finder('placeholder'), 'null'); expect(diagnostics.finder('textInputAction'), 'null'); expect(diagnostics.finder('onSpeechToText'), 'null'); expect(diagnostics.finder('showSpeechToText'), 'true'); diff --git a/test/src/components/tooltip/golden/arrow_down.png b/test/src/components/tooltip/golden/arrow_down.png index 69aed7ff..2aea5e0d 100644 Binary files a/test/src/components/tooltip/golden/arrow_down.png and b/test/src/components/tooltip/golden/arrow_down.png differ diff --git a/test/src/components/tooltip/golden/arrow_left.png b/test/src/components/tooltip/golden/arrow_left.png index 05f2c4fb..cb827b35 100644 Binary files a/test/src/components/tooltip/golden/arrow_left.png and b/test/src/components/tooltip/golden/arrow_left.png differ diff --git a/test/src/components/tooltip/golden/arrow_right.png b/test/src/components/tooltip/golden/arrow_right.png index c329440c..618cf6d1 100644 Binary files a/test/src/components/tooltip/golden/arrow_right.png and b/test/src/components/tooltip/golden/arrow_right.png differ diff --git a/test/src/components/tooltip/golden/arrow_up.png b/test/src/components/tooltip/golden/arrow_up.png index a4f04338..a6e2aa01 100644 Binary files a/test/src/components/tooltip/golden/arrow_up.png and b/test/src/components/tooltip/golden/arrow_up.png differ diff --git a/test/src/components/top_app_bar/golden/extended_app_bar_shrinks.png b/test/src/components/top_app_bar/golden/extended_app_bar_shrinks.png index 6a0c1237..b523f403 100644 Binary files a/test/src/components/top_app_bar/golden/extended_app_bar_shrinks.png and b/test/src/components/top_app_bar/golden/extended_app_bar_shrinks.png differ diff --git a/test/src/components/top_app_bar/golden/extended_app_bar_shrinks_with_no_leading.png b/test/src/components/top_app_bar/golden/extended_app_bar_shrinks_with_no_leading.png index 87b9ce7d..21d455eb 100644 Binary files a/test/src/components/top_app_bar/golden/extended_app_bar_shrinks_with_no_leading.png and b/test/src/components/top_app_bar/golden/extended_app_bar_shrinks_with_no_leading.png differ