From ccfd14b05f4d6e64871ba5309517a7fd26f2968d Mon Sep 17 00:00:00 2001 From: Darren Austin Date: Tue, 3 Jan 2023 12:48:00 -0800 Subject: [PATCH] Updated to tokens v0.150. (#117350) * Updated to tokens v0.150. * Updated with a reverted list_tile.dart. --- dev/tools/gen_defaults/data/badge.json | 2 +- dev/tools/gen_defaults/data/banner.json | 2 +- dev/tools/gen_defaults/data/bottom_app_bar.json | 2 +- dev/tools/gen_defaults/data/button_elevated.json | 2 +- dev/tools/gen_defaults/data/button_filled.json | 2 +- .../gen_defaults/data/button_filled_tonal.json | 2 +- dev/tools/gen_defaults/data/button_outlined.json | 2 +- dev/tools/gen_defaults/data/button_text.json | 2 +- dev/tools/gen_defaults/data/card_elevated.json | 2 +- dev/tools/gen_defaults/data/card_filled.json | 2 +- dev/tools/gen_defaults/data/card_outlined.json | 10 +++++----- dev/tools/gen_defaults/data/checkbox.json | 2 +- dev/tools/gen_defaults/data/chip_assist.json | 2 +- dev/tools/gen_defaults/data/chip_filter.json | 4 ++-- dev/tools/gen_defaults/data/chip_input.json | 2 +- dev/tools/gen_defaults/data/chip_suggestion.json | 12 ++++++------ dev/tools/gen_defaults/data/color_dark.json | 2 +- dev/tools/gen_defaults/data/color_light.json | 2 +- .../gen_defaults/data/date_picker_docked.json | 2 +- .../data/date_picker_input_modal.json | 16 ++++++++++++++++ .../gen_defaults/data/date_picker_modal.json | 2 +- dev/tools/gen_defaults/data/dialog.json | 2 +- .../gen_defaults/data/dialog_fullscreen.json | 2 +- dev/tools/gen_defaults/data/divider.json | 2 +- dev/tools/gen_defaults/data/elevation.json | 2 +- .../gen_defaults/data/fab_extended_primary.json | 2 +- .../gen_defaults/data/fab_large_primary.json | 2 +- dev/tools/gen_defaults/data/fab_primary.json | 2 +- .../gen_defaults/data/fab_small_primary.json | 2 +- dev/tools/gen_defaults/data/icon_button.json | 2 +- .../gen_defaults/data/icon_button_filled.json | 2 +- .../data/icon_button_filled_tonal.json | 2 +- .../gen_defaults/data/icon_button_outlined.json | 2 +- dev/tools/gen_defaults/data/list.json | 2 +- dev/tools/gen_defaults/data/menu.json | 2 +- dev/tools/gen_defaults/data/motion.json | 2 +- dev/tools/gen_defaults/data/navigation_bar.json | 2 +- .../gen_defaults/data/navigation_drawer.json | 2 +- dev/tools/gen_defaults/data/navigation_rail.json | 2 +- .../data/navigation_tab_primary.json | 2 +- dev/tools/gen_defaults/data/palette.json | 2 +- .../data/progress_indicator_circular.json | 2 +- .../data/progress_indicator_linear.json | 2 +- dev/tools/gen_defaults/data/radio_button.json | 2 +- .../data/segmented_button_outlined.json | 2 +- dev/tools/gen_defaults/data/shape.json | 2 +- dev/tools/gen_defaults/data/sheet_bottom.json | 2 +- dev/tools/gen_defaults/data/slider.json | 2 +- dev/tools/gen_defaults/data/snackbar.json | 2 +- dev/tools/gen_defaults/data/state.json | 2 +- dev/tools/gen_defaults/data/switch.json | 2 +- .../gen_defaults/data/text_field_filled.json | 4 ++-- .../gen_defaults/data/text_field_outlined.json | 2 +- dev/tools/gen_defaults/data/text_style.json | 4 +++- dev/tools/gen_defaults/data/time_picker.json | 4 ++-- .../gen_defaults/data/top_app_bar_large.json | 2 +- .../gen_defaults/data/top_app_bar_medium.json | 2 +- .../gen_defaults/data/top_app_bar_small.json | 2 +- dev/tools/gen_defaults/data/typeface.json | 2 +- .../flutter/lib/src/material/action_chip.dart | 2 +- packages/flutter/lib/src/material/app_bar.dart | 2 +- packages/flutter/lib/src/material/badge.dart | 2 +- packages/flutter/lib/src/material/banner.dart | 2 +- .../flutter/lib/src/material/bottom_app_bar.dart | 2 +- .../flutter/lib/src/material/bottom_sheet.dart | 2 +- packages/flutter/lib/src/material/card.dart | 2 +- packages/flutter/lib/src/material/checkbox.dart | 2 +- packages/flutter/lib/src/material/chip.dart | 2 +- .../flutter/lib/src/material/choice_chip.dart | 4 ++-- packages/flutter/lib/src/material/dialog.dart | 4 ++-- packages/flutter/lib/src/material/divider.dart | 2 +- packages/flutter/lib/src/material/drawer.dart | 2 +- .../lib/src/material/elevated_button.dart | 2 +- .../lib/src/material/elevation_overlay.dart | 2 +- .../flutter/lib/src/material/filled_button.dart | 4 ++-- .../flutter/lib/src/material/filter_chip.dart | 4 ++-- .../lib/src/material/floating_action_button.dart | 2 +- .../flutter/lib/src/material/icon_button.dart | 2 +- .../flutter/lib/src/material/input_chip.dart | 2 +- .../lib/src/material/input_decorator.dart | 2 +- .../flutter/lib/src/material/menu_anchor.dart | 2 +- .../flutter/lib/src/material/navigation_bar.dart | 2 +- .../lib/src/material/navigation_drawer.dart | 2 +- .../lib/src/material/navigation_rail.dart | 2 +- .../lib/src/material/outlined_button.dart | 2 +- .../flutter/lib/src/material/popup_menu.dart | 2 +- .../lib/src/material/progress_indicator.dart | 2 +- packages/flutter/lib/src/material/radio.dart | 2 +- .../lib/src/material/segmented_button.dart | 2 +- packages/flutter/lib/src/material/slider.dart | 2 +- packages/flutter/lib/src/material/snack_bar.dart | 2 +- packages/flutter/lib/src/material/switch.dart | 2 +- packages/flutter/lib/src/material/tabs.dart | 2 +- .../flutter/lib/src/material/text_button.dart | 2 +- .../flutter/lib/src/material/text_field.dart | 2 +- .../flutter/lib/src/material/theme_data.dart | 2 +- .../flutter/lib/src/material/time_picker.dart | 6 +++--- .../flutter/lib/src/material/typography.dart | 2 +- 98 files changed, 133 insertions(+), 115 deletions(-) create mode 100644 dev/tools/gen_defaults/data/date_picker_input_modal.json diff --git a/dev/tools/gen_defaults/data/badge.json b/dev/tools/gen_defaults/data/badge.json index 1b339472a39e..dca20c1a1308 100644 --- a/dev/tools/gen_defaults/data/badge.json +++ b/dev/tools/gen_defaults/data/badge.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.badge.color": "error", "md.comp.badge.large.color": "error", diff --git a/dev/tools/gen_defaults/data/banner.json b/dev/tools/gen_defaults/data/banner.json index 0f942e18d252..c74ebc84927b 100644 --- a/dev/tools/gen_defaults/data/banner.json +++ b/dev/tools/gen_defaults/data/banner.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.banner.container.color": "surface", "md.comp.banner.container.elevation": "md.sys.elevation.level1", diff --git a/dev/tools/gen_defaults/data/bottom_app_bar.json b/dev/tools/gen_defaults/data/bottom_app_bar.json index 065a2c584edd..eacd39de5c08 100644 --- a/dev/tools/gen_defaults/data/bottom_app_bar.json +++ b/dev/tools/gen_defaults/data/bottom_app_bar.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.bottom-app-bar.container.color": "surface", "md.comp.bottom-app-bar.container.elevation": "md.sys.elevation.level2", diff --git a/dev/tools/gen_defaults/data/button_elevated.json b/dev/tools/gen_defaults/data/button_elevated.json index eba01c49d1b9..0aa524e82930 100644 --- a/dev/tools/gen_defaults/data/button_elevated.json +++ b/dev/tools/gen_defaults/data/button_elevated.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.elevated-button.container.color": "surface", "md.comp.elevated-button.container.elevation": "md.sys.elevation.level1", diff --git a/dev/tools/gen_defaults/data/button_filled.json b/dev/tools/gen_defaults/data/button_filled.json index ade79ff6c0c0..d574a34b8870 100644 --- a/dev/tools/gen_defaults/data/button_filled.json +++ b/dev/tools/gen_defaults/data/button_filled.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-button.container.color": "primary", "md.comp.filled-button.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/button_filled_tonal.json b/dev/tools/gen_defaults/data/button_filled_tonal.json index e38530e52d73..5f94c5a8478d 100644 --- a/dev/tools/gen_defaults/data/button_filled_tonal.json +++ b/dev/tools/gen_defaults/data/button_filled_tonal.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-tonal-button.container.color": "secondaryContainer", "md.comp.filled-tonal-button.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/button_outlined.json b/dev/tools/gen_defaults/data/button_outlined.json index f78703c76f16..937db4a82000 100644 --- a/dev/tools/gen_defaults/data/button_outlined.json +++ b/dev/tools/gen_defaults/data/button_outlined.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.outlined-button.container.height": 40.0, "md.comp.outlined-button.container.shape": "md.sys.shape.corner.full", diff --git a/dev/tools/gen_defaults/data/button_text.json b/dev/tools/gen_defaults/data/button_text.json index 25bd0fcee539..2faf767288e9 100644 --- a/dev/tools/gen_defaults/data/button_text.json +++ b/dev/tools/gen_defaults/data/button_text.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.text-button.container.height": 40.0, "md.comp.text-button.container.shape": "md.sys.shape.corner.full", diff --git a/dev/tools/gen_defaults/data/card_elevated.json b/dev/tools/gen_defaults/data/card_elevated.json index 2d11c1aae9d6..e22c357c95ef 100644 --- a/dev/tools/gen_defaults/data/card_elevated.json +++ b/dev/tools/gen_defaults/data/card_elevated.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.elevated-card.container.color": "surface", "md.comp.elevated-card.container.elevation": "md.sys.elevation.level1", diff --git a/dev/tools/gen_defaults/data/card_filled.json b/dev/tools/gen_defaults/data/card_filled.json index ea9bc471f445..eb504a144a90 100644 --- a/dev/tools/gen_defaults/data/card_filled.json +++ b/dev/tools/gen_defaults/data/card_filled.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-card.container.color": "surfaceVariant", "md.comp.filled-card.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/card_outlined.json b/dev/tools/gen_defaults/data/card_outlined.json index a0c5f9187b9c..309cd46f0ba6 100644 --- a/dev/tools/gen_defaults/data/card_outlined.json +++ b/dev/tools/gen_defaults/data/card_outlined.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.outlined-card.container.color": "surface", "md.comp.outlined-card.container.elevation": "md.sys.elevation.level0", @@ -10,7 +10,7 @@ "md.comp.outlined-card.disabled.outline.color": "outline", "md.comp.outlined-card.disabled.outline.opacity": 0.12, "md.comp.outlined-card.dragged.container.elevation": "md.sys.elevation.level3", - "md.comp.outlined-card.dragged.outline.color": "outline", + "md.comp.outlined-card.dragged.outline.color": "outlineVariant", "md.comp.outlined-card.dragged.state-layer.color": "onSurface", "md.comp.outlined-card.dragged.state-layer.opacity": "md.sys.state.dragged.state-layer-opacity", "md.comp.outlined-card.focus.container.elevation": "md.sys.elevation.level0", @@ -18,15 +18,15 @@ "md.comp.outlined-card.focus.state-layer.color": "onSurface", "md.comp.outlined-card.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity", "md.comp.outlined-card.hover.container.elevation": "md.sys.elevation.level1", - "md.comp.outlined-card.hover.outline.color": "outline", + "md.comp.outlined-card.hover.outline.color": "outlineVariant", "md.comp.outlined-card.hover.state-layer.color": "onSurface", "md.comp.outlined-card.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity", "md.comp.outlined-card.icon.color": "primary", "md.comp.outlined-card.icon.size": 24.0, - "md.comp.outlined-card.outline.color": "outline", + "md.comp.outlined-card.outline.color": "outlineVariant", "md.comp.outlined-card.outline.width": 1.0, "md.comp.outlined-card.pressed.container.elevation": "md.sys.elevation.level0", - "md.comp.outlined-card.pressed.outline.color": "outline", + "md.comp.outlined-card.pressed.outline.color": "outlineVariant", "md.comp.outlined-card.pressed.state-layer.color": "onSurface", "md.comp.outlined-card.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity" } diff --git a/dev/tools/gen_defaults/data/checkbox.json b/dev/tools/gen_defaults/data/checkbox.json index de4c0a7bada7..02bb59867d79 100644 --- a/dev/tools/gen_defaults/data/checkbox.json +++ b/dev/tools/gen_defaults/data/checkbox.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.checkbox.container.height": 18.0, "md.comp.checkbox.container.width": 18.0, diff --git a/dev/tools/gen_defaults/data/chip_assist.json b/dev/tools/gen_defaults/data/chip_assist.json index 2de0f21b52b5..9554d2fb84cb 100644 --- a/dev/tools/gen_defaults/data/chip_assist.json +++ b/dev/tools/gen_defaults/data/chip_assist.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.assist-chip.container.height": 32.0, "md.comp.assist-chip.container.shape": "md.sys.shape.corner.small", diff --git a/dev/tools/gen_defaults/data/chip_filter.json b/dev/tools/gen_defaults/data/chip_filter.json index d09df0b77b9d..5a6b54f88139 100644 --- a/dev/tools/gen_defaults/data/chip_filter.json +++ b/dev/tools/gen_defaults/data/chip_filter.json @@ -1,14 +1,14 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filter-chip.container.height": 32.0, - "md.comp.filter-chip.container.shadow-color": "shadow", "md.comp.filter-chip.container.shape": "md.sys.shape.corner.small", "md.comp.filter-chip.container.surface-tint-layer.color": "surfaceTint", "md.comp.filter-chip.disabled.label-text.color": "onSurface", "md.comp.filter-chip.disabled.label-text.opacity": 0.38, "md.comp.filter-chip.dragged.container.elevation": "md.sys.elevation.level4", "md.comp.filter-chip.elevated.container.elevation": "md.sys.elevation.level1", + "md.comp.filter-chip.elevated.container.shadow-color": "shadow", "md.comp.filter-chip.elevated.disabled.container.color": "onSurface", "md.comp.filter-chip.elevated.disabled.container.elevation": "md.sys.elevation.level0", "md.comp.filter-chip.elevated.disabled.container.opacity": 0.12, diff --git a/dev/tools/gen_defaults/data/chip_input.json b/dev/tools/gen_defaults/data/chip_input.json index 14528cc1cd4e..3e93abe9116d 100644 --- a/dev/tools/gen_defaults/data/chip_input.json +++ b/dev/tools/gen_defaults/data/chip_input.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.input-chip.container.elevation": "md.sys.elevation.level0", "md.comp.input-chip.container.height": 32.0, diff --git a/dev/tools/gen_defaults/data/chip_suggestion.json b/dev/tools/gen_defaults/data/chip_suggestion.json index 5e1dbc83c617..0aa0d1484697 100644 --- a/dev/tools/gen_defaults/data/chip_suggestion.json +++ b/dev/tools/gen_defaults/data/chip_suggestion.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.suggestion-chip.container.height": 32.0, "md.comp.suggestion-chip.container.shape": "md.sys.shape.corner.small", @@ -38,10 +38,10 @@ "md.comp.suggestion-chip.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity", "md.comp.suggestion-chip.with-leading-icon.disabled.leading-icon.color": "onSurface", "md.comp.suggestion-chip.with-leading-icon.disabled.leading-icon.opacity": 0.38, - "md.comp.suggestion-chip.with-leading-icon.dragged.leading-icon.color": "onSurfaceVariant", - "md.comp.suggestion-chip.with-leading-icon.focus.leading-icon.color": "onSurfaceVariant", - "md.comp.suggestion-chip.with-leading-icon.hover.leading-icon.color": "onSurfaceVariant", - "md.comp.suggestion-chip.with-leading-icon.leading-icon.color": "onSurfaceVariant", + "md.comp.suggestion-chip.with-leading-icon.dragged.leading-icon.color": "primary", + "md.comp.suggestion-chip.with-leading-icon.focus.leading-icon.color": "primary", + "md.comp.suggestion-chip.with-leading-icon.hover.leading-icon.color": "primary", + "md.comp.suggestion-chip.with-leading-icon.leading-icon.color": "primary", "md.comp.suggestion-chip.with-leading-icon.leading-icon.size": 18.0, - "md.comp.suggestion-chip.with-leading-icon.pressed.leading-icon.color": "onSurfaceVariant" + "md.comp.suggestion-chip.with-leading-icon.pressed.leading-icon.color": "primary" } diff --git a/dev/tools/gen_defaults/data/color_dark.json b/dev/tools/gen_defaults/data/color_dark.json index 11286ad792da..14e7ada0901b 100644 --- a/dev/tools/gen_defaults/data/color_dark.json +++ b/dev/tools/gen_defaults/data/color_dark.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.color.background": "md.ref.palette.neutral10", "md.sys.color.error": "md.ref.palette.error80", diff --git a/dev/tools/gen_defaults/data/color_light.json b/dev/tools/gen_defaults/data/color_light.json index 046f615c636f..eb7e8eb5ccc0 100644 --- a/dev/tools/gen_defaults/data/color_light.json +++ b/dev/tools/gen_defaults/data/color_light.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.color.background": "md.ref.palette.neutral99", "md.sys.color.error": "md.ref.palette.error40", diff --git a/dev/tools/gen_defaults/data/date_picker_docked.json b/dev/tools/gen_defaults/data/date_picker_docked.json index 97f077c09638..a54a3021bc31 100644 --- a/dev/tools/gen_defaults/data/date_picker_docked.json +++ b/dev/tools/gen_defaults/data/date_picker_docked.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.date-picker.docked.container.color": "surface", "md.comp.date-picker.docked.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/date_picker_input_modal.json b/dev/tools/gen_defaults/data/date_picker_input_modal.json new file mode 100644 index 000000000000..2e7bae63efb6 --- /dev/null +++ b/dev/tools/gen_defaults/data/date_picker_input_modal.json @@ -0,0 +1,16 @@ +{ + "version": "v0_150", + + "md.comp.date-input.modal.container.color": "surface", + "md.comp.date-input.modal.container.elevation": "md.sys.elevation.level3", + "md.comp.date-input.modal.container.height": 512.0, + "md.comp.date-input.modal.container.shape": "md.sys.shape.corner.extra-large", + "md.comp.date-input.modal.container.surface-tint-layer.color": "surfaceTint", + "md.comp.date-input.modal.container.width": 328.0, + "md.comp.date-input.modal.header.container.height": 120.0, + "md.comp.date-input.modal.header.container.width": 328.0, + "md.comp.date-input.modal.header.headline.color": "onSurfaceVariant", + "md.comp.date-input.modal.header.headline.text-style": "headlineLarge", + "md.comp.date-input.modal.header.supporting-text.color": "onSurfaceVariant", + "md.comp.date-input.modal.header.supporting-text.text-style": "labelMedium" +} diff --git a/dev/tools/gen_defaults/data/date_picker_modal.json b/dev/tools/gen_defaults/data/date_picker_modal.json index 9a2ea4a6b2d0..c29400a8395a 100644 --- a/dev/tools/gen_defaults/data/date_picker_modal.json +++ b/dev/tools/gen_defaults/data/date_picker_modal.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.date-picker.modal.container.color": "surface", "md.comp.date-picker.modal.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/dialog.json b/dev/tools/gen_defaults/data/dialog.json index bcf6c94eaf93..988b4dbbbc66 100644 --- a/dev/tools/gen_defaults/data/dialog.json +++ b/dev/tools/gen_defaults/data/dialog.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.dialog.action.focus.label-text.color": "primary", "md.comp.dialog.action.focus.state-layer.color": "primary", diff --git a/dev/tools/gen_defaults/data/dialog_fullscreen.json b/dev/tools/gen_defaults/data/dialog_fullscreen.json index 5d4d305516dd..30d84108a6ce 100644 --- a/dev/tools/gen_defaults/data/dialog_fullscreen.json +++ b/dev/tools/gen_defaults/data/dialog_fullscreen.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.full-screen-dialog.container.color": "surface", "md.comp.full-screen-dialog.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/divider.json b/dev/tools/gen_defaults/data/divider.json index 27c56b93d2e0..f56367924e76 100644 --- a/dev/tools/gen_defaults/data/divider.json +++ b/dev/tools/gen_defaults/data/divider.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.divider.color": "outlineVariant", "md.comp.divider.thickness": 1.0 diff --git a/dev/tools/gen_defaults/data/elevation.json b/dev/tools/gen_defaults/data/elevation.json index 11c9c7d50972..9b55f955a371 100644 --- a/dev/tools/gen_defaults/data/elevation.json +++ b/dev/tools/gen_defaults/data/elevation.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.elevation.level0": 0.0, "md.sys.elevation.level1": 1.0, diff --git a/dev/tools/gen_defaults/data/fab_extended_primary.json b/dev/tools/gen_defaults/data/fab_extended_primary.json index a2038fc34feb..4a81c01b1231 100644 --- a/dev/tools/gen_defaults/data/fab_extended_primary.json +++ b/dev/tools/gen_defaults/data/fab_extended_primary.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.extended-fab.primary.container.color": "primaryContainer", "md.comp.extended-fab.primary.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/fab_large_primary.json b/dev/tools/gen_defaults/data/fab_large_primary.json index 6df0e38b59ab..4d66920545d1 100644 --- a/dev/tools/gen_defaults/data/fab_large_primary.json +++ b/dev/tools/gen_defaults/data/fab_large_primary.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.fab.primary.large.container.color": "primaryContainer", "md.comp.fab.primary.large.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/fab_primary.json b/dev/tools/gen_defaults/data/fab_primary.json index f76f1965f77c..a2bb47baa03a 100644 --- a/dev/tools/gen_defaults/data/fab_primary.json +++ b/dev/tools/gen_defaults/data/fab_primary.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.fab.primary.container.color": "primaryContainer", "md.comp.fab.primary.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/fab_small_primary.json b/dev/tools/gen_defaults/data/fab_small_primary.json index b229979dff27..841ca591e9f6 100644 --- a/dev/tools/gen_defaults/data/fab_small_primary.json +++ b/dev/tools/gen_defaults/data/fab_small_primary.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.fab.primary.small.container.color": "primaryContainer", "md.comp.fab.primary.small.container.elevation": "md.sys.elevation.level3", diff --git a/dev/tools/gen_defaults/data/icon_button.json b/dev/tools/gen_defaults/data/icon_button.json index 3e8ac2cf5739..26649d0adfc8 100644 --- a/dev/tools/gen_defaults/data/icon_button.json +++ b/dev/tools/gen_defaults/data/icon_button.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.icon-button.disabled.icon.color": "onSurface", "md.comp.icon-button.disabled.icon.opacity": 0.38, diff --git a/dev/tools/gen_defaults/data/icon_button_filled.json b/dev/tools/gen_defaults/data/icon_button_filled.json index 15520cfd680f..54d7593a4e7b 100644 --- a/dev/tools/gen_defaults/data/icon_button_filled.json +++ b/dev/tools/gen_defaults/data/icon_button_filled.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-icon-button.container.color": "primary", "md.comp.filled-icon-button.container.shape": "md.sys.shape.corner.full", diff --git a/dev/tools/gen_defaults/data/icon_button_filled_tonal.json b/dev/tools/gen_defaults/data/icon_button_filled_tonal.json index 29c1951ce309..2ff2379da86d 100644 --- a/dev/tools/gen_defaults/data/icon_button_filled_tonal.json +++ b/dev/tools/gen_defaults/data/icon_button_filled_tonal.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-tonal-icon-button.container.color": "secondaryContainer", "md.comp.filled-tonal-icon-button.container.shape": "md.sys.shape.corner.full", diff --git a/dev/tools/gen_defaults/data/icon_button_outlined.json b/dev/tools/gen_defaults/data/icon_button_outlined.json index bb21480df8c6..991a3078c116 100644 --- a/dev/tools/gen_defaults/data/icon_button_outlined.json +++ b/dev/tools/gen_defaults/data/icon_button_outlined.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.outlined-icon-button.container.shape": "md.sys.shape.corner.full", "md.comp.outlined-icon-button.container.size": 40.0, diff --git a/dev/tools/gen_defaults/data/list.json b/dev/tools/gen_defaults/data/list.json index ca506622275e..bc3be25bbcec 100644 --- a/dev/tools/gen_defaults/data/list.json +++ b/dev/tools/gen_defaults/data/list.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.list.list-item.container.color": "surface", "md.comp.list.list-item.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/menu.json b/dev/tools/gen_defaults/data/menu.json index c630f144ff70..c1cdc425b2f9 100644 --- a/dev/tools/gen_defaults/data/menu.json +++ b/dev/tools/gen_defaults/data/menu.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.menu.cascading-menu-indicator.icon.color": "onSurfaceVariant", "md.comp.menu.cascading-menu-indicator.icon.size": 24.0, diff --git a/dev/tools/gen_defaults/data/motion.json b/dev/tools/gen_defaults/data/motion.json index 0a3d93bebea0..7c1d282e236b 100644 --- a/dev/tools/gen_defaults/data/motion.json +++ b/dev/tools/gen_defaults/data/motion.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.motion.duration.extra-long1Ms": 700.0, "md.sys.motion.duration.extra-long2Ms": 800.0, diff --git a/dev/tools/gen_defaults/data/navigation_bar.json b/dev/tools/gen_defaults/data/navigation_bar.json index b0d12a8c060f..f6f65b59649c 100644 --- a/dev/tools/gen_defaults/data/navigation_bar.json +++ b/dev/tools/gen_defaults/data/navigation_bar.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.navigation-bar.active.focus.icon.color": "onSecondaryContainer", "md.comp.navigation-bar.active.focus.label-text.color": "onSurface", diff --git a/dev/tools/gen_defaults/data/navigation_drawer.json b/dev/tools/gen_defaults/data/navigation_drawer.json index 3ae63aab7882..ac64c6031e25 100644 --- a/dev/tools/gen_defaults/data/navigation_drawer.json +++ b/dev/tools/gen_defaults/data/navigation_drawer.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.navigation-drawer.active.focus.icon.color": "onSecondaryContainer", "md.comp.navigation-drawer.active.focus.label-text.color": "onSecondaryContainer", diff --git a/dev/tools/gen_defaults/data/navigation_rail.json b/dev/tools/gen_defaults/data/navigation_rail.json index 6e26ca5d3ba9..810f9c44a725 100644 --- a/dev/tools/gen_defaults/data/navigation_rail.json +++ b/dev/tools/gen_defaults/data/navigation_rail.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.navigation-rail.active.focus.icon.color": "onSecondaryContainer", "md.comp.navigation-rail.active.focus.label-text.color": "onSurface", diff --git a/dev/tools/gen_defaults/data/navigation_tab_primary.json b/dev/tools/gen_defaults/data/navigation_tab_primary.json index d001804289f5..4c4000203fe6 100644 --- a/dev/tools/gen_defaults/data/navigation_tab_primary.json +++ b/dev/tools/gen_defaults/data/navigation_tab_primary.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.primary-navigation-tab.active.focus.state-layer.color": "primary", "md.comp.primary-navigation-tab.active.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity", diff --git a/dev/tools/gen_defaults/data/palette.json b/dev/tools/gen_defaults/data/palette.json index d800aac4fd87..02ada690678e 100644 --- a/dev/tools/gen_defaults/data/palette.json +++ b/dev/tools/gen_defaults/data/palette.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.ref.palette.black": "0xFF000000", "md.ref.palette.error0": "0xFF000000", diff --git a/dev/tools/gen_defaults/data/progress_indicator_circular.json b/dev/tools/gen_defaults/data/progress_indicator_circular.json index 3b2b00c28101..55026304b024 100644 --- a/dev/tools/gen_defaults/data/progress_indicator_circular.json +++ b/dev/tools/gen_defaults/data/progress_indicator_circular.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.circular-progress-indicator.active-indicator.color": "primary", "md.comp.circular-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none", diff --git a/dev/tools/gen_defaults/data/progress_indicator_linear.json b/dev/tools/gen_defaults/data/progress_indicator_linear.json index 4a9a0bcf357b..935dc314b4f0 100644 --- a/dev/tools/gen_defaults/data/progress_indicator_linear.json +++ b/dev/tools/gen_defaults/data/progress_indicator_linear.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.linear-progress-indicator.active-indicator.color": "primary", "md.comp.linear-progress-indicator.active-indicator.height": 4.0, diff --git a/dev/tools/gen_defaults/data/radio_button.json b/dev/tools/gen_defaults/data/radio_button.json index fe52020698eb..ab472bb2bced 100644 --- a/dev/tools/gen_defaults/data/radio_button.json +++ b/dev/tools/gen_defaults/data/radio_button.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.radio-button.disabled.selected.icon.color": "onSurface", "md.comp.radio-button.disabled.selected.icon.opacity": 0.38, diff --git a/dev/tools/gen_defaults/data/segmented_button_outlined.json b/dev/tools/gen_defaults/data/segmented_button_outlined.json index d56cfbc9a04a..9ae18897ca40 100644 --- a/dev/tools/gen_defaults/data/segmented_button_outlined.json +++ b/dev/tools/gen_defaults/data/segmented_button_outlined.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.outlined-segmented-button.container.height": 40.0, "md.comp.outlined-segmented-button.disabled.icon.color": "onSurface", diff --git a/dev/tools/gen_defaults/data/shape.json b/dev/tools/gen_defaults/data/shape.json index 8d02706b0a7c..16fc79622837 100644 --- a/dev/tools/gen_defaults/data/shape.json +++ b/dev/tools/gen_defaults/data/shape.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.shape.corner.extra-large": { "family": "SHAPE_FAMILY_ROUNDED_CORNERS", diff --git a/dev/tools/gen_defaults/data/sheet_bottom.json b/dev/tools/gen_defaults/data/sheet_bottom.json index 51c229862573..2592f8c5c51a 100644 --- a/dev/tools/gen_defaults/data/sheet_bottom.json +++ b/dev/tools/gen_defaults/data/sheet_bottom.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.sheet.bottom.docked.container.color": "surface", "md.comp.sheet.bottom.docked.container.shape": "md.sys.shape.corner.extra-large.top", diff --git a/dev/tools/gen_defaults/data/slider.json b/dev/tools/gen_defaults/data/slider.json index ec566ae54d38..4b503cb984b6 100644 --- a/dev/tools/gen_defaults/data/slider.json +++ b/dev/tools/gen_defaults/data/slider.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.slider.active.track.color": "primary", "md.comp.slider.active.track.height": 4.0, diff --git a/dev/tools/gen_defaults/data/snackbar.json b/dev/tools/gen_defaults/data/snackbar.json index ee3b255089be..a23de07c9fbd 100644 --- a/dev/tools/gen_defaults/data/snackbar.json +++ b/dev/tools/gen_defaults/data/snackbar.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.snackbar.action.focus.label-text.color": "inversePrimary", "md.comp.snackbar.action.focus.state-layer.color": "inversePrimary", diff --git a/dev/tools/gen_defaults/data/state.json b/dev/tools/gen_defaults/data/state.json index 297c168732c9..7d5d307d3702 100644 --- a/dev/tools/gen_defaults/data/state.json +++ b/dev/tools/gen_defaults/data/state.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.state.dragged.state-layer-opacity": 0.16, "md.sys.state.focus.state-layer-opacity": 0.12, diff --git a/dev/tools/gen_defaults/data/switch.json b/dev/tools/gen_defaults/data/switch.json index e7bf2dc6cf8d..77e5628ddf6f 100644 --- a/dev/tools/gen_defaults/data/switch.json +++ b/dev/tools/gen_defaults/data/switch.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.switch.disabled.selected.handle.color": "surface", "md.comp.switch.disabled.selected.handle.opacity": 1.0, diff --git a/dev/tools/gen_defaults/data/text_field_filled.json b/dev/tools/gen_defaults/data/text_field_filled.json index e9e99ca9c7d7..7ef457c255bb 100644 --- a/dev/tools/gen_defaults/data/text_field_filled.json +++ b/dev/tools/gen_defaults/data/text_field_filled.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.filled-text-field.active-indicator.color": "onSurfaceVariant", "md.comp.filled-text-field.active-indicator.height": 1.0, @@ -66,7 +66,7 @@ "md.comp.filled-text-field.label-text.color": "onSurfaceVariant", "md.comp.filled-text-field.label-text.text-style": "bodyLarge", "md.comp.filled-text-field.leading-icon.color": "onSurfaceVariant", - "md.comp.filled-text-field.leading-icon.size": 20.0, + "md.comp.filled-text-field.leading-icon.size": 24.0, "md.comp.filled-text-field.supporting-text.color": "onSurfaceVariant", "md.comp.filled-text-field.supporting-text.text-style": "bodySmall", "md.comp.filled-text-field.trailing-icon.color": "onSurfaceVariant", diff --git a/dev/tools/gen_defaults/data/text_field_outlined.json b/dev/tools/gen_defaults/data/text_field_outlined.json index 7395b85979e7..9becee372733 100644 --- a/dev/tools/gen_defaults/data/text_field_outlined.json +++ b/dev/tools/gen_defaults/data/text_field_outlined.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.outlined-text-field.caret.color": "primary", "md.comp.outlined-text-field.container.shape": "md.sys.shape.corner.extra-small", diff --git a/dev/tools/gen_defaults/data/text_style.json b/dev/tools/gen_defaults/data/text_style.json index 6427bee09496..c0e1433b5076 100644 --- a/dev/tools/gen_defaults/data/text_style.json +++ b/dev/tools/gen_defaults/data/text_style.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.sys.typescale.body-large.font": "md.ref.typeface.plain", "md.sys.typescale.body-large.line-height": 24.0, @@ -51,11 +51,13 @@ "md.sys.typescale.label-large.size": 14.0, "md.sys.typescale.label-large.tracking": 0.1, "md.sys.typescale.label-large.weight": "md.ref.typeface.weight-medium", + "md.sys.typescale.label-large.weight.prominent": "md.ref.typeface.weight-bold", "md.sys.typescale.label-medium.font": "md.ref.typeface.plain", "md.sys.typescale.label-medium.line-height": 16.0, "md.sys.typescale.label-medium.size": 12.0, "md.sys.typescale.label-medium.tracking": 0.5, "md.sys.typescale.label-medium.weight": "md.ref.typeface.weight-medium", + "md.sys.typescale.label-medium.weight.prominent": "md.ref.typeface.weight-bold", "md.sys.typescale.label-small.font": "md.ref.typeface.plain", "md.sys.typescale.label-small.line-height": 16.0, "md.sys.typescale.label-small.size": 11.0, diff --git a/dev/tools/gen_defaults/data/time_picker.json b/dev/tools/gen_defaults/data/time_picker.json index 0de2dbd18df9..104c8bfa2cf1 100644 --- a/dev/tools/gen_defaults/data/time_picker.json +++ b/dev/tools/gen_defaults/data/time_picker.json @@ -1,7 +1,7 @@ { - "version": "v0_143", + "version": "v0_150", - "md.comp.time-picker.clock-dial.color": "onSurfaceVariant", + "md.comp.time-picker.clock-dial.color": "surfaceVariant", "md.comp.time-picker.clock-dial.container.size": 256.0, "md.comp.time-picker.clock-dial.label-text.text-style": "bodyLarge", "md.comp.time-picker.clock-dial.selected.label-text.color": "onPrimary", diff --git a/dev/tools/gen_defaults/data/top_app_bar_large.json b/dev/tools/gen_defaults/data/top_app_bar_large.json index fcc841f4ab02..58d3d43ae5a5 100644 --- a/dev/tools/gen_defaults/data/top_app_bar_large.json +++ b/dev/tools/gen_defaults/data/top_app_bar_large.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.top-app-bar.large.container.color": "surface", "md.comp.top-app-bar.large.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/top_app_bar_medium.json b/dev/tools/gen_defaults/data/top_app_bar_medium.json index 4a206b0dfa30..82f48d5c5f2e 100644 --- a/dev/tools/gen_defaults/data/top_app_bar_medium.json +++ b/dev/tools/gen_defaults/data/top_app_bar_medium.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.top-app-bar.medium.container.color": "surface", "md.comp.top-app-bar.medium.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/top_app_bar_small.json b/dev/tools/gen_defaults/data/top_app_bar_small.json index a02af86e0d2e..fff3ef068245 100644 --- a/dev/tools/gen_defaults/data/top_app_bar_small.json +++ b/dev/tools/gen_defaults/data/top_app_bar_small.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.comp.top-app-bar.small.container.color": "surface", "md.comp.top-app-bar.small.container.elevation": "md.sys.elevation.level0", diff --git a/dev/tools/gen_defaults/data/typeface.json b/dev/tools/gen_defaults/data/typeface.json index 825ab3ab5804..5164886a4251 100644 --- a/dev/tools/gen_defaults/data/typeface.json +++ b/dev/tools/gen_defaults/data/typeface.json @@ -1,5 +1,5 @@ { - "version": "v0_143", + "version": "v0_150", "md.ref.typeface.brand": "Roboto", "md.ref.typeface.plain": "Roboto", diff --git a/packages/flutter/lib/src/material/action_chip.dart b/packages/flutter/lib/src/material/action_chip.dart index eaa09fd9f8c4..59766c50ef34 100644 --- a/packages/flutter/lib/src/material/action_chip.dart +++ b/packages/flutter/lib/src/material/action_chip.dart @@ -178,7 +178,7 @@ class ActionChip extends StatelessWidget implements ChipAttributes, TappableChip // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _ActionChipDefaultsM3 extends ChipThemeData { const _ActionChipDefaultsM3(this.context, this.isEnabled) diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index ac25e2222603..a3ba8830e5bb 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -2376,7 +2376,7 @@ class _AppBarDefaultsM2 extends AppBarTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _AppBarDefaultsM3 extends AppBarTheme { _AppBarDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/badge.dart b/packages/flutter/lib/src/material/badge.dart index c720b9d14f4b..d91dc0c96e27 100644 --- a/packages/flutter/lib/src/material/badge.dart +++ b/packages/flutter/lib/src/material/badge.dart @@ -193,7 +193,7 @@ class Badge extends StatelessWidget { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _BadgeDefaultsM3 extends BadgeThemeData { _BadgeDefaultsM3(this.context) : super( diff --git a/packages/flutter/lib/src/material/banner.dart b/packages/flutter/lib/src/material/banner.dart index 245ba2ffbd7e..9a17b4516cb6 100644 --- a/packages/flutter/lib/src/material/banner.dart +++ b/packages/flutter/lib/src/material/banner.dart @@ -453,7 +453,7 @@ class _BannerDefaultsM2 extends MaterialBannerThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _BannerDefaultsM3 extends MaterialBannerThemeData { const _BannerDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/bottom_app_bar.dart b/packages/flutter/lib/src/material/bottom_app_bar.dart index 761c53d97b42..1e1af3dba179 100644 --- a/packages/flutter/lib/src/material/bottom_app_bar.dart +++ b/packages/flutter/lib/src/material/bottom_app_bar.dart @@ -276,7 +276,7 @@ class _BottomAppBarDefaultsM2 extends BottomAppBarTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _BottomAppBarDefaultsM3 extends BottomAppBarTheme { const _BottomAppBarDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/bottom_sheet.dart b/packages/flutter/lib/src/material/bottom_sheet.dart index c0e19679af87..1e56c36f68da 100644 --- a/packages/flutter/lib/src/material/bottom_sheet.dart +++ b/packages/flutter/lib/src/material/bottom_sheet.dart @@ -1146,7 +1146,7 @@ PersistentBottomSheetController showBottomSheet({ // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _BottomSheetDefaultsM3 extends BottomSheetThemeData { const _BottomSheetDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/card.dart b/packages/flutter/lib/src/material/card.dart index d90fd0b94d2a..ab8dc0fcf90d 100644 --- a/packages/flutter/lib/src/material/card.dart +++ b/packages/flutter/lib/src/material/card.dart @@ -214,7 +214,7 @@ class _CardDefaultsM2 extends CardTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _CardDefaultsM3 extends CardTheme { const _CardDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/checkbox.dart b/packages/flutter/lib/src/material/checkbox.dart index f585a3d5f3d6..03872f9f5da0 100644 --- a/packages/flutter/lib/src/material/checkbox.dart +++ b/packages/flutter/lib/src/material/checkbox.dart @@ -764,7 +764,7 @@ class _CheckboxDefaultsM2 extends CheckboxThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _CheckboxDefaultsM3 extends CheckboxThemeData { _CheckboxDefaultsM3(BuildContext context) diff --git a/packages/flutter/lib/src/material/chip.dart b/packages/flutter/lib/src/material/chip.dart index 30a2e97b985c..7ccca1501ae1 100644 --- a/packages/flutter/lib/src/material/chip.dart +++ b/packages/flutter/lib/src/material/chip.dart @@ -2196,7 +2196,7 @@ bool _hitIsOnDeleteIcon({ // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _ChipDefaultsM3 extends ChipThemeData { const _ChipDefaultsM3(this.context, this.isEnabled) diff --git a/packages/flutter/lib/src/material/choice_chip.dart b/packages/flutter/lib/src/material/choice_chip.dart index 4514d7f6ed39..bd6f5ca456e1 100644 --- a/packages/flutter/lib/src/material/choice_chip.dart +++ b/packages/flutter/lib/src/material/choice_chip.dart @@ -191,7 +191,7 @@ class ChoiceChip extends StatelessWidget // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _ChoiceChipDefaultsM3 extends ChipThemeData { const _ChoiceChipDefaultsM3(this.context, this.isEnabled, this.isSelected) @@ -212,7 +212,7 @@ class _ChoiceChipDefaultsM3 extends ChipThemeData { Color? get backgroundColor => null; @override - Color? get shadowColor => Theme.of(context).colorScheme.shadow; + Color? get shadowColor => Colors.transparent; @override Color? get surfaceTintColor => Theme.of(context).colorScheme.surfaceTint; diff --git a/packages/flutter/lib/src/material/dialog.dart b/packages/flutter/lib/src/material/dialog.dart index 95ab97582352..e21330412124 100644 --- a/packages/flutter/lib/src/material/dialog.dart +++ b/packages/flutter/lib/src/material/dialog.dart @@ -1431,7 +1431,7 @@ class _DialogDefaultsM2 extends DialogTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _DialogDefaultsM3 extends DialogTheme { _DialogDefaultsM3(this.context) @@ -1476,7 +1476,7 @@ class _DialogDefaultsM3 extends DialogTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _DialogFullscreenDefaultsM3 extends DialogTheme { const _DialogFullscreenDefaultsM3(this.context); diff --git a/packages/flutter/lib/src/material/divider.dart b/packages/flutter/lib/src/material/divider.dart index 10e25866216b..0894fc8ba415 100644 --- a/packages/flutter/lib/src/material/divider.dart +++ b/packages/flutter/lib/src/material/divider.dart @@ -328,7 +328,7 @@ class _DividerDefaultsM2 extends DividerThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _DividerDefaultsM3 extends DividerThemeData { const _DividerDefaultsM3(this.context) : super( diff --git a/packages/flutter/lib/src/material/drawer.dart b/packages/flutter/lib/src/material/drawer.dart index c1d3ea3b5d5e..622d4893d195 100644 --- a/packages/flutter/lib/src/material/drawer.dart +++ b/packages/flutter/lib/src/material/drawer.dart @@ -827,7 +827,7 @@ class _DrawerDefaultsM2 extends DrawerThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _DrawerDefaultsM3 extends DrawerThemeData { const _DrawerDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/elevated_button.dart b/packages/flutter/lib/src/material/elevated_button.dart index cb98168e2521..94b6dfc51cc7 100644 --- a/packages/flutter/lib/src/material/elevated_button.dart +++ b/packages/flutter/lib/src/material/elevated_button.dart @@ -532,7 +532,7 @@ class _ElevatedButtonWithIconChild extends StatelessWidget { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _ElevatedButtonDefaultsM3 extends ButtonStyle { _ElevatedButtonDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/elevation_overlay.dart b/packages/flutter/lib/src/material/elevation_overlay.dart index 4f0dd43f85d2..cd47c6fe6c16 100644 --- a/packages/flutter/lib/src/material/elevation_overlay.dart +++ b/packages/flutter/lib/src/material/elevation_overlay.dart @@ -160,7 +160,7 @@ class _ElevationOpacity { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 // Surface tint opacities based on elevations according to the // Material Design 3 specification: diff --git a/packages/flutter/lib/src/material/filled_button.dart b/packages/flutter/lib/src/material/filled_button.dart index fa9793a6de29..69efdde9d582 100644 --- a/packages/flutter/lib/src/material/filled_button.dart +++ b/packages/flutter/lib/src/material/filled_button.dart @@ -505,7 +505,7 @@ class _FilledButtonWithIconChild extends StatelessWidget { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _FilledButtonDefaultsM3 extends ButtonStyle { _FilledButtonDefaultsM3(this.context) @@ -629,7 +629,7 @@ class _FilledButtonDefaultsM3 extends ButtonStyle { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _FilledTonalButtonDefaultsM3 extends ButtonStyle { _FilledTonalButtonDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/filter_chip.dart b/packages/flutter/lib/src/material/filter_chip.dart index 43440efdcc3e..25b55d82c29a 100644 --- a/packages/flutter/lib/src/material/filter_chip.dart +++ b/packages/flutter/lib/src/material/filter_chip.dart @@ -199,7 +199,7 @@ class FilterChip extends StatelessWidget // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _FilterChipDefaultsM3 extends ChipThemeData { const _FilterChipDefaultsM3(this.context, this.isEnabled, this.isSelected) @@ -220,7 +220,7 @@ class _FilterChipDefaultsM3 extends ChipThemeData { Color? get backgroundColor => null; @override - Color? get shadowColor => Theme.of(context).colorScheme.shadow; + Color? get shadowColor => Colors.transparent; @override Color? get surfaceTintColor => Theme.of(context).colorScheme.surfaceTint; diff --git a/packages/flutter/lib/src/material/floating_action_button.dart b/packages/flutter/lib/src/material/floating_action_button.dart index 49272c740800..9e70d9185276 100644 --- a/packages/flutter/lib/src/material/floating_action_button.dart +++ b/packages/flutter/lib/src/material/floating_action_button.dart @@ -804,7 +804,7 @@ class _FABDefaultsM2 extends FloatingActionButtonThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _FABDefaultsM3 extends FloatingActionButtonThemeData { _FABDefaultsM3(this.context, this.type, this.hasChild) diff --git a/packages/flutter/lib/src/material/icon_button.dart b/packages/flutter/lib/src/material/icon_button.dart index c0817e3647e9..f19ea701bff5 100644 --- a/packages/flutter/lib/src/material/icon_button.dart +++ b/packages/flutter/lib/src/material/icon_button.dart @@ -962,7 +962,7 @@ class _IconButtonDefaultMouseCursor extends MaterialStateProperty w // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _IconButtonDefaultsM3 extends ButtonStyle { _IconButtonDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/input_chip.dart b/packages/flutter/lib/src/material/input_chip.dart index fd3b6e0d146b..fab4a2bc1035 100644 --- a/packages/flutter/lib/src/material/input_chip.dart +++ b/packages/flutter/lib/src/material/input_chip.dart @@ -249,7 +249,7 @@ class InputChip extends StatelessWidget // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _InputChipDefaultsM3 extends ChipThemeData { const _InputChipDefaultsM3(this.context, this.isEnabled) diff --git a/packages/flutter/lib/src/material/input_decorator.dart b/packages/flutter/lib/src/material/input_decorator.dart index f3fdfd0626d7..325170cf6d8a 100644 --- a/packages/flutter/lib/src/material/input_decorator.dart +++ b/packages/flutter/lib/src/material/input_decorator.dart @@ -4555,7 +4555,7 @@ class _InputDecoratorDefaultsM2 extends InputDecorationTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _InputDecoratorDefaultsM3 extends InputDecorationTheme { _InputDecoratorDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/menu_anchor.dart b/packages/flutter/lib/src/material/menu_anchor.dart index 63035a99af6f..06388ad0e3da 100644 --- a/packages/flutter/lib/src/material/menu_anchor.dart +++ b/packages/flutter/lib/src/material/menu_anchor.dart @@ -3586,7 +3586,7 @@ bool _platformSupportsAccelerators() { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _MenuBarDefaultsM3 extends MenuStyle { _MenuBarDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/navigation_bar.dart b/packages/flutter/lib/src/material/navigation_bar.dart index 103f2ff996df..cf0ff225371d 100644 --- a/packages/flutter/lib/src/material/navigation_bar.dart +++ b/packages/flutter/lib/src/material/navigation_bar.dart @@ -1354,7 +1354,7 @@ class _NavigationBarDefaultsM2 extends NavigationBarThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _NavigationBarDefaultsM3 extends NavigationBarThemeData { _NavigationBarDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/navigation_drawer.dart b/packages/flutter/lib/src/material/navigation_drawer.dart index c160f6aea456..a81ca069d04f 100644 --- a/packages/flutter/lib/src/material/navigation_drawer.dart +++ b/packages/flutter/lib/src/material/navigation_drawer.dart @@ -658,7 +658,7 @@ bool _isForwardOrCompleted(Animation animation) { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _NavigationDrawerDefaultsM3 extends NavigationDrawerThemeData { const _NavigationDrawerDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/navigation_rail.dart b/packages/flutter/lib/src/material/navigation_rail.dart index a7e14275644c..7454d24ccfd3 100644 --- a/packages/flutter/lib/src/material/navigation_rail.dart +++ b/packages/flutter/lib/src/material/navigation_rail.dart @@ -1047,7 +1047,7 @@ class _NavigationRailDefaultsM2 extends NavigationRailThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _NavigationRailDefaultsM3 extends NavigationRailThemeData { _NavigationRailDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/outlined_button.dart b/packages/flutter/lib/src/material/outlined_button.dart index d60caaa75ab6..b692cec23972 100644 --- a/packages/flutter/lib/src/material/outlined_button.dart +++ b/packages/flutter/lib/src/material/outlined_button.dart @@ -453,7 +453,7 @@ class _OutlinedButtonWithIconChild extends StatelessWidget { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _OutlinedButtonDefaultsM3 extends ButtonStyle { _OutlinedButtonDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/popup_menu.dart b/packages/flutter/lib/src/material/popup_menu.dart index f61d8b065ddd..26c3a5efe712 100644 --- a/packages/flutter/lib/src/material/popup_menu.dart +++ b/packages/flutter/lib/src/material/popup_menu.dart @@ -1375,7 +1375,7 @@ class _PopupMenuDefaultsM2 extends PopupMenuThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _PopupMenuDefaultsM3 extends PopupMenuThemeData { _PopupMenuDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/progress_indicator.dart b/packages/flutter/lib/src/material/progress_indicator.dart index 75eba4153484..20c6f5e27745 100644 --- a/packages/flutter/lib/src/material/progress_indicator.dart +++ b/packages/flutter/lib/src/material/progress_indicator.dart @@ -925,7 +925,7 @@ class _LinearProgressIndicatorDefaultsM2 extends ProgressIndicatorThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _CircularProgressIndicatorDefaultsM3 extends ProgressIndicatorThemeData { _CircularProgressIndicatorDefaultsM3(this.context); diff --git a/packages/flutter/lib/src/material/radio.dart b/packages/flutter/lib/src/material/radio.dart index 7be9e9cf9d61..ed88d2a2e02e 100644 --- a/packages/flutter/lib/src/material/radio.dart +++ b/packages/flutter/lib/src/material/radio.dart @@ -537,7 +537,7 @@ class _RadioDefaultsM2 extends RadioThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _RadioDefaultsM3 extends RadioThemeData { _RadioDefaultsM3(this.context); diff --git a/packages/flutter/lib/src/material/segmented_button.dart b/packages/flutter/lib/src/material/segmented_button.dart index 8c2e3fbc61af..050c15f85edf 100644 --- a/packages/flutter/lib/src/material/segmented_button.dart +++ b/packages/flutter/lib/src/material/segmented_button.dart @@ -720,7 +720,7 @@ class _RenderSegmentedButton extends RenderBox with // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _SegmentedButtonDefaultsM3 extends SegmentedButtonThemeData { _SegmentedButtonDefaultsM3(this.context); diff --git a/packages/flutter/lib/src/material/slider.dart b/packages/flutter/lib/src/material/slider.dart index 5cae288f7d68..f95acd994e7d 100644 --- a/packages/flutter/lib/src/material/slider.dart +++ b/packages/flutter/lib/src/material/slider.dart @@ -1888,7 +1888,7 @@ class _SliderDefaultsM2 extends SliderThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _SliderDefaultsM3 extends SliderThemeData { _SliderDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/snack_bar.dart b/packages/flutter/lib/src/material/snack_bar.dart index 79b52bfa6816..f4152f7804a8 100644 --- a/packages/flutter/lib/src/material/snack_bar.dart +++ b/packages/flutter/lib/src/material/snack_bar.dart @@ -828,7 +828,7 @@ class _SnackbarDefaultsM2 extends SnackBarThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _SnackbarDefaultsM3 extends SnackBarThemeData { _SnackbarDefaultsM3(this.context); diff --git a/packages/flutter/lib/src/material/switch.dart b/packages/flutter/lib/src/material/switch.dart index a2047a86cd86..dd5e2561fdfa 100644 --- a/packages/flutter/lib/src/material/switch.dart +++ b/packages/flutter/lib/src/material/switch.dart @@ -1641,7 +1641,7 @@ class _SwitchDefaultsM2 extends SwitchThemeData { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _SwitchDefaultsM3 extends SwitchThemeData { _SwitchDefaultsM3(BuildContext context) diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index 21f6f9234e05..08b38723a20f 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -1912,7 +1912,7 @@ class _TabsDefaultsM2 extends TabBarTheme { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _TabsDefaultsM3 extends TabBarTheme { _TabsDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/text_button.dart b/packages/flutter/lib/src/material/text_button.dart index 03e07176eb0a..a337ac6d47a1 100644 --- a/packages/flutter/lib/src/material/text_button.dart +++ b/packages/flutter/lib/src/material/text_button.dart @@ -530,7 +530,7 @@ class _TextButtonWithIconChild extends StatelessWidget { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _TextButtonDefaultsM3 extends ButtonStyle { _TextButtonDefaultsM3(this.context) diff --git a/packages/flutter/lib/src/material/text_field.dart b/packages/flutter/lib/src/material/text_field.dart index c2627bd6a8a0..d4f0eaf1ca0a 100644 --- a/packages/flutter/lib/src/material/text_field.dart +++ b/packages/flutter/lib/src/material/text_field.dart @@ -1455,7 +1455,7 @@ TextStyle _m2CounterErrorStyle(BuildContext context) => // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 TextStyle _m3InputStyle(BuildContext context) => Theme.of(context).textTheme.bodyLarge!; diff --git a/packages/flutter/lib/src/material/theme_data.dart b/packages/flutter/lib/src/material/theme_data.dart index 08dd5a237d41..fca0a4fffb18 100644 --- a/packages/flutter/lib/src/material/theme_data.dart +++ b/packages/flutter/lib/src/material/theme_data.dart @@ -3043,7 +3043,7 @@ class VisualDensity with Diagnosticable { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 const ColorScheme _colorSchemeLightM3 = ColorScheme( brightness: Brightness.light, diff --git a/packages/flutter/lib/src/material/time_picker.dart b/packages/flutter/lib/src/material/time_picker.dart index a041beaab6ce..61cb7f4e17bb 100644 --- a/packages/flutter/lib/src/material/time_picker.dart +++ b/packages/flutter/lib/src/material/time_picker.dart @@ -3392,9 +3392,9 @@ class _TimePickerDefaultsM2 extends _TimePickerDefaults { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 -// Generated version v0_143 +// Generated version v0_150 class _TimePickerDefaultsM3 extends _TimePickerDefaults { _TimePickerDefaultsM3(this.context); @@ -3509,7 +3509,7 @@ class _TimePickerDefaultsM3 extends _TimePickerDefaults { @override Color get dialBackgroundColor { - return _colors.onSurfaceVariant.withOpacity(_colors.brightness == Brightness.dark ? 0.12 : 0.08); + return _colors.surfaceVariant.withOpacity(_colors.brightness == Brightness.dark ? 0.12 : 0.08); } @override diff --git a/packages/flutter/lib/src/material/typography.dart b/packages/flutter/lib/src/material/typography.dart index 3d573451e6e9..a03c31f3b2de 100644 --- a/packages/flutter/lib/src/material/typography.dart +++ b/packages/flutter/lib/src/material/typography.dart @@ -759,7 +759,7 @@ class Typography with Diagnosticable { // Design token database by the script: // dev/tools/gen_defaults/bin/gen_defaults.dart. -// Token database version: v0_143 +// Token database version: v0_150 class _M3Typography { _M3Typography._();