@number10/phaserjsx 0.2.0 → 0.4.0
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/{TransformOriginView-BDM6GE2F.cjs → TransformOriginView-Bx81YEUU.cjs} +1378 -1518
- package/dist/TransformOriginView-Bx81YEUU.cjs.map +1 -0
- package/dist/{TransformOriginView-CiFiQcku.js → TransformOriginView-DCvId72M.js} +1500 -1640
- package/dist/TransformOriginView-DCvId72M.js.map +1 -0
- package/dist/camera/camera-fx-registry.d.ts +47 -0
- package/dist/camera/camera-fx-registry.d.ts.map +1 -0
- package/dist/camera/index.d.ts +6 -0
- package/dist/camera/index.d.ts.map +1 -0
- package/dist/camera/use-camera-fx.d.ts +59 -0
- package/dist/camera/use-camera-fx.d.ts.map +1 -0
- package/dist/components/appliers/applyBackground.d.ts +4 -0
- package/dist/components/appliers/applyBackground.d.ts.map +1 -1
- package/dist/components/appliers/applyParticles.d.ts +7 -0
- package/dist/components/appliers/applyParticles.d.ts.map +1 -0
- package/dist/components/appliers/applyParticlesLayout.d.ts +11 -0
- package/dist/components/appliers/applyParticlesLayout.d.ts.map +1 -0
- package/dist/components/creators/createParticlesLayout.d.ts +14 -0
- package/dist/components/creators/createParticlesLayout.d.ts.map +1 -0
- package/dist/components/custom/Accordion.d.ts +3 -2
- package/dist/components/custom/Accordion.d.ts.map +1 -1
- package/dist/components/custom/AlertDialog.d.ts +2 -1
- package/dist/components/custom/AlertDialog.d.ts.map +1 -1
- package/dist/components/custom/Button.d.ts +2 -1
- package/dist/components/custom/Button.d.ts.map +1 -1
- package/dist/components/custom/CharText/CharText.d.ts +2 -1
- package/dist/components/custom/CharText/CharText.d.ts.map +1 -1
- package/dist/components/custom/CharTextInput.d.ts +2 -1
- package/dist/components/custom/CharTextInput.d.ts.map +1 -1
- package/dist/components/custom/Dialog.d.ts +2 -1
- package/dist/components/custom/Dialog.d.ts.map +1 -1
- package/dist/components/custom/Divider.d.ts +2 -1
- package/dist/components/custom/Divider.d.ts.map +1 -1
- package/dist/components/custom/Dropdown.d.ts +2 -1
- package/dist/components/custom/Dropdown.d.ts.map +1 -1
- package/dist/components/custom/Graphics.d.ts +45 -0
- package/dist/components/custom/Graphics.d.ts.map +1 -0
- package/dist/components/custom/Icon.d.ts +3 -2
- package/dist/components/custom/Icon.d.ts.map +1 -1
- package/dist/components/custom/Image.d.ts +2 -1
- package/dist/components/custom/Image.d.ts.map +1 -1
- package/dist/components/custom/Joystick.d.ts +42 -0
- package/dist/components/custom/Joystick.d.ts.map +1 -0
- package/dist/components/custom/Modal.d.ts +2 -1
- package/dist/components/custom/Modal.d.ts.map +1 -1
- package/dist/components/custom/NineSlice.d.ts +2 -1
- package/dist/components/custom/NineSlice.d.ts.map +1 -1
- package/dist/components/custom/NineSliceButton.d.ts +2 -1
- package/dist/components/custom/NineSliceButton.d.ts.map +1 -1
- package/dist/components/custom/Particles.d.ts +17 -0
- package/dist/components/custom/Particles.d.ts.map +1 -0
- package/dist/components/custom/Portal.d.ts +2 -1
- package/dist/components/custom/Portal.d.ts.map +1 -1
- package/dist/components/custom/RadioButton.d.ts +2 -1
- package/dist/components/custom/RadioButton.d.ts.map +1 -1
- package/dist/components/custom/RadioGroup.d.ts +2 -5
- package/dist/components/custom/RadioGroup.d.ts.map +1 -1
- package/dist/components/custom/RefOriginView.d.ts +2 -1
- package/dist/components/custom/RefOriginView.d.ts.map +1 -1
- package/dist/components/custom/ScrollSlider.d.ts +7 -2
- package/dist/components/custom/ScrollSlider.d.ts.map +1 -1
- package/dist/components/custom/ScrollView.d.ts +29 -4
- package/dist/components/custom/ScrollView.d.ts.map +1 -1
- package/dist/components/custom/Sidebar.d.ts +2 -1
- package/dist/components/custom/Sidebar.d.ts.map +1 -1
- package/dist/components/custom/Slider.d.ts +4 -3
- package/dist/components/custom/Slider.d.ts.map +1 -1
- package/dist/components/custom/Sprite.d.ts +74 -0
- package/dist/components/custom/Sprite.d.ts.map +1 -0
- package/dist/components/custom/Tabs.d.ts +50 -0
- package/dist/components/custom/Tabs.d.ts.map +1 -0
- package/dist/components/custom/Text.d.ts +2 -1
- package/dist/components/custom/Text.d.ts.map +1 -1
- package/dist/components/custom/TileSprite.d.ts +60 -0
- package/dist/components/custom/TileSprite.d.ts.map +1 -0
- package/dist/components/custom/Toggle.d.ts +2 -1
- package/dist/components/custom/Toggle.d.ts.map +1 -1
- package/dist/components/custom/TransformOriginView.d.ts +3 -2
- package/dist/components/custom/TransformOriginView.d.ts.map +1 -1
- package/dist/components/custom/View.d.ts +2 -1
- package/dist/components/custom/View.d.ts.map +1 -1
- package/dist/components/custom/WrapText.d.ts +2 -1
- package/dist/components/custom/WrapText.d.ts.map +1 -1
- package/dist/components/custom/index.cjs +6 -1
- package/dist/components/custom/index.cjs.map +1 -1
- package/dist/components/custom/index.d.ts +3 -0
- package/dist/components/custom/index.d.ts.map +1 -1
- package/dist/components/custom/index.js +16 -11
- package/dist/components/index.d.ts +10 -8
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/internal/SceneWrapper.d.ts +1 -1
- package/dist/components/internal/SceneWrapper.d.ts.map +1 -1
- package/dist/components/primitives/particles.d.ts +37 -0
- package/dist/components/primitives/particles.d.ts.map +1 -0
- package/dist/core-types.d.ts +5 -0
- package/dist/core-types.d.ts.map +1 -1
- package/dist/gestures/gesture-manager.d.ts.map +1 -1
- package/dist/hooks.d.ts +124 -3
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.cjs +2153 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2265 -131
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime.cjs.map +1 -1
- package/dist/jsx-runtime.d.ts +2 -3
- package/dist/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx-runtime.js.map +1 -1
- package/dist/jsx-types.d.ts +8 -0
- package/dist/jsx-types.d.ts.map +1 -1
- package/dist/layout/layout-engine.d.ts.map +1 -1
- package/dist/layout/utils/size-resolver.d.ts.map +1 -1
- package/dist/particles/emit-zone.d.ts +67 -0
- package/dist/particles/emit-zone.d.ts.map +1 -0
- package/dist/particles/index.d.ts +8 -0
- package/dist/particles/index.d.ts.map +1 -0
- package/dist/particles/particle-types.d.ts +20 -0
- package/dist/particles/particle-types.d.ts.map +1 -0
- package/dist/particles/preset-registry.d.ts +46 -0
- package/dist/particles/preset-registry.d.ts.map +1 -0
- package/dist/particles/use-particles.d.ts +15 -0
- package/dist/particles/use-particles.d.ts.map +1 -0
- package/dist/particles/utils.d.ts +10 -0
- package/dist/particles/utils.d.ts.map +1 -0
- package/dist/plugin.d.ts +157 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/theme-base.d.ts +10 -1
- package/dist/theme-base.d.ts.map +1 -1
- package/dist/theme-custom.d.ts +7 -0
- package/dist/theme-custom.d.ts.map +1 -1
- package/dist/theme-defaults.d.ts.map +1 -1
- package/dist/types.d.ts +18 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/vdom.d.ts +42 -4
- package/dist/vdom.d.ts.map +1 -1
- package/package.json +4 -5
- package/dist/TransformOriginView-BDM6GE2F.cjs.map +0 -1
- package/dist/TransformOriginView-CiFiQcku.js.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -22,12 +22,29 @@ export interface RefObject<T> {
|
|
|
22
22
|
* Ref type - can be either a callback or an object
|
|
23
23
|
*/
|
|
24
24
|
export type Ref<T> = RefCallback<T> | RefObject<T>;
|
|
25
|
+
/**
|
|
26
|
+
* Props extension to include key, ref, and theme
|
|
27
|
+
*/
|
|
25
28
|
export interface PropsDefaultExtension<T = unknown> {
|
|
26
29
|
key?: string | number | undefined;
|
|
27
30
|
ref?: Ref<T> | undefined;
|
|
28
31
|
theme?: PartialTheme | undefined;
|
|
29
32
|
}
|
|
30
|
-
|
|
33
|
+
/**
|
|
34
|
+
* VNode types
|
|
35
|
+
*/
|
|
36
|
+
export type VNodeChild = VNode | null | undefined | false;
|
|
37
|
+
/**
|
|
38
|
+
* VNodeLike type - a VNode or an array of VNodeLike
|
|
39
|
+
*/
|
|
40
|
+
export type VNodeLike = VNodeChild | VNodeLike[];
|
|
41
|
+
/**
|
|
42
|
+
* Children type - can be a single VNodeLike or an array of VNodeLike
|
|
43
|
+
*/
|
|
44
|
+
export type ChildrenType = VNodeLike;
|
|
45
|
+
/**
|
|
46
|
+
* Props extension to include children
|
|
47
|
+
*/
|
|
31
48
|
export interface PropsContainerExtension {
|
|
32
49
|
children?: ChildrenType;
|
|
33
50
|
}
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI;IAAE,KAAK,EAAE,CAAC,CAAA;CAAE,GAAG,CAAC,CAAA;AAE5C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,SAAS,CAAA;AAEpE;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAA;AAEzD;;GAEG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,OAAO,EAAE,CAAC,GAAG,IAAI,CAAA;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;AAElD,MAAM,WAAW,qBAAqB,CAAC,CAAC,GAAG,OAAO;IAChD,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAA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AAEzD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,EAAE,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB"}
|
package/dist/vdom.d.ts
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import { default as Phaser } from 'phaser';
|
|
2
2
|
import { NodeProps, NodeType } from './core-types';
|
|
3
3
|
import { VNode } from './hooks';
|
|
4
|
-
import { ParentType } from './types';
|
|
5
|
-
export type VNodeLike
|
|
4
|
+
import { ParentType, VNodeLike } from './types';
|
|
5
|
+
export type { VNodeLike } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* Get statistics about active mountJSX instances
|
|
8
|
+
* Useful for debugging and monitoring mount registry state
|
|
9
|
+
* @returns Object with mount statistics including counts by type, parent, and key
|
|
10
|
+
*/
|
|
11
|
+
export declare function getMountStats(): {
|
|
12
|
+
totalMounts: number;
|
|
13
|
+
byType: Map<string, number>;
|
|
14
|
+
byParent: Map<ParentType, number>;
|
|
15
|
+
byKey: Map<string, number>;
|
|
16
|
+
mounts: Array<{
|
|
17
|
+
id: number;
|
|
18
|
+
type: string;
|
|
19
|
+
key?: string;
|
|
20
|
+
parentType: string;
|
|
21
|
+
propsKeys: string[];
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
6
24
|
/**
|
|
7
25
|
* Remount all active mountJSX instances
|
|
8
26
|
* Completely unmounts and remounts every registered root
|
|
@@ -20,12 +38,26 @@ export interface MountProps {
|
|
|
20
38
|
height: number;
|
|
21
39
|
/** Disable automatic SceneWrapper (default: false) */
|
|
22
40
|
disableAutoSize?: boolean;
|
|
41
|
+
/** Unique key to distinguish multiple mounts on same parent */
|
|
42
|
+
key?: string;
|
|
23
43
|
}
|
|
24
44
|
/**
|
|
25
45
|
* Combined props type: MountProps + Component-specific props
|
|
26
46
|
* Use this for type-safe mountJSX calls
|
|
27
47
|
*/
|
|
28
48
|
export type MountComponentProps<P = Record<string, never>> = MountProps & P;
|
|
49
|
+
/**
|
|
50
|
+
* Returned handle from mountJSX
|
|
51
|
+
* Extends the root GameObject with a typed unmount helper
|
|
52
|
+
*/
|
|
53
|
+
export interface MountHandle extends Phaser.GameObjects.GameObject {
|
|
54
|
+
unmount: () => void;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Normalizes a component return into a single VNode or null.
|
|
58
|
+
* Wraps arrays into a Fragment VNode for consistent mounting.
|
|
59
|
+
*/
|
|
60
|
+
export declare function normalizeVNodeLike(rendered: VNodeLike): VNode | null;
|
|
29
61
|
/**
|
|
30
62
|
* Creates a VNode element (alternative to JSX)
|
|
31
63
|
* @param type - Element type (string or component)
|
|
@@ -61,6 +93,12 @@ export declare function patchVNode(parent: ParentType, oldV: VNode | null, newV:
|
|
|
61
93
|
* @param props - Component props including width and height
|
|
62
94
|
* @returns Created Phaser GameObject
|
|
63
95
|
*/
|
|
64
|
-
export declare function mountJSX<T extends NodeType>(parentOrScene: ParentType, type: T, props: MountComponentProps<NodeProps<T>>):
|
|
65
|
-
export declare function mountJSX<P = Record<string, never>>(parentOrScene: ParentType, type: (props: P & MountProps) =>
|
|
96
|
+
export declare function mountJSX<T extends NodeType>(parentOrScene: ParentType, type: T, props: MountComponentProps<NodeProps<T>>): MountHandle;
|
|
97
|
+
export declare function mountJSX<P = Record<string, never>>(parentOrScene: ParentType, type: (props: P & MountProps) => VNodeLike, props: MountComponentProps<P>): MountHandle;
|
|
98
|
+
/**
|
|
99
|
+
* Convenience helper to unmount a tree created via mountJSX without manual casting
|
|
100
|
+
* Accepts either the root GameObject returned from mountJSX or the owning scene
|
|
101
|
+
* @param target - Root GameObject or Phaser scene that holds the mounted JSX tree
|
|
102
|
+
*/
|
|
103
|
+
export declare function unmountJSX(target: Phaser.Scene | Phaser.GameObjects.GameObject): void;
|
|
66
104
|
//# sourceMappingURL=vdom.d.ts.map
|
package/dist/vdom.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vdom.d.ts","sourceRoot":"","sources":["../src/vdom.ts"],"names":[],"mappings":"AAKA,OAAO,MAAM,MAAM,QAAQ,CAAA;AAE3B,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAGvD,OAAO,EAA0D,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AAO5F,OAAO,KAAK,EAAE,UAAU,EAAO,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"vdom.d.ts","sourceRoot":"","sources":["../src/vdom.ts"],"names":[],"mappings":"AAKA,OAAO,MAAM,MAAM,QAAQ,CAAA;AAE3B,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAGvD,OAAO,EAA0D,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AAO5F,OAAO,KAAK,EAAE,UAAU,EAAO,SAAS,EAAE,MAAM,SAAS,CAAA;AACzD,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAmNxC;;;;GAIG;AACH,wBAAgB,aAAa;iBArFZ,MAAM;YACX,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;cACjB,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC;WAC1B,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;YAClB,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,UAAU,EAAE,MAAM,CAAA;QAClB,SAAS,EAAE,MAAM,EAAE,CAAA;KACpB,CAAC;EA6EL;AAED;;;;GAIG;AACH,wBAAgB,UAAU,IAAI,IAAI,CAsGjC;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IAC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AAE,CAAC,EACP,KAAK,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,GACvC,WAAW,CAAA;AAEd,wBAAgB,QAAQ,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAChD,aAAa,EAAE,UAAU,EACzB,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,UAAU,KAAK,SAAS,EAC1C,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAC5B,WAAW,CAAA;AA+Kd;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,UAAU,GAAG,IAAI,CA+BrF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@number10/phaserjsx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Declarative Phaser3 + UI renderer core library",
|
|
6
6
|
"author": "Michael Rieck (Michael--) <mr@number10.de>",
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
},
|
|
64
64
|
"repository": {
|
|
65
65
|
"type": "git",
|
|
66
|
-
"url": "https://github.com/
|
|
66
|
+
"url": "https://github.com/Michael--/phaserjsx",
|
|
67
67
|
"directory": "packages/ui"
|
|
68
68
|
},
|
|
69
|
-
"homepage": "https://github.
|
|
69
|
+
"homepage": "https://michael--.github.io/phaserjsx/",
|
|
70
70
|
"bugs": {
|
|
71
|
-
"url": "https://github.com/
|
|
71
|
+
"url": "https://github.com/Michael--/phaserjsx/issues"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@types/lodash": "^4.17.20",
|
|
@@ -100,7 +100,6 @@
|
|
|
100
100
|
"@preact/signals-core": "^1.12.1",
|
|
101
101
|
"fast-deep-equal": "^3.1.3",
|
|
102
102
|
"lodash": "^4.17.21",
|
|
103
|
-
"phaser3-rex-plugins": "^1.80.17",
|
|
104
103
|
"tsx": "^4.20.6"
|
|
105
104
|
},
|
|
106
105
|
"scripts": {
|