mirror of
https://github.com/material-components/material-web.git
synced 2024-10-26 21:56:56 +03:00
c35bad0c64
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
29 lines
580 B
TypeScript
29 lines
580 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2023 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {CSSResultOrNative} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {ChipSet} from './internal/chip-set.js';
|
|
import {styles} from './internal/chip-set-styles.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-chip-set': MdChipSet;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* TODO(b/243982145): add docs
|
|
*
|
|
* @final
|
|
* @suppress {visibility}
|
|
*/
|
|
@customElement('md-chip-set')
|
|
export class MdChipSet extends ChipSet {
|
|
static override styles: CSSResultOrNative[] = [styles];
|
|
}
|