@thi.ng/hiccup-svg
Advanced tools
Comparing version 5.0.40 to 5.1.0
# Change Log | ||
- **Last updated**: 2023-12-18T13:41:20Z | ||
- **Last updated**: 2023-12-18T23:11:27Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,9 @@ | ||
## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@5.1.0) (2023-12-18) | ||
#### 🚀 Features | ||
- update convertTree() rounded rect handling ([6115a50](https://github.com/thi-ng/umbrella/commit/6115a50)) | ||
- use `r` attrib to derive rounded rect radius | ||
### [5.0.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-svg@5.0.32) (2023-11-09) | ||
@@ -14,0 +21,0 @@ |
@@ -102,3 +102,3 @@ import { implementsFunction } from "@thi.ng/checks/implements-function"; | ||
case "rect": { | ||
const r = tree[5] || 0; | ||
const r = tree[5] ?? attribs.r ?? 0; | ||
result = roundedRect( | ||
@@ -105,0 +105,0 @@ tree[2], |
{ | ||
"name": "@thi.ng/hiccup-svg", | ||
"version": "5.0.40", | ||
"version": "5.1.0", | ||
"description": "SVG element functions for @thi.ng/hiccup & related tooling", | ||
@@ -139,3 +139,3 @@ "type": "module", | ||
}, | ||
"gitHead": "25a42a81fac8603a1e440a7aa8bc343276211ff4\n" | ||
"gitHead": "b67c377b8cdd00aa6ff53e5b86b420739788fa15\n" | ||
} |
67101