@azohra/meteo.station 0.1.3 → 0.3.0
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/README.md +4 -4
- package/dist/elements/elements/DailyPatternElement.js +1 -2
- package/dist/elements/elements/TrendChartElement.js +2 -1
- package/dist/elements/elements/WindHistoryChartElement.js +2 -1
- package/dist/geometry.d.ts +6 -1
- package/dist/geometry.js +8 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/react/components/DailyPattern.js +1 -2
- package/dist/react/components/Readout.d.ts +12 -0
- package/dist/react/components/Readout.js +14 -0
- package/dist/react/components/TrendChart.js +2 -1
- package/dist/react/components/WindHistoryChart.js +10 -24
- package/dist/react/components/WindSampleStrip.d.ts +15 -0
- package/dist/react/components/WindSampleStrip.js +192 -0
- package/dist/react/hooks/useMeasuredChartWidth.d.ts +8 -0
- package/dist/react/hooks/useMeasuredChartWidth.js +26 -0
- package/dist/react/index.d.ts +6 -1
- package/dist/react/index.js +4 -1
- package/dist/scene/air-matrix.d.ts +2 -0
- package/dist/scene/atoms.d.ts +4 -0
- package/dist/scene/card.d.ts +3 -0
- package/dist/scene/chart.d.ts +11 -0
- package/dist/scene/chart.js +1 -7
- package/dist/scene/current.d.ts +3 -0
- package/dist/scene/daily-pattern.d.ts +6 -0
- package/dist/scene/dial.d.ts +4 -0
- package/dist/scene/glyphs.d.ts +2 -0
- package/dist/scene/index.d.ts +18 -0
- package/dist/scene/rose.d.ts +4 -0
- package/dist/scene/sample-strip.d.ts +6 -0
- package/dist/scene/sample-strip.js +130 -0
- package/dist/scene/sparkline.d.ts +3 -0
- package/dist/scene/strip.d.ts +3 -0
- package/dist/scene/table.d.ts +3 -0
- package/dist/scene/trend.d.ts +4 -0
- package/dist/scene/trend.js +1 -2
- package/dist/scene/wind-history.d.ts +6 -0
- package/dist/scene/wind-plot.d.ts +5 -0
- package/dist/scene/wind-plot.js +1 -2
- package/dist/server/adapters/ecowitt.d.ts +28 -0
- package/dist/server/adapters/ecowitt.js +150 -0
- package/dist/server/config.d.ts +29 -1
- package/dist/server/config.js +14 -1
- package/dist/server/environment.d.ts +8 -1
- package/dist/server/environment.js +23 -1
- package/dist/server/feed.js +6 -0
- package/dist/server/index.d.ts +4 -3
- package/dist/server/index.js +4 -3
- package/dist/strings.d.ts +2 -0
- package/dist/strings.js +2 -0
- package/package.json +1 -1
- package/styles.css +24 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azohra/meteo.station",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The station capability of meteo by Azohra: live weather-station reading, derivation, and display - the wire contract, provider adapters, a polling client, a Node server, and React and custom-element display bindings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"weather-station",
|
package/styles.css
CHANGED
|
@@ -369,11 +369,13 @@
|
|
|
369
369
|
/* ---------- history chart ---------- */
|
|
370
370
|
|
|
371
371
|
.meteo-wind-chart,
|
|
372
|
+
.meteo-sample-strip,
|
|
372
373
|
.meteo-daily-pattern {
|
|
373
374
|
width: 100%;
|
|
374
375
|
}
|
|
375
376
|
|
|
376
377
|
.meteo-wind-chart-na,
|
|
378
|
+
.meteo-sample-strip-na,
|
|
377
379
|
.meteo-daily-pattern-na,
|
|
378
380
|
.meteo-trend-na,
|
|
379
381
|
.meteo-wind-rose-na {
|
|
@@ -390,6 +392,7 @@
|
|
|
390
392
|
* daily-pattern caption is static — no pin state — but shares the line so
|
|
391
393
|
* it never wears a different rhythm than the chart above it. */
|
|
392
394
|
.meteo-wind-chart-readout,
|
|
395
|
+
.meteo-sample-strip-readout,
|
|
393
396
|
.meteo-daily-pattern-caption,
|
|
394
397
|
.meteo-trend-readout {
|
|
395
398
|
display: flex;
|
|
@@ -405,18 +408,21 @@
|
|
|
405
408
|
}
|
|
406
409
|
|
|
407
410
|
.meteo-wind-chart-readout strong,
|
|
411
|
+
.meteo-sample-strip-readout strong,
|
|
408
412
|
.meteo-trend-readout strong {
|
|
409
413
|
color: var(--meteo-accent, #0f7490);
|
|
410
414
|
font-weight: 700;
|
|
411
415
|
}
|
|
412
416
|
|
|
413
417
|
.meteo-wind-chart-svg,
|
|
418
|
+
.meteo-sample-strip-svg,
|
|
414
419
|
.meteo-daily-pattern-svg,
|
|
415
420
|
.meteo-trend-svg {
|
|
416
421
|
display: block;
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
.meteo-wind-chart-svg text,
|
|
425
|
+
.meteo-sample-strip-svg text,
|
|
420
426
|
.meteo-daily-pattern-svg text,
|
|
421
427
|
.meteo-trend-svg text {
|
|
422
428
|
font-family: var(--meteo-font, ui-sans-serif, system-ui, sans-serif);
|
|
@@ -563,6 +569,24 @@
|
|
|
563
569
|
touch-action: pan-y;
|
|
564
570
|
}
|
|
565
571
|
|
|
572
|
+
/* ---------- sample strip ---------- */
|
|
573
|
+
|
|
574
|
+
/* The live trace: instants in the mean line's colour at a lighter weight —
|
|
575
|
+
* a single sample is a quieter fact than a period mean. Runs split at
|
|
576
|
+
* dropouts; the break itself is the outage. */
|
|
577
|
+
.meteo-sample-trace {
|
|
578
|
+
fill: none;
|
|
579
|
+
stroke: var(--meteo-wind-mean, #0f7490);
|
|
580
|
+
stroke-width: 2;
|
|
581
|
+
stroke-linejoin: round;
|
|
582
|
+
stroke-linecap: round;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/* A one-sample run between gaps: still a measurement, drawn as a dot. */
|
|
586
|
+
.meteo-sample-dot {
|
|
587
|
+
fill: var(--meteo-wind-mean, #0f7490);
|
|
588
|
+
}
|
|
589
|
+
|
|
566
590
|
/* ---------- sparkline ---------- */
|
|
567
591
|
|
|
568
592
|
/* The history chart at word size. Inline content (a table cell, a
|