From 2b1d68ad382079d5b6ec09e95a059f0ef64ab1ef Mon Sep 17 00:00:00 2001 From: Elliott Marquez Date: Mon, 4 Mar 2024 20:49:10 -0800 Subject: [PATCH] fix(elevation): expose md-elevation `::part` in all components PiperOrigin-RevId: 612686865 --- button/internal/elevated-button.ts | 2 +- button/internal/filled-button.ts | 2 +- button/internal/filled-tonal-button.ts | 2 +- chips/internal/assist-chip.ts | 2 +- chips/internal/filter-chip.ts | 2 +- fab/internal/shared.ts | 2 +- labs/navigationbar/internal/navigation-bar.ts | 2 +- labs/navigationdrawer/internal/navigation-drawer.ts | 2 +- slider/internal/slider.ts | 4 +++- tabs/internal/tab.ts | 2 +- 10 files changed, 12 insertions(+), 10 deletions(-) diff --git a/button/internal/elevated-button.ts b/button/internal/elevated-button.ts index 72828a5649..95dad71c19 100644 --- a/button/internal/elevated-button.ts +++ b/button/internal/elevated-button.ts @@ -15,6 +15,6 @@ import {Button} from './button.js'; */ export class ElevatedButton extends Button { protected override renderElevationOrOutline() { - return html``; + return html``; } } diff --git a/button/internal/filled-button.ts b/button/internal/filled-button.ts index a9052a5236..d6e9f748a5 100644 --- a/button/internal/filled-button.ts +++ b/button/internal/filled-button.ts @@ -15,6 +15,6 @@ import {Button} from './button.js'; */ export class FilledButton extends Button { protected override renderElevationOrOutline() { - return html``; + return html``; } } diff --git a/button/internal/filled-tonal-button.ts b/button/internal/filled-tonal-button.ts index 295cc2996b..f6da749326 100644 --- a/button/internal/filled-tonal-button.ts +++ b/button/internal/filled-tonal-button.ts @@ -15,6 +15,6 @@ import {Button} from './button.js'; */ export class FilledTonalButton extends Button { protected override renderElevationOrOutline() { - return html``; + return html``; } } diff --git a/chips/internal/assist-chip.ts b/chips/internal/assist-chip.ts index d342ddb2af..d6dcf7ed8f 100644 --- a/chips/internal/assist-chip.ts +++ b/chips/internal/assist-chip.ts @@ -69,7 +69,7 @@ export class AssistChip extends Chip { protected override renderOutline() { if (this.elevated) { - return html``; + return html``; } return super.renderOutline(); diff --git a/chips/internal/filter-chip.ts b/chips/internal/filter-chip.ts index c361b4373b..bd0f07922d 100644 --- a/chips/internal/filter-chip.ts +++ b/chips/internal/filter-chip.ts @@ -97,7 +97,7 @@ export class FilterChip extends MultiActionChip { protected override renderOutline() { if (this.elevated) { - return html``; + return html``; } return super.renderOutline(); diff --git a/fab/internal/shared.ts b/fab/internal/shared.ts index dc15a4b022..c235c5a7ac 100644 --- a/fab/internal/shared.ts +++ b/fab/internal/shared.ts @@ -57,7 +57,7 @@ export abstract class SharedFab extends LitElement {