mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
We are changing the names of these files to reduce similarity with CSS modules and avoid clashing with tooling built around that. If you're importing `*/internal/styles.css.js`, swap to `*/internal/styles.js`. PiperOrigin-RevId: 611265000
37 lines
889 B
TypeScript
37 lines
889 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {CSSResultOrNative} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {InputChip} from './internal/input-chip.js';
|
|
import {styles} from './internal/input-styles.js';
|
|
import {styles as selectableStyles} from './internal/selectable-styles.js';
|
|
import {styles as sharedStyles} from './internal/shared-styles.js';
|
|
import {styles as trailingIconStyles} from './internal/trailing-icon-styles.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-input-chip': MdInputChip;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* TODO(b/243982145): add docs
|
|
*
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-input-chip')
|
|
export class MdInputChip extends InputChip {
|
|
static override styles: CSSResultOrNative[] = [
|
|
sharedStyles,
|
|
trailingIconStyles,
|
|
selectableStyles,
|
|
styles,
|
|
];
|
|
}
|