@ironflock/widget-value 1.1.35 → 1.1.36
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/dist/widget-value.js
CHANGED
|
@@ -655,7 +655,7 @@ const ee = new Intl.DateTimeFormat(void 0, {
|
|
|
655
655
|
};
|
|
656
656
|
let v = class extends M {
|
|
657
657
|
constructor() {
|
|
658
|
-
super(), this.dataSets = /* @__PURE__ */ new Map(), this.textActive = !0, this.version = "1.1.
|
|
658
|
+
super(), this.dataSets = /* @__PURE__ */ new Map(), this.textActive = !0, this.version = "1.1.36", this.origWidth = 0, this.origHeight = 0, this.resizeObserver = new ResizeObserver(this.applyData.bind(this)), this.resizeObserver.observe(this);
|
|
659
659
|
}
|
|
660
660
|
disconnectedCallback() {
|
|
661
661
|
super.disconnectedCallback(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
@@ -935,7 +935,7 @@ m([
|
|
|
935
935
|
vt(".sizing-container")
|
|
936
936
|
], v.prototype, "sizingContainer", 2);
|
|
937
937
|
v = m([
|
|
938
|
-
Kt("widget-value-1.1.
|
|
938
|
+
Kt("widget-value-1.1.36")
|
|
939
939
|
], v);
|
|
940
940
|
export {
|
|
941
941
|
v as WidgetValue
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"Counting or aggregating rows — the widget performs NO aggregation (no count/sum/avg); it displays a value that already exists in the data or is embedded as a static number.",
|
|
14
14
|
"A number that only means something against a minimum and maximum — use widget-gauge.",
|
|
15
15
|
"How the number is changing — use widget-linechart.",
|
|
16
|
-
"Its share of a total — use widget-doughnut.",
|
|
16
|
+
"Its share of a total — use widget-doughnut when the parts are a fixed set that arrive as columns of one row (or as one value each); when the parts are rows of the result (one row per cause or program), use widget-linechart with dataseries[].type: 'bar'.",
|
|
17
17
|
"Several fields per entity that belong side by side — use widget-table.",
|
|
18
18
|
"Text rather than a figure — use widget-label."
|
|
19
19
|
]
|