@thi.ng/hiccup-html 2.1.2 → 2.1.5
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 +1 -1
- package/README.md +1 -1
- package/def.d.ts +2 -2
- package/def.js +2 -2
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
package/def.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ export interface ElementFactory<T, B> {
|
|
|
26
26
|
* supported attributes and children. See {@link ElementFactory} for
|
|
27
27
|
* supported call formats of the resulting function..
|
|
28
28
|
*
|
|
29
|
-
* @param tag
|
|
30
|
-
* @param baseAttribs
|
|
29
|
+
* @param tag -
|
|
30
|
+
* @param baseAttribs -
|
|
31
31
|
*/
|
|
32
32
|
export declare const defElement: <T = Partial<Attribs>, B = any>(tag: string, baseAttribs?: Partial<T> | undefined) => ElementFactory<T, B>;
|
|
33
33
|
/**
|
package/def.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* supported attributes and children. See {@link ElementFactory} for
|
|
5
5
|
* supported call formats of the resulting function..
|
|
6
6
|
*
|
|
7
|
-
* @param tag
|
|
8
|
-
* @param baseAttribs
|
|
7
|
+
* @param tag -
|
|
8
|
+
* @param baseAttribs -
|
|
9
9
|
*/
|
|
10
10
|
export const defElement = (tag, baseAttribs) => (...args) => {
|
|
11
11
|
const $tag = typeof args[0] === "string" ? tag + args.shift() : tag;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-html",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
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,15 +34,15 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.3.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@microsoft/api-extractor": "^7.
|
|
41
|
-
"@thi.ng/testament": "^0.2.
|
|
40
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
41
|
+
"@thi.ng/testament": "^0.2.5",
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"tools": "^0.0.1",
|
|
44
|
-
"typedoc": "^0.22.
|
|
45
|
-
"typescript": "^4.
|
|
44
|
+
"typedoc": "^0.22.13",
|
|
45
|
+
"typescript": "^4.6.2"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"browser",
|
|
@@ -68,37 +68,37 @@
|
|
|
68
68
|
],
|
|
69
69
|
"exports": {
|
|
70
70
|
".": {
|
|
71
|
-
"
|
|
71
|
+
"default": "./index.js"
|
|
72
72
|
},
|
|
73
73
|
"./api": {
|
|
74
|
-
"
|
|
74
|
+
"default": "./api.js"
|
|
75
75
|
},
|
|
76
76
|
"./blocks": {
|
|
77
|
-
"
|
|
77
|
+
"default": "./blocks.js"
|
|
78
78
|
},
|
|
79
79
|
"./def": {
|
|
80
|
-
"
|
|
80
|
+
"default": "./def.js"
|
|
81
81
|
},
|
|
82
82
|
"./forms": {
|
|
83
|
-
"
|
|
83
|
+
"default": "./forms.js"
|
|
84
84
|
},
|
|
85
85
|
"./head": {
|
|
86
|
-
"
|
|
86
|
+
"default": "./head.js"
|
|
87
87
|
},
|
|
88
88
|
"./inline": {
|
|
89
|
-
"
|
|
89
|
+
"default": "./inline.js"
|
|
90
90
|
},
|
|
91
91
|
"./lists": {
|
|
92
|
-
"
|
|
92
|
+
"default": "./lists.js"
|
|
93
93
|
},
|
|
94
94
|
"./media": {
|
|
95
|
-
"
|
|
95
|
+
"default": "./media.js"
|
|
96
96
|
},
|
|
97
97
|
"./sections": {
|
|
98
|
-
"
|
|
98
|
+
"default": "./sections.js"
|
|
99
99
|
},
|
|
100
100
|
"./table": {
|
|
101
|
-
"
|
|
101
|
+
"default": "./table.js"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"thi.ng": {
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
],
|
|
111
111
|
"year": 2020
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
|
|
114
114
|
}
|