2021-09-23 12:30:02 +00:00
|
|
|
import {
|
|
|
|
DeesElement,
|
|
|
|
property,
|
|
|
|
html,
|
|
|
|
customElement,
|
|
|
|
TemplateResult,
|
2023-01-05 12:37:28 +00:00
|
|
|
cssManager,
|
|
|
|
css,
|
2021-09-23 12:30:02 +00:00
|
|
|
} from '@designestate/dees-element';
|
|
|
|
import * as domtools from '@designestate/dees-domtools';
|
|
|
|
|
2022-03-24 15:07:15 +00:00
|
|
|
import './internal/uplinternal-miniheading.js';
|
2021-09-23 12:30:02 +00:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
interface HTMLElementTagNameMap {
|
|
|
|
'upl-statuspage-assetsselector': UplStatuspageAssetsselector;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@customElement('upl-statuspage-assetsselector')
|
|
|
|
export class UplStatuspageAssetsselector extends DeesElement {
|
|
|
|
public static demo = () => html`
|
|
|
|
<upl-statuspage-assetsselector></upl-statuspage-assetsselector>
|
|
|
|
`;
|
|
|
|
|
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
2023-01-05 12:37:28 +00:00
|
|
|
public static styles = [
|
|
|
|
cssManager.defaultStyles,
|
|
|
|
css`
|
|
|
|
:host {
|
2021-09-23 12:30:02 +00:00
|
|
|
padding: 0px 0px 15px 0px;
|
|
|
|
display: block;
|
2023-01-05 12:37:28 +00:00
|
|
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
|
|
|
font-family: Inter;
|
2021-09-23 12:30:02 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mainbox {
|
|
|
|
margin: auto;
|
|
|
|
max-width: 900px;
|
|
|
|
text-align: center;
|
|
|
|
height: 50px;
|
|
|
|
border-radius: 3px;
|
2023-01-05 12:37:28 +00:00
|
|
|
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
2021-09-23 12:30:02 +00:00
|
|
|
}
|
2023-01-05 12:37:28 +00:00
|
|
|
`,
|
|
|
|
]
|
|
|
|
|
|
|
|
public render(): TemplateResult {
|
|
|
|
return html`
|
|
|
|
<style>
|
|
|
|
|
2021-09-23 12:30:02 +00:00
|
|
|
</style>
|
|
|
|
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
|
|
|
|
<div class="mainbox">
|
|
|
|
Hello!
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
}
|
|
|
|
}
|