@ibyar/elements 4.0.0 → 5.0.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/LICENSE +1 -1
- package/package.json +3 -3
- package/template/template-parser.d.ts +1 -1
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibyar/elements",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Ibyar elements, hold info about HTMLElements class, attributes and tag name",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ibyar/aurora/tree/dev/packages/elements",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"typescript": "^
|
|
39
|
+
"typescript": "^7.0.2"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc --build --verbose",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"a11y",
|
|
53
53
|
"front-end"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c0e54a3bb5807191ee8d18c55835f4dee535d78d"
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DomNode, CommentNode, DomElementNode, TextContent } from '../ast/dom.js';
|
|
2
2
|
export declare class TemplateParser {
|
|
3
3
|
parse(template: HTMLTemplateElement): DomNode;
|
|
4
|
-
createComponent(child: ChildNode): CommentNode | DomElementNode | (TextContent | import("../
|
|
4
|
+
createComponent(child: ChildNode): CommentNode | DomElementNode | (TextContent | import("../index.js").LiveTextContent)[];
|
|
5
5
|
toDomRenderRootNode<T>(template: DomNode | HTMLTemplateElement | string): (model: T) => HTMLTemplateElement | DomNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const templateParser: TemplateParser;
|