@thi.ng/hdom 9.1.6 → 9.1.9
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/dom.d.ts +4 -4
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
package/dom.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { HDOMImplementation, HDOMOpts } from "./api.js";
|
|
|
7
7
|
* @param tree - component tree
|
|
8
8
|
* @param insert - child index
|
|
9
9
|
*/
|
|
10
|
-
export declare const createTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImplementation<T>, parent: T, tree: any, insert?: number
|
|
10
|
+
export declare const createTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImplementation<T>, parent: T, tree: any, insert?: number, init?: boolean) => any;
|
|
11
11
|
/**
|
|
12
12
|
* See {@link HDOMImplementation} interface for further details.
|
|
13
13
|
*
|
|
@@ -31,9 +31,9 @@ export declare const hydrateTree: <T>(opts: Partial<HDOMOpts>, impl: HDOMImpleme
|
|
|
31
31
|
* @param attribs - attributes
|
|
32
32
|
* @param insert - child index
|
|
33
33
|
*/
|
|
34
|
-
export declare const createElement: (parent: Element, tag: string, attribs?: any, insert?: number
|
|
35
|
-
export declare const createTextElement: (parent: Element, content: string, insert?: number
|
|
36
|
-
export declare const addChild: (parent: Element, child: Node, insert?: number
|
|
34
|
+
export declare const createElement: (parent: Element, tag: string, attribs?: any, insert?: number) => Node;
|
|
35
|
+
export declare const createTextElement: (parent: Element, content: string, insert?: number) => Node;
|
|
36
|
+
export declare const addChild: (parent: Element, child: Node, insert?: number) => Node;
|
|
37
37
|
export declare const getChild: (parent: Element, child: number) => Element;
|
|
38
38
|
export declare const replaceChild: (opts: Partial<HDOMOpts>, impl: HDOMImplementation<any>, parent: Element, child: number, tree: any, init?: boolean) => any;
|
|
39
39
|
export declare const cloneWithNewAttribs: (el: Element, attribs: any) => Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hdom",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.9",
|
|
4
4
|
"description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/checks": "^3.1
|
|
39
|
-
"@thi.ng/diff": "^5.1.
|
|
40
|
-
"@thi.ng/equiv": "^2.1.
|
|
41
|
-
"@thi.ng/errors": "^2.1.
|
|
42
|
-
"@thi.ng/hiccup": "^4.2.
|
|
43
|
-
"@thi.ng/logger": "^1.1.
|
|
44
|
-
"@thi.ng/prefixes": "^2.1.
|
|
37
|
+
"@thi.ng/api": "^8.3.7",
|
|
38
|
+
"@thi.ng/checks": "^3.2.1",
|
|
39
|
+
"@thi.ng/diff": "^5.1.7",
|
|
40
|
+
"@thi.ng/equiv": "^2.1.7",
|
|
41
|
+
"@thi.ng/errors": "^2.1.7",
|
|
42
|
+
"@thi.ng/hiccup": "^4.2.9",
|
|
43
|
+
"@thi.ng/logger": "^1.1.7",
|
|
44
|
+
"@thi.ng/prefixes": "^2.1.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@microsoft/api-extractor": "^7.
|
|
48
|
-
"@thi.ng/atom": "^5.1.
|
|
49
|
-
"@thi.ng/testament": "^0.2.
|
|
47
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
48
|
+
"@thi.ng/atom": "^5.1.8",
|
|
49
|
+
"@thi.ng/testament": "^0.2.8",
|
|
50
50
|
"rimraf": "^3.0.2",
|
|
51
51
|
"tools": "^0.0.1",
|
|
52
|
-
"typedoc": "^0.22.
|
|
53
|
-
"typescript": "^4.
|
|
52
|
+
"typedoc": "^0.22.17",
|
|
53
|
+
"typescript": "^4.7.3"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"array",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
],
|
|
125
125
|
"year": 2015
|
|
126
126
|
},
|
|
127
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "ab0188234419f2d9f471de80871df930e5555bd6\n"
|
|
128
128
|
}
|