@azohra/meteo.station 0.7.0 → 0.7.1

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.
Files changed (217) hide show
  1. package/dist/air.d.ts +4 -7
  2. package/dist/air.js +1 -2
  3. package/dist/client/climatology.d.ts +4 -7
  4. package/dist/client/climatology.js +1 -2
  5. package/dist/client/history.d.ts +14 -17
  6. package/dist/client/history.js +1 -2
  7. package/dist/client/live.d.ts +9 -11
  8. package/dist/client/live.js +1 -2
  9. package/dist/client/poll.d.ts +9 -12
  10. package/dist/client/poll.js +1 -2
  11. package/dist/client/stores.d.ts +8 -10
  12. package/dist/client/stores.js +1 -2
  13. package/dist/client/ticker.d.ts +1 -4
  14. package/dist/client/ticker.js +1 -2
  15. package/dist/climatology.d.ts +13 -15
  16. package/dist/climatology.js +1 -2
  17. package/dist/connectivity.d.ts +7 -10
  18. package/dist/connectivity.js +1 -2
  19. package/dist/contract-climatology.d.ts +11 -14
  20. package/dist/contract-climatology.js +1 -2
  21. package/dist/contract.d.ts +45 -48
  22. package/dist/contract.js +1 -2
  23. package/dist/derive.d.ts +24 -26
  24. package/dist/derive.js +1 -2
  25. package/dist/display.d.ts +6 -9
  26. package/dist/display.js +1 -2
  27. package/dist/elements/elements/AirExtremesElement.d.ts +2 -5
  28. package/dist/elements/elements/AirExtremesElement.js +1 -2
  29. package/dist/elements/elements/AirMatrixElement.d.ts +2 -5
  30. package/dist/elements/elements/AirMatrixElement.js +1 -2
  31. package/dist/elements/elements/ClimatologyDailyPatternElement.d.ts +2 -5
  32. package/dist/elements/elements/ClimatologyDailyPatternElement.js +1 -2
  33. package/dist/elements/elements/ClimatologyRoseElement.d.ts +2 -5
  34. package/dist/elements/elements/ClimatologyRoseElement.js +1 -2
  35. package/dist/elements/elements/CompassFanElement.d.ts +2 -5
  36. package/dist/elements/elements/CompassFanElement.js +1 -2
  37. package/dist/elements/elements/CurrentConditionsElement.d.ts +2 -5
  38. package/dist/elements/elements/CurrentConditionsElement.js +1 -2
  39. package/dist/elements/elements/DailyPatternElement.d.ts +2 -5
  40. package/dist/elements/elements/DailyPatternElement.js +1 -2
  41. package/dist/elements/elements/DialElement.d.ts +2 -5
  42. package/dist/elements/elements/DialElement.js +1 -2
  43. package/dist/elements/elements/FavorableShareElement.d.ts +2 -5
  44. package/dist/elements/elements/FavorableShareElement.js +1 -2
  45. package/dist/elements/elements/FreshnessBadgeElement.d.ts +2 -5
  46. package/dist/elements/elements/FreshnessBadgeElement.js +1 -2
  47. package/dist/elements/elements/RecentSummariesElement.d.ts +2 -5
  48. package/dist/elements/elements/RecentSummariesElement.js +1 -2
  49. package/dist/elements/elements/SparklineElement.d.ts +2 -5
  50. package/dist/elements/elements/SparklineElement.js +1 -2
  51. package/dist/elements/elements/StationCardElement.d.ts +6 -8
  52. package/dist/elements/elements/StationCardElement.js +1 -2
  53. package/dist/elements/elements/StationFeedElement.d.ts +2 -5
  54. package/dist/elements/elements/StationFeedElement.js +1 -2
  55. package/dist/elements/elements/StationStripElement.d.ts +2 -5
  56. package/dist/elements/elements/StationStripElement.js +1 -2
  57. package/dist/elements/elements/StationTableElement.d.ts +3 -6
  58. package/dist/elements/elements/StationTableElement.js +1 -2
  59. package/dist/elements/elements/TrendChartElement.d.ts +2 -5
  60. package/dist/elements/elements/TrendChartElement.js +1 -2
  61. package/dist/elements/elements/WindArrowElement.d.ts +2 -5
  62. package/dist/elements/elements/WindArrowElement.js +1 -2
  63. package/dist/elements/elements/WindHistoryChartElement.d.ts +2 -5
  64. package/dist/elements/elements/WindHistoryChartElement.js +1 -2
  65. package/dist/elements/elements/WindRoseElement.d.ts +2 -5
  66. package/dist/elements/elements/WindRoseElement.js +1 -2
  67. package/dist/elements/elements/atoms.d.ts +9 -11
  68. package/dist/elements/elements/atoms.js +1 -2
  69. package/dist/elements/index.d.ts +3 -5
  70. package/dist/elements/index.js +1 -2
  71. package/dist/elements/lib/ambient.d.ts +2 -5
  72. package/dist/elements/lib/ambient.js +1 -2
  73. package/dist/elements/lib/attributes.js +1 -2
  74. package/dist/elements/lib/base.d.ts +3 -6
  75. package/dist/elements/lib/base.js +1 -2
  76. package/dist/elements/lib/context.js +1 -2
  77. package/dist/elements/lib/fragments.js +1 -2
  78. package/dist/elements/lib/h.js +1 -2
  79. package/dist/elements/lib/pinned-cursor.js +1 -2
  80. package/dist/elements/lib/render.js +1 -2
  81. package/dist/elements/register.js +1 -2
  82. package/dist/endpoints.d.ts +6 -9
  83. package/dist/endpoints.js +1 -2
  84. package/dist/fixtures.d.ts +7 -10
  85. package/dist/fixtures.js +1 -2
  86. package/dist/format.d.ts +11 -14
  87. package/dist/format.js +1 -2
  88. package/dist/geometry.d.ts +36 -38
  89. package/dist/geometry.js +1 -2
  90. package/dist/instruments.d.ts +37 -40
  91. package/dist/instruments.js +1 -2
  92. package/dist/merge-current.d.ts +4 -7
  93. package/dist/merge-current.js +1 -2
  94. package/dist/react/components/AirExtremes.d.ts +2 -5
  95. package/dist/react/components/AirExtremes.js +1 -2
  96. package/dist/react/components/AirMatrix.d.ts +2 -5
  97. package/dist/react/components/AirMatrix.js +1 -2
  98. package/dist/react/components/ClimatologyDailyPattern.d.ts +2 -5
  99. package/dist/react/components/ClimatologyDailyPattern.js +1 -2
  100. package/dist/react/components/ClimatologyRose.d.ts +2 -5
  101. package/dist/react/components/ClimatologyRose.js +1 -2
  102. package/dist/react/components/CompassFan.d.ts +2 -5
  103. package/dist/react/components/CompassFan.js +1 -2
  104. package/dist/react/components/CurrentConditions.d.ts +2 -5
  105. package/dist/react/components/CurrentConditions.js +1 -2
  106. package/dist/react/components/DailyPattern.d.ts +2 -5
  107. package/dist/react/components/DailyPattern.js +1 -2
  108. package/dist/react/components/Dial.d.ts +2 -5
  109. package/dist/react/components/Dial.js +1 -2
  110. package/dist/react/components/FavorableShare.d.ts +2 -5
  111. package/dist/react/components/FavorableShare.js +1 -2
  112. package/dist/react/components/FreshnessBadge.d.ts +2 -5
  113. package/dist/react/components/FreshnessBadge.js +1 -2
  114. package/dist/react/components/Readout.d.ts +2 -5
  115. package/dist/react/components/Readout.js +1 -2
  116. package/dist/react/components/RecentSummaries.d.ts +2 -5
  117. package/dist/react/components/RecentSummaries.js +1 -2
  118. package/dist/react/components/SceneTree.js +1 -2
  119. package/dist/react/components/Sparkline.d.ts +2 -5
  120. package/dist/react/components/Sparkline.js +1 -2
  121. package/dist/react/components/StationCard.d.ts +6 -8
  122. package/dist/react/components/StationCard.js +1 -2
  123. package/dist/react/components/StationFeedProvider.d.ts +3 -6
  124. package/dist/react/components/StationFeedProvider.js +1 -2
  125. package/dist/react/components/StationStrip.d.ts +2 -5
  126. package/dist/react/components/StationStrip.js +1 -2
  127. package/dist/react/components/StationTable.d.ts +3 -6
  128. package/dist/react/components/StationTable.js +1 -2
  129. package/dist/react/components/TrendChart.d.ts +2 -5
  130. package/dist/react/components/TrendChart.js +1 -2
  131. package/dist/react/components/WindArrow.d.ts +2 -5
  132. package/dist/react/components/WindArrow.js +1 -2
  133. package/dist/react/components/WindHistoryChart.d.ts +2 -5
  134. package/dist/react/components/WindHistoryChart.js +1 -2
  135. package/dist/react/components/WindRose.d.ts +2 -5
  136. package/dist/react/components/WindRose.js +1 -2
  137. package/dist/react/components/WindSampleStrip.d.ts +2 -5
  138. package/dist/react/components/WindSampleStrip.js +1 -2
  139. package/dist/react/components/atoms.d.ts +9 -11
  140. package/dist/react/components/atoms.js +1 -2
  141. package/dist/react/hooks/useFreshness.d.ts +1 -4
  142. package/dist/react/hooks/useFreshness.js +1 -2
  143. package/dist/react/hooks/useMeasuredChartWidth.d.ts +2 -5
  144. package/dist/react/hooks/useMeasuredChartWidth.js +1 -2
  145. package/dist/react/hooks/usePolledJson.js +1 -2
  146. package/dist/react/hooks/useStation.d.ts +2 -5
  147. package/dist/react/hooks/useStation.js +1 -2
  148. package/dist/react/hooks/useStationClimatology.d.ts +2 -5
  149. package/dist/react/hooks/useStationClimatology.js +1 -2
  150. package/dist/react/hooks/useStationCurrent.d.ts +2 -5
  151. package/dist/react/hooks/useStationCurrent.js +1 -2
  152. package/dist/react/hooks/useStationFeed.d.ts +2 -5
  153. package/dist/react/hooks/useStationFeed.js +1 -2
  154. package/dist/react/hooks/useStationLive.d.ts +2 -5
  155. package/dist/react/hooks/useStationLive.js +1 -2
  156. package/dist/react/lib/cells.js +1 -2
  157. package/dist/react/lib/use-pinned-cursor.js +1 -2
  158. package/dist/samples.d.ts +8 -11
  159. package/dist/samples.js +1 -2
  160. package/dist/scene/air-extremes.js +1 -2
  161. package/dist/scene/air-matrix.js +1 -2
  162. package/dist/scene/atoms.js +1 -2
  163. package/dist/scene/card.js +1 -2
  164. package/dist/scene/cells.js +1 -2
  165. package/dist/scene/chart.d.ts +2 -5
  166. package/dist/scene/chart.js +1 -2
  167. package/dist/scene/climatology-pattern.js +1 -2
  168. package/dist/scene/climatology-rose.js +1 -2
  169. package/dist/scene/compass-fan.js +1 -2
  170. package/dist/scene/current.js +1 -2
  171. package/dist/scene/daily-pattern.js +1 -2
  172. package/dist/scene/dial-parts.js +1 -2
  173. package/dist/scene/dial.js +1 -2
  174. package/dist/scene/favorable-share.js +1 -2
  175. package/dist/scene/glyphs.js +1 -2
  176. package/dist/scene/node.js +1 -2
  177. package/dist/scene/recent-summaries.js +1 -2
  178. package/dist/scene/rose.js +1 -2
  179. package/dist/scene/sample-strip.js +1 -2
  180. package/dist/scene/sparkline.js +1 -2
  181. package/dist/scene/strip.js +1 -2
  182. package/dist/scene/table.js +1 -2
  183. package/dist/scene/trend.js +1 -2
  184. package/dist/scene/wind-history.js +1 -2
  185. package/dist/scene/wind-plot.js +1 -2
  186. package/dist/server/adapter.d.ts +7 -10
  187. package/dist/server/adapter.js +1 -2
  188. package/dist/server/adapters/campbell.d.ts +11 -13
  189. package/dist/server/adapters/campbell.js +1 -2
  190. package/dist/server/adapters/ecowitt.d.ts +4 -7
  191. package/dist/server/adapters/ecowitt.js +1 -2
  192. package/dist/server/adapters/tempest.d.ts +4 -7
  193. package/dist/server/adapters/tempest.js +1 -2
  194. package/dist/server/adapters/windnerd-climatology.d.ts +5 -8
  195. package/dist/server/adapters/windnerd-climatology.js +1 -2
  196. package/dist/server/adapters/windnerd-live.d.ts +2 -5
  197. package/dist/server/adapters/windnerd-live.js +1 -2
  198. package/dist/server/adapters/windnerd.d.ts +22 -25
  199. package/dist/server/adapters/windnerd.js +1 -2
  200. package/dist/server/config.d.ts +18 -20
  201. package/dist/server/config.js +1 -2
  202. package/dist/server/environment.d.ts +20 -22
  203. package/dist/server/environment.js +1 -2
  204. package/dist/server/feed.d.ts +19 -21
  205. package/dist/server/feed.js +1 -2
  206. package/dist/server/handler.d.ts +4 -7
  207. package/dist/server/handler.js +1 -2
  208. package/dist/server/hologram.d.ts +9 -12
  209. package/dist/server/hologram.js +1 -2
  210. package/dist/server/live.d.ts +2 -5
  211. package/dist/server/live.js +1 -2
  212. package/dist/sse.js +1 -2
  213. package/dist/strings.d.ts +8 -11
  214. package/dist/strings.js +1 -2
  215. package/dist/windnerd.d.ts +4 -7
  216. package/dist/windnerd.js +1 -2
  217. package/package.json +9 -9
