mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
37 lines
592 B
TypeScript
37 lines
592 B
TypeScript
import {Et2Widget} from "../../Et2Widget/Et2Widget";
|
|
import {SlTab} from "@shoelace-style/shoelace";
|
|
import shoelace from "../../Styles/shoelace";
|
|
import {css} from "@lion/core";
|
|
|
|
export class Et2Tab extends Et2Widget(SlTab)
|
|
{
|
|
static get styles()
|
|
{
|
|
return [
|
|
...super.styles,
|
|
...shoelace,
|
|
css`
|
|
.tab {
|
|
font-size: var(--sl-size-x-small);
|
|
}
|
|
`
|
|
];
|
|
}
|
|
|
|
static get properties()
|
|
{
|
|
return {
|
|
...super.properties,
|
|
|
|
hidden: {type: Boolean, reflect: true}
|
|
}
|
|
}
|
|
|
|
constructor()
|
|
{
|
|
super();
|
|
this.hidden = false;
|
|
}
|
|
}
|
|
|
|
customElements.define("et2-tab", Et2Tab); |