mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
BREAKING CHANGE: Change `@material/web/focus/focus-ring.js` to `@material/web/focus/md-focus-ring.js`. PiperOrigin-RevId: 550608428
28 lines
540 B
TypeScript
28 lines
540 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {FocusRing} from './internal/focus-ring.js';
|
|
import {styles} from './internal/focus-ring-styles.css.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-focus-ring': MdFocusRing;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* TODO(b/267336424): add docs
|
|
*
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-focus-ring')
|
|
export class MdFocusRing extends FocusRing {
|
|
static override styles = [styles];
|
|
}
|