material-web/elevation/elevation.ts
Elizabeth Mitchell c35bad0c64 fix: rename internal <styles>.css.js to <styles>.css
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
2024-02-28 16:20:22 -08:00

31 lines
701 B
TypeScript

/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {CSSResultOrNative} from 'lit';
import {customElement} from 'lit/decorators.js';
import {Elevation} from './internal/elevation.js';
import {styles} from './internal/elevation-styles.js';
declare global {
interface HTMLElementTagNameMap {
'md-elevation': MdElevation;
}
}
/**
* The `<md-elevation>` custom element with default styles.
*
* Elevation is the relative distance between two surfaces along the z-axis.
*
* @final
* @suppress {visibility}
*/
@customElement('md-elevation')
export class MdElevation extends Elevation {
static override styles: CSSResultOrNative[] = [styles];
}