@thi.ng/hiccup-svg 5.4.19 → 5.4.21

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-19T20:59:58Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 201 standalone projects, maintained as part
10
+ > This is one of 202 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/format.d.ts CHANGED
@@ -36,7 +36,7 @@ export declare const fpoints: (pts: Vec2Like[], sep?: string) => string;
36
36
  * number or an
37
37
  * [`IColor`](https://docs.thi.ng/umbrella/color/interfaces/IColor.html)
38
38
  * instance, it will be converted into a CSS color string using
39
- * [`css()`](https://docs.thi.ng/umbrella/color/functions/css.html).
39
+ * [`css`](https://docs.thi.ng/umbrella/color/functions/css.html).
40
40
  *
41
41
  * String color attribs prefixed with `$` are replaced with `url(#...)` refs
42
42
  * (used for referencing gradients).
@@ -57,7 +57,7 @@ export declare const fattribs: (attribs: Maybe<Attribs>, ...numericIDs: string[]
57
57
  * Attempts to convert a single color attrib value. If `col` is prefixed with
58
58
  * `$`, the value will be converted into a `url(#...)` reference. If not a
59
59
  * string already, it will be converted into a CSS color string using
60
- * [`css()`](https://docs.thi.ng/umbrella/color/functions/css.html)
60
+ * [`css`](https://docs.thi.ng/umbrella/color/functions/css.html)
61
61
  *
62
62
  * {@link fattribs}
63
63
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-svg",
3
- "version": "5.4.19",
3
+ "version": "5.4.21",
4
4
  "description": "SVG element functions for @thi.ng/hiccup & related tooling",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,14 +39,14 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/checks": "^3.6.22",
44
- "@thi.ng/color": "^5.7.23",
45
- "@thi.ng/prefixes": "^2.3.36"
42
+ "@thi.ng/api": "^8.11.21",
43
+ "@thi.ng/checks": "^3.6.24",
44
+ "@thi.ng/color": "^5.7.25",
45
+ "@thi.ng/prefixes": "^2.3.38"
46
46
  },
47
47
  "devDependencies": {
48
- "esbuild": "^0.24.2",
49
- "typedoc": "^0.27.6",
48
+ "esbuild": "^0.25.0",
49
+ "typedoc": "^0.27.7",
50
50
  "typescript": "^5.7.3"
51
51
  },
52
52
  "keywords": [
@@ -142,5 +142,5 @@
142
142
  "parent": "@thi.ng/hiccup",
143
143
  "year": 2016
144
144
  },
145
- "gitHead": "dcc1dbfa6eae31ac65e12843987b94d4a7edc144\n"
145
+ "gitHead": "bee617702ac61d093465b967f8f973dc566faa6b\n"
146
146
  }
package/svg.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { Attribs } from "./api.js";
2
2
  /**
3
- * Defines an <svg> root element with default XML namespaces. By default
3
+ * Defines an `<svg>` root element with default XML namespaces. By default
4
4
  * currently still defaults to SVG version to 1.1 to support Safari and other
5
5
  * legacy tooling (can be overridden).
6
6
  *
@@ -13,7 +13,8 @@ import type { Attribs } from "./api.js";
13
13
  * The root `<svg>` element will contain XML namespace declarations for these
14
14
  * namespaces:
15
15
  *
16
- * - [svg (default NS)](https://docs.thi.ng/umbrella/prefixes/variables/XML_SVG.html)
16
+ * - [svg (default
17
+ * NS)](https://docs.thi.ng/umbrella/prefixes/variables/XML_SVG.html)
17
18
  * - [`xmlns:inkscape`](https://docs.thi.ng/umbrella/prefixes/variables/XML_INKSCAPE.html)
18
19
  * - [`xmlns:xlink`](https://docs.thi.ng/umbrella/prefixes/variables/XML_XLINK.html)
19
20
  *