@record-evolution/widget-gauge 1.7.27 → 1.7.29

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.27",
6
+ "version": "1.7.29",
7
7
  "type": "module",
8
8
  "main": "dist/widget-gauge.js",
9
9
  "types": "dist/src/widget-gauge.d.ts",
@@ -23,10 +23,12 @@
23
23
  "release": "npm run build && npm run types && npm version patch --tag-version-prefix='' && git push && git push --tag && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "echarts": "6.0.0",
27
26
  "lit": "^3.3.2",
28
27
  "tslib": "^2.8.1"
29
28
  },
29
+ "peerDependencies": {
30
+ "echarts": "^6.0.0"
31
+ },
30
32
  "devDependencies": {
31
33
  "@custom-elements-manifest/analyzer": "^0.10.4",
32
34
  "@rollup/plugin-replace": "^6.0.2",
@@ -492,6 +492,7 @@ class WidgetGauge extends LitElement {
492
492
  box-sizing: border-box;
493
493
  position: relative;
494
494
  margin: auto;
495
+ container-type: size;
495
496
  }
496
497
 
497
498
  .paging:not([active]) {
@@ -503,7 +504,7 @@ class WidgetGauge extends LitElement {
503
504
  flex-direction: column;
504
505
  height: 100%;
505
506
  width: 100%;
506
- padding: 2%;
507
+ padding: 2cqh 2cqw;
507
508
  box-sizing: border-box;
508
509
  gap: 12px;
509
510
  }