@thi.ng/hiccup-html 2.1.18 → 2.2.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.
- package/CHANGELOG.md +7 -1
- package/README.md +1 -1
- package/package.json +4 -4
- package/sections.d.ts +1 -0
- package/sections.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-12-10T14:04:38Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-html@2.2.0) (2022-11-30)
|
|
13
|
+
|
|
14
|
+
#### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- add comment(), related to [#367](https://github.com/thi-ng/umbrella/issues/367) ([fe952d5](https://github.com/thi-ng/umbrella/commit/fe952d5))
|
|
17
|
+
|
|
12
18
|
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-html@2.1.0) (2021-11-17)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-html",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.5.
|
|
37
|
+
"@thi.ng/api": "^8.5.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@microsoft/api-extractor": "^7.33.5",
|
|
41
|
-
"@thi.ng/testament": "^0.3.
|
|
41
|
+
"@thi.ng/testament": "^0.3.6",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"tools": "^0.0.1",
|
|
44
44
|
"typedoc": "^0.23.20",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
],
|
|
111
111
|
"year": 2020
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "5178ea1d7f4b2de86cf5101bdd73f6567518c0bd\n"
|
|
114
114
|
}
|
package/sections.d.ts
CHANGED
|
@@ -9,4 +9,5 @@ export interface BodyAttribs extends Attribs, BodyEventAttribs {
|
|
|
9
9
|
export declare const body: import("./def.js").ElementFactory<Partial<BodyAttribs>, any>;
|
|
10
10
|
export declare const address: import("./def.js").ElementFactory<Partial<Attribs>, any>, article: import("./def.js").ElementFactory<Partial<Attribs>, any>, aside: import("./def.js").ElementFactory<Partial<Attribs>, any>, footer: import("./def.js").ElementFactory<Partial<Attribs>, any>, header: import("./def.js").ElementFactory<Partial<Attribs>, any>, hgroup: import("./def.js").ElementFactory<Partial<Attribs>, any>, main: import("./def.js").ElementFactory<Partial<Attribs>, any>, nav: import("./def.js").ElementFactory<Partial<Attribs>, any>, noscript: import("./def.js").ElementFactory<Partial<Attribs>, any>, section: import("./def.js").ElementFactory<Partial<Attribs>, any>;
|
|
11
11
|
export declare const h1: import("./def.js").ElementFactory<Partial<Attribs>, any>, h2: import("./def.js").ElementFactory<Partial<Attribs>, any>, h3: import("./def.js").ElementFactory<Partial<Attribs>, any>, h4: import("./def.js").ElementFactory<Partial<Attribs>, any>, h5: import("./def.js").ElementFactory<Partial<Attribs>, any>, h6: import("./def.js").ElementFactory<Partial<Attribs>, any>;
|
|
12
|
+
export declare const comment: (...body: string[]) => string[];
|
|
12
13
|
//# sourceMappingURL=sections.d.ts.map
|
package/sections.js
CHANGED
|
@@ -14,3 +14,7 @@ export const [address, article, aside, footer, header, hgroup, main, nav, noscri
|
|
|
14
14
|
"section",
|
|
15
15
|
]);
|
|
16
16
|
export const [h1, h2, h3, h4, h5, h6] = [1, 2, 3, 4, 5, 6].map((i) => defElement("h" + i));
|
|
17
|
+
export const comment = (...body) => [
|
|
18
|
+
"__COMMENT__",
|
|
19
|
+
...body,
|
|
20
|
+
];
|