mirror of
https://github.com/material-components/material-web.git
synced 2024-10-26 21:56:56 +03:00
d49f9b89e4
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];
|
|
}
|