@@ -2,16 +2,13 @@ import { LiveSamples, Station } from "../../contract.js";
2
2
  import { StationStringOverrides } from "../../strings.js";
3
3
  import { FavorableDirection } from "../../instruments.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/CompassFan.d.ts
6
5
  /** The live compass: the newest sample as the solid needle, every sample of
7
6
  * the rolling window as a faint fan aged by tenth — a tight fan means
8
7
  * steady direction. */
9
- declare function CompassFan({ samples, station: stationProp, stationId, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
8
+ export declare function CompassFan({ samples, station: stationProp, stationId, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
10
9
  samples?: LiveSamples | null;
11
10
  station?: Station;
12
11
  stationId?: string;
13
12
  favorableDirections?: FavorableDirection[] | null;
14
13
  strings?: StationStringOverrides;
15
- }): import("react").ReactNode;
16
- //#endregion
17
- export { CompassFan };
14
+ }): import("react").ReactNode;
@@ -3,7 +3,7 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { compassFanScene, compassFanSource } from "../../scene/compass-fan.js";
4
4
  import { renderOptional } from "./SceneTree.js";
5
5
  import { resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/CompassFan.tsx
6
+ // src/react/components/CompassFan.tsx
7
7
  /** The live compass: the newest sample as the solid needle, every sample of
8
8
  * the rolling window as a faint fan aged by tenth — a tight fan means
9
9
  * steady direction. */
@@ -22,5 +22,4 @@ function CompassFan({ samples, station: stationProp, stationId, favorableDirecti
22
22
  words
23
23
  }));
