@gtkx/react 0.1.49 → 0.1.50
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/README.md +7 -12
- package/dist/codegen/jsx-generator.d.ts +12 -2
- package/dist/codegen/jsx-generator.js +36 -21
- package/dist/generated/internal.d.ts +7 -0
- package/dist/generated/internal.js +7818 -0
- package/dist/generated/jsx.d.ts +26 -11
- package/dist/generated/jsx.js +0 -7817
- package/dist/node.js +1 -1
- package/dist/reconciler.d.ts +4 -1
- package/dist/reconciler.js +4 -1
- package/package.json +3 -3
package/dist/node.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getCurrentApp } from "@gtkx/ffi";
|
|
2
2
|
import * as GObject from "@gtkx/ffi/gobject";
|
|
3
3
|
import * as Gtk from "@gtkx/ffi/gtk";
|
|
4
|
-
import { CONSTRUCTOR_PARAMS, PROP_SETTERS, SETTER_GETTERS } from "./generated/
|
|
4
|
+
import { CONSTRUCTOR_PARAMS, PROP_SETTERS, SETTER_GETTERS } from "./generated/internal.js";
|
|
5
5
|
import { isAppendable, isRemovable, isSingleChild } from "./predicates.js";
|
|
6
6
|
const extractConstructorArgs = (type, props) => {
|
|
7
7
|
const params = CONSTRUCTOR_PARAMS[type];
|
package/dist/reconciler.d.ts
CHANGED
|
@@ -24,6 +24,9 @@ declare class Reconciler {
|
|
|
24
24
|
private createReconcilerContext;
|
|
25
25
|
private createNodeFromContainer;
|
|
26
26
|
}
|
|
27
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* The singleton GTKX React reconciler instance.
|
|
29
|
+
* @private This is an internal API used only by @gtkx/testing. Do not use directly.
|
|
30
|
+
*/
|
|
28
31
|
export declare const reconciler: Reconciler;
|
|
29
32
|
export {};
|
package/dist/reconciler.js
CHANGED
|
@@ -107,5 +107,8 @@ class Reconciler {
|
|
|
107
107
|
return createNode(container.constructor.name, {}, container);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* The singleton GTKX React reconciler instance.
|
|
112
|
+
* @private This is an internal API used only by @gtkx/testing. Do not use directly.
|
|
113
|
+
*/
|
|
111
114
|
export const reconciler = new Reconciler();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gtkx/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "Build GTK4 desktop applications with React and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtk",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"react-reconciler": "0.33.0",
|
|
39
|
-
"@gtkx/ffi": "0.1.
|
|
39
|
+
"@gtkx/ffi": "0.1.50"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@gtkx/gir": "0.1.
|
|
42
|
+
"@gtkx/gir": "0.1.50"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^19"
|