Update token v0.127 to v0.132 (#111913)
This commit is contained in:
parent
533229585d
commit
2ba20e5ab6
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.banner.action.focus.label-text.color": "primary",
|
||||
"md.comp.banner.action.focus.state-layer.color": "primary",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.bottom-app-bar.container.color": "surface",
|
||||
"md.comp.bottom-app-bar.container.elevation": "md.sys.elevation.level2",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.elevated-button.container.color": "surface",
|
||||
"md.comp.elevated-button.container.elevation": "md.sys.elevation.level1",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-button.container.color": "primary",
|
||||
"md.comp.filled-button.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-tonal-button.container.color": "secondaryContainer",
|
||||
"md.comp.filled-tonal-button.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.outlined-button.container.height": 40.0,
|
||||
"md.comp.outlined-button.container.shape": "md.sys.shape.corner.full",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.text-button.container.height": 40.0,
|
||||
"md.comp.text-button.container.shape": "md.sys.shape.corner.full",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.elevated-card.container.color": "surface",
|
||||
"md.comp.elevated-card.container.elevation": "md.sys.elevation.level1",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-card.container.color": "surfaceVariant",
|
||||
"md.comp.filled-card.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.outlined-card.container.color": "surface",
|
||||
"md.comp.outlined-card.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.checkbox.container.height": 18.0,
|
||||
"md.comp.checkbox.container.width": 18.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.assist-chip.container.height": 32.0,
|
||||
"md.comp.assist-chip.container.shape": "md.sys.shape.corner.small",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filter-chip.container.height": 32.0,
|
||||
"md.comp.filter-chip.container.shadow-color": "shadow",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.input-chip.container.elevation": "md.sys.elevation.level0",
|
||||
"md.comp.input-chip.container.height": 32.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.suggestion-chip.container.height": 32.0,
|
||||
"md.comp.suggestion-chip.container.shape": "md.sys.shape.corner.small",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.color.background": "md.ref.palette.neutral10",
|
||||
"md.sys.color.error": "md.ref.palette.error80",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.color.background": "md.ref.palette.neutral99",
|
||||
"md.sys.color.error": "md.ref.palette.error40",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.date-picker.docked.container.color": "surface",
|
||||
"md.comp.date-picker.docked.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.date-picker.modal.container.color": "surface",
|
||||
"md.comp.date-picker.modal.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.dialog.action.focus.label-text.color": "primary",
|
||||
"md.comp.dialog.action.focus.state-layer.color": "primary",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.full-screen-dialog.container.color": "surface",
|
||||
"md.comp.full-screen-dialog.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.elevation.level0": 0.0,
|
||||
"md.sys.elevation.level1": 1.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.extended-fab.primary.container.color": "primaryContainer",
|
||||
"md.comp.extended-fab.primary.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.fab.primary.large.container.color": "primaryContainer",
|
||||
"md.comp.fab.primary.large.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.fab.primary.container.color": "primaryContainer",
|
||||
"md.comp.fab.primary.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.fab.primary.small.container.color": "primaryContainer",
|
||||
"md.comp.fab.primary.small.container.elevation": "md.sys.elevation.level3",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.icon-button.disabled.icon.color": "onSurface",
|
||||
"md.comp.icon-button.disabled.icon.opacity": 0.38,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-icon-button.container.color": "primary",
|
||||
"md.comp.filled-icon-button.container.shape": "md.sys.shape.corner.full",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-tonal-icon-button.container.color": "secondaryContainer",
|
||||
"md.comp.filled-tonal-icon-button.container.shape": "md.sys.shape.corner.full",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.outlined-icon-button.container.shape": "md.sys.shape.corner.full",
|
||||
"md.comp.outlined-icon-button.container.size": 40.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.menu.cascading-menu-indicator.icon.color": "onSurfaceVariant",
|
||||
"md.comp.menu.cascading-menu-indicator.icon.size": 24.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.motion.duration.extra-long1Ms": 700.0,
|
||||
"md.sys.motion.duration.extra-long2Ms": 800.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.navigation-bar.active.focus.icon.color": "onSecondaryContainer",
|
||||
"md.comp.navigation-bar.active.focus.label-text.color": "onSurface",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.navigation-drawer.active.focus.icon.color": "onSecondaryContainer",
|
||||
"md.comp.navigation-drawer.active.focus.label-text.color": "onSecondaryContainer",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.navigation-rail.active.focus.icon.color": "onSecondaryContainer",
|
||||
"md.comp.navigation-rail.active.focus.label-text.color": "onSurface",
|
||||
|
43
dev/tools/gen_defaults/data/navigation_tab_primary.json
Normal file
43
dev/tools/gen_defaults/data/navigation_tab_primary.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"version": "v0_132",
|
||||
|
||||
"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",
|
||||
"md.comp.primary-navigation-tab.active.hover.state-layer.color": "primary",
|
||||
"md.comp.primary-navigation-tab.active.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
|
||||
"md.comp.primary-navigation-tab.active-indicator.color": "primary",
|
||||
"md.comp.primary-navigation-tab.active-indicator.height": 3.0,
|
||||
"md.comp.primary-navigation-tab.active.pressed.state-layer.color": "primary",
|
||||
"md.comp.primary-navigation-tab.active.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
|
||||
"md.comp.primary-navigation-tab.container.color": "surface",
|
||||
"md.comp.primary-navigation-tab.container.elevation": "md.sys.elevation.level0",
|
||||
"md.comp.primary-navigation-tab.container.height": 48.0,
|
||||
"md.comp.primary-navigation-tab.container.shape": "md.sys.shape.corner.none",
|
||||
"md.comp.primary-navigation-tab.divider.color": "surfaceVariant",
|
||||
"md.comp.primary-navigation-tab.divider.height": 1.0,
|
||||
"md.comp.primary-navigation-tab.inactive.focus.state-layer.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.inactive.focus.state-layer.opacity": "md.sys.state.focus.state-layer-opacity",
|
||||
"md.comp.primary-navigation-tab.inactive.hover.state-layer.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.inactive.hover.state-layer.opacity": "md.sys.state.hover.state-layer-opacity",
|
||||
"md.comp.primary-navigation-tab.inactive.pressed.state-layer.color": "primary",
|
||||
"md.comp.primary-navigation-tab.inactive.pressed.state-layer.opacity": "md.sys.state.pressed.state-layer-opacity",
|
||||
"md.comp.primary-navigation-tab.with-icon.active.focus.icon.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-icon.active.hover.icon.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-icon.active.icon.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-icon.active.pressed.icon.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-icon-and-label-text.container.height": 64.0,
|
||||
"md.comp.primary-navigation-tab.with-icon.icon.size": 24.0,
|
||||
"md.comp.primary-navigation-tab.with-icon.inactive.focus.icon.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-icon.inactive.hover.icon.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-icon.inactive.icon.color": "onSurfaceVariant",
|
||||
"md.comp.primary-navigation-tab.with-icon.inactive.pressed.icon.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-label-text.active.focus.label-text.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-label-text.active.hover.label-text.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-label-text.active.label-text.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-label-text.active.pressed.label-text.color": "primary",
|
||||
"md.comp.primary-navigation-tab.with-label-text.inactive.focus.label-text.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-label-text.inactive.hover.label-text.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-label-text.inactive.label-text.color": "onSurfaceVariant",
|
||||
"md.comp.primary-navigation-tab.with-label-text.inactive.pressed.label-text.color": "onSurface",
|
||||
"md.comp.primary-navigation-tab.with-label-text.label-text.text-style": "titleSmall"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.ref.palette.black": "0xFF000000",
|
||||
"md.ref.palette.error0": "0xFF000000",
|
||||
|
12
dev/tools/gen_defaults/data/progress_indicator_circular.json
Normal file
12
dev/tools/gen_defaults/data/progress_indicator_circular.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.circular-progress-indicator.active-indicator.color": "primary",
|
||||
"md.comp.circular-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none",
|
||||
"md.comp.circular-progress-indicator.active-indicator.width": 4.0,
|
||||
"md.comp.circular-progress-indicator.four-color.active-indicator.four.color": "tertiaryContainer",
|
||||
"md.comp.circular-progress-indicator.four-color.active-indicator.one.color": "primary",
|
||||
"md.comp.circular-progress-indicator.four-color.active-indicator.three.color": "tertiary",
|
||||
"md.comp.circular-progress-indicator.four-color.active-indicator.two.color": "primaryContainer",
|
||||
"md.comp.circular-progress-indicator.size": 48.0
|
||||
}
|
14
dev/tools/gen_defaults/data/progress_indicator_linear.json
Normal file
14
dev/tools/gen_defaults/data/progress_indicator_linear.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.linear-progress-indicator.active-indicator.color": "primary",
|
||||
"md.comp.linear-progress-indicator.active-indicator.height": 4.0,
|
||||
"md.comp.linear-progress-indicator.active-indicator.shape": "md.sys.shape.corner.none",
|
||||
"md.comp.linear-progress-indicator.four-color.active-indicator.four.color": "tertiaryContainer",
|
||||
"md.comp.linear-progress-indicator.four-color.active-indicator.one.color": "primary",
|
||||
"md.comp.linear-progress-indicator.four-color.active-indicator.three.color": "tertiary",
|
||||
"md.comp.linear-progress-indicator.four-color.active-indicator.two.color": "primaryContainer",
|
||||
"md.comp.linear-progress-indicator.track.color": "surfaceVariant",
|
||||
"md.comp.linear-progress-indicator.track.height": 4.0,
|
||||
"md.comp.linear-progress-indicator.track.shape": "md.sys.shape.corner.none"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.radio-button.disabled.selected.icon.color": "onSurface",
|
||||
"md.comp.radio-button.disabled.selected.icon.opacity": 0.38,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.outlined-segmented-button.container.height": 40.0,
|
||||
"md.comp.outlined-segmented-button.disabled.icon.color": "onSurface",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.shape.corner.extra-large": {
|
||||
"family": "SHAPE_FAMILY_ROUNDED_CORNERS",
|
||||
|
14
dev/tools/gen_defaults/data/sheet_bottom.json
Normal file
14
dev/tools/gen_defaults/data/sheet_bottom.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.sheet.bottom.docked.container.color": "surface",
|
||||
"md.comp.sheet.bottom.docked.container.shape": "md.sys.shape.corner.extra-large.top",
|
||||
"md.comp.sheet.bottom.docked.container.surface-tint-layer.color": "surfaceTint",
|
||||
"md.comp.sheet.bottom.docked.drag-handle.color": "onSurfaceVariant",
|
||||
"md.comp.sheet.bottom.docked.drag-handle.height": 4.0,
|
||||
"md.comp.sheet.bottom.docked.drag-handle.opacity": 0.4,
|
||||
"md.comp.sheet.bottom.docked.drag-handle.width": 32.0,
|
||||
"md.comp.sheet.bottom.docked.minimized.container.shape": "md.sys.shape.corner.none",
|
||||
"md.comp.sheet.bottom.docked.modal.container.elevation": "md.sys.elevation.level1",
|
||||
"md.comp.sheet.bottom.docked.standard.container.elevation": "md.sys.elevation.level1"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.slider.active.track.color": "primary",
|
||||
"md.comp.slider.active.track.height": 4.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.state.dragged.state-layer-opacity": 0.16,
|
||||
"md.sys.state.focus.state-layer-opacity": 0.12,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.switch.disabled.selected.handle.color": "surface",
|
||||
"md.comp.switch.disabled.selected.handle.opacity": 1.0,
|
||||
|
@ -1,11 +1,10 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.filled-text-field.active-indicator.color": "onSurfaceVariant",
|
||||
"md.comp.filled-text-field.active-indicator.height": 1.0,
|
||||
"md.comp.filled-text-field.caret.color": "primary",
|
||||
"md.comp.filled-text-field.container.color": "surfaceVariant",
|
||||
"md.comp.filled-text-field.container.height": 56.0,
|
||||
"md.comp.filled-text-field.container.shape": "md.sys.shape.corner.extra-small.top",
|
||||
"md.comp.filled-text-field.disabled.active-indicator.color": "onSurface",
|
||||
"md.comp.filled-text-field.disabled.active-indicator.height": 1.0,
|
||||
|
@ -1,8 +1,7 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.outlined-text-field.caret.color": "primary",
|
||||
"md.comp.outlined-text-field.container.height": 56.0,
|
||||
"md.comp.outlined-text-field.container.shape": "md.sys.shape.corner.extra-small",
|
||||
"md.comp.outlined-text-field.disabled.input-text.color": "onSurface",
|
||||
"md.comp.outlined-text-field.disabled.input-text.opacity": 0.38,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.sys.typescale.body-large.font": "md.ref.typeface.plain",
|
||||
"md.sys.typescale.body-large.line-height": 24.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.time-picker.clock-dial.color.ignore": "onSurfaceVariant",
|
||||
"md.comp.time-picker.clock-dial.container.size": 256.0,
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.top-app-bar.large.container.color": "surface",
|
||||
"md.comp.top-app-bar.large.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.top-app-bar.medium.container.color": "surface",
|
||||
"md.comp.top-app-bar.medium.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.comp.top-app-bar.small.container.color": "surface",
|
||||
"md.comp.top-app-bar.small.container.elevation": "md.sys.elevation.level0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "v0_127",
|
||||
"version": "v0_132",
|
||||
|
||||
"md.ref.typeface.brand": "Roboto",
|
||||
"md.ref.typeface.plain": "Roboto",
|
||||
|
@ -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_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _ActionChipDefaultsM3 extends ChipThemeData {
|
||||
const _ActionChipDefaultsM3(this.context, this.isEnabled)
|
||||
|
@ -2349,7 +2349,7 @@ class _AppBarDefaultsM2 extends AppBarTheme {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _AppBarDefaultsM3 extends AppBarTheme {
|
||||
_AppBarDefaultsM3(this.context)
|
||||
|
@ -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_101
|
||||
// Token database version: v0_132
|
||||
|
||||
class _BannerDefaultsM3 extends MaterialBannerThemeData {
|
||||
const _BannerDefaultsM3(this.context)
|
||||
|
@ -214,9 +214,9 @@ class _CardDefaultsM2 extends CardTheme {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
// Generated version v0_127
|
||||
// Generated version v0_132
|
||||
class _CardDefaultsM3 extends CardTheme {
|
||||
const _CardDefaultsM3(this.context)
|
||||
: super(
|
||||
|
@ -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_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _CheckboxDefaultsM3 extends CheckboxThemeData {
|
||||
_CheckboxDefaultsM3(BuildContext context)
|
||||
|
@ -2196,7 +2196,7 @@ bool _hitIsOnDeleteIcon({
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _ChipDefaultsM3 extends ChipThemeData {
|
||||
const _ChipDefaultsM3(this.context, this.isEnabled)
|
||||
|
@ -148,7 +148,7 @@ class ChoiceChip extends StatelessWidget
|
||||
assert(debugCheckHasMaterial(context));
|
||||
final ChipThemeData chipTheme = ChipTheme.of(context);
|
||||
final ChipThemeData? defaults = Theme.of(context).useMaterial3
|
||||
? _FilterChipDefaultsM3(context, isEnabled, selected)
|
||||
? _ChoiceChipDefaultsM3(context, isEnabled, selected)
|
||||
: null;
|
||||
return RawChip(
|
||||
defaultProperties: defaults,
|
||||
@ -182,17 +182,17 @@ class ChoiceChip extends StatelessWidget
|
||||
}
|
||||
}
|
||||
|
||||
// BEGIN GENERATED TOKEN PROPERTIES - FilterChip
|
||||
// BEGIN GENERATED TOKEN PROPERTIES - ChoiceChip
|
||||
|
||||
// Do not edit by hand. The code between the "BEGIN GENERATED" and
|
||||
// "END GENERATED" comments are generated from data in the Material
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _FilterChipDefaultsM3 extends ChipThemeData {
|
||||
const _FilterChipDefaultsM3(this.context, this.isEnabled, this.isSelected)
|
||||
class _ChoiceChipDefaultsM3 extends ChipThemeData {
|
||||
const _ChoiceChipDefaultsM3(this.context, this.isEnabled, this.isSelected)
|
||||
: super(
|
||||
elevation: 0.0,
|
||||
shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8.0))),
|
||||
@ -261,4 +261,4 @@ class _FilterChipDefaultsM3 extends ChipThemeData {
|
||||
)!;
|
||||
}
|
||||
|
||||
// END GENERATED TOKEN PROPERTIES - FilterChip
|
||||
// END GENERATED TOKEN PROPERTIES - ChoiceChip
|
||||
|
@ -1389,7 +1389,7 @@ class _DialogDefaultsM2 extends DialogTheme {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _DialogDefaultsM3 extends DialogTheme {
|
||||
_DialogDefaultsM3(this.context)
|
||||
|
@ -530,7 +530,7 @@ class _ElevatedButtonWithIconChild extends StatelessWidget {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _ElevatedButtonDefaultsM3 extends ButtonStyle {
|
||||
_ElevatedButtonDefaultsM3(this.context)
|
||||
|
@ -160,7 +160,7 @@ class _ElevationOpacity {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
// Surface tint opacities based on elevations according to the
|
||||
// Material Design 3 specification:
|
||||
|
@ -500,7 +500,7 @@ class _FilledButtonWithIconChild extends StatelessWidget {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _FilledButtonDefaultsM3 extends ButtonStyle {
|
||||
_FilledButtonDefaultsM3(this.context)
|
||||
@ -624,7 +624,7 @@ class _FilledButtonDefaultsM3 extends ButtonStyle {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _FilledTonalButtonDefaultsM3 extends ButtonStyle {
|
||||
_FilledTonalButtonDefaultsM3(this.context)
|
||||
|
@ -198,7 +198,7 @@ class FilterChip extends StatelessWidget
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _FilterChipDefaultsM3 extends ChipThemeData {
|
||||
const _FilterChipDefaultsM3(this.context, this.isEnabled, this.isSelected)
|
||||
|
@ -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_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _FABDefaultsM3 extends FloatingActionButtonThemeData {
|
||||
_FABDefaultsM3(this.context, this.type, this.hasChild)
|
||||
|
@ -962,7 +962,7 @@ class _IconButtonDefaultMouseCursor extends MaterialStateProperty<MouseCursor> w
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _IconButtonDefaultsM3 extends ButtonStyle {
|
||||
_IconButtonDefaultsM3(this.context)
|
||||
|
@ -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_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _InputChipDefaultsM3 extends ChipThemeData {
|
||||
const _InputChipDefaultsM3(this.context, this.isEnabled)
|
||||
|
@ -4444,9 +4444,9 @@ class _InputDecoratorDefaultsM2 extends InputDecorationTheme {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
// Generated version v0_127
|
||||
// Generated version v0_132
|
||||
class _InputDecoratorDefaultsM3 extends InputDecorationTheme {
|
||||
_InputDecoratorDefaultsM3(this.context)
|
||||
: super();
|
||||
|
@ -1257,7 +1257,7 @@ class _NavigationBarDefaultsM2 extends NavigationBarThemeData {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _NavigationBarDefaultsM3 extends NavigationBarThemeData {
|
||||
_NavigationBarDefaultsM3(this.context)
|
||||
|
@ -967,7 +967,7 @@ class _NavigationRailDefaultsM2 extends NavigationRailThemeData {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _NavigationRailDefaultsM3 extends NavigationRailThemeData {
|
||||
_NavigationRailDefaultsM3(this.context)
|
||||
|
@ -451,7 +451,7 @@ class _OutlinedButtonWithIconChild extends StatelessWidget {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _OutlinedButtonDefaultsM3 extends ButtonStyle {
|
||||
_OutlinedButtonDefaultsM3(this.context)
|
||||
|
@ -1465,7 +1465,7 @@ class _SwitchDefaultsM2 extends SwitchThemeData {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _SwitchDefaultsM3 extends SwitchThemeData {
|
||||
_SwitchDefaultsM3(BuildContext context)
|
||||
|
@ -495,7 +495,7 @@ class _TextButtonWithIconChild extends StatelessWidget {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _TextButtonDefaultsM3 extends ButtonStyle {
|
||||
_TextButtonDefaultsM3(this.context)
|
||||
|
@ -1478,9 +1478,9 @@ TextStyle _m2CounterErrorStyle(BuildContext context) =>
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
// Generated version v0_127
|
||||
// Generated version v0_132
|
||||
|
||||
TextStyle _m3InputStyle(BuildContext context) => Theme.of(context).textTheme.bodyLarge!;
|
||||
|
||||
|
@ -739,7 +739,7 @@ class Typography with Diagnosticable {
|
||||
// Design token database by the script:
|
||||
// dev/tools/gen_defaults/bin/gen_defaults.dart.
|
||||
|
||||
// Token database version: v0_127
|
||||
// Token database version: v0_132
|
||||
|
||||
class _M3Typography {
|
||||
_M3Typography._();
|
||||
|
Loading…
x
Reference in New Issue
Block a user