@record-evolution/widget-gauge 1.7.20 → 1.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-gauge",
4
4
  "license": "MIT",
5
5
  "author": "widget-gauge",
6
- "version": "1.7.20",
6
+ "version": "1.7.21",
7
7
  "type": "module",
8
8
  "main": "dist/widget-gauge.js",
9
9
  "types": "dist/src/widget-gauge.d.ts",
@@ -1,18 +1,5 @@
1
1
  {
2
2
  "dataseries": [
3
- {
4
- "label": "Temperature",
5
- "unit": "°C",
6
- "precision": 1,
7
- "value": 83,
8
- "sections": {
9
- "sectionLimits": [],
10
- "backgroundColors": []
11
- },
12
- "advanced": {
13
- "averageLatest": 1
14
- }
15
- },
16
3
  {
17
4
  "label": "Temperature",
18
5
  "unit": "°C",
@@ -514,7 +514,11 @@ export class WidgetGauge extends LitElement {
514
514
  overflow: hidden;
515
515
  text-overflow: ellipsis;
516
516
  white-space: nowrap;
517
- line-height: 1;
517
+ line-height: 0.8;
518
+ }
519
+
520
+ .title {
521
+ line-height: 1.5;
518
522
  }
519
523
  p {
520
524
  margin: 10px 0 0 0;
@@ -544,7 +548,7 @@ export class WidgetGauge extends LitElement {
544
548
  style="background-color: ${this.themeBgColor}; color: ${this.themeTitleColor}"
545
549
  >
546
550
  <header class="paging" ?active=${this.inputData?.title || this.inputData?.subTitle}>
547
- <h3 class="paging" ?active=${this.inputData?.title}>${this.inputData?.title}</h3>
551
+ <h3 class="paging title" ?active=${this.inputData?.title}>${this.inputData?.title}</h3>
548
552
  <p
549
553
  class="paging"
550
554
  ?active=${this.inputData?.subTitle}