Fix: small UI improvements; formatting consistancy, typo, npm deps (#3763)

This commit is contained in:
Michael Geers 2022-07-03 16:03:15 +02:00 • committed by GitHub
parent 22c7db9263
commit 398ddd6584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 3435 additions and 5747 deletions

View file

@ -14,5 +14,7 @@ module.exports = {
rules: {
"vue/require-default-prop": "off",
"vue/attribute-hyphenation": "off",
"vue/multi-word-component-names": "off",
"vue/no-reserved-component-names": "off",
},
};

View file

@ -107,6 +107,10 @@ h4 {
background-color: var(--evcc-dark-green) !important;
}
.text-primary {
color: var(--bs-primary) !important;
}
a {
color: var(--bs-primary);
}

View file

@ -11,7 +11,7 @@
</label>
<span v-if="estimatedTargetRange" class="extraValue d-block d-sm-inline text-nowrap">
&nbsp;{{ estimatedTargetRange }}km
&nbsp;{{ estimatedTargetRange }} km
</span>
</h3>
</LabelAndValue>
@ -36,7 +36,7 @@ export default {
let text = `${soc}%`;
const range = this.estimatedRange(soc);
if (range) {
text += ` (${range}km)`;
text += ` (${range} km)`;
}
result.push({ soc, text });
}

View file

@ -31,7 +31,7 @@ export default {
percentSelf: "{self} kWh Sonne",
percentGrid: "{grid} kWh Netz",
priceTitle: "Energiepreis",
priceFeedIn: "{feedInPrice} Einpeisung",
priceFeedIn: "{feedInPrice} Einspeisung",
priceGrid: "{gridPrice} Netz",
savingsTitle: "Ersparnis",
savingsComparedToGrid: "gegenüber Netzbezug",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/index.html vendored
View file

@ -20,8 +20,8 @@
<meta name="theme-color" content="#020318" />
<title>evcc</title>
<script type="module" crossorigin src="./assets/index.9cd7a559.js"></script>
<link rel="stylesheet" href="./assets/index.8e4c81a1.css">
<script type="module" crossorigin src="./assets/index.33cb7319.js"></script>
<link rel="stylesheet" href="./assets/index.1555a0f0.css">
</head>
<body>
<script>

9157
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -34,7 +34,6 @@
"@storybook/testing-library": "^0.0.13",
"@storybook/vue3": "^6.5.9",
"@vue/compiler-sfc": "^3.2.30",
"@vue/eslint-config-standard": "^6.1.0",
"babel-loader": "^8.2.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
@ -49,7 +48,7 @@
"postcss-custom-media": "^8.0.2",
"prettier": "^2.5.1",
"vite": "^2.7.13",
"vue-loader": "^16.8.3"
"vue-loader": "^17.0.0"
},
"engines": {
"npm": ">=8.0.0",