@angelrove/forecast-utils 1.1.6 → 1.1.7

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 CHANGED
@@ -517,11 +517,6 @@ SVG arrow indicating wind direction.
517
517
  | Param | Type | Description |
518
518
  | --- | --- | --- |
519
519
  | props | <code>Object</code> | Component props. |
520
-
521
- **Properties**
522
-
523
- | Name | Type | Description |
524
- | --- | --- | --- |
525
520
  | props.deg | <code>number</code> | Wind direction in degrees (0 = North, 90 = East, etc.). |
526
521
  | [props.size] | <code>string</code> | Tailwind CSS size class (e.g., 'size-10') |
527
522
  | [props.strokeWidth] | <code>number</code> | Stroke width of the arrow (range: 1–6). |
@@ -1,15 +1,17 @@
1
- /**
2
- * Wind direction arrow component (svg image).
3
- */
4
1
  /**
5
2
  * SVG arrow indicating wind direction.
6
3
  *
7
4
  * @component JSX
8
5
  * @param {Object} props - Component props.
9
- * @prop {number} props.deg - Wind direction in degrees (0 = North, 90 = East, etc.).
10
- * @prop {string} [props.size] - Tailwind CSS size class (e.g., 'size-10')
11
- * @prop {number} [props.strokeWidth] - Stroke width of the arrow (range: 1–6).
12
- * @prop {string} [props.className] - Additional CSS classes.
6
+ * @param {number} props.deg - Wind direction in degrees (0 = North, 90 = East, etc.).
7
+ * @param {string} [props.size] - Tailwind CSS size class (e.g., 'size-10')
8
+ * @param {number} [props.strokeWidth] - Stroke width of the arrow (range: 1–6).
9
+ * @param {string} [props.className] - Additional CSS classes.
13
10
  * @memberof module:Utils
14
11
  */
15
- export function WindArrow({ deg, size, strokeWidth, className, }: Object): any;
12
+ export function WindArrow({ deg, size, strokeWidth, className, }: {
13
+ deg: number;
14
+ size: string;
15
+ strokeWidth: number;
16
+ className: string;
17
+ }): any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Jose Angel Romero Vegas",
3
3
  "name": "@angelrove/forecast-utils",
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "description": "Utilities for obtaining weather and astronomy forecast data.",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
@@ -1,26 +1,12 @@
1
- // @ts-nocheck
2
- /**
3
- * Wind direction arrow component (svg image).
4
- */
5
-
6
- // /**
7
- // * @typedef {Object} WindArrowProps
8
- // * @property {number} props.deg - Wind direction in degrees
9
- // * @property {string} [props.size] - Size of the arrow (Tailwind CSS size: 'size-10')
10
- // * @property {number} [props.strokeWidth] - Stroke width of the arrow (1 to 6)
11
- // * @property {string} [props.className]
12
- // * @memberof module:Utils
13
- // */
14
-
15
1
  /**
16
2
  * SVG arrow indicating wind direction.
17
3
  *
18
4
  * @component JSX
19
5
  * @param {Object} props - Component props.
20
- * @prop {number} props.deg - Wind direction in degrees (0 = North, 90 = East, etc.).
21
- * @prop {string} [props.size] - Tailwind CSS size class (e.g., 'size-10')
22
- * @prop {number} [props.strokeWidth] - Stroke width of the arrow (range: 1–6).
23
- * @prop {string} [props.className] - Additional CSS classes.
6
+ * @param {number} props.deg - Wind direction in degrees (0 = North, 90 = East, etc.).
7
+ * @param {string} [props.size] - Tailwind CSS size class (e.g., 'size-10')
8
+ * @param {number} [props.strokeWidth] - Stroke width of the arrow (range: 1–6).
9
+ * @param {string} [props.className] - Additional CSS classes.
24
10
  * @memberof module:Utils
25
11
  */
26
12
  export function WindArrow({