mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 23:37:51 +01:00
- Fix problemi rilevati da ESLint (per togliere alcune regole commentate) - Spostati i tipi nella cartella typings - Aggiunti alcuni alias per la cartella resources
22 lines
532 B
TypeScript
22 lines
532 B
TypeScript
import {TopAppBar as MWCTopAppBar} from '@material/mwc-top-app-bar';
|
|
import {css} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
declare global {
|
|
namespace JSX {
|
|
interface IntrinsicElements {
|
|
'top-app-bar': Partial<TopAppBar>;
|
|
}
|
|
}
|
|
}
|
|
|
|
@customElement('top-app-bar')
|
|
export default class TopAppBar extends MWCTopAppBar {
|
|
static styles = [...MWCTopAppBar.styles, css`
|
|
header.mdc-top-app-bar {
|
|
border-bottom: 1px solid var(--mdc-theme-outline-color, #e0e0e0);
|
|
z-index: 7;
|
|
}
|
|
`];
|
|
}
|