From 243e231a1370c06d6ecd34b81be5f7c091cee6a7 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Mon, 17 Jul 2023 20:27:33 -0700 Subject: [PATCH] feat(all): expose `focus-ring` parts PiperOrigin-RevId: 548873009 --- button/lib/button.ts | 2 +- checkbox/lib/checkbox.ts | 2 +- chips/lib/chip.ts | 2 +- chips/lib/trailing-icons.ts | 2 +- fab/lib/shared.ts | 2 +- iconbutton/lib/icon-button.ts | 2 +- labs/navigationtab/lib/navigation-tab.ts | 2 +- labs/segmentedbutton/lib/segmented-button.ts | 2 +- list/lib/listitem/list-item.ts | 2 +- menu/lib/menu.ts | 2 +- radio/lib/radio.ts | 4 ++-- select/lib/select.ts | 1 + slider/lib/slider.ts | 2 +- switch/lib/switch.ts | 2 +- tabs/lib/tab.ts | 2 +- 15 files changed, 16 insertions(+), 15 deletions(-) diff --git a/button/lib/button.ts b/button/lib/button.ts index fbdfbd3203..29574d125c 100644 --- a/button/lib/button.ts +++ b/button/lib/button.ts @@ -159,7 +159,7 @@ export abstract class Button extends LitElement { } private renderFocusRing() { - return html``; + return html``; } private renderLabel() { diff --git a/checkbox/lib/checkbox.ts b/checkbox/lib/checkbox.ts index 265984e6ac..047d2e9b04 100644 --- a/checkbox/lib/checkbox.ts +++ b/checkbox/lib/checkbox.ts @@ -143,7 +143,7 @@ export class Checkbox extends LitElement {
- + diff --git a/chips/lib/chip.ts b/chips/lib/chip.ts index bd36427642..ea228ad345 100644 --- a/chips/lib/chip.ts +++ b/chips/lib/chip.ts @@ -54,7 +54,7 @@ export abstract class Chip extends LitElement {
${this.renderOutline()} - + ${this.renderActions()} diff --git a/chips/lib/trailing-icons.ts b/chips/lib/trailing-icons.ts index d94028a67a..a159d971d0 100644 --- a/chips/lib/trailing-icons.ts +++ b/chips/lib/trailing-icons.ts @@ -27,7 +27,7 @@ export function renderRemoveButton( tabindex=${!tabbable ? -1 : nothing} @click=${handleRemoveClick} > - + diff --git a/fab/lib/shared.ts b/fab/lib/shared.ts index 02345894e7..e196fac822 100644 --- a/fab/lib/shared.ts +++ b/fab/lib/shared.ts @@ -74,7 +74,7 @@ export abstract class SharedFab extends LitElement { aria-label=${ariaLabel || nothing} > - + ${this.renderTouchTarget()} ${this.renderIcon()} diff --git a/iconbutton/lib/icon-button.ts b/iconbutton/lib/icon-button.ts index f41298f20a..1a62291f92 100644 --- a/iconbutton/lib/icon-button.ts +++ b/iconbutton/lib/icon-button.ts @@ -139,7 +139,7 @@ export class IconButton extends LitElement { } private renderFocusRing() { - return html``; } diff --git a/labs/navigationtab/lib/navigation-tab.ts b/labs/navigationtab/lib/navigation-tab.ts index c3c250757c..35ee319ce3 100644 --- a/labs/navigationtab/lib/navigation-tab.ts +++ b/labs/navigationtab/lib/navigation-tab.ts @@ -47,7 +47,7 @@ export class NavigationTab extends LitElement implements NavigationTabState { tabindex="${this.active ? 0 : -1}" @click="${this.handleClick}" > - +