@htmlplus/element 0.4.5 → 0.4.8
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/bundlers/index.d.ts +2 -0
- package/bundlers/index.js +2 -0
- package/bundlers/rollup.d.ts +7 -0
- package/bundlers/rollup.js +21 -0
- package/bundlers/vite.d.ts +7 -0
- package/bundlers/vite.js +25 -0
- package/client/decorators/attributes.d.ts +1 -1
- package/client/decorators/attributes.js +4 -4
- package/client/decorators/element.d.ts +1 -1
- package/client/decorators/element.js +14 -22
- package/client/decorators/event.d.ts +1 -1
- package/client/decorators/listen.d.ts +1 -1
- package/client/decorators/method.d.ts +1 -1
- package/client/decorators/property.d.ts +1 -1
- package/client/decorators/property.js +4 -4
- package/client/decorators/state.d.ts +1 -1
- package/client/decorators/state.js +4 -4
- package/client/decorators/watch.d.ts +1 -1
- package/client/helpers/direction.d.ts +1 -1
- package/client/helpers/isRTL.d.ts +1 -1
- package/client/helpers/slots.d.ts +1 -1
- package/client/utils/getMemberType.d.ts +1 -1
- package/client/utils/getMemberType.js +2 -2
- package/client/utils/getMembersKey.d.ts +1 -1
- package/client/utils/getStyles.d.ts +1 -1
- package/client/utils/host.d.ts +1 -1
- package/client/utils/index.d.ts +1 -1
- package/client/utils/index.js +1 -1
- package/client/utils/request.d.ts +1 -1
- package/client/utils/request.js +3 -3
- package/client/utils/syncAttributes.d.ts +1 -0
- package/client/utils/{sync.js → syncAttributes.js} +1 -1
- package/client/{vendor → vendors}/uhtml.d.ts +7 -0
- package/client/{vendor → vendors}/uhtml.js +1 -0
- package/compiler/compiler.d.ts +1 -1
- package/compiler/plugins/assets.d.ts +1 -1
- package/compiler/plugins/copy.d.ts +13 -0
- package/compiler/plugins/copy.js +26 -0
- package/compiler/plugins/customElement.d.ts +1 -1
- package/compiler/plugins/customElement.js +31 -38
- package/compiler/plugins/customElementReact/customElementReact.d.ts +1 -1
- package/compiler/plugins/document.d.ts +1 -1
- package/compiler/plugins/document.js +37 -35
- package/compiler/plugins/extract.d.ts +1 -1
- package/compiler/plugins/index.d.ts +1 -0
- package/compiler/plugins/index.js +1 -0
- package/compiler/plugins/parse.d.ts +1 -1
- package/compiler/plugins/read.d.ts +1 -1
- package/compiler/plugins/style.d.ts +2 -2
- package/compiler/plugins/style.js +6 -2
- package/compiler/plugins/validate.d.ts +1 -1
- package/compiler/plugins/visualStudioCode.d.ts +1 -1
- package/compiler/plugins/webTypes.d.ts +2 -2
- package/compiler/plugins/webTypes.js +75 -51
- package/compiler/utils/addDependency.d.ts +9 -2
- package/compiler/utils/addDependency.js +35 -16
- package/compiler/utils/getInitializer.d.ts +1 -1
- package/compiler/utils/getInitializer.js +2 -8
- package/compiler/utils/index.d.ts +1 -0
- package/compiler/utils/index.js +1 -0
- package/compiler/utils/removeUnusedImport.d.ts +1 -0
- package/compiler/utils/removeUnusedImport.js +49 -0
- package/constants/index.d.ts +9 -2
- package/constants/index.js +10 -2
- package/package.json +5 -11
- package/types/global.d.ts +1 -1
- package/types/index.d.ts +4 -4
- package/types/index.js +4 -4
- package/types/plugin.d.ts +1 -1
- package/client/utils/sync.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlplus/element",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Masood Abdolian <m.abdolian@gmail.com>",
|
|
6
6
|
"description": "Compiler of HTMLPlus",
|
|
@@ -8,13 +8,7 @@
|
|
|
8
8
|
"main": "client/index.js",
|
|
9
9
|
"types": "client/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
|
-
"
|
|
12
|
-
"compiler",
|
|
13
|
-
"constants",
|
|
14
|
-
"runtime",
|
|
15
|
-
"types",
|
|
16
|
-
"package.json",
|
|
17
|
-
"README.md"
|
|
11
|
+
"**/*.*"
|
|
18
12
|
],
|
|
19
13
|
"publishConfig": {
|
|
20
14
|
"directory": "dist"
|
|
@@ -25,12 +19,12 @@
|
|
|
25
19
|
"keywords": [],
|
|
26
20
|
"repository": {
|
|
27
21
|
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/htmlplus/
|
|
22
|
+
"url": "git+https://github.com/htmlplus/htmlplus.git"
|
|
29
23
|
},
|
|
30
24
|
"bugs": {
|
|
31
|
-
"url": "https://github.com/htmlplus/
|
|
25
|
+
"url": "https://github.com/htmlplus/htmlplus/issues"
|
|
32
26
|
},
|
|
33
|
-
"homepage": "https://github.com/htmlplus/
|
|
27
|
+
"homepage": "https://github.com/htmlplus/htmlplus#readme",
|
|
34
28
|
"dependencies": {
|
|
35
29
|
"@babel/generator": "^7.18.9",
|
|
36
30
|
"@babel/parser": "^7.18.9",
|
package/types/global.d.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './context
|
|
2
|
-
export * from './global
|
|
3
|
-
export * from './plugin
|
|
4
|
-
export * from './plusElement
|
|
1
|
+
export * from './context';
|
|
2
|
+
export * from './global';
|
|
3
|
+
export * from './plugin';
|
|
4
|
+
export * from './plusElement';
|
package/types/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './context
|
|
2
|
-
export * from './global
|
|
3
|
-
export * from './plugin
|
|
4
|
-
export * from './plusElement
|
|
1
|
+
export * from './context';
|
|
2
|
+
export * from './global';
|
|
3
|
+
export * from './plugin';
|
|
4
|
+
export * from './plusElement';
|
package/types/plugin.d.ts
CHANGED
package/client/utils/sync.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const sync: (node: HTMLElement) => (next?: any) => void;
|