mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
BREAKING CHANGE: Rename `@material/web/field/lib` to `@material/web/field/internal`. Prefer not using internal files. PiperOrigin-RevId: 550049784
28 lines
675 B
TypeScript
28 lines
675 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {OutlinedField} from './internal/outlined-field.js';
|
|
import {styles as outlinedStyles} from './internal/outlined-styles.css.js';
|
|
import {styles as sharedStyles} from './internal/shared-styles.css.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-outlined-field': MdOutlinedField;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* TODO(b/228525797): add docs
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-outlined-field')
|
|
export class MdOutlinedField extends OutlinedField {
|
|
static override styles = [sharedStyles, outlinedStyles];
|
|
}
|