From 3a2c6ea814636c961a5bf68547071c4700673fb0 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Tue, 29 Apr 2025 22:16:18 +0200 Subject: [PATCH] build: fix patch CI #30978 was cherry-picked into the patch branch, but it's using APIs that aren't available in v19. These changes resolve the build failure. --- src/material/table/_table-flex-styles.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/material/table/_table-flex-styles.scss b/src/material/table/_table-flex-styles.scss index 164a402e6a77..04ee12b07adb 100644 --- a/src/material/table/_table-flex-styles.scss +++ b/src/material/table/_table-flex-styles.scss @@ -1,5 +1,5 @@ @use '../core/tokens/token-utils'; -@use './m2-table'; +@use '../core/tokens/m2/mat/table' as tokens-mat-table; // Flex-based table structure $header-row-height: 56px; @@ -12,17 +12,18 @@ $row-horizontal-padding: 24px; display: block; } - @include token-utils.use-tokens(m2-table.$prefix, m2-table.get-token-slots()) { + @include token-utils.use-tokens(tokens-mat-table.$prefix, tokens-mat-table.get-token-slots()) { mat-header-row { - min-height: token-utils.slot(header-container-height, $header-row-height); + @include token-utils.create-token-slot(min-height, header-container-height, + $header-row-height); } mat-row { - min-height: token-utils.slot(row-item-container-height, $row-height); + @include token-utils.create-token-slot(min-height, row-item-container-height, $row-height); } mat-footer-row { - min-height: token-utils.slot(footer-container-height, $row-height); + @include token-utils.create-token-slot(min-height, footer-container-height, $row-height); } }