24
24
  }
25
- //#endregion
26
25
  export { CompassFan };
@@ -2,8 +2,7 @@ import { Station } from "../../contract.js";
2
2
  import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/CurrentConditions.d.ts
6
- declare function CurrentConditions({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, thresholds: thresholdsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }: {
5
+ export declare function CurrentConditions({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, thresholds: thresholdsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }: {
7
6
  station?: Station;
8
7
  stationId?: string;
9
8
  servedAt?: string | null;
@@ -12,6 +11,4 @@ declare function CurrentConditions({ station: stationProp, stationId, servedAt:
12
11
  unit?: SpeedUnit;
13
12
  strings?: StationStringOverrides;
14
13
  formatTime?: FormatTime;
15
- }): import("react").ReactNode;
16
- //#endregion
17
- export { CurrentConditions };
14
+ }): import("react").ReactNode;
@@ -6,7 +6,7 @@ import { renderScene } from "./SceneTree.js";
6
6
  import { requireResolved, resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
7
7
  import { useFreshness } from "../hooks/useFreshness.js";
8
8
  import { useId } from "react";
9
- //#region src/react/components/CurrentConditions.tsx
9
+ // src/react/components/CurrentConditions.tsx
10
10
  function CurrentConditions({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, thresholds: thresholdsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }) {
11
11
  const context = useStationFeedContext();
12
12
  const bezelId = useId();
@@ -31,5 +31,4 @@ function CurrentConditions({ station: stationProp, stationId, servedAt: servedAt
31
31
  words
32
32
  }));
33
33
  }
34
- //#endregion
35
34
  export { CurrentConditions };
@@ -3,8 +3,7 @@ import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
- //#region src/react/components/DailyPattern.d.ts
7
- declare function DailyPattern({ station: stationProp, stationId, points, slotMinutes, utcOffsetMinutes, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, strings: stringsProp }: {
6
+ export declare function DailyPattern({ station: stationProp, stationId, points, slotMinutes, utcOffsetMinutes, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, strings: stringsProp }: {
8
7
  station?: Station;
9
8
  stationId?: string;
10
9
  points?: HistoryPoint[];
@@ -15,6 +14,4 @@ declare function DailyPattern({ station: stationProp, stationId, points, slotMin
15
14
  unit?: SpeedUnit;
16
15
  plotHeight?: number;
17
16
  strings?: StationStringOverrides;
18
- }): import("react").JSX.Element;
19
- //#endregion
20
- export { DailyPattern };
17
+ }): import("react").JSX.Element;
@@ -6,7 +6,7 @@ import { renderChildren } from "./SceneTree.js";
6
6
  import { resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
7
7
  import { useEffect, useId, useRef, useState } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
- //#region src/react/components/DailyPattern.tsx
9
+ // src/react/components/DailyPattern.tsx
10
10
  function DailyPattern({ station: stationProp, stationId, points, slotMinutes = 180, utcOffsetMinutes = 0, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, strings: stringsProp }) {
11
11
  const context = useStationFeedContext();
12
12
  const station = stationProp ?? (points == null ? resolveStation(context, stationId) ?? void 0 : void 0);
@@ -75,5 +75,4 @@ function MeasuredDailyPattern({ favorableDirections, periodMinutes, plotHeight,
75
75
  });
76
76
  return renderChildren(scene);
77
77
  }
78
- //#endregion
79
78
  export { DailyPattern };
@@ -3,8 +3,7 @@ import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
- //#region src/react/components/Dial.d.ts
7
- declare function Dial({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, size, calmWord, strings: stringsProp }: {
6
+ export declare function Dial({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, size, calmWord, strings: stringsProp }: {
8
7
  station?: Station;
9
8
  stationId?: string;
10
9
  thresholds?: SpeedThresholds | null;
@@ -13,6 +12,4 @@ declare function Dial({ station: stationProp, stationId, thresholds: thresholdsP
13
12
  size?: number;
14
13
  calmWord?: boolean;
15
14
  strings?: StationStringOverrides;
16
- }): import("react").ReactNode;
17
- //#endregion
18
- export { Dial };
15
+ }): import("react").ReactNode;
@@ -5,7 +5,7 @@ import { dialScene } from "../../scene/dial.js";
5
5
  import { renderScene } from "./SceneTree.js";
6
6
  import { requireResolved, resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
7
7
  import { useId } from "react";
8
- //#region src/react/components/Dial.tsx
8
+ // src/react/components/Dial.tsx
9
9
  function Dial({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, size = 160, calmWord = true, strings: stringsProp }) {
10
10
  const context = useStationFeedContext();
11
11
  const station = requireResolved("Dial", "station", stationProp ?? resolveStation(context, stationId));
@@ -27,5 +27,4 @@ function Dial({ station: stationProp, stationId, thresholds: thresholdsProp, fav
27
27
  words
28
28
  }));
29
29
  }
30
- //#endregion
31
30
  export { Dial };
@@ -2,13 +2,10 @@ import { HistoryPoint, Station } from "../../contract.js";
2
2
  import { StationStringOverrides } from "../../strings.js";
3
3
  import { FavorableDirection } from "../../instruments.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/FavorableShare.d.ts
6
- declare function FavorableShare({ station: stationProp, stationId, points, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
5
+ export declare function FavorableShare({ station: stationProp, stationId, points, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
7
6
  station?: Station;
8
7
  stationId?: string;
9
8
  points?: HistoryPoint[];
10
9
  favorableDirections?: FavorableDirection[] | null;
11
10
  strings?: StationStringOverrides;
12
- }): import("react").ReactNode;
13
- //#endregion
14
- export { FavorableShare };
11
+ }): import("react").ReactNode;
@@ -3,7 +3,7 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { favorableShareScene, favorableShareSource } from "../../scene/favorable-share.js";
4
4
  import { renderOptional } from "./SceneTree.js";
5
5
  import { resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/FavorableShare.tsx
6
+ // src/react/components/FavorableShare.tsx
7
7
  function FavorableShare({ station: stationProp, stationId, points, favorableDirections: favorableDirectionsProp, strings: stringsProp }) {
8
8
  const context = useStationFeedContext();
9
9
  const station = stationProp ?? (points == null ? resolveStation(context, stationId) ?? void 0 : void 0);
@@ -18,5 +18,4 @@ function FavorableShare({ station: stationProp, stationId, points, favorableDire
18
18
  words
19
19
  }));
20
20
  }
21
- //#endregion
22
21
  export { FavorableShare };
@@ -1,10 +1,7 @@
1
1
  import { FreshnessStatus } from "../../derive.js";
2
2
  import { StationStringOverrides } from "../../strings.js";
3
3
  import "../../index.js";
4
- //#region src/react/components/FreshnessBadge.d.ts
5
- declare function FreshnessBadge({ status, strings }: {
4
+ export declare function FreshnessBadge({ status, strings }: {
6
5
  status: FreshnessStatus;
7
6
  strings?: StationStringOverrides;
8
- }): import("react").ReactNode;
9
- //#endregion
10
- export { FreshnessBadge };
7
+ }): import("react").ReactNode;
@@ -3,11 +3,10 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { freshnessBadgeNode } from "../../scene/glyphs.js";
4
4
  import { renderScene } from "./SceneTree.js";
5
5
  import { useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/FreshnessBadge.tsx
6
+ // src/react/components/FreshnessBadge.tsx
7
7
  function FreshnessBadge({ status, strings }) {
8
8
  const context = useStationFeedContext();
9
9
  const { words } = resolveDisplay(context, { strings });
10
10
  return renderScene(freshnessBadgeNode(status, words));
11
11
  }
12
- //#endregion
13
12
  export { FreshnessBadge };
@@ -1,12 +1,9 @@
1
1
  import { ReadoutPart } from "../../scene/chart.js";
2
2
  import "../../scene/index.js";
3
- //#region src/react/components/Readout.d.ts
4
- declare function Readout({ ariaLabel, ariaLive, className, strong, parts }: {
3
+ export declare function Readout({ ariaLabel, ariaLive, className, strong, parts }: {
5
4
  ariaLabel: string;
6
5
  ariaLive: "off" | "polite";
7
6
  className: string;
8
7
  strong: string;
9
8
  parts: ReadoutPart[];
10
- }): import("react").JSX.Element;
11
- //#endregion
12
- export { Readout };
9
+ }): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { WindArrow } from "./WindArrow.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region src/react/components/Readout.tsx
4
+ // src/react/components/Readout.tsx
5
5
  function Readout({ ariaLabel, ariaLive, className, strong, parts }) {
6
6
  return /* @__PURE__ */ jsxs("output", {
7
7
  "aria-label": ariaLabel,
@@ -10,5 +10,4 @@ function Readout({ ariaLabel, ariaLive, className, strong, parts }) {
10
10
  children: [/* @__PURE__ */ jsx("strong", { children: strong }), /* @__PURE__ */ jsx("span", { children: parts.map((part, index) => part.kind === "arrow" ? /* @__PURE__ */ jsx(WindArrow, { deg: part.deg }, index) : part.text) })]
11
11
  });
12
12
  }
13
- //#endregion
14
13
  export { Readout };
@@ -3,16 +3,13 @@ import { SpeedUnit } from "../../derive.js";
3
3
  import { StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
- //#region src/react/components/RecentSummaries.d.ts
7
6
  /** The source's own step digests as summary panels: per window, the
8
7
  * average, gust, and lull beside one small arrow per step. */
9
- declare function RecentSummaries({ summaries, station: stationProp, stationId, favorableDirections: favorableDirectionsProp, unit: unitProp, strings: stringsProp }: {
8
+ export declare function RecentSummaries({ summaries, station: stationProp, stationId, favorableDirections: favorableDirectionsProp, unit: unitProp, strings: stringsProp }: {
10
9
  summaries?: RecentSummary[] | null;
11
10
  station?: Station;
12
11
  stationId?: string;
13
12
  favorableDirections?: FavorableDirection[] | null;
14
13
  unit?: SpeedUnit;
15
14
  strings?: StationStringOverrides;
16
- }): import("react").ReactNode;
17
- //#endregion
18
- export { RecentSummaries };
15
+ }): import("react").ReactNode;
@@ -3,7 +3,7 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { recentSummariesScene } from "../../scene/recent-summaries.js";
4
4
  import { renderOptional } from "./SceneTree.js";
5
5
  import { resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/RecentSummaries.tsx
6
+ // src/react/components/RecentSummaries.tsx
7
7
  /** The source's own step digests as summary panels: per window, the
8
8
  * average, gust, and lull beside one small arrow per step. */
9
9
  function RecentSummaries({ summaries, station: stationProp, stationId, favorableDirections: favorableDirectionsProp, unit: unitProp, strings: stringsProp }) {
@@ -22,5 +22,4 @@ function RecentSummaries({ summaries, station: stationProp, stationId, favorable
22
22
  words
23
23
  }));
24
24
  }
25
- //#endregion
26
25
  export { RecentSummaries };
@@ -1,5 +1,5 @@
1
1
  import { createElement } from "react";
2
- //#region src/react/components/SceneTree.tsx
2
+ // src/react/components/SceneTree.tsx
3
3
  function reactName(name) {
4
4
  if (name === "class") return "className";
5
5
  if (name.startsWith("aria-") || name.startsWith("data-") || !name.includes("-")) return name;
@@ -34,5 +34,4 @@ function renderOptional(node) {
34
34
  function renderChildren(children) {
35
35
  return children.map(renderChild);
36
36
  }
37
- //#endregion
38
37
  export { renderChild, renderChildren, renderOptional, renderScene };
@@ -2,8 +2,7 @@ import { Station } from "../../contract.js";
2
2
  import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { StationStringOverrides } from "../../strings.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/Sparkline.d.ts
6
- declare function Sparkline({ station: stationProp, stationId, width, height, showBand, thresholds: thresholdsProp, strings: stringsProp }: {
5
+ export declare function Sparkline({ station: stationProp, stationId, width, height, showBand, thresholds: thresholdsProp, strings: stringsProp }: {
7
6
  station?: Station;
8
7
  stationId?: string;
9
8
  width?: number;
@@ -12,6 +11,4 @@ declare function Sparkline({ station: stationProp, stationId, width, height, sho
12
11
  thresholds?: SpeedThresholds | null;
13
12
  unit?: SpeedUnit;
14
13
  strings?: StationStringOverrides;
15
- }): import("react").ReactNode;
16
- //#endregion
17
- export { Sparkline };
14
+ }): import("react").ReactNode;
@@ -3,7 +3,7 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { sparklineScene } from "../../scene/sparkline.js";
4
4
  import { renderScene } from "./SceneTree.js";
5
5
  import { requireResolved, resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/Sparkline.tsx
6
+ // src/react/components/Sparkline.tsx
7
7
  function Sparkline({ station: stationProp, stationId, width = 120, height = 32, showBand = true, thresholds: thresholdsProp, strings: stringsProp }) {
8
8
  const context = useStationFeedContext();
9
9
  const station = requireResolved("Sparkline", "station", stationProp ?? resolveStation(context, stationId));
@@ -20,5 +20,4 @@ function Sparkline({ station: stationProp, stationId, width = 120, height = 32,
20
20
  words
21
21
  }));
22
22
  }
23
- //#endregion
24
23
  export { Sparkline };
@@ -3,7 +3,6 @@ import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import "../../index.js";
5
5
  import { ReactNode } from "react";
6
- //#region src/react/components/StationCard.d.ts
7
6
  declare function StationCardRoot({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, thresholds: thresholdsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp, children }: {
8
7
  station?: Station;
9
8
  stationId?: string;
@@ -15,32 +14,31 @@ declare function StationCardRoot({ station: stationProp, stationId, servedAt: se
15
14
  formatTime?: FormatTime;
16
15
  children?: ReactNode;
17
16
  }): import("react").JSX.Element;
18
- declare function StationCardHeader({ strings }?: {
17
+ export declare function StationCardHeader({ strings }?: {
19
18
  strings?: StationStringOverrides;
20
19
  }): ReactNode;
21
- declare function StationCardInstrument({ thresholds, unit, strings, formatTime }?: {
20
+ export declare function StationCardInstrument({ thresholds, unit, strings, formatTime }?: {
22
21
  thresholds?: SpeedThresholds | null;
23
22
  unit?: SpeedUnit;
24
23
  strings?: StationStringOverrides;
25
24
  formatTime?: FormatTime;
26
25
  }): import("react").JSX.Element;
27
- declare function StationCardChart({ thresholds, unit, plotHeight, strings, formatTime }?: {
26
+ export declare function StationCardChart({ thresholds, unit, plotHeight, strings, formatTime }?: {
28
27
  thresholds?: SpeedThresholds | null;
29
28
  unit?: SpeedUnit;
30
29
  plotHeight?: number;
31
30
  strings?: StationStringOverrides;
32
31
  formatTime?: FormatTime;
33
32
  }): import("react").JSX.Element;
34
- declare function StationCardSummary({ unit, strings, formatTime }?: {
33
+ export declare function StationCardSummary({ unit, strings, formatTime }?: {
35
34
  unit?: SpeedUnit;
36
35
  strings?: StationStringOverrides;
37
36
  formatTime?: FormatTime;
38
37
  }): ReactNode;
39
- declare const StationCard: typeof StationCardRoot & {
38
+ export declare const StationCard: typeof StationCardRoot & {
40
39
  Header: typeof StationCardHeader;
41
40
  Instrument: typeof StationCardInstrument;
42
41
  Chart: typeof StationCardChart;
43
42
  Summary: typeof StationCardSummary;
44
43
  };
45
- //#endregion
46
- export { StationCard, StationCardChart, StationCardHeader, StationCardInstrument, StationCardSummary };
44
+ export {};
@@ -10,7 +10,7 @@ import { CurrentConditions } from "./CurrentConditions.js";
10
10
  import { WindHistoryChart } from "./WindHistoryChart.js";
11
11
  import { createContext, useContext } from "react";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
- //#region src/react/components/StationCard.tsx
13
+ // src/react/components/StationCard.tsx
14
14
  const StationCardContext = createContext(null);
15
15
  function useStationCardContext(subcomponent) {
16
16
  const context = useContext(StationCardContext);
@@ -96,5 +96,4 @@ const StationCard = Object.assign(StationCardRoot, {
96
96
  Chart: StationCardChart,
97
97
  Summary: StationCardSummary
98
98
  });
99
- //#endregion
100
99
  export { StationCard, StationCardChart, StationCardHeader, StationCardInstrument, StationCardSummary };
@@ -4,8 +4,7 @@ import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
6
  import { ReactNode } from "react";
7
- //#region src/react/components/StationFeedProvider.d.ts
8
- type StationFeedContextValue = {
7
+ export type StationFeedContextValue = {
9
8
  feed: StationFeed | null;
10
9
  receivedAtMs: number | null;
11
10
  strings: StationStringOverrides | undefined;
@@ -14,7 +13,7 @@ type StationFeedContextValue = {
14
13
  thresholds: SpeedThresholds | undefined;
15
14
  favorableDirections: FavorableDirection[] | undefined;
16
15
  };
17
- declare function StationFeedProvider({ feed, receivedAtMs, strings, unit, formatTime, thresholds, favorableDirections, locale, children }: {
16
+ export declare function StationFeedProvider({ feed, receivedAtMs, strings, unit, formatTime, thresholds, favorableDirections, locale, children }: {
18
17
  feed: StationFeed | null;
19
18
  receivedAtMs: number | null;
20
19
  strings?: StationStringOverrides;
@@ -25,6 +24,4 @@ declare function StationFeedProvider({ feed, receivedAtMs, strings, unit, format
25
24
  locale?: string;
26
25
  children?: ReactNode;
27
26
  }): import("react").JSX.Element;
28
- declare function useStationFeedContext(): StationFeedContextValue | null;
29
- //#endregion
30
- export { StationFeedContextValue, StationFeedProvider, useStationFeedContext };
27
+ export declare function useStationFeedContext(): StationFeedContextValue | null;
@@ -3,7 +3,7 @@ import { localeFormatTime } from "../../strings.js";
3
3
  import { requireResolved as requireResolved$1, resolveStation as resolveStation$1 } from "../../display.js";
4
4
  import { createContext, useContext, useMemo } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region src/react/components/StationFeedProvider.tsx
6
+ // src/react/components/StationFeedProvider.tsx
7
7
  const StationFeedContext = createContext(null);
8
8
  function StationFeedProvider({ feed, receivedAtMs, strings, unit, formatTime, thresholds, favorableDirections, locale, children }) {
9
9
  const resolvedFormatTime = formatTime ?? (locale == null ? void 0 : localeFormatTime(locale));
@@ -38,5 +38,4 @@ function resolveStation(context, stationId) {
38
38
  function requireResolved(component, what, value) {
39
39
  return requireResolved$1(component, what, value, "render inside <StationFeedProvider> with a feed");
40
40
  }
41
- //#endregion
42
41
  export { StationFeedProvider, requireResolved, resolveStation, useStationFeedContext };
@@ -2,8 +2,7 @@ import { Station } from "../../contract.js";
2
2
  import { SpeedUnit } from "../../derive.js";
3
3
  import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/StationStrip.d.ts
6
- declare function StationStrip({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }: {
5
+ export declare function StationStrip({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }: {
7
6
  station?: Station;
8
7
  stationId?: string;
9
8
  servedAt?: string | null;
@@ -11,6 +10,4 @@ declare function StationStrip({ station: stationProp, stationId, servedAt: serve
11
10
  unit?: SpeedUnit;
12
11
  strings?: StationStringOverrides;
13
12
  formatTime?: FormatTime;
14
- }): import("react").ReactNode;
15
- //#endregion
16
- export { StationStrip };
13
+ }): import("react").ReactNode;
@@ -5,7 +5,7 @@ import { stationStripScene } from "../../scene/strip.js";
5
5
  import { renderScene } from "./SceneTree.js";
6
6
  import { requireResolved, resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
7
7
  import { useFreshness } from "../hooks/useFreshness.js";
8
- //#region src/react/components/StationStrip.tsx
8
+ // src/react/components/StationStrip.tsx
9
9
  function StationStrip({ station: stationProp, stationId, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp }) {
10
10
  const context = useStationFeedContext();
11
11
  const station = requireResolved("StationStrip", "station", stationProp ?? resolveStation(context, stationId));
@@ -25,5 +25,4 @@ function StationStrip({ station: stationProp, stationId, servedAt: servedAtProp,
25
25
  words
26
26
  }));
27
27
  }
28
- //#endregion
29
28
  export { StationStrip };
@@ -3,9 +3,8 @@ import { SpeedUnit } from "../../derive.js";
3
3
  import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import "../../index.js";
5
5
  import { ReactNode } from "react";
6
- //#region src/react/components/StationTable.d.ts
7
- type StationMetaRenderer = (station: Station) => ReactNode;
8
- declare function StationTable({ stations: stationsProp, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp, stationMeta }: {
6
+ export type StationMetaRenderer = (station: Station) => ReactNode;
7
+ export declare function StationTable({ stations: stationsProp, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp, stationMeta }: {
9
8
  stations?: readonly Station[];
10
9
  servedAt?: string;
11
10
  receivedAtMs?: number | null;
@@ -13,6 +12,4 @@ declare function StationTable({ stations: stationsProp, servedAt: servedAtProp,
13
12
  strings?: StationStringOverrides;
14
13
  formatTime?: FormatTime;
15
14
  stationMeta?: StationMetaRenderer;
16
- }): import("react").JSX.Element;
17
- //#endregion
18
- export { StationMetaRenderer, StationTable };
15
+ }): import("react").JSX.Element;
@@ -7,7 +7,7 @@ import { requireResolved, useStationFeedContext } from "./StationFeedProvider.js
7
7
  import { useFreshness } from "../hooks/useFreshness.js";
8
8
  import { StationNameLink } from "../lib/cells.js";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- //#region src/react/components/StationTable.tsx
10
+ // src/react/components/StationTable.tsx
11
11
  function StationTable({ stations: stationsProp, servedAt: servedAtProp, receivedAtMs: receivedAtMsProp, unit: unitProp, strings: stringsProp, formatTime: formatTimeProp, stationMeta }) {
12
12
  const context = useStationFeedContext();
13
13
  const stations = requireResolved("StationTable", "stations", stationsProp ?? context?.feed?.stations);
@@ -57,5 +57,4 @@ function TableRow({ formatTime, receivedAtMs, servedAt, station, stationMeta, un
57
57
  }))]
58
58
  });
59
59
  }
60
- //#endregion
61
60
  export { StationTable };
@@ -2,13 +2,10 @@ import { Station } from "../../contract.js";
2
2
  import { FormatTime, StationStringOverrides } from "../../strings.js";
3
3
  import { TrendSeries } from "../../geometry.js";
4
4
  import "../../index.js";
5
- //#region src/react/components/TrendChart.d.ts
6
- declare function TrendChart({ station: stationProp, stationId, series, strings: stringsProp, formatTime: formatTimeProp }: {
5
+ export declare function TrendChart({ station: stationProp, stationId, series, strings: stringsProp, formatTime: formatTimeProp }: {
7
6
  station?: Station;
8
7
  stationId?: string;
9
8
  series: TrendSeries;
10
9
  strings?: StationStringOverrides;
11
10
  formatTime?: FormatTime;
12
- }): import("react").JSX.Element | null;
13
- //#endregion
14
- export { TrendChart };
11
+ }): import("react").JSX.Element | null;
@@ -8,7 +8,7 @@ import { requireResolved, resolveStation, useStationFeedContext } from "./Statio
8
8
  import { usePinnedCursor } from "../lib/use-pinned-cursor.js";
9
9
  import { useEffect, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
- //#region src/react/components/TrendChart.tsx
11
+ // src/react/components/TrendChart.tsx
12
12
  function TrendChart({ station: stationProp, stationId, series, strings: stringsProp, formatTime: formatTimeProp }) {
13
13
  const context = useStationFeedContext();
14
14
  const station = requireResolved("TrendChart", "station", stationProp ?? resolveStation(context, stationId));
@@ -74,5 +74,4 @@ function MeasuredTrend({ formatTime, history, series, stationName, width, words
74
74
  onPointerMove: pinned.handlePointerMove
75
75
  }))] });
76
76
  }
77
- //#endregion
78
77
  export { TrendChart };
@@ -1,7 +1,4 @@
1
- //#region src/react/components/WindArrow.d.ts
2
- declare function WindArrow({ deg, size }: {
1
+ export declare function WindArrow({ deg, size }: {
3
2
  deg: number;
4
3
  size?: number;
5
- }): import("react").ReactNode;
6
- //#endregion
7
- export { WindArrow };
4
+ }): import("react").ReactNode;
@@ -1,9 +1,8 @@
1
1
  "use client";
2
2
  import { windArrowNode } from "../../scene/glyphs.js";
3
3
  import { renderScene } from "./SceneTree.js";
4
- //#region src/react/components/WindArrow.tsx
4
+ // src/react/components/WindArrow.tsx
5
5
  function WindArrow({ deg, size = 12 }) {
6
6
  return renderScene(windArrowNode(deg, size));
7
7
  }
8
- //#endregion
9
8
  export { WindArrow };
@@ -3,8 +3,7 @@ import { SpeedThresholds, SpeedUnit } from "../../derive.js";
3
3
  import { FormatTime, StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
- //#region src/react/components/WindHistoryChart.d.ts
7
- declare function WindHistoryChart({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, windowHours, compareOffsetDays, nightShading, strings: stringsProp, formatTime: formatTimeProp }: {
6
+ export declare function WindHistoryChart({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, windowHours, compareOffsetDays, nightShading, strings: stringsProp, formatTime: formatTimeProp }: {
8
7
  station?: Station;
9
8
  stationId?: string;
10
9
  thresholds?: SpeedThresholds | null;
@@ -18,6 +17,4 @@ declare function WindHistoryChart({ station: stationProp, stationId, thresholds:
18
17
  nightShading?: boolean;
19
18
  strings?: StationStringOverrides;
20
19
  formatTime?: FormatTime;
21
- }): import("react").JSX.Element | null;
22
- //#endregion
23
- export { WindHistoryChart };
20
+ }): import("react").JSX.Element | null;
@@ -9,7 +9,7 @@ import { Readout } from "./Readout.js";
9
9
  import { useMeasuredChartWidth } from "../hooks/useMeasuredChartWidth.js";
10
10
  import { useId, useRef } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
- //#region src/react/components/WindHistoryChart.tsx
12
+ // src/react/components/WindHistoryChart.tsx
13
13
  function WindHistoryChart({ station: stationProp, stationId, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, unit: unitProp, plotHeight, windowHours, compareOffsetDays, nightShading = false, strings: stringsProp, formatTime: formatTimeProp }) {
14
14
  const context = useStationFeedContext();
15
15
  const station = requireResolved("WindHistoryChart", "station", stationProp ?? resolveStation(context, stationId));
@@ -82,5 +82,4 @@ function MeasuredChart({ compareOffsetDays, favorableDirections, formatTime, his
82
82
  onPointerMove: pinned.handlePointerMove
83
83
  }))] });
84
84
  }
85
- //#endregion
86
85
  export { WindHistoryChart };
@@ -3,8 +3,7 @@ import { SpeedThresholds } from "../../derive.js";
3
3
  import { StationStringOverrides } from "../../strings.js";
4
4
  import { FavorableDirection } from "../../instruments.js";
5
5
  import "../../index.js";
6
- //#region src/react/components/WindRose.d.ts
7
- declare function WindRose({ station: stationProp, stationId, points, sectorCount, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
6
+ export declare function WindRose({ station: stationProp, stationId, points, sectorCount, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, strings: stringsProp }: {
8
7
  station?: Station;
9
8
  stationId?: string;
10
9
  points?: HistoryPoint[];
@@ -12,6 +11,4 @@ declare function WindRose({ station: stationProp, stationId, points, sectorCount
12
11
  thresholds?: SpeedThresholds | null;
13
12
  favorableDirections?: FavorableDirection[] | null;
14
13
  strings?: StationStringOverrides;
15
- }): import("react").ReactNode;
16
- //#endregion
17
- export { WindRose };
14
+ }): import("react").ReactNode;
@@ -3,7 +3,7 @@ import { resolveDisplay } from "../../display.js";
3
3
  import { windRoseScene, windRoseSource } from "../../scene/rose.js";
4
4
  import { renderScene } from "./SceneTree.js";
5
5
  import { resolveStation, useStationFeedContext } from "./StationFeedProvider.js";
6
- //#region src/react/components/WindRose.tsx
6
+ // src/react/components/WindRose.tsx
7
7
  function WindRose({ station: stationProp, stationId, points, sectorCount = 16, thresholds: thresholdsProp, favorableDirections: favorableDirectionsProp, strings: stringsProp }) {
8
8
  const context = useStationFeedContext();
9
9
  const station = stationProp ?? (points == null ? resolveStation(context, stationId) ?? void 0 : void 0);
@@ -21,5 +21,4 @@ function WindRose({ station: stationProp, stationId, points, sectorCount = 16, t
21
21
  words
22
22
  }));
23
23
  }
24
- //#endregion
25
24
  export { WindRose };