mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal). PiperOrigin-RevId: 469772992
28 lines
602 B
TypeScript
28 lines
602 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
import {TestTable} from './lib/test-table.js';
|
|
import {styles as testTableStyles} from './lib/test-table-styles.css.js';
|
|
|
|
export {TestTableTemplate} from './lib/test-table.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-test-table': MdTestTable;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @soyCompatible
|
|
* @final
|
|
*/
|
|
@customElement('md-test-table')
|
|
export class MdTestTable<S extends string = string> extends TestTable<S> {
|
|
static override styles = [testTableStyles];
|
|
}
|