Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
3eeb971188 | |||
d2243d2376 | |||
94685bf46e | |||
96ebe6b42d | |||
f51a5cef57 | |||
d69a7f530b | |||
484741e052 | |||
45ea020ec8 | |||
efdde110a0 | |||
134dd0414f | |||
53e3ba4672 | |||
609e176aab | |||
617a3f307c | |||
a577418132 | |||
c969da7362 | |||
fd6427da1e |
143
.gitlab-ci.yml
143
.gitlab-ci.yml
@ -1,143 +0,0 @@
|
|||||||
# gitzone ci_default_private
|
|
||||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- .npmci_cache/
|
|
||||||
key: '$CI_BUILD_STAGE'
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- security
|
|
||||||
- test
|
|
||||||
- release
|
|
||||||
- metadata
|
|
||||||
|
|
||||||
# ====================
|
|
||||||
# security stage
|
|
||||||
# ====================
|
|
||||||
mirror:
|
|
||||||
stage: security
|
|
||||||
script:
|
|
||||||
- npmci git mirror
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
auditProductionDependencies:
|
|
||||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
|
||||||
stage: security
|
|
||||||
script:
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci command npm install --production --ignore-scripts
|
|
||||||
- npmci command npm config set registry https://registry.npmjs.org
|
|
||||||
- npmci command npm audit --audit-level=high --only=prod --production
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
|
|
||||||
auditDevDependencies:
|
|
||||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
|
||||||
stage: security
|
|
||||||
script:
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci command npm install --ignore-scripts
|
|
||||||
- npmci command npm config set registry https://registry.npmjs.org
|
|
||||||
- npmci command npm audit --audit-level=high --only=dev
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
# ====================
|
|
||||||
# test stage
|
|
||||||
# ====================
|
|
||||||
|
|
||||||
testStable:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci node install stable
|
|
||||||
- npmci npm install
|
|
||||||
- npmci npm test
|
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
testBuild:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci node install stable
|
|
||||||
- npmci npm install
|
|
||||||
- npmci command npm run build
|
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
release:
|
|
||||||
stage: release
|
|
||||||
script:
|
|
||||||
- npmci node install stable
|
|
||||||
- npmci npm publish
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
# ====================
|
|
||||||
# metadata stage
|
|
||||||
# ====================
|
|
||||||
codequality:
|
|
||||||
stage: metadata
|
|
||||||
allow_failure: true
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
script:
|
|
||||||
- npmci command npm install -g tslint typescript
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci npm install
|
|
||||||
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- priv
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
stage: metadata
|
|
||||||
script:
|
|
||||||
- npmci trigger
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: metadata
|
|
||||||
script:
|
|
||||||
- npmci node install lts
|
|
||||||
- npmci command npm install -g @gitzone/tsdoc
|
|
||||||
- npmci npm prepare
|
|
||||||
- npmci npm install
|
|
||||||
- npmci command tsdoc
|
|
||||||
tags:
|
|
||||||
- lossless
|
|
||||||
- docker
|
|
||||||
- notpriv
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 week
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
allow_failure: true
|
|
24
.vscode/launch.json
vendored
24
.vscode/launch.json
vendored
@ -2,28 +2,10 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "current file",
|
"command": "npm test",
|
||||||
"type": "node",
|
"name": "Run npm test",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"args": [
|
"type": "node-terminal"
|
||||||
"${relativeFile}"
|
|
||||||
],
|
|
||||||
"runtimeArgs": ["-r", "@gitzone/tsrun"],
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"protocol": "inspector",
|
|
||||||
"internalConsoleOptions": "openOnSessionStart"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "test.ts",
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"args": [
|
|
||||||
"test/test.ts"
|
|
||||||
],
|
|
||||||
"runtimeArgs": ["-r", "@gitzone/tsrun"],
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"protocol": "inspector",
|
|
||||||
"internalConsoleOptions": "openOnSessionStart"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
46
changelog.md
Normal file
46
changelog.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-06-26 - 1.0.72 - fix(core)
|
||||||
|
Fixed incorrect import paths and updated configurations for package publication.
|
||||||
|
|
||||||
|
- Fixed import paths for various dependencies in TypeScript files.
|
||||||
|
- Updated npm package name and scope in package.json.
|
||||||
|
- Deleted .gitlab-ci.yml file.
|
||||||
|
- Adjusted tsconfig.json for ESModule compatibility.
|
||||||
|
- Adjusted npmextra.json for correct repository and license information.
|
||||||
|
- Updated documentation links in readme.md.
|
||||||
|
|
||||||
|
## 2023-01-05 - 1.0.69 to 1.0.71 - core
|
||||||
|
Multiple updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2022-03-24 - 1.0.67 to 1.0.69 - core
|
||||||
|
Multiple updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2021-09-27 - 1.0.60 to 1.0.66 - core
|
||||||
|
Multiple updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2021-09-24 - 1.0.59 to 1.0.60 - core
|
||||||
|
Fixes and updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2021-09-23 - 1.0.58 to 1.0.59 - core
|
||||||
|
Fixes and updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2020-11-29 - 1.0.57 to 1.0.58 - core
|
||||||
|
Fixes and updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
||||||
|
|
||||||
|
## 2020-09-19 - 1.0.55 to 1.0.57 - core
|
||||||
|
Fixes and updates.
|
||||||
|
|
||||||
|
- fix(core): update
|
@ -1,5 +1,5 @@
|
|||||||
<!--gitzone element-->
|
<!--gitzone element-->
|
||||||
<!-- made by Lossless GmbH -->
|
<!-- made by Task Venture Capital GmbH -->
|
||||||
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
|
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -10,6 +10,17 @@
|
|||||||
/>
|
/>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
|
||||||
|
<link rel="preconnect" href="https://rsms.me/">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||||
|
<link
|
||||||
|
crossorigin="anonymous"
|
||||||
|
href="https://fonts.googleapis.com/icon?family=Material+Icons"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@ -17,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script src="./index.ts"></script>
|
<script type="module" src="/bundle.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
</body>
|
</body>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
// dees tools
|
// dees tools
|
||||||
import * as deesWccTools from '@designestate/dees-wcctools';
|
import * as deesWccTools from '@design.estate/dees-wcctools';
|
||||||
import * as deesDomTools from '@designestate/dees-domtools';
|
import * as deesDomTools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
// elements and pages
|
// elements and pages
|
||||||
import * as elements from '../ts_web/elements';
|
import * as elements from '../ts_web/elements/index.js';
|
||||||
import * as pages from '../ts_web/pages';
|
import * as pages from '../ts_web/pages/index.js';
|
||||||
|
|
||||||
deesWccTools.setupWccTools(elements as any, pages);
|
deesWccTools.setupWccTools(elements as any, pages);
|
||||||
deesDomTools.elementBasic.setup();
|
deesDomTools.elementBasic.setup();
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
"gitzone": {
|
"gitzone": {
|
||||||
"projectType": "wcc",
|
"projectType": "wcc",
|
||||||
"module": {
|
"module": {
|
||||||
"githost": "gitlab.com",
|
"githost": "code.foss.global",
|
||||||
"gitscope": "uptimelink/private",
|
"gitscope": "uptime.link",
|
||||||
"gitrepo": "catalog",
|
"gitrepo": "statuspage",
|
||||||
"shortDescription": "a catalog with webcomponents for uptimelink dashboard",
|
"description": "a catalog with webcomponents for uptimelink dashboard",
|
||||||
"npmPackagename": "@uptimelink_private/catalog",
|
"npmPackagename": "@uptime.link/statuspage",
|
||||||
"license": "UNLICENSED",
|
"license": "MIT",
|
||||||
"projectDomain": "uptime.link"
|
"projectDomain": "uptime.link"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
27108
package-lock.json
generated
27108
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
34
package.json
34
package.json
@ -1,33 +1,33 @@
|
|||||||
{
|
{
|
||||||
"name": "@uptimelink_private/catalog",
|
"name": "@uptime.link/statuspage",
|
||||||
"version": "1.0.64",
|
"version": "1.0.72",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a catalog with webcomponents for uptimelink dashboard",
|
"description": "a catalog with webcomponents for uptimelink dashboard",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
"typings": "dist_ts_web/index.d.ts",
|
"typings": "dist_ts_web/index.d.ts",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run build",
|
"test": "npm run build",
|
||||||
"build": "tsbuild element && tsbundle element --production",
|
"build": "tsbuild tsfolders --allowimplicitany && tsbundle element --production",
|
||||||
"watch": "tswatch element"
|
"watch": "tswatch element",
|
||||||
|
"buildDocs": "tsdoc"
|
||||||
},
|
},
|
||||||
"author": "Lossless GmbH",
|
"author": "Lossless GmbH",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@designestate/dees-domtools": "^1.0.95",
|
"@design.estate/dees-domtools": "^2.0.1",
|
||||||
"@designestate/dees-element": "^1.0.25",
|
"@design.estate/dees-element": "^2.0.4",
|
||||||
"@designestate/dees-wcctools": "^1.0.57",
|
"@design.estate/dees-wcctools": "^1.0.73",
|
||||||
"@gitzone/tsrun": "^1.2.17",
|
"@uptime.link/interfaces": "^2.0.21"
|
||||||
"@losslessone_private/loint-pubapi": "^1.0.10",
|
|
||||||
"@uptimelink/interfaces": "^1.0.10",
|
|
||||||
"typescript": "^4.4.3"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.27",
|
"@git.zone/tsbuild": "^2.1.61",
|
||||||
"@gitzone/tsbundle": "^1.0.87",
|
"@git.zone/tsbundle": "^2.0.7",
|
||||||
"@gitzone/tswatch": "^1.0.56",
|
"@git.zone/tsrun": "^1.2.39",
|
||||||
"@pushrocks/projectinfo": "^4.0.5",
|
"@git.zone/tswatch": "^2.0.5",
|
||||||
"tslint": "^6.1.3",
|
"@push.rocks/projectinfo": "^5.0.1",
|
||||||
"tslint-config-prettier": "^1.17.0"
|
"@push.rocks/smartenv": "^5.0.0",
|
||||||
|
"@types/node": "^18.11.18"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
4741
pnpm-lock.yaml
generated
Normal file
4741
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
0
readme.hints.md
Normal file
0
readme.hints.md
Normal file
@ -1,4 +1,4 @@
|
|||||||
# @uptimelink/private/catalog
|
# @uptime.link/private/catalog
|
||||||
a catalog with webcomponents for uptimelink dashboard
|
a catalog with webcomponents for uptimelink dashboard
|
||||||
|
|
||||||
## Availabililty and Links
|
## Availabililty and Links
|
||||||
@ -21,14 +21,12 @@ Code Style | [](htt
|
|||||||
PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
|
PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
|
||||||
PackagePhobia (package size on registry) | [](https://lossless.cloud)
|
PackagePhobia (package size on registry) | [](https://lossless.cloud)
|
||||||
BundlePhobia (total size when bundled) | [](https://lossless.cloud)
|
BundlePhobia (total size when bundled) | [](https://lossless.cloud)
|
||||||
Platform support | [](https://lossless.cloud) [](https://lossless.cloud)
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Use TypeScript for best in class intellisense
|
Use TypeScript for best in class intellisense
|
||||||
For further information read the linked docs at the top of this readme.
|
For further information read the linked docs at the top of this readme.
|
||||||
|
|
||||||
> UNLICENSED licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
## Legal
|
||||||
|
> UNLICENSED licensed | **©** [Task Venture Capital GmbH](https://task.vc)
|
||||||
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
||||||
|
|
||||||
[](https://maintainedby.lossless.com)
|
|
||||||
|
8
ts_web/00_commitinfo_data.ts
Normal file
8
ts_web/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* autocreated commitinfo by @push.rocks/commitinfo
|
||||||
|
*/
|
||||||
|
export const commitinfo = {
|
||||||
|
name: '@uptime.link/statuspage',
|
||||||
|
version: '1.0.72',
|
||||||
|
description: 'a catalog with webcomponents for uptimelink dashboard'
|
||||||
|
}
|
@ -1,7 +1,7 @@
|
|||||||
export * from './upl-statuspage-assetsselector';
|
export * from './upl-statuspage-assetsselector.js';
|
||||||
export * from './upl-statuspage-footer';
|
export * from './upl-statuspage-footer.js';
|
||||||
export * from './upl-statuspage-header';
|
export * from './upl-statuspage-header.js';
|
||||||
export * from './upl-statuspage-incidents';
|
export * from './upl-statuspage-incidents.js';
|
||||||
export * from './upl-statuspage-statusbar';
|
export * from './upl-statuspage-statusbar.js';
|
||||||
export * from './upl-statuspage-statusdetails';
|
export * from './upl-statuspage-statusdetails.js';
|
||||||
export * from './upl-statuspage-statusmonth';
|
export * from './upl-statuspage-statusmonth.js';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { customElement, DeesElement, html, TemplateResult } from '@designestate/dees-element';
|
import { customElement, DeesElement, html, type TemplateResult } from '@design.estate/dees-element';
|
||||||
|
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
@customElement('uplinternal-miniheading')
|
@customElement('uplinternal-miniheading')
|
||||||
export class UplinternalMiniheading extends DeesElement {
|
export class UplinternalMiniheading extends DeesElement {
|
||||||
@ -10,7 +10,7 @@ export class UplinternalMiniheading extends DeesElement {
|
|||||||
<style>
|
<style>
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
|
@ -3,11 +3,13 @@ import {
|
|||||||
property,
|
property,
|
||||||
html,
|
html,
|
||||||
customElement,
|
customElement,
|
||||||
TemplateResult,
|
type TemplateResult,
|
||||||
} from '@designestate/dees-element';
|
cssManager,
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
css,
|
||||||
|
} from '@design.estate/dees-element';
|
||||||
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
import './internal/uplinternal-miniheading';
|
import './internal/uplinternal-miniheading.js';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -25,15 +27,14 @@ export class UplStatuspageAssetsselector extends DeesElement {
|
|||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
public render(): TemplateResult {
|
public static styles = [
|
||||||
return html`
|
cssManager.defaultStyles,
|
||||||
${domtools.elementBasic.styles}
|
css`
|
||||||
<style>
|
|
||||||
:host {
|
:host {
|
||||||
padding: 0px 0px 15px 0px;
|
padding: 0px 0px 15px 0px;
|
||||||
display: block;
|
display: block;
|
||||||
background: #222222;
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -43,8 +44,15 @@ export class UplStatuspageAssetsselector extends DeesElement {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: #404040;
|
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||||
}
|
}
|
||||||
|
`,
|
||||||
|
]
|
||||||
|
|
||||||
|
public render(): TemplateResult {
|
||||||
|
return html`
|
||||||
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
|
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
|
||||||
<div class="mainbox">
|
<div class="mainbox">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element';
|
import { DeesElement, property, html, customElement, type TemplateResult, css, cssManager } from '@design.estate/dees-element';
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -34,7 +34,7 @@ export class UplStatuspageFooter extends DeesElement {
|
|||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
background: ${cssManager.bdTheme('#ffffff', '#000000')};
|
background: ${cssManager.bdTheme('#ffffff', '#000000')};
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element';
|
import { DeesElement, property, html, customElement, type TemplateResult, css, cssManager } from '@design.estate/dees-element';
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -29,7 +29,7 @@ export class UplStatuspageHeader extends DeesElement {
|
|||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ export class UplStatuspageHeader extends DeesElement {
|
|||||||
h1 {
|
h1 {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 300;
|
font-weight: 600;
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ export class UplStatuspageHeader extends DeesElement {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 300;
|
font-weight: 600;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import * as plugins from '../plugins';
|
import * as plugins from '../plugins.js';
|
||||||
import {
|
import {
|
||||||
DeesElement,
|
DeesElement,
|
||||||
property,
|
property,
|
||||||
html,
|
html,
|
||||||
customElement,
|
customElement,
|
||||||
TemplateResult,
|
type TemplateResult,
|
||||||
css,
|
css,
|
||||||
cssManager,
|
cssManager,
|
||||||
} from '@designestate/dees-element';
|
} from '@design.estate/dees-element';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -46,7 +46,7 @@ export class UplStatuspageIncidents extends DeesElement {
|
|||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ export class UplStatuspageIncidents extends DeesElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.noIncidentBox {
|
.noIncidentBox {
|
||||||
background: #333;
|
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element';
|
import { DeesElement, property, html, customElement, type TemplateResult, cssManager, css } from '@design.estate/dees-element';
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -13,21 +13,18 @@ export class UplStatuspageStatusbar extends DeesElement {
|
|||||||
<upl-statuspage-statusbar></upl-statuspage-statusbar>
|
<upl-statuspage-statusbar></upl-statuspage-statusbar>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
public render(): TemplateResult {
|
public static styles = [
|
||||||
return html`
|
cssManager.defaultStyles,
|
||||||
${domtools.elementBasic.styles}
|
css`
|
||||||
<style>
|
|
||||||
:host {
|
:host {
|
||||||
padding: 20px 0px 15px 0px;
|
padding: 20px 0px 15px 0px;
|
||||||
display: block;
|
display: block;
|
||||||
background: #222222;
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,8 +36,12 @@ export class UplStatuspageStatusbar extends DeesElement {
|
|||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
`,
|
||||||
|
]
|
||||||
|
|
||||||
|
public render(): TemplateResult {
|
||||||
|
return html`
|
||||||
|
<style>
|
||||||
</style>
|
</style>
|
||||||
<div class="mainbox">
|
<div class="mainbox">
|
||||||
Everything is working normally!
|
Everything is working normally!
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import * as plugins from '../plugins';
|
import * as plugins from '../plugins.js';
|
||||||
import {
|
import {
|
||||||
DeesElement,
|
DeesElement,
|
||||||
property,
|
property,
|
||||||
html,
|
html,
|
||||||
customElement,
|
customElement,
|
||||||
TemplateResult,
|
type TemplateResult,
|
||||||
css,
|
css,
|
||||||
cssManager,
|
cssManager,
|
||||||
} from '@designestate/dees-element';
|
} from '@design.estate/dees-element';
|
||||||
|
|
||||||
import './internal/uplinternal-miniheading';
|
import './internal/uplinternal-miniheading.js';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -32,8 +32,8 @@ export class UplStatuspageStatusdetails extends DeesElement {
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 0px 0px 15px 0px;
|
padding: 0px 0px 15px 0px;
|
||||||
display: block;
|
display: block;
|
||||||
background: #222222;
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ export class UplStatuspageStatusdetails extends DeesElement {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
background: #404040;
|
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@ import {
|
|||||||
property,
|
property,
|
||||||
html,
|
html,
|
||||||
customElement,
|
customElement,
|
||||||
TemplateResult,
|
type TemplateResult,
|
||||||
css,
|
css,
|
||||||
cssManager
|
cssManager
|
||||||
} from '@designestate/dees-element';
|
} from '@design.estate/dees-element';
|
||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
|
|
||||||
import './internal/uplinternal-miniheading';
|
import './internal/uplinternal-miniheading.js';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@ -32,8 +32,8 @@ export class UplStatuspageStatusmonth extends DeesElement {
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 0px 0px 15px 0px;
|
padding: 0px 0px 15px 0px;
|
||||||
display: block;
|
display: block;
|
||||||
background: #222222;
|
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||||
font-family: Roboto Mono;
|
font-family: Inter;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ export class UplStatuspageStatusmonth extends DeesElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.statusMonth {
|
.statusMonth {
|
||||||
background: #404040;
|
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
display: grid;
|
display: grid;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -1 +1 @@
|
|||||||
export * from './elements/index';
|
export * from './elements/index.js';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as domtools from '@designestate/dees-domtools';
|
import * as domtools from '@design.estate/dees-domtools';
|
||||||
import * as uplInterfaces from '@uptimelink/interfaces';
|
import * as uplInterfaces from '@uptime.link/interfaces';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
domtools,
|
domtools,
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"target": "es2017",
|
|
||||||
"module": "es2015",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"lib": ["es2017", "dom"],
|
|
||||||
"declaration": true,
|
|
||||||
"inlineSources": true,
|
|
||||||
"inlineSourceMap": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"noFallthroughCasesInSwitch": true,
|
|
||||||
"outDir": "dist/",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"experimentalDecorators": true
|
|
||||||
}
|
|
||||||
}
|
|
14
tsconfig.json
Normal file
14
tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"verbatimModuleSyntax": true
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"dist_*/**/*.d.ts"
|
||||||
|
]
|
||||||
|
}
|
17
tslint.json
17
tslint.json
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["tslint:latest", "tslint-config-prettier"],
|
|
||||||
"rules": {
|
|
||||||
"semicolon": [true, "always"],
|
|
||||||
"no-console": false,
|
|
||||||
"ordered-imports": false,
|
|
||||||
"object-literal-sort-keys": false,
|
|
||||||
"member-ordering": {
|
|
||||||
"options":{
|
|
||||||
"order": [
|
|
||||||
"static-method"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"defaultSeverity": "warning"
|
|
||||||
}
|
|
Reference in New Issue
Block a user