@fluixi/core 1.0.0-alpha.55 → 1.0.0-alpha.56
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/dist/cdn/core.global.js +1 -3
- package/dist/src/cdn/core.cjs +1 -1
- package/dist/src/cdn/core.mjs +1 -1
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.mjs +1 -1
- package/dist/src/lib/client/index.cjs +1 -1
- package/dist/src/lib/client/index.d.ts.map +1 -1
- package/dist/src/lib/client/index.js +0 -3
- package/dist/src/lib/client/index.mjs +1 -1
- package/dist/src/lib/core.cjs +1 -1
- package/dist/src/lib/core.d.ts +3 -2
- package/dist/src/lib/core.d.ts.map +1 -1
- package/dist/src/lib/core.js +12 -6
- package/dist/src/lib/core.mjs +1 -1
- package/dist/src/lib/index.cjs +1 -1
- package/dist/src/lib/index.d.ts.map +1 -1
- package/dist/src/lib/index.js +1 -10
- package/dist/src/lib/index.mjs +1 -1
- package/dist/src/lib/render/await.cjs +1 -0
- package/dist/src/lib/render/await.d.ts +8 -0
- package/dist/src/lib/render/await.d.ts.map +1 -0
- package/dist/src/lib/render/await.js +27 -0
- package/dist/src/lib/render/await.mjs +1 -0
- package/dist/src/lib/render/index.cjs +1 -1
- package/dist/src/lib/render/index.d.ts +3 -6
- package/dist/src/lib/render/index.d.ts.map +1 -1
- package/dist/src/lib/render/index.js +3 -13
- package/dist/src/lib/render/index.mjs +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +9 -12
- package/dist/src/lib/directives/lit.cjs +0 -1
- package/dist/src/lib/directives/lit.d.ts +0 -2
- package/dist/src/lib/directives/lit.d.ts.map +0 -1
- package/dist/src/lib/directives/lit.js +0 -31
- package/dist/src/lib/directives/lit.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluixi/core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.56",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Solid-Compatible Fine-Grained UI Framework",
|
|
6
6
|
"private": false,
|
|
@@ -83,19 +83,16 @@
|
|
|
83
83
|
"./lib/*": "./src/lib/*"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"lit": "^3.0.0",
|
|
87
|
-
"lit-html": "^3.0.0",
|
|
88
86
|
"vite-plugin-node-polyfills": "^0.25.0",
|
|
89
|
-
"@fluixi/compiler": "1.0.0-alpha.
|
|
90
|
-
"@fluixi/dom": "1.0.0-alpha.
|
|
91
|
-
"@fluixi/jsx": "1.0.0-alpha.
|
|
92
|
-
"@fluixi/
|
|
93
|
-
"@fluixi/
|
|
94
|
-
"@fluixi/reactive": "1.0.0-alpha.55",
|
|
87
|
+
"@fluixi/compiler": "1.0.0-alpha.56",
|
|
88
|
+
"@fluixi/dom": "1.0.0-alpha.56",
|
|
89
|
+
"@fluixi/jsx": "1.0.0-alpha.56",
|
|
90
|
+
"@fluixi/vite-plugin": "1.0.0-alpha.56",
|
|
91
|
+
"@fluixi/reactive": "1.0.0-alpha.56",
|
|
95
92
|
"@fluixi/router": "0.1.2-alpha.3",
|
|
96
|
-
"@fluixi/server": "1.0.0-alpha.
|
|
97
|
-
"@fluixi/utils": "1.0.0-alpha.
|
|
98
|
-
"@fluixi/head": "
|
|
93
|
+
"@fluixi/server": "1.0.0-alpha.56",
|
|
94
|
+
"@fluixi/utils": "1.0.0-alpha.56",
|
|
95
|
+
"@fluixi/head": "1.0.0-alpha.23"
|
|
99
96
|
},
|
|
100
97
|
"devDependencies": {
|
|
101
98
|
"@bambiste/mix-builder": "next",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lit.d.ts","sourceRoot":"","sources":["../../../../src/lib/directives/lit.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// import { Accessor, createEffect } from '@fluixi/reactive';
|
|
2
|
-
export {};
|
|
3
|
-
// import { Directive, directive, PartInfo, PartType } from 'lit/directive.js';
|
|
4
|
-
// class ReadDirective extends Directive {
|
|
5
|
-
// private dispose?: () => void;
|
|
6
|
-
// constructor(partInfo: PartInfo) {
|
|
7
|
-
// super(partInfo);
|
|
8
|
-
// if (partInfo.type !== PartType.CHILD) {
|
|
9
|
-
// throw new Error('read() can only be used in text bindings');
|
|
10
|
-
// }
|
|
11
|
-
// }
|
|
12
|
-
// render(_getter: () => unknown) {
|
|
13
|
-
// // Initial render only
|
|
14
|
-
// return '';
|
|
15
|
-
// }
|
|
16
|
-
// override update(_part: any, [getter]: [() => unknown]) {
|
|
17
|
-
// if (!this.dispose) {
|
|
18
|
-
// // bridge to YOUR fine-grained system
|
|
19
|
-
// this.dispose = createEffect(() => {
|
|
20
|
-
// _part.setValue(getter());
|
|
21
|
-
// _part.commit();
|
|
22
|
-
// });
|
|
23
|
-
// }
|
|
24
|
-
// return noChange;
|
|
25
|
-
// }
|
|
26
|
-
// disconnected() {
|
|
27
|
-
// this.dispose?.();
|
|
28
|
-
// this.dispose = undefined;
|
|
29
|
-
// }
|
|
30
|
-
// }
|
|
31
|
-
// export const read = directive(ReadDirective);
|
|
File without changes
|